CN117411864A - Application migration method, device, equipment and storage medium - Google Patents

Application migration method, device, equipment and storage medium Download PDF

Info

Publication number
CN117411864A
CN117411864A CN202311413553.5A CN202311413553A CN117411864A CN 117411864 A CN117411864 A CN 117411864A CN 202311413553 A CN202311413553 A CN 202311413553A CN 117411864 A CN117411864 A CN 117411864A
Authority
CN
China
Prior art keywords
target
mep
application
migration
terminal device
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.)
Pending
Application number
CN202311413553.5A
Other languages
Chinese (zh)
Inventor
黄倩
曹畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311413553.5A priority Critical patent/CN117411864A/en
Publication of CN117411864A publication Critical patent/CN117411864A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection

Abstract

The application migration method, device, equipment and storage medium relate to the technical field of communication and are used for improving the efficiency of application migration and guaranteeing the continuity of application services aiming at supporting multi-instance concurrent edge application. The method comprises the following steps: based on the RNIS, acquiring cell switching information corresponding to each terminal device in the target area through the first MEP; determining at least one target terminal device to be migrated out of the target area from a plurality of terminal devices in the target area through a first MEP based on cell switching information corresponding to each terminal device; for any target terminal equipment, determining a third MEP from a plurality of second MEPs in the area covered by the target cell through the MEO, and issuing an installation package of the target edge application currently accessed by any target terminal equipment to the third MEP; and downloading and installing the target edge application on the third MEP based on the installation package of the target edge application.

Description

