CN114449640A - Data synchronization method, information transmission method and equipment - Google Patents

Data synchronization method, information transmission method and equipment Download PDF

Info

Publication number
CN114449640A
CN114449640A CN202011218574.8A CN202011218574A CN114449640A CN 114449640 A CN114449640 A CN 114449640A CN 202011218574 A CN202011218574 A CN 202011218574A CN 114449640 A CN114449640 A CN 114449640A
Authority
CN
China
Prior art keywords
edge node
road
terminal
coverage area
preset
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.)
Granted
Application number
CN202011218574.8A
Other languages
Chinese (zh)
Other versions
CN114449640B (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
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication 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, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011218574.8A priority Critical patent/CN114449640B/en
Publication of CN114449640A publication Critical patent/CN114449640A/en
Application granted granted Critical
Publication of CN114449640B publication Critical patent/CN114449640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Landscapes

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

Abstract

The invention provides a data synchronization method, an information transmission method and equipment, belonging to the technical field of wireless communication, wherein the data synchronization method applied to an edge node accessed by a terminal currently comprises the following steps: predicting a second edge node to be accessed next by the terminal according to the corresponding relation between the edge node coverage area and the road; and sending first information to the second edge node, so that the second edge node starts multi-operator data synchronization under the condition that at least part of information required for providing the service for the terminal is determined to be lost by the second edge node. The invention can reduce the time delay of data synchronization among multiple operators when the second edge node provides service for the terminal, provide corresponding service for the terminal in time, improve the service performance and the service quality, and improve the user experience and the safety.

Description

数据同步方法、信息传输方法及设备Data synchronization method, information transmission method and device

技术领域technical field

本发明涉及无线通信技术领域,尤其涉及一种数据同步方法、信息传输方法及设备。The present invention relates to the technical field of wireless communication, and in particular, to a data synchronization method, an information transmission method and equipment.

背景技术Background technique

多接入边缘计算(Multi-access Edge Computing,MEC)通过将计算、存储、服务能力向网络边缘迁移,实现内容和服务的本地化、近距离、分布式部署。面向蜂窝车用无线通信技术(Cellular-Vehicle to Everything,C-V2X)的MEC可以利用MEC的特点为车联网业务提供低时延、高性能的网络环境,支持部署更具本地特色的C-V2X服务。Multi-access Edge Computing (MEC) realizes localized, close-range, and distributed deployment of content and services by migrating computing, storage, and service capabilities to the network edge. MEC for cellular vehicle wireless communication technology (Cellular-Vehicle to Everything, C-V2X) can use the characteristics of MEC to provide a low-latency, high-performance network environment for IoV services, and support the deployment of C-V2X with more local characteristics Serve.

边缘节点一般部署于网络接入层或者与基站共址,不同运营商在边缘节点部署应用,能够为用户提供低时延的服务。同时,不同运营商在路侧部署路侧基础设施(Road SideUnit,RSU),一方面能够收集信息,比如连接交管平台获取道路交通流信息、交通事故信息等,连接路侧传感器进行传感器信息的收集;另一方面RSU可以进行信息转发,通过广播的形式将信息进行传播。目前,边缘节点为了向车辆提供服务,除了依靠车辆的上传信息,还需要依靠RSU和/或传感器获取必要的信息。Edge nodes are generally deployed at the network access layer or co-located with base stations. Different operators deploy applications on edge nodes, which can provide users with low-latency services. At the same time, different operators deploy roadside infrastructure (Road Side Unit, RSU) on the roadside, on the one hand, they can collect information, such as connecting to the traffic management platform to obtain road traffic flow information, traffic accident information, etc., and connecting roadside sensors to collect sensor information. ; On the other hand, RSU can forward information and spread the information in the form of broadcasting. At present, in order to provide services to vehicles, edge nodes need to rely on RSU and/or sensors to obtain necessary information in addition to the uploaded information of the vehicle.

然而对于部分运营商来说,在部分地区可能无法获取必要的数据,如未在当地部署传感器,或者未在该地区部署RSU等,这样会导致无法为该区域的用户提供相应的服务。为了解决上述问题,为用户提供连续的服务,可在多运营商之间进行数据的同步。However, for some operators, the necessary data may not be obtained in some areas, such as not deploying sensors locally, or not deploying RSUs in the area, etc., which will result in the inability to provide corresponding services to users in the area. In order to solve the above problems and provide users with continuous services, data synchronization can be performed among multiple operators.

在进行多运营商数据同步时,需要进行鉴权、建立数据链路、数据传输等步骤,占用一定的时间;同时,在部分场景中,如车辆轨迹预测、行人碰撞预警等,需要对历史交通数据进行同步,进一步提高了多运营商之间数据同步的时延。而多运营商之间数据同步时延较高,会严重影响车联网服务质量,甚至造成严重的交通事故。When multi-operator data synchronization is performed, steps such as authentication, establishment of data links, and data transmission are required, which take a certain amount of time; at the same time, in some scenarios, such as vehicle trajectory prediction, pedestrian collision warning, etc., historical traffic The data is synchronized, which further increases the delay of data synchronization between multiple operators. The high latency of data synchronization between multiple operators will seriously affect the quality of IoV services and even cause serious traffic accidents.

目前,存在以下技术:针对不同运营商下的移动用户做出最优的缓存决策,从而提高用户访问数据时缓存的命中率,降低访问时延;为了提高报文的转发速率,降低报文的传输时延;主要针对数据转发过程,简化了域间路径的配置。但是,不存在可以降低边缘计算相关的多运营商之间数据同步时延的技术。At present, there are the following technologies: to make optimal caching decisions for mobile users under different operators, so as to improve the cache hit rate when users access data and reduce the access delay; Transmission delay; mainly for the data forwarding process, which simplifies the configuration of inter-domain paths. However, there is no technology that can reduce the data synchronization delay between multiple operators related to edge computing.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明提供一种数据同步方法、信息传输方法及设备,用于解决目前多运营商数据同步时时延较高的问题。In view of this, the present invention provides a data synchronization method, information transmission method and device, which are used to solve the problem of high delay in the current multi-operator data synchronization.

为解决上述技术问题,第一方面,本发明提供一种数据同步方法,应用于第一边缘节点,所述第一边缘节点为终端当前接入的边缘节点,所述方法包括:In order to solve the above technical problems, in the first aspect, the present invention provides a data synchronization method, which is applied to a first edge node, where the first edge node is an edge node currently accessed by a terminal, and the method includes:

根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点;According to the correspondence between the coverage area of the edge node and the road, predict the second edge node that the terminal will access next;

向所述第二边缘节点发送第一信息,使得所述第二边缘节点在确定自身缺失为所述终端提供服务所需的至少部分信息的情况下,启动多运营商数据同步。The first information is sent to the second edge node, so that the second edge node starts multi-operator data synchronization when it is determined that it lacks at least part of the information required to provide services for the terminal.

可选的,所述根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点,包括:Optionally, predicting the second edge node that the terminal will access next according to the correspondence between the coverage area of the edge node and the road, including:

根据所述终端当前所处的第一位置,确定所述终端当前所处的第一道路;determining the first road where the terminal is currently located according to the first location where the terminal is currently located;

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路;predicting the road the terminal will enter according to the moving direction of the terminal on the first road and the road topology;

根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点。According to the road the terminal will drive into and the correspondence between the coverage area of the edge node and the road, at least one second edge node is predicted to be obtained.

可选的,所述根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路,包括:Optionally, predicting the road that the terminal will enter according to the moving direction of the terminal on the first road and the road topology structure, including:

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路;predicting the road that the terminal will enter in a preset area according to the moving direction of the terminal on the first road and the road topology;

其中所述预设区域内的任一位置与所述第一位置之间的距离小于或等于预设值,所述预设值是根据单一边缘节点覆盖区域的大小确定。The distance between any position in the preset area and the first position is less than or equal to a preset value, and the preset value is determined according to the size of the coverage area of a single edge node.

可选的,所述根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路包括:Optionally, according to the moving direction of the terminal on the first road and the road topology, predicting the road that the terminal will enter in the preset area includes:

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路及其路段;Predicting a road and a road segment that the terminal will enter in a preset area according to the moving direction of the terminal on the first road and the road topology;

所述根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点,包括:According to the corresponding relationship between the road that the terminal will drive into and the coverage area of the edge node and the road, at least one second edge node is predicted to be obtained, including:

根据所述终端将驶入的道路及其路段和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点;所述对应关系包括边缘节点覆盖区域与道路的路段的对应关系。At least one of the second edge nodes is predicted to be obtained according to the corresponding relationship between the road that the terminal will drive into and its section and the coverage area of the edge node and the road; the corresponding relationship includes the relationship between the coverage area of the edge node and the road section. Correspondence.

第二方面,本发明还提供一种数据同步方法,应用于第二边缘节点,所述第二边缘节点为第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测得到的终端下一个将接入的边缘节点,所述第一边缘节点为所述终端当前接入的边缘节点,所述方法包括:In a second aspect, the present invention further provides a data synchronization method, which is applied to a second edge node, where the second edge node is a terminal that is predicted by the first edge node according to the corresponding relationship between the coverage area of the edge node and the road to connect to the next terminal. an incoming edge node, the first edge node is an edge node currently accessed by the terminal, and the method includes:

接收所述第一边缘节点发送的第一信息;receiving the first information sent by the first edge node;

在接收到所述第一信息后,确定自身是否缺失为所述终端提供服务所需的至少部分信息;After receiving the first information, determine whether it lacks at least part of the information required to provide services for the terminal;

若确定缺失,则启动多运营商数据同步。If it is determined to be missing, start multi-operator data synchronization.

可选的,所述第一边缘节点和所述第二边缘节点均属于第一运营商;Optionally, both the first edge node and the second edge node belong to the first operator;

所述启动多运营商数据同步,包括:The starting multi-operator data synchronization includes:

确定第三边缘节点,所述第三边缘节点属于第二运营商,所述第三边缘节点的覆盖区域包括所述第二边缘节点的至少部分覆盖区域;determining a third edge node, the third edge node belongs to the second operator, and the coverage area of the third edge node includes at least part of the coverage area of the second edge node;

在确定所述第三边缘节点能够提供所述第二边缘节点为所述终端提供服务所需信息的缺失信息的情况下,与所述第三边缘节点进行数据同步。In the case that it is determined that the third edge node can provide missing information of the information required by the second edge node to provide services for the terminal, perform data synchronization with the third edge node.

可选的,所述确定第三边缘节点,包括:Optionally, the determining the third edge node includes:

根据第二运营商的边缘节点覆盖区域与道路的对应关系,确定所述第三边缘节点。The third edge node is determined according to the correspondence between the coverage area of the edge node of the second operator and the road.

可选的,所述与所述第三边缘节点进行数据同步,包括:Optionally, the performing data synchronization with the third edge node includes:

接收所述第三边缘节点发送的为所述终端提供服务所需信息的缺失信息,以为所述终端提供服务;或者,Receive the missing information of the information required to provide services for the terminal sent by the third edge node, so as to provide services for the terminal; or,

将已有的为所述终端提供服务所需的信息,发送至所述第三边缘节点,以由所述第三边缘节点为所述终端提供服务。Sending the existing information required for providing services to the terminal to the third edge node, so that the third edge node provides services for the terminal.

可选的,所述启动多运营商数据同步之后,还包括:Optionally, after the multi-operator data synchronization is started, the method further includes:

若经过预设时长,同步的数据依然未被使用,则删除同步的数据;和/或,If the synchronized data is still unused after the preset period of time, the synchronized data is deleted; and/or,

若所述终端已经离开所述第二边缘节点的覆盖区域,则删除同步的数据。If the terminal has left the coverage area of the second edge node, the synchronized data is deleted.

第三方面,本发明还提供一种信息传输方法,应用于电子设备,包括:In a third aspect, the present invention also provides an information transmission method, which is applied to electronic equipment, including:

根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路;Determine the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;

针对每一预设边缘节点,根据所述预设边缘节点下的所有所述预设基站覆盖的道路,确定所述预设边缘节点覆盖的道路;For each preset edge node, determine the road covered by the preset edge node according to the roads covered by all the preset base stations under the preset edge node;

根据每一所述预设边缘节点覆盖的道路,建立边缘节点覆盖区域与道路的对应关系;According to the road covered by each of the preset edge nodes, establish a corresponding relationship between the coverage area of the edge node and the road;

向所述预设边缘节点中的目标边缘节点发送所述边缘节点覆盖区域与道路的对应关系中的至少部分内容,所述边缘节点覆盖区域与道路的对应关系中的至少部分内容包括与所述目标边缘节点相邻的预设边缘节点的覆盖区域与道路的对应关系。Send at least part of the content in the correspondence between the coverage area of the edge node and the road to the target edge node in the preset edge nodes, where at least part of the content in the correspondence between the coverage area of the edge node and the road includes the The correspondence between the coverage area of the preset edge node adjacent to the target edge node and the road.

可选的,所述边缘节点覆盖区域与道路的对应关系包括边缘节点覆盖区域与道路的路段的对应关系;Optionally, the corresponding relationship between the edge node coverage area and the road includes the corresponding relationship between the edge node coverage area and the section of the road;

所述根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路,包括:The determining the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station, including:

从道路的一端开始,每隔预设距离确定一个分界点,将道路划分为多个路段;Starting from one end of the road, a dividing point is determined every preset distance, and the road is divided into multiple sections;

计算每个所述分界点与每个预设基站覆盖区域中心点之间的第一距离,并与相应基站的覆盖区域的半径进行对比;Calculate the first distance between each of the demarcation points and the center point of the coverage area of each preset base station, and compare it with the radius of the coverage area of the corresponding base station;

若所述第一距离小于或等于相应基站的覆盖区域的半径,则确定所述分界点在相应基站的覆盖区域内;If the first distance is less than or equal to the radius of the coverage area of the corresponding base station, determine that the demarcation point is within the coverage area of the corresponding base station;

若一条道路上的第一分界点和第二分界点均在相应基站的覆盖区域内,则确定所述第一分界点和所述第二分界点之间的路段在相应基站的覆盖区域内;所述第一分界点和所述第二分界点为相邻的两个分界点;If both the first demarcation point and the second demarcation point on a road are within the coverage area of the corresponding base station, determine that the road section between the first demarcation point and the second demarcation point is within the coverage area of the corresponding base station; The first demarcation point and the second demarcation point are two adjacent demarcation points;

若一条道路上的第三分界点和第四分界点中只有所述第三分界点在相应基站的覆盖区域内,则根据相应基站的覆盖区域的半径在所述第三分界点和所述第四分界点之间确定一个中间点,并确定所述中间点与所述第三分界点之间的路段在相应基站的覆盖区域内。If only the third demarcation point is within the coverage area of the corresponding base station among the third demarcation point and the fourth demarcation point on a road, then according to the radius of the coverage area of the corresponding base station, between the third demarcation point and the third demarcation point An intermediate point is determined between the four demarcation points, and the road section between the intermediate point and the third demarcation point is determined to be within the coverage area of the corresponding base station.

第四方面,本发明还提供一种第一边缘节点,所述第一边缘节点为终端当前接入的边缘节点,包括:In a fourth aspect, the present invention further provides a first edge node, where the first edge node is an edge node currently accessed by a terminal, including:

预测模块,用于根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点;a prediction module, configured to predict the second edge node that the terminal will access next according to the correspondence between the coverage area of the edge node and the road;

第一信息发送模块,用于向所述第二边缘节点发送第一信息,使得所述第二边缘节点在确定自身缺失为所述终端提供服务所需的至少部分信息的情况下,启动多运营商数据同步。a first information sending module, configured to send the first information to the second edge node, so that the second edge node starts multi-operation when it is determined that it lacks at least part of the information required to provide services for the terminal Business data synchronization.

可选的,所述预测模块,包括:Optionally, the prediction module includes:

道路确定单元,用于根据所述终端当前所处的第一位置,确定所述终端当前所处的第一道路;a road determining unit, configured to determine the first road where the terminal is currently located according to the first location where the terminal is currently located;

道路预测单元,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路;a road prediction unit, configured to predict the road that the terminal will enter according to the moving direction of the terminal on the first road and the road topology;

边缘节点预测单元,用于根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点。An edge node prediction unit, configured to predict at least one of the second edge nodes according to the road the terminal will drive into and the corresponding relationship between the coverage area of the edge node and the road.

可选的,所述道路预测单元,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路;Optionally, the road predicting unit is configured to predict the road that the terminal will enter in a preset area according to the moving direction of the terminal on the first road and the road topology structure;

其中,所述预设区域内的任一位置与所述第一位置之间的距离小于或等于预设值,所述预设值是根据单一边缘节点覆盖区域的大小确定。Wherein, the distance between any position in the preset area and the first position is less than or equal to a preset value, and the preset value is determined according to the size of the coverage area of a single edge node.

可选的,所述道路预测单元,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路及其路段;Optionally, the road predicting unit is configured to predict the road and the road segment that the terminal will enter in the preset area according to the moving direction of the terminal on the first road and the road topology structure;

所述边缘节点预测单元,用于根据所述终端将驶入的道路及其路段和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点;所述对应关系包括边缘节点覆盖区域与道路的路段的对应关系。The edge node prediction unit is configured to predict at least one of the second edge nodes according to the road to be entered by the terminal and the road segment and the corresponding relationship between the coverage area of the edge node and the road; the corresponding relationship includes Correspondence between edge node coverage area and road segments.

第五方面,本发明还提供一种第二边缘节点,所述第二边缘节点为第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测得到的终端下一个将接入的边缘节点,所述第一边缘节点为所述终端当前接入的边缘节点,所述第二边缘节点包括:In a fifth aspect, the present invention further provides a second edge node, where the second edge node is the edge node that the terminal will access next, which is predicted by the first edge node according to the correspondence between the coverage area of the edge node and the road. The first edge node is the edge node currently accessed by the terminal, and the second edge node includes:

第一信息接收模块,用于接收所述第一边缘节点发送的第一信息;a first information receiving module, configured to receive the first information sent by the first edge node;

确定模块,用于在接收到所述第一信息后,确定自身是否缺失为所述终端提供服务所需的至少部分信息;a determining module, configured to determine whether it lacks at least part of the information required to provide services for the terminal after receiving the first information;

同步模块,用于若确定缺失,则启动多运营商数据同步。The synchronization module is used to start multi-operator data synchronization if it is determined that it is missing.

可选的,所述第一边缘节点和所述第二边缘节点均属于第一运营商;Optionally, both the first edge node and the second edge node belong to the first operator;

所述同步模块,包括:The synchronization module includes:

同步节点确定单元,用于确定第三边缘节点,所述第三边缘节点属于第二运营商,所述第三边缘节点的覆盖区域包括所述第二边缘节点的至少部分覆盖区域;a synchronization node determination unit, configured to determine a third edge node, the third edge node belongs to the second operator, and the coverage area of the third edge node includes at least part of the coverage area of the second edge node;

同步单元,用于在确定所述第三边缘节点能够提供所述第二边缘节点为所述终端提供服务所需信息的缺失信息的情况下,与所述第三边缘节点进行数据同步。A synchronization unit, configured to perform data synchronization with the third edge node under the condition that it is determined that the third edge node can provide missing information of the information required by the second edge node to provide services for the terminal.

可选的,所述同步节点确定单元,用于根据第二运营商的边缘节点覆盖区域与道路的对应关系,确定所述第三边缘节点。Optionally, the synchronization node determination unit is configured to determine the third edge node according to the correspondence between the coverage area of the edge node of the second operator and the road.

可选的,所述同步单元,包括:Optionally, the synchronization unit includes:

接收子单元,用于接收所述第三边缘节点发送的为所述终端提供服务所需信息的缺失信息,以为所述终端提供服务;或者,a receiving subunit, configured to receive the missing information of the information required for providing services for the terminal sent by the third edge node, so as to provide services for the terminal; or,

发送子单元,用于将已有的为所述终端提供服务所需的信息,发送至所述第三边缘节点,以由所述第三边缘节点为所述终端提供服务。The sending subunit is configured to send the existing information required for providing services for the terminal to the third edge node, so that the third edge node provides services for the terminal.

可选的,所述第二边缘节点还包括:Optionally, the second edge node further includes:

第一冗余数据删除模块,用于若经过预设时长,同步的数据依然未被使用,则删除同步的数据;和/或,a first redundant data deletion module, configured to delete the synchronized data if the synchronized data is still not used after a preset time period; and/or,

第二冗余数据删除模块,用于若所述终端已经离开所述第二边缘节点的覆盖区域,则删除同步的数据。The second redundant data deletion module is configured to delete synchronized data if the terminal has left the coverage area of the second edge node.

第六方面,本发明还提供一种电子设备,包括:In a sixth aspect, the present invention also provides an electronic device, comprising:

基站覆盖确定模块,用于根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路;a base station coverage determination module, configured to determine the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;

边缘节点覆盖确定模块,用于针对每一预设边缘节点,根据所述预设边缘节点下的所有所述预设基站覆盖的道路,确定所述预设边缘节点覆盖的道路;an edge node coverage determination module, configured to, for each preset edge node, determine the road covered by the preset edge node according to the roads covered by all the preset base stations under the preset edge node;

对应关系建立模块,用于根据每一所述预设边缘节点覆盖的道路,建立边缘节点覆盖区域与道路的对应关系;a corresponding relationship establishing module, configured to establish a corresponding relationship between the coverage area of the edge node and the road according to the road covered by each of the preset edge nodes;

对应关系发送模块,用于向所述预设边缘节点中的目标边缘节点发送所述边缘节点覆盖区域与道路的对应关系中的至少部分内容,所述边缘节点覆盖区域与道路的对应关系中的至少部分内容包括与所述目标边缘节点相邻的预设边缘节点的覆盖区域与道路的对应关系。A corresponding relationship sending module, configured to send at least part of the content in the corresponding relationship between the coverage area of the edge node and the road to the target edge node in the preset edge nodes, and the content in the corresponding relationship between the coverage area of the edge node and the road. At least part of the content includes the correspondence between the coverage area of the preset edge node adjacent to the target edge node and the road.

可选的,所述边缘节点覆盖区域与道路的对应关系包括边缘节点覆盖区域与道路的路段的对应关系;Optionally, the corresponding relationship between the edge node coverage area and the road includes the corresponding relationship between the edge node coverage area and the section of the road;

所述基站覆盖确定模块包括:The base station coverage determination module includes:

路段划分单元,用于从道路的一端开始,每隔预设距离确定一个分界点,将道路划分为多个路段;The road segment dividing unit is used to start from one end of the road, determine a dividing point every preset distance, and divide the road into multiple road segments;

对比单元,用于计算每个所述分界点与每个预设基站覆盖区域中心点之间的第一距离,并与相应基站的覆盖区域的半径进行对比;A comparison unit, used to calculate the first distance between each of the demarcation points and the center point of the coverage area of each preset base station, and compare it with the radius of the coverage area of the corresponding base station;

第一覆盖确定单元,用于若所述第一距离小于或等于相应基站的覆盖区域的半径,则确定所述分界点在相应基站的覆盖区域内;a first coverage determination unit, configured to determine that the boundary point is within the coverage area of the corresponding base station if the first distance is less than or equal to the radius of the coverage area of the corresponding base station;

第二覆盖确定单元,用于若一条道路上的第一分界点和第二分界点均在相应基站的覆盖区域内,则确定所述第一分界点和所述第二分界点之间的路段在相应基站的覆盖区域内;所述第一分界点和所述第二分界点为相邻的两个分界点;The second coverage determination unit is configured to determine the road segment between the first and second demarcation points if both the first demarcation point and the second demarcation point on a road are within the coverage area of the corresponding base station In the coverage area of the corresponding base station; the first demarcation point and the second demarcation point are two adjacent demarcation points;

第三覆盖确定单元,用于若一条道路上的第三分界点和第四分界点中只有所述第三分界点在相应基站的覆盖区域内,则根据相应基站的覆盖区域的半径在所述第三分界点和所述第四分界点之间确定一个中间点,并确定所述中间点与所述第三分界点之间的路段在相应基站的覆盖区域内。The third coverage determination unit is configured to, if only the third demarcation point in the third demarcation point and the fourth demarcation point on a road is within the coverage area of the corresponding base station, then according to the radius of the coverage area of the corresponding base station An intermediate point is determined between the third demarcation point and the fourth demarcation point, and the road section between the intermediate point and the third demarcation point is determined to be within the coverage area of the corresponding base station.

第七方面,本发明还提供一种第一边缘节点,所述第一边缘节点为终端当前接入的边缘节点,包括:收发器和处理器;In a seventh aspect, the present invention further provides a first edge node, where the first edge node is an edge node currently accessed by a terminal, including: a transceiver and a processor;

所述处理器,用于根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点;the processor, configured to predict the second edge node that the terminal will access next according to the correspondence between the coverage area of the edge node and the road;

所述收发器,用于向所述第二边缘节点发送第一信息,使得所述第二边缘节点在确定自身缺失为所述终端提供服务所需的至少部分信息的情况下,启动多运营商数据同步。the transceiver, configured to send the first information to the second edge node, so that the second edge node starts multi-operator in the case of determining that it lacks at least part of the information required to provide services for the terminal data synchronization.

可选的,所述处理器,用于根据所述终端当前所处的第一位置,确定所述终端当前所处的第一道路;Optionally, the processor is configured to determine the first road where the terminal is currently located according to the first location where the terminal is currently located;

所述处理器,还用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路;The processor is further configured to predict the road that the terminal will enter according to the moving direction of the terminal on the first road and the road topology;

所述处理器,还用于根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点。The processor is further configured to predict at least one of the second edge nodes according to the road that the terminal will drive into and the corresponding relationship between the coverage area of the edge node and the road.

可选的,所述处理器,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路;Optionally, the processor is configured to predict, according to the moving direction of the terminal on the first road and the road topology, the road that the terminal will drive into within a preset area;

其中所述预设区域内的任一位置与所述第一位置之间的距离小于或等于预设值,所述预设值是根据单一边缘节点覆盖区域的大小确定。The distance between any position in the preset area and the first position is less than or equal to a preset value, and the preset value is determined according to the size of the coverage area of a single edge node.

可选的,所述处理器,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路及其路段;Optionally, the processor is configured to predict, according to the moving direction of the terminal on the first road and the road topology structure, the road and the road segment that the terminal will enter in a preset area;

所述处理器,还用于根据所述终端将驶入的道路及其路段和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点;所述对应关系包括边缘节点覆盖区域与道路的路段的对应关系。The processor is further configured to predict at least one of the second edge nodes according to the corresponding relationship between the road that the terminal will enter and the road segment and the coverage area of the edge node and the road; the corresponding relationship includes an edge The correspondence between the node coverage area and the road segment.

第八方面,本发明还提供一种第二边缘节点,所述第二边缘节点为第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测得到的终端下一个将接入的边缘节点,所述第一边缘节点为所述终端当前接入的边缘节点,所述第二边缘节点包括:收发器和处理器;In an eighth aspect, the present invention further provides a second edge node, where the second edge node is the edge node that the terminal will access next, which is predicted by the first edge node according to the correspondence between the coverage area of the edge node and the road. The first edge node is an edge node currently accessed by the terminal, and the second edge node includes: a transceiver and a processor;

所述收发器,用于接收所述第一边缘节点发送的第一信息;the transceiver, configured to receive the first information sent by the first edge node;

所述处理器,用于在接收到所述第一信息后,确定自身是否缺失为所述终端提供服务所需的至少部分信息;the processor, configured to, after receiving the first information, determine whether it lacks at least part of the information required to provide services for the terminal;

所述收发器,还用于若确定缺失,则启动多运营商数据同步。The transceiver is further configured to initiate multi-operator data synchronization if it is determined that it is missing.

可选的,所述第一边缘节点和所述第二边缘节点均属于第一运营商;Optionally, both the first edge node and the second edge node belong to the first operator;

所述处理器,用于确定第三边缘节点,所述第三边缘节点属于第二运营商,所述第三边缘节点的覆盖区域包括所述第二边缘节点的至少部分覆盖区域;the processor, configured to determine a third edge node, the third edge node belongs to the second operator, and the coverage area of the third edge node includes at least part of the coverage area of the second edge node;

所述收发器,用于在确定所述第三边缘节点能够提供所述第二边缘节点为所述终端提供服务所需信息的缺失信息的情况下,与所述第三边缘节点进行数据同步。The transceiver is configured to perform data synchronization with the third edge node when it is determined that the third edge node can provide missing information of the information required by the second edge node to provide services for the terminal.

可选的,所述处理器,用于根据第二运营商的边缘节点覆盖区域与道路的对应关系,确定所述第三边缘节点。Optionally, the processor is configured to determine the third edge node according to the correspondence between the coverage area of the edge node of the second operator and the road.

可选的,所述收发器用于接收所述第三边缘节点发送的为所述终端提供服务所需信息的缺失信息,以为所述终端提供服务;或者,Optionally, the transceiver is configured to receive missing information sent by the third edge node that is required to provide services for the terminal, so as to provide services for the terminal; or,

所述收发器用于将已有的为所述终端提供服务所需的信息,发送至所述第三边缘节点,以由所述第三边缘节点为所述终端提供服务。The transceiver is configured to send the existing information required for providing services to the terminal to the third edge node, so that the third edge node provides services for the terminal.

可选的,所述处理器还用于若经过预设时长,同步的数据依然未被使用,则删除同步的数据;和/或,若所述终端已经离开所述第二边缘节点的覆盖区域,则删除同步的数据。Optionally, the processor is further configured to delete the synchronized data if the synchronized data is still not used after a preset time period; and/or, if the terminal has left the coverage area of the second edge node , the synchronized data is deleted.

第九方面,本发明还提供一种电子设备,包括:收发器和处理器;In a ninth aspect, the present invention further provides an electronic device, comprising: a transceiver and a processor;

所述处理器,用于根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路;the processor, configured to determine the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;

所述处理器,还用于针对每一预设边缘节点,根据所述预设边缘节点下的所有所述预设基站覆盖的道路,确定所述预设边缘节点覆盖的道路;The processor is further configured to, for each preset edge node, determine the road covered by the preset edge node according to the roads covered by all the preset base stations under the preset edge node;

所述处理器,还用于根据每一所述预设边缘节点覆盖的道路,建立边缘节点覆盖区域与道路的对应关系;The processor is further configured to establish a corresponding relationship between the coverage area of the edge node and the road according to the road covered by each of the preset edge nodes;

所述收发器,用于向所述预设边缘节点中的目标边缘节点发送所述边缘节点覆盖区域与道路的对应关系中的至少部分内容,所述边缘节点覆盖区域与道路的对应关系中的至少部分内容包括与所述目标边缘节点相邻的预设边缘节点的覆盖区域与道路的对应关系。The transceiver is configured to send at least part of the content in the correspondence between the coverage area of the edge node and the road to the target edge node in the preset edge nodes, and the content in the correspondence between the coverage area of the edge node and the road. At least part of the content includes the correspondence between the coverage area of the preset edge node adjacent to the target edge node and the road.

可选的,所述边缘节点覆盖区域与道路的对应关系包括边缘节点覆盖区域与道路的路段的对应关系;Optionally, the corresponding relationship between the edge node coverage area and the road includes the corresponding relationship between the edge node coverage area and the section of the road;

所述处理器,用于从道路的一端开始,每隔预设距离确定一个分界点,将道路划分为多个路段;The processor is configured to start from one end of the road, determine a demarcation point every preset distance, and divide the road into a plurality of road segments;

所述处理器,还用于计算每个所述分界点与每个预设基站覆盖区域中心点之间的第一距离,并与相应基站的覆盖区域的半径进行对比;The processor is further configured to calculate the first distance between each of the demarcation points and the center point of the coverage area of each preset base station, and compare it with the radius of the coverage area of the corresponding base station;

所述处理器,还用于若所述第一距离小于或等于相应基站的覆盖区域的半径,则确定所述分界点在相应基站的覆盖区域内;The processor is further configured to determine that the demarcation point is within the coverage area of the corresponding base station if the first distance is less than or equal to the radius of the coverage area of the corresponding base station;

所述处理器,还用于若一条道路上的第一分界点和第二分界点均在相应基站的覆盖区域内,则确定所述第一分界点和所述第二分界点之间的路段在相应基站的覆盖区域内;所述第一分界点和所述第二分界点为相邻的两个分界点;The processor is further configured to determine a road segment between the first and second demarcation points if both the first demarcation point and the second demarcation point on a road are within the coverage area of the corresponding base station In the coverage area of the corresponding base station; the first demarcation point and the second demarcation point are two adjacent demarcation points;

所述处理器,还用于若一条道路上的第三分界点和第四分界点中只有所述第三分界点在相应基站的覆盖区域内,则根据相应基站的覆盖区域的半径在所述第三分界点和所述第四分界点之间确定一个中间点,并确定所述中间点与所述第三分界点之间的路段在相应基站的覆盖区域内。The processor is further configured to, if only the third demarcation point is within the coverage area of the corresponding base station among the third demarcation point and the fourth demarcation point on a road, then according to the radius of the coverage area of the corresponding base station An intermediate point is determined between the third demarcation point and the fourth demarcation point, and the road section between the intermediate point and the third demarcation point is determined to be within the coverage area of the corresponding base station.

第十方面,本发明还提供一种第一边缘节点,所述第一边缘节点为终端当前接入的边缘节点,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;所述处理器执行所述程序时实现上述任一种应用于第一边缘节点的数据同步方法中的步骤。In a tenth aspect, the present invention further provides a first edge node, where the first edge node is an edge node currently accessed by a terminal, including a memory, a processor, and a memory, a processor, and an edge node stored on the memory and available on the processor A running program; when the processor executes the program, any of the above-mentioned steps in the data synchronization method applied to the first edge node are implemented.

第十一方面,本发明还提供一种第二边缘节点,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;所述第二边缘节点为第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测得到的终端下一个将接入的边缘节点,所述第一边缘节点为所述终端当前接入的边缘节点,所述处理器执行所述程序时实现上述任一种应用于第二边缘节点的数据同步方法中的步骤。In an eleventh aspect, the present invention further provides a second edge node, including a memory, a processor, and a program stored on the memory and running on the processor; the second edge node is the first edge The node predicts the next edge node that the terminal will access according to the correspondence between the coverage area of the edge node and the road, the first edge node is the edge node currently accessed by the terminal, and when the processor executes the program The steps in any of the above data synchronization methods applied to the second edge node are implemented.

第十二方面,本发明还提供一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;所述处理器执行所述程序时实现上述任一种应用于电子设备的信息传输方法中的步骤。In a twelfth aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a program stored on the memory and running on the processor; the processor implements any of the above when executing the program. Steps in an information transmission method applied to an electronic device.

第十三方面,本发明还提供一种可读存储介质,其上存储有程序,该程序被处理器执行时实现上述任一种应用于第一边缘节点的数据同步方法中的步骤或者实现上述任一种应用于第二边缘节点的数据同步方法中的步骤或者实现上述任一种应用于电子设备的信息传输方法中的步骤。In a thirteenth aspect, the present invention further provides a readable storage medium, on which a program is stored, and when the program is executed by the processor, implements any of the above-mentioned steps in the data synchronization method applied to the first edge node or implements the above-mentioned Any of the steps in the data synchronization method applied to the second edge node or any of the above-mentioned steps in the information transmission method applied to an electronic device.

本发明的上述技术方案的有益效果如下:The beneficial effects of the above-mentioned technical solutions of the present invention are as follows:

本发明实施例中,终端当前接入的边缘节点至少可以获取所有相邻边缘节点的覆盖区域与道路的对应关系,从而可以预测终端即将接入的下一个边缘节点(也即第二边缘节点),从而第二边缘节点可以提前确定自身是否缺失为终端提供服务所需的信息,如果确定缺失,可以提前启动多运营商数据同步,从而可以降低第二边缘节点在为终端提供服务时多运营商之间数据同步的时延,及时地为终端提供相应的服务,提升服务性能和服务质量,提升用户体验和安全性。In this embodiment of the present invention, the edge node currently accessed by the terminal can at least obtain the correspondence between the coverage areas and roads of all adjacent edge nodes, so as to predict the next edge node (that is, the second edge node) that the terminal will access to , so that the second edge node can determine in advance whether it lacks the information needed to provide services for the terminal, and if it is determined to be missing, it can start multi-operator data synchronization in advance, which can reduce the need for the second edge node to provide services for the terminal. The delay of data synchronization between them can timely provide corresponding services to terminals, improve service performance and service quality, and improve user experience and security.

附图说明Description of drawings

图1为本发明实施例一中的一种数据同步方法的流程示意图;1 is a schematic flowchart of a data synchronization method in Embodiment 1 of the present invention;

图2为本发明实施例可以适用的一种应用场景的示意图;FIG. 2 is a schematic diagram of an application scenario to which an embodiment of the present invention is applicable;

图3为本发明实施例中的一种下一跳边缘节点预测的示意图;3 is a schematic diagram of a next-hop edge node prediction in an embodiment of the present invention;

图4为本发明实施例中的另一种下一跳边缘节点预测的示意图;4 is a schematic diagram of another next-hop edge node prediction in an embodiment of the present invention;

图5为本发明实施例二中的一种数据同步方法的流程示意图;5 is a schematic flowchart of a data synchronization method in Embodiment 2 of the present invention;

图6为本发明实施例中的多运营商数据同步的边缘节点的确定示意图;6 is a schematic diagram of determining an edge node for multi-operator data synchronization in an embodiment of the present invention;

图7为本发明实施例三中的一种信息传输方法的流程示意图;7 is a schematic flowchart of an information transmission method in Embodiment 3 of the present invention;

图8为本发明实施例四中的一种第一边缘节点的结构示意图;8 is a schematic structural diagram of a first edge node in Embodiment 4 of the present invention;

图9为本发明实施例五中的一种第二边缘节点的结构示意图;FIG. 9 is a schematic structural diagram of a second edge node in Embodiment 5 of the present invention;

图10为本发明实施例六中的一种电子设备的结构示意图;10 is a schematic structural diagram of an electronic device in Embodiment 6 of the present invention;

图11为本发明实施例七中的一种第一边缘节点的结构示意图;11 is a schematic structural diagram of a first edge node in Embodiment 7 of the present invention;

图12为本发明实施例八中的一种第二边缘节点的结构示意图;12 is a schematic structural diagram of a second edge node in Embodiment 8 of the present invention;

图13为本发明实施例九中的一种电子设备的结构示意图;13 is a schematic structural diagram of an electronic device in Embodiment 9 of the present invention;

图14为本发明实施例十中的一种第一边缘节点的结构示意图;FIG. 14 is a schematic structural diagram of a first edge node in Embodiment 10 of the present invention;

图15为本发明实施例十一中的一种第二边缘节点的结构示意图;15 is a schematic structural diagram of a second edge node in Embodiment 11 of the present invention;

图16为本发明实施例十二中的一种电子设备的结构示意图。FIG. 16 is a schematic structural diagram of an electronic device according to Embodiment 12 of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例的附图,对本发明实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于所描述的本发明的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are some, but not all, embodiments of the present invention. Based on the described embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of the present invention.

请参阅图1,图1为本发明实施例一提供的一种数据同步方法的流程示意图,该方法应用于第一边缘节点,所述第一边缘节点为终端当前接入的边缘节点,该方法包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a data synchronization method according to Embodiment 1 of the present invention. The method is applied to a first edge node, and the first edge node is an edge node currently accessed by a terminal. The method Include the following steps:

步骤11:根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点;Step 11: According to the correspondence between the coverage area of the edge node and the road, predict the second edge node that the terminal will access next;

步骤12:向所述第二边缘节点发送第一信息,使得所述第二边缘节点在确定自身缺失为所述终端提供服务所需的至少部分信息的情况下,启动多运营商数据同步。Step 12: Send the first information to the second edge node, so that the second edge node starts multi-operator data synchronization when it is determined that it lacks at least part of the information required to provide services for the terminal.

其中,边缘节点覆盖区域与道路的对应关系,具体来说,是边缘节点与其覆盖区域内的道路的对应关系(或称为匹配关系),可以形成为边缘节点覆盖区域与道路匹配表,用于在道路和边缘节点之间建立匹配关系。Among them, the corresponding relationship between the coverage area of the edge node and the road, specifically, the corresponding relationship (or called the matching relationship) between the edge node and the road in the coverage area, can be formed as a matching table between the coverage area of the edge node and the road, which is used for Establish matching relationships between roads and edge nodes.

该边缘节点覆盖区域与道路的对应关系可以是一定区域内所有边缘节点的覆盖区域与道路的对应关系。The correspondence between the coverage area of the edge node and the road may be the correspondence between the coverage area of all edge nodes in a certain area and the road.

另外,由于不同运营商的边缘节点部署位置不同,单一边缘节点的覆盖区域大小和/或形状不同,因此不同运营商的边缘节点覆盖区域与道路的对应关系可能不同。In addition, due to the different deployment locations of edge nodes of different operators and the different sizes and/or shapes of coverage areas of a single edge node, the correspondence between the coverage areas of edge nodes of different operators and roads may be different.

预测得到的所述终端下一个将接入(或称为连入)的第二边缘节点可以不只一个,可以是所有可能接入的第二边缘节点。The predicted second edge node that the terminal will access (or referred to as being connected to) next may be more than one second edge node, and may be all possible access second edge nodes.

所述第一信息具体可以用于向所述第二边缘节点指示该第二边缘节点是预测得到的终端即将进入的边缘节点,所述第二信息还可以用于向所述第二边缘节点指示为终端提供服务所需的信息,也即通知第二边缘节点为终端提供服务需要哪些信息。当所述第一信息用于向所述第二边缘节点指示为终端提供服务所需的信息时,所述第一边缘节点可以结合终端订购的应用,梳理为终端提供服务所需的信息。The first information can be specifically used to indicate to the second edge node that the second edge node is the predicted edge node that the terminal is about to enter, and the second information can also be used to indicate to the second edge node. The information required to provide the service for the terminal, that is, to inform the second edge node what information is required to provide the service for the terminal. When the first information is used to indicate to the second edge node the information required to provide the service for the terminal, the first edge node may sort out the information required to provide the service for the terminal in combination with the application subscribed by the terminal.

另外,所述第一信息还可以包括终端相关的历史数据、鉴权信息。也即第一边缘节点可以将终端相关的历史数据、鉴权信息同步至第二边缘节点。In addition, the first information may further include terminal-related historical data and authentication information. That is, the first edge node can synchronize the terminal-related historical data and authentication information to the second edge node.

如果第二边缘节点不止一个,那么第一边缘节点需要将第一信息发送至每一个第二边缘节点。If there is more than one second edge node, the first edge node needs to send the first information to every second edge node.

本发明实施例,终端当前接入的边缘节点至少可以获取所有相邻边缘节点的覆盖区域与道路的对应关系,从而可以预测终端即将接入的下一个边缘节点(也即第二边缘节点),从而第二边缘节点可以提前确定自身是否缺失为终端提供服务所需的信息,如果确定缺失,可以提前启动多运营商数据同步,从而可以降低第二边缘节点在为终端提供服务时多运营商之间数据同步的时延,及时地为终端提供相应的服务,提升服务性能和服务质量,提升用户体验和安全性。In this embodiment of the present invention, the edge node currently accessed by the terminal can at least obtain the correspondence between the coverage areas and roads of all adjacent edge nodes, so that the next edge node (that is, the second edge node) to be accessed by the terminal can be predicted, Therefore, the second edge node can determine in advance whether it lacks the information required to provide services for the terminal, and if it is determined to be missing, it can start multi-operator data synchronization in advance, which can reduce the multi-operator data synchronization when the second edge node provides services for the terminal. It can provide corresponding services to terminals in a timely manner, improve service performance and service quality, and improve user experience and security.

图2为本发明实施例可以适用的一种应用场景的示意图,请参阅图2,终端(UserEquipment,UE)与运营商A签约,接收运营商A提供的服务,UE目前处于区域Z1,预测UE即将行驶至区域Z2;运营商A和运营商B均在区域Z2部署了边缘平台,运营商A在区域Z2中无法获取必要的数据;运营商A和运营商B已签约,约定当运营商A无法获取必要数据时,可通过运营商B获取;运营商A有运营商B的各个边缘节点的拓扑图,以及各个边缘节点上可获取的数据源信息。FIG. 2 is a schematic diagram of an application scenario to which an embodiment of the present invention can be applied. Please refer to FIG. 2 . A terminal (User Equipment, UE) signs a contract with operator A and receives services provided by operator A. The UE is currently in zone Z1 and predicts that the UE It is about to travel to zone Z2; both operator A and operator B have deployed edge platforms in zone Z2, and operator A cannot obtain necessary data in zone Z2; operator A and operator B have signed a contract and agreed to be operator A When the necessary data cannot be obtained, it can be obtained through operator B; operator A has the topology map of each edge node of operator B and the data source information available on each edge node.

当前时刻T1,UE在区域Z1,连接至边缘节点MEN-A1;在下一时刻T2,预测UE在区域Z2,连接至边缘节点MEN-A2;图中运营商B的边缘节点MEN-B也在区域Z2。At the current time T1, the UE is in the area Z1 and is connected to the edge node MEN-A1; at the next time T2, it is predicted that the UE is in the area Z2 and connected to the edge node MEN-A2; in the figure, the edge node MEN-B of operator B is also in the area Z2.

本发明实施例涉及到的一些边缘计算相关术语解释如下:Some edge computing-related terms involved in the embodiments of the present invention are explained as follows:

MEO:MEC Orchestrator,MEC编排器,可维护边缘节点拓扑图、进行应用包管理、实例化资源选择等;MEO: MEC Orchestrator, MEC orchestrator, can maintain edge node topology, manage application packages, instantiate resource selection, etc.;

MEN:MEC Node,边缘节点;MEN: MEC Node, edge node;

MEMN:MEC Management Node,边缘节点的管理节点,为MEN的上层节点,保存有下属MEN拓扑图、下属各MEN收集的信息、其他运营商边缘管理节点的相关信息、密钥信息等;MEMN: MEC Management Node, the management node of the edge node, is the upper-layer node of the MEN, and stores the topological map of the subordinate MENs, the information collected by the subordinate MENs, the related information of the edge management nodes of other operators, key information, etc.;

MEA:MEC Application,边缘节点处的应用;MEA: MEC Application, the application at the edge node;

MEP:MEC Platform,边缘节点平台。MEP: MEC Platform, edge node platform.

本发明实施例中,各边缘节点(包括第一边缘节点、第二边缘节点和第三边缘节点)执行的方法步骤具体可以是由相应边缘节点上的边缘节点平台执行。In this embodiment of the present invention, the method steps performed by each edge node (including the first edge node, the second edge node, and the third edge node) may be specifically performed by an edge node platform on the corresponding edge node.

下面举例说明上述数据同步方法。The above data synchronization method will be described below with an example.

本发明实施例中,在进行多运营商数据同步之前,需要对UE即将驶入的道路进行预测,进而匹配UE下一个即将连入的边缘节点。预测和匹配机制要求终端当前接入的边缘节点(即第一边缘节点)的边缘节点平台(也可以成为边缘计算平台)基于道路拓扑结构和边缘节点拓扑图(第一边缘节点所属运营商的边缘节点拓扑图),对终端的轨迹进行预测,对下一跳边缘节点进行匹配,对边缘节点平台提出了新的要求。In the embodiment of the present invention, before performing multi-operator data synchronization, it is necessary to predict the road that the UE is about to enter, so as to match the next edge node that the UE is about to connect to. The prediction and matching mechanism requires that the edge node platform (which can also become an edge computing platform) of the edge node (ie, the first edge node) currently accessed by the terminal is based on the road topology and the edge node topology map (the edge of the operator to which the first edge node belongs). Node topology map), predict the trajectory of the terminal, and match the next-hop edge node, which puts forward new requirements for the edge node platform.

