CN117336808A - Re-placement method for guaranteeing MEC service continuity - Google Patents
Re-placement method for guaranteeing MEC service continuity Download PDFInfo
- Publication number
- CN117336808A CN117336808A CN202311185471.XA CN202311185471A CN117336808A CN 117336808 A CN117336808 A CN 117336808A CN 202311185471 A CN202311185471 A CN 202311185471A CN 117336808 A CN117336808 A CN 117336808A
- Authority
- CN
- China
- Prior art keywords
- session
- network
- mep
- application
- asn
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 101
- 230000005012 migration Effects 0.000 claims abstract description 61
- 238000013508 migration Methods 0.000 claims abstract description 61
- 230000007246 mechanism Effects 0.000 claims abstract description 19
- 230000008859 change Effects 0.000 claims abstract description 17
- 230000001960 triggered effect Effects 0.000 claims abstract description 4
- 238000007726 management method Methods 0.000 claims description 72
- 238000013507 mapping Methods 0.000 claims description 62
- 230000004044 response Effects 0.000 claims description 58
- 230000008569 process Effects 0.000 claims description 55
- 230000004048 modification Effects 0.000 claims description 36
- 238000012986 modification Methods 0.000 claims description 36
- 238000004891 communication Methods 0.000 claims description 33
- 230000006870 function Effects 0.000 claims description 28
- 230000005540 biological transmission Effects 0.000 claims description 21
- 238000013475 authorization Methods 0.000 claims description 9
- 101100087594 Arabidopsis thaliana RID2 gene Proteins 0.000 claims description 6
- 230000004913 activation Effects 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 4
- 238000012790 confirmation Methods 0.000 claims description 3
- 230000009849 deactivation Effects 0.000 claims description 3
- 238000009472 formulation Methods 0.000 claims description 3
- 239000000203 mixture Substances 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 238000000926 separation method Methods 0.000 claims description 2
- DMJNNHOOLUXYBV-PQTSNVLCSA-N meropenem Chemical compound C=1([C@H](C)[C@@H]2[C@H](C(N2C=1C(O)=O)=O)[C@H](O)C)S[C@@H]1CN[C@H](C(=O)N(C)C)C1 DMJNNHOOLUXYBV-PQTSNVLCSA-N 0.000 claims 2
- 210000003311 CFU-EM Anatomy 0.000 description 13
- 238000010586 diagram Methods 0.000 description 6
- 230000001934 delay Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 101150013245 Ehd2 gene Proteins 0.000 description 3
- 101150100990 RID1 gene Proteins 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000011664 signaling Effects 0.000 description 3
- 101100018713 Arabidopsis thaliana ILR1 gene Proteins 0.000 description 2
- 101100018714 Arabidopsis thaliana ILR2 gene Proteins 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 101100018715 Arabidopsis thaliana ILR3 gene Proteins 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/18—Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域Technical field
本发明涉及一种方法,具体涉及一种保障MEC业务连续性的重放置方法,属于MEC业务技术领域。The present invention relates to a method, specifically to a relocation method for ensuring MEC business continuity, and belongs to the technical field of MEC business.
背景技术Background technique
近年来,随着云网融合、算网一体的发展,网络连接从有形实体连接向无形的内容、服务、算力等虚拟连接发展,使得移动场景和主体更加泛在化,包括终端、服务端、网络等的泛在移动;其次网络进一步扁平化,以及无线侧高密集组网的应用,使得水平切换更加频繁。这种范式的变化引入了多网络融合和覆盖区域交叉重叠的全新场景,此场景中用户采用多种制式接入,网络节点与用户终端高速移动,亟需增强移动节点在多接入网络之间的无缝切换能力,以业务的连续性。In recent years, with the development of cloud-network integration and computing-network integration, network connections have developed from tangible physical connections to intangible virtual connections such as content, services, and computing power, making mobile scenarios and subjects more ubiquitous, including terminals and servers. , ubiquitous mobility of networks, etc.; secondly, the further flattening of networks and the application of high-density networking on the wireless side have made horizontal handovers more frequent. This change in paradigm has introduced a new scenario of multi-network convergence and overlapping coverage areas. In this scenario, users adopt multiple access modes, and network nodes and user terminals move at high speed. There is an urgent need to enhance the ability of mobile nodes to move between multiple access networks. Seamless switching capabilities to ensure business continuity.
由于现有移动网络架构中固定的移动性锚点的存在,现有MEC(Multi-accessEdge Computing,即多接入边缘计算)重放置方法难以很好的保障移动状态下的业务连续性。一个典型的场景:高速行驶的车辆频繁跨网关切换难以保障业务连续性,同时无法满足超低时延和超高可靠性。MEC覆盖范围有限,车辆的频繁跨网关切换难以支持业务连续性。ETSI(European Telecommunications Standards Institute,即欧洲电信标准化协会)和3GPP(3rd Generation Partnership Project,即第三代合作伙伴计划)已经提出了一些MEC业务重放置方案。ETSI的MEC业务重放置涉及到网络层中的MA(Mobility Anchor,即移动性锚点)和应用层中的ME(Mobile Edge,即移动边缘)APP(Application,即应用),存在两种方案,方案1:MA切换,APP迁移;方案2:MA切换,APP不迁移。3GPP提出了SSC(Session andService Continuity,即会话和服务连续性)三种模式。Due to the existence of fixed mobility anchors in the existing mobile network architecture, the existing MEC (Multi-access Edge Computing) relocation method cannot well guarantee business continuity in mobile states. A typical scenario: high-speed vehicles frequently switch across gateways, making it difficult to ensure business continuity. At the same time, ultra-low latency and ultra-high reliability cannot be met. MEC coverage is limited, and frequent cross-gateway switching of vehicles makes it difficult to support business continuity. ETSI (European Telecommunications Standards Institute, European Telecommunications Standards Institute) and 3GPP (3rd Generation Partnership Project, 3rd Generation Partnership Project) have proposed some MEC business relocation solutions. ETSI's MEC service relocation involves MA (Mobility Anchor) in the network layer and ME (Mobile Edge) APP (Application) in the application layer. There are two solutions. Option 1: MA switching, APP migration; Option 2: MA switching, APP not migrated. 3GPP proposed three modes of SSC (Session and Service Continuity).
在ETSI方案1中,MN(Mobile Node,即移动终端)离开归属MA的服务范围,移动到T-MA(Target MA,即目的移动性锚点)的服务范围。首先,MN进行信号检测,通过RAN(RadioAccess Network,即无线电接入网)向信号最强的MA发送路由请求,信号最强的MA设定为T-MA。接着,T-MA接收到路由请求后,由T-MA与核心网中的AME(Access Manager NetworkElement,即接入和移动性管理网元)、SME(Session Manager Network Element,即会话管理网元)发起代理绑定更新过程,通过T-MA、AME、SME的协作,将分配给终端的IP地址转发给移动终端MN,MN接入到T-MA。然后,MN向T-MA发送业务请求数据包,其中包含S-MA(SourceMA,即源移动性锚点)分配的IP地址。T-MA根据数据包中的源IP地址,将业务数据包发送给S-MA,S-MA接收到数据包之后将数据包发送给位于S-MA服务范围中的S-MEP(SourceMobile Edge Platform,即源移动边缘平台),S-MEP发送给对应的S-APP,同时向MEO(Mobile Edge Orchestrator,即移动边缘编排器)发送APP重放置请求。接着,MEO、MEPM(Mobile Edge Platform Manager,即移动边缘平台管理器)、MEP协作进行APP迁移管理工作。管理工作完成之后,S-MEP、S-MEPM、MEO、T-MEP、T-MEPM协作进行APP实例的迁移,同时更新T-MEP中的路由规则。之后T-MEP为终端节点MN激活迁移后的APP(T-APP),如果需要,S-MEP对S-APP实例进行终止工作并释放资源。MEC业务重放置完成之后,MN通过T-MA、T-MEP与T-APP进行业务通信。此方案中,APP始终与MN处于相同服务范围,保障了MEC业务的低时延和高可靠。但MN进行跨网关移动时,MN离开S-MA服务范围再依次进行MA切换工作和APP迁移工作,无法支持业务连续性,造成边缘业务中断。In ETSI solution 1, the MN (Mobile Node, that is, the mobile terminal) leaves the service range of the home MA and moves to the service range of the T-MA (Target MA, that is, the destination mobility anchor). First, the MN performs signal detection and sends a routing request to the MA with the strongest signal through RAN (RadioAccess Network), and the MA with the strongest signal is set as T-MA. Then, after T-MA receives the routing request, T-MA communicates with AME (Access Manager Network Element, access and mobility management network element) and SME (Session Manager Network Element, session management network element) in the core network. The proxy binding update process is initiated, and through the cooperation of T-MA, AME, and SME, the IP address assigned to the terminal is forwarded to the mobile terminal MN, and the MN accesses the T-MA. Then, the MN sends a service request packet to the T-MA, which contains the IP address assigned by the S-MA (SourceMA, source mobility anchor). T-MA sends the service data packet to S-MA according to the source IP address in the data packet. After receiving the data packet, S-MA sends the data packet to S-MEP (SourceMobile Edge Platform) located in the S-MA service range. , that is, the source mobile edge platform), the S-MEP sends it to the corresponding S-APP, and at the same time sends an APP relocation request to the MEO (Mobile Edge Orchestrator, that is, the mobile edge orchestrator). Next, MEO, MEPM (Mobile Edge Platform Manager), and MEP collaborate to perform APP migration management. After the management work is completed, S-MEP, S-MEPM, MEO, T-MEP, and T-MEPM collaborate to migrate the APP instance and update the routing rules in T-MEP. Afterwards, T-MEP activates the migrated APP (T-APP) for the terminal node MN. If necessary, S-MEP terminates the S-APP instance and releases resources. After the MEC service relocation is completed, the MN communicates with T-APP through T-MA, T-MEP and T-APP. In this solution, APP is always in the same service range as MN, ensuring the low latency and high reliability of MEC services. However, when the MN moves across gateways, the MN leaves the S-MA service range and then performs MA switching and APP migration in sequence, which cannot support business continuity, causing edge business interruption.
在ETSI方案2中,MN离开S-MA的服务范围,移动到T-MA的服务范围。首先,MN进行信号检测,检测到的信号最强的MA即为T-MA。然后MN向T-MA发送路由请求,MA接收到路由请求之后,由T-MA与核心网中的AME、SME发起代理绑定更新过程,通过T-MA、AME、SME的协作,将分配给终端的IP地址通过路由器发送给终端节点MN,MN接入到T-MA。MA迁移工作完成之后,MN向T-MA发送MEC业务数据包,其中包含源IP地址,T-MA根据源IP地址向S-MA转发业务报文。S-MA将报文转发给位于服务范围中的S-MEP,S-MEP将业务报文发送给对应的S-APP。之后S-MEP、S-APP、S-MEPM、MEO协作进行业务管理工作,更新MN与S-APP的PDU会话信息,包括会话ID、IP地址、流量规则等。管理工作完成之后,S-MEP通过S-MA与T-MA为MN激活新会话。MEC业务重放置完成,MN通过T-MA、S-MA、S-MEP与S-APP进行业务通信。与方案1相比,APP未迁移,降低了MEC业务重放置的时间,一定程度上支持了MN跨网关切换时的业务连续性。但是此方案是以更长的迂回转发路径为代价,导致时延、可靠性和路由管理等诸多问题。In ETSI solution 2, the MN leaves the service range of S-MA and moves to the service range of T-MA. First, MN performs signal detection, and the MA with the strongest detected signal is the T-MA. Then the MN sends a routing request to the T-MA. After the MA receives the routing request, the T-MA initiates a proxy binding update process with the AME and SME in the core network. Through the cooperation of the T-MA, AME and SME, the assigned The IP address of the terminal is sent to the terminal node MN through the router, and the MN accesses the T-MA. After the MA migration is completed, the MN sends the MEC service packet to the T-MA, which contains the source IP address. The T-MA forwards the service packet to the S-MA based on the source IP address. The S-MA forwards the message to the S-MEP located in the service range, and the S-MEP sends the service message to the corresponding S-APP. Afterwards, S-MEP, S-APP, S-MEPM, and MEO collaborate to perform business management work and update the PDU session information between the MN and S-APP, including session ID, IP address, traffic rules, etc. After the management work is completed, S-MEP activates a new session for the MN through S-MA and T-MA. The MEC service relocation is completed, and the MN communicates with S-APP through T-MA, S-MA, S-MEP and S-APP. Compared with Solution 1, the APP has not been migrated, which reduces the time for MEC service relocation and supports the business continuity when MN switches across gateways to a certain extent. However, this solution comes at the expense of a longer roundabout forwarding path, leading to many problems such as delay, reliability, and route management.
在3GPP的SSC模式一中,MN发生跨网关移动时,网络提供给MN的业务服务不掉线,会话期间网络会一直维持初始移动性锚点MA,不会因为MN的移动性、接入网络技术的变化而变化,因此分配给MN的IP地址也不会变化。此模式可以应用于任何会话和任何接入类型。然而,此模式以更长的迂回转发路径为代价,导致时延、可靠性和路由管理等诸多问题。In SSC mode 1 of 3GPP, when the MN moves across gateways, the business services provided by the network to the MN will not be dropped. During the session, the network will always maintain the initial mobility anchor point MA, and will not be affected by the MN's mobility or access to the network. The IP address assigned to the MN will not change as the technology changes. This mode can be applied to any session and any access type. However, this model comes at the expense of a longer roundabout forwarding path, resulting in many problems such as delay, reliability, and routing management.
在3GPP的SSC模式二中,MN发生跨网关移动时,网络释放与MN的连接服务以及相应的应用会话,原先分配的IP地址也会被释放。SSC模式二在移动性锚点变更时,先释放原来的连接,再建立MN与新的移动性锚点的连接,重新为MN分配IP地址。此模式无法满足业务连续性,会造成业务连续性中断。In SSC mode 2 of 3GPP, when the MN moves across gateways, the network releases the connection service with the MN and the corresponding application session, and the originally assigned IP address will also be released. When the mobility anchor point changes in SSC mode 2, the original connection is first released, then the connection between the MN and the new mobility anchor point is established, and the IP address is re-allocated to the MN. This model cannot meet business continuity and will cause business continuity interruption.
在3GPP的SSC模式三中,MN发生跨网关移动时,当移动性锚点改变时,在改变之前建立与新的会话锚点间的连接,新连接也访问同一个数据网络DN。新的移动性锚点给MN分配新的IP地址之后,通过NAS(Network Attached Server,网络接入服务器)信令指示MN维持旧的IP地址一段时间,然后再释放旧的IP地址,同时旧的会话资源也相应的释放了。此模式中用户的通信地址会随着用户锚点的改变而改变,但是由于之前已经建立了新连接,业务不会有中断。但此模式完成后,MN依旧与同一DN进行通信会话,数据转发路径迂回冗长,造成时延、可靠性和路由管理等诸多问题。In SSC mode 3 of 3GPP, when the MN moves across gateways and the mobility anchor changes, a connection with the new session anchor is established before the change, and the new connection also accesses the same data network DN. After the new mobility anchor allocates a new IP address to the MN, it instructs the MN to maintain the old IP address for a period of time through NAS (Network Attached Server) signaling, and then releases the old IP address. Session resources are also released accordingly. In this mode, the user's communication address will change as the user's anchor point changes, but since a new connection has been established before, the business will not be interrupted. However, after this mode is completed, the MN still conducts communication sessions with the same DN, and the data forwarding path is circuitous and lengthy, causing many problems such as delay, reliability, and routing management.
因此,在MN发生跨网关移动时,上述的方案无法保障业务的连续性和低时延高可靠的业务质量,主要存在以下问题:Therefore, when the MN moves across gateways, the above solution cannot guarantee service continuity and low-latency and high-reliability service quality. The main problems are as follows:
(1)现有的MEC业务重放置方案提供多种类型的会话和业务连续性模式,例如3GPP的SSC三种模式,以满足不同应用和业务的各种连续性需求。此类方案流程繁琐、网络部署复杂,如何实现统一的MEC业务重放置流程以应对不同场景和业务的各种连续性需求,现有技术并未明确。(1) Existing MEC business relocation solutions provide multiple types of session and business continuity modes, such as the three SSC modes of 3GPP, to meet various continuity requirements of different applications and services. The process of such a solution is cumbersome and the network deployment is complicated. How to implement a unified MEC service relocation process to cope with various continuity requirements of different scenarios and services is not clear in the existing technology.
(2)当MN发生跨网关移动时,业务重放置需要依次进行网络层MA的切换和应用层APP的迁移,业务重放置完成之后才能恢复业务通信。处理时间过长,超出业务忍受的中断时间范围,造成业务连续性中断。APP不迁移一定程度上保障了业务连续性,但转发路径迂回冗长,导致时延、可靠性和路由管理等问题。(2) When the MN moves across gateways, service relocation requires network layer MA switching and application layer APP migration in sequence. Service communication can be resumed only after the service relocation is completed. The processing time is too long and exceeds the interruption time range that the business can tolerate, causing interruption of business continuity. The non-migration of APPs ensures business continuity to a certain extent, but the forwarding path is circuitous and lengthy, causing problems such as delay, reliability, and routing management.
(3)APP实例根据身份位置统一的通信地址(例如IP地址)识别移动终端身份并且一些APP会话期间不支持移动终端MN通信地址的改变,因此移动性锚点固定。当MN发生跨网关移动时,APP发生迁移,然而移动性锚点固定,数据包转发路径迂回,流程复杂,造成时延、可靠性和路由管理等问题。(3) The APP instance identifies the identity of the mobile terminal based on the unified communication address (such as IP address) of the identity location and some APPs do not support the change of the communication address of the mobile terminal MN during the session, so the mobility anchor point is fixed. When the MN moves across gateways, the APP migrates. However, the mobility anchor point is fixed, the data packet forwarding path is circuitous, and the process is complex, causing problems such as delay, reliability, and routing management.
(4)MN发生跨网关移动时,连接节点MA发生切换,APP需要迁移到贴近用户的位置。如何实现网络与应用之间的通知协同,以及网络层连接节点与目标应用位置的一致性,现有技术并未明确。(4) When the MN moves across gateways, the connecting node MA switches, and the APP needs to be moved to a location close to the user. The existing technology is not clear on how to achieve notification collaboration between the network and the application and the consistency between the network layer connection node and the target application location.
(5)移动终端设备呈现多样性,如自动驾驶汽车、无人机、卫星、远洋货轮等。现有网络中的身份位置统一的通信地址与移动性锚点结合的范式无法有效的支持多制式接入,增加了网络部署和设备接入的复杂性。因此,迫切的需要一种新的方案解决上述技术问题。(5) Mobile terminal devices are diverse, such as self-driving cars, drones, satellites, ocean-going freighters, etc. The existing paradigm of combining unified identity and location communication addresses with mobility anchor points cannot effectively support multi-mode access, which increases the complexity of network deployment and device access. Therefore, a new solution is urgently needed to solve the above technical problems.
发明内容Contents of the invention
本发明正是针对现有技术中存在的问题,提供一种保障MEC业务连续性的重放置方法,该技术方案采用统一的MEC业务重放置方法,以适应不同场景和业务的各种连续性需求,实现以较低的业务迁移开销换取较小的业务时延,同时简化了MEC业务重放置流程和网络部署。The present invention is aimed at the problems existing in the existing technology and provides a relocation method to ensure MEC business continuity. This technical solution adopts a unified MEC business relocation method to adapt to various continuity requirements of different scenarios and services. , achieving lower service migration overhead in exchange for smaller service delay, while simplifying the MEC service relocation process and network deployment.
为了实现上述目的,本发明的技术方案如下,一种保障MEC业务连续性的重放置方法,所述方法包括以下步骤:In order to achieve the above objects, the technical solution of the present invention is as follows, a relocation method to ensure MEC business continuity, the method includes the following steps:
步骤S1,移动终端MN上线,完成注册登记和会话注册流程,会话与终端身份标识绑定;Step S1: The mobile terminal MN goes online, completes the registration and session registration process, and binds the session to the terminal identity;
步骤S2,移动终端MN即将发生跨网关切换,触发网络层与应用层通知协同机制,应用层感知网络层状态变化;Step S2: The mobile terminal MN is about to undergo cross-gateway handover, triggering the network layer and application layer notification coordination mechanism, and the application layer senses the network layer status change;
步骤S3,移动终端MN发生跨网关切换,协同进行网络层切换管理与应用层边缘应用迁移流程。In step S3, the mobile terminal MN undergoes cross-gateway handover, and collaboratively performs network layer handover management and application layer edge application migration process.
其中,所述步骤S1具体如下,移动终端MN注册登记和会话注册流程,具体如下:The details of step S1 are as follows. The mobile terminal MN registration and session registration process are as follows:
步骤S101,移动终端MN上线,具备全网唯一用户身份标识(UID),根据信号强度向其所属接入服务节点(ASN)发送路由请求,请求接入ASN;Step S101: The mobile terminal MN goes online, has a unique user identity identifier (UID) in the entire network, sends a routing request to its access service node (ASN) according to the signal strength, and requests access to the ASN;
步骤S102,ASN接收到MN的路由请求后,向核心网中的接入和移动性管理网元(AME)发送鉴权和授权请求,AME为请求接入的终端进行鉴权服务,判断接入终端是否合法,AME为合法终端授权;ASN为授权后的MN分配合适的路由标识(RID),并将MN的UID/RID映射信息记录到本地缓存中;Step S102: After receiving the routing request from the MN, the ASN sends an authentication and authorization request to the access and mobility management network element (AME) in the core network. The AME performs authentication services for the terminal requesting access and determines access. Whether the terminal is legal, AME authorizes the legal terminal; ASN allocates an appropriate routing identifier (RID) to the authorized MN, and records the MN's UID/RID mapping information into the local cache;
步骤S103,ASN向所述的身份位置寄存器(ILR)发送UID/RID映射信息更新请求,告知ILR移动终端的最新的映射信息;Step S103, the ASN sends a UID/RID mapping information update request to the Identity Location Register (ILR) to inform the ILR of the latest mapping information of the mobile terminal;
步骤S104,ILR接收到映射信息更新后,将移动终端的映射信息UID/RID记录到本地缓存中,以供后续通信对端向MN发起通信查询MN的路由信息;Step S104: After receiving the update of the mapping information, the ILR records the mapping information UID/RID of the mobile terminal into the local cache so that subsequent communication peers can initiate communication to the MN to query the routing information of the MN;
步骤S105,接入工作完成后,ASN向MN发送路由请求成功响应。MN客户端应用(APP)向边缘数据中心中的边缘APP建立会话,此会话包含多种类型,例如5G网络中的通信数据单元(PDU)会话、4G网络中的分组数据网络(PDN)会话。首先MN通过ASN向核心网中的AME发送会话建立请求;Step S105: After the access work is completed, the ASN sends a routing request success response to the MN. The MN client application (APP) establishes a session to the edge APP in the edge data center. This session includes multiple types, such as a communication data unit (PDU) session in the 5G network and a packet data network (PDN) session in the 4G network. First, the MN sends a session establishment request to the AME in the core network through the ASN;
步骤S106,AME根据MN的RID信息,为MN需要建立的会话选择会话管理网元SME;Step S106: The AME selects the session management network element SME for the session that the MN needs to establish based on the MN's RID information;
步骤S107,AME向选中的会话管理网元(SME)发送MN会话创建请求,SME收到请求后向AME反馈响应信息;Step S107: The AME sends an MN session creation request to the selected session management network element (SME). After receiving the request, the SME feeds back response information to the AME;
步骤S108,AME与SME协同对即将建立的会话进行鉴权,判断即将建立的会话是否合法,为合法的会话授权;Step S108, AME and SME collaborate to authenticate the session to be established, determine whether the session to be established is legal, and authorize the legal session;
步骤S109,SME向MN接入的ASN发送MN会话创建请求,ASN接收到会话请求后向SME反馈响应信息;Step S109: The SME sends an MN session creation request to the ASN accessed by the MN. After receiving the session request, the ASN feeds back response information to the SME;
步骤S110,SME接收到响应信息后,将即将创建的会话信息转发给AME,AME接收到后向SME反馈响应信息;Step S110: After receiving the response information, the SME forwards the session information to be created to the AME. After receiving the response information, the AME feeds back the response information to the SME;
步骤S111,ASN通过接入网络(RAN)与移动终端进行特定于ASN的会话建立,会话标识符为MN的用户身份标识UID,建立过程包含向移动终端MN发送会话请求响应信息,Step S111, the ASN establishes an ASN-specific session with the mobile terminal through the access network (RAN). The session identifier is the user identity identifier UID of the MN. The establishment process includes sending session request response information to the mobile terminal MN.
至此,MN与移动边缘应用(ME APP)会话建立完成。At this point, the session establishment between the MN and the mobile edge application (ME APP) is completed.
其中,步骤S2中网络层与应用层通知协同机制,具体如下:Among them, in step S2, the network layer and application layer notify the coordination mechanism, as follows:
运营商和第三方应用之间可通过策略控制网元(PCE)、应用功能(AF)、网络能力开放网元(NEE)间的消息实现相互通知的协同机制,从而实现第三应用基于业务特点向网络发送需求以及MN位置和网络状态改变时及时通知到应用,Operators and third-party applications can implement a collaborative mechanism for mutual notification through messages between Policy Control Elements (PCE), Application Functions (AF), and Network Capability Exposure Network Elements (NEE), thereby enabling third-party applications to be based on business characteristics. Send requirements to the network and promptly notify applications when the MN location and network status change.
步骤S201,应用层订阅网络事件通知,可以通过AF以3种方式实现,Step S201, the application layer subscribes to network event notifications, which can be implemented through AF in three ways:
方式1,应用层通过AF请求消息传递应用对网络资源的请求,从而实现网络层保障该业务所需的时延、带宽需求,Method 1: The application layer transmits the application's request for network resources through the AF request message, thereby realizing the network layer's delay and bandwidth requirements required for the service.
方式2,应用层通过AF/NEE向网络层订阅事件通知消息,例如节点发生跨网关切换,以便当网络检测到订阅的事件触发时,立刻通知AF,Method 2: The application layer subscribes to event notification messages to the network layer through AF/NEE. For example, when a node switches across gateways, AF is notified immediately when the network detects that the subscribed event is triggered.
方式3,应用层通过AF发起终端数据路由的修改过程,调整上下行链路和多归属策略实现对接入连接点ASN的管理,Method 3: The application layer initiates the modification process of terminal data routing through AF, and adjusts the uplink and downlink and multi-homing policies to manage the access connection point ASN.
步骤S202,AF接收到订阅消息后,向PCE发送影响路由策略控制信息的AF请求;Step S202: After receiving the subscription message, the AF sends an AF request affecting the routing policy control information to the PCE;
步骤S203,网络层PCE接收到AF订阅消息发生,例如无线电网络信息服务(RNIS)感知到会话的接入连接点ASN发生改变、数据网络(DN)接入标识符(DNAI)改变等事件发生,网络层将发送通知消息给应用层,包含改变后的目标数据网络标识DNAI,目的是应用层获取目标ME主机位置进行应用迁移,保障接入节点ASN和目标APP位置的一致性。Step S203: The network layer PCE receives the AF subscription message. For example, the Radio Network Information Service (RNIS) senses that the access connection point ASN of the session has changed, the data network (DN) access identifier (DNAI) has changed, and other events occur. The network layer will send a notification message to the application layer, including the changed target data network identifier DNAI. The purpose is for the application layer to obtain the target ME host location for application migration and ensure the consistency of the access node ASN and the target APP location.
其中,步骤S3所述网络层切换管理与应用层边缘应用迁移流程,具体如下:Among them, the network layer switching management and application layer edge application migration process described in step S3 are as follows:
移动终端MN即将离开源接入服务节点S-ASN的服务范围,进行信号检测,检测到新的ASN的信号大于S-ASN的信号,且信号强度之差超过一定阈值,将此ASN设为目的接入服务节点T-ASN,T-ASN的移动应用平台作为目标移动应用平台T-MEP,触发应用层边缘应用MEAPP迁移,The mobile terminal MN is about to leave the service range of the source access service node S-ASN and performs signal detection. It detects that the signal of the new ASN is greater than the signal of the S-ASN, and the difference in signal strength exceeds a certain threshold, and sets this ASN as the destination. Access the service node T-ASN, and the mobile application platform of T-ASN serves as the target mobile application platform T-MEP, triggering the migration of the application layer edge application MEAPP.
移动终端MN发生跨网关移动,应用层边缘应用ME APP迁移流程分为6个模块,When the mobile terminal MN moves across gateways, the application layer edge application ME APP migration process is divided into 6 modules.
模块1,MN与S-ASN分离,Module 1, MN and S-ASN separation,
步骤S301,MN即将离开S-ASN的服务范围,MN中的客户端APP向源边缘网络中的S-MEP发送应用移动请求,S-MEP向MN反馈响应;Step S301: The MN is about to leave the service range of the S-ASN. The client APP in the MN sends an application move request to the S-MEP in the source edge network, and the S-MEP feeds back a response to the MN;
步骤S302,S-MEP启用应用移动性,为S-APP的迁移做准备,其中包含定位与MN APP会话的S-APP、整理会话上下文数据等;Step S302, S-MEP enables application mobility to prepare for S-APP migration, which includes locating the S-APP that is in session with the MN APP, organizing session context data, etc.;
模块2,MN接入T-ASN,。Module 2, MN accesses T-ASN.
步骤S303,步骤为MN网络层进行切换管理和应用层会话更新流程;Step S303: The MN network layer performs handover management and application layer session update process;
模块3,为MN更新流量规则,Module 3, update traffic rules for MN,
步骤S304,移动终端MN接入T-ASN,S-RNIS收到MN的切换消息,向S-MEP发送MN区域改变通知,S-MEP接收到之后向S-RNIS反馈确认响应;Step S304: The mobile terminal MN accesses the T-ASN. The S-RNIS receives the handover message of the MN and sends the MN area change notification to the S-MEP. After receiving the message, the S-MEP feeds back a confirmation response to the S-RNIS;
步骤S305,S-MEP向S-MEPM查询能够让MN接收到信息的目标主机T-MEC主机,S-MEPM将查询转发给MEO,MEO通过运营商策略、移动策略、应用要求、应用能力、移动边缘系统状态等一系列策略方式,最终MEO确定T-MEC主机,并将信息通过S-MEPM转发给S-MEP,以便S-MEP能够与T-MEP联系,同时S-MEP获取平台中需要迁移到T-MEP的S-APP和会话上下文信息;Step S305, S-MEP queries S-MEPM for the target host T-MEC host that allows the MN to receive information. S-MEPM forwards the query to MEO. MEO passes the operator policy, mobility policy, application requirements, application capabilities, and mobility A series of strategic methods such as edge system status, MEO finally determines the T-MEC host and forwards the information to S-MEP through S-MEPM so that S-MEP can contact T-MEP. At the same time, S-MEP obtains the need to migrate in the platform S-APP and session context information to T-MEP;
步骤S306,S-MEP查询受影响的流量路由规则,该规则包括业务过滤器的一部分MNUID和作为应用程序一部分的应用信息;Step S306, S-MEP queries the affected traffic routing rules, which include MNUID as part of the service filter and application information as part of the application program;
步骤S307,S-MEP向T-MEP发送流量路由规则更新请求,其中包含应用信息和受影响的流量路由规则;Step S307, S-MEP sends a traffic routing rule update request to T-MEP, which contains application information and affected traffic routing rules;
步骤S308,T-MEP接收来自S-MEP流量路由规则更新请求,更新本地流量路由规则;Step S308, the T-MEP receives the traffic routing rule update request from the S-MEP and updates the local traffic routing rules;
步骤S309,更新完成之后向S-MEP反馈流量路由规则更新响应;Step S309: After the update is completed, feed back the traffic routing rule update response to the S-MEP;
模块4,应用迁移管理,Module 4, Application Migration Management,
步骤S310,MN网络层切换完成,T-MEP路由规则更新完成,MN APP向S-MEP发送应用迁移请求;Step S310: The MN network layer switching is completed, the T-MEP routing rule update is completed, and the MN APP sends an application migration request to the S-MEP;
步骤S311,S-MEP捕获正在服务的S-APP状态信息和步骤S305获取完成的会话上下文信息;Step S311, S-MEP captures the status information of the serving S-APP and obtains the completed session context information in step S305;
步骤S312,S-MEP通过S-MEPM向MEO发送应用迁移请求,包含S-APP ID和目标节点的ID;Step S312, S-MEP sends an application migration request to MEO through S-MEPM, including the S-APP ID and the ID of the target node;
步骤S313,MEO向T-MEPM发送实例化应用请求,T-MEPM在目标T-MEC主机实例化T-APP;Step S313, MEO sends an instantiation application request to T-MEPM, and T-MEPM instantiates T-APP on the target T-MEC host;
步骤S314,实例化完成,MEO通过S-MEPM向S-MEP反馈应用迁移响应;Step S314: The instantiation is completed, and MEO feeds back the application migration response to S-MEP through S-MEPM;
步骤S315,S-MEP向T-MEP发送应用状态信息传输请求,该应用状态信息传输请求包含所捕获的S-APP的状态信息和会话上下文信息;Step S315, the S-MEP sends an application status information transmission request to the T-MEP. The application status information transmission request includes the captured status information and session context information of the S-APP;
步骤S316,T-MEP将接收到的服务状态信息和上下文信息与在T-MEC主机上运行的T-APP进行同步,并激活;Step S316, T-MEP synchronizes the received service status information and context information with the T-APP running on the T-MEC host, and activates it;
步骤S317,T-MEP向S-MEP发送应用状态信息传输响应,以指示应用实例传输的服务状态是否成功;Step S317, T-MEP sends an application status information transmission response to S-MEP to indicate whether the service status transmitted by the application instance is successful;
步骤S318,T-APP实例在服务状态信息和上下文信息同步后,向T-MEP发送应用实例运行通知;Step S318: After the service status information and context information are synchronized, the T-APP instance sends an application instance running notification to the T-MEP;
步骤S319,T-MEP向S-MEP转发T-APP应用实例运行通知;Step S319, T-MEP forwards the T-APP application instance running notification to S-MEP;
步骤S320,S-MEP向MN APP发送应用迁移响应,触发下一个模块;Step S320, S-MEP sends an application migration response to the MN APP to trigger the next module;
模块5,激活新的流量路由规则,Module 5, activate new traffic routing rules,
步骤S321,T-APP向T-MEP激活流量路由规则;Step S321, T-APP activates traffic routing rules to T-MEP;
步骤S322,T-MEP激活流量路由规则;Step S322, T-MEP activates traffic routing rules;
步骤S323,T-MEP向S-MEP转发流量路由规则激活通知;Step S323: T-MEP forwards the traffic routing rule activation notification to S-MEP;
步骤S324,S-APP向S-MEP发送停用或更新本地流量规则请求;Step S324, S-APP sends a request to deactivate or update local traffic rules to S-MEP;
步骤S325,S-MEP从S-RNIS接收RNIS区域更改通知;Step S325, S-MEP receives the RNIS area change notification from S-RNIS;
步骤S326,当S-MEP接收到T-MEP的流量路由规则激活通知和S-APP的流量路由停用或更新请求后,S-MEP停用或更新相应的流量路由规则;Step S326, when S-MEP receives the traffic routing rule activation notification from T-MEP and the traffic routing deactivation or update request from S-APP, S-MEP deactivates or updates the corresponding traffic routing rules;
模块6,终止源应用。Module 6, terminate the source application.
步骤S327,如果需要节省资源等,S-MEP、S-MEPM、MEO、S-APP、S-RNIS协同终止源应用。Step S327: If it is necessary to save resources, etc., S-MEP, S-MEPM, MEO, S-APP, and S-RNIS collaboratively terminate the source application.
其中,步骤S303网络层切换管理流程和应用会话更新流程,具体如下:Among them, step S303 network layer switching management process and application session update process are as follows:
步骤S303-1,MN触发网络切换,向AME发送会话修改请求,请求报文中包含会话ID;Step S303-1: MN triggers network switching and sends a session modification request to AME, and the request message contains the session ID;
步骤S303-2,AME接收到会话修改请求,根据会话ID向会话对应的会话管理网元SME发送会话修改请求,SME接收到请求后反馈给AME会话修改响应,进行会话修改准备工作;Step S303-2: AME receives the session modification request and sends the session modification request to the session management network element SME corresponding to the session according to the session ID. After receiving the request, SME feeds back a session modification response to AME to prepare for the session modification;
步骤S303-3,AME接收到响应后,向MN发送会话修改命令,MN开启计时器,进行网络切换;Step S303-3: After receiving the response, the AME sends a session modification command to the MN, and the MN starts the timer and performs network switching;
步骤S303-4,MN向T-ASN发起路由请求,请求中包含授权信息,请求接入T-ASN;Step S303-4: The MN initiates a routing request to the T-ASN. The request contains authorization information and requests access to the T-ASN;
步骤S303-5,T-ASN接收到路由请求,分配给MN新的路由标识RID2,并将UID/RID2的映射信息记录到本地缓存中;Step S303-5: T-ASN receives the routing request, assigns a new routing identifier RID2 to the MN, and records the UID/RID2 mapping information into the local cache;
步骤S303-6,T-ASN向S-ASN建立临时传输隧道,同时T-ASN向ILR发送映射信息更新请求,ILR接收到更新请求后,对本地缓存中的映射信息进行更新,记录最新的MN的映射信息;Step S303-6: T-ASN establishes a temporary transmission tunnel to S-ASN. At the same time, T-ASN sends a mapping information update request to ILR. After receiving the update request, ILR updates the mapping information in the local cache and records the latest MN. mapping information;
步骤S303-7,T-ASN向MN发送路由请求成功响应,进行后续会话修改工作;Step S303-7: T-ASN sends a successful response to the routing request to the MN and performs subsequent session modification work;
步骤S303-8,接入工作完成之后,MN通过T-ASN,向AME发送新会话建立请求,数据包中包含新旧会话的ID;Step S303-8: After the access work is completed, the MN sends a new session establishment request to the AME through the T-ASN, and the data packet contains the IDs of the old and new sessions;
步骤S303-9,AME接收到新会话建立请求后,向管理旧会话的SME发送会话修改请求,包含新旧会话ID;Step S303-9: After receiving the new session establishment request, the AME sends a session modification request to the SME that manages the old session, including the old and new session IDs;
步骤S303-10,管理旧会话的SME确定需要执行的ASN,并对ASN进行重新定位;Step S303-10: The SME that manages the old session determines the ASN that needs to be executed and relocates the ASN;
步骤S303-11,反馈AME会话修改响应,该数据包包含新会话的信息;Step S303-11: Feed back the AME session modification response. This data packet contains the information of the new session;
步骤S303-12,SME向T-ASN发送会话修改请求,T-ASN向SME反馈会话修改响应;Step S303-12: SME sends a session modification request to T-ASN, and T-ASN feeds back a session modification response to SME;
步骤S303-13,T-ASN与MN建立特定于T-ASN的会话,建立完成后向MN发送新会话建立成功响应;Step S303-13, T-ASN establishes a T-ASN-specific session with the MN, and sends a new session establishment success response to the MN after the establishment is completed;
步骤S303-14,新会话建立完成后,等待计时器停止,MN释放与S-ASN的会话资源。Step S303-14: After the new session is established, the wait timer stops and the MN releases the session resources with the S-ASN.
一种保障MEC业务连续性的重放置方法的结构,所述结构包括网络层结构和应用层结构,A structure of a relocation method that ensures MEC business continuity, the structure includes a network layer structure and an application layer structure,
网络层结构分为中心DC(Data Center,即数据中心)、本地DC、边缘DC,将应用资源卸载到距离用户更近的位置,移动终端包含多种类型。例如手机、自动驾驶汽车、高速列车、无人机等。本发明所述保障MEC业务连续性的重放置网络层结构如图1所示,应用层结构如图2所示,其中主要网元和功能实体包括:The network layer structure is divided into central DC (Data Center, i.e. data center), local DC, and edge DC. Application resources are offloaded to locations closer to users. Mobile terminals include multiple types. For example, mobile phones, self-driving cars, high-speed trains, drones, etc. The relocation network layer structure to ensure MEC business continuity according to the present invention is shown in Figure 1, and the application layer structure is shown in Figure 2, in which the main network elements and functional entities include:
其中,网络层结构包括Among them, the network layer structure includes
接入服务节点ASN,ASN是接入网络和核心网络的接口,同时也是移动终端MN的接入连接点,负责保障MN与整个网络的通信连接、向MN分配位置地址RID、注册、认证、授权、流量计费,在控制层面缓存移动终端的UID/RID的映射关系,在数据层面中,ASN负责封装和解封装网络中的数据包,Access service node ASN, ASN is the interface between the access network and the core network, and is also the access connection point of the mobile terminal MN. It is responsible for ensuring the communication connection between the MN and the entire network, assigning the location address RID to the MN, registration, authentication, and authorization. , Traffic accounting, caching the UID/RID mapping relationship of the mobile terminal at the control level. In the data level, ASN is responsible for encapsulating and decapsulating data packets in the network.
身份位置寄存器ILR(Identifier Locator Register),ILR负责维护、管理移动终端最新的UID/RID映射关系、初始注册流程、广域网通信对端的RID查询,Identity Location Register (Identifier Locator Register), ILR is responsible for maintaining and managing the latest UID/RID mapping relationship of the mobile terminal, the initial registration process, and the RID query of the WAN communication peer.
会话管理网元SME,SME负责会话管理,隧道维护,路由标识分配和管理,ASN选择,策略实施和QoS控制和流量计费,此网元包含多种类型,例如5G网络中的SMF(SessionManagement Function,即会话管理功能),4G网络中MME的会话管理功能等。Session management network element SME, SME is responsible for session management, tunnel maintenance, route identification allocation and management, ASN selection, policy implementation, QoS control and traffic accounting. This network element includes many types, such as SMF (SessionManagement Function) in 5G network , that is, the session management function), the session management function of the MME in the 4G network, etc.
接入和移动性管理网元AME,AME是终端和无线核心网的接入点,负责执行注册、连接、可达性、移动性管理,为移动终端和SME提供会话管理信息传输通道,为移动终端接入提供认证、鉴权功能,此网元包含多种类型,例如5G网络中的AMF(Access and MobilityManagement Function,即接入和移动管理功能),4G网络中MME中NAS接入控制功能。Access and mobility management network element AME. AME is the access point of terminals and wireless core networks. It is responsible for performing registration, connection, reachability, and mobility management, and provides session management information transmission channels for mobile terminals and SMEs. Terminal access provides authentication and authentication functions. This network element includes various types, such as AMF (Access and Mobility Management Function) in the 5G network, and the NAS access control function in the MME in the 4G network.
策略控制网元PCE(Policy Control Network Element,即策略控制网元),PCE支持管控网络行为的统一策略框架,提供策略规则给控制面执行,访问数据库中与策略制定相关的订阅信息,此网元包含多种类型,例如5G网络中的PCF(Policy Control Function,即策略控制功能),4G网络中的PCRF(Policy and Charging Rule Function,即策略和计费控制单元)。Policy Control Network Element PCE (Policy Control Network Element), PCE supports a unified policy framework for controlling network behavior, provides policy rules for control plane execution, and accesses subscription information related to policy formulation in the database. This network element It includes many types, such as PCF (Policy Control Function) in 5G network and PCRF (Policy and Charging Rule Function) in 4G network.
网络能力开放网元NEE(Network Exposure Network Element,即网络能力开放网元),NEE提供网络功能能力的外部公开,外部暴露可分为监控能力、供应能力、流量路由的应用和影响和策略/计费能力。此网元包含多种类型,例如5G网络中的NEF(NetworkExposure Function,即网络能力开放),4G网络中的SCEF(Service Capability ExposureFunction,即服务能力开放)。Network capability exposure network element NEE (Network Exposure Network Element), NEE provides external exposure of network functional capabilities. External exposure can be divided into monitoring capabilities, supply capabilities, traffic routing applications and impacts, and policies/planning. spending ability. This network element includes many types, such as NEF (Network Exposure Function, that is, network capability exposure) in the 5G network, and SCEF (Service Capability Exposure Function, that is, service capability exposure) in the 4G network.
其中,应用层结构包括:Among them, the application layer structure includes:
移动边缘应用ME APP,ME APP是运行在虚拟化基础设施上的应用实例,可以与移动边缘平台进行交互,以获取移动边缘平台的服务化开放能力,Mobile edge application ME APP. ME APP is an application instance running on the virtualized infrastructure. It can interact with the mobile edge platform to obtain the service-oriented open capabilities of the mobile edge platform.
移动边缘平台MEP,MEP负责为APP提供移动边缘服务,包括:服务注册、服务发现、状态监控、本地分流、DNS服务、负载均衡器、防火墙、以及无线网络信息服务、位置信息服务、带宽管理服务等一系列无线网络能力服务。在分布式MEC系统的协作机制中,可以与不同MEP互联。Mobile edge platform MEP, MEP is responsible for providing mobile edge services for APP, including: service registration, service discovery, status monitoring, local offloading, DNS service, load balancer, firewall, as well as wireless network information service, location information service, and bandwidth management service and a series of wireless network capability services. In the collaboration mechanism of the distributed MEC system, it can be interconnected with different MEPs.
无线电网络信息服务RNIS(Radio Network Information Service,即无线电网络信息服务),RNIS为ME APP提供无线网络相关信息的服务,ME APP可以通过查阅或订阅的方式来获取到期望的无线网络信息,如移动终端发生切换。Radio Network Information Service RNIS (Radio Network Information Service), RNIS provides wireless network related information services to ME APP. ME APP can obtain the desired wireless network information by consulting or subscribing, such as mobile The terminal switches.
移动边缘平台管理器MEPM,MEPM负责MEP的基本运维、移动边缘服务配置、ME APP的生命周期管理以及ME APP的应用规则和需求管理等功能,Mobile edge platform manager MEPM. MEPM is responsible for the basic operation and maintenance of MEP, mobile edge service configuration, life cycle management of ME APP, and application rules and demand management of ME APP.
移动边缘编排器MEO,MEO是MEC业务的编排中心,通常全国只部署一个,位于中心DC,MEO宏观掌握MEC平台所有的资源和容量,主要包括虚拟基础设施管理器中的计算、存储、网络资源、应用程序镜像资源、检查软件包的完整性和真实性,然后还需要衡量用户资源需求以及各ME主机的可用资源,为其选择最为合适的ME主机进行部署。Mobile edge orchestrator MEO, MEO is the orchestration center of MEC services. Usually only one is deployed in the country, located in the central DC. MEO macroscopically controls all resources and capacities of the MEC platform, mainly including computing, storage, and network resources in the virtual infrastructure manager. , application mirror resources, check the integrity and authenticity of the software package, and then also need to measure the user resource requirements and the available resources of each ME host, and select the most appropriate ME host for deployment.
应用功能AF(Application Function),AF是指核心网应用层中的各类服务,可以是运营商内部的应用、也可以是第三方的AF如视频服务器等。也可以放置到网络边缘,例如RNIS。Application Function AF (Application Function) refers to various services in the application layer of the core network. It can be an operator's internal application or a third-party AF such as a video server. It can also be placed at the edge of the network, such as RNIS.
数据转发平面软件DP(Data Plane),DP负责执行MEP下发的流量规则,处理MEAPP、ME服务、DNS服务器、代理服务器、3GPP网络、其他访问网络、局域网和外部网络之间的流量。Data forwarding plane software DP (Data Plane), DP is responsible for executing the traffic rules issued by the MEP and processing the traffic between MEAPP, ME service, DNS server, proxy server, 3GPP network, other access networks, LAN and external networks.
相对于现有技术,本发明具有如下优点,(1)采用统一的MEC业务重放置方法,以适应不同场景和业务的各种连续性需求,实现以较低的业务迁移开销换取较小的业务时延,同时简化了MEC业务重放置流程和网络部署。Compared with the existing technology, the present invention has the following advantages: (1) It adopts a unified MEC service relocation method to adapt to different scenarios and various continuity requirements of services, and achieves lower service migration overhead in exchange for smaller services. delay, while simplifying the MEC service relocation process and network deployment.
(2)应用之间的会话信息与移动终端的身份标识绑定,身份标识全网唯一,降低了身份位置统一通信地址变化对终端业务时延可靠性的影响,解决了有些MEC应用不支持会话过程中通信地址改变的问题,同时保障了移动终端发生跨网关移动时MEC业务重放置的连续性。(2) The session information between applications is bound to the identity of the mobile terminal. The identity is unique in the entire network, which reduces the impact of changes in the unified communications address of the identity location on the terminal service delay reliability and solves the problem that some MEC applications do not support sessions. The communication address changes during the process, while ensuring the continuity of MEC service relocation when the mobile terminal moves across gateways.
(3)采用上述网络标识方式,数据包转发不涉及移动性锚点,跨网关移动后的接入连接点和APP处于贴近用户的同一位置,在保障业务连续性的基础上,消除了路由迂回,减少了不必要的节点和链路时延,提高了转发的可靠性。(3) Using the above network identification method, data packet forwarding does not involve mobility anchor points. After cross-gateway movement, the access connection point and the APP are at the same location close to the user. On the basis of ensuring business continuity, routing detours are eliminated. , reducing unnecessary node and link delays and improving forwarding reliability.
(4)网络感知应用的位置变化时通知应用平台,提前进行准备流程,通过应用平台和网络协同的方式,快速在目的MEP上分配新应用实例。加快了应用对终端行为、网络状态的感知,实现了接入连接点和目标应用的位置一致性,实现MEC业务在移动切换过程中应用快速迁移和业务连续性保障。(4) The network notifies the application platform when it senses the location of the application, carries out the preparation process in advance, and quickly allocates new application instances on the destination MEP through collaboration between the application platform and the network. It accelerates the application's perception of terminal behavior and network status, achieves location consistency between access connection points and target applications, and enables rapid application migration and business continuity guarantee of MEC services during mobile handover.
(5)采用身份标识、路由标识代替统一的网络地址,网络转发不涉及移动性锚点,这种范式简化了网络架构和网络资源,支持多类型终端的简便接入。(5) Identity identifiers and routing identifiers are used instead of unified network addresses, and network forwarding does not involve mobility anchors. This paradigm simplifies the network architecture and network resources, and supports easy access for multiple types of terminals.
(6)该方案中网络管理员为每个移动终端设备分配唯一的用户身份标识(UID),接入服务节点为移动终端分配路由标识(RID),UID/RID映射信息代替原本身份位置统一的通信地址,移动边缘平台将应用会话与移动终端身份标识UID绑定。(6) In this solution, the network administrator assigns a unique user identity identifier (UID) to each mobile terminal device, the access service node assigns a routing identifier (RID) to the mobile terminal, and the UID/RID mapping information replaces the original unified identity location. Communication address, the mobile edge platform binds the application session to the mobile terminal identity UID.
(7)移动终端、网络连接和边缘应用三者协同迁移:移动终端即将发生跨网关移动时,移动终端、网络连接和边缘应用三者协同进行跨网关迁移。(7) Collaborative migration of mobile terminals, network connections and edge applications: When the mobile terminal is about to move across gateways, the mobile terminal, network connection and edge applications collaborate to migrate across gateways.
(8)不涉及移动性锚点边缘网络的网络层和应用层结构:边缘网络网络层由移动终端、接入服务节点与数据网络组成,应用层结构由客户端应用、接入服务节点应用、数据平面软件、移动边缘平台、无线电网络信息服务、移动边缘应用组成。网络中不涉及移动性锚点,消除了路由迂回,减少了不必要的节点时延和链路时延,提高了数据包转发的可靠性。移动终端上线注册登记和会话注册流程,会话与终端身份标识绑定。(8) The network layer and application layer structure of the mobility anchor edge network are not involved: the edge network network layer consists of mobile terminals, access service nodes and data networks, and the application layer structure consists of client applications, access service node applications, It consists of data plane software, mobile edge platform, radio network information services, and mobile edge applications. No mobility anchors are involved in the network, routing detours are eliminated, unnecessary node delays and link delays are reduced, and the reliability of data packet forwarding is improved. Mobile terminal online registration and session registration process, the session is bound to the terminal identity.
(9)该方案中,移动终端发生跨网关切换,网络层与应用层通知协同机制:网络感知到终端切换事件发生时通知应用平台,提前进行准备流程,加快应用对终端行为、网络状态感知,实现接入连接点和目标应用的位置一致性。(9) In this solution, when a mobile terminal switches across gateways, the network layer and application layer notify the coordination mechanism: when the network senses that a terminal switching event occurs, it notifies the application platform, carries out the preparation process in advance, and speeds up the application's perception of terminal behavior and network status. Achieve location consistency between access connection points and target applications.
(10)移动终端发生跨网关切换时,应用层边缘应用迁移信令流程:提供一种统一的高效的应用层边缘应用迁移方法,简化应用迁移流程,减小业务迁移时延。(10) Application layer edge application migration signaling process when mobile terminals switch across gateways: Provide a unified and efficient application layer edge application migration method to simplify the application migration process and reduce business migration delays.
(11)移动终端发生跨网关切换时,网络层切换管理和应用层会话更新的信令流程:提供一种高效网络层跨网关切换方法,减少切换时间。(11) When a cross-gateway handover occurs in a mobile terminal, the signaling process of network layer handover management and application layer session update: provides an efficient network layer cross-gateway handover method to reduce handover time.
(12)一种移动终端与广域网应用主机数据包转发的流程:为移动终端和广域网应用主机提供一种不涉及移动性锚点的数据包转发流程。(12) A process for forwarding data packets between mobile terminals and WAN application hosts: providing a data packet forwarding process that does not involve mobility anchor points for mobile terminals and WAN application hosts.
(13)一种基于DHT-MAP的网络控制平面ILR的部署方案和运作机制:控制面由若干ILR组成,划分不同的自治域,各域的ILR基于DHT-MAP存储和查询终端映射信息。(13) A deployment scheme and operation mechanism of a network control plane ILR based on DHT-MAP: The control plane consists of several ILRs, divided into different autonomous domains. The ILRs in each domain store and query terminal mapping information based on DHT-MAP.
附图说明Description of drawings
图1是本发明所述保障MEC业务连续性的重放置方法的网络层结构与切换过程中数据包转发路径示意图;Figure 1 is a schematic diagram of the network layer structure and the data packet forwarding path during the handover process of the relocation method to ensure MEC business continuity according to the present invention;
图2是本发明所述保障MEC业务连续性的重放置方法的应用层结构与切换过程数据传输路径示意图;Figure 2 is a schematic diagram of the application layer structure and data transmission path of the switching process of the relocation method to ensure MEC business continuity according to the present invention;
图3是本发明所述移动终端发生跨网关切换应用层边缘应用迁移流程示意图;Figure 3 is a schematic diagram of the application layer edge application migration process when cross-gateway switching occurs in the mobile terminal of the present invention;
图4是本发明所述移动终端发生跨网关切换网络层切换管理和应用会话更新流程示意图;Figure 4 is a schematic diagram of the flow of network layer handover management and application session update when cross-gateway handover occurs in the mobile terminal of the present invention;
图5是本发明所述移动终端发生跨网关切换网络层与应用层通知协同机制示意图;Figure 5 is a schematic diagram of the network layer and application layer notification coordination mechanism when cross-gateway switching occurs in the mobile terminal of the present invention;
图6是本发明所述移动终端与广域网应用主机数据包转发结构示意图。Figure 6 is a schematic diagram of the data packet forwarding structure between the mobile terminal and the wide area network application host according to the present invention.
具体实施方式Detailed ways
为了加深对本发明的理解,下面结合附图对本实施例做详细的说明。In order to deepen the understanding of the present invention, this embodiment will be described in detail below with reference to the accompanying drawings.
实施例1:保障MEC业务连续性的重放置方法的网络层和应用层结构,参见图1-图2,Embodiment 1: The network layer and application layer structures of the relocation method to ensure MEC business continuity are shown in Figures 1-2.
本发明所述的保障MEC业务连续性的重放置方法的网络层结构如图1所示,网络层分为中心DC(Data Center,即数据中心)、本地DC、边缘DC,将应用资源卸载到距离用户更近的位置。移动终端包含多种类型,例如手机、自动驾驶汽车、高速列车、无人机等。本发明所述保障MEC业务连续性的重放置网络层结构如图1所示,应用层结构如图2所示,其中主要网元和功能实体包括:The network layer structure of the relocation method for ensuring MEC business continuity according to the present invention is shown in Figure 1. The network layer is divided into a central DC (Data Center), a local DC, and an edge DC. Application resources are offloaded to A location closer to the user. Mobile terminals include many types, such as mobile phones, self-driving cars, high-speed trains, drones, etc. The relocation network layer structure to ensure MEC business continuity according to the present invention is shown in Figure 1, and the application layer structure is shown in Figure 2, in which the main network elements and functional entities include:
网络层:Network layer:
接入服务节点ASN。ASN是接入网络和核心网络的接口,同时也是移动终端MN的接入连接点。负责保障MN与整个网络的通信连接、向MN分配位置地址RID、注册、认证、授权、流量计费等。在控制层面缓存移动终端的UID/RID的映射关系。在数据层面中,ASN负责封装和解封装网络中的数据包。Access service node ASN. ASN is the interface between the access network and the core network, and is also the access connection point of the mobile terminal MN. Responsible for ensuring the communication connection between MN and the entire network, assigning location address RID to MN, registration, authentication, authorization, traffic accounting, etc. The UID/RID mapping relationship of the mobile terminal is cached at the control level. In the data plane, ASN is responsible for encapsulating and decapsulating data packets in the network.
身份位置寄存器ILR(Identifier Locator Register)。ILR负责维护、管理移动终端最新的UID/RID映射关系、初始注册流程、广域网通信对端的RID查询。Identity location register ILR (Identifier Locator Register). The ILR is responsible for maintaining and managing the latest UID/RID mapping relationship of the mobile terminal, the initial registration process, and the RID query of the WAN communication peer.
会话管理网元SME。SME负责会话管理,隧道维护,路由标识分配和管理,ASN选择,策略实施和QoS控制和流量计费等。此网元包含多种类型,例如5G网络中的SMF(SessionManagement Function,即会话管理功能),4G网络中MME的会话管理功能等。Session management network element SME. SME is responsible for session management, tunnel maintenance, route identification allocation and management, ASN selection, policy implementation, QoS control and traffic accounting, etc. This network element includes many types, such as SMF (Session Management Function) in the 5G network, the session management function of the MME in the 4G network, etc.
接入和移动性管理网元AME。AME是终端和无线核心网的接入点,负责执行注册、连接、可达性、移动性管理。为移动终端和SME提供会话管理信息传输通道,为移动终端接入提供认证、鉴权功能。此网元包含多种类型,例如5G网络中的AMF(Access and MobilityManagement Function,即接入和移动管理功能),4G网络中MME中NAS接入控制功能。Access and mobility management network element AME. AME is the access point for terminals and wireless core networks and is responsible for performing registration, connection, reachability, and mobility management. Provides session management information transmission channels for mobile terminals and SMEs, and provides authentication and authentication functions for mobile terminal access. This network element includes many types, such as AMF (Access and Mobility Management Function) in the 5G network, and the NAS access control function in the MME in the 4G network.
策略控制网元PCE(Policy Control Network Element,即策略控制网元)。PCE支持管控网络行为的统一策略框架,提供策略规则给控制面执行,访问数据库中与策略制定相关的订阅信息。此网元包含多种类型,例如5G网络中的PCF(Policy Control Function,即策略控制功能),4G网络中的PCRF(Policy and Charging Rule Function,即策略和计费控制单元)。Policy Control Network Element PCE (Policy Control Network Element). PCE supports a unified policy framework for controlling network behavior, provides policy rules for control plane execution, and accesses subscription information related to policy formulation in the database. This network element includes many types, such as PCF (Policy Control Function) in the 5G network and PCRF (Policy and Charging Rule Function) in the 4G network.
网络能力开放网元NEE(Network Exposure Network Element,即网络能力开放网元)。NEE提供网络功能能力的外部公开。外部暴露可分为监控能力、供应能力、流量路由的应用和影响和策略/计费能力。此网元包含多种类型,例如5G网络中的NEF(NetworkExposure Function,即网络能力开放),4G网络中的SCEF(Service Capability ExposureFunction,即服务能力开放)。Network capability exposure network element NEE (Network Exposure Network Element, that is, network capability exposure network element). NEE provides external exposure of network functional capabilities. External exposure can be divided into monitoring capabilities, provisioning capabilities, application and impact of traffic routing, and policy/billing capabilities. This network element includes many types, such as NEF (Network Exposure Function, that is, network capability exposure) in the 5G network, and SCEF (Service Capability Exposure Function, that is, service capability exposure) in the 4G network.
应用层:Application layer:
移动边缘应用ME APP。ME APP是运行在虚拟化基础设施上的应用实例,可以与移动边缘平台进行交互,以获取移动边缘平台的服务化开放能力。Mobile edge application ME APP. ME APP is an application instance running on virtualized infrastructure and can interact with the mobile edge platform to obtain the service-oriented open capabilities of the mobile edge platform.
移动边缘平台MEP。MEP负责为APP提供移动边缘服务,包括:服务注册、服务发现、状态监控、本地分流、DNS服务、负载均衡器、防火墙、以及无线网络信息服务、位置信息服务、带宽管理服务等一系列无线网络能力服务。在分布式MEC系统的协作机制中,可以与不同MEP互联。Mobile edge platform MEP. MEP is responsible for providing mobile edge services for APPs, including: service registration, service discovery, status monitoring, local offloading, DNS services, load balancers, firewalls, and a series of wireless networks such as wireless network information services, location information services, and bandwidth management services. Ability to serve. In the collaboration mechanism of the distributed MEC system, it can be interconnected with different MEPs.
无线电网络信息服务RNIS(Radio Network Information Service,即无线电网络信息服务)。RNIS为ME APP提供无线网络相关信息的服务,ME APP可以通过查阅或订阅的方式来获取到期望的无线网络信息,如移动终端发生切换。Radio Network Information Service RNIS (Radio Network Information Service). RNIS provides wireless network related information services to ME APP. ME APP can obtain the desired wireless network information by querying or subscribing, such as when a mobile terminal switches.
移动边缘平台管理器MEPM。MEPM负责MEP的基本运维、移动边缘服务配置、ME APP的生命周期管理以及ME APP的应用规则和需求管理等功能。Mobile Edge Platform Manager MEPM. MEPM is responsible for the basic operation and maintenance of MEP, mobile edge service configuration, life cycle management of ME APP, and application rules and demand management of ME APP.
移动边缘编排器MEO。MEO是MEC业务的编排中心,通常全国只部署一个,位于中心DC。MEO宏观掌握MEC平台所有的资源和容量,主要包括虚拟基础设施管理器中的计算、存储、网络资源、应用程序镜像资源、检查软件包的完整性和真实性,然后还需要衡量用户资源需求以及各ME主机的可用资源,为其选择最为合适的ME主机进行部署。Mobile edge orchestrator MEO. MEO is the orchestration center of MEC services. Usually there is only one deployed in the country, located in the central DC. MEO macroscopically masters all resources and capacities of the MEC platform, mainly including computing, storage, network resources, application image resources in the virtual infrastructure manager, checking the integrity and authenticity of software packages, and then also needs to measure user resource requirements and Based on the available resources of each ME host, select the most appropriate ME host for deployment.
应用功能AF(Application Function)。AF是指核心网应用层中的各类服务,可以是运营商内部的应用、也可以是第三方的AF如视频服务器等。也可以放置到网络边缘,例如RNIS。Application function AF (Application Function). AF refers to various services in the application layer of the core network, which can be internal applications of operators or third-party AF such as video servers. It can also be placed at the edge of the network, such as RNIS.
数据转发平面软件DP(Data Plane)。DP负责执行MEP下发的流量规则,处理MEAPP、ME服务、DNS服务器、代理服务器、3GPP网络、其他访问网络、局域网和外部网络之间的流量。Data forwarding plane software DP (Data Plane). The DP is responsible for executing the traffic rules issued by the MEP and processing the traffic between MEAPP, ME service, DNS server, proxy server, 3GPP network, other access networks, LAN and external networks.
进一步地,本发明为用户终端引入两种标识,用户身份标识(User Identifier,简称UID)和路由标识(Routing Identifier,简称RID)。UID是网络管理员为移动终端分配的唯一标识符,代表了节点的身份,在全网范围内保持静态无法改变。主要负责终端与应用、终端与通信对端之间通信时识别终端的身份。RID用于表示终端主机的当前位置,为终端通信期间的数据流量指明路由方向。采用UID/RID映射信息代替身份位置统一的通信地址,移动边缘应用平台将应用会话与移动终端MN的UID绑定。边缘DN通过UID进行通信,广域网通过RID进行通信,接入网络与核心网络分离,连接点为ASN,网络转发中不涉及移动性锚点。Further, the present invention introduces two identifiers for the user terminal, a user identity identifier (User Identifier, referred to as UID) and a routing identifier (Routing Identifier, referred to as RID). UID is a unique identifier assigned to mobile terminals by the network administrator. It represents the identity of the node and remains static throughout the network and cannot be changed. Mainly responsible for identifying the identity of the terminal when communicating between the terminal and the application, and between the terminal and the communication peer. RID is used to represent the current location of the terminal host and indicates the routing direction for data traffic during terminal communication. UID/RID mapping information is used to replace the communication address with unified identity and location, and the mobile edge application platform binds the application session to the UID of the mobile terminal MN. The edge DN communicates through UID, and the WAN communicates through RID. The access network is separated from the core network, the connection point is ASN, and the mobility anchor is not involved in network forwarding.
在本发明提出的MEC重放置方法中,提供了统一的MEC重放置方法应对不同的场景和业务的各种连续性需求,移动终端、网络连接和边缘应用协同迁移保障了MEC业务的连续性。In the MEC relocation method proposed by the present invention, a unified MEC relocation method is provided to cope with different scenarios and various continuity requirements of services. The collaborative migration of mobile terminals, network connections and edge applications ensures the continuity of MEC services.
实施例2:一种保障MEC业务连续性的重放置方法,所述方法包括以下步骤:所述方法包括以下步骤:Embodiment 2: A relocation method to ensure MEC business continuity. The method includes the following steps: The method includes the following steps:
步骤S1,移动终端MN上线,完成注册登记和会话注册流程,会话与终端身份标识绑定;Step S1: The mobile terminal MN goes online, completes the registration and session registration process, and binds the session to the terminal identity;
步骤S2,移动终端MN即将发生跨网关切换,触发网络层与应用层通知协同机制,应用层感知网络层状态变化;Step S2: The mobile terminal MN is about to undergo cross-gateway handover, triggering the network layer and application layer notification coordination mechanism, and the application layer senses the network layer status change;
步骤S3,移动终端MN发生跨网关切换,协同进行网络层切换管理与应用层边缘应用迁移流程。In step S3, the mobile terminal MN undergoes cross-gateway handover, and collaboratively performs network layer handover management and application layer edge application migration process.
具体如下:details as follows:
步骤S1中,移动终端MN注册登记和会话注册流程:In step S1, the mobile terminal MN registration and session registration process:
以移动终端MN为例,其注册登记和会话注册步骤为:Taking the mobile terminal MN as an example, its registration and session registration steps are:
步骤S101,移动终端MN上线,根据信号强度向其所属ASN发送路由请求,请求接入ASN;Step S101: The mobile terminal MN goes online, sends a routing request to the ASN to which it belongs based on the signal strength, and requests access to the ASN;
步骤S102,ASN接收到MN的路由请求后,向核心网中的AME发送鉴权和授权请求,AME为请求接入的终端进行鉴权服务,判断接入终端是否合法,AME为合法终端授权;Step S102: After receiving the routing request from the MN, the ASN sends an authentication and authorization request to the AME in the core network. The AME performs authentication services for the terminal requesting access, determines whether the access terminal is legal, and the AME authorizes the legal terminal;
步骤S103,ASN为授权后的MN分配合适的路由标识RID,并将MN的UID/RID1映射信息记录到本地缓存中;Step S103, the ASN allocates the appropriate routing identifier RID to the authorized MN, and records the MN's UID/RID1 mapping information into the local cache;
步骤S104,ASN向所述的ILR发送UID/RID1映射信息更新请求,告知ILR移动终端的最新的映射信息;Step S104, the ASN sends a UID/RID1 mapping information update request to the ILR to inform the ILR of the latest mapping information of the mobile terminal;
步骤S105,ILR接收到映射信息更新后,将移动终端的映射信息UID/RID1记录到本地缓存中,以供后续通信对端向MN发起通信查询MN的路由信息;Step S105: After receiving the update of the mapping information, the ILR records the mapping information UID/RID1 of the mobile terminal into the local cache so that subsequent communication peers can initiate communication to the MN to query the routing information of the MN;
步骤S106,接入工作完成后,ASN向MN发送路由请求成功响应。MN客户端APP向边缘数据中心中的边缘APP建立会话,此会话包含多种类型,例如5G网络中的PDU会话、4G网络中的PDN会话(Packet Data Network,即分组数据网络)。首先MN通过ASN向核心网中的AME发送会话建立请求;Step S106: After the access work is completed, the ASN sends a routing request success response to the MN. The MN client APP establishes a session to the edge APP in the edge data center. This session includes multiple types, such as PDU sessions in the 5G network and PDN sessions (Packet Data Network) in the 4G network. First, the MN sends a session establishment request to the AME in the core network through the ASN;
步骤S107,AME根据MN的RID信息,为MN需要建立的会话选择会话管理网元SME;Step S107: The AME selects the session management network element SME for the session that the MN needs to establish based on the MN's RID information;
步骤S108,AME向选中的SME发送MN会话创建请求,SME收到请求后向AME反馈响应信息;Step S108: AME sends an MN session creation request to the selected SME, and after receiving the request, the SME feeds back response information to the AME;
步骤S109,AME与SME协同对即将建立的会话进行鉴权,判断即将建立的会话是否合法,为合法的会话授权;Step S109: AME and SME collaborate to authenticate the session to be established, determine whether the session to be established is legal, and authorize the legal session;
步骤S110,SME向MN接入的ASN发送MN会话创建请求,ASN接收到会话请求后向SME反馈响应信息;Step S110: The SME sends an MN session creation request to the ASN accessed by the MN. After receiving the session request, the ASN feeds back response information to the SME;
步骤S111,SME接收到响应信息后,将即将创建的会话信息转发给AME,AME接收到后向SME反馈响应信息;Step S111: After receiving the response information, the SME forwards the session information to be created to the AME. After receiving the response information, the AME feeds back the response information to the SME;
步骤S112,ASN通过接入网络RAN与移动终端进行特定于ASN的会话建立,建立过程包含向移动终端MN发送会话请求响应信息。Step S112: The ASN establishes an ASN-specific session with the mobile terminal through the access network RAN. The establishment process includes sending session request response information to the mobile terminal MN.
MN与ME APP会话建立完成后,网络层的数据包转发路径如图1中的路径a;应用层数据通信路径如图2中的路径a。After the session between the MN and the ME APP is established, the network layer data packet forwarding path is path a in Figure 1; the application layer data communication path is path a in Figure 2.
步骤S2中,移动终端MN发生跨网关切换网络层与应用层通知协同机制In step S2, the mobile terminal MN switches network layer and application layer notification coordination mechanism across gateways.
保障MEC业务连续性的重放置机制,既需要应用层支持跨网关的应用迁移和上下文的快速迁移,还需要网络层与应用层之间的通知协同机制。The relocation mechanism to ensure MEC business continuity requires the application layer to support cross-gateway application migration and fast context migration, and also requires a notification coordination mechanism between the network layer and the application layer.
运营商和第三方应用之间可通过策略控制网元PCE、应用功能AF、网络能力开放网元NEE间的消息实现相互通知的协同机制,如图5所示,从而实现第三应用基于业务特点向网络发送需求以及MN位置和网络状态改变时及时通知到应用。Operators and third-party applications can implement a collaborative mechanism for mutual notification through messages between policy control network elements PCE, application functions AF, and network capability opening network elements NEE, as shown in Figure 5, thereby enabling third applications to be based on business characteristics. Send requirements to the network and promptly notify applications when the MN location and network status change.
步骤S201,应用层订阅网络事件通知。可以通过AF以3种方式实现。Step S201: The application layer subscribes to network event notifications. This can be achieved with AF in 3 ways.
方式1,应用层通过AF请求消息传递应用对网络资源的请求,从而实现网络层保障该业务所需的时延、带宽需求。Method 1: The application layer transmits the application's request for network resources through the AF request message, thereby realizing the network layer's delay and bandwidth requirements required for the service.
方式2,应用层通过AF/NEE向网络层订阅事件通知消息,例如节点发生跨网关切换,以便当网络检测到订阅的事件触发时,立刻通知AF。Method 2: The application layer subscribes to event notification messages to the network layer through AF/NEE, such as a node switching across gateways, so that when the network detects that the subscribed event is triggered, AF is notified immediately.
方式3,应用层通过AF发起终端数据路由的修改过程,调整上下行链路和多归属策略实现对接入连接点ASN的管理。Method 3: The application layer initiates the modification process of terminal data routing through AF, and adjusts the uplink and downlink and multi-homing policies to manage the ASN of the access connection point.
步骤S202,AF接收到订阅消息后,向PCE发送影响路由策略控制信息的AF请求;Step S202: After receiving the subscription message, the AF sends an AF request affecting the routing policy control information to the PCE;
步骤S203,网络层PCE接收到AF订阅消息发生,例如RNIS感知到会话的接入连接点ASN发生改变、DN接入标识符DNAI(Data Network Access Identifier)改变等事件发生,网络层将发送通知消息给应用层,包含改变后的目标数据网络标识DNAI,目的是应用层获取目标ME主机位置进行应用迁移,保障接入节点ASN和目标APP位置的一致性;Step S203: The network layer PCE receives the AF subscription message. For example, the RNIS senses that the access connection point ASN of the session has changed or the DN access identifier DNAI (Data Network Access Identifier) has changed. The network layer will send a notification message. To the application layer, include the changed target data network identifier DNAI. The purpose is for the application layer to obtain the location of the target ME host for application migration and ensure the consistency of the access node ASN and the location of the target APP;
AF发起应用跨网关迁移,将应用状态信息和会话上下文信息同步到目标ME主机中的ME APP中,应用迁移期间,网络侧通过临时隧道与源DN进行数据包转发,保持业务不中断。应用迁移完成后,AF通知SME迁移完成,SME发起数据传输路径更新,将移动终端中的客户端业务从T-ASN转发到目标移动边缘应用T-APP中,实现跨网关无缝切换的移动性管理。AF initiates application cross-gateway migration and synchronizes application status information and session context information to the ME APP in the target ME host. During application migration, the network side forwards data packets with the source DN through a temporary tunnel to keep services uninterrupted. After the application migration is completed, the AF notifies the SME that the migration is completed, and the SME initiates a data transmission path update to forward the client services in the mobile terminal from T-ASN to the target mobile edge application T-APP, achieving seamless cross-gateway switching mobility. manage.
步骤S3中,移动终端MN发生跨网关切换应用层边缘应用迁移流程In step S3, the mobile terminal MN undergoes a cross-gateway switching application layer edge application migration process.
下面以移动终端MN发生跨网关切换为例,说明移动终端移动过程中的应用层边缘应用迁移管理流程,如图3所示。The following takes the cross-gateway handover of the mobile terminal MN as an example to illustrate the application layer edge application migration management process during the movement of the mobile terminal, as shown in Figure 3.
移动终端MN即将离开源接入服务节点S-ASN的服务范围,进行信号检测,检测到新的ASN的信号大于S-ASN的信号,且信号强度之差超过一定阈值,将此ASN设为目的接入服务节点T-ASN,T-ASN的移动应用平台作为目标移动应用平台T-MEP,触发应用层边缘应用MEAPP迁移。The mobile terminal MN is about to leave the service range of the source access service node S-ASN and performs signal detection. It detects that the signal of the new ASN is greater than the signal of the S-ASN, and the difference in signal strength exceeds a certain threshold, and sets this ASN as the destination. Access the service node T-ASN, and the mobile application platform of T-ASN serves as the target mobile application platform T-MEP, triggering the migration of the application layer edge application MEAPP.
移动终端MN发生跨网关移动,应用层边缘应用ME APP迁移流程分为6个模块。The mobile terminal MN moves across gateways, and the application layer edge application ME APP migration process is divided into six modules.
模块1,MN与S-ASN分离。Module 1, MN and S-ASN are separated.
步骤S301,MN即将离开S-ASN的服务范围,MN中的客户端APP向源边缘网络中的S-MEP发送应用移动请求,S-MEP向MN反馈响应;Step S301: The MN is about to leave the service range of the S-ASN. The client APP in the MN sends an application move request to the S-MEP in the source edge network, and the S-MEP feeds back a response to the MN;
步骤S302,S-MEP启用应用移动性,为S-APP的迁移做准备,其中包含定位与MN APP会话的S-APP、整理会话上下文数据等;Step S302, S-MEP enables application mobility to prepare for S-APP migration, which includes locating the S-APP that is in session with the MN APP, organizing session context data, etc.;
模块2,MN接入T-ASN。Module 2, MN accesses T-ASN.
步骤S303,MN网络层切换管理和应用会话更新流程;Step S303, MN network layer switching management and application session update process;
模块3,为MN更新流量规则。Module 3, updates traffic rules for the MN.
步骤S304,移动终端MN接入T-ASN,S-RNIS收到MN的切换消息,向S-MEP发送MN区域改变通知,S-MEP接收到之后向S-RNIS反馈确认响应;Step S304: The mobile terminal MN accesses the T-ASN. The S-RNIS receives the handover message of the MN and sends the MN area change notification to the S-MEP. After receiving the message, the S-MEP feeds back a confirmation response to the S-RNIS;
步骤S305,S-MEP向S-MEPM查询能够让MN接收到信息的目标主机T-MEC主机,S-MEPM将查询转发给MEO。MEO通过运营商策略、移动策略、应用要求、应用能力、移动边缘系统状态等一系列策略方式,最终MEO确定T-MEC主机,并将信息通过S-MEPM转发给S-MEP,以便S-MEP能够与T-MEP联系。同时S-MEP获取平台中需要迁移到T-MEP的S-APP和会话上下文信息;Step S305: S-MEP queries S-MEPM for the target host T-MEC that allows the MN to receive the information, and S-MEPM forwards the query to the MEO. MEO uses a series of strategies such as operator strategy, mobile strategy, application requirements, application capabilities, and mobile edge system status. Finally, MEO determines the T-MEC host and forwards the information to S-MEP through S-MEPM so that S-MEP Ability to contact T-MEP. At the same time, S-MEP obtains the S-APP and session context information in the platform that needs to be migrated to T-MEP;
步骤S306,S-MEP查询受影响的流量路由规则,该规则包括业务过滤器的一部分MNUID和作为应用程序一部分的应用信息;Step S306, S-MEP queries the affected traffic routing rules, which include MNUID as part of the service filter and application information as part of the application program;
步骤S307,S-MEP向T-MEP发送流量路由规则更新请求,其中包含应用信息和受影响的流量路由规则;Step S307, S-MEP sends a traffic routing rule update request to T-MEP, which contains application information and affected traffic routing rules;
步骤S308,T-MEP接收来自S-MEP流量路由规则更新请求,更新本地流量路由规则;Step S308, the T-MEP receives the traffic routing rule update request from the S-MEP and updates the local traffic routing rules;
步骤S309,更新完成之后向S-MEP反馈流量路由规则更新响应;Step S309: After the update is completed, feed back the traffic routing rule update response to the S-MEP;
模块4,应用迁移管理。Module 4, application migration management.
步骤S310,MN网络层切换完成,T-MEP路由规则更新完成,MN APP向S-MEP发送应用迁移请求;Step S310: The MN network layer switching is completed, the T-MEP routing rule update is completed, and the MN APP sends an application migration request to the S-MEP;
步骤S311,S-MEP捕获正在服务的S-APP状态信息和步骤305获取完成的会话上下文信息;Step S311, S-MEP captures the status information of the serving S-APP and obtains the completed session context information in step 305;
步骤S312,S-MEP通过S-MEPM向MEO发送应用迁移请求,包含S-APP ID和目标节点的ID;Step S312, S-MEP sends an application migration request to MEO through S-MEPM, including the S-APP ID and the ID of the target node;
步骤S313,MEO向T-MEPM发送实例化应用请求,T-MEPM在目标T-MEC主机实例化T-APP;Step S313, MEO sends an instantiation application request to T-MEPM, and T-MEPM instantiates T-APP on the target T-MEC host;
步骤S314,实例化完成,MEO通过S-MEPM向S-MEP反馈应用迁移响应;Step S314: The instantiation is completed, and MEO feeds back the application migration response to S-MEP through S-MEPM;
步骤S315,S-MEP向T-MEP发送应用状态信息传输请求,该应用状态信息传输请求包含所捕获的S-APP的状态信息和会话上下文信息;Step S315, the S-MEP sends an application status information transmission request to the T-MEP. The application status information transmission request includes the captured status information and session context information of the S-APP;
步骤S316,T-MEP将接收到的服务状态信息和上下文信息与在T-MEC主机上运行的T-APP进行同步,并激活;Step S316, T-MEP synchronizes the received service status information and context information with the T-APP running on the T-MEC host, and activates it;
步骤S317,T-MEP向S-MEP发送应用状态信息传输响应,以指示应用实例传输的服务状态是否成功;Step S317, T-MEP sends an application status information transmission response to S-MEP to indicate whether the service status transmitted by the application instance is successful;
步骤S318,T-APP实例在服务状态信息和上下文信息同步后,向T-MEP发送应用实例运行通知;Step S318: After the service status information and context information are synchronized, the T-APP instance sends an application instance running notification to the T-MEP;
步骤S319,T-MEP向S-MEP转发T-APP应用实例运行通知;Step S319, T-MEP forwards the T-APP application instance running notification to S-MEP;
步骤S320,S-MEP向MN APP发送应用迁移响应,触发下一个模块;Step S320, S-MEP sends an application migration response to the MN APP to trigger the next module;
模块5,激活新的流量路由规则。Module 5, activate new traffic routing rules.
步骤S321,T-APP向T-MEP激活流量路由规则;Step S321, T-APP activates traffic routing rules to T-MEP;
步骤S322,T-MEP激活流量路由规则;Step S322, T-MEP activates traffic routing rules;
步骤S323,T-MEP向S-MEP转发流量路由规则激活通知;Step S323: T-MEP forwards the traffic routing rule activation notification to S-MEP;
步骤S324,S-APP向S-MEP发送停用或更新本地流量规则请求;Step S324, S-APP sends a request to deactivate or update local traffic rules to S-MEP;
步骤S325,S-MEP从S-RNIS接收RNIS区域更改通知;Step S325, S-MEP receives the RNIS area change notification from S-RNIS;
步骤S326,当S-MEP接收到T-MEP的流量路由规则激活通知和S-APP的流量路由停用或更新请求后,S-MEP停用或更新相应的流量路由规则;Step S326, when S-MEP receives the traffic routing rule activation notification from T-MEP and the traffic routing deactivation or update request from S-APP, S-MEP deactivates or updates the corresponding traffic routing rules;
模块6,终止源应用。Module 6, terminate the source application.
步骤S327,如果需要节省资源等,S-MEP、S-MEPM、MEO、S-APP、S-RNIS协同终止源应用。Step S327: If it is necessary to save resources, etc., S-MEP, S-MEPM, MEO, S-APP, and S-RNIS collaboratively terminate the source application.
MN发生跨网关移动前MN APP与S-APP数据传输路径如图2中的路径a所示,MN APP通过S-DP与S-MEP中的S-APP进行数据传输;应用迁移过程中,MN APP通过T-DP与S-DP间的临时隧道与S-MEP中的S-APP进行数据传输,路径如图2中的路径b所示;APP迁移完成后,MNAPP通过T-DP与T-MEP中的T-APP直接进行数据传输,如图2中的路径c所示。The data transmission path between MN APP and S-APP before MN moves across gateways is shown as path a in Figure 2. MN APP transmits data through S-DP and S-APP in S-MEP; during the application migration process, MN APP transmits data with S-APP in S-MEP through the temporary tunnel between T-DP and S-DP. The path is shown as path b in Figure 2; after the APP migration is completed, MNAPP communicates with T-DP through T-DP. The T-APP in the MEP directly transmits data, as shown in path c in Figure 2.
步骤303中,移动终端MN发生跨网关切换网络层切换管理和应用层会话更新流程In step 303, the mobile terminal MN undergoes a cross-gateway handover network layer handover management and application layer session update process.
下面以移动终端MN发生跨网关切换为例,说明移动终端移动过程中的网络层切换管理流程和应用层会话更新,如图4所示。The following takes the cross-gateway handover of the mobile terminal MN as an example to illustrate the network layer handover management process and application layer session update during the movement of the mobile terminal, as shown in Figure 4.
移动终端MN即将离开源接入服务节点S-ASN的服务范围,进行信号检测,检测到新的ASN的信号大于S-ASN的信号,且信号强度之差超过一定阈值,MN将此ASN设为目的接入服务节点T-ASN,触发网络层切换。The mobile terminal MN is about to leave the service range of the source access service node S-ASN and performs signal detection. It detects that the signal of the new ASN is greater than the signal of the S-ASN, and the difference in signal strength exceeds a certain threshold. The MN sets this ASN to The destination access service node T-ASN triggers network layer switching.
步骤S303-1,MN触发网络切换,向AME发送会话修改请求,请求报文中包含会话ID;Step S303-1: MN triggers network switching and sends a session modification request to AME, and the request message contains the session ID;
步骤S303-2,AME接收到会话修改请求,根据会话ID向会话对应的会话管理网元SME发送会话修改请求,SME接收到请求后反馈给AME会话修改响应,进行会话修改准备工作;Step S303-2: AME receives the session modification request and sends the session modification request to the session management network element SME corresponding to the session according to the session ID. After receiving the request, SME feeds back a session modification response to AME to prepare for the session modification;
步骤S303-3,AME接收到响应后,向MN发送会话修改命令,MN开启计时器,进行网络切换;Step S303-3: After receiving the response, the AME sends a session modification command to the MN, and the MN starts the timer and performs network switching;
步骤S303-4,MN向T-ASN发起路由请求,请求中包含授权信息,请求接入T-ASN;Step S303-4: The MN initiates a routing request to the T-ASN. The request contains authorization information and requests access to the T-ASN;
步骤S303-5,T-ASN接收到路由请求,分配给MN新的路由标识RID2,并将UID/RID2的映射信息记录到本地缓存中;Step S303-5: T-ASN receives the routing request, assigns a new routing identifier RID2 to the MN, and records the UID/RID2 mapping information into the local cache;
步骤S303-6,T-ASN向S-ASN建立临时传输隧道,同时T-ASN向ILR发送映射信息更新请求,ILR接收到更新请求后,对本地缓存中的映射信息进行更新,记录最新的MN的映射信息;Step S303-6: T-ASN establishes a temporary transmission tunnel to S-ASN. At the same time, T-ASN sends a mapping information update request to ILR. After receiving the update request, ILR updates the mapping information in the local cache and records the latest MN. mapping information;
步骤S303-7,T-ASN向MN发送路由请求成功响应,进行后续会话修改工作;Step S303-7: T-ASN sends a successful response to the routing request to the MN and performs subsequent session modification work;
步骤S303-8,接入工作完成之后,MN通过T-ASN,向AME发送新会话建立请求,数据包中包含新旧会话的ID;Step S303-8: After the access work is completed, the MN sends a new session establishment request to the AME through the T-ASN, and the data packet contains the IDs of the old and new sessions;
步骤S303-9,AME接收到新会话建立请求后,向管理旧会话的SME发送会话修改请求,包含新旧会话ID;Step S303-9: After receiving the new session establishment request, the AME sends a session modification request to the SME that manages the old session, including the old and new session IDs;
步骤S303-10,管理旧会话的SME确定需要执行的ASN,并对ASN进行重新定位;Step S303-10: The SME that manages the old session determines the ASN that needs to be executed and relocates the ASN;
步骤S303-11,反馈AME会话修改响应,该数据包包含新会话的信息;Step S303-11: Feed back the AME session modification response. This data packet contains the information of the new session;
步骤S303-12,SME向T-ASN发送会话修改请求,T-ASN向SME反馈会话修改响应;Step S303-12: SME sends a session modification request to T-ASN, and T-ASN feeds back a session modification response to SME;
步骤S303-13,T-ASN与MN建立特定于T-ASN的会话,建立完成后向MN发送新会话建立成功响应;Step S303-13, T-ASN establishes a T-ASN-specific session with the MN, and sends a new session establishment success response to the MN after the establishment is completed;
步骤S303-14,新会话建立完成后,等待计时器停止,MN释放与S-ASN的会话资源。Step S303-14: After the new session is established, the wait timer stops and the MN releases the session resources with the S-ASN.
MN发生跨网关移动前会话的网络层数据包转发路径如图1中的路径a所示,MN通过S-ASN与边缘DN进行数据传输;MN切换过程中,即定时器结束前,MN通过T-ASN与S-ASN之间的临时隧道与源DN进行数据传输,路径如图1中的路径b所示;MN切换完成和APP迁移完成后,定时器截止,MN通过T-ASN与目标DN直接进行数据传输,如图1中的路径c所示。The network layer data packet forwarding path of the session before the MN cross-gateway moves is shown as path a in Figure 1. The MN transmits data with the edge DN through S-ASN; during the MN handover process, that is, before the timer ends, the MN transmits data through the T -The temporary tunnel between ASN and S-ASN carries out data transmission with the source DN. The path is shown as path b in Figure 1; after the MN switching is completed and the APP migration is completed, the timer expires and the MN communicates with the target DN through T-ASN. Data transmission is performed directly, as shown in path c in Figure 1.
实施例3:移动终端MN与广域网应用平台数据包转发流程Embodiment 3: Data packet forwarding process between mobile terminal MN and WAN application platform
移动终端MN不仅与边缘应用主机进行通信,还需要与广域网中的应用主机进行通信,如图6所示,下面介绍移动终端发起通信的数据报文转发过程。The mobile terminal MN not only communicates with the edge application host, but also needs to communicate with the application host in the wide area network, as shown in Figure 6. The following describes the data packet forwarding process for communication initiated by the mobile terminal.
(1)MN通过RAN向ASNm(MN接入的ASN)发送原始数据包,请求与对应公网应用主机(以下称之为通信对端,Corresponding Node,CN)进行通信,原始数据包中源地址为UIDm(MN的身份标识),目的地址为UIDc(CN的身份标识);(1) The MN sends an original data packet to the ASNm (the ASN accessed by the MN) through the RAN, requesting communication with the corresponding public network application host (hereinafter referred to as the Corresponding Node, CN). The source address in the original data packet is UIDm (the identity of the MN), and the destination address is UIDc (the identity of the CN);
(2)ASNm接收到MN发送的原始数据报文后,根据数据包中CN的身份标识UIDc,查询本地缓存中的CN的映射信息,获得CN的路由标识RIDc,如果本地缓存中不存在CN映射信息,则执行(3),否则执行(5);(2) After receiving the original data message sent by the MN, ASNm queries the CN mapping information in the local cache according to the CN identity UIDc in the data packet, and obtains the CN routing identifier RIDc. If there is no CN mapping in the local cache information, execute (3), otherwise execute (5);
(3)ASNm向本地域中的ILRm发送地址查询数据包,请求查询CN的映射信息;ILRm接收到查询数据包后,解封装数据包获取UIDc,通过DHT(Distributed Hash Table,分布式哈希表)方式找到存储CN映射信息的ILRc;(3) ASNm sends an address query packet to ILRm in the local domain, requesting the mapping information of the CN; after receiving the query packet, ILRm decapsulates the packet to obtain UIDc, and uses DHT (Distributed Hash Table, distributed hash table) ) method to find the ILRc that stores CN mapping information;
(4)ILRc接收到查询信息,向ILRm反馈本地缓存中的CN的映射信息UIDc/RIDc,ILRm转发给ASNm,ASNm保存到本地缓存中,以备后续数据包转发;(4) ILRc receives the query information and feeds back the CN mapping information UIDc/RIDc in the local cache to ILRm. ILRm forwards it to ASNm, and ASNm is saved in the local cache for subsequent packet forwarding;
(5)ASNm将数据包进行再封装,源地址为RIDm,目的地址为RIDc,向广域网路由器发送出去;(5) ASNm re-encapsulates the data packet, with the source address being RIDm and the destination address being RIDc, and sending it to the WAN router;
(6)广域网路由器根据目的地址RIDc将数据包转发到ASNc;(6) The WAN router forwards the data packet to ASNc according to the destination address RIDc;
(7)ASNc接收数据包后进行解封装,获取原始数据包目的地址UIDc,ASNc根据UIDc,将原始数据包发送给通信对端CN,(7) After receiving the data packet, ASNc decapsulates it and obtains the original data packet destination address UIDc. ASNc sends the original data packet to the communication peer CN based on UIDc.
(8)ASNc将UIDm/RIDm映射信息与本地缓存中的映射信息匹配,如果匹配不成功,将UIDm/RIDm映射信息存储到本地缓存中,以便后续CN向MN发送数据包时,对MN映射信息的顺利查询。(8) ASNc matches the UIDm/RIDm mapping information with the mapping information in the local cache. If the match is unsuccessful, the UIDm/RIDm mapping information is stored in the local cache so that when the CN subsequently sends a data packet to the MN, the MN mapping information smooth query.
上述移动终端与公网应用主机通信时,广域网与接入网的数据转发是分离的,因此终端的状态变化并不影响网络拓扑,网络拓扑的变化也不会对终端造成冲击。使得终端接入方式简单且不考虑终端设备的形式,例如主机、移动设备、自动驾驶汽车、无人机、卫星等,能够很好支持用户的多制式接入。When the above-mentioned mobile terminal communicates with the public network application host, the data forwarding of the WAN and the access network is separated. Therefore, changes in the status of the terminal do not affect the network topology, and changes in the network topology will not have an impact on the terminal. It makes the terminal access method simple and does not consider the form of the terminal equipment, such as hosts, mobile devices, self-driving cars, drones, satellites, etc., and can well support users' multi-standard access.
上述数据包转发过程中,没有涉及有状态的移动性锚点,消除了移动性锚点所带来的不必要的节点时延,同时提高了传输的可靠性、节省了网络的资源。In the above data packet forwarding process, no stateful mobility anchors are involved, which eliminates unnecessary node delays caused by mobility anchors, improves transmission reliability, and saves network resources.
此外,本发明还提供了一种身份位置寄存器ILR的部署方案和运作机制。网络中若干个ILR,每个ILR负责存储、更新、维护终端最新的UID/RID映射信息。可以根据运营商、企业、地区或国家划分不同的自治域。控制平面由若干个自治域组成,域内的所有ILR组成域内路由表,域内路由表存储域内所有的终端映射信息;同时每个自治域中部署一个域间ILR,负责与其他域的域间ILR进行数据包转发,所有的域间ILR组成域间路由表。In addition, the present invention also provides a deployment scheme and operation mechanism of the identity location register ILR. There are several ILRs in the network, and each ILR is responsible for storing, updating, and maintaining the latest UID/RID mapping information of the terminal. Different autonomous domains can be divided according to operators, enterprises, regions or countries. The control plane consists of several autonomous domains. All ILRs in the domain form an intra-domain routing table. The intra-domain routing table stores all terminal mapping information in the domain. At the same time, an inter-domain ILR is deployed in each autonomous domain and is responsible for communicating with the inter-domain ILRs of other domains. For data packet forwarding, all inter-domain ILRs form the inter-domain routing table.
本发明中的自治域采用基于DHT-MAP(Distributed Hash Table-Map,即分布式哈希表-图)的运作机制存储终端映射信息和获取通信对端节点的映射信息。每个ILR可以对UID进行哈希计算,获得哈希值,域内路由表存储各自域的虚拟坐标区域,该虚拟坐标区域由域内哈希值组成。所有的哈希值组成虚拟坐标空间。The autonomous domain in the present invention adopts an operating mechanism based on DHT-MAP (Distributed Hash Table-Map) to store terminal mapping information and obtain mapping information of communication counterpart nodes. Each ILR can perform hash calculation on the UID to obtain the hash value. The intra-domain routing table stores the virtual coordinate area of the respective domain. The virtual coordinate area is composed of the intra-domain hash value. All hash values form a virtual coordinate space.
下面将以移动终端MN与公网应用主机通信为例说明控制平面运作机制。The following will take the communication between the mobile terminal MN and the public network application host as an example to illustrate the control plane operation mechanism.
MN接入ASNm时,向ASNm发送路由请求,ASNm转发给AME,AME对MN进行鉴权和授权,ASNm对合法的MN分配RIDm,并将MN的映射信息UIDm/RIDm发送给本域控制平面的ILR(本域中的ILR并不一定是存储MN映射信息的ILRm)。接着ILR对UIDm进行哈希计算,获取MN在虚拟坐标空间的虚拟坐标点,设为点P。如果点P在本自治域中,则本自治域ILR将映射信息存储到域内路由表;如果不在本自治域中,ILR将其转发给本自治域的域间ILR,ILR将其发送给距离虚拟坐标点更近的自治域中的域间ILR,此域间ILR判断P是否在本自治域的虚拟坐标区域中,如果在则存储到域内路由表中;如果不在转发到距离P更近的域间ILR,直到P在目标自治域中。存储成功,反馈到ASNm。ASNm向MN发送路由请求成功响应。When the MN accesses the ASNm, it sends a routing request to the ASNm. The ASNm forwards it to the AME. The AME authenticates and authorizes the MN. The ASNm allocates RIDm to the legal MN and sends the MN's mapping information UIDm/RIDm to the control plane of this domain. ILR (the ILR in this domain is not necessarily the ILRm that stores MN mapping information). Then ILR performs hash calculation on UIDm, obtains the virtual coordinate point of MN in the virtual coordinate space, and sets it as point P. If point P is in this autonomous domain, the ILR of this autonomous domain stores the mapping information in the intra-domain routing table; if it is not in this autonomous domain, the ILR forwards it to the inter-domain ILR of this autonomous domain, and the ILR sends it to the distance virtual Inter-domain ILR in an autonomous domain with closer coordinate points. This inter-domain ILR determines whether P is in the virtual coordinate area of this autonomous domain. If so, it will be stored in the intra-domain routing table; if not, it will be forwarded to a domain closer to P. Inter-ILR until P is in the target autonomous domain. The storage is successful and fed back to ASNm. ASNm sends a routing request success response to the MN.
存储移动终端MN映射信息的ILR为ILRm,存储公网应用主机映射信息的ILR为ILRc。ILRm部署在自治域1中,ILRc部署在自治域3中。其中自治域1的虚拟坐标区域与自治域2虚拟坐标区域的距离比自治域1虚拟坐标区域与自治域3虚拟坐标的距离近。The ILR that stores the mobile terminal MN mapping information is ILRm, and the ILR that stores the public network application host mapping information is ILRc. ILRm is deployed in autonomous domain 1, and ILRc is deployed in autonomous domain 3. The distance between the virtual coordinate area of autonomous domain 1 and the virtual coordinate area of autonomous domain 2 is closer than the distance between the virtual coordinate area of autonomous domain 1 and the virtual coordinate area of autonomous domain 3.
MN向CN发起通信时,首先通过ASNm查询CN的映射信息,ASNm中本地缓存没有记录CN的映射信息。然后,ASNm向ILRm发送查询请求数据包,请求数据包中包含UIDc信息。接收到查询请求数据包后,ILRm对UIDc进行哈希计算,得出哈希值,其虚拟坐标点设为P,判断点P是否位于本自治域的虚拟坐标区域中。如果点P位于虚拟坐标区域中,查询域内路由表,获取CN映射信息,并反馈给ASNm;如果不在虚拟坐标区域中,则将查询请求转发给域间ILR1,ILR1通过域间路由表转发给虚拟坐标空间中距离点P更近的自治域的域间ILR,即ILR2。接收到查询请求数据包,ILR2判断点P是否在本虚拟坐标区域中,如果在,查找域内路由表反馈CN映射信息;如果不在转发给距离点P更近的自治域中的域间ILR,ILR3,直到点P在目标自治域中,查询域内路由表向ILRm反馈CN的映射信息。接着,ILRm将映射信息转发给ASNm,ASNm将映射信息存储到本地缓存中,映射信息查询过程完成。之后进行数据包封装,源地址为RIDm,目的地址为RIDc,并将数据包发送给广域网路由器,广域网路由器根据RIDc将数据包路由到ASNc。最后ASNc根据UIDc将数据包发送给对应主机CN。When the MN initiates communication to the CN, it first queries the CN's mapping information through ASNm. The local cache in ASNm does not record the CN's mapping information. Then, ASNm sends a query request packet to ILRm, and the request packet contains UIDc information. After receiving the query request packet, ILRm performs hash calculation on UIDc to obtain the hash value. Its virtual coordinate point is set to P, and it is judged whether point P is located in the virtual coordinate area of this autonomous domain. If point P is located in the virtual coordinate area, query the intra-domain routing table, obtain the CN mapping information, and feed it back to ASNm; if it is not in the virtual coordinate area, the query request is forwarded to the inter-domain ILR1, and ILR1 forwards it to the virtual domain through the inter-domain routing table. The inter-domain ILR of the autonomous domain closer to point P in the coordinate space, that is, ILR2. After receiving the query request packet, ILR2 determines whether point P is in this virtual coordinate area. If it is, it searches the intra-domain routing table and feeds back the CN mapping information; if it is not, it forwards it to the inter-domain ILR in the autonomous domain closer to point P. ILR3 , until point P is in the target autonomous domain, query the intra-domain routing table and feed back the CN mapping information to ILRm. Then, ILRm forwards the mapping information to ASNm, ASNm stores the mapping information in the local cache, and the mapping information query process is completed. Afterwards, the data packet is encapsulated, the source address is RIDm, the destination address is RIDc, and the data packet is sent to the WAN router. The WAN router routes the data packet to ASNc based on RIDc. Finally, ASNc sends the data packet to the corresponding host CN according to UIDc.
需要说明的是上述实施例,并非用来限定本发明的保护范围,在上述技术方案的基础上所作出的等同变换或替代均落入本发明权利要求所保护的范围。It should be noted that the above-mentioned embodiments are not used to limit the scope of protection of the present invention. Equivalent transformations or substitutions made on the basis of the above-mentioned technical solutions all fall within the scope of protection of the claims of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311185471.XA CN117336808B (en) | 2023-09-13 | 2023-09-13 | A relocation method to ensure MEC service continuity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311185471.XA CN117336808B (en) | 2023-09-13 | 2023-09-13 | A relocation method to ensure MEC service continuity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117336808A true CN117336808A (en) | 2024-01-02 |
CN117336808B CN117336808B (en) | 2024-11-29 |
Family
ID=89294262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311185471.XA Active CN117336808B (en) | 2023-09-13 | 2023-09-13 | A relocation method to ensure MEC service continuity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117336808B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115007A (en) * | 2007-08-21 | 2008-01-30 | 中国科学院计算技术研究所 | A Mobile Handoff Method in Wireless Packet Network |
CN103428220A (en) * | 2013-08-23 | 2013-12-04 | 中国人民解放军理工大学 | Virtual reconstruction ubiquitous network architecture based on identity-position separation |
CN114051756A (en) * | 2019-04-29 | 2022-02-15 | 苹果公司 | Method and apparatus for achieving service continuity in an edge computing environment |
US20220141751A1 (en) * | 2019-02-13 | 2022-05-05 | Apple Inc. | Performance measurements related to untrusted non-3gpp access registration and handovers |
CN115314957A (en) * | 2021-05-07 | 2022-11-08 | 中国移动通信集团有限公司 | Edge node switching control method, system, device, equipment, medium and product |
CN116669032A (en) * | 2023-05-17 | 2023-08-29 | 广州技象科技有限公司 | Metropolitan area internet of things system, security authentication method and device thereof and storage medium |
-
2023
- 2023-09-13 CN CN202311185471.XA patent/CN117336808B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115007A (en) * | 2007-08-21 | 2008-01-30 | 中国科学院计算技术研究所 | A Mobile Handoff Method in Wireless Packet Network |
CN103428220A (en) * | 2013-08-23 | 2013-12-04 | 中国人民解放军理工大学 | Virtual reconstruction ubiquitous network architecture based on identity-position separation |
US20220141751A1 (en) * | 2019-02-13 | 2022-05-05 | Apple Inc. | Performance measurements related to untrusted non-3gpp access registration and handovers |
CN114051756A (en) * | 2019-04-29 | 2022-02-15 | 苹果公司 | Method and apparatus for achieving service continuity in an edge computing environment |
CN115314957A (en) * | 2021-05-07 | 2022-11-08 | 中国移动通信集团有限公司 | Edge node switching control method, system, device, equipment, medium and product |
CN116669032A (en) * | 2023-05-17 | 2023-08-29 | 广州技象科技有限公司 | Metropolitan area internet of things system, security authentication method and device thereof and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN117336808B (en) | 2024-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101541228B1 (en) | Method and apparatus for seamless mobility techniques in content-centric network | |
WO2018145671A1 (en) | Cross-system handover method and device, and computer storage medium | |
US20220408333A1 (en) | Session Management for Edge Computing | |
US10624145B2 (en) | Service transmission method, apparatus, and device | |
US10945180B2 (en) | Mobility management method, apparatus, and system | |
KR20180023058A (en) | Systems and methods for load balancing in distributed software defined network packet core systems | |
WO2016070333A1 (en) | Mobility management method, apparatus, and system | |
JP2010063022A (en) | Method of controlling access gateway apparatus, and communicating system | |
JP5778861B2 (en) | Method and system for supporting multiple interface multiple connection communication | |
CN101730072B (en) | Packet data web gateway identification saving method and system in multi-access scene | |
CN118804411A (en) | System and method for user plane processing | |
CN101800911B (en) | Method and system for realizing local exchange | |
CN112929868A (en) | Cross-region roaming communication method and device, electronic equipment and computer readable medium | |
KR20210144490A (en) | Method and apparatus for providing local data network to a user equipment in a wireless communication system | |
CN116647834B (en) | A mobile network communication method and system for low-latency, high-reliability services | |
JP2021517376A (en) | Transmission method and transmission equipment | |
EP2596610B1 (en) | System and method for providing mobility with a split home agent architecture | |
EP2482585A1 (en) | Method and system for realizing terminal handover | |
CN114631397A (en) | Signaling transmission in wireless networks | |
CN108882323A (en) | A kind of IPv6 Network Mobility node method for handover control based on SDN | |
CN107231449B (en) | ARP request forwarding method and device and W L AN communication system | |
CN117336808B (en) | A relocation method to ensure MEC service continuity | |
CN102572828B (en) | Method, device and system for supporting mobile type IP (internet protocol) sub-network access and management | |
CN102421099B (en) | A kind of access system and method for merging different access technologies | |
KR101778165B1 (en) | Ip-based mobility management framework and management methof thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |