Method, electronic device and computer program product for migrating applications

By determining applications and formulating migration strategies in the edge computing environment where the 5G system and the MEC system are integrated and deployed, and optimizing the application migration process, the problem of resource waste and service interruption caused by application migration in the edge computing environment is solved, and migration efficiency and users are improved. experience.

CN114579185BActive Publication Date: 2024-09-27EMC IP HLDG CO LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011379201.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2024-09-27
Estimated Expiration
2040-11-30

Smart Images

  • Figure CN114579185B
    Figure CN114579185B
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to methods, electronic devices, and computer program products for migrating applications. The method includes determining the application used by the terminal device if it is determined that the terminal device moves from a first cell provided by a first network device to a second cell provided by a second network device. The method also includes determining a migration strategy for the application, the migration strategy describing the migration of components of the application in a predetermined scenario corresponding to the application. The method also includes determining, based on the migration strategy, migration information of components in an initial edge node associated with the first network device to a target edge node associated with the second network device, the migration information at least indicating whether the components in the initial edge node are to be migrated to the target edge node. Through this method, the efficiency of application migration can be improved, the use of network resources and computing resources can be reduced, and the data processing efficiency and user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of edge computing, and more particularly, to methods, electronic devices, and computer program products for migrating applications. Background Art

[0002] Edge computing is the evolution of cloud computing, which migrates the deployment of applications from centralized data centers downward to distributed edge nodes, closer to consumers and the data generated by applications. Edge computing is considered to be one of the important technologies to meet the key performance indicators of 5G, especially in terms of low latency and bandwidth efficiency. The 3GPP 5G system specification allows the multi-access edge computing (MEC) system and the 5G system to collaborate in operations related to traffic steering and policy control. The MEC system can be integrated with the 5G system to create a powerful environment for edge computing. In the system architecture where the 5G system is integrated with the MEC system, the data plane of the 5G core network can be implemented by the user plane function network element (UPF) inside the MEC system. Summary of the invention

[0003] Embodiments of the present disclosure provide a method, an electronic device, and a computer program product for migrating applications.

[0004] According to a first aspect of the present disclosure, a method for migrating applications is provided. The method includes determining an application used by a terminal device if it is determined that the terminal device moves from a first cell provided by a first network device to a second cell provided by a second network device. The method also includes determining a migration strategy for the application, the migration strategy describing the migration of components of the application under a predetermined scenario corresponding to the application. The method also includes determining, based on the migration strategy, migration information of a component in an initial edge node associated with the first network device to a target edge node associated with the second network device, the migration information at least indicating whether the component in the initial edge node is to be migrated to the target edge node.

[0005] According to a second aspect of the present disclosure, an electronic device is provided. The electronic device includes at least one processor; and a memory coupled to the at least one processor and having instructions stored thereon, the instructions causing the device to perform an action when executed by the at least one processor, the action comprising: if it is determined that the terminal device moves from a first cell provided by a first network device to a second cell provided by a second network device, determining an application used by the terminal device; determining a migration strategy for the application, the migration strategy describing the migration of components of the application in a predetermined scenario corresponding to the application; based on the migration strategy, determining migration information of components in an initial edge node associated with the first network device to a target edge node associated with the second network device, the migration information at least indicating whether the components in the initial edge node are to migrate to the target edge node.

[0006] According to a third aspect of the present disclosure, there is provided a computer program product, which is tangibly stored on a non-volatile computer-readable medium and comprises machine-executable instructions, which when executed cause a machine to perform the steps of the method in the first aspect of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present disclosure.

[0008] Figure 1 A schematic diagram illustrating an example environment 100 in which devices and / or methods according to embodiments of the present disclosure may be implemented;

[0009] Figure 2 A flowchart of a method 200 for migrating an application according to an embodiment of the present disclosure is illustrated;

[0010] Figure 3 A block diagram illustrating a model parallelization system for edge computing according to an embodiment of the present disclosure is illustrated;

[0011] Figure 4A A schematic diagram showing an example environment for migrating applications in a first scenario according to an embodiment of the present disclosure;

[0012] Figure 4B A schematic diagram showing an example environment for migrating applications in a second scenario according to an embodiment of the present disclosure;

[0013] Figure 4C A schematic diagram showing an example environment for migrating applications in a third scenario according to an embodiment of the present disclosure is shown;

[0014] Figure 4D A schematic diagram of an example environment for migrating applications in a fourth scenario according to an embodiment of the present disclosure is shown;

[0015] Figure 5 A schematic block diagram of an example device 500 suitable for implementing embodiments of the present disclosure is illustrated.

[0016] In the various drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0019] The principles of the present disclosure will be described below with reference to several example embodiments shown in the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that these embodiments are described only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way.

[0020] As mentioned above, the 3GPP 5G system specification allows the integrated deployment of the MEC system and the 5G system. For example, the MEC system and its local UPF can be co-located with a base station, co-located with a transmission node, co-located with a network aggregation node, or co-located with a core network function element. In these deployment methods, applications are usually deployed in one or more physical edge nodes such as MEC nodes.

[0021] For model parallel applications, the scheduler, input node executor, and compute node executor of these applications are usually located in different edge nodes. For example, the input node executor can be deployed in an edge node co-located with a base station, while the scheduler and compute node executor can be deployed in an edge node co-located with a data center.

[0022] These applications usually serve the terminal devices of one or more users. When the user's terminal device enters a cell provided by another base station from a cell provided by one network device, such as a cell provided by a base station, it may be necessary to migrate the application from one edge node to another edge node. For ease of description, one edge node is called the initial edge node, and the other edge node is called the target edge node. In some cases, this often requires performing at least the following operations: reallocating resources for the application on the target edge node, starting a new application instance on the target edge node, synchronizing the state between the old and new instances of the application to continue the application service that was suspended on the original edge node, and reclaiming the resources occupied by the old instance from the original edge node. For applications such as autonomous driving that have high real-time requirements, the longer service interruption time caused by the above migration process may be unacceptable.

[0023] In addition, since the target edge node may already be running different instances of the application or parts of the instance, migrating the entire application at this time will result in obtaining duplicate data, wasting network resources and computing resources.

[0024] At least to solve the above and other potential problems. An embodiment of the present disclosure proposes a method for migrating applications. In this method, if it is determined that a terminal device moves from a first cell provided by a first network device to a second cell provided by a second network device, the application used by the terminal device is determined. Then a migration strategy for the application is determined, and using the migration strategy, migration information of a component in an initial edge node associated with the first network device to a target edge node associated with the second network device is determined, and the migration information at least indicates whether the component in the initial edge node is to be migrated to the target edge node. Through this method, the efficiency of application migration can be improved, the use of network resources and computing resources can be reduced, and data processing efficiency and user experience can be improved.

[0025] The embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. Figure 1 A block diagram of an example system 100 is shown in which embodiments of the present disclosure can be implemented. It should be understood that the structure of the system 100 is described for exemplary purposes only and does not imply any limitation on the scope of the present disclosure.

[0026] like Figure 1 As shown, system 100 includes terminal device 110 , network devices 108 and 114 , initial edge node 102 associated with network device 108 , target edge node 106 associated with network device 114 , and migration manager 104 that manages migration of applications from initial edge node 102 to target edge node 106 .

[0027] The terminal device 110 may be any terminal with a wired or wireless communication function, or may be a user equipment (UE), including but not limited to a mobile phone, a computer, a personal digital assistant, a game console, a wearable device, a vehicle-mounted communication device, a machine type communication (MTC) device, a device-to-device (D2D) communication device, a vehicle-to-everything (V2X) communication device, and a sensor, etc. The term terminal device can be used interchangeably with UE, mobile station, subscriber station, mobile terminal, user terminal, or wireless device.

[0028] The network device 108 and the network device 114 may be a network node, such as a Node B (Node B, or NB), an evolved Node B (eNodeB or eNB), a next generation Node B (gNB), a base transceiver station (BTS), a base station (BS), or a base station subsystem (BSS), etc. For convenience of description, the network device 108 is referred to as a first network device, and the network device 114 is referred to as a second network device.

[0029] In some embodiments, the initial edge node 102 is one or more edge nodes, such as an MEC node, co-located with the network device 108 and a regional data center connected to the network device 108. The target edge node is one or more edge nodes, such as an MEC node, co-located with the network device 114 and a regional data center connected to the network device 114.

[0030] In some embodiments, the regional data center connected to the network device 108 and the regional data center connected to the network device 114 are the same regional data center. Therefore, the edge node co-located with the network device 108 and the edge node co-located with the network device 114 are connected to the same edge node co-located with the same regional data center. In some embodiments, the regional data center connected to the network device 108 and the regional data center connected to the network device 114 are different regional data centers. Therefore, the edge node co-located with the network device 108 and the edge node co-located with the network device 114 are respectively connected to different edge nodes co-located with different regional data centers. The above examples are only used to describe the present disclosure, and are not specifically limited to the present disclosure.

[0031] Figure 1 The system 100 is shown to include two network devices 108 and 114, which is only an example and not a specific limitation of the present disclosure. The system 100 may include any number of network devices and edge nodes associated with the network devices.

[0032] The application 116 used by the terminal device 110 runs on the initial edge node 102. The application 116 is a model parallel application. Therefore, the calculation graph of the application 116 includes an input node, a calculation node, and an output node. These nodes can be arranged in different initial edge nodes in the initial edge node 102. For example, since the input node only needs to input data and does not need to occupy too many computing resources, the input node can be arranged on the initial edge node co-located with the network device 108. And since the calculation node needs to use a large amount of computing resources, it can be arranged on the initial edge node co-located with the regional data center connected to the network device 108.

[0033] In some embodiments, the data output by the application 116 is used by the user, and the output node of the application can be arranged on the initial edge node co-located with the network device 108. In some embodiments, the data output by the application 116 is used for the server in the network, and the output node can be arranged on the initial edge node co-located with the regional data center. Since the deployment of the output node is similar to that of the input node or the computing node, the output node can be described as an input node and a computing node.

[0034] Application 116 includes a node scheduler, an input node executor, and a compute node executor. Application 116 uses the input node executor to execute the functions of the input node, and the compute node executor executes the functions of the compute node. The node scheduler controls the execution of the input node and the output node.

[0035] The migration manager 104 is used to manage the migration of the application 116. When the terminal device 110 using the application 116 moves from the first cell 112 served by the network device 108 to the second cell 116 served by the network device 114, the migration manager 104 determines the migration information of the components of the running application in the initial edge node 102 to the target edge node 106 according to the corresponding migration strategy of the application 116, and the migration information at least indicates whether the components in the initial edge node 102 are to be migrated to the target edge node 106.

[0036] For different predetermined scenarios, the migration information may indicate to migrate part or all of the node scheduler, input node executor and computing node executor, or not to migrate. If components need to be migrated, the migration manager 104 migrates the components to be migrated indicated in the migration information to the target edge node 106 .

[0037] The migration manager 104 , the initial edge node 102 , and the target edge node 106 may be implemented using any device with computing functions and comply with the MEC standard established by the European Telecommunications Standards Institute (ETSI).

[0038] Through the above method, the efficiency of application migration can be improved, the use of network resources and computing resources can be reduced, and the data processing efficiency and user experience can be improved.

[0039] Figure 2 A flowchart of an example method 200 for migrating applications according to an embodiment of the present disclosure is described. The method 200 may be Figure 1 The migration manager 104 in the embodiment and any suitable computing device are executed. Figure 1 The example environment 100 shown in which the devices and / or methods according to embodiments of the present disclosure may be implemented further describes Figure 2 Embodiment of the invention.

[0040] At block 202, the migration manager 104 determines whether the terminal device 110 moves from the first cell 112 provided by the first network device 108 to the second cell 116 provided by the second network device 114. When the terminal device 110 roams from the first cell 112 to the second cell 116, the above determination needs to be performed.

[0041] If migration manager 104 determines that terminal device 110 moves from first cell 112 provided by first network device 108 to second cell 116 provided by second network device 114 , then at block 204 migration manager 104 determines applications 116 used by terminal device 110 .

[0042] In some embodiments, the migration manager 104 receives a message related to the movement of the terminal device 110. For example, the migration manager 104 receives a notification about the movement from the underlying structure. Then, the migration manager 104 obtains the device identification of the terminal device 110 from the message. Then, the application 118 used by the terminal device 110 is determined based on the device identification. In this way, the application used by the device can be quickly determined, which improves processing efficiency.

[0043] In some embodiments, when the terminal device 110 moves from the first cell 112 to the second cell 116, the migration manager 104 may obtain a notification and may obtain the application used by the terminal device 110 in any suitable manner, such as using the method defined in the 3GPP 5G standard and the MEC standard. The above example is only used to describe the present disclosure, but is not a specific limitation of the present disclosure. Those skilled in the art may determine the application 118 used by the terminal device 110 in any suitable manner as needed.

[0044] In some implementations, the application is a multi-model parallel application that is deployed on two levels of edge nodes, such as edge nodes co-located with network devices and edge nodes co-located with regional data centers. Figure 3To describe the model parallelization system architecture for edge computing proposed in an embodiment of the present disclosure.

[0045] Figure 3 An example block diagram of a system architecture 300 for model parallelization of edge computing according to an embodiment of the present disclosure is shown. The system architecture 300 includes an application 302 that performs reasoning tasks using a machine learning model, which may include a model scheduler 304, and executors 306-1, 306-2...306-M, where M is an integer greater than zero, which may be collectively referred to as executors 306. The system architecture 300 also includes a mobile and migration management controller 310 for a specific type of application and an application manager 308-1, 308-2...308-N for managing different instances of the specific type of application, collectively referred to as an application manager 308. For example, the application manager 308-1 is used to manage the application 302, and the application manager 308-2...308-N is used to manage other applications of the same type ( Figure 3 ), where N is an integer greater than zero. The system architecture 300 also includes an infrastructure service provider layer 312.

[0046] The infrastructure service provider layer 312 is used to provide basic platform services (such as application deployment / lifecycle management, enhanced hardware-aware architecture) and 3GPP 5G / MEC services (such as UPF selection, policy control functions, etc.) to the upper layer. For example, the infrastructure service provider layer 312 can be implemented using Intel's Open-NESS platform or a platform from another provider.

[0047] The mobile and migration management controller (MMMPC) 310 corresponds to a specific type of application. Because each type of application usually has a specific migration strategy, a specific calculation graph, a specific UPF control strategy for selecting UPF for the input node, and a specific application mobility control strategy for the calculation node, different types of applications can correspond to different MMMPCs. The MMMPC 310 can obtain a notification that a terminal device moves from one cell to another cell from the infrastructure service provision layer 312.

[0048] Each application manager 308 will correspond to a specific application instance under a specific type, and is used to implement command and data conversion between the specific application instance and the underlying service. All application managers of the same type of application are under the control of a single MMMPC for that type.

[0049] The model scheduler 304 and the executor 306 can implement a model parallelization algorithm. In some embodiments, the model scheduler 304 can divide the model used by the application to obtain input nodes and computing nodes. The model scheduler 304 can assign the multiple nodes obtained by the division to the corresponding executors 306 for execution. The model scheduler 304 can be implemented as a remote procedure call (RPC) server, and each executor 306 can be implemented as an RPC client. The RFC client of each executor 306 can execute the operation of one or more nodes according to the request sent by the RPC server.

[0050] In some embodiments, in order to implement deployment of applications on two-level edge nodes, the executor 306 for executing input nodes may be deployed on edge nodes co-located with network devices, and the executor 306 for executing computing nodes may be deployed on edge nodes co-located with regional data centers.