Application migration method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an application migration method, an apparatus, a device, and a storage medium.
Background
With the development of communication networks, the matched digital communication equipment of the user plane function (user plane function, UPF), the matched digital communication equipment of the resource pool and the interconnection link are all configured in pairs, so that the mechanism such as virtual dynamic migration and the like can be provided in the resource pool while the link protection function is provided. Conventional traffic path of terminal equipment (UE) to: UE-first UPF-second multi-access Mobile Edge Computing (MEC) is the primary path through which to access the edge application server (i.e., the server of the multi-access edge computing platform (MEP)) corresponding to the first MEC.
However, when the terminal device moves, if the location of the edge application server currently accessed by the terminal device is not good, the service path of the terminal device needs to be changed, and the edge application server corresponding to the second MEC is accessed through the changed service path (i.e. UE-second UPF-second MEC). Currently, the UPF switching (i.e., switching the first UPF currently connected to the terminal device to the second UPF) may be directly performed to change the service path of the UE, so as to continue to access the application.
However, in the above method, direct UPF handover may cause the terminal device to be disconnected and reconnected, resulting in service interruption, and the delay of the method is long. Thus, the current application migration is inefficient and the continuity of the application service is poor.
Disclosure of Invention
The application migration method, device, equipment and storage medium are used for solving the technical problems that direct UPF switching can cause offline reconnection of terminal equipment, service interruption is caused, and time delay is long, so that the efficiency of application migration and the continuity of application service are improved.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, an application migration method is provided, the method including: based on the Radio Network Information Service (RNIS), acquiring cell switching information corresponding to each terminal device in a target area through a first multi-access mobile edge computing platform (MEP), wherein the target area is a service area of the first MEP, and the cell switching information comprises at least one of the following items: the identification of the terminal equipment, the cell migration state of the terminal equipment and the identification of the target cell, wherein the cell migration state comprises the following steps: preparing a migration state, executing the migration state, completing the migration state, refusing the migration state and canceling the migration state, wherein the target cell is a cell which is migrated by the terminal equipment; determining at least one target terminal device to be migrated out of the target area from a plurality of terminal devices in the target area through a first MEP based on cell switching information corresponding to each terminal device; for any one of at least one target terminal device, determining a third MEP from a plurality of second MEPs included in a region covered by a target cell through a multi-access mobile edge calculation arrangement unit MEO, and issuing an installation package of a target edge application currently accessed by any one target terminal device to the third MEP, wherein the third MEP is the MEP which is nearest to any one target terminal device in the plurality of second MEPs and is in an idle state; and downloading and installing the target edge application on the third MEP based on the installation package of the target edge application.
In one possible implementation manner, based on the cell handover information corresponding to each terminal device, determining, by the first MEP, at least one target terminal device to be migrated out of the target area from a plurality of terminal devices in the target area includes: for any one of a plurality of terminal devices in a target area, determining any one of the terminal devices as a target terminal device to be migrated out of the target area under the condition that the cell migration state of the any one of the terminal devices is determined to be a ready migration state or a migration execution state by a first MEP; and determining at least one target terminal device to be migrated out of the target area from the plurality of terminal devices.
In one possible implementation manner, before issuing the installation package of the target edge application currently accessed by any target terminal device to the third MEP, the method further includes: and within a preset duration, distributing target virtual resources for the target edge application through the MEO, wherein the target virtual resources are used for deploying the target edge application on the third MEP.
In one possible implementation, the method further includes: and in the process of downloading and installing the target edge application on the third MEP, synchronizing the context information generated by the target edge application on the first MEP to the third MEP through the MEO.
In one possible implementation, the method further includes: determining a target access path of the target edge application through a network opening function NEF, a policy control function PCF and a session management function SMF based on application deployment information of the target edge application, wherein the application deployment information is used for indicating that the target edge application is deployed on a third MEP, and the target access path is used for indicating path information for accessing the target edge application; the access path of the target edge application is modified to a target access path.
In a second aspect, there is provided an application migration apparatus, including: the device comprises an acquisition unit, a determination unit and a processing unit; an obtaining unit, configured to obtain, based on a radio network information service RNIS, cell handover information corresponding to each terminal device in a target area through a first multi-access mobile edge computing platform MEP, where the target area is a service area of the first MEP, where the cell handover information includes at least one of the following: the identification of the terminal equipment, the cell migration state of the terminal equipment and the identification of the target cell, wherein the cell migration state comprises the following steps: preparing a migration state, executing the migration state, completing the migration state, refusing the migration state and canceling the migration state, wherein the target cell is a cell which is migrated by the terminal equipment; the determining unit is used for determining at least one target terminal device to be migrated out of the target area from a plurality of terminal devices in the target area through the first MEP based on the cell switching information corresponding to each terminal device; the determining unit is further configured to determine, by using the multi-access mobile edge calculation orchestration unit MEO, a third MEP from a plurality of second MEPs included in the area covered by the target cell, for any target terminal device of the at least one target terminal device, and send an installation package of a target edge application currently accessed by any target terminal device to the third MEP, where the third MEP is a MEP that is closest to any target terminal device among the plurality of second MEPs and is in an idle state; and the processing unit is used for downloading and installing the target edge application on the third MEP based on the installation package of the target edge application.
In a possible implementation manner, the determining unit is further configured to determine, for any one of the plurality of terminal devices in the target area, the any one of the terminal devices as the target terminal device to be migrated out of the target area, where it is determined by the first MEP that the cell migration state of the any one of the terminal devices is a ready migration state or an execution migration state; the determining unit is further used for determining at least one target terminal device to be migrated out of the target area from the plurality of terminal devices.
In one possible implementation, the processing unit is further configured to allocate, for a preset period of time, a target virtual resource to the target edge application through the MEO, where the target virtual resource is used to deploy the target edge application on the third MEP.
In one possible implementation, the processing unit is further configured to synchronize, by the MEO, context information generated by the target edge application on the first MEP to the third MEP during downloading and installing the target edge application on the third MEP.
In a possible implementation manner, the determining unit is further configured to determine, based on application deployment information of the target edge application, a target access path of the target edge application through a network opening function NEF, a policy control function PCF, and a session management function SMF, where the application deployment information is used to indicate that the target edge application is deployed on the third MEP, and the target access path is used to indicate path information for accessing the target edge application; and the processing unit is also used for modifying the access path of the target edge application into a target access path.
In a third aspect, an electronic device, comprising: a processor and a memory; wherein the memory is configured to store one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform an application migration method as in the first aspect.
In a fourth aspect, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer, cause the computer to perform an application migration method as in the first aspect.
The application migration method, device, equipment and storage medium are applied to application migration scenes. When the terminal equipment moves, cell switching information corresponding to each terminal equipment in a service area of the first MEP can be obtained, further, based on the cell switching information, target terminal equipment to be migrated out of the service area is determined from a plurality of terminal equipment in the service area of the first MEP, then a third MEP is determined from a plurality of second MEPs included in a cell coverage area where the target terminal equipment is migrated in, and an installation package of a target edge application currently accessed by the target terminal equipment is issued to the third MEP, so that the target edge application is downloaded and installed on the third MEP based on the installation package of the target edge application. And determining terminal equipment to be migrated out of the service area of the current MEP according to the cell switching information, and determining the MEP closest to the terminal equipment and free from the MEP included in the area covered by the cell to be migrated in by the terminal equipment to migrate the edge application.
By the method, when the terminal equipment moves, according to the cell switching information of the terminal equipment, the MEP closest to the terminal equipment and free from the terminal equipment is determined from the MEPs in the cell to be migrated in by the terminal equipment, and the downloading and the installation of the edge application are carried out. Therefore, the problems that in the prior art, when the terminal equipment moves, the terminal equipment is disconnected and reconnected due to direct UPF switching, service interruption is caused, and the time delay of the method is long are solved, and the efficiency of application migration and the continuity of application service are improved.
Drawings
Fig. 1 is a schematic diagram of a user service path according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an application migration system according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for application migration according to an embodiment of the present application;
fig. 4 is a second flowchart of an application migration method according to an embodiment of the present application;
fig. 5 is a flowchart of a method for application migration according to an embodiment of the present application;
fig. 6 is a flowchart of an application migration method according to an embodiment of the present application;
fig. 7 is a flowchart fifth of an application migration method according to an embodiment of the present application;
FIG. 8 is a schematic flow diagram of a deployment edge application and modification of access paths according to an embodiment of the present application;
fig. 9 is a schematic diagram of 5G MEC application migration in a UE mobile scenario provided in an embodiment of the present application;
FIG. 10 is a schematic flow chart of migration of an edge application according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an application migration device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
In the description of the present application, "/" means "or" unless otherwise indicated, for example, a/B may mean a or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. Further, "at least one", "a plurality" means two or more. The terms "first," "second," and the like do not limit the number and order of execution, and the terms "first," "second," and the like do not necessarily differ.
With the development of communication networks, the matching digital communication equipment of the UPF, the matching digital communication equipment of the resource pool and the interconnection link are all configured in pairs, so that the communication network has a link protection function, and virtual dynamic migration and other mechanisms can be provided in the resource pool. For the full flow angle of a specific UE of a client, the normal traffic path of the terminal device is a main path (i.e. UE-UPF1 (i.e. first UPF) -MEC1 (i.e. first MEC)), so as to access the edge application server (i.e. MEP 1) corresponding to MEC1 through the main path.
As shown in fig. 1, in an area corresponding to the first data center (DC 1), the resource pool 1 (i.e., the primary resource pool) may be accessed through the UPF1 (i.e., the primary UPF) and the resource pool 2 (i.e., the backup resource pool) may be accessed through the UPF1 based on a dedicated line or a bearer network. In the area corresponding to the second data center (DC 2), the resource pool 2 may be accessed through the UPF2 (i.e., the backup UPF) based on the dedicated line or the bearer network, and the resource pool 1 may be accessed through the UPF 2.
However, when the terminal equipment moves, if the location of the edge application server currently accessed by the terminal equipment is not good, the service path of the terminal equipment needs to be changed, and the edge application server corresponding to the MEC2 is accessed through the changed service path (namely, the UE-UPF2-MEC 2). Currently, UPF switching can be directly performed to change the service path of the UE and continue to access the application.
However, in the above method, since the direct UPF switching may cause the terminal device to be disconnected and reconnected, the method is only suitable for applications without application state and services with smaller delay requirements, but for applications with application state (such as industrial control applications and automatic driving applications), the service cannot be ensured to be uninterrupted, the dynamic migration of data in the resource pool cannot be solved, and the application migration is performed, so as to ensure the continuity of the service, and the delay of the method is longer. In addition, for stateful applications, user context information needs to be transferred when application migration is performed, and in particular, when migration of stateful applications is performed, service states need to be transferred and synchronized between the original application instance and the relocated application instance to provide service continuity.
The application migration method includes the steps that when terminal equipment moves, cell switching information corresponding to each terminal equipment in a service area of a first MEP can be obtained, further, based on the cell switching information, target terminal equipment to be migrated out of the service area is determined from a plurality of terminal equipment in the service area of the first MEP, then a third MEP is determined from a plurality of second MEPs included in a cell coverage area migrated by the target terminal equipment, and an installation package of a target edge application currently accessed by the target terminal equipment is issued to the third MEP, so that the target edge application is downloaded and installed on the third MEP based on the installation package of the target edge application. And determining terminal equipment to be migrated out of the service area of the current MEP according to the cell switching information, and determining the MEP closest to the terminal equipment and free from the MEP included in the area covered by the cell to be migrated in by the terminal equipment to migrate the edge application.
By the method, when the terminal equipment moves, according to the cell switching information of the terminal equipment, the MEP closest to the terminal equipment and free from the terminal equipment is determined from the MEPs in the cell to be migrated in by the terminal equipment, and the downloading and the installation of the edge application are carried out. Therefore, the problems that in the prior art, when the terminal equipment moves, the terminal equipment is disconnected and reconnected due to direct UPF switching, service interruption is caused, and the time delay of the method is long are solved, and the efficiency of application migration and the continuity of application service are improved.
The application migration method provided by the embodiment of the application can be suitable for an application migration system. Fig. 2 shows a schematic structural diagram of an application migration system. As shown in fig. 2, the application migration system 10 includes: base station 11, terminal equipment 12, electronic equipment 13.
The base station 11 is configured to obtain cell switching information corresponding to the terminal device 12 in the target area, and send the cell switching information corresponding to the terminal device 12 in the target area to the electronic device 13; the electronic device 13 is configured to determine, from a plurality of terminal devices 12 in a target area, a target terminal device 12 to be migrated out of the target area based on the cell handover information, determine a third MEP from a plurality of second MEPs included in the area covered by the target area, issue an installation package of a target edge application currently accessed by any one of the target terminal devices 12 to the third MEP, and download and install the target edge application on the third MEP based on the installation package of the target edge application, so as to perform migration based on the base station 11, the terminal device 12, and the electronic device 13.
An application migration method provided in an embodiment of the present application is described below with reference to the accompanying drawings. As shown in fig. 3, the application migration method provided in the embodiment of the present application is applied to an electronic device, and the method includes S201-S205:
s201, acquiring cell switching information corresponding to each terminal device in a target area through a first MEP based on RNIS.
Wherein the target area is a service area of the first MEP, and the cell handover information (i.e., cell change notification) includes at least one of: the identity of the terminal device (i.e. UE unique code (identity document, ID)), the cell migration status of the terminal device (i.e. host, HO), the identity of the target cell (i.e. target cell ID), the cell migration status comprising: preparing a migration state, executing the migration state, completing the migration state, refusing the migration state and canceling the migration state, wherein the target cell is a cell which is migrated by the terminal equipment.
It may be appreciated that the cell handover information corresponding to each terminal device in the target area may be acquired by a first multi-access mobile edge computing platform (MEP) included in the electronic device based on a wireless network information service (radio network information service, RNIS).
Alternatively, a terminal device within the service area of the first MEP (i.e., source MEP, S-MEP) may establish a session to access a target edge application on the first MEP. Further, the first MEP may subscribe to the RNIS in real time to the base station, so as to receive cell handover information corresponding to each terminal device in the target area transmitted by the base station based on the RNIS (i.e., source RNIS). It can be detected by the RNIS whether the terminal device is handed over to another wireless node (i.e. the target cell).
Illustratively, host takes 1 for migration preparation (i.e., preparing for migration state), 2 for migration execution (i.e., executing for migration state), 3 for migration completion (i.e., completing for migration state), 4 for refusal of migration (i.e., refusing for migration state), and 5 for canceling migration (i.e., canceling for migration state).
S202, determining at least one target terminal device to be migrated out of a target area from a plurality of terminal devices in the target area through a first MEP based on cell switching information corresponding to each terminal device.
It can be understood that, based on the cell handover information corresponding to each terminal device, at least one target terminal device to be migrated out of the target area may be determined from a plurality of terminal devices in the target area by a first MEP included in the electronic device.
Alternatively, based on the cell handover information corresponding to each terminal device, a terminal device that is moving within the target area may be identified, and it is determined whether the terminal device is about to migrate out of the service area of the current MEP (i.e., the first MEP). The geographical location of the current terminal device may be informed actively by the first MEP to a multi-access mobile edge calculation orchestration unit (multi-access edge orchestrator, MEO).
The cell handover information may indicate that the terminal device of the original mobile edge platform is switching cells. Specifically, the terminal device may be indicated to perform handover by an internet protocol (internet protocol, IP) address or GPRS tunneling protocol (GPRS tunneling protocol, GTP), tunnel endpoint identification (tunnel end point identifier, TEID) in the cell handover information, and the handover target is indicated by the target cell ID.
S203, determining a third MEP from a plurality of second MEPs included in the area covered by the target cell through the MEO for any one of the at least one target terminal device.
S204, issuing an installation package of the target edge application currently accessed by any target terminal equipment to the third MEP.
The third MEP is the MEP which is closest to any target terminal equipment in the second MEPs and is in an idle state.
It will be appreciated that for any one of the at least one target terminal device, the third MEP may be determined from a plurality of second MEPs included within the area covered by the target cell by means of an MEO included by the electronic device.
Optionally, for any target terminal device in the at least one target terminal device, a third MEP closest to the target terminal device and in an idle state of the server may be determined by the MEO from a plurality of second MEPs included in the area covered by the target cell.
S205, downloading and installing the target edge application on the third MEP based on the installation package of the target edge application.
It will be appreciated that the target edge application may be downloaded and installed on the third MEP by the electronic device based on the installation package of the target edge application.
Alternatively, an installation package of a target edge application (MEC application, ME-APP) may be issued to a third MEP, the ME-APP may be registered, downloaded and installed on the third MEP, and user data (i.e., context information) may be synchronized. Furthermore, after the ME-APP is registered, downloaded and installed, the third MEP informs the MEO that the edge application is installed and the user data is synchronized, and the MEO informs the first MEP that the edge application is installed and the user data is migrated.
In a possible implementation manner, the MEO discovers the optimal MEP node, so that the ME-APP installation package is issued, the synchronization of the state information to be applied and the transmission of the user context information can be realized, and the service continuity is ensured.
In one design, as shown in fig. 4, an application migration method provided in the embodiment of the present application, the method in step S202 includes steps S301 to S302:
s301, determining, for any one of a plurality of terminal devices in a target area, the any one terminal device as a target terminal device to be migrated out of the target area when determining, by a first MEP, that a cell migration state of the any one terminal device is a ready migration state or a migration state is performed.
It may be understood that, for any one of the plurality of terminal devices in the target area, in the case where it is determined by the first MEP that the cell migration status of any one of the terminal devices is the ready migration status or the execution migration status, any one of the terminal devices may be determined by the first MEP as the target terminal device to be migrated out of the target area.
S302, determining at least one target terminal device to be migrated out of the target area from a plurality of terminal devices.
It is understood that at least one target terminal device to be migrated out of the target area may be determined from the plurality of terminal devices by the first MEP.
In one design, as shown in fig. 5, in an application migration method provided in an embodiment of the present application, after the method in step S203 and before the method in step S204, the method further includes S401:
s401, distributing target virtual resources for the target edge application through MEO within a preset time period.
The target virtual resource is used for deploying the target edge application on the third MEP.
Optionally, within a preset duration, the target virtual resource required for deploying the target edge application may be locally pulled up by the MEO, and the target edge application is allocated with the target virtual resource, and then a message that the target edge application has been allocated with the target virtual resource is notified to the third MEP. The preset duration may be a time limit threshold required by an application installation package description file (APPD) of the target edge application.
It should be noted that, the installation package of the target edge application should specify the longest acceptable delay time limit of the edge application in the APPD as the mobile trigger time threshold.
In one design, as shown in fig. 6, in an application migration method provided in the embodiment of the present application, the method further includes S501:
S501, in the process of downloading and installing the target edge application on the third MEP, synchronizing the context information generated by the target edge application on the first MEP to the third MEP through the MEO.
Optionally, the context information generated by the target edge application on the first MEP may be synchronized to the third MEP (i.e., synchronizing user data) by the MEO while the target edge application is downloaded and installed on the third MEP.
It should be noted that the synchronization service state (i.e., context information) requires that the application program support multiple instances running concurrently, and the state of an application program instance (i.e., context information) may be captured in the source application program instance and copied to another application program instance independent of the operation of the application program instance itself.
In one design, as shown in fig. 7, in an application migration method provided in the embodiment of the present application, the method further includes S601-S602:
s601, determining a target access path of the target edge application through NEF, PCF, SMF based on application deployment information of the target edge application.
The application deployment information is used for indicating that the target edge application is deployed on the third MEP, and the target access path is used for indicating path information for accessing the target edge application.
Alternatively, the application deployment information of the target edge application may be sent to a network open function (network exposure function, NEF) interface by the MEO, and transferred to a fifth generation mobile communication technology core network control plane (5th generation mobile communication technology core control plane,5GC-Cp) by the NEF interface, and may be mapped to a data network access identifier (data network access identifier, DNAI).
Further, the DNAI is transmitted to the UPF2 (i.e. the second UPF) in accordance with the path of the NEF- > policy control function (policy control function, PCF) - > session management function (session management function, SMF) - > UPF 2. Specifically, a local distribution rule can be constructed by the PCF according to the application deployment information, and DNAI is transmitted to the SMF; according to DNAI, a second UPF is selected by the SMF, while a routing policy is issued by the PCF to the target terminal device (Route Selection Policy, urs).
S602, modifying the access path of the target edge application into a target access path.
Optionally, the target terminal device is controlled to disconnect the original link, and then the data plane access path is changed (i.e. the access path of the target edge application is modified to be the target access path), so as to initiate access to the address of the new edge application server (i.e. the address of the edge application server where the third MEP is located) according to the new urs, and then access the address of the new ME-APP again.
It should be noted that, when the target terminal device disconnects the original link, the service generated by the application program instance relocated in the target MEC host (i.e. the edge application server where the third MEP is located) can seamlessly continue the state of the application program instance in the source MEC host (i.e. the edge application server where the first MEP is located).
In one possible implementation, as shown in fig. 8, the underlying resources in the MEC management module (multi-access edge platform manager, MEPM) may be pulled up by the MEO and APP configured and APP registered. Further, the application deployment information is sent to the NEF through the MEO, the policy is issued to the PCF through the NEF, the policy is issued to the SMF through the PCF, the splitting rule is constructed through the SMF, and the splitting rule is sent to the UPF, so that the UE accesses the edge application on the MEP through the radio access network (radio access network, (R) AN) and the UPF.
In one possible implementation, as shown in fig. 9, the left side is the path of the access APP before the UE moves, and the right side is the path of the access APP after the UE moves.
In one possible implementation, as shown in fig. 10, the UE may access the APP on MEP1 by establishing a session with MEP1 through UPF 1. Furthermore, when detecting that the UE moves through the MEP1, the MEP may be informed to perform APP migration, then the MEP2 is discovered through the MEP, the APP installation package is issued to the MEP2, the user data is synchronized to the MEP2, finally the MEP2 is informed that the user data is synchronized, and the MEP1APP migration is completed. Further, the 5GC-Cp application deployment information is informed through the MEO, then the UPF2 is found through the 5GC-Cp, the UE is informed of updating the user data plane access path, the URSP is changed, and finally the UE can access the APP on the MEP2 through the UPF 2.
The application migration method includes the steps that through MEP real-time subscription RNIS information, UE movement is perceived, application migration is actively initiated, after MEO initiates application migration, MEO sends application deployment information to NEF in real time, user plane paths are conveniently changed, application program instance relocation is achieved, continuity of application migration service is guaranteed, switching between two UPFs can be achieved under session and service continuity Mode3 (session and service continuity Mode, SSC Mode 3), an application program installation package supports multi-instance concurrent operation, mobility of an application program is supported, session establishment is achieved, time delay service stability is required to be high, and continuity of application service is guaranteed.
The foregoing description of the solution provided in the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application may divide a functional module according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiments of the present application is schematic, which is merely a logic function division, and other division manners may be actually implemented.
Fig. 11 is a schematic structural diagram of an application migration device according to an embodiment of the present application. As shown in fig. 11, an application migration apparatus 40 is used for improving the efficiency of application migration and ensuring the continuity of application services, for example, for executing an application migration method shown in fig. 3. The application migration apparatus 40 includes: an acquisition unit 401, a determination unit 402, and a processing unit 403.
The obtaining unit 401 is configured to obtain, based on the radio network information service RNIS, cell handover information corresponding to each terminal device in a target area through a first multi-access mobile edge computing platform MEP, where the target area is a service area of the first MEP, where the cell handover information includes at least one of the following: the identification of the terminal equipment, the cell migration state of the terminal equipment and the identification of the target cell, wherein the cell migration state comprises the following steps: preparing a migration state, executing the migration state, completing the migration state, refusing the migration state and canceling the migration state, wherein the target cell is a cell which is migrated by the terminal equipment.
A determining unit 402, configured to determine, based on the cell handover information corresponding to each terminal device, at least one target terminal device to be migrated out of the target area from the plurality of terminal devices in the target area through the first MEP.
The determining unit 402 is further configured to determine, by using the multi-access mobile edge calculation orchestration unit MEO, a third MEP from a plurality of second MEPs included in the area covered by the target cell, for any target terminal device of the at least one target terminal device, and send an installation package of the target edge application currently accessed by any target terminal device to the third MEP, where the third MEP is a MEP that is closest to any target terminal device among the plurality of second MEPs and is in an idle state.
The processing unit 403 is configured to download and install the target edge application on the third MEP based on the installation package of the target edge application.
In a possible implementation manner, the determining unit 402 is further configured to determine, for any one of the plurality of terminal devices in the target area, any one of the terminal devices as a target terminal device to be migrated out of the target area, where it is determined by the first MEP that the cell migration state of the any one of the terminal devices is a migration ready state or a migration executing state; the determining unit 402 is further configured to determine at least one target terminal device to be migrated out of the target area from the plurality of terminal devices.
In a possible implementation manner, the processing unit 403 is further configured to allocate, for a preset period of time, a target virtual resource to the target edge application through the MEO, where the target virtual resource is used to deploy the target edge application on the third MEP.
In a possible implementation manner, the processing unit 403 is further configured to synchronize, during downloading and installing the target edge application on the third MEP, the context information generated by the target edge application on the first MEP to the third MEP through the MEO.
In a possible implementation manner, the determining unit 402 is further configured to determine, based on application deployment information of the target edge application, a target access path of the target edge application through the network opening function NEF, the policy control function PCF, and the session management function SMF, where the application deployment information is used to indicate that the target edge application is deployed on the third MEP, and the target access path is used to indicate path information for accessing the target edge application; the processing unit 403 is further configured to modify the access path of the target edge application into a target access path.
In the case of implementing the functions of the integrated modules in the form of hardware, the embodiments of the present application provide a possible structural schematic diagram of the electronic device involved in the above embodiments. As shown in fig. 12, an electronic device 60 is configured to improve the efficiency of application migration and ensure the continuity of application services, for example, to perform an application migration method shown in fig. 3. The electronic device 60 comprises a processor 601, a memory 602 and a bus 603. The processor 601 and the memory 602 may be connected by a bus 603.
The processor 601 is a control center of the communication device, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 601 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 601 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 12.
The memory 602 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
As a possible implementation, the memory 602 may exist separately from the processor 601, and the memory 602 may be connected to the processor 601 through the bus 603 for storing instructions or program codes. The processor 601, when calling and executing instructions or program code stored in the memory 602, is capable of implementing an application migration method provided in an embodiment of the present application.
In another possible implementation, the memory 602 may also be integrated with the processor 601.
Bus 603 may be an industry standard architecture (industry standard architecture, ISA) bus, a peripheral component interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 12, but not only one bus or one type of bus.
Note that the structure shown in fig. 12 does not constitute a limitation of the electronic apparatus 60. The electronic device 60 may include more or fewer components than shown in fig. 12, or may combine certain components or a different arrangement of components.
As an example, in connection with fig. 11, the acquisition unit 401, the determination unit 402, and the processing unit 403 in the application migration apparatus 40 realize the same functions as those of the processor 601 in fig. 12.
Optionally, as shown in fig. 12, the electronic device 60 provided in the embodiment of the present application may further include a communication interface 604.
Communication interface 604 for connecting with other devices via a communication network. The communication network may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 604 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
In one design, the electronic device provided in the embodiments of the present application may further include a communication interface integrated into the processor.
From the above description of embodiments, it will be apparent to those skilled in the art that the foregoing functional unit divisions are merely illustrative for convenience and brevity of description. In practical applications, the above-mentioned function allocation may be performed by different functional units, i.e. the internal structure of the device is divided into different functional units, as needed, to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
The embodiment of the application further provides a computer readable storage medium, in which instructions are stored, and when the computer executes the instructions, the computer executes each step in the method flow shown in the method embodiment.
Embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform an application migration method as in the method embodiments described above.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: electrical connections having one or more wires, portable computer diskette, hard disk. Random access memory (random access memory, RAM), read-only memory (ROM), erasable programmable read-only memory (erasable programmable read only memory, EPROM), registers, hard disk, optical fiber, portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium suitable for use by a person or combination of the foregoing, or as a value in the art.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (application specific integrated circuit, ASIC).
In the context of the present application, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Since the electronic device, the computer readable storage medium, and the computer program product in the embodiments of the present application may be applied to the above-mentioned method, the technical effects that can be obtained by the electronic device, the computer readable storage medium, and the computer program product may also refer to the above-mentioned method embodiments, and the embodiments of the present application are not repeated herein.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application.