可选的,所述根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点,包括:Optionally, predicting the second edge node that the terminal will access next according to the correspondence between the coverage area of the edge node and the road, including:

根据所述终端当前所处的第一位置,确定所述终端当前所处的第一道路;determining the first road where the terminal is currently located according to the first location where the terminal is currently located;

具体的,第一边缘节点的边缘节点平台可以基于基础安全消息(Basic SafetyMessage,BSM)获知终端当前所处位置的GPS坐标,然后可以借助地图软件的应用程序接口(Application Programming Interface,API)对UE的GPS坐标进行逆解析,可知UE当前所在的道路L(即第一道路)。Specifically, the edge node platform of the first edge node can obtain the GPS coordinates of the current location of the terminal based on the basic safety message (Basic SafetyMessage, BSM), and then can use the application programming interface (Application Programming Interface, API) of the map software to communicate with the UE. By inverse analysis of the GPS coordinates of the UE, the road L (ie, the first road) where the UE is currently located can be known.

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路;predicting the road the terminal will enter according to the moving direction of the terminal on the first road and the road topology;

具体的,第一边缘节点的边缘节点平台可以基于终端的行驶方向,结合终端所在的道路L的形态,分析终端当前位置向前是否有道路分岔。如果没有分岔道路,则终端会继续在道路L上形式。如果有分岔,第一边缘节点的边缘节点平台则基于道路拓扑结构,对终端所在的道路L的拓扑关系进行分析。在终端的行驶方向上,可得出与当前道路L相连接的其他道路,假定这些道路的集合为M,该集合是终端后续有可能行驶的道路的集合。Specifically, the edge node platform of the first edge node can analyze whether there is a road fork ahead of the current position of the terminal based on the driving direction of the terminal and in combination with the shape of the road L where the terminal is located. If there is no branch road, the terminal will continue to form on road L. If there is a bifurcation, the edge node platform of the first edge node analyzes the topological relationship of the road L where the terminal is located based on the road topology structure. In the driving direction of the terminal, other roads connected to the current road L can be obtained. Assuming that the set of these roads is M, the set is the set of roads that the terminal may travel on subsequently.