[0051] In some embodiments, the model scheduler 304 can be deployed, for example, on an edge node co-located with a regional data center. The application manager 308 can be deployed, for example, on a Figure 1 The migration manager 104 shown in FIG. 104 may be deployed on a suitable edge node, for example, an edge node co-located with a regional data center. Figure 1 The migration manager 104 is shown. In some embodiments, one or more of the application manager 308 and the MMMPC 310 can be implemented using the same physical device. The above examples are only used to describe the present disclosure, but are not specifically limited to the present disclosure.

[0052] return Figure 2 At block 206 , the migration manager 104 determines a migration strategy for the application, the migration strategy describing the migration of components of the application under a predetermined scenario corresponding to the application.

[0053] In some embodiments, the migration manager 104 determines the identification of the application 118. The migration manager 104 determines the migration strategy for the application 118 based on the identification of the application 118. In this way, the migration strategy of the application can be determined quickly and accurately, reducing the determination time.

[0054] In some embodiments, when the terminal device 110 uses the application 118, an instance of the application 118 is generated. The generated instance of the application 118 registers the corresponding migration strategy into the management table of the migration manager 104. The migration manager 104 can find the corresponding migration strategy using the identifier of the application. The above examples are only used to describe the present disclosure, but are not specific limitations of the present disclosure.

[0055] At block 208, the migration manager 104 determines, based on the migration strategy, migration information of a component in an initial edge node associated with the first network device to a target edge node associated with the second network device, wherein the migration information at least indicates whether the component in the initial edge node is to be migrated to the target edge node. After obtaining the migration information, the migration manager 104 performs the migration process according to the indication of the migration information.

[0056] Through the above method, the efficiency of application migration can be improved, the use of network resources and computing resources can be reduced, and the data processing efficiency and user experience can be improved.

[0057] Combined with the above Figure 2 and Figure 3 A schematic diagram of a method for migrating applications according to an embodiment of the present disclosure is described. Figures 4A-4D A schematic diagram of an example environment for migrating applications for different scenarios according to an embodiment of the present disclosure is described. In particular, the process of determining migration information and executing migration according to the migration strategy will be combined with Figure 4A-4D to describe.

[0058] like Figure 4A As shown, the example environment includes a terminal device 110, a network device 108, one or more MEC nodes 408 and a UPF 406 co-located with the network device 108, a regional data center 414, and one or more MEC nodes 412 and a UPF 410 co-located with the regional data center 414. The MEC nodes 408 and 412 can be managed by a MEC controller 404. In addition, the UPFs 121 and 131 can be managed by a control plane function unit 402 in, for example, a 5G core network.

[0059] The MEC controller 140 and the MEC nodes 122 and 132 comply with the MEC standards established by the European Telecommunications Standards Institute (ETSI).

[0060] For an application used by the mobile terminal 110, the executor for the input node in the computation graph of the application is deployed on the MEC node 408 co-located with the network device 108, and the executor for the computation node of the application and the model scheduler are deployed on the MEC node 412 co-located with the regional data center 414. In order to achieve traffic routing and directionality, a data path between the terminal device 110 and the MEC node 408 and a data path between the MEC node 408 and the MEC node 412 are also established.

[0061] In the predetermined scenario of the example environment, the terminal device 110 uses the application only in a single cell 112. If the terminal device 110 moves out of the single cell 112, the terminal device 110 cannot use the application. Therefore, there is no migration of the application. Therefore, the migration information in the migration strategy for this scenario indicates that the components of the application do not need to be migrated. In this way, the data of application migration is reduced, the processing efficiency is improved, and the waste of network resources is reduced. Then the MEC controller 404 uses the migration information and does not perform any migration operation.

[0062] like Figure 4B As shown, in this example environment, the same application instance can be used for terminal devices 110 in different cells. Figure 4A In addition to the components in the example, it also includes a network device 114, one or more MEC nodes 418 and a UPF 416 co-located with the network device 114.

[0063] MEC node 408 co-located with network device 108 and MEC node 418 co-located with network device 114 are connected to MEC node 412 co-located with the same regional data center 414. Therefore, the same instance of the application can be applied to terminal device 110 on first cell 112 and second cell 116.

[0064] Since the computing node executor and node scheduler of the application are deployed on the MEC node 412, when the terminal device 110 moves from the first cell 112 to the second cell 116, there is no need to migrate the computing node executor and the node scheduler. Since the input node executor needs to be deployed in the MEC node 418 along with the terminal device 110, in this predetermined scenario, the migration information in its migration strategy is to migrate the input node executor in the MEC node 408 to the MEC node 418. Therefore, based on the migration strategy for this scenario, it can be determined to migrate the input node executor in the EMC node to the MEC node 418. In this way, the data of application migration is reduced, the processing efficiency is improved, and the waste of network resources is reduced. Then, according to the obtained migration information, the input node executor is migrated from the MEC node 408 to the MEC node 418.

[0065] like Figure 4C As shown, in this example environment, the terminal device 110 uses the same instance of the application that is migrated in different cells. Figure 4BIn addition to the components in FIG. 1 , the network device 108 also includes a regional data center 424, one or more MEC nodes 422 co-located with the regional data center 424, and a UPF 420. Among them, the MEC node 408 co-located with the network device 108 is connected to the MEC node 412 co-located with the regional data center 414, and the MEC node 418 co-located with the network device 114 is connected to the MEC node 422 co-located with the regional data center 424. Therefore, when the terminal device 110 moves from the first cell 112 to the second cell 116, the practical instance used by the terminal device 110 needs to be migrated. Since the input node executor of the application is deployed on the MEC node 408, the computing node executor and the node scheduler are deployed on the MEC node 412. Therefore, when the terminal device 110 travels from the first cell 112 to the second cell 116, it is necessary to migrate the input node executor from the MEC node 408 to the MEC node 418, and migrate the computing node executor and the node scheduler from the MEC node 412 to the MEC node 422. Therefore, in this predetermined scenario, the migration information in its migration strategy is to migrate the input node executor, computing node executor and node scheduler in the initial edge node to the target edge node. Therefore, based on the migration strategy for this scenario, it can be determined to migrate the node scheduler, input node executor and computing node executor in MEC nodes 408 and 412 to MEC nodes 418 and 422 associated with the second network device 114. In this way, the data of application migration is reduced, the processing efficiency is improved, and the waste of network resources is reduced. In addition, it is also necessary to migrate the user context information about the application during the application process, including the status information in the node scheduler. Then, according to the obtained migration information, the input node executor, computing node executor and node scheduler are migrated from the initial MEC node to the target MEC node.

[0066] like Figure 4DAs shown, in this example environment, the terminal device 110 uses different application instances in different cells. The MEC node 408 co-located with the network device 108 is connected to the MEC node 412 co-located with the same regional data center 414, and the MEC node 418 co-located with the network device 114 is connected to the MEC node 422 co-located with the regional data center 424. An instance of the application serving the terminal device 110 is run on the MEC node 408 and the MEC node 412, and another instance of the application serving the terminal device 426 is run on the MEC node 418 and the MEC node 422. Therefore, when the terminal device 110 travels from the first cell 112 to the second cell 116, since an instance of the application already exists, there is no need to migrate the instance of the application. At this time, only the user context information running with the application in the MEC node 412 needs to be migrated, including the status information in the node scheduler. Therefore, based on the migration strategy for this scenario, it can be determined not to migrate the component. In this way, the data of application migration is reduced, the processing efficiency is improved, and the waste of network resources is reduced. Then, based on the obtained migration information, the migration operation of the application is not performed.

[0067] Figure 5 A schematic block diagram of an example device 500 that may be used to implement embodiments of the present disclosure is shown. Figure 1 Migration Manager 104 and Figures 4A-4C One or more of the MEC controller 404 and other components in the device 500 can be implemented using the device 500. As shown in the figure, the device 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 502 or computer program instructions loaded from a storage page 508 to a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0068] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage page 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0069] The various processes and processing described above, such as method 200, may be performed by processing unit 601. For example, in some embodiments, method 200 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as storage page 508. In some embodiments, part or all of the computer program may be loaded and / or installed on device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by CPU 501, one or more actions of method 200 described above may be performed.

[0070] The present disclosure may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.

[0071] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination of the above. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (e.g., a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0072] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0073] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0074] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0075] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0076] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0077] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0078] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for migrating an application, comprising: If it is determined that the terminal device moves from a first cell provided by the first network device to a second cell provided by the second network device, determining an application used by the terminal device; Determining a migration strategy for the application, the migration strategy describing migration of components of the application in a predetermined scenario corresponding to the application; as well as Based on the migration strategy, migration information of a component in an initial edge node associated with the first network device to a target edge node associated with the second network device is determined, wherein the migration information at least indicates whether the component in the initial edge node is to be migrated to the target edge node.

2. The method according to claim 1, wherein determining the application used by the terminal device comprises: receiving a message related to said movement of said terminal device; Acquire a device identification of the terminal device from the message; as well as An application used by the terminal device is determined based on the device identification.

3. The method of claim 1, wherein determining the migration strategy comprises: determining an identification of the application; as well as Based on the identification of the application, the migration strategy for the application is determined.

4. The method of claim 1, wherein determining the migration information comprises: If it is determined that the predetermined scenario indicates that the terminal device uses the application only in a single cell, it is determined not to migrate the component.

5. The method of claim 1 , wherein determining the migration information comprises: If it is determined that the predetermined scenario indicates that the terminal device uses the same instance of the application in different cells, it is determined to migrate the input node executor in the initial edge node to the target edge node.

6. The method of claim 1, wherein determining the migration information comprises: If it is determined that the predetermined scenario indicates that the terminal device uses the same instance of the migrated application in different cells, it is determined to migrate the node scheduler, input node executor and computing node executor in the initial edge node to the target edge node associated with the second network device.

7. The method of claim 1, wherein determining the migration information comprises: If it is determined that the predetermined scenario indicates that the terminal device uses different instances of the application in different cells, it is determined not to migrate the component.

8. An electronic device, comprising: at least one processor; as well as a memory coupled to the at least one processor and having instructions stored thereon, the instructions, when executed by the at least one processor, causing the device to perform actions, the actions comprising: If it is determined that the terminal device moves from a first cell provided by the first network device to a second cell provided by the second network device, determining an application used by the terminal device; determining a migration strategy for the application, the migration strategy describing migration of components of the application under a predetermined scenario corresponding to the application; and Based on the migration strategy, migration information of a component in an initial edge node associated with the first network device to a target edge node associated with the second network device is determined, wherein the migration information at least indicates whether the component in the initial edge node is to be migrated to the target edge node.

9. The device according to claim 8, wherein determining the application used by the terminal device comprises: receiving a message related to said movement of said terminal device; Acquire a device identification of the terminal device from the message; as well as An application used by the terminal device is determined based on the device identification.

10. The apparatus of claim 8, wherein determining the migration strategy comprises: determining an identification of the application; as well as Based on the identification of the application, the migration strategy for the application is determined.

11. The apparatus of claim 8, wherein determining the migration information comprises: If it is determined that the predetermined scenario indicates that the terminal device uses the application only in a single cell, it is determined not to migrate the component.

12. The apparatus of claim 8, wherein determining the migration information comprises: If it is determined that the predetermined scenario indicates that the terminal device uses the same instance of the application in different cells, it is determined to migrate the input node executor in the initial edge node to the target edge node.

13. The apparatus of claim 8, wherein determining the migration information comprises: If it is determined that the predetermined scenario indicates that the terminal device uses the same instance of the migrated application in different cells, it is determined to migrate the node scheduler, input node executor and computing node executor in the initial edge node to the target edge node associated with the second network device.

14. The apparatus of claim 8, wherein determining the migration information comprises: If it is determined that the predetermined scenario indicates that the terminal device uses different instances of the application in different cells, it is determined not to migrate the component.

15. A computer program product tangibly stored on a non-transitory computer readable medium and comprising machine executable instructions which, when executed, cause a machine to perform the steps of the method according to any one of claims 1 to 7.