CN107305502A - A kind of method and apparatus of application example migration - Google Patents

A kind of method and apparatus of application example migration Download PDF

Info

Publication number
CN107305502A
CN107305502A CN201610252124.8A CN201610252124A CN107305502A CN 107305502 A CN107305502 A CN 107305502A CN 201610252124 A CN201610252124 A CN 201610252124A CN 107305502 A CN107305502 A CN 107305502A
Authority
CN
China
Prior art keywords
application example
snapshot
source
edge host
host
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610252124.8A
Other languages
Chinese (zh)
Other versions
CN107305502B (en
Inventor
宗在峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610252124.8A priority Critical patent/CN107305502B/en
Priority to PCT/CN2017/081521 priority patent/WO2017182000A1/en
Publication of CN107305502A publication Critical patent/CN107305502A/en
Application granted granted Critical
Publication of CN107305502B publication Critical patent/CN107305502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/02Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/042Public Land Mobile systems, e.g. cellular systems

Abstract

The invention discloses a kind of method and apparatus of application example migration, including:Move edge host and snapshot is carried out to source application example in source;Progress snapshot is synchronous between source movement edge host and purpose movement edge host, so that the snapshot that purpose movement edge host will synchronize on purpose movement edge host resumes operation;Wherein, the snapshot is running space of the source application example in shooting time, and the running space includes operational process and status information.Purpose movement edge host receives the snapshot for the source application example that source movement edge host sends;Described impinge upon soon is reverted into purpose application example on the purpose movement edge place;The purpose application example is run on purpose movement edge host;Wherein, when running the purpose application example, run according to the operational process and status information of the snapshot.

Description

A kind of method and apparatus of application example migration
Technical field
The present invention relates to the side of the instance migration technology in the communications field, more particularly to a kind of migration of application example Method and equipment.
Background technology
Mobile edge calculations (MEC, Mobile Edge Computing) will be by that will apply (such as video flowing Marginalisation, local cache content distributing network (CDN, Content Delivery Network) etc.) deployment Access delay is reduced in the position close to access points such as base stations, bandwidth is saved, improves handling capacity.European electricity Believe Association for Standardization (ETSI, European Telecommunications Standards Institute) MEC Working group defines the framework of mobile edge calculations, as shown in Figure 1.
In the architecture, mobile edge host (Mobile Edge Host) includes virtual architecture (Virtualization Infrastructure), there is data forwarding function (Data plane) thereon.Also it is resident on mobile edge host A mobile edge platform (Mobile edge platform) and some mobile edge applications (ME app, Mobile Edge application).Mobile edge platform provides some mobile edge services for mobile edge application (ME service, Mobile Edge service).Edge platform is moved to support to move edge application and shifting Service log-on function (Service registry) is contained in communication between dynamic edge service, mobile edge platform, The function provides issue login mechanism, is moved for moving edge service issuing service and mobile edge application signing Dynamic edge service.Mobile edge platform also provides domain name system (DNS, Domain Name System) for application Function, so that application can be by the IP address of oneself and full name domain name (FQDN, Fully Qualified Domain Name) it is registered in dns server.Flow rule control (Traffic rules in mobile edge platform Control) can be with the forwarding rule of control data forwarding capability (Data plane), so as to flowing through movement The flow of edge host is redirected, such as, and the flow of some Business Stream is redirected to positioned at mobile side Mobile edge application on edge host.
Mobile edge composer (Mobile edge orchestrator) is responsible for the life cycle of mobile edge application Management, the selection for configuring, moving edge platform for moving edge platform etc..OSS (OSS, Office of Strategic Services) provide with third-party interface, so as to allow third party to move Dynamic edge application is loaded into mobile limbic system, and triggers instantiation and example termination of mobile edge application etc.. Mobile edge platform manager (Mobile edge platform manager) be responsible for the mobile edge platform of configuration and The life cycle management of mobile edge application, such as, by the corresponding flow rule of mobile edge application and DNS Rule is configured to mobile edge platform, from virtualization manager (Virtualization infrastructure Manager application resource in), and load corresponding mobile edge application.Virtualization manager (Virtualization Infrastructure manager) it is responsible for virtualization architecture (Virtualization in mobile edge host Infrastructure the management of virtual resource), distributes virtual resource, the mobile edge application software kit of loading etc..
Interface Mp3 between mobile edge host is used to support because user's movement is caused across mobile edge Communication between host, such as, support the upper of mobile edge application example between new legacy platform after user's movement Hereafter transmission or the migration of mobile edge application etc..
In a mobile network, because terminal has mobility, it will apply and be deployed to network edge locations, in order to The continuity of holding business, can but produce the roundabout (e.g., using still resident after terminal movement of path sometimes In original access point).
In order to which path caused by reducing this mobility does not optimize, a kind of method is that new position is moved in terminal When putting, application is moved into the current access point position of user., should due to widely using for virtualization technology Migration not difficult matter.However, when using needing to be handled according to the state of user, simply should The continuity of business is not ensured that to new position with instance migration.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of method of application example migration and setting It is standby.
The method of application example migration provided in an embodiment of the present invention, including:
Move edge host and snapshot is carried out to source application example in source;
Snapshot is carried out between source movement edge host and purpose movement edge host synchronous, so that the purpose is moved The snapshot that edge host will synchronize on purpose movement edge host resumes operation;
Wherein, the snapshot is running space of the source application example in shooting time, the running space Including operational process and status information.
It is same that snapshot is carried out in the embodiment of the present invention, between the source movement edge host and purpose movement edge host Step, including:
Source snapshot transmitted when moving edge host by captured snapshot and synchronous last time progress snapshot is carried out Compare, the part of two snapshot changes is sent to purpose movement edge host;
Wherein, when the transmission duration for being sent to purpose movement edge host is more than given threshold, carry out again Snapshot and snapshot are synchronous.
In the embodiment of the present invention, methods described also includes:
After last time carries out snapshot, the packet that terminal is sent to the source application example is preserved, The last time carries out the corresponding duration that sends of snapshot and is less than or equal to given threshold;
When impinging upon soon for the source application example reverts to purpose application example on the purpose movement edge host Afterwards, the packet preserved is sent to the purpose application example according to the sequencing of preservation.
In the embodiment of the present invention, the source movement edge host or purpose movement edge host preserve terminal It is sent to the packet of the source application example;
When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, first will be described The packet that source movement edge host preserves, or purpose edge host preserve and be sent to source application example simultaneously Packet, be sent to the purpose application example according to the sequencing of preservation;The purpose is moved again What edge host preserved, and the packet of source application example is not addressed to, sent according to the sequencing of preservation To the purpose application example.
The method for the application example migration that another embodiment of the present invention is provided, including:
Mobile edge composer moves edge place to source and/or purpose movement edge host sends snapshot and synchronously ordered Order;
Wherein, the snapshot synch command is used to control the source movement edge host to move side with the purpose Snapshot is carried out between edge host synchronous.
In the embodiment of the present invention, methods described also includes:
Mobile edge composer specifies snapshot synchronization delayed time threshold value when sending snapshot synch command;
When snapshot, which sends duration, is less than the snapshot synchronization delayed time threshold value, the mobile edge composer is received The snapshot that the source movement edge host or purpose movement edge host notify synchronously completes message.
In the embodiment of the present invention, methods described also includes:
Mobile edge composer sends instantiation snapshot command to purpose movement edge host;
Wherein, the instantiation snapshot command is used to control the purpose movement edge host to perform the snapshot Instantiation.
The method for the application example migration that another embodiment of the present invention is provided, including:
Purpose movement edge host receives the snapshot for the source application example that source movement edge host sends;
Described impinge upon soon is reverted into purpose application example on the purpose movement edge place;
The purpose application example is run on purpose movement edge host;
Wherein, when running the purpose application example, entered according to the operational process and status information of the snapshot Row operation.
In the embodiment of the present invention, methods described also includes:
Described impinge upon soon is reverted to before purpose application example on the purpose movement edge place, terminal hair is preserved Give the packet of the purpose application example;
When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, will be preserved The packet be sent to the purpose application example according to the sequencing of preservation.
In the embodiment of the present invention, methods described also includes:
When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, first will be described The packet that source movement edge host preserves is sent to the purpose application example according to the sequencing of preservation, The packet that purpose movement edge host is preserved again is sent to the purpose according to the sequencing of preservation Application example.
In the embodiment of the present invention, methods described includes:
Traffic filtering rule is set in purpose movement edge host, with according to traffic filtering rule The data that terminal is sent into source application example and/or purpose application example are sent to positioned at purpose movement edge The edge calculations Information Mobile Service on purpose application example or purpose movement edge host on host.
In the embodiment of the present invention, when the purpose, movement edge host receives instantiation snapshot request or completion After snapshot instance, the traffic filtering rule is set in purpose movement edge host.
In the embodiment of the present invention, when the purpose, movement edge host receives instantiation snapshot request or completion After snapshot instance, the traffic filtering rule is set in purpose movement edge host.
The equipment of application example migration provided in an embodiment of the present invention, including:
Snapshot unit, the shooting for carrying out snapshot to source application example;
Snapshot synchronization unit, it is same for performing the snapshot between source movement edge host and purpose movement edge host Step, so that the snapshot that purpose movement edge host will synchronize on purpose movement edge host resumes operation;
Wherein, the snapshot is running space of the source application example in shooting time, the running space Including operational process and status information.
In the embodiment of the present invention, the snapshot synchronization unit is additionally operable to carry out captured snapshot and last time Snapshot snapshot transmitted when synchronous is compared, and the part of two snapshot changes is sent into purpose movement side Edge host;Wherein, when the transmission duration for being sent to purpose movement edge host is more than given threshold, again Carry out snapshot and snapshot is synchronous.
In the embodiment of the present invention, the equipment also includes:
Memory cell, the source application is sent to for after last time carries out snapshot, preserving terminal The packet of example, the last time carries out the corresponding duration that sends of snapshot and is less than or equal to given threshold;
Transmitting element, for recovering when impinging upon soon for the source application example on the purpose movement edge host Into after purpose application example, the packet preserved is sent to the mesh according to the sequencing of preservation Application example.
In the embodiment of the present invention, the source movement edge host or purpose movement edge host preserve terminal It is sent to the packet of the source application example;
When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, first will be described The packet that source movement edge host preserves, or purpose edge host preserve and be sent to source application example simultaneously Packet, be sent to the purpose application example according to the sequencing of preservation;The purpose is moved again What edge host preserved, and the packet of source application example is not addressed to, sent according to the sequencing of preservation To the purpose application example.
The equipment for the application example migration that another embodiment of the present invention is provided, including:
Transmitting element, for moving edge place and/or purpose movement edge host transmission snapshot synchronously life to source Order;
Wherein, the snapshot synch command is used to control the source movement edge host to move side with the purpose Snapshot is carried out between edge host synchronous.
In the embodiment of the present invention, the equipment also includes:
Designating unit, for when sending snapshot synch command, specifying snapshot synchronization delayed time threshold value;
Receiving unit, for when snapshot sends duration and is less than the snapshot synchronization delayed time threshold value, receiving described Edge host is moved in source or the snapshot of purpose movement edge host notice synchronously completes message.
In the embodiment of the present invention, the transmitting element is additionally operable to send instantiation to purpose movement edge host Snapshot command;
Wherein, the instantiation snapshot command is used to control the purpose movement edge host to perform the snapshot Instantiation.
The equipment for the application example migration that another embodiment of the present invention is provided, including:
Receiving unit, the snapshot for receiving the source application example that source movement edge host sends;
Recovery unit, for the snapshot to be reverted into purpose application example on said device;
Running unit, for running the purpose application example on said device;Wherein, the mesh is run Application example when, run according to the operational process and status information of the snapshot.
In the embodiment of the present invention, the equipment also includes:
Storage unit, for the snapshot to be reverted to before purpose application example on said device, is preserved eventually End is sent to the packet of the purpose application example;
Transmitting element, for after the snapshot reverts to purpose application example on said device, will be protected The packet deposited is sent to the purpose application example according to the sequencing of preservation.
In the embodiment of the present invention, the transmitting element is additionally operable to when the snapshot is reverted on said device After purpose application example, the packet of edge host preservation is first moved into according to the sequencing of preservation in the source The purpose application example is sent to, then the packet that the equipment is preserved is sent out according to the sequencing of preservation Give the purpose application example.
In the embodiment of the present invention, the equipment also includes:Setting unit, for setting traffic filtering rule, So that terminal to be sent to the data of source application example and/or purpose application example according to traffic filtering rule It is sent to and moves the purpose application example on edge host or the edge on purpose movement edge host positioned at purpose Calculate Information Mobile Service.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, computer provided in an embodiment of the present invention Storage medium is stored with computer program, and the computer program is used for the method for performing above-mentioned application example migration.
In the technical scheme of the embodiment of the present invention, the bat that edge host carries out snapshot to source application example is moved in source Take the photograph;Snapshot is carried out between source movement edge host and purpose movement edge host synchronous, so that the purpose is moved The snapshot that edge host will synchronize on purpose movement edge host resumes operation;Wherein, the snapshot is institute Running space of the source application example in shooting time is stated, the running space includes operational process and status information. Purpose movement edge host receives the snapshot for the source application example that source movement edge host sends;By the snapshot Purpose application example is reverted on purpose movement edge place;Transported on purpose movement edge host The row purpose application example;Wherein, when running the purpose application example, according to the operation of the snapshot Flow and status information are run.It can be seen that, when the position of terminal is moved change, by snapshot side Application example is migrated to purpose and moves edge host by formula by source movement edge host, and application has been ensured during migration The continuity of example operation.
Brief description of the drawings
In accompanying drawing (it is not necessarily drawn to scale), similar reference can be in different views Described in similar part.Similar reference numerals with different letter suffix can represent the difference of similar component Example.Accompanying drawing generally shows each embodiment discussed herein by way of example and not limitation.
Fig. 1 is the Organization Chart of mobile edge calculations;
The schematic flow sheet one for the method that Fig. 2 migrates for the application example of the embodiment of the present invention;
The schematic flow sheet two for the method that Fig. 3 migrates for the application example of the embodiment of the present invention;
Fig. 4 is the structured flowchart of the mobile edge host of the embodiment of the present invention;
Application example is moved to purpose host's by Fig. 5 for the use snapshot of the embodiment of the present invention from sourcesink master The schematic diagram one of method;
Fig. 6 corresponds to Fig. 5 system architecture schematic diagram;
Fig. 7 is the interaction schematic diagram one of the migration flow of the embodiment of the present invention;
Application example is moved to purpose host's by Fig. 8 for the use snapshot of the embodiment of the present invention from sourcesink master The schematic diagram two of method;
Fig. 9 corresponds to Fig. 8 system architecture schematic diagram;
Figure 10 is the interaction schematic diagram two of the migration flow of the embodiment of the present invention;
The structure composition schematic diagram one for the equipment that Figure 11 migrates for the application example of the embodiment of the present invention;
The structure composition schematic diagram two for the equipment that Figure 12 migrates for the application example of the embodiment of the present invention;
The structure composition schematic diagram three for the equipment that Figure 13 migrates for the application example of the embodiment of the present invention.
Embodiment
In the technical scheme of each embodiment of the invention, to ensure the business continuance before and after application example migration, The migration of application example is carried out using snapshot, i.e.,:To source application example carry out snapshot shooting, so as to When needing the application example to migrate, application example is returned into migration using snapshot on purpose movement edge host Preceding state.
In the schematic flow sheet one for the method that Fig. 2 migrates for the application example of the embodiment of the present invention, this example The method of application example migration is applied to source and moves edge host, as shown in Fig. 2 the application example is migrated Method comprise the following steps:
Step 201:It is synchronous that progress snapshot between edge host and purpose movement edge host is moved in source.
Specifically, edge host is moved by source and the shooting of snapshot is carried out to source application example, and the snapshot is copied Shellfish is resumed operation into new mobile edge host, here, and new mobile edge host is referred to as into purpose movement Edge host.The application example in edge host is moved into source and is referred to as source application example, purpose is moved into edge Application example in host is referred to as purpose application example.Copied to reduce snapshot from source movement edge host Purpose moves the time of edge host, in actual copy, snapshot and mesh that can be in source movement edge host Mobile edge host in copied part different between the application image (or snapshot) that preserves go over, without Copy whole snapshot space.
Here, the snapshot is running space of the source application example in shooting time, the running space Including operational process and status information.
Specifically, running space at a time when snapshot means application example operation, including it is all Operation code and status information.The fortune for refering in particular to source application example in shooting time of taking pictures of the embodiment of the present invention Row space.In this way, when it is described impinge upon purpose movement edge host soon and resume operation when, application example will be from fast Resumed operation according to shooting point.
The synchronizing process is that occur when application example is migrated, or before application example migration.
The synchronizing process potentially includes the process of multiple iteration, such as:
When first time snapshot is synchronous, source moves edge host and whole snap copy to purpose is moved into edge host;
When follow-up snapshot is synchronous, source is moved captured when edge host will newly shoot snapshot and be upper subsynchronous Snapshot compares, and the part of change is sent into purpose movement edge host.
The propagation delay time spent needed for the synchronizing process is gradually reduced with the increase of iterations.When described When time delay needed for synchronizing process is less than some threshold value, it is believed that snapshot is synchronously completed.
If the synchronizing process application example migration before occur, even if snapshot synchronization delayed time already less than It is synchronous that snapshot still can be carried out after a certain threshold value, between source movement edge host and purpose movement edge host, It is that snapshot sync interval now can be synchronized by a certain default cycle (such as 10 seconds) interval.
Step 202:In purpose, movement edge host instantiates the snapshot.
In the embodiment of the present invention, recover completely in purpose movement edge host to application example after snapshot synchronization In this period, if application example generating state changes, the state change of this period may also cause industry That is engaged in is discontinuous.
If therefore, still thering is packet to enter source application example after snapshot synchronization, starting to preserve from fast According to all packets for entering source application example after synchronization, until the data flow successful switch of terminal should to purpose Untill example.In the process, movement edge host in source can proceed to respond to user's application.When synchronization Impinge upon soon after purpose movement edge host recovery, edge host is moved by the above-mentioned packet preserved by guarantor in source The sequencing deposited occur to recovery after purpose application example.Purpose movement edge host needs to confirm own The packet sent from source movement edge host just allows terminal directly to move side by purpose after the completion of all handling Edge host sends packet and gives purpose application example, if purpose movement edge host receives terminal and directly issues mesh Mobile edge host packet, purpose movement edge host can be with temporary cache packet, until source is moved All data of dynamic edge host caching have all been handled.So, purpose application example can handle source movement The state that edge host's breakpoint is moved in source is returned to after all packets that edge host sends, so as to from disconnected Start to process data at point, and restart to respond the message of user.
Based on this, in one embodiment of the invention mode:After snapshot synchronization is carried out, source edge calculations platform is protected Deposit the packet that terminal is sent to the source application example;The purpose is impinged upon soon when the source application example Reverted on mobile edge host after purpose application example, by elder generation of the packet preserved according to preservation The purpose application example is sequentially sent to afterwards.
Based on this, in another embodiment of the present invention mode:The purpose is impinged upon soon when the source application example Reverted on mobile edge host before purpose application example, notify the purpose movement edge host to preserve terminal The packet of the application example is sent to, until described impinge upon soon is recovered on the purpose movement edge host Untill purpose application example.
In order to ensure business continuance, using except needing in addition to the status information of new opplication instance recovery user, If the IP address of new example is different from source instance, in addition it is also necessary to notify user to update the IP address of application.If should The change of this IP address is supported with layer, then can be notified new IP address to terminal by application layer.If using Layer does not support the change of IP address, then it is IP address, mesh to need newly to move edge host by source address Ground be transmitted to for all packets that edge host is moved in source and move the new opplication that recovers on edge host new Example, therefore, newly mobile edge host needs to configure the forwarding rule of user plane, also, whole edge meter Calculation system avoids the IP address distributing to other application example within a period of time.Meanwhile, mobile edge meter Calculate platform and update DNS systems, the corresponding IP address of the domain name of the application example of this in DNS is updated to newly should With the IP address of example.After the DNS cache of user terminal is expired, terminal can initiate dns resolution, Terminal can obtain the IP address of new example during this, so as to send IP data directly to new example Bag.
In the embodiment of the present invention, snapshot is used to carry out the migration of application example, it is ensured that application example is from disconnected Lossless recovery (because all status informations of operation code and operation are contained in snapshot) at point.
In the schematic flow sheet two for the method that Fig. 3 migrates for the application example of the embodiment of the present invention, this example The method of application example migration is applied to purpose and moves edge host, as shown in figure 3, the application example is moved The method of shifting comprises the following steps:
Step 301:Purpose movement edge host connects the snapshot that progress application example between edge host is moved with source It is synchronous.
Step 302:The purpose that impinges upon soon for being synchronized to purpose movement edge host is moved into edge place On revert to purpose application example.
In the embodiment of the present invention, methods described also includes:Impinged upon described soon on the purpose movement edge place Revert to before purpose application example, preserve the packet that terminal is sent to the purpose application example;When described Impinge upon and reverted on the purpose movement edge host after purpose application example soon, by the data preserved Bag is sent to the purpose application example according to the sequencing of preservation.
Step 303:The purpose application example is run on purpose movement edge host.
Here, when running the purpose application example, entered according to the operational process and status information of the snapshot Row operation.
In the embodiment of the present invention, methods described also includes:The purpose movement edge host is impinged upon soon when described On revert to after purpose application example, first by the source move edge host preserve packet according to preservation Sequencing is sent to the purpose application example, then the purpose is moved into the packet that edge host preserves Sequencing according to preservation is sent to the purpose application example.
In order to support the application example seamless migration based on snapshot, an edge is increased on mobile edge host Information Mobile Service is calculated, as shown in Figure 4.Edge calculations Information Mobile Service is from the nothing resided on mobile edge host The line network information service (RNIS, radio network information service) obtains the mobile thing of user Part.In application example, if application example has the demand of migration, system should be in edge calculations Information Mobile Service In the application example is registered.Edge calculations Information Mobile Service monitors the user of the application example of all registrations Moving event.Once edge calculations Information Mobile Service monitors that the user of a certain application example there occurs across host Switching when, edge calculations Information Mobile Service notifies mobile edge composer.In addition, moved in application example During shifting, edge calculations Information Mobile Service also temporary cache user is sent to the data of application example, in application Instance recovery back edge calculates Information Mobile Service and the data of caching sequentially is sent into purpose application processing.
Meanwhile, in order to support the migration of seamless application example, virtualization architecture need to be supported to shoot snapshot and snapshot Synchronous function.Also, mobile edge composer, virtual architecture manager are required for supporting to carry out snapshot Recover, including, according to the application configuration file of the corresponding original application bag of application example distribution resource, and Captured snapshot is loaded in distributed resource, by the additional environmental variance of configuration file and snapshot to snapshot Carry out necessary configuration.
In each embodiment below the present invention, source movement edge host is referred to as sourcesink master, purpose movement side Edge host is referred to as purpose host.
Fig. 5 describes a kind of method that use snapshot moves to application example from sourcesink master purpose host Schematic diagram.In Figure 5, the base station associated by terminal from sourcesink master has been switched to the base associated by purpose host Stand.
1st, terminal is sent to the data of source application example and is transmitted to sourcesink master by purpose host.
2nd, mobile edge composer determines to carry out after application example migration, notifies source and destination host is carried out fast According to synchronization.
3rd, after snapshot synchronization delayed time is less than some threshold value, purpose host is by snapshot instance.Purpose host is same When start log-on data caching.
4th, the data of caching are sent to the application example after recovering by purpose host by after the completion of snapshot instance Handled.It is data cached handled after, purpose host by data be transmitted directly to recover after application example.
Fig. 6 corresponds to Fig. 5 system architecture schematic diagram.Source application example 102 is located at sourcesink master 101, Virtualization architecture 104 in sourcesink master 101 is responsible for source application example 102 and shoots snapshot 105.It hurry up It is copied to according to 105 in transition process in purpose host 106 and recovers to be purpose application example 107. Before purpose application example 107 successfully recovers, in the edge calculations platform 108 in purpose host 106 Edge calculations Information Mobile Service 110 is responsible for the data that caching terminal issues purpose application example 107, and data are preserved In caching in edge calculations Information Mobile Service 110.After purpose application example 107 successfully recovers, edge meter Purpose application example 107 will be sent in order for its data cached by calculating Information Mobile Service 110.Specific During instance migration, it is responsible for the source platform manager 111 and source virtualization architecture manager of sourcesink master 101 112nd, be responsible for the purpose Platform Manager 113 of purpose host 106, purpose virtualization architecture manager 114, Mobile edge calculations composer 115 and the edge calculations platform 103 in sourcesink master 101 will all be participated in Migrate flow.
Fig. 7 is the interaction schematic diagram one of the migration flow of the embodiment of the present invention, and in the figure 7, edge calculations are moved Dynamic service, radio network information service are all located at moving in edge host.Source VIM refers to source virtual management Device, purpose VIM refers to purpose virtualization manager.The migration flow comprises the following steps:
1st, before terminal switches, the application in terminal is communicated with positioned at the source instance of sourcesink master. Terminal is had been switched under the base station with purpose homed associations before snapshot migration, the communication between terminal and source instance Source application example is transmitted to by being transmitted to sourcesink master in purpose host, then by sourcesink master.
2nd, mobile edge composer determines to initiate the migration of application example.Mobile edge composer is real according to application The demand (such as time delay, load) of example, the attribute of purpose host decide whether the application example moving to mesh Host, and for application selection purpose host.Mobile edge composer gives sourcesink master corresponding edge platform Manager sends snapshot migration request message.
3rd, the corresponding edge platform manager of sourcesink master sends fast to the virtual architecture manager associated by sourcesink master Prepare message according to migration.
4th, virtual architecture manager associated by sourcesink master prepares snapshot, and be ready for after snapshot synchronization to The corresponding edge platform manager of sourcesink master sends response message.In order to ensure communication safety, sourcesink is main to be closed The virtual architecture manager of connection can be follow-up one token (token) of synchronous distribution, and the token is by moving Dynamic edge composer is sent to the virtual architecture manager associated by purpose host, and when follow-up snapshot is synchronous Virtual architecture manager associated by transmission source host, so as to the virtual architecture manager pair associated by sourcesink master Snapshot synchronization request is verified.
5th, the virtual architecture manager associated by sourcesink master gives mobile edge composer to send response message.Sourcesink Main associated virtual architecture manager is by the relevant information of the virtual architecture manager associated by sourcesink master, such as The information such as URL, IP address, token are sent to mobile edge composer.
6th, mobile edge composer sends asking for snapshot migration to the corresponding edge platform manager of purpose host Ask, the information and the information of sourcesink master for the application example that will be migrated are carried in request.Mobile edge composer Snapshot synchronization delayed time can be set, when synchronously required time is less than the snapshot synchronization delayed time of setting to snapshot, Purpose host stops follow-up snapshot synchronization, stops the data that terminal is come being further transmitted to source application example, And start to recover the snapshot of application example on purpose host.In order to reduce snapshot recovery latency, mobile edge Composer can ask purpose edge platform manager to be the virtual meter of application example distribution that will be migrated in this step Calculate, store and Internet resources.
7th, purpose edge platform manager sends synchronisation snapshot to the virtual architecture manager associated by purpose host Request.According to the request of mobile edge composer, purpose edge platform manager also asks purpose host to be closed Virtual architecture manager distribution virtual computing, storage and the Internet resources of connection.
8th, the virtual architecture manager associated by purpose host is virtual associated by the purpose host that will be migrated Architecture management device sends response message to purpose edge platform manager.Alternatively, associated by purpose host Virtual architecture manager distributes virtual computing, storage and Internet resources according to demand, gets out empty machine, waits The migration of application example.
9th, the virtual architecture manager associated by purpose host initiates to manage with the virtual architecture associated by sourcesink master The snapshot of synchronous applications example between device.When implementing, if the virtual architecture management associated by purpose host The image (original image) of the application has been saved in device, in order to shorten snapshot lock in time, the main institute of sourcesink The virtual architecture manager of association only need to be by the virtual architecture associated by the snapshot of source application example and purpose host Different parts (that is, the part changed during running) is sent in original image in manager Virtual architecture manager associated by purpose host.If snapshot lock in time is more than set by mobile edge composer Fixed snapshot synchronization delayed time, virtual architecture manager associated by purpose host with it is virtual associated by sourcesink master Change (the change occurred during upper once synchronization of further synchronous applications example snapshot between architecture management device Change), untill image lock in time is less than the snapshot synchronization delayed time.
10th, the virtual architecture manager associated by purpose host is same to purpose edge platform manager transmission snapshot Step is completed.Alternatively, purpose edge platform manager can transmit the message to mobile edge composer.
11st, purpose edge platform manager order edge calculations platform is the application cache data.Edge meter The filter of platform configuration forwarding surface is calculated, the data redirection of the application example migrated will be sent to position In the edge calculations Information Mobile Service of edge calculations platform, and by it on behalf of caching.If snapshot recovery time is longer, It is contemplated that sending the data to source application example while local cache data, moved to shorten application example Move the service disconnection that causes so that the migration of business in terminal not aware application example.
If the 12nd, in the 10th step, snapshot synchronously completes message and has been sent to mobile edge composer, mobile side Edge composer, instantiation application is sent soon by purpose edge platform manager to purpose virtual architecture manager According to order;Otherwise purpose edge platform manager directly sends instantiation to purpose virtual architecture manager and answered With the order of snapshot.
13rd, purpose virtual architecture manager for the calculating needed for application snapshot distribution to be virtualized, storage, Internet resources, and snapshot to be restored is resumed operation into the resource distributed, and to being recovered Snapshot carries out necessary configuration, such as configures IP address etc. for it.After snapshot resumes operation, purpose is virtual Architecture management device sends instantiation to purpose edge platform manager and completes response message.
14th, purpose edge platform manager sends instance recovery to the edge calculations platform in purpose host and notified.
15th, after the instance recovery come from purpose edge platform manager notice is received, the side in purpose host The data cached for the application example are sent to the purpose application example after recovering by edge calculating platform in order. Also, the edge calculations platform in purpose host updates forwarding rule, terminal is issued into source or purpose application is real The data redirection of example is to purpose application example.Now, terminal issues the destination of the packet of application example Location is probably the address of source application example, it is also possible to the address of new opplication example.Application is updated in terminal Before destination address, terminal is still to the address transmission data of source application example, and edge platform should configure permission eventually The data that source application example address is issued at end are sent to purpose application example.If purpose host is data cached Source application is also forwarded the data to simultaneously, then purpose host should be abandoned by appointing that the packet cached is triggered What response data, just starts after the completion of the data of local cache are all handled by the response of purpose application example Packet is sent to terminal.
16th, the edge calculations platform in purpose host sends response message to purpose edge platform manager.
17th, purpose edge platform manager gives mobile edge composer to send snapshot migration completion message.
18th, mobile edge composer sends example termination request message and gives source edge platform manager, to terminate Source application example.
19th, edge platform manager in source sends example termination notice message to the edge calculations platform in sourcesink master.
20th, the edge calculations platform in sourcesink master sends termination instance notification to source application example, so that source should Graceful it can be closed with example.
21st, after the preparation that source application example has handled before closing, the edge calculations platform in sourcesink master The configuration information such as DNS rules, traffic filtering rule configured for source application example is deleted, and it is flat to source edge Platform manager sends example termination and completed.
22nd, shared by the virtual architecture manager release source instance of source edge platform manager order source homed associations Resource.
23rd, after the virtual architecture manager release of sourcesink main association completes the resource shared by example, source edge Platform Manager notifies mobile edge composer snapshot migration to complete.
24th, directly communicated between terminal and purpose application example.
Fig. 8 describes the method that another use snapshot moves to application example from sourcesink master purpose host Schematic diagram.In Fig. 8, mobile edge composer predicts the moving direction of terminal, and is switched to newly in terminal Prior notice source and destination movement edge host carries out snapshot synchronization before position, to occur actually to cut in terminal Purpose movement edge host can be quickly switched into when changing.When actually occurring switching, edge place is moved in purpose Your Majesty has saved snapshot new enough, and mobile edge composer can direct command purpose movement edge host The snapshot of local synchronization is instantiated.In order to ensure that the application example on purpose movement edge host can be Breakpoint goes out to recover, and needs to cache the packet of last time snapshot point start to process in sourcesink master, so as in mesh Host on the state of the snapshot resumed operation (i.e. purpose application example) updated arrived with source using identical. Step in Fig. 8 embodiments is as follows:
1st, synchronisation snapshot between sourcesink master and purpose host.Mobile edge composer is according to terminal motion track Prediction determines which purpose host sourcesink chief commander's snapshot is synchronized to.
2nd, after each snapshot, the main log-on data caching of sourcesink will be sent to source application example during this Data buffer storage is local, until this lower snapshot or application example are migrated.
3rd, sourcesink master receives the notification message that the terminal from source base station prepares switching.
4th, mobile edge composer order purpose host is instantiated the snapshot that locally preserves (last time is synchronized to Local snapshot).
5th, the source application of sourcesink Your Majesty continues as terminal service, and completion, mesh are recovered until impinging upon purpose host soon Host start local cache.
6th, the data of sourcesink chief commander local cache are sent to purpose host.When application example recovers in purpose host Afterwards, purpose host first by from sourcesink master send it is data cached be sent to purpose application example in order, then will The data directly sent from terminal of local cache are sequentially sent to purpose application example.
Fig. 9 corresponds to Fig. 8 system architecture schematic diagram.Source application example 102 is located at sourcesink master 101, Virtualization architecture 104 in sourcesink master 101 is responsible for source application example 102 and shoots snapshot 105.It hurry up It is copied to according to 105 in transition process in purpose host 106 and recovers to be purpose application example 107. Sourcesink master 101 is that source application example 102 is shot after snapshot, the edge calculations platform 103 in sourcesink master 101 In edge calculations Information Mobile Service 116 start to cache the data for being sent to source application example.Purpose application example After 107 successfully recover, processing sourcesink master 101 it is data cached before, the edge calculations of purpose host are put down Platform 108 caches the data for being sent to source or purpose application example.After purpose application example 107 successfully recovers, The data received from sourcesink master are first sent to purpose application example 107 by edge calculations platform 108 in order, The data directly received from terminal of local cache are sent to purpose application example 107 in order again.In tool During the instance migration of body, it is responsible for the source platform manager 111 and source virtualization architecture pipe of sourcesink master 101 Manage device 112, the purpose Platform Manager 113 for being responsible for purpose host 106, purpose virtualization architecture manager 114 and mobile edge calculations composer 115 will all participate in migrating flow.
Figure 10 is the interaction schematic diagram two of the migration flow of the embodiment of the present invention, and in fig. 8, edge calculations are moved Dynamic service, radio network information service, Service Registry are all located at moving in edge host.Source VIM Refer to source virtualization manager, purpose VIM refers to purpose virtualization manager;The migration flow is included such as Lower step:
1st, the application in terminal is communicated with positioned at the source instance of sourcesink master.Communication between terminal and source instance Source application example is transmitted to by sourcesink master, or is transmitted to by purpose host after sourcesink master again by sourcesink master It is transmitted to source application example.
2nd, snapshot is carried out between source virtualization manager and purpose virtualization manager synchronous.Mobile composer according to Need to determine snapshot synchronization is carried out between which virtualization manager.Mobile composer can according to the behavior of terminal, The history movement law of such as motion track, terminal judges which base station is terminal will be switched to, so as to determine Whether the snapshot of application example is synchronized on the host associated by purpose base station in advance, to accelerate handoff procedure In application example migration.When snapshot is synchronous between source virtualization manager and purpose virtualization manager Prolong synchronous less than periodic snapshots are carried out after some threshold value, between source, purpose virtualization manager.
3rd, in snapshot each time, edge calculations platform all log-on data caching functions in sourcesink master, Until terminal user during caching is from this snapshot to next snapshot or from last time snapshot Data are switched to the data that the terminal received during purpose host is sent to application example, slow to utilize Purpose application example is returned to the state that terminal is switched source application example until then by the data deposited.
4th, the edge calculations platform in sourcesink master receives the moving event of terminal.The moving event instruction terminal is accurate Standby switching or terminal have switched.
5th, the edge calculations platform in sourcesink master is reported by the main Platform Manager of sourcesink to mobile edge composer The moving event of terminal.The moving event includes the Termination ID for the event of being moved, the terminal and accessed Application example, the information of purpose base station etc..
6th, mobile edge composer decides whether to initiate the migration of application example.Mobile edge composer is according to hair The demand (such as time delay, load) for the application example that the terminal of raw moving event is being accessed, the category of purpose host Property etc. decide whether the application example moving to purpose host, and be application selection purpose host.If moving Dynamic edge composer determines migration application example, and mobile edge composer gives purpose host corresponding edge platform Manager sends instantiation snapshot command.
7th, purpose edge platform manager sends instantiation soon to the virtual architecture manager associated by purpose host According to request.
8th, the virtual architecture manager associated by purpose host is the calculating needed for snapshot is distributed, storage, network Resource, and the snapshot is resumed operation into the resource distributed, and it carries out necessary match somebody with somebody to institute Put, such as configure IP address etc. for it.
9th, purpose edge platform manager sends instance recovery to the edge calculations platform in purpose host and notified.
10th, the edge calculations platform in purpose host notifies purpose application example to recover to complete.
11st, the forwarding rule of the edge calculations platform configuration in purpose host locally, will be sent to source application real Example and the data of purpose application example are all redirected to local edge calculations platform, local edge calculations platform Start data cached.Edge calculations platform in purpose host sends response to purpose edge platform manager and disappeared Breath.
12nd, purpose edge platform manager gives mobile edge composer to send instantiation snapshot completion message.
13rd, mobile edge composer sends forwarding cache number by source platform manager to source edge calculations platform According to request message, the data of local cache are sent to purpose edge platform by request source edge calculations platform.
14th, the data of caching are sent to purpose edge calculations by edge calculations platform in source by the sequencing of caching Platform, then purpose application example is sent to by purpose edge calculations platform.During this period, purpose application example Outgoing data bag is disposed as abandoning caused by handling data cached bag, so as to avoid terminal from receiving repetition Packet.Until purpose edge calculations platform determine it is all it is data cached all handled untill, purpose side calculate Edge platform is just opened permission purpose and applied to terminal transmission packet.
15th, when handled source edge calculations platform it is data cached after, purpose edge calculations platform will locally delay The data deposited are sent to purpose application in order.After the completion of the data of all local caches are all handled, purpose Edge calculations platform configuration forwarding rule, all data for being sent to purpose or source application example are directly transmitted Purpose application example is given, local cache is no longer carried out.
16th, mobile edge composer sends termination instance command and gives source platform manager.
17th, source platform manager notifies the edge calculations platform termination example of sourcesink master.
18th, alternatively, the edge calculations platform in sourcesink master sends termination instance notification to source application example, So that source application example graceful can be closed.
19th, after the preparation that source application example has handled before closing, the edge calculations platform in sourcesink master Example termination is sent to source edge platform manager to complete.
20th, shared by the virtual architecture manager release source instance of source edge platform manager order source homed associations Resource.
21st, after the virtual architecture manager release of sourcesink main association completes the resource shared by example, source edge Platform Manager notifies mobile edge composer example termination to complete.
22nd, directly communicated between terminal and purpose application example.
The structure composition schematic diagram one for the equipment that Figure 11 migrates for the application example of the embodiment of the present invention, such as schemes Shown in 11, the equipment includes:
Snapshot unit 111, the shooting for carrying out snapshot to source application example;
Snapshot synchronization unit 112, it is fast between source movement edge host and purpose movement edge host for performing According to synchronization, so that the snapshot that purpose movement edge host will synchronize on purpose movement edge host recovers Operation;
Wherein, the snapshot is running space of the source application example in shooting time, the running space Including operational process and status information.
The snapshot synchronization unit 112, is additionally operable to captured snapshot and last time carrying out the synchronous when institute of snapshot The snapshot of transmission is compared, and the part of two snapshot changes is sent into purpose movement edge host;Wherein, When be sent to purpose movement edge host transmission duration be more than given threshold when, again carry out snapshot with And snapshot is synchronous.
The equipment also includes:
Memory cell 113, for after last time carries out snapshot, preserving terminal and being sent to the source The packet of application example, the last time carries out the corresponding duration that sends of snapshot and is less than or equal to setting Threshold value;
Transmitting element 114, for impinging upon the purpose movement edge host soon when the source application example Revert to after purpose application example, the packet preserved is sent to institute according to the sequencing of preservation State purpose application example.
The source movement edge host or purpose movement edge host preserve terminal and are sent to the source application The packet of example;
When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, first will be described The packet that source movement edge host preserves, or purpose edge host preserve and be sent to source application example simultaneously Packet, be sent to the purpose application example according to the sequencing of preservation;The purpose is moved again What edge host preserved, and the packet of source application example is not addressed to, sent according to the sequencing of preservation To the purpose application example.
The structure composition schematic diagram two for the equipment that Figure 12 migrates for the application example of the embodiment of the present invention, such as schemes Shown in 12, the equipment includes:
Receiving unit 121, the snapshot for receiving the source application example that source movement edge host sends;
Recovery unit 122, for the snapshot to be reverted into purpose application example on said device;
Running unit 123, for running the purpose application example on said device;Wherein, institute is run When stating purpose application example, run according to the operational process and status information of the snapshot.
The equipment also includes:
Storage unit 124, for the snapshot to be reverted to before purpose application example on said device, is protected Deposit the packet that terminal is sent to the purpose application example;
Transmitting element 125, for after the snapshot reverts to purpose application example on said device, inciting somebody to action The packet preserved is sent to the purpose application example according to the sequencing of preservation.
The transmitting element 125, is additionally operable to when the snapshot reverts to purpose application example on said device Afterwards, the packet first preserved source movement edge host is sent to the mesh according to the sequencing of preservation Application example, then the packet that the equipment is preserved is sent to the purpose according to the sequencing of preservation Application example.
The equipment also includes:Setting unit 126, for setting traffic filtering rule, with according to the stream The data that terminal is sent to source application example and/or purpose application example are sent to positioned at mesh by amount filtering rule Mobile edge host on purpose application example or purpose movement edge host on edge calculations movement clothes Business.
The structure composition schematic diagram three for the equipment that Figure 13 migrates for the application example of the embodiment of the present invention, such as schemes Shown in 13, the equipment includes:
Transmitting element 131, for moving edge place and/or purpose movement edge host transmission snapshot synchronization to source Order;
Wherein, the snapshot synch command is used to control the source movement edge host to move side with the purpose Snapshot is carried out between edge host synchronous.
The equipment also includes:
Designating unit 132, for when sending snapshot synch command, specifying snapshot synchronization delayed time threshold value;
Receiving unit 133, for when snapshot sends duration and is less than the snapshot synchronization delayed time threshold value, receiving The snapshot that the source movement edge host or purpose movement edge host notify synchronously completes message.
The transmitting element 131, is additionally operable to send instantiation snapshot command to purpose movement edge host;
Wherein, the instantiation snapshot command is used to control the purpose movement edge host to perform the snapshot Instantiation.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can using hardware embodiment, software implementation or combine software and The form of the embodiment of hardware aspect.Moreover, the present invention can be used wherein includes calculating one or more The computer-usable storage medium of machine usable program code (includes but is not limited to magnetic disk storage and optical storage Device etc.) on the form of computer program product implemented.
The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program product Flow chart and/or block diagram describe.It should be understood that can be by computer program instructions implementation process figure and/or side Each flow and/or square frame in block diagram and flow and/or the knot of square frame in flow chart and/or block diagram Close.Can provide these computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor or The processor of other programmable data processing devices is to produce a machine so that by computer or other can The instruction of the computing device of programming data processing equipment is produced for realizing in one flow or multiple of flow chart The device for the function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices In the computer-readable memory worked in a specific way so that be stored in the computer-readable memory Instruction, which is produced, includes the manufacture of command device, and the command device is realized in one flow of flow chart or multiple streams The function of being specified in one square frame of journey and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the protection model of the present invention Enclose.

Claims (24)

1. a kind of method of application example migration, it is characterised in that methods described includes:
Move edge host and snapshot is carried out to source application example in source;
Snapshot is carried out between source movement edge host and purpose movement edge host synchronous, so that the purpose is moved The snapshot that edge host will synchronize on purpose movement edge host resumes operation;
Wherein, the snapshot is running space of the source application example in shooting time, the running space Including operational process and status information.
2. the method for application example migration according to claim 1, it is characterised in that the source movement Snapshot is carried out between edge host and purpose movement edge host synchronous, including:
Source snapshot transmitted when moving edge host by captured snapshot and synchronous last time progress snapshot is carried out Compare, the part of two snapshot changes is sent to purpose movement edge host;
Wherein, when the transmission duration for being sent to purpose movement edge host is more than given threshold, carry out again Snapshot and snapshot are synchronous.
3. the method for application example migration according to claim 2, it is characterised in that methods described is also Including:
After last time carries out snapshot, the packet that terminal is sent to the source application example is preserved, The last time carries out the corresponding duration that sends of snapshot and is less than or equal to given threshold;
When impinging upon soon for the source application example reverts to purpose application example on the purpose movement edge host Afterwards, the packet preserved is sent to the purpose application example according to the sequencing of preservation.
4. the method for application example migration according to claim 3, it is characterised in that the preservation is whole End is sent to the packet of the source application example, is:The source movement edge host or purpose movement Edge host preserves the packet that terminal is sent to the source application example;
It is described when impinging upon soon for the source application example reverts to purpose application on purpose movement edge host After example, the packet preserved is sent to the purpose application example according to the sequencing of preservation, Including:When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, first, The packet of edge host preservation is moved according to the sequencing of preservation in the source by the source movement edge host Be sent to the purpose application example, or the purpose edge host purpose edge host is preserved and The packet for being sent to source application example simultaneously is sent to the purpose application example according to the sequencing of preservation; Then, the purpose is moved edge and Su Baocun's and is not addressed to source application by purpose movement edge host The packet of example is sent to the purpose application example according to the sequencing of preservation.
5. a kind of method of application example migration, it is characterised in that methods described includes:
Mobile edge composer moves edge host to source and/or purpose movement edge host sends snapshot synchronization Order;
Wherein, the snapshot synch command is used to control the source movement edge host to move side with the purpose Snapshot is carried out between edge host synchronous.
6. the method for application example migration according to claim 5, it is characterised in that methods described is also Including:
Mobile edge composer specifies snapshot synchronization delayed time threshold value when sending snapshot synch command;
When snapshot, which sends duration, is less than the snapshot synchronization delayed time threshold value, mobile the edge composer or mesh The corresponding mobile edge platform manager of mobile edge host receive the source movement edge host or purpose is moved The snapshot that dynamic edge host notifies synchronously completes message.
7. the method for the application example migration according to claim 5 or 6, it is characterised in that the side Method also includes:
Mobile edge composer or the corresponding mobile edge platform manager of purpose movement edge host are moved to purpose Dynamic edge host sends instantiation snapshot command;
Wherein, the instantiation snapshot command is used to control the purpose movement edge host to perform the snapshot Instantiation.
8. a kind of method of application example migration, it is characterised in that methods described includes:
Purpose movement edge host receives the snapshot for the source application example that source movement edge host sends;
Described impinge upon soon is reverted into purpose application example on the purpose movement edge place;
The purpose application example is run on purpose movement edge host;
Wherein, when running the purpose application example, entered according to the operational process and status information of the snapshot Row operation.
9. the method for application example migration according to claim 8, it is characterised in that methods described is also Including:
Described impinge upon soon is reverted to before purpose application example on the purpose movement edge place, terminal hair is preserved Give the packet of the source application example and/or purpose application example;
When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, will be preserved The packet be sent to the purpose application example according to the sequencing of preservation.
10. the method for application example migration according to claim 9, it is characterised in that methods described Also include:
When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, first will be described The packet that source movement edge host preserves is sent to the purpose application example according to the sequencing of preservation, The packet that purpose movement edge host is preserved again is sent to the purpose according to the sequencing of preservation Application example.
11. the method for application example migration according to claim 8, it is characterised in that
Traffic filtering rule is set in purpose movement edge host, will according to traffic filtering rule Terminal is sent to source application example and/or the data of purpose application example are sent to positioned at purpose movement edge place Edge calculations Information Mobile Service on purpose application example or purpose the movement edge host of Your Majesty.
12. the method for application example migration according to claim 11, it is characterised in that when the mesh Mobile edge host receive instantiation snapshot request or complete snapshot instance after, the purpose movement The traffic filtering rule is set in edge host.
13. the method for application example migration according to claim 11, it is characterised in that when purpose is moved Edge calculations Information Mobile Service on dynamic edge host is without data cached rear and source movement edge host also without caching number According to rear, traffic filtering rule is set in purpose movement edge host.
14. a kind of equipment of application example migration, it is characterised in that the equipment includes:
Snapshot unit, the shooting for carrying out snapshot to source application example;
Snapshot synchronization unit, it is same for performing the snapshot between source movement edge host and purpose movement edge host Step, so that the snapshot that purpose movement edge host will synchronize on purpose movement edge host resumes operation;
Wherein, the snapshot is running space of the source application example in shooting time, the running space Including operational process and status information.
15. the equipment of application example migration according to claim 14, it is characterised in that the snapshot Synchronization unit, is additionally operable to snapshot transmitted during by captured snapshot and synchronous last time progress snapshot and is compared Compared with the part of two snapshots change is sent into purpose movement edge host;Wherein, when be sent to purpose move When the transmission duration of dynamic edge host is more than given threshold, snapshot is carried out again and snapshot is synchronous.
16. the equipment of application example migration according to claim 15, it is characterised in that the equipment Also include:
Memory cell, the source application is sent to for after last time carries out snapshot, preserving terminal The packet of example, the last time carries out the corresponding duration that sends of snapshot and is less than or equal to given threshold;
Transmitting element, for recovering when impinging upon soon for the source application example on the purpose movement edge host Into after purpose application example, the packet preserved is sent to the mesh according to the sequencing of preservation Application example.
17. the equipment of application example migration according to claim 16, it is characterised in that the source is moved Dynamic edge host or purpose movement edge host preserve the data that terminal is sent to the source application example Bag;
When it is described impinge upon soon revert to purpose application example on the purpose movement edge host after, first will be described The packet that source movement edge host preserves, or purpose edge host preserve and be sent to source application example simultaneously Packet, be sent to the purpose application example according to the sequencing of preservation;The purpose is moved again What edge host preserved, and the packet of source application example is not addressed to, sent according to the sequencing of preservation To the purpose application example.
18. a kind of equipment of application example migration, it is characterised in that the equipment includes:
Transmitting element, for moving edge place and/or purpose movement edge host transmission snapshot synchronously life to source Order;
Wherein, the snapshot synch command is used to control the source movement edge host to move side with the purpose Snapshot is carried out between edge host synchronous.
19. the equipment of application example migration according to claim 18, it is characterised in that the equipment Also include:
Designating unit, for when sending snapshot synch command, specifying snapshot synchronization delayed time threshold value;
Receiving unit, for when snapshot sends duration and is less than the snapshot synchronization delayed time threshold value, receiving described Edge host is moved in source or the snapshot of purpose movement edge host notice synchronously completes message.
20. the equipment of the application example migration according to claim 18 or 19, it is characterised in that institute Transmitting element is stated, is additionally operable to send instantiation snapshot command to purpose movement edge host;
Wherein, the instantiation snapshot command is used to control the purpose movement edge host to perform the snapshot Instantiation.
21. a kind of equipment of application example migration, it is characterised in that the equipment includes:
Receiving unit, the snapshot for receiving the source application example that source movement edge host sends;
Recovery unit, for the snapshot to be reverted into purpose application example on said device;
Running unit, for running the purpose application example on said device;Wherein, the mesh is run Application example when, run according to the operational process and status information of the snapshot.
22. the equipment of application example migration according to claim 21, it is characterised in that the equipment Also include:
Storage unit, for the snapshot to be reverted to before purpose application example on said device, is preserved eventually End is sent to the packet of the purpose application example;
Transmitting element, for after the snapshot reverts to purpose application example on said device, will be protected The packet deposited is sent to the purpose application example according to the sequencing of preservation.
23. the equipment of application example migration according to claim 22, it is characterised in that the transmission Unit, is additionally operable to after the snapshot reverts to purpose application example on said device, first move the source The packet that dynamic edge host preserves is sent to the purpose application example according to the sequencing of preservation, then will The packet that the equipment is preserved is sent to the purpose application example according to the sequencing of preservation.
24. the equipment of application example migration according to claim 22, it is characterised in that the equipment Also include:Setting unit, for setting traffic filtering rule, with regular by terminal according to the traffic filtering The data for being sent to source application example and/or purpose application example are sent on purpose movement edge host Purpose application example or purpose movement edge host on edge calculations Information Mobile Service.
CN201610252124.8A 2016-04-21 2016-04-21 Application instance migration method and device Active CN107305502B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610252124.8A CN107305502B (en) 2016-04-21 2016-04-21 Application instance migration method and device
PCT/CN2017/081521 WO2017182000A1 (en) 2016-04-21 2017-04-21 Method and device for migration of application instance and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610252124.8A CN107305502B (en) 2016-04-21 2016-04-21 Application instance migration method and device

Publications (2)

Publication Number Publication Date
CN107305502A true CN107305502A (en) 2017-10-31
CN107305502B CN107305502B (en) 2022-01-25

Family

ID=60115719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610252124.8A Active CN107305502B (en) 2016-04-21 2016-04-21 Application instance migration method and device

Country Status (2)

Country Link
CN (1) CN107305502B (en)
WO (1) WO2017182000A1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018113401A1 (en) * 2016-12-21 2018-06-28 上海中兴软件有限责任公司 Path switching method in mobile edge computing, mobile edge computing platform, and gateway
CN109358967A (en) * 2018-09-26 2019-02-19 中国联合网络通信集团有限公司 A kind of ME platform APP instantiation moving method and server
CN109788515A (en) * 2017-11-13 2019-05-21 中国移动通信有限公司研究院 A kind of data collaborative method, MEC equipment and server
WO2019101056A1 (en) * 2017-11-21 2019-05-31 华为技术有限公司 Configuration method and apparatus
CN110058929A (en) * 2019-04-15 2019-07-26 南京信息工程大学 The computation migration method and system of 5G mobile application under a kind of hybird environment
CN110457114A (en) * 2019-07-24 2019-11-15 杭州数梦工场科技有限公司 Application cluster dispositions method and device
WO2019223496A1 (en) * 2018-05-25 2019-11-28 中兴通讯股份有限公司 Method and apparatus for migrating edge computation application
CN111225348A (en) * 2018-11-23 2020-06-02 华为技术有限公司 Application instance migration method and multi-access edge computing host
CN112153098A (en) * 2019-06-28 2020-12-29 华为技术有限公司 Application migration method and device
WO2020259234A1 (en) * 2019-06-28 2020-12-30 中兴通讯股份有限公司 Inter-area media service switching method, server, system, and storage medium
WO2021004528A1 (en) * 2019-07-11 2021-01-14 华为技术有限公司 Method, device and apparatus for address acquisition of application example and storage medium
CN112291381A (en) * 2017-11-13 2021-01-29 华为技术有限公司 Application server switching method, device and system
CN112445582A (en) * 2019-08-28 2021-03-05 中国电信股份有限公司 Application migration method, device and system and computer readable storage medium
CN112567715A (en) * 2018-04-07 2021-03-26 中兴通讯股份有限公司 Application migration mechanism for edge computing
WO2021179649A1 (en) * 2020-03-09 2021-09-16 中兴通讯股份有限公司 Data packet transmission method and apparatus, communication node, and storage medium
CN113938812A (en) * 2020-06-29 2022-01-14 中国移动通信有限公司研究院 Redirection method, device and storage medium of application service
US11671373B2 (en) 2019-07-31 2023-06-06 Huawei Technologies Co., Ltd. Systems and methods for supporting traffic steering through a service function chain

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949705B (en) * 2020-06-29 2023-07-11 华为技术有限公司 Communication method and communication device
CN113726882B (en) * 2021-08-30 2023-08-11 中国电信股份有限公司 Information service system, method and device, equipment and medium based on 5G network
CN116319354B (en) * 2023-01-30 2023-11-28 杭州优云科技有限公司 Network topology updating method based on cloud instance migration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110071983A1 (en) * 2009-09-23 2011-03-24 Hitachi, Ltd. Server image migration
CN102662751A (en) * 2012-03-30 2012-09-12 浪潮电子信息产业股份有限公司 Method for improving availability of virtual machine system based on thermomigration
CN103647849A (en) * 2013-12-24 2014-03-19 华为技术有限公司 Method and device for migrating businesses and disaster recovery system
CN104115469A (en) * 2011-09-23 2014-10-22 混合电路逻辑有限公司 System for live -migration and automated recovery of applications in a distributed system
CN104468521A (en) * 2014-11-13 2015-03-25 华为技术有限公司 Online migration method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101907989A (en) * 2010-06-01 2010-12-08 南京大学 Mobile agent-based application seamless migration method
US9015123B1 (en) * 2013-01-16 2015-04-21 Netapp, Inc. Methods and systems for identifying changed data in an expandable storage volume

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110071983A1 (en) * 2009-09-23 2011-03-24 Hitachi, Ltd. Server image migration
CN104115469A (en) * 2011-09-23 2014-10-22 混合电路逻辑有限公司 System for live -migration and automated recovery of applications in a distributed system
CN102662751A (en) * 2012-03-30 2012-09-12 浪潮电子信息产业股份有限公司 Method for improving availability of virtual machine system based on thermomigration
CN103647849A (en) * 2013-12-24 2014-03-19 华为技术有限公司 Method and device for migrating businesses and disaster recovery system
CN104468521A (en) * 2014-11-13 2015-03-25 华为技术有限公司 Online migration method, device and system

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018113401A1 (en) * 2016-12-21 2018-06-28 上海中兴软件有限责任公司 Path switching method in mobile edge computing, mobile edge computing platform, and gateway
CN112291381B (en) * 2017-11-13 2022-01-21 华为技术有限公司 Application server switching method, device and system
CN112291381A (en) * 2017-11-13 2021-01-29 华为技术有限公司 Application server switching method, device and system
CN109788515B (en) * 2017-11-13 2021-08-06 中国移动通信有限公司研究院 Data collaboration method, MEC (media independent center) equipment and server
CN109788515A (en) * 2017-11-13 2019-05-21 中国移动通信有限公司研究院 A kind of data collaborative method, MEC equipment and server
US11570277B2 (en) 2017-11-21 2023-01-31 Huawei Technologies Co., Ltd. Configuration method and apparatus
WO2019101056A1 (en) * 2017-11-21 2019-05-31 华为技术有限公司 Configuration method and apparatus
CN112567715B (en) * 2018-04-07 2023-03-24 中兴通讯股份有限公司 Application migration mechanism for edge computing
US11924922B2 (en) 2018-04-07 2024-03-05 Zte Corporation Application mobility mechanism for edge computing
CN112567715A (en) * 2018-04-07 2021-03-26 中兴通讯股份有限公司 Application migration mechanism for edge computing
EP3806423A4 (en) * 2018-05-25 2022-02-16 ZTE Corporation Method and apparatus for migrating edge computation application
US11637891B2 (en) 2018-05-25 2023-04-25 Zte Corporation Method and apparatus for transferring an edge computing application
CN110535896A (en) * 2018-05-25 2019-12-03 中兴通讯股份有限公司 A kind of method and apparatus of edge calculations application migration
WO2019223496A1 (en) * 2018-05-25 2019-11-28 中兴通讯股份有限公司 Method and apparatus for migrating edge computation application
CN110535896B (en) * 2018-05-25 2022-03-18 中兴通讯股份有限公司 Method and device for migrating edge computing application
CN109358967B (en) * 2018-09-26 2021-01-05 中国联合网络通信集团有限公司 ME platform APP instantiation migration method and server
CN109358967A (en) * 2018-09-26 2019-02-19 中国联合网络通信集团有限公司 A kind of ME platform APP instantiation moving method and server
CN111225348B (en) * 2018-11-23 2021-06-01 华为技术有限公司 Application instance migration method and multi-access edge computing host
CN111225348A (en) * 2018-11-23 2020-06-02 华为技术有限公司 Application instance migration method and multi-access edge computing host
CN110058929A (en) * 2019-04-15 2019-07-26 南京信息工程大学 The computation migration method and system of 5G mobile application under a kind of hybird environment
CN112153098B (en) * 2019-06-28 2023-09-29 华为技术有限公司 Application migration method and device
WO2020259234A1 (en) * 2019-06-28 2020-12-30 中兴通讯股份有限公司 Inter-area media service switching method, server, system, and storage medium
CN112153098A (en) * 2019-06-28 2020-12-29 华为技术有限公司 Application migration method and device
WO2021004528A1 (en) * 2019-07-11 2021-01-14 华为技术有限公司 Method, device and apparatus for address acquisition of application example and storage medium
CN110457114B (en) * 2019-07-24 2020-11-27 杭州数梦工场科技有限公司 Application cluster deployment method and device
CN110457114A (en) * 2019-07-24 2019-11-15 杭州数梦工场科技有限公司 Application cluster dispositions method and device
US11671373B2 (en) 2019-07-31 2023-06-06 Huawei Technologies Co., Ltd. Systems and methods for supporting traffic steering through a service function chain
CN112445582A (en) * 2019-08-28 2021-03-05 中国电信股份有限公司 Application migration method, device and system and computer readable storage medium
WO2021179649A1 (en) * 2020-03-09 2021-09-16 中兴通讯股份有限公司 Data packet transmission method and apparatus, communication node, and storage medium
CN113938812A (en) * 2020-06-29 2022-01-14 中国移动通信有限公司研究院 Redirection method, device and storage medium of application service

Also Published As

Publication number Publication date
CN107305502B (en) 2022-01-25
WO2017182000A1 (en) 2017-10-26

Similar Documents

Publication Publication Date Title
CN107305502A (en) A kind of method and apparatus of application example migration
US11537419B2 (en) Virtual machine migration while maintaining live network links
EP2744166B1 (en) Method for migrating a user link, method for migrating a user service, apparatuses and system
CN109673061B (en) PDU session processing method and device
CN110247951B (en) File transmission control method, device, equipment and storage medium
CN109995845A (en) A kind of implementation method, device and the network functional entity of control plane resource migration
WO2020001253A1 (en) User-plane path updating method and apparatus, and computer storage medium
EP2727396A1 (en) Method and apparatus for pre-loading information over a communication network
WO2019154283A1 (en) Method and apparatus for business migration
CN110419249A (en) A kind of processing method and processing device of mobile management
CN108023756A (en) The upgrade method and device of a kind of virtual switch
CN109660464A (en) A kind of downlink message processing method, UPF equipment and storage medium
WO2017215408A1 (en) Session switching control method and apparatus and access point device
Puliafito et al. The impact of container migration on fog services as perceived by mobile things
CN114916028A (en) Switching control method and device of service server, electronic equipment and storage medium
CN103138992B (en) Network scenario simulation method
Doan et al. Follow me, if you can: A framework for seamless migration in mobile edge cloud
Rezazadeh et al. MiGrror: Mitigating downtime in mobile edge computing, an extension to live migration
US10684875B2 (en) Synchronization of a virtual machine across mobile devices
CN107105501B (en) A kind of paging method based on network fragment, device and system
Kangarlou et al. In-network live snapshot service for recovering virtual infrastructures
CN105323792B (en) Mobility management entity and its disaster recovery method and disaster tolerance system
CN103905480A (en) Remote desktop access control method, device and system
CN112073980B (en) Service migration method and system for mobile edge computing
US7990924B2 (en) Delayed mobile node registration with home agent

Legal Events

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