[go: up one dir, main page]

CN113055820B - Data storage method, device, system and storage medium - Google Patents

Data storage method, device, system and storage medium Download PDF

Info

Publication number
CN113055820B
CN113055820B CN201911383555.8A CN201911383555A CN113055820B CN 113055820 B CN113055820 B CN 113055820B CN 201911383555 A CN201911383555 A CN 201911383555A CN 113055820 B CN113055820 B CN 113055820B
Authority
CN
China
Prior art keywords
information
service
service information
mec server
location
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911383555.8A
Other languages
Chinese (zh)
Other versions
CN113055820A (en
Inventor
胡德超
潘琤雯
涂奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Shanghai ICT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911383555.8A priority Critical patent/CN113055820B/en
Publication of CN113055820A publication Critical patent/CN113055820A/en
Application granted granted Critical
Publication of CN113055820B publication Critical patent/CN113055820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种数据存储方法、装置、系统和存储介质。该方法包括接收第一基站发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息,以用于当第二MEC服务器确定业务信息中的位置信息位于第二基站的第一预设范围内时,第二MEC服务器存储业务信息,提高用户获取数据的命中率。

Figure 201911383555

The invention discloses a data storage method, device, system and storage medium. The method includes receiving service information sent by a first base station; the service information includes acquiring location information of the service information and service type information of the service information; according to the service type information, determining whether the service information is information for a location-related service; when When the service information is information for a service related to the location, the service information is sent to the second MEC server, so as to be used when the second MEC server determines that the location information in the service information is located within the first preset range of the second base station , the second MEC server stores the service information, so as to improve the hit rate of the data obtained by the user.

Figure 201911383555

Description

数据存储方法、装置、系统和存储介质Data storage method, device, system and storage medium

技术领域technical field

本发明属于无线网络技术领域,尤其涉及一种数据存储方法、装置、系统和存储介质。The present invention belongs to the technical field of wireless networks, and in particular, relates to a data storage method, device, system and storage medium.

背景技术Background technique

随着流量使用的急速增长以及用户体验需求的提高,需要提高在无线网络边缘的计算处理能力以及数据存储能力,也即边缘计算。With the rapid growth of traffic usage and the improvement of user experience requirements, it is necessary to improve the computing processing capability and data storage capability at the edge of the wireless network, that is, edge computing.

将边缘计算应用于移动通信网络中,即为移动边缘计算(Mobile EdgeComputing,MEC)。MEC是指用户所要获取的数据均存储于MEC服务器中。MEC服务器部署在基站附近,将用户所需要的数据存储在MEC服务器中,节省了核心网络侧网络资源的利用。但是MEC服务器的存储空间有限,存在无法存储用户所需要的数据,也就是目前MEC服务器侧的数据缓存方式使得用户所需数据在MEC服务器中的命中概率低。The application of edge computing to mobile communication networks is called Mobile Edge Computing (MEC). MEC means that the data to be obtained by the user is stored in the MEC server. The MEC server is deployed near the base station, and the data required by the user is stored in the MEC server, which saves the utilization of network resources on the core network side. However, the storage space of the MEC server is limited, and the data required by the user cannot be stored, that is, the current data caching method on the MEC server side makes the hit probability of the data required by the user in the MEC server low.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种数据存储方法、装置、系统和存储介质,能够解决目前MEC服务器侧的数据缓存方式还存在用户获取数据命中率低的问题。Embodiments of the present invention provide a data storage method, device, system, and storage medium, which can solve the problem of a low hit rate of data obtained by users in the current data caching method on the MEC server side.

第一方面,提供了一种数据存储方法,该方法应用于第一MEC服务器,方法包括:In a first aspect, a data storage method is provided, the method is applied to the first MEC server, and the method includes:

接收第一基站发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;Receive the service information sent by the first base station; the service information includes the location information of the acquired service information and the service type information of the service information;

根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;According to the service type information, determine whether the service information is information for a location-related service;

当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息,以用于当第二MEC服务器确定业务信息中的位置信息位于第二基站的第一预设范围内时,第二MEC服务器存储业务信息。When the service information is information for a service related to the location, sending the service information to the second MEC server, so as to be used when the second MEC server determines that the location information in the service information is located within the first preset range of the second base station , the second MEC server stores the service information.

在一种可能的实现方式中,该方法还包括:In a possible implementation, the method further includes:

向集中数据库发送业务信息,以用于集中数据库存储业务信息。The business information is sent to the centralized database for the centralized database to store the business information.

在一种可能的实现方式中,该方法还包括:In a possible implementation, the method further includes:

当业务信息不是用于与位置相关的业务的信息时,向集中数据库发送业务信息,以用于集中数据库存储业务信息。When the business information is not information for the location-related business, the business information is sent to the centralized database for the centralized database to store the business information.

第二方面,提供了一种数据存储方法,该方法应用于第二MEC服务器,方法包括:In a second aspect, a data storage method is provided, the method is applied to a second MEC server, and the method includes:

接收第一MEC服务器发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;其中,业务类型信息是表征业务信息是用于与位置相关的业务的信息;Receive the service information sent by the first MEC server; the service information includes the location information of the obtained service information and the service type information of the service information; wherein, the service type information is the information that the service information is used for the service related to the position;

根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站的第一预设范围内;determining whether the location information is within the first preset range of the second base station according to the location information in the received service information;

当位置信息位于第二基站的第一预设范围内时,存储业务信息。When the location information is within the first preset range of the second base station, the service information is stored.

在一种可能的实现方式中,该方法还包括:In a possible implementation, the method further includes:

当位置信息不位于第二基站的第一预设范围内时,删除业务信息。When the location information is not within the first preset range of the second base station, the service information is deleted.

在一种可能的实现方式中,该方法还包括:In a possible implementation, the method further includes:

向集中数据库发送业务请求;业务请求携带有业务类型信息、第二MEC服务器的标识和第一预设范围,以用于集中数据库根据业务类型信息和第一预设范围,确定业务信息,并向第二MEC服务器的标识对应的第二MEC服务器发送业务信息;Send a service request to the centralized database; the service request carries the service type information, the identifier of the second MEC server and the first preset range, so that the centralized database determines the service information according to the service type information and the first preset range, and sends it to the centralized database. The second MEC server corresponding to the identifier of the second MEC server sends service information;

存储集中数据库发送的业务信息;Store the business information sent by the centralized database;

其中,业务信息包括业务类型信息、获取业务信息的位置信息。The service information includes service type information and location information for obtaining the service information.

第三方面,提供了一种数据存储装置,该装置应用于第一MEC服务器,装置包括:In a third aspect, a data storage device is provided, the device is applied to the first MEC server, and the device includes:

接收模块,用于接收第一基站发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;a receiving module, configured to receive the service information sent by the first base station; the service information includes the location information of the acquired service information and the service type information of the service information;

确定模块,用于根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;a determining module, configured to determine whether the business information is information for a location-related business according to the business type information;

发送模块,用于当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息,以用于当第二MEC服务器确定业务信息中的位置信息位于第二基站的第一预设范围内时,第二MEC服务器存储业务信息。The sending module is configured to send the service information to the second MEC server when the service information is information for a service related to the location, so as to be used when the second MEC server determines that the location information in the service information is located in the second base station. When within a preset range, the second MEC server stores the service information.

在一种可能的实现方式中,发送模块,还用于向集中数据库发送业务信息,以用于集中数据库存储业务信息。In a possible implementation manner, the sending module is further configured to send service information to the centralized database, so that the centralized database stores the service information.

在一种可能的实现方式中,发送模块,还用于:In a possible implementation, the sending module is also used to:

当业务信息不是用于与位置相关的业务的信息时,向集中数据库发送业务信息,以用于集中数据库存储业务信息。When the business information is not information for the location-related business, the business information is sent to the centralized database for the centralized database to store the business information.

第四方面,提供了一种数据存储装置,装置应用于第二MEC服务器;装置包括:In a fourth aspect, a data storage device is provided, and the device is applied to a second MEC server; the device includes:

接收模块,用于接收第一MEC服务器发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;其中,业务类型信息是表征业务信息是用于与位置相关的业务的信息;The receiving module is used for receiving the service information sent by the first MEC server; the service information includes the location information of the obtained service information and the service type information of the service information; wherein, the service type information is used to characterize that the service information is used for position-related services information;

确定模块,用于根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站的第一预设范围内;a determining module, configured to determine whether the location information is located within the first preset range of the second base station according to the location information in the received service information;

存储模块,用于当位置信息位于第二基站的第一预设范围内时,存储业务信息。The storage module is configured to store the service information when the location information is within the first preset range of the second base station.

在一种可能的实施方式中,该装置还包括删除模块;In a possible implementation, the device further includes a deletion module;

删除模块,用于当位置信息不位于第二基站的第一预设范围内时,删除业务信息。A deletion module, configured to delete the service information when the location information is not within the first preset range of the second base station.

在一种可能的实施方式中,该装置还包括:In a possible implementation, the device further includes:

发送模块,用于向集中数据库发送业务请求;业务请求携带有业务类型信息、第二MEC服务器的标识和第一预设范围,以用于集中数据库根据业务类型信息和第一预设范围,确定业务信息,并向第二MEC服务器的标识对应的第二MEC服务器发送业务信息;The sending module is used to send a service request to the centralized database; the service request carries the service type information, the identifier of the second MEC server and the first preset range, so that the centralized database can determine the service type information and the first preset range according to the service type information and the first preset range. Service information, and send service information to the second MEC server corresponding to the identifier of the second MEC server;

存储模块,还用于存储集中数据库发送的业务信息;The storage module is also used to store the business information sent by the centralized database;

其中,业务信息包括业务类型信息、获取业务信息的位置信息。The service information includes service type information and location information for obtaining the service information.

第五方面,提供了一种数据存储系统,该系统包括第一基站和第二基站,以及设置在第一基站第二预设范围内的第一边缘计算MEC服务器和设置在第二基站第三预设范围内的第二MEC服务器;A fifth aspect provides a data storage system, the system includes a first base station and a second base station, and a first edge computing MEC server disposed within a second preset range of the first base station and a third base station disposed in the second base station. a second MEC server within a preset range;

第一MEC服务器,用于接收第一基站发送的业务信息,业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;并根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息;第一MEC服务器,还用于向集中数据库发送业务信息;The first MEC server is configured to receive service information sent by the first base station, where the service information includes location information for obtaining the service information and service type information for the service information; and, according to the service type information, determines whether the service information is used for location-related information The information of the business; When the business information is the information for the business related to the location, send the business information to the second MEC server; The first MEC server is also used for sending the business information to the centralized database;

第二MEC服务器,用于根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站的第一预设范围内;当位置信息位于第二基站的第一预设范围内时,存储业务信息;The second MEC server is configured to determine whether the location information is located within the first preset range of the second base station according to the location information in the received service information; when the location information is located within the first preset range of the second base station, store business information;

集中数据库,用于存储第一MEC服务器发送的业务信息。The centralized database is used to store the service information sent by the first MEC server.

第六方面,提供了一种计算机存储介质,该计算机存储介质上存储有计算机程序指令,计算机程序指令被处理器执行时实现如第一方面或者第一方面的任一可能实现方式中的方法,或实现如第二方面或者第二方面的任一可能实现方式中的方法。In a sixth aspect, a computer storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, a method such as the first aspect or any possible implementation manner of the first aspect is implemented, Or implement the method in the second aspect or any possible implementation manner of the second aspect.

基于提供的数据存储方法、装置、系统和存储介质,通过接收第一基站发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息,以用于当第二MEC服务器确定业务信息中的位置信息位于第二基站的第一预设范围内时,第二MEC服务器存储业务信息,提高用户获取数据的命中率。Based on the provided data storage method, device, system and storage medium, the service information sent by the first base station is received; the service information includes the location information of the acquired service information and the service type information of the service information; according to the service type information, it is determined whether the service information is is the information for the service related to the position; when the service information is the information for the service related to the position, the service information is sent to the second MEC server to be used when the second MEC server determines the position information in the service information When located within the first preset range of the second base station, the second MEC server stores the service information, so as to improve the hit rate of the data obtained by the user.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments of the present invention. For those of ordinary skill in the art, without creative work, the Additional drawings can be obtained from these drawings.

图1是本发明实施例提供的一种边缘缓存系统组网的结构示意图;1 is a schematic structural diagram of a network of an edge cache system provided by an embodiment of the present invention;

图2是本发明实施例提供的一种数据存储系统的结构示意图;2 is a schematic structural diagram of a data storage system provided by an embodiment of the present invention;

图3是本发明实施例提供的一种数据存储方法的流程示意图;3 is a schematic flowchart of a data storage method provided by an embodiment of the present invention;

图4是本发明实施例提供的另一种数据存储方法的流程示意图;4 is a schematic flowchart of another data storage method provided by an embodiment of the present invention;

图5是本发明实施例提供的又一种数据存储方法的流程示意图;5 is a schematic flowchart of another data storage method provided by an embodiment of the present invention;

图6是本发明实施例提供的再一种数据存储方法的流程示意图;6 is a schematic flowchart of still another data storage method provided by an embodiment of the present invention;

图7是本发明实施例提供的一种数据存储装置的结构示意图;7 is a schematic structural diagram of a data storage device provided by an embodiment of the present invention;

图8是本发明实施例提供的另一种数据存储装置的结构示意图。FIG. 8 is a schematic structural diagram of another data storage device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将详细描述本发明的各个方面的特征和示例性实施例,为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本发明进行进一步详细描述。应理解,此处所描述的具体实施例仅被配置为解释本发明,并不被配置为限定本发明。对于本领域技术人员来说,本发明可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本发明的示例来提供对本发明更好的理解。The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention, and are not configured to limit the present invention. It will be apparent to those skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is only intended to provide a better understanding of the present invention by illustrating examples of the invention.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element defined by the phrase "comprising" does not preclude the presence of additional identical elements in the process, method, article or device that includes the element.

目前,增强现实/虚拟现实、4K/8K分辨率高清视频、物联网、工业互联网、车联网等众多新型业务应用的快速涌现,对网络的传输容量、数据分发处理能力等提出了越来越高的要求。面对迅猛而来的流量增长和日益提高的用户体验需求,通信网络势必会承受巨大的压力,因此,必须对网络进行架构上的调整,以满足超大连接、超低时延以及超大带宽等业务需求。为了应对上述挑战,业界提出在网络边缘提供计算处理与数据存储的能力,即边缘计算,以达到在网络边缘向用户提供优质服务的目的。边缘计算的基本思向是把云计算平台(包括计算、存储和网络资源)迁移到网络边缘,并试图实现传统移动通信网、互联网和物联网等之间的深度融合,减少业务交付的端到端时延,发掘网络的内在能力,提升用户体验,从而给电信运营商的运作模式带来全新变革,并建立新型的产业链及网络生态圈。At present, the rapid emergence of many new business applications such as augmented reality/virtual reality, 4K/8K resolution high-definition video, the Internet of Things, the Industrial Internet, and the Internet of Vehicles has put forward higher and higher requirements for network transmission capacity, data distribution and processing capabilities, etc. requirements. In the face of rapid traffic growth and ever-increasing user experience requirements, communication networks are bound to be under enormous pressure. Therefore, network architecture must be adjusted to meet services such as ultra-large connections, ultra-low latency, and ultra-large bandwidth. need. In order to cope with the above challenges, the industry proposes to provide computing processing and data storage capabilities at the edge of the network, that is, edge computing, in order to achieve the purpose of providing high-quality services to users at the edge of the network. The basic idea of edge computing is to migrate cloud computing platforms (including computing, storage and network resources) to the edge of the network, and try to achieve deep integration between traditional mobile communication networks, the Internet, and the Internet of Things, and reduce the end-to-end service delivery. end delay, explore the inherent capabilities of the network, and improve user experience, thereby bringing new changes to the operation mode of telecom operators and establishing a new industrial chain and network ecosystem.

将边缘计算引入到移动通信网络中,提出了移动边缘计算(Mobile EdgeComputing,MEC),为了帮助对MEC的概念性理解,如图1所示的MEC整体系统架构作为对照,考虑一个简单的用户获取内容的应用场景初步介绍MEC。Introducing edge computing into the mobile communication network, the Mobile Edge Computing (MEC) is proposed. In order to help the conceptual understanding of MEC, the overall system architecture of MEC shown in Figure 1 is used as a comparison. The application scenarios of the content are initially introduced to MEC.

在不使用MEC的传统方式下,每个用户终端(User Equipment,UE)在发起内容服务请求时,首先需要经过基站(eNodeB)接入,然后通过核心网(Core Network,CN)连接目标内容,再逐层进行回传,最终完成终端和该目标内容间的交互。同一个基站下的其他终端如果发起同样的内容请求,则需要重复如图1所示的连接过程和调用流程。一方面,重复连接和调用会浪费网络资源;另一方面,长距离传输也增加了相应的时延。通过引入MEC解决方案,在靠近UE的基站侧部署MEC服务器,可以将内容缓存在MEC服务器上,使用户能够直接从MEC服务器获取内容,而不再通过核心网重复获取。从网络角度来看,MEC的引入既可以避免网络拥塞,又可以节省核心网侧的网络资源;从用户角度来看,则意味着等待时延的降低和服务质量体验的提升。In the traditional way without using MEC, when each user terminal (User Equipment, UE) initiates a content service request, it first needs to access the base station (eNodeB), and then connect to the target content through the core network (Core Network, CN), Then, the backhaul is performed layer by layer, and the interaction between the terminal and the target content is finally completed. If other terminals under the same base station initiate the same content request, the connection process and the calling process shown in FIG. 1 need to be repeated. On the one hand, repeated connections and calls will waste network resources; on the other hand, long-distance transmission also increases the corresponding delay. By introducing the MEC solution and deploying the MEC server on the base station side close to the UE, content can be cached on the MEC server, enabling users to obtain content directly from the MEC server instead of repeatedly obtaining it through the core network. From a network perspective, the introduction of MEC can not only avoid network congestion, but also save network resources on the core network side; from a user perspective, it means reducing latency and improving service quality experience.

基于上述MEC的原理,用户业务时延的降低主要依赖于用户所需的数据取自在基站侧的MEC服务器,而限于存储空间的有限性,MEC服务器不可能存储所有的数据,因此,尽可能提高用户所需数据在MEC服务器中的命中概率(下称数据命中率),才能尽可能降低用户业务的时延。提高数据命中率,需要好的缓存策略,大多数的研究工作都是根据移动网络的特性,对传统的有线网络中的一些缓存策略进行了修订,此外,还提出了一些新的缓存方案,如基于用户偏好、增强学习或多节点合作的缓存策略。Based on the above-mentioned MEC principle, the reduction of user service delay mainly depends on the fact that the data required by the user is obtained from the MEC server on the base station side, and due to the limited storage space, the MEC server cannot store all the data. Therefore, as much as possible Only by improving the hit probability of the data required by the user in the MEC server (hereinafter referred to as the data hit rate) can the delay of the user service be reduced as much as possible. To improve the data hit rate, a good caching strategy is needed. Most of the research work is to revise some caching strategies in the traditional wired network according to the characteristics of the mobile network. In addition, some new caching schemes are also proposed, such as Caching strategies based on user preference, reinforcement learning or multi-node cooperation.

对于MEC服务器中数据缓存策略大多是基于数据的内容以及用户偏好,这些缓存策略虽然在一定程度上能够提高数据的命中率,但这些策略更适合于内容型的数据。Most of the data caching strategies in the MEC server are based on data content and user preferences. Although these caching strategies can improve the data hit rate to a certain extent, these strategies are more suitable for content-type data.

如在交通等领域中,数据和位置信息有极大的关系,很多数据仅在某个范围内需要使用,如车辆在经过某位置时,较大概率需要附近交通信号灯信息、附近路况信息,当车辆经过的基站对应的MEC服务器中存有的数据为附近位置数据时,车辆较大概率会需要这些数据,因此MEC服务器中缓存的数据与数据的位置关联度很高。For example, in the field of transportation, there is a great relationship between data and location information, and many data only need to be used within a certain range. When the data stored in the MEC server corresponding to the base station that the vehicle passes through is nearby location data, the vehicle will most likely need the data, so the data cached in the MEC server is highly correlated with the location of the data.

对于上述场景,现有技术的缓存策略,由于未根据业务类型判断缓存该业务相关的数据时是否需要考虑数据的位置信息,从而导致与位置信息关联度高的业务的MEC服务器缓存策略效率较低,并导致用户获取数据的命中率低。For the above scenario, the cache strategy of the prior art does not judge whether the location information of the data needs to be considered when caching the data related to the business according to the business type, resulting in the low efficiency of the cache strategy of the MEC server for the business with a high degree of correlation with the location information. , and lead to a low hit rate for users to obtain data.

因此,本发明实施例提供了一种数据存储方法、装置、系统和存储介质,能够提高用户获取数据的命中率。Therefore, the embodiments of the present invention provide a data storage method, device, system, and storage medium, which can improve the hit rate of data obtained by a user.

为了方便理解本发明实施例,首先对本发明实施例中数据存储系统进行详细介绍。In order to facilitate understanding of the embodiments of the present invention, the data storage system in the embodiments of the present invention is first introduced in detail.

图2是本发明实施例提供的一种数据存储系统的结构示意图。FIG. 2 is a schematic structural diagram of a data storage system provided by an embodiment of the present invention.

如图2所示,本发明实施例提供的数据存储系统可以包括:第一基站201、第二基站202、第一MEC服务器203、第二MEC服务器204和集中数据库205。As shown in FIG. 2 , the data storage system provided in this embodiment of the present invention may include: a first base station 201 , a second base station 202 , a first MEC server 203 , a second MEC server 204 , and a centralized database 205 .

第一MEC服务器203,用于接收第一基站201发送的业务信息,业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;并根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器204发送业务信息;第一MEC服务器203,还用于向集中数据库205发送业务信息;The first MEC server 203 is configured to receive service information sent by the first base station 201, where the service information includes location information for obtaining the service information and service type information for the service information; Information about the business; when the business information is information for the business related to the location, send the business information to the second MEC server 204; the first MEC server 203 is also used to send the business information to the centralized database 205;

第二MEC服务器204,用于根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站202的第一预设范围内;当位置信息位于第二基站202的第一预设范围内时,存储业务信息;The second MEC server 204 is configured to determine whether the location information is located within the first preset range of the second base station 202 according to the location information in the received service information; when the location information is located within the first preset range of the second base station 202 store business information;

集中数据库205,用于存储第一MEC服务器203发送的业务信息。The centralized database 205 is used to store the service information sent by the first MEC server 203 .

在本发明的一个实施例中,业务信息为用户所要获取的业务数据对应的信息。其中,业务信息包括获取该业务信息的位置信息,也就是业务数据采集的位置。业务信息还包括业务类型信息,业务类型信息用于表示该业务信息中的业务数据所要应用的场景。例如,对应到交通应用的实施例中,实际数据可以是交通信号灯信息、实时路况信息等,业务信息中的业务数据采集的位置可以是交通信号灯所在位置或者实时路况所对应的位置。该业务信息的业务类型信息是该业务数据应用于交通类业务或者视频业务。In an embodiment of the present invention, the service information is information corresponding to service data to be acquired by the user. The service information includes location information at which the service information is obtained, that is, the location where service data is collected. The service information further includes service type information, where the service type information is used to indicate a scenario to which the service data in the service information is to be applied. For example, in an embodiment corresponding to a traffic application, the actual data may be traffic light information, real-time road condition information, etc., and the location where the business data in the business information is collected may be the location of the traffic light or the location corresponding to real-time road conditions. The service type information of the service information is that the service data is applied to a traffic service or a video service.

为了方便本发明实施例的理解,接下来对本发明实施例提供的数据存储系统中的各个设备进行详细介绍。In order to facilitate the understanding of the embodiments of the present invention, each device in the data storage system provided by the embodiments of the present invention will be described in detail below.

第一基站201和第二基站202均指公用移动通信基站,在一定的无线电覆盖区中,通过移动通信交换中心,与移动电话终端之间进行信息传递的无线电收发信节点,本发明实施例中的第一基站201和第二基站202均为信号基带处理部分、信号射频处理部分、天线的总称。Both the first base station 201 and the second base station 202 refer to public mobile communication base stations, and in a certain radio coverage area, through the mobile communication switching center, the radio transceiver nodes that transmit information with the mobile phone terminal, in the embodiment of the present invention The first base station 201 and the second base station 202 are both a general term for a signal baseband processing part, a signal radio frequency processing part, and an antenna.

本发明实施例中的MEC服务器部署在靠近终端的基站侧,可以将内容缓存在MEC服务器上,使用户能够直接从MEC服务器获取内容,而不再通过核心网重复获取,MEC服务器包含了数据缓存和计算能力,可以为终端提供数据内容和计算处理服务。其中,第一MEC服务器203设置在第一基站201的预设范围内;第二MEC服务器204设置在第二基站202的预设范围内。第一基站201的预设范围和第二基站202的预设范围可以是相同的,也可以是不同的。The MEC server in the embodiment of the present invention is deployed on the base station side close to the terminal, and the content can be cached on the MEC server, so that the user can directly obtain the content from the MEC server instead of repeatedly obtaining the content through the core network. The MEC server includes data caching It can provide data content and computing processing services for terminals. The first MEC server 203 is set within the preset range of the first base station 201 ; the second MEC server 204 is set within the preset range of the second base station 202 . The preset range of the first base station 201 and the preset range of the second base station 202 may be the same or different.

集中数据库205指业务数据的集中平台,相当于传统网络架构中的公用数据网(Public Data Network,PDN)中的服务器,集中存有业务信息,终端获取数据时,经过基站接入,然后通过核心网连接集中数据库205存储的目标业务信息,再逐层进行回传,最终完成终端和该目标业务信息间的交互。The centralized database 205 refers to a centralized platform for business data, which is equivalent to a server in a public data network (PDN) in a traditional network architecture, and stores business information in a centralized manner. The target service information stored in the centralized database 205 is connected to the network, and then returned layer by layer, and the interaction between the terminal and the target service information is finally completed.

可选的,在本发明实施例中,数据存储系统还可以包括信息采集设备206、终端207和核心网208。Optionally, in this embodiment of the present invention, the data storage system may further include an information collection device 206 , a terminal 207 and a core network 208 .

其中,终端206指用户用于接入网络的设备,最常见的终端为用户持有普通手机终端,随着应用的发展,很多非手机类型的终端也越来越多,如在交通领域应用中,车载终端也是常见的终端。Among them, the terminal 206 refers to the device used by the user to access the network. The most common terminal is that the user holds an ordinary mobile phone terminal. With the development of applications, there are also more and more terminals that are not mobile phones, such as applications in the transportation field. , the vehicle terminal is also a common terminal.

信息采集设备207指用于采集业务信息的设备,实际上也属于一种终端,采集业务信息后,通过网络回传到数据库中,在交通领域应用中,可以用于采集交通信号灯信息、交通实时路况信息等,这些业务信息还可以包含适用于的业务类型和信息采集的位置信息。The information collection device 207 refers to a device used to collect business information, and actually belongs to a type of terminal. After collecting business information, it is sent back to the database through the network. Such service information may also include applicable service types and location information for information collection.

以第四代移动通信技术(the 4th generation mobile communicationtechnology,4G)网络的核心网为例,核心网208中包含负责信令处理部分的移动管理实体(Mobility Management Entity,MME)、进行数据包的路由和前转的服务网关(ServingGateWay,S-GW)以及与PDN进行连接的PDN网关(PDN GateWay,P-GW),基站通过核心网与PDN网络连接,即连接到互联网中。但本发明实施例不限于4G网络,在第五代移动通信技术(the5th generation mobile communication technology,5G)等网络中,上述网元可以是无线通信系统中对应的网元。Taking the core network of the fourth generation mobile communication technology (the 4th generation mobile communication technology, 4G) network as an example, the core network 208 includes a mobility management entity (Mobility Management Entity, MME) responsible for the signaling processing part, routing data packets The base station is connected to the PDN network through the core network, that is, connected to the Internet. However, the embodiments of the present invention are not limited to 4G networks. In networks such as the 5th generation mobile communication technology (5G), the above network elements may be corresponding network elements in a wireless communication system.

下面基于上述本发明实施例提供的数据存储系统,对本发明实施例提供的数据存储方法进行详细描述。The data storage method provided by the embodiment of the present invention is described in detail below based on the data storage system provided by the embodiment of the present invention.

图3是本发明实施例提供的一种数据存储方法的流程示意图。FIG. 3 is a schematic flowchart of a data storage method provided by an embodiment of the present invention.

如图3所示,本发明实施例提供的一种数据存储方法包括:As shown in FIG. 3, a data storage method provided by an embodiment of the present invention includes:

S301:信息采集设备采集业务信息。S301: The information collection device collects business information.

信息采集设备可以周期性采集业务信息,还可以实时采集业务信息。例如,可以根据交通信号灯的实时变化情况,采集交通信号灯的状态信息。采集的业务信息包括业务数据、业务信息采集采集的位置和业务信息的业务类型信息。当采集到新的业务信息或者业务信息更新时,触发信息上报。The information collection device can collect business information periodically, and can also collect business information in real time. For example, the status information of traffic lights can be collected according to the real-time changes of traffic lights. The collected service information includes service data, a location where service information is collected and collected, and service type information of the service information. When new service information is collected or service information is updated, information reporting is triggered.

S302:信息采集设备向第一基站发送业务信息。S302: The information collection device sends service information to the first base station.

信息采集设备可以作为一个终端接入第一基站。第一基站接收到业务信息后,将业务信息存储在第一MEC服务器中。The information collection device may access the first base station as a terminal. After receiving the service information, the first base station stores the service information in the first MEC server.

S303:第一MEC服务器根据业务信息中的业务类型信息确定业务信息是否是用于与位置有关的业务的信息。若否,执行S304;若是,执行S305和S309。S303: The first MEC server determines whether the service information is information for a location-related service according to the service type information in the service information. If not, execute S304; if yes, execute S305 and S309.

第一MEC服务器需要判断业务信息所要应用的业务是否是与位置有关的业务。例如,交通类业务,如交通信号的状态信息、实时路况信息,与位置相关的业务,视频类业务,如与某个短视频,与位置无关。The first MEC server needs to judge whether the service to be applied by the service information is a service related to the location. For example, traffic services, such as traffic signal status information, real-time road condition information, location-related services, and video services, such as a short video, have nothing to do with location.

S304:第一MEC服务器向集中数据库发送业务信息。S304: The first MEC server sends service information to the centralized database.

当业务信息不是用于与位置有关的业务的信息时,第一MEC服务器向集中数据库发送业务信息,集中数据库保存该业务信息。此时,集中数据库存储的业务信息可以作为平台侧的业务信息。平台侧的业务信息可以用于各种业务中。如业务信息是视频类信息、语音类的信息等等。When the service information is not information for the service related to the location, the first MEC server sends the service information to the centralized database, and the centralized database stores the service information. At this time, the business information stored in the centralized database can be used as the business information on the platform side. The service information on the platform side can be used in various services. For example, the service information is video information, voice information, and so on.

S305:第一MEC服务器向第二MEC服务器发送业务信息。执行S306。S305: The first MEC server sends service information to the second MEC server. Execute S306.

在本发明的一个实施例中,第二MEC服务器接收到业务信息后可以存储该业务信息,也可以将该业务信息丢弃。接下来通过S306判断第二MEC服务器是否需要存储该业务信息。In an embodiment of the present invention, after receiving the service information, the second MEC server may store the service information, or may discard the service information. Next, it is determined through S306 whether the second MEC server needs to store the service information.

S306:第二MEC服务器确定业务信息中的位置信息是否是在第二基站的第二预设范围内。若是,执行S307;若否,执行S308。S306: The second MEC server determines whether the location information in the service information is within a second preset range of the second base station. If yes, go to S307; if not, go to S308.

业务信息中携带有获取该业务信息的位置信息。其中,位置信息是获取业务信息的位置。不同业务信息所应用的业务对应的业务类型,对于获取业务信息的位置范围要求不同。例如,应用于交通类业务可以需要3公里以内的业务信息;应用于工业互联网类可以需要100米以内的业务信息。因此,第二MEC服务器对于不同类型的业务,会设置不同的预设范围。当业务信息中的位置信息在第二站的预设范围内时,第二MEC服务器会将业务信息保存。The service information carries location information for obtaining the service information. The location information is the location where the service information is obtained. The service types corresponding to the services to which different service information is applied have different requirements for the location range for obtaining the service information. For example, the application to traffic services may require service information within 3 kilometers; the application to industrial Internet may require service information within 100 meters. Therefore, the second MEC server may set different preset ranges for different types of services. When the location information in the service information is within the preset range of the second station, the second MEC server will save the service information.

S307:第二MEC服务器存储业务信息。S307: The second MEC server stores the service information.

第二MEC服务器存储业务信息,以用于终端获取该业务信息。例如,在第二基站附件的车载终端需要获取某交通信号灯的实时状态,该交通信号灯的位置在第二基站的第二预设范围内,那么,第二MEC服务器中存储该交通信号灯的实时状态信息。使得终端能够避免业务信息的长距离传输增加的信息传输的时延,提高了业务信息的获取效率,并提高了边缘缓存数据的命中率。在这里,第二MEC服务器可以是任意一个与第一MEC服务器邻近的MEC服务器。The second MEC server stores the service information for the terminal to obtain the service information. For example, the vehicle-mounted terminal attached to the second base station needs to obtain the real-time status of a traffic signal light, and the position of the traffic signal light is within the second preset range of the second base station, then the second MEC server stores the real-time status of the traffic signal light information. The terminal can avoid the delay of information transmission increased by the long-distance transmission of service information, improve the efficiency of obtaining service information, and improve the hit rate of edge cache data. Here, the second MEC server may be any MEC server adjacent to the first MEC server.

S308:第二MEC服务器丢弃业务信息。S308: The second MEC server discards the service information.

S309:第一MEC服务器向集中数据库发送业务信息。S309: The first MEC server sends service information to the centralized database.

当业务信息是用于与位置有关的业务的信息时,第一MEC服务器向集中数据库发送业务信息,集中数据库保存该业务信息。此时,集中数据库存储的业务信息可以作为平台侧的业务信息。平台侧的业务信息可以用于各种业务中。如业务信息是视频类信息、语音类的信息等等。When the service information is information for a location-related service, the first MEC server sends the service information to the centralized database, which stores the service information. At this time, the business information stored in the centralized database can be used as the business information on the platform side. The service information on the platform side can be used in various services. For example, the service information is video information, voice information, and so on.

需要说明的是,在本发明实施例中,S305和S309没有先后执行顺序。It should be noted that, in this embodiment of the present invention, S305 and S309 are not executed in sequence.

本发明实施例提供的数据存储系统,通过第一MEC服务器,用于接收第一基站发送的业务信息,业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;并根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息;第一MEC服务器,还用于向集中数据库发送业务信息;第二MEC服务器,用于根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站的第一预设范围内;当位置信息位于第二基站的第一预设范围内时,存储业务信息;集中数据库,用于存储第一MEC服务器发送的业务信息,提高了用户获取数据的命中率。The data storage system provided by the embodiment of the present invention is configured to receive, through the first MEC server, service information sent by the first base station, where the service information includes location information for obtaining the service information and service type information for the service information; and according to the service type information, Determine whether the service information is information for a location-related service; when the service information is for a location-related service, send the service information to the second MEC server; the first MEC server is also used to send the centralized database Sending service information; the second MEC server is used to determine whether the position information is located within the first preset range of the second base station according to the position information in the received service information; when the position information is located in the first preset range of the second base station When it is within the range, the business information is stored; the centralized database is used for storing the business information sent by the first MEC server, which improves the hit rate of the data obtained by the user.

可选的,在本发明实施例中,集中数据库存储业务信息后,当MEC服务器初始化或者需要更新数据的时候,需要从集中数据库中获取业务信息。如图4所示,MEC服务器从集中数据库获取业务信息包括下述步骤:Optionally, in this embodiment of the present invention, after the centralized database stores service information, when the MEC server is initialized or data needs to be updated, the service information needs to be acquired from the centralized database. As shown in Figure 4, the MEC server obtains business information from the centralized database and includes the following steps:

S401:MEC服务器向集中数据库发送的业务请求;业务请求携带有业务类型信息、MEC服务器的标识和预设范围。S401: A service request sent by the MEC server to the centralized database; the service request carries service type information, an identifier of the MEC server, and a preset range.

MEC服务器需要更新数据或者需要初始化数据的时候,会向集中数据库发送业务请求。其中,业务请求中携带有业务类型信息、MEC服务器的标识和预设范围。其中预设范围为MEC服务器对应的基站的预设范围,MEC服务器只存储MEC服务器对应的基站的该预设范围内的业务信息。其中,MEC服务器设置在基站的一定范围内。When the MEC server needs to update data or initialize data, it will send business requests to the centralized database. The service request carries service type information, an identifier of the MEC server and a preset range. The preset range is the preset range of the base station corresponding to the MEC server, and the MEC server only stores service information within the preset range of the base station corresponding to the MEC server. The MEC server is set within a certain range of the base station.

S402:集中数据库根据业务类型信息和预设范围,确定业务信息。S402: The centralized database determines the business information according to the business type information and the preset scope.

在本发明的一个实施例中,集中数据库根据业务类型信息和预设范围,为MEC服务器建立数据需求信息。数据需求信息中的每一项业务信息关联记录了MEC服务器标识、业务类型信息、预设范围。其中,每个MEC服务器可以有多种业务类型信息的记录,每个业务类型的预设范围可以不同。In an embodiment of the present invention, the centralized database establishes data requirement information for the MEC server according to the service type information and the preset range. Each item of service information in the data requirement information records the MEC server identifier, service type information, and preset range in association with each other. Wherein, each MEC server may have records of information of multiple service types, and the preset range of each service type may be different.

S403:集中数据库根据MEC服务器的标识,向MEC服务器发送业务信息。S403: The centralized database sends service information to the MEC server according to the identifier of the MEC server.

集中数据库根据数据需求信息根据MEC服务器标识为MEC服务器取出其对应业务类型信息、预设范围内的数据,将该数据向MEC服务器进行初始发送或更新。The centralized database retrieves the corresponding service type information and data within the preset range for the MEC server according to the data requirement information according to the identification of the MEC server, and initially sends or updates the data to the MEC server.

S404:MEC服务器存储业务信息。S404: The MEC server stores service information.

本发明实施例通过集中数据库根据基站对应MEC服务器所需数据对应的业务类型和数据位置预设范围,为MEC服务器提供其位置附近的数据信息,该方法有助于提高对附近数据使用度高的终端在其接入基站对应的MEC服务器上命中所需数据的概率,实现了高效率MEC服务器缓存策略。The embodiment of the present invention provides the MEC server with data information near its location through a centralized database according to the business type and data location preset range corresponding to the data required by the base station corresponding to the MEC server, and the method helps to improve the utilization of nearby data. The probability that the terminal hits the required data on the MEC server corresponding to its access base station implements a high-efficiency MEC server caching strategy.

图5是本发明实施例提供的一种数据存储方法的流程示意图。FIG. 5 is a schematic flowchart of a data storage method provided by an embodiment of the present invention.

如图5所示,本发明实施例提供的一种数据存储方法应用于第一MEC服务器,该方法可以包括:As shown in FIG. 5 , a data storage method provided by an embodiment of the present invention is applied to the first MEC server, and the method may include:

S501:接收第一基站发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息。S501: Receive service information sent by a first base station; the service information includes location information of the acquired service information and service type information of the service information.

业务信息为用户所要获取的业务数据对应的信息。其中,业务信息包括获取该业务信息的位置信息,也就是业务数据采集的位置。业务信息还包括业务类型信息,业务类型信息用于标准该业务信息中的业务数据所要应用的场景。例如,对应到交通应用的实施例中,实际数据可以是交通信号灯信息、实时路况信息等,业务信息中的业务数据采集的位置可以是交通信号灯所在位置或者实时路况所对应的位置。该业务信息的业务类型信息是该业务数据应用于交通类业务或者视频业务。The service information is information corresponding to service data to be acquired by the user. The service information includes location information at which the service information is obtained, that is, the location where service data is collected. The service information further includes service type information, and the service type information is used to standardize the scenario in which the service data in the service information is to be applied. For example, in an embodiment corresponding to a traffic application, the actual data may be traffic light information, real-time road condition information, etc., and the location where the business data in the business information is collected may be the location of the traffic light or the location corresponding to real-time road conditions. The service type information of the service information is that the service data is applied to a traffic service or a video service.

S502:根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息。S502: Determine whether the service information is information for a location-related service according to the service type information.

第一MEC服务器需要判断业务信息所要应用的业务是否是与位置有关的业务。例如,交通类业务,如交通信号的状态信息、实时路况信息,与位置相关的业务,视频类业务,如与某个短视频,与位置无关。The first MEC server needs to judge whether the service to be applied by the service information is a service related to the location. For example, traffic services, such as traffic signal status information, real-time road condition information, location-related services, and video services, such as a short video, have nothing to do with location.

S503:当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息,以用于当第二MEC服务器确定业务信息中的位置信息位于第二基站的第一预设范围内时,第二MEC服务器存储业务信息。S503: When the service information is information for a service related to the location, send the service information to the second MEC server, so as to be used when the second MEC server determines that the location information in the service information is located in the first preset of the second base station When within the range, the second MEC server stores the service information.

业务信息中携带有获取该业务信息的位置信息。其中,位置信息是获取业务信息的位置。不同业务信息所应用的业务对应的业务类型,对于获取业务信息的位置范围要求不同。例如,应用于交通类业务可以需要3公里以内的业务信息;应用于工业互联网类可以需要100米以内的业务信息。因此,第二MEC服务器对于不同类型的业务,会设置不同的预设范围。The service information carries location information for obtaining the service information. The location information is the location where the service information is obtained. The service types corresponding to the services to which different service information is applied have different requirements for the location range for obtaining the service information. For example, the application to traffic services may require service information within 3 kilometers; the application to industrial Internet may require service information within 100 meters. Therefore, the second MEC server may set different preset ranges for different types of services.

第一MEC服务器向第二MEC服务器发送业务信息后,第二MEC服务器需要根据位置信息确定是否存储该业务信息。当业务信息中的位置信息在第二基站的预设范围内时,第二MEC服务器会将业务信息保存。第二MEC服务器存储业务信息,以用于终端获取该业务信息。例如,在第二基站附件的车载终端需要获取某交通信号灯的实时状态,该交通信号灯的位置在第二基站的第二预设范围内,那么,第二MEC服务器中存储该交通信号灯的实时状态信息。使得终端能够避免业务信息的长距离传输增加了信息传输的时延,提高了业务信息的获取效率,并提高了边缘缓存数据的命中率。After the first MEC server sends the service information to the second MEC server, the second MEC server needs to determine whether to store the service information according to the location information. When the location information in the service information is within the preset range of the second base station, the second MEC server will save the service information. The second MEC server stores the service information for the terminal to obtain the service information. For example, the vehicle-mounted terminal attached to the second base station needs to obtain the real-time status of a traffic signal light, and the position of the traffic signal light is within the second preset range of the second base station, then the second MEC server stores the real-time status of the traffic signal light information. The terminal can avoid long-distance transmission of service information and increase the delay of information transmission, improve the efficiency of obtaining service information, and improve the hit rate of edge cache data.

当业务信息不是用于与位置有关的业务的信息时,第一MEC服务器向集中数据库发送业务信息,集中数据库保存该业务信息。此时,集中数据库存储的业务信息可以作为平台侧的业务信息。平台侧的业务信息可以用于各种业务中。如业务信息是视频类信息、语音类的信息等等。When the service information is not information for the service related to the location, the first MEC server sends the service information to the centralized database, and the centralized database stores the service information. At this time, the business information stored in the centralized database can be used as the business information on the platform side. The service information on the platform side can be used in various services. For example, the service information is video information, voice information, and so on.

另外,当业务信息是用于与位置有关的业务的信息时,第一MEC服务器向集中数据库发送业务信息,集中数据库保存该业务信息。此时,集中数据库存储的业务信息可以作为平台侧的业务信息。平台侧的业务信息可以用于各种业务中。如业务信息是视频类信息、语音类的信息等等。In addition, when the service information is information for a service related to a location, the first MEC server sends the service information to the centralized database, which stores the service information. At this time, the business information stored in the centralized database can be used as the business information on the platform side. The service information on the platform side can be used in various services. For example, the service information is video information, voice information, and so on.

本发明实施例提供的数据存储方法,通过接收第一基站发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息,以用于当第二MEC服务器确定业务信息中的位置信息位于第二基站的第一预设范围内时,第二MEC服务器存储业务信息,提高了用户获取数据的命中率。In the data storage method provided by the embodiment of the present invention, the service information sent by the first base station is received; the service information includes the location information of the acquired service information and the service type information of the service information; according to the service type information, it is determined whether the service information is used for Information of the location-related service; when the service information is information for the location-related service, the service information is sent to the second MEC server, so as to be used when the second MEC server determines that the location information in the service information is located at the second base station The second MEC server stores the service information when it is within the first preset range of , which improves the hit rate of the data obtained by the user.

图6是本发明实施例提供的一种数据存储方法的流程示意图。FIG. 6 is a schematic flowchart of a data storage method provided by an embodiment of the present invention.

如图6所示,本发明实施例提供的数据存储方法,应用于第二MEC服务器,该方法包括:As shown in FIG. 6 , the data storage method provided by the embodiment of the present invention is applied to the second MEC server, and the method includes:

S601:接收第一MEC服务器发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;其中,业务类型信息是表征业务信息是用于与位置相关的业务的信息。S601: Receive the service information sent by the first MEC server; the service information includes the location information of the acquired service information and the service type information of the service information; wherein the service type information is information indicating that the service information is used for location-related services.

第二MEC服务器接收到业务信息后可以存储该业务信息,也可以将该业务信息丢弃。第二MEC服务器需要通过业务信息中包括的获取该业务信息的位置信息来判断是否存储该业务信息。After receiving the service information, the second MEC server may store the service information or discard the service information. The second MEC server needs to determine whether to store the service information according to the location information included in the service information for obtaining the service information.

S602:根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站的第一预设范围内。S602: Determine whether the location information is located within a first preset range of the second base station according to the location information in the received service information.

业务信息中携带有获取该业务信息的位置信息。其中,位置信息是获取业务信息的位置。不同业务信息所应用的业务对应的业务类型,对于获取业务信息的位置范围要求不同。例如,应用于交通类业务可以需要3公里以内的业务信息;应用于工业互联网类可以需要100米以内的业务信息。因此,第二MEC服务器对于不同类型的业务,会设置不同的预设范围。当业务信息中的位置信息在第二站的预设范围内时,第二MEC服务器会将业务信息保存。The service information carries location information for obtaining the service information. The location information is the location where the service information is obtained. The service types corresponding to the services to which different service information is applied have different requirements for the location range for obtaining the service information. For example, the application to traffic services may require service information within 3 kilometers; the application to industrial Internet may require service information within 100 meters. Therefore, the second MEC server may set different preset ranges for different types of services. When the location information in the service information is within the preset range of the second station, the second MEC server will save the service information.

S603:当位置信息位于第二基站的第一预设范围内时,存储业务信息。S603: When the location information is within the first preset range of the second base station, store the service information.

在本发明的一个实施例中,第二MEC服务器存储业务信息,以用于终端获取该业务信息。例如,在第二基站附件的车载终端需要获取某交通信号灯的实时状态,该交通信号灯的位置在第二基站的第二预设范围内,那么,第二MEC服务器中存储该交通信号灯的实时状态信息。使得终端能够避免业务信息的长距离传输增加了信息传输的时延,提高了业务信息的获取效率,并提高了边缘缓存数据的命中率。In an embodiment of the present invention, the second MEC server stores service information for the terminal to obtain the service information. For example, the vehicle-mounted terminal attached to the second base station needs to obtain the real-time status of a traffic signal light, and the position of the traffic signal light is within the second preset range of the second base station, then the second MEC server stores the real-time status of the traffic signal light information. The terminal can avoid long-distance transmission of service information and increase the delay of information transmission, improve the efficiency of obtaining service information, and improve the hit rate of edge cache data.

当位置信息不位于第二基站的第一预设范围内时,删除业务信息。When the location information is not within the first preset range of the second base station, the service information is deleted.

此外,第二MEC还可以从集中数据库中获取业务信息,在这里,在集中数据库中获取的业务信息是用于第二MEC服务器初始化或者需要更新数据的。具体的:In addition, the second MEC may also acquire service information from the centralized database, where the service information acquired in the centralized database is used for the initialization of the second MEC server or data needs to be updated. specific:

向集中数据库发送业务请求;业务请求携带有业务类型信息、第二MEC服务器的标识和第一预设范围,以用于集中数据库根据业务类型信息和第一预设范围,确定业务信息,并向第二MEC服务器的标识对应的第二MEC服务器发送业务信息;Send a service request to the centralized database; the service request carries the service type information, the identifier of the second MEC server and the first preset range, so that the centralized database determines the service information according to the service type information and the first preset range, and sends it to the centralized database. The second MEC server corresponding to the identifier of the second MEC server sends service information;

存储集中数据库发送的业务信息;Store the business information sent by the centralized database;

其中,业务信息包括业务类型信息、获取业务信息的位置信息。The service information includes service type information and location information for obtaining the service information.

可选的,在本发明实施例中,第二MEC服务器需要更新数据或者需要初始化数据的时候,会向集中数据库发送业务请求。其中,业务请求中携带有业务类型信息、第二MEC服务器的标识和预设范围。其中,预设范围为第二MEC服务器对应的基站的预设范围,第二MEC服务器只存储MEC服务器对应的基站的该预设范围内的业务信息。其中,第二MEC服务器设置在基站的一定范围内。Optionally, in this embodiment of the present invention, when the second MEC server needs to update data or needs to initialize data, it will send a service request to the centralized database. The service request carries service type information, an identifier of the second MEC server and a preset range. The preset range is a preset range of the base station corresponding to the second MEC server, and the second MEC server only stores service information within the preset range of the base station corresponding to the MEC server. Wherein, the second MEC server is set within a certain range of the base station.

集中数据库根据业务类型信息和预设范围,为第二MEC服务器建立数据需求信息。数据需求信息中的每一项业务信息关联记录了MEC服务器标识、业务类型信息、预设范围。其中,每个第二MEC服务器可以有多种业务类型信息的记录,每个业务类型的预设范围可以不同。The centralized database establishes data requirement information for the second MEC server according to the business type information and the preset range. Each item of service information in the data requirement information records the MEC server identifier, service type information, and preset range in association with each other. Wherein, each second MEC server may have records of information of multiple service types, and the preset range of each service type may be different.

在这里,第一MEC服务器也可以向集中数据获取业务信息来初始化或者需要更新数据的。Here, the first MEC server may also obtain service information from the centralized data to initialize or update the data.

集中数据库根据数据需求信息根据MEC服务器标识为MEC服务器取出其对应业务类型信息、预设范围内的数据,将该数据向MEC服务器进行初始发送或更新。通过集中数据库根据基站对应MEC服务器所需数据对应的业务类型和数据位置预设范围,为MEC服务器提供其位置附近的数据信息,该方法有助于提高对附近数据使用度高的终端在其接入基站对应的MEC服务器上命中所需数据的概率,实现了高效率MEC服务器缓存策略。The centralized database retrieves the corresponding service type information and data within the preset range for the MEC server according to the data requirement information according to the identification of the MEC server, and initially sends or updates the data to the MEC server. The centralized database provides the MEC server with data information near its location according to the service type and data location preset range corresponding to the data required by the base station corresponding to the MEC server. The probability of hitting the required data on the MEC server corresponding to the incoming base station realizes a high-efficiency MEC server caching strategy.

本发明实施例提供的数据存储方法,接收第一MEC服务器发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;其中,业务类型信息是表征业务信息是用于与位置相关的业务的信息;根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站的第一预设范围内;当位置信息位于第二基站的第一预设范围内时,存储业务信息,提高了用户获取数据的命中率。The data storage method provided by the embodiment of the present invention receives the service information sent by the first MEC server; the service information includes the location information of the obtained service information and the service type information of the service information; wherein, the service type information indicates that the service information is used to communicate with the service information. information about location-related services; determine whether the location information is located within the first preset range of the second base station according to the location information in the received service information; when the location information is located within the first preset range of the second base station, It stores business information and improves the hit rate of data acquisition by users.

图7是本发明实施例提供的一种数据存储装置,该装置应用于第一MEC服务器,装置可以包括:接收模块701、确定模块702、发送模块703。FIG. 7 is a data storage device provided by an embodiment of the present invention. The device is applied to the first MEC server. The device may include: a receiving module 701 , a determining module 702 , and a sending module 703 .

接收模块701,用于接收第一基站发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;A receiving module 701, configured to receive service information sent by a first base station; the service information includes location information for obtaining the service information and service type information for the service information;

确定模块702,用于根据业务类型信息,确定业务信息是否是用于与位置有关的业务的信息;A determination module 702, configured to determine whether the service information is information for a location-related service according to the service type information;

发送模块703,用于当业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送业务信息,以用于当第二MEC服务器确定业务信息中的位置信息位于第二基站的第一预设范围内时,第二MEC服务器存储业务信息。The sending module 703 is configured to send the service information to the second MEC server when the service information is information for a service related to the location, so as to be used when the second MEC server determines that the location information in the service information is located at the location of the second base station. When within the first preset range, the second MEC server stores the service information.

可选的,在本发明实施例中,发送模块703,还用于向集中数据库发送业务信息,以用于集中数据库存储业务信息。Optionally, in this embodiment of the present invention, the sending module 703 is further configured to send service information to the centralized database, so that the centralized database stores the service information.

可选的,在本发明实施例中,发送模块703,还用于:Optionally, in this embodiment of the present invention, the sending module 703 is further configured to:

当业务信息不是用于与位置相关的业务的信息时,向集中数据库发送业务信息,以用于集中数据库存储业务信息。When the business information is not information for the location-related business, the business information is sent to the centralized database for the centralized database to store the business information.

本发明实施例提供的数据存储装置执行图5所示的方法中的各个步骤,并能够达到提高用户获取数据的命中率的技术效果,为简洁描述,再此不在详细赘述。The data storage device provided by the embodiment of the present invention executes each step in the method shown in FIG. 5 , and can achieve the technical effect of improving the hit rate of the data obtained by the user.

图8是本发明实施例提供的一种数据存储装置,该装置应用于第二MEC服务器,装置可以包括:接收模块801、确定模块802、存储模块803。FIG. 8 is a data storage device provided by an embodiment of the present invention. The device is applied to a second MEC server. The device may include: a receiving module 801 , a determining module 802 , and a storage module 803 .

接收模块801,用于接收第一MEC服务器发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;其中,业务类型信息是表征业务信息是用于与位置相关的业务的信息;The receiving module 801 is used to receive the service information sent by the first MEC server; the service information includes the location information of the obtained service information and the service type information of the service information; wherein, the service type information is to characterize that the service information is used for position-related services Information;

确定模块802,用于根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站的第一预设范围内;A determination module 802, configured to determine whether the location information is located within the first preset range of the second base station according to the location information in the received service information;

存储模块803,用于当位置信息位于第二基站的第一预设范围内时,存储业务信息。The storage module 803 is configured to store the service information when the location information is within the first preset range of the second base station.

可选的,在本发明实施例中,该装置还包括删除模块;Optionally, in this embodiment of the present invention, the device further includes a deletion module;

删除模块,用于当位置信息不位于第二基站的第一预设范围内时,删除业务信息。A deletion module, configured to delete the service information when the location information is not within the first preset range of the second base station.

可选的,在本发明实施例中,发送模块,用于向集中数据库发送业务请求;业务请求携带有业务类型信息、第二MEC服务器的标识和第一预设范围,以用于集中数据库根据业务类型信息和第一预设范围,确定业务信息,并向第二MEC服务器的标识对应的第二MEC服务器发送业务信息;Optionally, in this embodiment of the present invention, a sending module is configured to send a service request to the centralized database; the service request carries service type information, an identifier of the second MEC server, and a first preset range, which is used for the centralized database according to the data. The service type information and the first preset range, determine the service information, and send the service information to the second MEC server corresponding to the identifier of the second MEC server;

存储模块803,还用于存储集中数据库发送的业务信息;The storage module 803 is also used to store the business information sent by the centralized database;

其中,业务信息包括业务类型信息、获取业务信息的位置信息。The service information includes service type information and location information for obtaining the service information.

本发明实施例提供的数据存储装置,通过接收模块801,用于接收第一MEC服务器发送的业务信息;业务信息包括获取业务信息的位置信息和业务信息的业务类型信息;其中,业务类型信息是表征业务信息是用于与位置相关的业务的信息;确定模块802,用于根据接收到的业务信息中的位置信息,确定位置信息是否位于第二基站的第一预设范围内;存储模块803,用于当位置信息位于第二基站的第一预设范围内时,存储业务信息,提高用户获取数据的命中率。The data storage device provided by the embodiment of the present invention is configured to receive the service information sent by the first MEC server through the receiving module 801; the service information includes the location information of the acquired service information and the service type information of the service information; wherein, the service type information is The characterizing service information is information used for the service related to the position; the determining module 802 is used for determining whether the position information is located within the first preset range of the second base station according to the position information in the received service information; the storage module 803 , which is used to store the service information when the location information is within the first preset range of the second base station, so as to improve the hit rate of the data obtained by the user.

本发明实施例提供的数据存储装置执行图6所示的方法中的各个步骤,并能够达到提高用户获取数据的命中率的技术效果,为简洁描述,再此不在详细赘述。The data storage device provided by the embodiment of the present invention executes each step in the method shown in FIG. 6 , and can achieve the technical effect of improving the hit rate of the data obtained by the user.

另外,结合上述实施例中的数据存储方法,本发明实施例可提供一种计算机存储介质来实现。该计算机存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种数据存储方法。In addition, in combination with the data storage methods in the above embodiments, the embodiments of the present invention can be implemented by providing a computer storage medium. Computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by the processor, any one of the data storage methods in the foregoing embodiments is implemented.

需要明确的是,本发明并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本发明的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本发明的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the present invention is not limited to the specific arrangements and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above-described embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the sequence of steps after comprehending the spirit of the present invention.

以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本发明的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, elements of the invention are programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted over a transmission medium or communication link by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. The code segments may be downloaded via a computer network such as the Internet, an intranet, or the like.

还需要说明的是,本发明中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本发明不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be different from the order in the embodiments, or several steps may be performed simultaneously.

以上所述,仅为本发明的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。The above are only specific implementations of the present invention. Those skilled in the art can clearly understand that, for the convenience and simplicity of the description, the specific working process of the above-described systems, modules and units may refer to the foregoing method embodiments. The corresponding process in , will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should all cover within the protection scope of the present invention.

Claims (13)

1.一种数据存储方法,其特征在于,所述方法应用于第一边缘计算MEC服务器,所述方法包括:1. a data storage method, is characterized in that, described method is applied to the first edge computing MEC server, described method comprises: 接收第一基站发送的业务信息;所述业务信息包括获取所述业务信息的位置信息和所述业务信息的业务类型信息;Receive service information sent by the first base station; the service information includes location information obtained from the service information and service type information of the service information; 根据所述业务类型信息,确定所述业务信息是否是用于与位置有关的业务的信息;According to the service type information, determine whether the service information is information for a location-related service; 当所述业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送所述业务信息,以用于当所述第二MEC服务器确定所述业务信息中的所述位置信息位于第二基站的第一预设范围内时,所述第二MEC服务器存储所述业务信息。When the service information is information for a location-related service, sending the service information to a second MEC server, so as to be used when the second MEC server determines that the location information in the service information is located in When within the first preset range of the second base station, the second MEC server stores the service information. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, wherein the method further comprises: 向集中数据库发送所述业务信息,以用于所述集中数据库存储所述业务信息。The business information is sent to a centralized database for the centralized database to store the business information. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, wherein the method further comprises: 当所述业务信息不是用于与位置相关的业务的信息时,向集中数据库发送所述业务信息,以用于所述集中数据库存储所述业务信息。When the business information is not information for a location-related business, the business information is sent to a centralized database for the centralized database to store the business information. 4.一种数据存储方法,其特征在于,所述方法应用于第二边缘计算MEC服务器;所述方法包括:4. A data storage method, wherein the method is applied to a second edge computing MEC server; the method comprises: 接收第一MEC服务器发送的业务信息;所述业务信息包括获取所述业务信息的位置信息和所述业务信息的业务类型信息;其中,所述业务类型信息是表征所述业务信息是用于与位置相关的业务的信息;Receive the service information sent by the first MEC server; the service information includes the location information for obtaining the service information and the service type information of the service information; wherein, the service type information indicates that the service information is used for and location-related business information; 根据接收到的所述业务信息中的所述位置信息,确定所述位置信息是否位于第二基站的第一预设范围内;determining, according to the received location information in the service information, whether the location information is within a first preset range of the second base station; 当所述位置信息位于所述第二基站的第一预设范围内时,存储所述业务信息。When the location information is located within the first preset range of the second base station, the service information is stored. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. The method according to claim 4, wherein the method further comprises: 当所述位置信息不位于所述第二基站的第一预设范围内时,删除所述业务信息。When the location information is not located within the first preset range of the second base station, the service information is deleted. 6.根据权利要求4所述的方法,其特征在于,所述方法还包括:6. The method according to claim 4, wherein the method further comprises: 向集中数据库发送业务请求;所述业务请求携带有业务类型信息、第二MEC服务器的标识和所述第一预设范围,以用于所述集中数据库根据所述业务类型信息和所述第一预设范围,确定业务信息,并向所述第二MEC服务器的标识对应的第二MEC服务器发送所述业务信息;Send a service request to the centralized database; the service request carries service type information, the identifier of the second MEC server and the first preset range, so that the centralized database can use the service type information and the first preset range for the centralized database. Preset range, determine service information, and send the service information to the second MEC server corresponding to the identifier of the second MEC server; 存储所述集中数据库发送的所述业务信息;storing the service information sent by the centralized database; 其中,所述业务信息包括业务类型信息、获取所述业务信息的位置信息。The service information includes service type information and location information for obtaining the service information. 7.一种数据存储装置,其特征在于,所述装置应用于第一边缘计算MEC服务器,所述装置包括:7. A data storage device, wherein the device is applied to a first edge computing MEC server, and the device comprises: 接收模块,用于接收第一基站发送的业务信息;所述业务信息包括获取所述业务信息的位置信息和所述业务信息的业务类型信息;a receiving module, configured to receive service information sent by the first base station; the service information includes location information obtained from the service information and service type information of the service information; 确定模块,用于根据所述业务类型信息,确定所述业务信息是否是用于与位置有关的业务的信息;a determining module, configured to determine, according to the service type information, whether the service information is information for a location-related service; 发送模块,用于当所述业务信息是用于与位置相关的业务的信息时,向第二MEC服务器发送所述业务信息,以用于当所述第二MEC服务器确定所述业务信息中的所述位置信息位于第二基站的第一预设范围内时,所述第二MEC服务器存储所述业务信息。A sending module, configured to send the service information to a second MEC server when the service information is information for a service related to a location, so as to be used when the second MEC server determines the service information in the service information. When the location information is within the first preset range of the second base station, the second MEC server stores the service information. 8.根据权利要求7所述的装置,其特征在于,所述发送模块,还用于向集中数据库发送所述业务信息,以用于所述集中数据库存储所述业务信息。8 . The apparatus according to claim 7 , wherein the sending module is further configured to send the service information to a centralized database, so that the centralized database stores the service information. 9 . 9.根据权利要求7所述的装置,其特征在于,所述发送模块,还用于:9. The device according to claim 7, wherein the sending module is further configured to: 当所述业务信息不是用于与位置相关的业务的信息时,向集中数据库发送所述业务信息,以用于所述集中数据库存储所述业务信息。When the business information is not information for a location-related business, the business information is sent to a centralized database for the centralized database to store the business information. 10.一种数据存储装置,其特征在于,所述装置应用于第二边缘计算MEC服务器;所述装置包括:10. A data storage device, wherein the device is applied to a second edge computing MEC server; the device comprises: 接收模块,用于接收第一MEC服务器发送的业务信息;所述业务信息包括获取所述业务信息的位置信息和所述业务信息的业务类型信息;其中,所述业务类型信息是表征所述业务信息是用于与位置相关的业务的信息;a receiving module, configured to receive service information sent by the first MEC server; the service information includes location information obtained from the service information and service type information of the service information; wherein, the service type information is used to characterize the service Information is information used for location-related business; 确定模块,用于根据接收到的所述业务信息中的所述位置信息,确定所述位置信息是否位于第二基站的第一预设范围内;a determining module, configured to determine whether the location information is located within the first preset range of the second base station according to the received location information in the service information; 存储模块,用于当所述位置信息位于所述第二基站的第一预设范围内时,存储所述业务信息。A storage module, configured to store the service information when the location information is within a first preset range of the second base station. 11.根据权利要求10所述的装置,其特征在于,所述装置还包括:11. The apparatus of claim 10, wherein the apparatus further comprises: 发送模块,用于向集中数据库发送业务请求;所述业务请求携带有业务类型信息、第二MEC服务器的标识和所述第一预设范围,以用于所述集中数据库根据所述业务类型信息和所述第一预设范围,确定业务信息,并向所述第二MEC服务器的标识对应的第二MEC服务器发送所述业务信息;A sending module, configured to send a service request to the centralized database; the service request carries service type information, the identifier of the second MEC server and the first preset range, so that the centralized database can use the service type information according to the service type information. and the first preset range, determine service information, and send the service information to the second MEC server corresponding to the identifier of the second MEC server; 所述存储模块,还用于存储所述集中数据库发送的所述业务信息;The storage module is further configured to store the service information sent by the centralized database; 其中,所述业务信息包括业务类型信息、获取所述业务信息的位置信息。The service information includes service type information and location information for obtaining the service information. 12.一种数据存储系统,其特征在于,所述系统包括第一基站和第二基站,以及设置在所述第一基站第二预设范围内的第一边缘计算MEC服务器、设置在所述第二基站第三预设范围内第二MEC服务器和集中数据库;12. A data storage system, characterized in that the system comprises a first base station and a second base station, and a first edge computing MEC server arranged in a second preset range of the first base station, and a first edge computing MEC server arranged in the A second MEC server and a centralized database within a third preset range of the second base station; 所述第一MEC服务器,用于接收所述第一基站发送的业务信息,所述业务信息包括获取所述业务信息的位置信息和所述业务信息的业务类型信息;并根据所述业务类型信息,确定所述业务信息是否是用于与位置有关的业务的信息;当所述业务信息是用于与位置相关的业务的信息时,向所述第二MEC服务器发送所述业务信息;所述第一MEC服务器,还用于向所述集中数据库发送所述业务信息;The first MEC server is configured to receive service information sent by the first base station, where the service information includes location information obtained from the service information and service type information of the service information; and according to the service type information , determine whether the service information is information for a position-related service; when the service information is for a position-related service, send the service information to the second MEC server; the a first MEC server, further configured to send the service information to the centralized database; 所述第二MEC服务器,用于根据接收到的所述业务信息中的所述位置信息,确定所述位置信息是否位于所述第二基站的第一预设范围内;当所述位置信息位于所述第二基站的第一预设范围内时,存储所述业务信息;The second MEC server is configured to determine, according to the received location information in the service information, whether the location information is located within the first preset range of the second base station; when the location information is located within the first preset range of the second base station; when the second base station is within the first preset range, storing the service information; 所述集中数据库,用于存储所述第一MEC服务器发送的所述业务信息。The centralized database is used to store the service information sent by the first MEC server. 13.一种计算机存储介质,期特征在于,所述计算机存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如权利要求1-3任意一项所述的数据存储方法,或实现如权利要求4-6任意一项所述的数据存储方法。13. A computer storage medium, wherein computer program instructions are stored on the computer storage medium, and when the computer program instructions are executed by a processor, the data storage method according to any one of claims 1-3 is implemented , or implement the data storage method according to any one of claims 4-6.
CN201911383555.8A 2019-12-28 2019-12-28 Data storage method, device, system and storage medium Active CN113055820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911383555.8A CN113055820B (en) 2019-12-28 2019-12-28 Data storage method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911383555.8A CN113055820B (en) 2019-12-28 2019-12-28 Data storage method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN113055820A CN113055820A (en) 2021-06-29
CN113055820B true CN113055820B (en) 2022-09-06

Family

ID=76507231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911383555.8A Active CN113055820B (en) 2019-12-28 2019-12-28 Data storage method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN113055820B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998345A (en) * 2016-01-26 2017-08-01 中兴通讯股份有限公司 The processing method of business network, apparatus and system
CN107770815A (en) * 2017-10-18 2018-03-06 中国联合网络通信集团有限公司 A location-based MEC method and device
CN109495929A (en) * 2017-09-12 2019-03-19 华为技术有限公司 A kind of method for processing business, mobile edge calculations equipment and the network equipment
CN109995836A (en) * 2017-12-29 2019-07-09 华为技术有限公司 Cache decision method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11218553B2 (en) * 2018-03-05 2022-01-04 Intel Corporation Inter-MEC system communication for V2X services
US11334382B2 (en) * 2019-04-30 2022-05-17 Intel Corporation Technologies for batching requests in an edge infrastructure

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998345A (en) * 2016-01-26 2017-08-01 中兴通讯股份有限公司 The processing method of business network, apparatus and system
CN109495929A (en) * 2017-09-12 2019-03-19 华为技术有限公司 A kind of method for processing business, mobile edge calculations equipment and the network equipment
CN107770815A (en) * 2017-10-18 2018-03-06 中国联合网络通信集团有限公司 A location-based MEC method and device
CN109995836A (en) * 2017-12-29 2019-07-09 华为技术有限公司 Cache decision method and device

Also Published As

Publication number Publication date
CN113055820A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
US7103023B2 (en) Radio communication control station, radio communication terminal, home agent, and radio communication method
US8838148B2 (en) Location based wireless tower caching
US8699402B2 (en) Multi-hop relay radio communication system, access gateway, and route selection method
US7773941B2 (en) Method and system for positioning a relay in a wide area communication network
US9071450B2 (en) Charging and policy for services at the edge of a mobile data network
CN112438074A (en) Method and system for HPLMN based traffic control when UE is registered on different PLMNs
CN1653738A (en) Technique for ip communication among wireless devices
CN106471826A (en) For supporting method, remote communication server and the base station of vehicle communication in cellular networks
US20130070618A1 (en) Mobile network services in a mobile data network
WO2022022470A1 (en) Communication selection method based on relay communication and direct connection communication, and device
CN103096279A (en) Calling method, device, system and platform equipment for achieving one number service business
WO2015058339A1 (en) Routing method between base stations, serving gateway and base station
WO2018120246A1 (en) Data transmission method, and related network element
CN113055820B (en) Data storage method, device, system and storage medium
RU2121227C1 (en) Process of data reception in standard gsm network concerning additional services in system msc and vlr
KR100541758B1 (en) Packet-type charging update information transmission method in subscriber access device of wireless subscriber network
JP5254242B2 (en) Calling method and apparatus in trunking system
US9247483B2 (en) Method and system for data traffic offload
CN108476545A (en) Control method, device and the base station of radio resource control RRC state
CN114928871B (en) Method for relaying traffic, network access method, terminal, medium and device
US8914021B2 (en) Using the maintenance channel in a mobile data network to provide subscriber data when a cache miss occurs
KR101075759B1 (en) Method and system for terminating packtet data call in a wireless communication system
CN105792286A (en) Traffic control method and apparatus
CN105188025B (en) A kind of sending method and system of location reference signals
EP4228344A1 (en) Method and apparatus for requesting prs configuration, and communication device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant