CN112073980B - Service migration method and system for mobile edge computing - Google Patents
Service migration method and system for mobile edge computing Download PDFInfo
- Publication number
- CN112073980B CN112073980B CN202010876912.0A CN202010876912A CN112073980B CN 112073980 B CN112073980 B CN 112073980B CN 202010876912 A CN202010876912 A CN 202010876912A CN 112073980 B CN112073980 B CN 112073980B
- Authority
- CN
- China
- Prior art keywords
- application program
- service
- information
- executed
- currently
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0016—Hand-off preparation specially adapted for end-to-end data sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/32—Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a service migration method and a system for mobile edge computing, wherein the method comprises the following steps: when a mobile edge computing node of a user needs to be switched, for each service s currently executed for the user, the switched source node sends service migration information of the service s to the switched target node; the service migration information includes: the application program interface API which is executed latest and is completed currently in the application program interface set of the service siThe calculation result alpha and the interface information and the execution sequence information of all the application program interfaces API which are not executed currently in the application program interface set; and the target node continues to execute the service s for the user according to the service migration information. The invention can effectively reduce the service migration time delay.
Description
Technical Field
The present invention relates to mobile communication technologies, and in particular, to a service migration method and system for mobile edge computing.
Background
Mobile edge computing technology is a new model for the deployment of computing resources. The method sinks the computing resources to a position closer to a user by changing the current single and centralized mode of the data center, so as to meet the requirements of large flow, high load and high availability in the 5G environment.
Service migration in a mobile edge computing scenario mainly solves two problems: session continuity and service continuity guarantee.
The session continuity is closely related to the 5G core network service, and a great amount of continuity guarantee related to user sessions in the 5G core network system flow. In order to ensure session continuity, 3GPP proposes three different modes, namely, a session and service continuity mode (SSC) mode, which is a more typical interaction mode based on reliability requirements of service migration. In this mode, the network allows the PDU session between the user and the original PDU Session Anchor (PSA) to be maintained until a new Protocol Data Unit (PDU) session is established, at which time the user has two PDU session anchors simultaneously, i.e., two User Plane Functions (UPFs) associated with the primary edge computing service node and the target edge computing service node, and two corresponding PDU sessions, and can finally release the original PDU session. The PDU session anchor point is a user plane function, is responsible for the management of user plane traffic, and is the last gateway of the 5G core network connected to the edge computing service node.
Since the edge server has a certain service coverage, the mobility of the mobile terminal may cause the service quality to be degraded, and even the service is interrupted. In practical applications, in the process of providing services to users by using mobile edge computing, there are situations that geographic location of some users is changed, and at this time, switching of edge computing service nodes providing edge computing services to users may be triggered, thereby causing service interruption of users.
For the above-mentioned service interruption problem caused by the edge computing service node switching, currently, a typical service migration scheme related to a 5G core network is proposed, in which when the edge computing service node switching is required, a service migration platform in the edge computing service node notifies a Session Management Function (SMF) to perform migration through a network open function (NEF), and migrates a corresponding service to a location nearest to a user, so that a computing resource is always located at a location closest to a geographic location of the user, thereby ensuring that a persistent service is provided to the user before and after the migration. And after the service migration is finished, the service migration platform informs the SMF of successful migration, and the SMF releases the original PDU session according to the notification.
After the inventor conducts earnest research and analysis on the existing service migration scheme in the process of implementing the invention, the inventor finds that the existing service migration scheme has the problem of service migration time prolongation, and the specific analysis is as follows:
in the existing service migration scheme, a method using a virtual machine as a migration object is adopted, that is, when an edge computing service node of a user is switched, a source node (i.e., a node providing an edge computing service for the user before switching) stores all current memory state data of the virtual machine providing a service for the user in the node, and packages the data to a switched target node (i.e., a node providing an edge computing service for the user after switching), and after receiving the packaged data, the target node needs to configure the virtual machine providing a service for the user based on the packaged data, and then the target node can continue to provide a service for the user. In the service migration process, all memory state data of the whole virtual machine at the switching moment need to be completely packaged and sent to the target node, and the related information amount is large, so that on one hand, the data packaging and data transmission time overhead of the source node is large, and on the other hand, the target node needs large processing time overhead for restoring the virtual machine state based on the data, so that the time delay of the whole service migration is long.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a service migration method and system for mobile edge computing, which can effectively reduce the service migration delay.
In order to achieve the purpose, the technical scheme provided by the invention is as follows:
a service migration method for mobile edge computing, comprising:
when a mobile edge computing node of a user needs to be switched, for each service s currently executed for the user, the switched source node sends service migration information of the service s to the switched target node; the service migration information includes: the application program interface API which is executed latest and is completed currently in the application program interface set of the service siThe calculation result alpha and the interface information and the execution sequence information of all the application program interfaces API which are not executed currently in the application program interface set;
and the target node continues to execute the service s for the user according to the service migration information.
Preferably, the continuing to execute the service s for the user according to the service migration information includes:
the target node determines an application program interface API needing to be executed first in all the application program interfaces which are not executed currently according to the execution sequence informationi+1;
The target node takes the calculation result alpha as the API according to the service migration informationi+1From said APIi+1Initially, execution of the application program interfaces in the set of application program interfaces continues.
Preferably, the data structure adopted by the interface information and the execution sequence information of all application program interfaces which are not executed currently is a linked list or a queue.
Preferably, the source node obtains, from a registry server, interface information and execution sequence information of all application program interfaces that are not currently executed in the application program interface set.
Preferably, the interface information includes address information of an application program interface;
and when the target node executes the application program interface of the service s, acquiring the application program interface according to the corresponding address information.
A mobile edge computing service migration system, comprising:
source nodeThe node is used for sending the service migration information of each service s currently executed for the user to a switching target node when the user currently served by the node needs to switch the mobile edge computing node; the service migration information includes: the application program interface API which is executed latest and is completed currently in the application program interface set of the service siThe calculation result alpha and the interface information and the execution sequence information of all the application program interfaces API which are not executed currently in the application program interface set;
and the target node is used for continuously executing the service s for the user according to the service migration information.
Preferably, the target node is configured to continue to execute the service s for the user according to the service migration information, and specifically includes: according to the execution sequence information, determining the application program interface API which needs to be executed first in all the application program interfaces which are not executed currentlyi+1(ii) a According to the service migration information, taking the calculation result alpha as the APIi+1From said APIi+1Initially, execution of the application program interfaces in the set of application program interfaces continues.
Preferably, the data structure adopted by the interface information and the execution sequence information of all application program interfaces which are not executed currently is a linked list or a queue.
Preferably, the source node is configured to obtain, from the registry server, interface information and execution sequence information of all application program interfaces that are not currently executed in the application program interface set.
Preferably, the interface information includes address information of an application program interface;
and the target node is used for acquiring the application program interface according to the corresponding address information when the application program interface of the service s is executed.
It can be seen from the above technical solutions that, in the service migration method and system for mobile edge computing provided by the present invention, when a mobile edge computing node of a user needs to be switched, the current mobile edge computing node is executed for the userFor each service s of a row, the source node of the switch only has intermediate state information of the service s currently executed (namely the application program interface API of the service s which is completed by the latest execution of the source node)iThe calculation result α) of the service s, and the interface information and the execution sequence information of all application program interfaces that are not currently executed in the application program interface set of the service s are sent to the target node, instead of sending the memory state data of the entire virtual machine in the source node to the target node.
Drawings
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow diagram of an embodiment of the present invention, and as shown in fig. 1, a service migration method for mobile edge computing implemented in the embodiment mainly includes:
In this step, when the mobile edge computing node of the user needs to be switched, the data sent by the switched source node to the target node is the intermediate state data of each service s currently executed for the user, that is, the data of the service sApplication program interface API for current latest execution completion in application program interface setiThe result alpha is calculated without needing to run all the memory state data of the virtual machine of the service s, so that the service migration operation complexity of the source node is greatly reduced, and the service migration processing time delay of the source node side is effectively reduced.
The source node of the handover is a node which provides the mobile edge computing service for the user before the handover of the mobile edge computing node.
It should be noted here that each service corresponds to a set of API' s1,...,APIi-1,APIi,...,APII}. One service is executed, i.e. all Application Program Interfaces (APIs) in its set of application program interfaces are executed. When one of the application program interfaces is executed, the obtained calculation result can be used as an input parameter to import the next application program interface to be executed. The application program interface may specifically be a function.
In practical applications, the time when the mobile edge computing node of the user needs to be switched and the target node of the switching can be realized by adopting the prior art, and details are not repeated here.
In addition, in step 101, in order to facilitate the target node to recover the corresponding service during service migration, the source node to be switched not only needs to send the intermediate state data of each service s to the target node, but also needs to notify the target node of the interface information and the execution sequence information of all application program interfaces that are not currently executed in the application program interface set of each service s. In this way, the target node can continue to execute the currently unexecuted application program interface of each service s based on the information, so that continuous service for the user can be guaranteed before and after the migration.
Preferably, in order to improve the data maintenance efficiency, the data structure adopted by the interface information and the execution sequence information of all application program interfaces which are not currently executed may be a linked list or a queue.
Preferably, the source node may obtain, from the registry server, interface information of all application program interfaces in the set of application program interfaces that are not currently executed and execution sequence information of the application program interfaces.
And 102, the target node continues to execute the service s for the user according to the service migration information.
In this step, the target node does not perform service restoration at the virtual machine level based on all the memory state data of the virtual machine, but directly restores execution of the service based on the application program interface information in the service migration information.
Preferably, in this step, the following method may be adopted to continue executing the service s for the user according to the service migration information:
x1, the target node determines the application program interface API needing to be executed first in all the application program interfaces which are not executed currently according to the execution sequence informationi+1。
Here, the application program interface APIi+1I.e. the application program interface API that needs to be completed in the latest executioniThen executing the next application program interface, thus, applying the application program interface APIiThe calculation result is imported into an application program interface APIi+1In this way, the execution of the service can be continued.
x2, the target node takes the calculation result alpha as the API according to the service migration informationi+1From said APIi+1Initially, execution of the application program interfaces in the set of application program interfaces continues.
Further, in order to simplify the information amount of the service migration information, the application program interface information may include address information of an application program interface, so that when the target node executes the application program interface of the service s, the target node may directly obtain an application program interface that needs to be executed currently according to the address information to execute the application program interface.
It can be seen from the foregoing embodiments that, in the foregoing technical solution, by simplifying the data volume during service migration, only the calculation result of the API that is currently and finally executed by the service and the relevant execution information of all APIs that need to be executed after the API are selected as data that needs to be migrated during service migration, so that the migration data volume is greatly reduced, and the service migration operation is effectively simplified, thereby effectively improving the processing efficiency of service migration and shortening the processing delay. Therefore, when the user moves, the corresponding service can be timely migrated to the position closest to the user, and the continuous service to the user is ensured before and after the migration, so that the computing resource is always positioned at the position closest to the geographical position of the user, the service migration can be ensured to meet the requirements of terminal mobility and service continuity, and the method is particularly suitable for low-delay high-mobility scenes.
Corresponding to the above method, the present invention further provides a service migration system for mobile edge computing, as shown in fig. 2, including:
the source node is used for sending the service migration information of each service s currently executed for the user to the switched target node when the user currently served by the node needs to switch the mobile edge computing node; the service migration information includes: the application program interface API which is executed latest and is completed currently in the application program interface set of the service siAnd interface information and execution sequence information of all Application Program Interfaces (APIs) which are not currently executed in the application program interface set.
And the target node is used for continuously executing the service s for the user according to the service migration information.
Preferably, the target node is configured to continue to execute the service s for the user according to the service migration information, and specifically includes: according to the execution sequence information, determining the application program interface API which needs to be executed first in all the application program interfaces which are not executed currentlyi+1(ii) a According to the service migration information, taking the calculation result alpha as the APIi+1From said APIi+1At the beginning, continue to executeAn application program interface of the set of application program interfaces.
Preferably, the data structure adopted by the interface information and the execution sequence information of all application program interfaces which are not executed currently is a linked list or a queue.
Preferably, the source node is further configured to obtain, from the registry server, interface information and execution sequence information of all application program interfaces that are not currently executed in the application program interface set.
Preferably, the interface information includes address information of an application program interface;
and the target node is used for acquiring the application program interface according to the corresponding address information when the application program interface of the service s is executed.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A service migration method for mobile edge computing, comprising:
when a mobile edge computing node of a user needs to be switched, for each service s currently executed for the user, the switched source node sends service migration information of the service s to the switched target node; the service migration information includes: the application program interface API which is executed latest and is completed currently in the application program interface set of the service siThe calculation result alpha and the interface information and the execution sequence information of all the application program interfaces API which are not executed currently in the application program interface set;
the target node continues to execute the service s for the user according to the service migration information, and the method comprises the following steps: the target node determines an application program interface API needing to be executed first in all the application program interfaces which are not executed currently according to the execution sequence informationi+1(ii) a The target nodeAccording to the service migration information, taking the calculation result alpha as the APIi+1From said APIi+1Initially, execution of the application program interfaces in the set of application program interfaces continues.
2. The method according to claim 1, wherein the data structure adopted by the interface information and the execution sequence information of all application program interfaces which are not currently executed is a linked list or a queue.
3. The method of claim 1, further comprising:
and the source node acquires the interface information and the execution sequence information of all the application program interfaces which are not executed currently in the application program interface set from a registration center server.
4. The method of claim 1, wherein the interface information includes address information of an application program interface;
and when the target node executes the application program interface of the service s, acquiring the application program interface according to the corresponding address information.
5. A mobile edge computing service migration system, comprising:
the source node is used for sending the service migration information of each service s currently executed for the user to the switched target node when the user currently served by the node needs to switch the mobile edge computing node; the service migration information includes: the application program interface API which is executed latest and is completed currently in the application program interface set of the service siThe calculation result alpha and the interface information and the execution sequence information of all the application program interfaces API which are not executed currently in the application program interface set;
a target node, configured to continue to execute the service s for the user according to the service migration information, specificallyThe method comprises the following steps: according to the execution sequence information, determining the application program interface API which needs to be executed first in all the application program interfaces which are not executed currentlyi+1(ii) a According to the service migration information, taking the calculation result alpha as the APIi+1From said APIi+1Initially, execution of the application program interfaces in the set of application program interfaces continues.
6. The system according to claim 5, wherein the data structure adopted by the interface information and the execution sequence information of all application program interfaces which are not currently executed is a linked list or a queue.
7. The system according to claim 5, wherein the source node is further configured to obtain, from a registry server, interface information and execution sequence information of all application program interfaces in the set of application program interfaces that are not currently executed.
8. The system of claim 7, wherein the interface information includes address information of an application program interface;
and the target node is used for acquiring the application program interface according to the corresponding address information when the application program interface of the service s is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010876912.0A CN112073980B (en) | 2020-08-27 | 2020-08-27 | Service migration method and system for mobile edge computing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010876912.0A CN112073980B (en) | 2020-08-27 | 2020-08-27 | Service migration method and system for mobile edge computing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112073980A CN112073980A (en) | 2020-12-11 |
CN112073980B true CN112073980B (en) | 2022-01-21 |
Family
ID=73660460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010876912.0A Active CN112073980B (en) | 2020-08-27 | 2020-08-27 | Service migration method and system for mobile edge computing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112073980B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113852693B (en) * | 2021-09-26 | 2023-05-02 | 北京邮电大学 | Migration method of edge computing service |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108901046A (en) * | 2018-06-14 | 2018-11-27 | 北京大学 | Cotasking unloading algorithm and system design scheme towards mobile edge calculations |
US10206094B1 (en) * | 2017-12-15 | 2019-02-12 | Industrial Technology Research Institute | Mobile edge platform servers and UE context migration management methods thereof |
CN110505073A (en) * | 2018-05-16 | 2019-11-26 | 华为技术有限公司 | A kind of mobile edge calculations method and device |
CN111148174A (en) * | 2019-12-13 | 2020-05-12 | 北京邮电大学 | Service migration path selection method in mobile edge calculation |
CN111158707A (en) * | 2019-12-25 | 2020-05-15 | 北京邮电大学 | Unloading method and device in edge computing environment |
CN111464611A (en) * | 2020-03-30 | 2020-07-28 | 中科边缘智慧信息科技(苏州)有限公司 | Method for efficiently accessing service between fixed cloud and edge node in dynamic complex scene |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11863328B2 (en) * | 2018-03-30 | 2024-01-02 | Intel Corporation | Multi-access management services packet recovery mechanisms |
US10813010B2 (en) * | 2018-12-17 | 2020-10-20 | Verizon Patent And Licensing Inc. | Method and system for edge computing handover service |
CN111586762B (en) * | 2020-04-29 | 2023-02-17 | 重庆邮电大学 | Task unloading and resource allocation joint optimization method based on edge cooperation |
-
2020
- 2020-08-27 CN CN202010876912.0A patent/CN112073980B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10206094B1 (en) * | 2017-12-15 | 2019-02-12 | Industrial Technology Research Institute | Mobile edge platform servers and UE context migration management methods thereof |
CN110505073A (en) * | 2018-05-16 | 2019-11-26 | 华为技术有限公司 | A kind of mobile edge calculations method and device |
CN108901046A (en) * | 2018-06-14 | 2018-11-27 | 北京大学 | Cotasking unloading algorithm and system design scheme towards mobile edge calculations |
CN111148174A (en) * | 2019-12-13 | 2020-05-12 | 北京邮电大学 | Service migration path selection method in mobile edge calculation |
CN111158707A (en) * | 2019-12-25 | 2020-05-15 | 北京邮电大学 | Unloading method and device in edge computing environment |
CN111464611A (en) * | 2020-03-30 | 2020-07-28 | 中科边缘智慧信息科技(苏州)有限公司 | Method for efficiently accessing service between fixed cloud and edge node in dynamic complex scene |
Non-Patent Citations (4)
Title |
---|
A Survey on Service Migration in Mobile Edge Computing;Shangguang Wang 等;《IEEE Access》;20180418;全文 * |
Cooperative Service Caching and Workload Scheduling in Mobile Edge Computing;Xiao Ma 等;《IEEE INFOCOM 2020 - IEEE Conference on Computer Communications》;20200804;全文 * |
QoS Driven Task Offloading with Statistical Guarantee in Mobile Edge Computing;Qing Li 等;《 IEEE Transactions on Mobile Computing》;20200623;全文 * |
移动边缘网络中计算迁移与内容缓存研究综述;张开元 等;《软件学报》;20190927;第30卷(第8期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112073980A (en) | 2020-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112788086B (en) | Mobile edge computing application data migration method and device and core network node | |
CN108738086B (en) | User plane reselection method and device | |
CN107305502B (en) | Application instance migration method and device | |
EP3783862A1 (en) | Session management method and session management function network element | |
WO2018145671A1 (en) | Cross-system handover method and device, and computer storage medium | |
CN105723334B (en) | First service network node, second service network node and be related to service conversation processing method | |
CN110650513B (en) | Method and device for updating user plane path and computer storage medium | |
US20210059011A1 (en) | Application mobility mechanism for edge computing | |
WO2019154283A1 (en) | Method and apparatus for business migration | |
JP2018509838A (en) | Network management | |
US11184228B2 (en) | Configuration control for network | |
CN109150808B (en) | Communication method, device and system | |
WO2018233499A1 (en) | Communication method and apparatus | |
US20190380063A1 (en) | Method of selecting user plane gateway and device of selecting user plane gateway | |
WO2018049567A1 (en) | Application migration method, device, and system | |
CN112073980B (en) | Service migration method and system for mobile edge computing | |
EP4247024A1 (en) | Method for implementing communication continuity and related device | |
CN111436162B (en) | Processing method and equipment | |
CN110392019B (en) | Method and system for establishing special load bearing of cluster audio and video service | |
CN108430084B (en) | Base station switching method and system | |
Assasa et al. | Service mobility in mobile networks | |
WO2018153357A1 (en) | Application instance relocation | |
WO2015151441A1 (en) | Mobile communication system, communication device, and communication control method | |
CN114339921B (en) | Session migration method, session management functional entity and terminal | |
Kopparty et al. | Efficient methods for bearer traffic flow migration in NG-RAN |
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 |