根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点。According to the road the terminal will drive into and the correspondence between the coverage area of the edge node and the road, at least one second edge node is predicted to be obtained.

具体的,如果终端当前位置向前没有道路分岔,则根据所述边缘节点覆盖区域与道路的对应关系确定终端将会连接的下一个边缘节点。如果终端当前位置向前有道路分岔,则基于道路集合M,结合所述边缘节点覆盖区域与道路的对应关系分析各条道路所对应的边缘节点(这些边缘节点与终端当前接入的边缘节点属于同一运营商),假定对应的边缘节点集合为P。对于终端来说,当驶出第一边缘节点的覆盖范围时,有可能驶入P中的任意一个边缘节点的覆盖区域。Specifically, if there is no road fork in the current position of the terminal, the next edge node to which the terminal will be connected is determined according to the corresponding relationship between the coverage area of the edge node and the road. If there is a road fork in the current position of the terminal, then based on the road set M, the edge nodes corresponding to each road (these edge nodes and the edge node currently accessed by the terminal are analyzed in combination with the corresponding relationship between the edge node coverage area and the road) are analyzed. belong to the same operator), it is assumed that the corresponding set of edge nodes is P. For the terminal, when driving out of the coverage area of the first edge node, it is possible to drive into the coverage area of any edge node in P.

其中,所述终端将驶入的道路包括所述第一道路和/或第二道路,所述第二道路为与所述第一道路相交的道路。Wherein, the road that the terminal will drive into includes the first road and/or the second road, and the second road is a road intersecting with the first road.

举例来说,请参阅图3,基于BSM消息和地图API,逆解析出终端当前位于道路L,处于MEP-A1的覆盖范围。基于道路拓扑结构和终端的行驶方向,预测终端后续可能驶入的范围为道路集合M={L2、L3、L4},相对应的边缘节点的集合P={MEP-A2、MEP-A 3、MEP-A 4}。For example, referring to FIG. 3 , based on the BSM message and the map API, it is reversely parsed that the terminal is currently located on the road L and is within the coverage area of MEP-A1. Based on the road topology and the driving direction of the terminal, the predicted range that the terminal may enter later is the road set M={L2, L3, L4}, and the corresponding set of edge nodes P={MEP-A2, MEP-A3, MEP-A 4}.

一些可选的具体实施方式中,第一边缘节点的边缘节点平台可以在检测到终端即将驶出其覆盖范围时,启动下一跳边缘节点的预测和匹配流程。In some optional specific implementation manners, the edge node platform of the first edge node may start the prediction and matching process of the next-hop edge node when detecting that the terminal is about to leave its coverage.

可选的,所述根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路,包括:Optionally, predicting the road that the terminal will enter according to the moving direction of the terminal on the first road and the road topology structure, including:

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路;predicting the road that the terminal will enter in a preset area according to the moving direction of the terminal on the first road and the road topology;

其中所述预设区域内的任一位置与所述第一位置之间的距离小于或等于预设值,所述预设值是根据单一边缘节点覆盖区域的大小确定。The distance between any position in the preset area and the first position is less than or equal to a preset value, and the preset value is determined according to the size of the coverage area of a single edge node.

本发明实施例中,需要预测的是下一跳边缘节点,因此至需要预测终端前方一定区域内可能驶入的道路即可。例如,如果单一边缘节点覆盖区域直径在1KM内,就可以寻找从UE当前位置向前1KM范围内,道路L上是否有分岔道路。In the embodiment of the present invention, what needs to be predicted is the next-hop edge node, so it is only necessary to predict the road that may enter in a certain area in front of the terminal. For example, if the diameter of the coverage area of a single edge node is within 1KM, it is possible to find out whether there is a branch road on the road L within a range of 1KM forward from the current position of the UE.

可选的,所述根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路包括:Optionally, according to the moving direction of the terminal on the first road and the road topology, predicting the road that the terminal will enter in the preset area includes:

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路及其路段;Predicting a road and a road segment that the terminal will enter in a preset area according to the moving direction of the terminal on the first road and the road topology;

所述根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点,包括:According to the corresponding relationship between the road that the terminal will drive into and the coverage area of the edge node and the road, at least one second edge node is predicted to be obtained, including:

根据所述终端将驶入的道路及其路段和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点;所述对应关系包括边缘节点覆盖区域与道路的路段的对应关系。At least one of the second edge nodes is predicted to be obtained according to the corresponding relationship between the road that the terminal will drive into and its section and the coverage area of the edge node and the road; the corresponding relationship includes the relationship between the coverage area of the edge node and the road section. Correspondence.

由于单一边缘节点很有可能不会覆盖一条道路的全部,换句话说,一条道路可能会被多个不同的边缘节点覆盖。因此,为准确预测下一跳边缘节点。本发明实施例中,预测一定区域内终端将驶入的道路及其路段,然后根据边缘节点覆盖区域与道路的路段的对应关系预测第二边缘节点。Since a single edge node may not cover all of a road, in other words, a road may be covered by multiple different edge nodes. Therefore, in order to accurately predict the next hop edge node. In the embodiment of the present invention, the road and its section that the terminal will enter in a certain area is predicted, and then the second edge node is predicted according to the correspondence between the coverage area of the edge node and the section of the road.

举例来说,请参阅图4,基于BSM消息和地图API,逆解析出终端当前位于道路L,处于MEP-A1的覆盖范围。基于道路拓扑结构和终端的行驶方向,预测终端后续可能驶入的范围为道路集合M={L2、L3、L4}。但是,在距离终端当前位置1KM(单一边缘节点的覆盖区域的半径)内,终端可能驶入的各道路的路段均在边缘节点MEP-A2的覆盖范围内,因此可以确定终端即将接入的边缘节点为边缘节点MEP-A2。For example, referring to FIG. 4 , based on the BSM message and the map API, it is reversely parsed that the terminal is currently located on the road L and is within the coverage area of MEP-A1. Based on the road topology and the driving direction of the terminal, it is predicted that the range that the terminal may drive into later is the road set M={L2, L3, L4}. However, within 1KM from the current position of the terminal (the radius of the coverage area of a single edge node), the sections of the roads that the terminal may enter are all within the coverage of the edge node MEP-A2, so it can be determined that the edge that the terminal will access The node is the edge node MEP-A2.

本发明实施例中,所述边缘节点覆盖区域与道路的对应关系可以按照以下方法得到:In the embodiment of the present invention, the correspondence between the coverage area of the edge node and the road may be obtained according to the following method:

从道路的一端开始,每隔预设距离确定一个分界点,将道路划分为多个路段;Starting from one end of the road, a dividing point is determined every preset distance, and the road is divided into multiple sections;

计算每个所述分界点与每个预设基站覆盖区域中心点之间的第一距离,并与相应基站的覆盖区域的半径进行对比;Calculate the first distance between each of the demarcation points and the center point of the coverage area of each preset base station, and compare it with the radius of the coverage area of the corresponding base station;

若所述第一距离小于或等于相应基站的覆盖区域的半径,则确定所述分界点在相应基站的覆盖区域内;If the first distance is less than or equal to the radius of the coverage area of the corresponding base station, determine that the demarcation point is within the coverage area of the corresponding base station;

若一条道路上的第一分界点和第二分界点均在相应基站的覆盖区域内,则确定所述第一分界点和所述第二分界点之间的路段在相应基站的覆盖区域内;所述第一分界点和所述第二分界点为相邻的两个分界点;If both the first demarcation point and the second demarcation point on a road are within the coverage area of the corresponding base station, determine that the road section between the first demarcation point and the second demarcation point is within the coverage area of the corresponding base station; The first demarcation point and the second demarcation point are two adjacent demarcation points;

若一条道路上的第三分界点和第四分界点中只有所述第三分界点在相应基站的覆盖区域内,则根据相应基站的覆盖区域的半径在所述第三分界点和所述第四分界点之间确定一个中间点,并确定所述中间点与所述第三分界点之间的路段在相应基站的覆盖区域内;If only the third demarcation point is within the coverage area of the corresponding base station among the third demarcation point and the fourth demarcation point on a road, then according to the radius of the coverage area of the corresponding base station, between the third demarcation point and the third demarcation point Determine an intermediate point between the four demarcation points, and determine that the road section between the intermediate point and the third demarcation point is within the coverage area of the corresponding base station;

根据基站与边缘节点的对应关系,确定所述边缘节点覆盖区域与道路的对应关系。According to the corresponding relationship between the base station and the edge node, the corresponding relationship between the coverage area of the edge node and the road is determined.

本申请,无需对终端设备、网络等进行改造,仅需在边缘计算平台处构建边缘节点覆盖区域与道路匹配表、然后利用基于道路拓扑关系的下一跳边缘节点预测机制,分析需要从其他运营商的哪个边缘节点获取数据,最后进行鉴权、将边缘节点上相关的历史数据先进行同步、删除冗余数据,进一步降低多运营商数据同步时延,提升服务性能。In this application, there is no need to modify the terminal equipment, network, etc., but only need to build the edge node coverage area and road matching table on the edge computing platform, and then use the next-hop edge node prediction mechanism based on the road topology relationship. Which edge node of the operator obtains the data, and finally performs authentication, synchronizes the relevant historical data on the edge node first, deletes redundant data, further reduces the multi-operator data synchronization delay, and improves service performance.

请参阅图5,图5是本发明实施例二提供的一种数据同步方法的流程示意图,该方法应用于第二边缘节点,所述第二边缘节点为第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测得到的终端下一个将接入的边缘节点,所述第一边缘节点为所述终端当前接入的边缘节点,所述方法包括以下步骤:Please refer to FIG. 5. FIG. 5 is a schematic flowchart of a data synchronization method according to Embodiment 2 of the present invention. The method is applied to a second edge node, and the second edge node is the first edge node according to the coverage area of the edge node. The edge node that the terminal will access next based on the prediction of the corresponding relationship of the road, the first edge node is the edge node currently accessed by the terminal, and the method includes the following steps:

步骤51:接收所述第一边缘节点发送的第一信息;Step 51: Receive the first information sent by the first edge node;

具体的,所述第一信息是第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测到所述第二边缘节点为所述终端下一个将接入的边缘节点后向所述第二边缘节点发送;Specifically, the first information is that the first edge node predicts that the second edge node is the next edge node to be accessed by the terminal according to the corresponding relationship between the coverage area of the edge node and the road, and moves backward to the second edge node send;

步骤52:在接收到所述第一信息后,确定自身是否缺失为所述终端提供服务所需的至少部分信息;Step 52: after receiving the first information, determine whether it lacks at least part of the information required to provide services for the terminal;

步骤53:若确定缺失,则启动多运营商数据同步。Step 53: If it is determined that it is missing, start multi-operator data synchronization.

具体的,第二边缘节点在接收到第一信息后,若第一信息中指示了为终端提供服务需要哪些信息,那么第二边缘节点对照自身的数据情况,分析是否具备全量数据,如果具备全量数据,则无需进行多运营商之间的数据同步,如果缺失部分数据,则启动多运营商数据同步过程。Specifically, after the second edge node receives the first information, if the first information indicates what information is required to provide services for the terminal, the second edge node compares its own data to analyze whether it has the full amount of data, and if it has the full amount of data If data is missing, there is no need to synchronize data between multiple operators. If some data is missing, the process of data synchronization between multiple operators is started.

其中,关于第一信息,具体可参阅上述方法实施例,此处不再赘述。Wherein, for the first information, reference may be made to the foregoing method embodiments, and details are not repeated here.

另外,第二边缘节点可以有多个,每一第二边缘节点在接收到第一信息后,均需要确定自身是否具有为终端提供服务所需的全量数据,如果存在数据缺失则启动多运营商数据同步。In addition, there may be multiple second edge nodes. After receiving the first information, each second edge node needs to determine whether it has the full amount of data required to provide services for the terminal. If there is data missing, multi-operator is activated. data synchronization.

本发明实施例中,终端当前接入的边缘节点至少可以获取所有相邻边缘节点的覆盖区域与道路的对应关系,从而可以预测终端即将接入的下一个边缘节点(也即第二边缘节点),从而第二边缘节点可以提前确定自身是否缺失为终端提供服务所需的信息,如果确定缺失,可以提前启动多运营商数据同步,从而可以降低第二边缘节点在为终端提供服务时多运营商之间数据同步的时延,及时地为终端提供相应的服务,提升服务性能和服务质量,提升用户体验和安全性。In this embodiment of the present invention, the edge node currently accessed by the terminal can at least obtain the correspondence between the coverage areas and roads of all adjacent edge nodes, so as to predict the next edge node (that is, the second edge node) that the terminal will access to , so that the second edge node can determine in advance whether it lacks the information needed to provide services for the terminal, and if it is determined to be missing, it can start multi-operator data synchronization in advance, which can reduce the need for the second edge node to provide services for the terminal. The delay of data synchronization between them can timely provide corresponding services to terminals, improve service performance and service quality, and improve user experience and security.

可选的,所述第一边缘节点和所述第二边缘节点均属于第一运营商;Optionally, both the first edge node and the second edge node belong to the first operator;

所述启动多运营商数据同步,包括:The starting multi-operator data synchronization includes:

确定第三边缘节点,所述第三边缘节点属于第二运营商,所述第三边缘节点的覆盖区域包括所述第二边缘节点的至少部分覆盖区域;determining a third edge node, the third edge node belongs to the second operator, and the coverage area of the third edge node includes at least part of the coverage area of the second edge node;

在确定所述第三边缘节点能够提供所述第二边缘节点为所述终端提供服务所需信息的缺失信息的情况下,与所述第三边缘节点进行数据同步。In the case that it is determined that the third edge node can provide missing information of the information required by the second edge node to provide services for the terminal, perform data synchronization with the third edge node.

可选的,所述确定第三边缘节点,包括:Optionally, the determining the third edge node includes:

根据第二运营商的边缘节点覆盖区域与道路的对应关系,确定所述第三边缘节点。The third edge node is determined according to the correspondence between the coverage area of the edge node of the second operator and the road.

举例来说,请参阅图2和图6,目前已知运营商A的边缘节点MEP-A2覆盖预测得到的终端即将驶入的区域Z2以及区域内的道路,运营商A在区域Z2中缺少部分数据D,启动多运营商数据同步流程。运营商A的第二边缘节点基于运营商B的边缘节点覆盖区域与道路的对应关系,可以找出运营商B在该区域内的覆盖情况,如图6中的虚线所示,运营商B在该区域Z2内有两个边缘节点,分别是MEP-B1和MEP-B2。For example, please refer to FIG. 2 and FIG. 6. Currently, it is known that the edge node MEP-A2 of operator A covers the predicted area Z2 that the terminal is about to enter and the roads in the area, and operator A lacks some parts in the area Z2. Data D, start the multi-operator data synchronization process. Based on the correspondence between the coverage area of operator B's edge node and the road, the second edge node of operator A can find out the coverage of operator B in this area. As shown by the dotted line in Figure 6, operator B is There are two edge nodes in the zone Z2, namely MEP-B1 and MEP-B2.

运营商A的第二边缘节点基于签约时获取的运营商B各个边缘节点数据情况,分析MEP-B1和MEP-B2上是否能够提供数据D。如果MEP-B1和MEP-B2均能够提供数据D,则MEP-A2将数据请求发送至运营商B的MEO-B,MEO-B发起对MEP-A2的鉴权流程。鉴权通过后,MEP-A2和MEP-B1、MEP-B2之间进行历史数据同步。The second edge node of operator A analyzes whether data D can be provided on MEP-B1 and MEP-B2 based on the data conditions of each edge node of operator B obtained when signing the contract. If both MEP-B1 and MEP-B2 can provide data D, MEP-A2 sends a data request to MEO-B of operator B, and MEO-B initiates an authentication process for MEP-A2. After the authentication is passed, historical data synchronization is performed between MEP-A2, MEP-B1 and MEP-B2.

可选的,所述与所述第三边缘节点进行数据同步,包括:Optionally, the performing data synchronization with the third edge node includes:

接收所述第三边缘节点发送的为所述终端提供服务所需信息的缺失信息,以为所述终端提供服务;或者,Receive the missing information of the information required to provide services for the terminal sent by the third edge node, so as to provide services for the terminal; or,

将已有的为所述终端提供服务所需的信息,发送至所述第三边缘节点,以由所述第三边缘节点为所述终端提供服务。Sending the existing information required for providing services to the terminal to the third edge node, so that the third edge node provides services for the terminal.

在多运营商之间进行数据同步时,虽然UE属于运营商A的签约车辆,如果UE获取了RSU-B的密钥,也可以获取运营商B通过RSU提供的服务,即运营商A和运营商B均可以作为UE的服务主体。During data synchronization between multiple operators, although the UE belongs to the contracted vehicle of operator A, if the UE obtains the key of RSU-B, it can also obtain the service provided by operator B through RSU, that is, operator A and operator Both provider B can serve as the service subject of the UE.

为UE提供服务的主体和相应的场景,决定了运营商A和B之间进行历史数据同步的方向:The entity that provides services for the UE and the corresponding scenarios determine the direction of historical data synchronization between operators A and B:

a.UE在区域Z2接收运营商A的服务a. UE receives service from operator A in zone Z2

此类服务方式下,MEP-B需要将MEP-A2缺失的历史数据同步至MEP-A2,此时主要同步区域中的交通环境数据。In this type of service mode, MEP-B needs to synchronize the missing historical data of MEP-A2 to MEP-A2. At this time, it mainly synchronizes the traffic environment data in the area.

如道路交通流量预测场景,MEP-B需要将区域中历史交通事故信息、道路平均速度信息等同步至MEP-A。MEP-A基于历史数据进行预测。For example, in a road traffic flow prediction scenario, MEP-B needs to synchronize historical traffic accident information and average road speed information in the area to MEP-A. MEP-A makes predictions based on historical data.

b.UE在区域Z2接收MEP-B的服务b. UE receives MEP-B service in area Z2

此类服务方式下,MEP-A1需要将UE相关的历史数据提前同步至MEP-B,MEP-B基于UE的历史数据为UE提供服务。In this type of service mode, MEP-A1 needs to synchronize the UE-related historical data to MEP-B in advance, and MEP-B provides services for the UE based on the UE's historical data.

如车辆轨迹预测的服务,MEP-A需要将UE的历史轨迹信息同步至MEP-B,MEP-B基于车辆的历史行驶轨迹数据,才能为UE提供相应的轨迹预测服务。For example, for the service of vehicle trajectory prediction, MEP-A needs to synchronize the historical trajectory information of the UE to MEP-B, and MEP-B can provide the corresponding trajectory prediction service for the UE based on the historical driving trajectory data of the vehicle.

另外,如果MEP-B1和MEP-B2无法提供MEP-A1缺失的数据,运营商A需要通过其他的途径进行数据的获取,如通过其他的签约运营商获取,或者从高层平台上获取数据。In addition, if MEP-B1 and MEP-B2 cannot provide the missing data of MEP-A1, operator A needs to obtain data through other channels, such as obtaining data through other contracted operators, or obtaining data from a high-level platform.

可选的,所述启动多运营商数据同步之后,还包括:Optionally, after the multi-operator data synchronization is started, the method further includes:

若经过预设时长,同步的数据依然未被使用,则删除同步的数据;和/或,If the synchronized data is still unused after the preset time period, the synchronized data is deleted; and/or,

若所述终端已经离开所述第二边缘节点的覆盖区域,则删除同步的数据。If the terminal has left the coverage area of the second edge node, the synchronized data is deleted.

该同步的数据可以包括第三边缘节点发送的数据,也即是通过启动多运营商数据同步得到的数据,还可以包括上述第一边缘节点同步的终端相关的历史数据、鉴权信息等。The synchronized data may include data sent by the third edge node, that is, data obtained by starting multi-operator data synchronization, and may also include terminal-related historical data and authentication information synchronized by the first edge node.

上述流程中,为了降低数据同步的时延、提高对UE下一跳边缘节点预测的准确性,在边缘节点集合P中的每一个边缘节点都获得了MEP-A1提供的UE相关历史数据;但在实际中,UE仅可能连入其中一个边缘节点,其他的边缘节点上的数据成为冗余数据。因此在每个边缘节点上设置冗余数据识别和删除机制。In the above process, in order to reduce the delay of data synchronization and improve the accuracy of UE next-hop edge node prediction, each edge node in the edge node set P has obtained UE-related historical data provided by MEP-A1; but In practice, the UE may only be connected to one of the edge nodes, and the data on other edge nodes becomes redundant data. Therefore, a redundant data identification and deletion mechanism is set up on each edge node.

假定MEP-A1向集合P中各个边缘节点同步数据的时刻是T1,那么自T1时刻开始起1小时内,如果集合P中边缘节点上同步来的数据未得到使用,则将这些数据识别为冗余数据,进行删除。Assuming that the time when MEP-A1 synchronizes data to each edge node in set P is T1, then within 1 hour from time T1, if the data synchronized on the edge nodes in set P is not used, the data will be identified as redundant. The remaining data is deleted.

本发明实施例提供的是与上述实施例一对应的、具有相同发明构思的技术方案,且能达到相同的技术效果,详细可参阅上述实施例一,此处不再赘述。The embodiment of the present invention provides a technical solution corresponding to the first embodiment, having the same inventive concept, and can achieve the same technical effect. For details, please refer to the first embodiment, which will not be repeated here.

请参阅图7,图7是本发明实施例三提供的一种信息传输方法的流程示意图,该方法应用于电子设备,包括以下步骤:Please refer to FIG. 7. FIG. 7 is a schematic flowchart of an information transmission method provided in Embodiment 3 of the present invention. The method is applied to an electronic device and includes the following steps:

步骤71:根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路;Step 71: Determine the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;

步骤72:针对每一预设边缘节点,根据所述预设边缘节点下的所有所述预设基站覆盖的道路,确定所述预设边缘节点覆盖的道路;Step 72: For each preset edge node, determine the road covered by the preset edge node according to the roads covered by all the preset base stations under the preset edge node;

步骤73:根据每一所述预设边缘节点覆盖的道路,建立边缘节点覆盖区域与道路的对应关系;Step 73: According to the road covered by each of the preset edge nodes, establish a corresponding relationship between the coverage area of the edge node and the road;

步骤74:向所述预设边缘节点中的目标边缘节点发送所述边缘节点覆盖区域与道路的对应关系中的至少部分内容,所述边缘节点覆盖区域与道路的对应关系中的至少部分内容包括与所述目标边缘节点相邻的预设边缘节点的覆盖区域与道路的对应关系。Step 74: Send at least part of the content in the correspondence between the coverage area of the edge node and the road to the target edge node in the preset edge nodes, where at least part of the content in the correspondence between the coverage area of the edge node and the road includes: The correspondence between the coverage area of the preset edge node adjacent to the target edge node and the road.

其中,所述目标边缘节点根据所述边缘节点覆盖区域与道路的对应关系中的至少部分内容为已经接入所述目标边缘节点并即将离开所述目标边缘节点的终端预测下一跳边缘节点,并向下一跳边缘节点发送第一信息,使得下一跳边缘节点可以提前确定是否缺失为所述终端提供服务所需的信息,如果缺失则提前启动多运营商数据同步。Wherein, the target edge node predicts the next-hop edge node for a terminal that has already accessed the target edge node and is about to leave the target edge node according to at least part of the corresponding relationship between the coverage area of the edge node and the road, The first information is sent to the next-hop edge node, so that the next-hop edge node can determine in advance whether the information required to provide services for the terminal is missing, and if it is missing, start multi-operator data synchronization in advance.

每个边缘节点都有一定的覆盖范围,对于位于运营商网络中的边缘节点来说,边缘节点的覆盖区域即为其下方基站的覆盖区域,但在实际的运用中,由于单一边缘节点的覆盖范围是不规则的,无法准确的进行描述,给实际运用带来了很多困难,且目前暂时没有相应的方案,将边缘节点与道路进行对应。因此,本申请提出设计边缘节点覆盖区域与道路的匹配表,将具体的路段对应到每个边缘节点中,并在后续的边缘节点匹配相关工作进行应用。Each edge node has a certain coverage. For the edge node located in the operator's network, the coverage area of the edge node is the coverage area of the base station below it. However, in actual application, due to the coverage of a single edge node The range is irregular and cannot be described accurately, which brings many difficulties to practical application, and there is currently no corresponding solution to correspond edge nodes to roads. Therefore, the present application proposes to design a matching table between edge node coverage areas and roads, to map specific road segments to each edge node, and to apply them in subsequent edge node matching related work.

可选的,所述边缘节点覆盖区域与道路的对应关系包括边缘节点覆盖区域与道路的路段的对应关系;Optionally, the corresponding relationship between the edge node coverage area and the road includes the corresponding relationship between the edge node coverage area and the section of the road;

所述根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路,包括:The determining the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station, including:

从道路的一端开始,每隔预设距离确定一个分界点,将道路划分为多个路段;Starting from one end of the road, a dividing point is determined every preset distance, and the road is divided into multiple sections;

计算每个所述分界点与每个预设基站覆盖区域中心点之间的第一距离,并与相应基站的覆盖区域的半径进行对比;Calculate the first distance between each of the demarcation points and the center point of the coverage area of each preset base station, and compare it with the radius of the coverage area of the corresponding base station;

由于每个基站的覆盖形状均为六边形,在本发明实施例中可以将其近似为圆形。Since the coverage shape of each base station is a hexagon, it can be approximated as a circle in this embodiment of the present invention.

若所述第一距离小于或等于相应基站的覆盖区域的半径,则确定所述分界点在相应基站的覆盖区域内;If the first distance is less than or equal to the radius of the coverage area of the corresponding base station, determine that the demarcation point is within the coverage area of the corresponding base station;

若一条道路上的第一分界点和第二分界点均在相应基站的覆盖区域内,则确定所述第一分界点和所述第二分界点之间的路段在相应基站的覆盖区域内;所述第一分界点和所述第二分界点为相邻的两个分界点;If both the first demarcation point and the second demarcation point on a road are within the coverage area of the corresponding base station, determine that the road section between the first demarcation point and the second demarcation point is within the coverage area of the corresponding base station; The first demarcation point and the second demarcation point are two adjacent demarcation points;

若一条道路上的第三分界点和第四分界点中只有所述第三分界点在相应基站的覆盖区域内,则根据相应基站的覆盖区域的半径在所述第三分界点和所述第四分界点之间确定一个中间点,并确定所述中间点与所述第三分界点之间的路段在相应基站的覆盖区域内。If only the third demarcation point is within the coverage area of the corresponding base station among the third demarcation point and the fourth demarcation point on a road, then according to the radius of the coverage area of the corresponding base station, between the third demarcation point and the third demarcation point An intermediate point is determined between the four demarcation points, and the road section between the intermediate point and the third demarcation point is determined to be within the coverage area of the corresponding base station.

本发明实施例,终端当前接入的边缘节点(即目标边缘节点)至少可以获取相邻的所有边缘节点的覆盖区域与道路的对应关系,从而可以预测终端即将接入的下一跳边缘节点,从而下一跳边缘节点可以提前确定自身是否缺失为终端提供服务所需的信息,如果确定缺失,可以提前启动多运营商数据同步,从而可以降低下一跳边缘节点在为终端提供服务时多运营商之间数据同步的时延,及时地为终端提供相应的服务,提升服务性能和服务质量,提升用户体验和安全性。In this embodiment of the present invention, the edge node currently accessed by the terminal (that is, the target edge node) can at least obtain the correspondence between the coverage areas and roads of all adjacent edge nodes, so that the next-hop edge node to be accessed by the terminal can be predicted, Therefore, the next-hop edge node can determine in advance whether it lacks the information needed to provide services for the terminal. If it is determined to be missing, it can start multi-operator data synchronization in advance, which can reduce the need for the next-hop edge node to operate more when providing services for the terminal. The delay of data synchronization between merchants can be timely provided to terminals, so as to improve service performance and service quality, and improve user experience and security.

举例来说,每个基站的坐标即为其覆盖区域的中心点,已知基站覆盖区域的中心点G的GPS坐标(Gx,Gy),已知基站覆盖区域的半径r。For example, the coordinates of each base station are the center point of its coverage area, the GPS coordinates (Gx, Gy) of the center point G of the base station coverage area are known, and the radius r of the base station coverage area is known.

首先,将道路分段:从道路的起点开始,每隔一定的距离取一个分界点,将道路分成小段。对每条道路的分界点按顺序进行编号,假设道路分界点的坐标分别是R0(R0x,R0y)、R1(R1x,R1y)…Rn(Rnx,Rny);First, divide the road into segments: starting from the starting point of the road, take a dividing point every certain distance, and divide the road into small segments. Number the boundary points of each road in sequence, assuming that the coordinates of the road boundary points are R0(R0x, R0y), R1(R1x, R1y)...Rn(Rnx, Rny);

然后,将道路分界点匹配至基站覆盖范围内:计算道路路段各个分界点的坐标与每个基站中心点之间的距离,并与半径r进行对比。Then, match the road demarcation points to the coverage of the base station: calculate the distance between the coordinates of each demarcation point of the road segment and the center point of each base station, and compare it with the radius r.

如果距离

Figure BDA0002761263550000221
小于半径r,则表示该分界点在该基站覆盖范围内,否则不在覆盖范围内。if distance
Figure BDA0002761263550000221
If it is less than the radius r, it means that the demarcation point is within the coverage of the base station, otherwise it is not within the coverage.

比较所有道路分界点和基站中心点的距离d与基站覆盖半径r的大小,能够将所有道路分界点匹配到所有基站覆盖范围内。By comparing the distance d between all road demarcation points and the center point of the base station and the coverage radius r of the base station, all road demarcation points can be matched to the coverage of all base stations.

最后,将道路路段与基站、边缘节点匹配:针对每一个基站,已经找出在其范围内的所有道路分界点。将分界点按照编号的顺序进行排序,对于相邻的编号,则表示该路段都在基站范围内,对于单独存在的编号,表示此路段有一部分在该基站范围内、有一部分在相邻基站范围内。此时需要在道路的两个分界点中间插入中间点,即基于基站中心点,以半径r画圆,与该道路的交点即为中间点。这样就确定了在该基站范围内的路段,完成道路路段与基站的匹配,形成道路路段与基站的匹配表。Finally, match road segments with base stations, edge nodes: for each base station, all road demarcation points within its range have been found. Sort the demarcation points in the order of numbers. For adjacent numbers, it means that the road segment is within the range of the base station. For a number that exists alone, it means that part of this road segment is within the range of the base station, and part of it is within the range of the adjacent base station. Inside. At this time, it is necessary to insert an intermediate point between the two dividing points of the road, that is, based on the center point of the base station, draw a circle with a radius r, and the intersection with the road is the intermediate point. In this way, the road section within the range of the base station is determined, the matching between the road section and the base station is completed, and a matching table between the road section and the base station is formed.

进一步的,由于已知基站与边缘节点的对应关系,即可将道路路段与边缘节点对应起来,形成道路路段与基站、边缘节点的对应关系表格。表格示例如下:Further, since the corresponding relationship between the base station and the edge node is known, the road section and the edge node can be corresponded to form a corresponding relationship table between the road section, the base station and the edge node. An example of a table is as follows:

Figure BDA0002761263550000222
Figure BDA0002761263550000222