Claims (12)

1. An application migration method, the method comprising:
based on a wireless network information service (RNIS), acquiring cell switching information corresponding to each terminal device in a target area through a first multi-access mobile edge computing platform (MEP), wherein the target area is a service area of the first MEP, and the cell switching information comprises at least one of the following items: the method comprises the steps of identifying terminal equipment, identifying a cell migration state of the terminal equipment and identifying a target cell, wherein the cell migration state comprises the following steps: preparing a migration state, executing the migration state, completing the migration state, refusing the migration state and canceling the migration state, wherein the target cell is a cell into which the terminal equipment migrates;
Determining at least one target terminal device to be migrated out of the target area from a plurality of terminal devices in the target area through the first MEP based on cell switching information corresponding to each terminal device;
for any one of the at least one target terminal device, determining a third MEP from a plurality of second MEPs included in the area covered by the target cell through a multi-access mobile edge calculation arrangement unit MEO, and issuing an installation package of a target edge application currently accessed by the any one target terminal device to the third MEP, wherein the third MEP is the MEP which is closest to the any one target terminal device in the plurality of second MEPs and is in an idle state;
and downloading and installing the target edge application on the third MEP based on the installation package of the target edge application.
2. The method according to claim 1, wherein the determining, by the first MEP, at least one target terminal device to be migrated out of the target area from a plurality of terminal devices in the target area based on the cell handover information corresponding to each terminal device includes:
for any one of the plurality of terminal devices in the target area, determining, by the first MEP, the any one of the terminal devices as a target terminal device to be migrated out of the target area when determining that a cell migration state of the any one of the terminal devices is a ready migration state or a migration execution state;
And determining the at least one target terminal device to be migrated out of the target area from the plurality of terminal devices.
3. The method according to claim 1 or 2, wherein before the issuing, to the third MEP, an installation package of a target edge application currently accessed by the any target end device, the method further comprises:
and within a preset duration, distributing target virtual resources for the target edge application through the MEO, wherein the target virtual resources are used for deploying the target edge application on the third MEP.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
and in the process of downloading and installing the target edge application on the third MEP, synchronizing the context information generated by the target edge application on the first MEP to the third MEP through the MEO.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
determining a target access path of the target edge application through a network opening function NEF, a policy control function PCF and a session management function SMF based on application deployment information of the target edge application, wherein the application deployment information is used for indicating that the target edge application is deployed on the third MEP, and the target access path is used for indicating path information for accessing the target edge application;
And modifying the access path of the target edge application into the target access path.
6. An application migration apparatus, characterized in that the application migration apparatus comprises: the device comprises an acquisition unit, a determination unit and a processing unit;
the acquiring unit is configured to acquire, based on a radio network information service RNIS, cell handover information corresponding to each terminal device in a target area through a first multi-access mobile edge computing platform MEP, where the target area is a service area of the first MEP, and the cell handover information includes at least one of the following: the method comprises the steps of identifying terminal equipment, identifying a cell migration state of the terminal equipment and identifying a target cell, wherein the cell migration state comprises the following steps: preparing a migration state, executing the migration state, completing the migration state, refusing the migration state and canceling the migration state, wherein the target cell is a cell into which the terminal equipment migrates;
the determining unit is configured to determine, based on cell handover information corresponding to each terminal device, at least one target terminal device to be migrated out of the target area from a plurality of terminal devices in the target area through the first MEP;
the determining unit is further configured to determine, by using a multi-access mobile edge calculation orchestration unit MEO, a third MEP from a plurality of second MEPs included in an area covered by the target cell, for any target terminal device in the at least one target terminal device, and send an installation package of a target edge application currently accessed by the any target terminal device to the third MEP, where the third MEP is a MEP closest to the any target terminal device in the plurality of second MEPs and in an idle state;
The processing unit is configured to download and install the target edge application on the third MEP based on the installation package of the target edge application.
7. The application migration apparatus according to claim 6, wherein the determining unit is further configured to determine, for any one of the plurality of terminal devices within the target area, the any one of the terminal devices as a target terminal device to be migrated out of the target area, in a case where it is determined by the first MEP that a cell migration state of the any one of the terminal devices is a ready migration state or a migration execution state;
the determining unit is further configured to determine, from the plurality of terminal devices, the at least one target terminal device to be migrated out of the target area.
8. The application migration apparatus according to claim 6 or 7, wherein the processing unit is further configured to allocate, for a preset period of time, a target virtual resource to the target edge application through the MEO, where the target virtual resource is used to deploy the target edge application on the third MEP.
9. The application migration apparatus according to claim 6 or 7, wherein the processing unit is further configured to synchronize, by the MEO, context information generated by the target edge application on the first MEP to the third MEP during downloading and installing of the target edge application on the third MEP.
10. The application migration apparatus according to claim 6 or 7, wherein the determining unit is further configured to determine, based on application deployment information of the target edge application, a target access path of the target edge application through a network opening function NEF, a policy control function PCF, and a session management function SMF, the application deployment information being used to indicate that the target edge application is deployed on the third MEP, the target access path being used to indicate path information for accessing the target edge application; the processing unit is further configured to modify an access path of the target edge application into the target access path.
11. An electronic device, comprising: a processor and a memory; wherein the memory is configured to store one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform an application migration method as claimed in any one of claims 1-5.
12. A computer readable storage medium storing one or more programs, wherein the one or more programs comprise instructions, which when executed by a computer, cause the computer to perform an application migration method as claimed in any of claims 1-5.
CN202311413553.5A 2023-10-27 2023-10-27 Application migration method, device, equipment and storage medium Pending CN117411864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311413553.5A CN117411864A (en) 2023-10-27 2023-10-27 Application migration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311413553.5A CN117411864A (en) 2023-10-27 2023-10-27 Application migration method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117411864A true CN117411864A (en) 2024-01-16

Family

ID=89495859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311413553.5A Pending CN117411864A (en) 2023-10-27 2023-10-27 Application migration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117411864A (en)

Similar Documents

Publication Publication Date Title
CN109548082B (en) Service redirection method and device
CN108738086B (en) User plane reselection method and device
CN110572377B (en) Data forwarding method, plug-in and domain name server
US20200323029A1 (en) Session Processing Method and Apparatus
US20230180351A1 (en) Application mobility mechanism for edge computing
CN113596191B (en) Data processing method, network element equipment and readable storage medium
US11445411B2 (en) Service switching processing method, related product, and computer storage medium
US20230254364A1 (en) Method and apparatus for transferring an edge computing application
CN110167092B (en) Service migration method and device
CN113556727B (en) Data transmission method and system of cloud equipment based on mobile container
CN112153555A (en) Method, server, system and storage medium for switching media service between areas
US11671362B2 (en) Managing data traffic for two simultaneous VPN connections with a VPN client
CN114172951B (en) MEC sharing method, communication device and storage medium
CN107948002B (en) AP access control method and device
CN109845329B (en) Communication method, network equipment and application management unit
CN117411864A (en) Application migration method, device, equipment and storage medium
CN114025400B (en) Session state holding method and session state holding device
CN107949009B (en) Method and device for detecting LTE network access result and computer storage medium
JP7471547B2 (en) Orchestrator device, communication system, application placement determination method, control circuit, and storage medium
CN113453286B (en) Service migration in response to access device handoff
CN114828120B (en) Communication method, device, system and storage medium
CN113366814B (en) Method for managing resource allocation in edge computing system
CN112165724B (en) Session switching method, communication network, source terminal and target terminal
CN107949008B (en) Method and device for detecting LTE network access result and computer storage medium
CN107889142B (en) Method and device for detecting LTE network access result and computer storage medium

Legal Events

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