通过查询表格可知,道路路段R0、R1在基站C1覆盖范围内,道路路段R2在基站C2覆盖范围内,道路路段R0、R1和R2均在边缘节点M1的覆盖范围内。From the query table, it can be known that the road segments R0 and R1 are within the coverage of the base station C1, the road segment R2 is within the coverage of the base station C2, and the road segments R0, R1 and R2 are all within the coverage of the edge node M1.

请参阅图8,图8是本发明实施例四提供的一种第一边缘节点的结构示意图,所述第一边缘节点为终端当前接入的边缘节点,该第一边缘节点80包括:Please refer to FIG. 8. FIG. 8 is a schematic structural diagram of a first edge node according to Embodiment 4 of the present invention. The first edge node is an edge node currently accessed by a terminal, and the first edge node 80 includes:

预测模块81,用于根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点;The prediction module 81 is configured to predict the second edge node that the terminal will access next according to the correspondence between the coverage area of the edge node and the road;

第一信息发送模块82,用于向所述第二边缘节点发送第一信息,使得所述第二边缘节点在确定自身缺失为所述终端提供服务所需的至少部分信息的情况下,启动多运营商数据同步。The first information sending module 82 is configured to send the first information to the second edge node, so that the second edge node, in the case that it is determined that it lacks at least part of the information required to provide services for the terminal, starts multi-processing. Carrier data synchronization.

可选的,所述预测模块81,包括:Optionally, the prediction module 81 includes:

道路确定单元,用于根据所述终端当前所处的第一位置,确定所述终端当前所处的第一道路;a road determining unit, configured to determine the first road where the terminal is currently located according to the first location where the terminal is currently located;

道路预测单元,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路;a road prediction unit, configured to predict the road that the terminal will enter according to the moving direction of the terminal on the first road and the road topology;

边缘节点预测单元,用于根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点。An edge node prediction unit, configured to predict at least one of the second edge nodes according to the road the terminal will drive into and the corresponding relationship between the coverage area of the edge node and the road.

可选的,所述道路预测单元,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路;Optionally, the road predicting unit is configured to predict the road that the terminal will enter in a preset area according to the moving direction of the terminal on the first road and the road topology structure;

其中,所述预设区域内的任一位置与所述第一位置之间的距离小于或等于预设值,所述预设值是根据单一边缘节点覆盖区域的大小确定。Wherein, the distance between any position in the preset area and the first position is less than or equal to a preset value, and the preset value is determined according to the size of the coverage area of a single edge node.

可选的,所述道路预测单元,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路及其路段;Optionally, the road predicting unit is configured to predict the road and the road segment that the terminal will enter in the preset area according to the moving direction of the terminal on the first road and the road topology structure;

所述边缘节点预测单元,用于根据所述终端将驶入的道路及其路段和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点;所述对应关系包括边缘节点覆盖区域与道路的路段的对应关系。The edge node prediction unit is configured to predict at least one of the second edge nodes according to the road to be entered by the terminal and the road segment and the corresponding relationship between the coverage area of the edge node and the road; the corresponding relationship includes Correspondence between edge node coverage area and road segments.

本发明实施例是与上述方法实施例一对应的产品实施例,故在此不再赘述,详细请参阅上述实施例一。This embodiment of the present invention is a product embodiment corresponding to the above-mentioned method embodiment 1, and thus will not be repeated here. For details, please refer to the above-mentioned first embodiment.

请参阅图9,图9是本发明实施例五提供的一种第二边缘节点的结构示意图,所述第二边缘节点为第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测得到的终端下一个将接入的边缘节点,所述第一边缘节点为所述终端当前接入的边缘节点,所述第二边缘节点90包括:Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of a second edge node according to Embodiment 5 of the present invention. The second edge node is a terminal predicted by the first edge node according to the correspondence between the coverage area of the edge node and the road. The next edge node to be accessed, the first edge node is the edge node currently accessed by the terminal, and the second edge node 90 includes:

第一信息接收模块91,用于接收所述第一边缘节点发送的第一信息;a first information receiving module 91, configured to receive the first information sent by the first edge node;

确定模块92,用于在接收到所述第一信息后,确定自身是否缺失为所述终端提供服务所需的至少部分信息;a determining module 92, configured to determine whether it lacks at least part of the information required to provide services for the terminal after receiving the first information;

同步模块93,用于若确定缺失,则启动多运营商数据同步。The synchronization module 93 is configured to start multi-operator data synchronization if it is determined that it is missing.

可选的,所述第一边缘节点和所述第二边缘节点均属于第一运营商;Optionally, both the first edge node and the second edge node belong to the first operator;

所述同步模块93,包括:The synchronization module 93 includes:

同步节点确定单元,用于确定第三边缘节点,所述第三边缘节点属于第二运营商,所述第三边缘节点的覆盖区域包括所述第二边缘节点的至少部分覆盖区域;a synchronization node determination unit, configured to determine a third edge node, the third edge node belongs to the second operator, and the coverage area of the third edge node includes at least part of the coverage area of the second edge node;

同步单元,用于在确定所述第三边缘节点能够提供所述第二边缘节点为所述终端提供服务所需信息的缺失信息的情况下,与所述第三边缘节点进行数据同步。A synchronization unit, configured to perform data synchronization with the third edge node under the condition that it is determined that the third edge node can provide missing information of the information required by the second edge node to provide services for the terminal.

可选的,所述同步节点确定单元,用于根据第二运营商的边缘节点覆盖区域与道路的对应关系,确定所述第三边缘节点。Optionally, the synchronization node determination unit is configured to determine the third edge node according to the correspondence between the coverage area of the edge node of the second operator and the road.

可选的,所述同步单元,包括:Optionally, the synchronization unit includes:

接收子单元,用于接收所述第三边缘节点发送的为所述终端提供服务所需信息的缺失信息,以为所述终端提供服务;或者,a receiving subunit, configured to receive the missing information of the information required for providing services for the terminal sent by the third edge node, so as to provide services for the terminal; or,

发送子单元,用于将已有的为所述终端提供服务所需的信息,发送至所述第三边缘节点,以由所述第三边缘节点为所述终端提供服务。The sending subunit is configured to send the existing information required for providing services for the terminal to the third edge node, so that the third edge node provides services for the terminal.

可选的,所述第二边缘节点90还包括:Optionally, the second edge node 90 further includes:

第一冗余数据删除模块,用于若经过预设时长,同步的数据依然未被使用,则删除同步的数据;和/或,a first redundant data deletion module, configured to delete the synchronized data if the synchronized data is still not used after a preset time period; and/or,

第二冗余数据删除模块,用于若所述终端已经离开所述第二边缘节点的覆盖区域,则删除同步的数据。The second redundant data deletion module is configured to delete synchronized data if the terminal has left the coverage area of the second edge node.

本发明实施例是与上述方法实施例二对应的产品实施例,故在此不再赘述,详细请参阅上述实施例二。This embodiment of the present invention is a product embodiment corresponding to the second embodiment of the above method, and thus will not be repeated here. For details, please refer to the second embodiment above.

请参阅图10,图10是本发明实施例六提供的一种电子设备的结构示意图,所述电子设备100包括:Please refer to FIG. 10. FIG. 10 is a schematic structural diagram of an electronic device according to Embodiment 6 of the present invention. The electronic device 100 includes:

基站覆盖确定模块101,用于根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路;a base station coverage determination module 101, configured to determine the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;

边缘节点覆盖确定模块102,用于针对每一预设边缘节点,根据所述预设边缘节点下的所有所述预设基站覆盖的道路,确定所述预设边缘节点覆盖的道路;The edge node coverage determination module 102 is configured to, for each preset edge node, determine the road covered by the preset edge node according to the roads covered by all the preset base stations under the preset edge node;

对应关系建立模块103,用于根据每一所述预设边缘节点覆盖的道路,建立边缘节点覆盖区域与道路的对应关系;The corresponding relationship establishing module 103 is used to establish the corresponding relationship between the coverage area of the edge node and the road according to the road covered by each of the preset edge nodes;

对应关系发送模块104,用于向所述预设边缘节点中的目标边缘节点发送所述边缘节点覆盖区域与道路的对应关系中的至少部分内容,所述边缘节点覆盖区域与道路的对应关系中的至少部分内容包括与所述目标边缘节点相邻的预设边缘节点的覆盖区域与道路的对应关系。The corresponding relationship sending module 104 is configured to send at least part of the content in the correspondence between the coverage area of the edge node and the road to the target edge node in the preset edge nodes, where the corresponding relationship between the coverage area of the edge node and the road is At least part of the content includes the correspondence between the coverage area of the preset edge node adjacent to the target edge node and the road.

可选的,所述边缘节点覆盖区域与道路的对应关系包括边缘节点覆盖区域与道路的路段的对应关系;Optionally, the corresponding relationship between the edge node coverage area and the road includes the corresponding relationship between the edge node coverage area and the section of the road;

所述基站覆盖确定模块101包括:The base station coverage determination module 101 includes:

路段划分单元,用于从道路的一端开始,每隔预设距离确定一个分界点,将道路划分为多个路段;The road segment dividing unit is used to start from one end of the road, determine a dividing point every preset distance, and divide the road into multiple road segments;

对比单元,用于计算每个所述分界点与每个预设基站覆盖区域中心点之间的第一距离,并与相应基站的覆盖区域的半径进行对比;A comparison unit, used to calculate the first distance between each of the demarcation points and the center point of the coverage area of each preset base station, and compare it with the radius of the coverage area of the corresponding base station;

第一覆盖确定单元,用于若所述第一距离小于或等于相应基站的覆盖区域的半径,则确定所述分界点在相应基站的覆盖区域内;a first coverage determination unit, configured to determine that the boundary point is within the coverage area of the corresponding base station if the first distance is less than or equal to the radius of the coverage area of the corresponding base station;

第二覆盖确定单元,用于若一条道路上的第一分界点和第二分界点均在相应基站的覆盖区域内,则确定所述第一分界点和所述第二分界点之间的路段在相应基站的覆盖区域内;所述第一分界点和所述第二分界点为相邻的两个分界点;The second coverage determination unit is configured to determine the road segment between the first and second demarcation points if both the first demarcation point and the second demarcation point on a road are within the coverage area of the corresponding base station In the coverage area of the corresponding base station; the first demarcation point and the second demarcation point are two adjacent demarcation points;

第三覆盖确定单元,用于若一条道路上的第三分界点和第四分界点中只有所述第三分界点在相应基站的覆盖区域内,则根据相应基站的覆盖区域的半径在所述第三分界点和所述第四分界点之间确定一个中间点,并确定所述中间点与所述第三分界点之间的路段在相应基站的覆盖区域内。The third coverage determination unit is configured to, if only the third demarcation point in the third demarcation point and the fourth demarcation point on a road is within the coverage area of the corresponding base station, then according to the radius of the coverage area of the corresponding base station An intermediate point is determined between the third demarcation point and the fourth demarcation point, and the road section between the intermediate point and the third demarcation point is determined to be within the coverage area of the corresponding base station.

本发明实施例是与上述方法实施例三对应的产品实施例,故在此不再赘述,详细请参阅上述实施例三。This embodiment of the present invention is a product embodiment corresponding to the third embodiment of the above method, and thus will not be repeated here. For details, please refer to the third embodiment above.

请参阅图11,图11是本发明实施例七提供的一种第一边缘节点的结构示意图,所述第一边缘节点为终端当前接入的边缘节点,该第一边缘节点110包括:收发器111和处理器112;Please refer to FIG. 11. FIG. 11 is a schematic structural diagram of a first edge node according to Embodiment 7 of the present invention. The first edge node is an edge node currently accessed by a terminal. The first edge node 110 includes: a transceiver 111 and processor 112;

所述处理器112,用于根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点;The processor 112 is configured to predict, according to the correspondence between the coverage area of the edge node and the road, the second edge node that the terminal will access next;

所述收发器111,用于向所述第二边缘节点发送第一信息,使得所述第二边缘节点在确定自身缺失为所述终端提供服务所需的至少部分信息的情况下,启动多运营商数据同步。The transceiver 111 is configured to send the first information to the second edge node, so that the second edge node starts multi-operation when it is determined that it lacks at least part of the information required to provide services for the terminal Business data synchronization.

可选的,所述处理器112,用于根据所述终端当前所处的第一位置,确定所述终端当前所处的第一道路;Optionally, the processor 112 is configured to determine the first road where the terminal is currently located according to the first location where the terminal is currently located;

所述处理器112,还用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路;The processor 112 is further configured to predict the road that the terminal will enter according to the moving direction of the terminal on the first road and the road topology;

所述处理器112,还用于根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点。The processor 112 is further configured to predict at least one second edge node according to the road the terminal will drive into and the corresponding relationship between the coverage area of the edge node and the road.

可选的,所述处理器112,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路;Optionally, the processor 112 is configured to predict, according to the moving direction of the terminal on the first road and the road topology, the road that the terminal will enter in a preset area;

其中所述预设区域内的任一位置与所述第一位置之间的距离小于或等于预设值,所述预设值是根据单一边缘节点覆盖区域的大小确定。The distance between any position in the preset area and the first position is less than or equal to a preset value, and the preset value is determined according to the size of the coverage area of a single edge node.

可选的,所述处理器112,用于根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路及其路段;Optionally, the processor 112 is configured to predict, according to the moving direction of the terminal on the first road and the road topology structure, the road and the road segment that the terminal will enter in a preset area;

所述处理器112,还用于根据所述终端将驶入的道路及其路段和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点;所述对应关系包括边缘节点覆盖区域与道路的路段的对应关系。The processor 112 is further configured to predict at least one of the second edge nodes according to the corresponding relationship between the road that the terminal will enter and its road segment and the coverage area of the edge node and the road; the corresponding relationship includes: Correspondence between edge node coverage area and road segments.

本发明实施例是与上述方法实施例一对应的产品实施例,故在此不再赘述,详细请参阅上述实施例一。This embodiment of the present invention is a product embodiment corresponding to the above-mentioned method embodiment 1, and thus will not be repeated here. For details, please refer to the above-mentioned first embodiment.

请参阅图12,图12是本发明实施例八提供的一种第二边缘节点的结构示意图,所述第二边缘节点为第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测得到的终端下一个将接入的边缘节点,所述第一边缘节点为所述终端当前接入的边缘节点,所述第二边缘节点120包括:收发器121和处理器122;Please refer to FIG. 12. FIG. 12 is a schematic structural diagram of a second edge node according to Embodiment 8 of the present invention. The second edge node is a terminal predicted by the first edge node according to the correspondence between the coverage area of the edge node and the road. the next edge node to be accessed, the first edge node is the edge node currently accessed by the terminal, and the second edge node 120 includes: a transceiver 121 and a processor 122;

所述收发器121,用于接收所述第一边缘节点发送的第一信息;the transceiver 121, configured to receive the first information sent by the first edge node;

所述处理器122,用于在接收到所述第一信息后,确定自身是否缺失为所述终端提供服务所需的至少部分信息;The processor 122 is configured to, after receiving the first information, determine whether it lacks at least part of the information required to provide services for the terminal;

所述收发器121,还用于若确定缺失,则启动多运营商数据同步。The transceiver 121 is further configured to initiate multi-operator data synchronization if it is determined that it is missing.

可选的,所述第一边缘节点和所述第二边缘节点均属于第一运营商;Optionally, both the first edge node and the second edge node belong to the first operator;

所述处理器122,用于确定第三边缘节点,所述第三边缘节点属于第二运营商,所述第三边缘节点的覆盖区域包括所述第二边缘节点的至少部分覆盖区域;The processor 122 is configured to determine a third edge node, where the third edge node belongs to the second operator, and the coverage area of the third edge node includes at least part of the coverage area of the second edge node;

所述收发器121,用于在确定所述第三边缘节点能够提供所述第二边缘节点为所述终端提供服务所需信息的缺失信息的情况下,与所述第三边缘节点进行数据同步。The transceiver 121 is configured to perform data synchronization with the third edge node when it is determined that the third edge node can provide missing information of the information required by the second edge node to provide services for the terminal .

可选的,所述处理器122,用于根据第二运营商的边缘节点覆盖区域与道路的对应关系,确定所述第三边缘节点。Optionally, the processor 122 is configured to determine the third edge node according to the correspondence between the coverage area of the edge node of the second operator and the road.

可选的,所述收发器121用于接收所述第三边缘节点发送的为所述终端提供服务所需信息的缺失信息,以为所述终端提供服务;或者,Optionally, the transceiver 121 is configured to receive missing information sent by the third edge node to provide services for the terminal, so as to provide services for the terminal; or,

所述收发器121用于将已有的为所述终端提供服务所需的信息,发送至所述第三边缘节点,以由所述第三边缘节点为所述终端提供服务。The transceiver 121 is configured to send the existing information required for providing services to the terminal to the third edge node, so that the third edge node provides services for the terminal.

可选的,所述处理器122还用于若经过预设时长,同步的数据依然未被使用,则删除同步的数据;和/或,若所述终端已经离开所述第二边缘节点的覆盖区域,则删除同步的数据。Optionally, the processor 122 is further configured to delete the synchronized data if the synchronized data is still not used after a preset time period; and/or, if the terminal has left the coverage of the second edge node region, the synchronized data is deleted.

本发明实施例是与上述方法实施例二对应的产品实施例,故在此不再赘述,详细请参阅上述实施例二。This embodiment of the present invention is a product embodiment corresponding to the second embodiment of the above method, and thus will not be repeated here. For details, please refer to the second embodiment above.

请参阅图13,图13是本发明实施例九提供的一种电子设备的结构示意图,所述电子设备130包括:收发器131和处理器132;Please refer to FIG. 13. FIG. 13 is a schematic structural diagram of an electronic device according to Embodiment 9 of the present invention. The electronic device 130 includes: a transceiver 131 and a processor 132;

所述处理器132,用于根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路;The processor 132 is configured to determine the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;

所述处理器132,还用于针对每一预设边缘节点,根据所述预设边缘节点下的所有所述预设基站覆盖的道路,确定所述预设边缘节点覆盖的道路;The processor 132 is further configured to, for each preset edge node, determine the road covered by the preset edge node according to the roads covered by all the preset base stations under the preset edge node;

所述处理器132,还用于根据每一所述预设边缘节点覆盖的道路,建立边缘节点覆盖区域与道路的对应关系;The processor 132 is further configured to establish a corresponding relationship between the coverage area of the edge node and the road according to the road covered by each of the preset edge nodes;

所述收发器131,用于向所述预设边缘节点中的目标边缘节点发送所述边缘节点覆盖区域与道路的对应关系中的至少部分内容,所述边缘节点覆盖区域与道路的对应关系中的至少部分内容包括与所述目标边缘节点相邻的预设边缘节点的覆盖区域与道路的对应关系。The transceiver 131 is configured to send at least part of the content in the corresponding relationship between the coverage area of the edge node and the road to the target edge node in the preset edge nodes, where the corresponding relationship between the coverage area of the edge node and the road is At least part of the content includes the correspondence between the coverage area of the preset edge node adjacent to the target edge node and the road.

可选的,所述边缘节点覆盖区域与道路的对应关系包括边缘节点覆盖区域与道路的路段的对应关系;Optionally, the corresponding relationship between the edge node coverage area and the road includes the corresponding relationship between the edge node coverage area and the section of the road;

所述处理器132,用于从道路的一端开始,每隔预设距离确定一个分界点,将道路划分为多个路段;The processor 132 is configured to start from one end of the road, determine a demarcation point every preset distance, and divide the road into a plurality of road segments;

所述处理器132,还用于计算每个所述分界点与每个预设基站覆盖区域中心点之间的第一距离,并与相应基站的覆盖区域的半径进行对比;The processor 132 is further configured to calculate the first distance between each of the demarcation points and the center point of the coverage area of each preset base station, and compare it with the radius of the coverage area of the corresponding base station;

所述处理器132,还用于若所述第一距离小于或等于相应基站的覆盖区域的半径,则确定所述分界点在相应基站的覆盖区域内;The processor 132 is further configured to determine that the demarcation point is within the coverage area of the corresponding base station if the first distance is less than or equal to the radius of the coverage area of the corresponding base station;

所述处理器132,还用于若一条道路上的第一分界点和第二分界点均在相应基站的覆盖区域内,则确定所述第一分界点和所述第二分界点之间的路段在相应基站的覆盖区域内;所述第一分界点和所述第二分界点为相邻的两个分界点;The processor 132 is further configured to determine the distance between the first demarcation point and the second demarcation point if both the first demarcation point and the second demarcation point on a road are within the coverage area of the corresponding base station. The road segment is within the coverage area of the corresponding base station; the first demarcation point and the second demarcation point are two adjacent demarcation points;

所述处理器132,还用于若一条道路上的第三分界点和第四分界点中只有所述第三分界点在相应基站的覆盖区域内,则根据相应基站的覆盖区域的半径在所述第三分界点和所述第四分界点之间确定一个中间点,并确定所述中间点与所述第三分界点之间的路段在相应基站的覆盖区域内。The processor 132 is further configured to, if only the third demarcation point is within the coverage area of the corresponding base station among the third demarcation point and the fourth demarcation point on a road, determine the location according to the radius of the coverage area of the corresponding base station. An intermediate point is determined between the third demarcation point and the fourth demarcation point, and the road section between the intermediate point and the third demarcation point is determined to be within the coverage area of the corresponding base station.

本发明实施例是与上述方法实施例三对应的产品实施例,故在此不再赘述,详细请参阅上述实施例三。This embodiment of the present invention is a product embodiment corresponding to the third embodiment of the above method, and thus will not be repeated here. For details, please refer to the third embodiment above.

请参阅图14,图14是本发明实施例十提供的一种第一边缘节点的结构示意图,所述第一边缘节点为终端当前接入的边缘节点,该终端第一边缘节点140包括处理器141、存储器142及存储在所述存储器142上并可在所述处理器141上运行的程序;所述处理器141执行所述程序时实现如下步骤:Please refer to FIG. 14. FIG. 14 is a schematic structural diagram of a first edge node according to Embodiment 10 of the present invention. The first edge node is an edge node currently accessed by a terminal, and the first edge node 140 of the terminal includes a processor 141, a memory 142, and a program stored on the memory 142 and executable on the processor 141; the processor 141 implements the following steps when executing the program:

根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点;According to the correspondence between the coverage area of the edge node and the road, predict the second edge node that the terminal will access next;

向所述第二边缘节点发送第一信息,使得所述第二边缘节点在确定自身缺失为所述终端提供服务所需的至少部分信息的情况下,启动多运营商数据同步。The first information is sent to the second edge node, so that the second edge node starts multi-operator data synchronization when it is determined that it lacks at least part of the information required to provide services for the terminal.

可选的,所述处理器141执行所述程序时还可实现如下步骤:Optionally, the processor 141 may further implement the following steps when executing the program:

所述根据边缘节点覆盖区域与道路的对应关系,预测所述终端下一个将接入的第二边缘节点,包括:Predicting the second edge node that the terminal will access next according to the correspondence between the coverage area of the edge node and the road, including:

根据所述终端当前所处的第一位置,确定所述终端当前所处的第一道路;determining the first road where the terminal is currently located according to the first location where the terminal is currently located;

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路;predicting the road the terminal will enter according to the moving direction of the terminal on the first road and the road topology;

根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点。According to the road the terminal will drive into and the correspondence between the coverage area of the edge node and the road, at least one second edge node is predicted to be obtained.

可选的,所述处理器141执行所述程序时还可实现如下步骤:Optionally, the processor 141 may further implement the following steps when executing the program:

所述根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测所述终端将驶入的道路,包括:The predicting the road that the terminal will enter according to the moving direction of the terminal on the first road and the road topology structure includes:

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路;predicting the road that the terminal will enter in a preset area according to the moving direction of the terminal on the first road and the road topology;

其中所述预设区域内的任一位置与所述第一位置之间的距离小于或等于预设值,所述预设值是根据单一边缘节点覆盖区域的大小确定。The distance between any position in the preset area and the first position is less than or equal to a preset value, and the preset value is determined according to the size of the coverage area of a single edge node.

可选的,所述处理器141执行所述程序时还可实现如下步骤:Optionally, the processor 141 may further implement the following steps when executing the program:

所述根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路包括:The predicting, according to the moving direction of the terminal on the first road and the road topology, that the road that the terminal will enter in the preset area includes:

根据所述终端在所述第一道路上的移动方向和道路拓扑结构,预测预设区域内所述终端将驶入的道路及其路段;Predicting a road and a road segment that the terminal will enter in a preset area according to the moving direction of the terminal on the first road and the road topology;

所述根据所述终端将驶入的道路和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点,包括:According to the corresponding relationship between the road that the terminal will drive into and the coverage area of the edge node and the road, at least one second edge node is predicted to be obtained, including:

根据所述终端将驶入的道路及其路段和所述边缘节点覆盖区域与道路的对应关系,预测得到至少一个所述第二边缘节点;所述对应关系包括边缘节点覆盖区域与道路的路段的对应关系。At least one of the second edge nodes is predicted to be obtained according to the corresponding relationship between the road that the terminal will drive into and its section and the coverage area of the edge node and the road; the corresponding relationship includes the relationship between the coverage area of the edge node and the road section. Correspondence.

本发明实施例的具体工作过程与上述方法实施例一中的一致,故在此不再赘述,详细请参阅上述实施例一中方法步骤的说明。The specific working process of the embodiment of the present invention is the same as that in the first embodiment of the above-mentioned method, so it is not repeated here. For details, please refer to the description of the method steps in the above-mentioned first embodiment.

请参阅图15,图15是本发明实施例十一提供的一种第二边缘节点的结构示意图,该第二边缘节点150包括处理器151、存储器152及存储在所述存储器152上并可在所述处理器151上运行的程序;所述第二边缘节点为第一边缘节点根据边缘节点覆盖区域与道路的对应关系预测得到的终端下一个将接入的边缘节点,所述第一边缘节点为所述终端当前接入的边缘节点,所述处理器151执行所述程序时实现如下步骤:Please refer to FIG. 15. FIG. 15 is a schematic structural diagram of a second edge node according to Embodiment 11 of the present invention. The second edge node 150 includes a processor 151, a memory 152, and is stored on the memory 152 and can be stored in the memory 152. The program running on the processor 151; the second edge node is the edge node that the terminal will access next, which is predicted by the first edge node according to the correspondence between the coverage area of the edge node and the road, and the first edge node is the edge node currently accessed by the terminal, and the processor 151 implements the following steps when executing the program:

接收所述第一边缘节点发送的第一信息;receiving the first information sent by the first edge node;

在接收到所述第一信息后,确定自身是否缺失为所述终端提供服务所需的至少部分信息;After receiving the first information, determine whether it lacks at least part of the information required to provide services for the terminal;

若确定缺失,则启动多运营商数据同步。If it is determined to be missing, start multi-operator data synchronization.

可选的,所述第一边缘节点和所述第二边缘节点均属于第一运营商;Optionally, both the first edge node and the second edge node belong to the first operator;

所述处理器151执行所述程序时还可实现如下步骤:When the processor 151 executes the program, the following steps may also be implemented:

所述启动多运营商数据同步,包括:The starting multi-operator data synchronization includes:

确定第三边缘节点,所述第三边缘节点属于第二运营商,所述第三边缘节点的覆盖区域包括所述第二边缘节点的至少部分覆盖区域;determining a third edge node, the third edge node belongs to the second operator, and the coverage area of the third edge node includes at least part of the coverage area of the second edge node;

在确定所述第三边缘节点能够提供所述第二边缘节点为所述终端提供服务所需信息的缺失信息的情况下,与所述第三边缘节点进行数据同步。In the case that it is determined that the third edge node can provide missing information of the information required by the second edge node to provide services for the terminal, perform data synchronization with the third edge node.

可选的,所述处理器151执行所述程序时还可实现如下步骤:Optionally, the processor 151 may further implement the following steps when executing the program:

所述确定第三边缘节点,包括:The determining of the third edge node includes:

根据第二运营商的边缘节点覆盖区域与道路的对应关系,确定所述第三边缘节点。The third edge node is determined according to the correspondence between the coverage area of the edge node of the second operator and the road.

可选的,所述处理器151执行所述程序时还可实现如下步骤:Optionally, the processor 151 may further implement the following steps when executing the program:

所述与所述第三边缘节点进行数据同步,包括:The performing data synchronization with the third edge node includes:

接收所述第三边缘节点发送的为所述终端提供服务所需信息的缺失信息,以为所述终端提供服务;或者,Receive the missing information of the information required to provide services for the terminal sent by the third edge node, so as to provide services for the terminal; or,

将已有的为所述终端提供服务所需的信息,发送至所述第三边缘节点,以由所述第三边缘节点为所述终端提供服务。Sending the existing information required for providing services to the terminal to the third edge node, so that the third edge node provides services for the terminal.

可选的,所述处理器151执行所述程序时还可实现如下步骤:Optionally, the processor 151 may further implement the following steps when executing the program:

所述启动多运营商数据同步之后,还包括:After the multi-operator data synchronization is started, the method further includes:

若经过预设时长,同步的数据依然未被使用,则删除同步的数据;和/或,If the synchronized data is still unused after the preset period of time, the synchronized data is deleted; and/or,

若所述终端已经离开所述第二边缘节点的覆盖区域,则删除同步的数据。If the terminal has left the coverage area of the second edge node, the synchronized data is deleted.

本发明实施例的具体工作过程与上述方法实施例二中的一致,故在此不再赘述,详细请参阅上述实施例二中方法步骤的说明。The specific working process of the embodiment of the present invention is the same as that in the second embodiment of the above method, so it will not be repeated here. For details, please refer to the description of the method steps in the second embodiment above.

请参阅图16,图16是本发明实施例十二提供的一种电子设备的结构示意图,该电子设备160包括处理器161、存储器162及存储在所述存储器162上并可在所述处理器161上运行的程序;所述处理器161执行所述程序时实现如下步骤:Please refer to FIG. 16. FIG. 16 is a schematic structural diagram of an electronic device according to Embodiment 12 of the present invention. The electronic device 160 includes a processor 161, a memory 162, and is stored on the memory 162 and can be accessed by the processor. The program running on 161; the processor 161 implements the following steps when executing the program:

根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路;Determine the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;

针对每一预设边缘节点,根据所述预设边缘节点下的所有所述预设基站覆盖的道路,确定所述预设边缘节点覆盖的道路;For each preset edge node, determine the road covered by the preset edge node according to the roads covered by all the preset base stations under the preset edge node;

根据每一所述预设边缘节点覆盖的道路,建立边缘节点覆盖区域与道路的对应关系;According to the road covered by each of the preset edge nodes, establish a corresponding relationship between the coverage area of the edge node and the road;

向所述预设边缘节点中的目标边缘节点发送所述边缘节点覆盖区域与道路的对应关系中的至少部分内容,所述边缘节点覆盖区域与道路的对应关系中的至少部分内容包括与所述目标边缘节点相邻的预设边缘节点的覆盖区域与道路的对应关系。Send at least part of the content in the correspondence between the coverage area of the edge node and the road to the target edge node in the preset edge nodes, where at least part of the content in the correspondence between the coverage area of the edge node and the road includes the The correspondence between the coverage area of the preset edge node adjacent to the target edge node and the road.

可选的,所述处理器161执行所述程序时还可实现如下步骤:Optionally, the processor 161 may further implement the following steps when executing the program:

所述边缘节点覆盖区域与道路的对应关系包括边缘节点覆盖区域与道路的路段的对应关系;The corresponding relationship between the edge node coverage area and the road includes the corresponding relationship between the edge node coverage area and the road segment;

所述根据道路与预设基站之间的距离以及所述预设基站的覆盖区域的半径,确定每一所述预设基站覆盖的道路,包括:The determining the road covered by each of the preset base stations according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station, including:

从道路的一端开始,每隔预设距离确定一个分界点,将道路划分为多个路段;Starting from one end of the road, a dividing point is determined every preset distance, and the road is divided into multiple sections;

计算每个所述分界点与每个预设基站覆盖区域中心点之间的第一距离,并与相应基站的覆盖区域的半径进行对比;Calculate the first distance between each of the demarcation points and the center point of the coverage area of each preset base station, and compare it with the radius of the coverage area of the corresponding base station;

若所述第一距离小于或等于相应基站的覆盖区域的半径,则确定所述分界点在相应基站的覆盖区域内;If the first distance is less than or equal to the radius of the coverage area of the corresponding base station, determine that the demarcation point is within the coverage area of the corresponding base station;

若一条道路上的第一分界点和第二分界点均在相应基站的覆盖区域内,则确定所述第一分界点和所述第二分界点之间的路段在相应基站的覆盖区域内;所述第一分界点和所述第二分界点为相邻的两个分界点;If both the first demarcation point and the second demarcation point on a road are within the coverage area of the corresponding base station, determine that the road section between the first demarcation point and the second demarcation point is within the coverage area of the corresponding base station; The first demarcation point and the second demarcation point are two adjacent demarcation points;

若一条道路上的第三分界点和第四分界点中只有所述第三分界点在相应基站的覆盖区域内,则根据相应基站的覆盖区域的半径在所述第三分界点和所述第四分界点之间确定一个中间点,并确定所述中间点与所述第三分界点之间的路段在相应基站的覆盖区域内。If only the third demarcation point is within the coverage area of the corresponding base station among the third demarcation point and the fourth demarcation point on a road, then according to the radius of the coverage area of the corresponding base station, between the third demarcation point and the third demarcation point An intermediate point is determined between the four demarcation points, and the road section between the intermediate point and the third demarcation point is determined to be within the coverage area of the corresponding base station.

本发明实施例的具体工作过程与上述方法实施例二中的一致,故在此不再赘述,详细请参阅上述实施例二中方法步骤的说明。The specific working process of the embodiment of the present invention is the same as that in the second embodiment of the above method, so it will not be repeated here. For details, please refer to the description of the method steps in the second embodiment above.

本发明实施例十三提供一种可读存储介质,其上存储有程序,该程序被处理器执行时实现上述实施例一中任一种数据同步方法中的步骤或者实施例二中任一种数据同步方法中的步骤或者实现上述实施例三中任一种信息传输方法中的步骤。详细请参阅以上对应实施例中方法步骤的说明。The thirteenth embodiment of the present invention provides a readable storage medium on which a program is stored, and when the program is executed by a processor, implements the steps in any of the data synchronization methods in the foregoing first embodiment or any one of the second embodiments The steps in the data synchronization method or implement the steps in any one of the information transmission methods in the third embodiment above. For details, please refer to the description of the method steps in the above corresponding embodiments.

本发明实施例中的终端可以是无线终端也可以是有线终端,无线终端可以是指向用户提供语音和/或其他业务数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(Radio Access Network,简称RAN)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,简称PCS)电话、无绳电话、会话发起协议(SessionInitiation Protocol,简称SIP)话机、无线本地环路(Wireless Local Loop,简称WLL)站、个人数字助理(Personal Digital Assistant,简称PDA)等设备。无线终端也可以称为系统、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(MobileStation)、移动台(Mobile)、远程站(Remote Station)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户代理(User Agent)、终端(UserDevice or User Equipment),在此不作限定。The terminal in this embodiment of the present invention may be a wireless terminal or a wired terminal, and the wireless terminal may be a device that provides voice and/or other service data connectivity to a user, a handheld device with a wireless connection function, or a wireless modem connected to other processing equipment. A wireless terminal can communicate with one or more core networks via a Radio Access Network (RAN), and the wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a mobile phone Computers, for example, may be portable, pocket-sized, hand-held, computer-built-in or vehicle-mounted mobile devices that exchange language and/or data with the wireless access network. For example, a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (Personal Digital Assistant) Assistant, referred to as PDA) and other devices. A wireless terminal may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, an access A terminal (Access Terminal), a user terminal (User Terminal), a user agent (User Agent), and a terminal (UserDevice or User Equipment) are not limited here.

上述可读存储介质,包括计算机可读存储介质。计算机可读存储介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The above-mentioned readable storage medium includes a computer-readable storage medium. Computer-readable storage media includes both persistent and non-permanent, removable and non-removable media, and storage of information can be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM) ), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cartridges Magnetic tape, magnetic tape storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.

Claims (20)

1. A data synchronization method is applied to a first edge node, wherein the first edge node is an edge node currently accessed by a terminal, and the method comprises the following steps:
predicting a second edge node to be accessed next by the terminal according to the corresponding relation between the edge node coverage area and the road;
and sending first information to the second edge node, so that the second edge node starts multi-operator data synchronization under the condition that at least part of information required for providing the service for the terminal is determined to be lost by the second edge node.
2. The method according to claim 1, wherein the predicting a second edge node to be accessed by the terminal next according to the corresponding relation between the edge node coverage area and the road comprises:
determining a first road where the terminal is located according to a first position where the terminal is located currently;
predicting a road into which the terminal will drive according to the moving direction of the terminal on the first road and the road topological structure;
and predicting to obtain at least one second edge node according to the corresponding relation between the road to be driven into by the terminal and the road and the coverage area of the edge node.
3. The method according to claim 2, wherein predicting the road into which the terminal will enter according to the moving direction of the terminal on the first road and the road topology comprises:
predicting a road into which the terminal will drive in a preset area according to the moving direction of the terminal on the first road and the road topological structure;
wherein a distance between any position in the preset area and the first position is less than or equal to a preset value, and the preset value is determined according to the size of the single edge node coverage area.
4. The method according to claim 3, wherein the predicting the road to be entered by the terminal in the preset area according to the moving direction of the terminal on the first road and the road topology comprises:
predicting a road and a road section thereof to be driven into by the terminal in a preset area according to the moving direction of the terminal on the first road and the road topological structure;
the predicting at least one second edge node according to the corresponding relation between the road to be driven into by the terminal and the road and the corresponding relation between the edge node coverage area and the road includes:
predicting to obtain at least one second edge node according to the corresponding relation between the road to be driven into by the terminal, the road section of the road and the coverage area of the edge node and the road; the corresponding relation comprises a corresponding relation between the edge node coverage area and the road section of the road.
5. A data synchronization method is applied to a second edge node, wherein the second edge node is an edge node which is predicted by a first edge node according to a corresponding relation between an edge node coverage area and a road and is to be accessed next by a terminal, and the first edge node is an edge node which is accessed by the terminal currently, and the method comprises the following steps:
receiving first information sent by the first edge node;
after receiving the first information, determining whether the first information lacks at least part of information required for providing service for the terminal;
and if the data are determined to be missing, starting the data synchronization of the multiple operators.
6. The method of claim 5, wherein the first edge node and the second edge node both belong to a first operator;
the initiating multi-operator data synchronization comprises:
determining a third edge node, the third edge node belonging to a second operator, a coverage area of the third edge node comprising at least a partial coverage area of the second edge node;
and under the condition that the third edge node is determined to be capable of providing missing information of information required by the second edge node for providing the service for the terminal, performing data synchronization with the third edge node.
7. The method of claim 6, wherein determining the third edge node comprises:
and determining the third edge node according to the corresponding relation between the edge node coverage area of the second operator and the road.
8. The method of claim 6, wherein the synchronizing data with the third edge node comprises:
receiving missing information of information required for providing service for the terminal, which is sent by the third edge node, so as to provide service for the terminal; or,
and sending the existing information required for providing the service for the terminal to the third edge node so as to provide the service for the terminal by the third edge node.
9. The method of claim 5, wherein after initiating the multi-carrier data synchronization, further comprising:
if the synchronous data are still not used after the preset duration, deleting the synchronous data; and/or deleting the synchronized data if the terminal has left the coverage area of the second edge node.
10. An information transmission method applied to electronic equipment is characterized by comprising the following steps:
determining a road covered by each preset base station according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;
for each preset edge node, determining a road covered by the preset edge node according to roads covered by all the preset base stations under the preset edge node;
establishing a corresponding relation between an edge node coverage area and a road according to the road covered by each preset edge node;
and sending at least part of content in the corresponding relation between the edge node coverage area and the road to a target edge node in the preset edge nodes, wherein the at least part of content in the corresponding relation between the edge node coverage area and the road comprises the corresponding relation between the coverage area of the preset edge node adjacent to the target edge node and the road.
11. The method of claim 10, wherein the edge node coverage area to road correspondence comprises edge node coverage area to road segment correspondence;
the determining the road covered by each preset base station according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station comprises the following steps:
determining a demarcation point every preset distance from one end of a road, and dividing the road into a plurality of road sections;
calculating a first distance between each demarcation point and the central point of the coverage area of each preset base station, and comparing the first distance with the radius of the coverage area of the corresponding base station;
if the first distance is smaller than or equal to the radius of the coverage area of the corresponding base station, determining that the demarcation point is in the coverage area of the corresponding base station;
if a first boundary point and a second boundary point on one road are both in the coverage area of the corresponding base station, determining that a section between the first boundary point and the second boundary point is in the coverage area of the corresponding base station; the first demarcation point and the second demarcation point are two adjacent demarcation points;
if only the third boundary point of the third boundary point and the fourth boundary point on one road is in the coverage area of the corresponding base station, determining a middle point between the third boundary point and the fourth boundary point according to the radius of the coverage area of the corresponding base station, and determining that a road section between the middle point and the third boundary point is in the coverage area of the corresponding base station.
12. A first edge node, where the first edge node is an edge node currently accessed by a terminal, the method comprising:
the prediction module is used for predicting a second edge node which is to be accessed next by the terminal according to the corresponding relation between the edge node coverage area and the road;
and the first information sending module is used for sending first information to the second edge node, so that the second edge node starts multi-operator data synchronization under the condition that at least part of information required for providing service for the terminal is determined to be lost.
13. A second edge node, where the second edge node is an edge node to be accessed next to a terminal, which is predicted by a first edge node according to a correspondence between an edge node coverage area and a road, and the first edge node is an edge node to which the terminal is currently accessed, and the second edge node includes:
a first information receiving module, configured to receive first information sent by the first edge node;
a determining module, configured to determine whether at least part of information required for providing a service for the terminal is missing after receiving the first information;
and the synchronization module is used for starting the data synchronization of the multiple operators if the data synchronization is determined to be missing.
14. A first edge node, where the first edge node is an edge node currently accessed by a terminal, the method comprising: a transceiver and a processor;
the processor is used for predicting a second edge node to be accessed next by the terminal according to the corresponding relation between the edge node coverage area and the road;
the transceiver is configured to send first information to the second edge node, so that the second edge node starts multi-operator data synchronization when determining that at least part of information required for providing a service for the terminal is missing.
15. A second edge node, where the second edge node is an edge node to be accessed next to a terminal, which is predicted by a first edge node according to a correspondence between an edge node coverage area and a road, and the first edge node is an edge node to which the terminal is currently accessed, and the second edge node includes: a transceiver and a processor;
the transceiver is used for receiving first information sent by the first edge node;
the processor is used for determining whether the processor lacks at least part of information required for providing service for the terminal after receiving the first information;
the transceiver is further configured to initiate multi-operator data synchronization if the absence is determined.
16. An electronic device, comprising: a transceiver and a processor;
the processor is used for determining the road covered by each preset base station according to the distance between the road and the preset base station and the radius of the coverage area of the preset base station;
the processor is further configured to determine, for each preset edge node, a road covered by the preset edge node according to roads covered by all the preset base stations under the preset edge node;
the processor is further configured to establish a corresponding relationship between an edge node coverage area and a road according to the road covered by each preset edge node;
the transceiver is configured to send at least part of content in a correspondence between the edge node coverage area and the road to a target edge node in the preset edge nodes, where the at least part of content in the correspondence between the edge node coverage area and the road includes a correspondence between a coverage area of a preset edge node adjacent to the target edge node and the road.
17. A first edge node, which is an edge node currently accessed by a terminal, and comprises a memory, a processor and a program stored in the memory and capable of running on the processor; characterized in that the processor implements the steps in the data synchronization method according to any one of claims 1 to 4 when executing the program.
18. A second edge node comprising a memory, a processor, and a program stored on the memory and executable on the processor; the method is characterized in that the second edge node is an edge node which is predicted by a first edge node according to a corresponding relation between an edge node coverage area and a road and is to be accessed next by a terminal, the first edge node is an edge node which is accessed currently by the terminal, and the processor implements the steps in the data synchronization method according to any one of claims 5 to 9 when executing the program.
19. An electronic device comprising a memory, a processor, and a program stored on the memory and executable on the processor; characterized in that the processor implements the steps in the information transmission method according to claim 10 or 11 when executing the program.
20. A readable storage medium, on which a program is stored, which program, when being executed by a processor, carries out the steps of the data synchronization method according to any one of claims 1 to 4 or the steps of the data synchronization method according to any one of claims 5 to 9 or the steps of the information transmission method according to claim 10 or 11.
CN202011218574.8A 2020-11-04 2020-11-04 Data synchronization method, information transmission method and device Active CN114449640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011218574.8A CN114449640B (en) 2020-11-04 2020-11-04 Data synchronization method, information transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011218574.8A CN114449640B (en) 2020-11-04 2020-11-04 Data synchronization method, information transmission method and device

Publications (2)

Publication Number Publication Date
CN114449640A true CN114449640A (en) 2022-05-06
CN114449640B CN114449640B (en) 2025-02-14

Family

ID=81361850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011218574.8A Active CN114449640B (en) 2020-11-04 2020-11-04 Data synchronization method, information transmission method and device

Country Status (1)

Country Link
CN (1) CN114449640B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208625A (en) * 2023-05-06 2023-06-02 浪潮通信技术有限公司 Information synchronization method, device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070155399A1 (en) * 2005-12-29 2007-07-05 Alberth William P Jr Devices and methods for synchronizing location information in an access point
US20140071804A1 (en) * 2012-09-13 2014-03-13 International Business Machines Corporation Utilizing stored data to reduce packet data loss in a mobile data network with data breakout at the edge
JP2015125065A (en) * 2013-12-26 2015-07-06 株式会社ゼンリン Route search device
WO2017070776A1 (en) * 2015-10-26 2017-05-04 Sierra Wireless, Inc. Cognitive wireless system - predicted overlap

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070155399A1 (en) * 2005-12-29 2007-07-05 Alberth William P Jr Devices and methods for synchronizing location information in an access point
US20140071804A1 (en) * 2012-09-13 2014-03-13 International Business Machines Corporation Utilizing stored data to reduce packet data loss in a mobile data network with data breakout at the edge
JP2015125065A (en) * 2013-12-26 2015-07-06 株式会社ゼンリン Route search device
WO2017070776A1 (en) * 2015-10-26 2017-05-04 Sierra Wireless, Inc. Cognitive wireless system - predicted overlap

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208625A (en) * 2023-05-06 2023-06-02 浪潮通信技术有限公司 Information synchronization method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN114449640B (en) 2025-02-14

Similar Documents

Publication Publication Date Title
JP7410360B2 (en) Handover advance preparation and tracking/paging area handling and intelligent route selection within cellular networks
Hagenauer et al. Vehicular micro clouds as virtual edge servers for efficient data collection
WO2016197622A1 (en) Internet of vehicle architecture and service implementation method and device therein
CN109842854B (en) Message multicast and message broadcast method and device
CN1942009B (en) Telecommunications system and method supporting mobility of mobile telecommunications terminals in the system
US7773941B2 (en) Method and system for positioning a relay in a wide area communication network
Malandrino et al. Content downloading in vehicular networks: Bringing parked cars into the picture
CN103974373B (en) A kind of In-vehicle networking method for routing and device
CN103973789B (en) A VANET clustering method combining vehicle history credits and current status
Huang et al. The delay-constrained and network-situation-aware V2V2I VANET data offloading based on the multi-access edge computing (MEC) architecture
WO2019101159A1 (en) Base station handover method and device based on motion state of mobile device
Hagenauer et al. Parked cars as virtual network infrastructure: Enabling stable V2I access for long-lasting data flows
WO2020259525A1 (en) Communication method and apparatus
US20210352146A1 (en) Efficient real time vehicular traffic reporting and sharing
CN104041122B (en) A kind of data domain service processing method, apparatus and system
Fang et al. A cooperative RSU caching policy for vehicular content delivery networks in two-way road with a T-junction
EP3468248B1 (en) Communication method and device
CN114449640A (en) Data synchronization method, information transmission method and equipment
CN111800761A (en) Vehicle communication processing method, device, computer readable medium and electronic device
KR101893859B1 (en) Access method and device in heterogeneous network
CN110248392A (en) Chance retransmission method based on node efficiency in a kind of car networking
Nunes et al. Attraction-area based geo-clustering for LTE vehicular crowdsensing data offloading
Saleem et al. DIVINE: Data offloading in vehicular networks with QoS provisioning
CN112449398B (en) Path selection method and core network equipment
WO2018000263A1 (en) Communication method, forwarding device, and terminal device

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