CN111800285A - Instance migration method and device and electronic equipment - Google Patents

Instance migration method and device and electronic equipment Download PDF

Info

Publication number
CN111800285A
CN111800285A CN201910277968.1A CN201910277968A CN111800285A CN 111800285 A CN111800285 A CN 111800285A CN 201910277968 A CN201910277968 A CN 201910277968A CN 111800285 A CN111800285 A CN 111800285A
Authority
CN
China
Prior art keywords
instance
edge cloud
instruction
cloud node
migration
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
CN201910277968.1A
Other languages
Chinese (zh)
Other versions
CN111800285B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910277968.1A priority Critical patent/CN111800285B/en
Publication of CN111800285A publication Critical patent/CN111800285A/en
Application granted granted Critical
Publication of CN111800285B publication Critical patent/CN111800285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The embodiment of the invention provides an instance migration method and device and electronic equipment. The method comprises the following steps: generating a migration instruction, and informing a target edge cloud node except the source edge cloud node to acquire instance data of an instance to be migrated; and acquiring configuration information of the target edge cloud node for the to-be-migrated example, and generating an example creating instruction to control the target edge cloud node to create an example based on the acquired example data. According to the embodiment of the invention, the example migration process between different edge cloud nodes is coordinated through the central control function of the central cloud, so that the advantages of a two-stage cloud architecture formed by the central cloud and the edge clouds are fully exerted, and the performance of the example can be ensured through the example migration mode between the nodes when part of edge cloud nodes or networks have problems.

Description

Instance migration method and device and electronic equipment
Technical Field
The invention relates to the technical field of cloud computing, in particular to an instance migration method and device and electronic equipment.
Background
The edge nodes can provide the nearest service nearby due to being closer to the user or the data source. Therefore, the method can generate faster network service response and meet the edge side requirements of users in real-time service, safety, privacy protection and the like.
In recent years, as the development of networks also appears edge nodes based on the near-user side, edge nodes near the user are changed into edge nodes available to the user by using the networks, and thus an edge node network similar to a cloud network appears. The high response speed of near-user calculation at the user side can be better exerted, and the elastic change of user requirements can be met.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems: in actual use, because the edge cloud node is a node arranged at a near-user side, when a problem occurs in the performance of the edge cloud node used by a user or a problem occurs in a used network, the performance of an instance of the user is directly affected.
Disclosure of Invention
Embodiments of the present invention provide an instance migration method and apparatus, and an electronic device, so as to solve a defect in the prior art that an instance performance of a user is affected when a performance of a physical node itself is problematic or a used network is problematic.
To achieve the above object, an embodiment of the present invention provides an instance migration method, including:
generating a migration instruction, and informing a target edge cloud node except the source edge cloud node to acquire instance data of an instance to be migrated;
and acquiring configuration information of the target edge cloud node for the to-be-migrated example, and generating an example creating instruction to control the target edge cloud node to create an example based on the acquired example data.
The embodiment of the invention also provides an example migration method, which comprises the following steps:
acquiring instance data of the to-be-migrated instance currently running on other edge cloud nodes according to the received migration instruction;
and according to the received instance creating instruction, creating an instance based on the obtained instance data.
An embodiment of the present invention further provides an instance migration apparatus, including:
the migration instruction generation module is used for generating a migration instruction and informing a target edge cloud node except the source edge cloud node of acquiring the instance data of the instance to be migrated;
and the creation instruction generation module is used for acquiring the configuration information of the target edge cloud node for the to-be-migrated example and generating an example creation instruction so as to control the target edge cloud node to create an example based on the acquired example data.
An embodiment of the present invention further provides an instance migration apparatus, including:
the data acquisition module is used for acquiring instance data of the to-be-migrated instance currently running on other edge cloud nodes according to the received migration instruction;
and the instance creating module is used for creating an instance based on the acquired instance data according to the received instance creating instruction.
An embodiment of the present invention further provides an electronic device, including:
a memory for storing a program;
a processor for executing the program stored in the memory for:
generating a migration instruction, and informing a target edge cloud node except the source edge cloud node to acquire instance data of an instance to be migrated;
and acquiring configuration information of the target edge cloud node for the to-be-migrated example, and generating an example creating instruction to control the target edge cloud node to create an example based on the acquired example data.
An embodiment of the present invention further provides an electronic device, including:
a memory for storing a program;
a processor for executing the program stored in the memory for:
acquiring instance data of an instance to be migrated currently running on a source edge cloud node according to a received migration instruction;
and according to the received instance creating instruction, creating an instance based on the obtained instance data.
According to the example migration method and device and the electronic device provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes in an edge cloud, the target edge cloud node is controlled by the center cloud to acquire the example data of the example to be migrated, a new example is created in the target edge cloud node according to the example information of the example to be migrated and the configuration information of the target edge cloud node for the example to be migrated, and the example migration process among different edge cloud nodes is coordinated through the center control function of the center cloud, so that the advantages of a two-stage cloud architecture formed by the center cloud and the edge clouds are fully exerted, and the performance of the example can be ensured through the way of example migration among the nodes when problems occur in part of the edge cloud nodes or the network.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1a is a schematic structural diagram of a network system according to an exemplary embodiment of the present application;
fig. 1b is a schematic structural diagram of another network system provided in an exemplary embodiment of the present application;
FIG. 2 is a flow diagram of one embodiment of an example migration method provided by the present invention;
FIG. 3 is a flow diagram of another embodiment of an example migration method provided by the present invention;
FIG. 4 is a flow diagram of yet another embodiment of an example migration method provided by the present invention;
FIG. 5 is a flow diagram of yet another embodiment of an example migration method provided by the present invention;
FIG. 6 is a flow chart of yet another embodiment of an example migration method provided by the present invention;
FIG. 7 is a flow chart of yet another embodiment of an example migration method provided by the present invention;
FIG. 8 is a flow chart of yet another embodiment of an example migration method provided by the present invention;
FIG. 9 is a flow chart of yet another embodiment of an example migration method provided by the present invention;
FIG. 10 is a schematic block diagram illustrating one embodiment of an example migration apparatus provided in the present invention;
FIG. 11 is a schematic block diagram of another embodiment of an example migration apparatus provided in the present disclosure;
FIG. 12 is a schematic diagram illustrating the structure of yet another embodiment of an exemplary migration apparatus provided in the present invention;
FIG. 13 is a schematic diagram illustrating a structure of yet another embodiment of an example migration apparatus provided in the present invention;
FIG. 14 is a schematic structural diagram of an embodiment of an electronic device provided in the present invention;
fig. 15 is a schematic structural diagram of another embodiment of an electronic device provided in the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In the prior art, in the actual use of an edge cloud, because an edge cloud node is a physical node arranged near a user side, when the physical node resource used by the user is limited, or the network resource used is limited and the network quality is unstable, the instance performance of the user is directly affected. Therefore, the present application proposes an instance migration scheme, whose main principle is: in a plurality of edge cloud nodes in an edge cloud, one of the edge cloud nodes except a source edge cloud node where an example to be migrated runs currently is selected as a target edge cloud node, the target edge cloud node is controlled by a center cloud to obtain example data of the example to be migrated, a new example is created in the target edge cloud node according to example information of the example to be migrated and configuration information of the target edge cloud node for the example to be migrated, and example migration between different edge cloud nodes is coordinated through a center control function of the center cloud, so that the advantages of a two-stage cloud architecture formed by the center cloud and the edge clouds are fully exerted, and the performance of the example can be ensured through an example migration mode between the nodes when problems occur in part of the edge cloud nodes or a network.
The method provided by the embodiment of the invention can be applied to any business system with data processing capacity. Fig. 1a is a schematic structural diagram of a network system according to an exemplary embodiment of the present application. As shown in fig. 1a, the network system 100 includes: a central management and control device 101 and at least one edge cloud node 102; at least one edge cloud node 102 is connected to the central management and control device 101 through a network.
The network system 100 of the present embodiment is a cloud computing platform constructed on an edge infrastructure based on cloud computing technology and edge computing capability, and is a cloud platform having computing, networking, storage, security, and other capabilities at an edge location.
The network system 100 of the present embodiment may be regarded as an edge cloud network system corresponding to a central cloud or a conventional cloud computing platform. The edge cloud is a relative concept, the edge cloud refers to a cloud computing platform relatively close to the terminal, or is different from a central cloud or a traditional cloud computing platform, the central cloud or the traditional cloud computing platform may include a data center with a large resource scale and a centralized position, a network range covered by the edge cloud nodes is wider, and therefore the edge cloud computing platform has the characteristic of being closer to the terminal, the resource scale of a single edge cloud node is smaller, but the number of the edge cloud nodes is large, and a plurality of edge cloud nodes form a component of the edge cloud in the embodiment. The terminal in this embodiment refers to a demand end of the cloud computing service, and may be, for example, a terminal or a user end in the internet, or a terminal or a user end in the internet of things. An edge cloud network is a network built based on infrastructure between a central cloud or traditional cloud computing system and terminals. Therein, the network system 100 includes at least one edge cloud node 102, each edge cloud node 102 including a series of edge infrastructures including, but not limited to: a distributed Data Center (DC), a wireless room or cluster, an operator's communication network, core network equipment, base stations, edge gateways, home gateways, computing devices, storage devices, and other edge devices and corresponding network environments, and so on. It is noted that the location, capabilities, and infrastructure involved of different edge cloud nodes 102 may or may not be the same.
In the network architecture, tasks such as network forwarding, storage, computing, intelligent data analysis and the like can be placed in each edge cloud node 102 in the network system 100 for processing, and as each edge cloud node 102 is closer to a terminal, response delay can be reduced, pressure of a central cloud or a traditional cloud computing platform can be reduced, and bandwidth cost can be reduced.
How to reasonably schedule the resources of the plurality of edge cloud nodes and how to manage and control the plurality of edge cloud nodes to perform cloud computing services with correct and stable logic is an important challenge. In the network system 100 of this embodiment, a central control device 101 is deployed, and the central control device 101 uses the edge cloud node 102 as a control object to perform unified control on at least one edge cloud node 102 in the network system 100 in aspects of resource scheduling, mirror image management, instance control, operation and maintenance, network, security, and the like, so as to place cloud computing services into each edge cloud node 102 for processing. In terms of deployment implementation, the central management and control device 101 may be deployed in one or more cloud computing data centers, or may be deployed in one or more conventional data centers, and the central management and control device 101 may also form an edge cloud network together with at least one edge cloud node managed by the central management and control device, which is not limited in this embodiment.
For an edge cloud node 102, various resources, such as computing resources like CPUs and GPUs, storage resources like memories and hard disks, network resources like bandwidths, and the like, may be provided externally. In addition, the edge cloud node 102 may also create a corresponding instance according to the mirror image, and provide various cloud computing services to the outside through the instance. The mirror image is a basic file required for creating an instance in the edge cloud node, and may be, for example, an image file such as an operating system, an application, or an operation configuration required for providing a cloud computing service for a user, and may be a file that meets the computing deployment requirement of the edge cloud node and is manufactured according to a certain format according to a specific series of files. In addition, the image may be in various forms, such as a Virtual Machine (VM) image file, a container (Docker) image file, various types of application package files, and the like, and the image form may be related to a virtualization technology that needs to be used by the cloud computing service, which is not limited in this embodiment. Corresponding to mirroring, the implementation of an instance may be a virtual machine, a container, an application, or the like.
It should be noted that, in the network system 100, the central management apparatus 101 may directly manage and schedule the at least one edge cloud node 102, but is not limited thereto. Fig. 1b is a schematic structural diagram of another network system according to an exemplary embodiment of the present application. As shown in fig. 1b, in the network system 100, in addition to the central management apparatus 101 and the at least one edge cloud node 102, an edge management apparatus 103 is further included. The number of the edge control devices 103 may be one or multiple. In addition, the edge policing device 103 may be deployed in one or more edge cloud nodes 102. In an alternative embodiment, as shown in fig. 1b, an edge management and control device 103 is respectively deployed in each edge cloud node 102. Further, each edge cloud node includes one or more resource devices, and optionally, the edge management and control device 103 may be centrally deployed on one resource device, or may be dispersedly deployed on multiple resource devices. In addition, each edge cloud node may include one or more proprietary devices in addition to the resource device, where the edge management and control device 103 may be centrally deployed on one proprietary device or dispersedly deployed on multiple proprietary devices. The proprietary device refers to a physical device used to deploy the edge controlling device 103, and is different from the resource device. Furthermore, the edge management device 103 may also be deployed together with the central management device 101, and is not limited herein. The central control apparatus 101 may be deployed in one or more cloud computing data centers or traditional data centers, or may be deployed in an edge cloud network together with at least one edge cloud node.
In this embodiment, the edge management and control device 103 may assist and cooperate with the central management and control device 101 to manage and schedule at least one edge cloud node 102. With the assistance of the edge management and control device 103, the central management and control device 101 can more conveniently and efficiently manage and control and schedule at least one edge cloud node 102, so as to achieve the purpose of fully utilizing edge resources.
According to an embodiment of the present application, the central management and control apparatus 101 in fig. 1a and 1b may include: the migration instruction generation module and the creation instruction generation module may be configured to execute the processing flows shown in fig. 2 and 3 below. In addition, the network system 100 further includes a target edge cloud node, where the target edge cloud node includes: the data acquisition module and the instance creation module may be configured to perform the process flows shown in fig. 4 and 5, which are described below. For example, in the network system, the central management and control device may generate a migration instruction and send the migration instruction to a target edge cloud node other than the source edge cloud node, and the target edge cloud node acquires instance data of an instance to be migrated according to the received migration instruction; then, the central control equipment generates an instance creating instruction according to the configuration information of the target edge cloud node for the to-be-migrated instance, and sends the instance creating instruction to the target edge cloud node, and the target edge cloud node creates the instance based on the obtained instance data according to the received instance creating instruction. The example migration process between different edge cloud nodes is coordinated through the central management and control device 101, so that the advantages of the edge cloud architecture are fully exerted, and the use of the examples by the user can be ensured through the example migration mode between the nodes when some edge cloud nodes or networks have problems.
For example, in practical applications, instances may need to be migrated in some cases. For example, in the event that an entire edge cloud node fails or is unavailable, instances in that edge cloud node need to be migrated to other edge cloud nodes. For another example, in the case of a failure or downtime of a physical machine carrying an instance, the instance on the physical machine needs to be migrated to another physical machine. As another example, it may be desirable to migrate an instance or instances from one edge cloud node to another edge cloud node, possibly due to business needs. For another example, in the case where resource merging is required, migration of one or some instances is also required. Under the control of the central control device 101, the instances in the edge cloud nodes may be migrated.
The number of instances to be migrated can be one or more; if the number of the instances to be migrated is multiple, multiple instances to be migrated may be deployed in the same edge cloud node or may be deployed in different edge cloud nodes.
In some application scenarios, the central management and control device 101 may monitor a state of at least one instance deployed in at least one edge cloud node 102, acquire, according to the state of the at least one instance, an instance that has a fault and/or an instance that has a specified event during operation as an instance to be migrated, and migrate the instance to be migrated. The failed instance refers to an instance which cannot normally run, for example, the instance may be an instance on a physical machine which is down, or an instance which is down, and the like, and the instance needs to be migrated so as to continuously provide cloud computing service for a service demand party. The designated event mainly refers to some events which can still run normally after the occurrence, and can be flexibly set according to application requirements without limitation. For example, the specified event may be some early warning or alarm event, and the like, and although some early warning or alarm event occurs, the instance does not generate an actual problem, and can still operate (i.e., does not fail), but has a fault hidden trouble, and can be migrated in time before the fault, so as to avoid the problems of service interruption and the like caused by the fault. In addition, the central management and control device 101 maintains information of each edge cloud node and information of each instance deployed in each edge cloud node, based on which, an edge cloud node to which an instance to be migrated belongs may be determined, and for convenience of description and distinction, the edge cloud node to which the instance to be migrated belongs before migration is recorded as a first edge cloud node.
In other application scenarios, as time is accumulated, some resource fragments may appear in the edge cloud node, or an instance with a larger resource specification needs to be deployed, but there may be no available resource meeting the resource specification requirement on the resource device in the edge cloud node, and under these circumstances, the resources in the edge cloud node may be merged through instance migration, which may fully utilize the resource fragments, and then produce resource blocks with a larger specification, and is beneficial to improving the resource utilization rate. Based on this, the central management and control device 101 may determine, according to the resource merging requirement, an instance to be migrated from at least one instance, and further migrate the instance to be migrated. The resource merging is mainly a process of integrating the resource fragments through instance migration, and after integration, the resource fragments in the edge cloud nodes can be reduced or even do not exist, so that the resource utilization rate in the edge cloud nodes is improved. It is worth noting that the resource merging requirement may be system level or node level. The system-level resource merging refers to integrating resource fragments in the whole network system through instance migration from the consideration of the dimension of the whole network system; node-level resource merging refers to integrating resource fragments in edge cloud nodes through instance migration from the consideration of the dimensions of the edge cloud nodes.
Alternatively, the resource merging requirements may be provided by the service demander. For example, when a service demander needs to deploy a new instance, if available resources on each resource device in an edge cloud node serving the service demander are not sufficient to bear the new instance, migration of the instance in the edge cloud node may be required to implement resource integration, so as to provide sufficient resources for the new instance. Alternatively, the resource merging requirement may also be provided by operation and maintenance personnel of the edge cloud node. For example, operation and maintenance personnel may periodically initiate a resource merging requirement to the central management and control device 101, integrate resource fragments in each edge cloud node, and improve the resource utilization rate in the edge cloud nodes.
The resource merging requirement comprises information related to resource merging. For example, the resource merging requirement may include information of an instance that needs to be migrated to achieve the resource merging purpose, and based on this, the instance to be migrated may be directly determined according to the resource merging requirement. For another example, the resource merging requirement may include information of the edge cloud node that needs the merging of the resources. Based on this, the edge cloud node that needs to be subjected to resource merging can be determined according to the resource merging requirement, and in this embodiment, the edge cloud node that needs to be subjected to resource merging is referred to as a first edge cloud node; and then determining the instances to be migrated by combining the remaining available resources on the resource devices in the first edge cloud node and the resources required by the instances in the first edge cloud node.
Optionally, the central management and control device 101 may determine whether a first edge cloud node other than the source edge cloud node is currently in an available state; if the first edge cloud node is in an available state currently, judging whether available resources of the first edge cloud node are enough to bear the to-be-migrated example; if the available resources of the first edge cloud node are enough to bear the to-be-migrated instance, the first edge cloud node is determined to meet the intra-node migration condition, and the first edge cloud node can be used as the target edge cloud node. The available resources of the first edge cloud node mainly refer to available resources on each resource device in the first edge cloud node; correspondingly, the step of judging whether the available resources of the first edge cloud node are sufficient to bear the to-be-migrated instance mainly refers to the step of judging whether resource equipment with sufficient available resources to bear the to-be-migrated instance exists in the first edge cloud node.
In addition, the to-be-migrated instance is migrated to the target edge cloud node, and the attribute information of the to-be-migrated instance in the target edge cloud node is sent to the service demander, so that the service demander performs service scheduling on the to-be-migrated instance based on the attribute information. The attribute information of the to-be-migrated instance in the target edge cloud node may refer to information required for external (for example, a service demander or a third party authorized by the service demander) service scheduling for the to-be-migrated instance after the to-be-migrated instance is migrated to the target edge cloud node, and may include, for example and without limitation: information such as the region where the target edge cloud node is located, operator information and/or public network IP. Taking a service demand party as an example, according to the region where the target edge cloud node is located and the operator information in the attribute information, and by combining the operator information of the terminal initiating the service request and the information of the region where the terminal uses the network, whether the service request is distributed to the to-be-migrated instance in the target edge cloud node can be judged; if the service request is determined to be distributed to the to-be-migrated instance in the target edge cloud node, the public network IP in the attribute information can be provided for the terminal, so that the terminal can access the to-be-migrated instance in the target edge cloud node, and the purpose of scheduling the service request of the terminal to the to-be-migrated instance in the target edge cloud node is achieved.
Optionally, when selecting the target edge cloud node, the following ways may be adopted, but are not limited to:
mode 1: according to the distance between other edge cloud nodes and the source edge cloud node, an edge cloud node with the distance from the source edge cloud node smaller than a set distance threshold value is selected, or an edge cloud node closest to the source edge cloud node is selected, or one edge cloud node is arbitrarily selected from N edge cloud nodes closest to the source edge cloud node to serve as a target edge cloud node. In the mode 1, the target edge cloud node is closest or closer to the first source edge cloud node, so that the data transmission time can be saved, and the migration efficiency can be improved. Optionally, the distance between the other edge cloud nodes and the source edge cloud node may be an average distance between the other edge cloud nodes and the source edge cloud node, may also be a distance between the other edge cloud nodes and the center of the source edge cloud node, may also be a distance between the other edge cloud nodes and the closest outer edge of the source edge cloud node, and the like, and may be defined according to the requirement adaptability.
Mode 2: according to the bandwidth resources of other edge cloud nodes, an edge cloud node with relatively sufficient bandwidth resources can be selected from the other edge cloud nodes, for example, the edge cloud node with the largest bandwidth resource, or the edge cloud node with the bandwidth resource larger than a set bandwidth threshold, or the edge cloud node with the lower bandwidth utilization rate is selected as a target edge cloud node. In the mode 2, the bandwidth resources of the target edge cloud node are sufficient, so that the data transmission rate can be improved, and the migration efficiency can be improved.
Mode 3: according to the current load conditions of other edge cloud nodes, an edge cloud node with a relatively light load can be selected from the other edge cloud nodes, for example, the edge cloud node with the minimum load capacity or the edge cloud node with the load capacity smaller than a set load capacity threshold is selected as a target edge cloud node. In the mode 3, the load of the target edge cloud node is light, enough resources can be provided, instance migration can be processed in time, and the migration efficiency can be improved.
Optionally, when the to-be-migrated instance is migrated to the target edge cloud node, the central management and control device 101 may perform resource reservation or allocation on the to-be-migrated instance in the target edge cloud node according to a resource requirement of the to-be-migrated instance; and after the resources are reserved or allocated successfully, migrating the to-be-migrated instance to the reserved or allocated resources in the target edge cloud node. For example, information such as resource types, resource amounts and/or performance requirements on resource devices required by the instances to be migrated can be determined in combination with resource requirements of the instances to be migrated, and resource reservation or allocation can be performed in the target edge cloud node according to the information, so that resource guarantee can be provided for successful migration of the instances.
Optionally, if the to-be-migrated instance is a failed instance, that is, an instance that cannot normally operate, the central management and control device 101 may further notify the migration event to the service demander, so that the service demander may perform a suitable response action, for example, update information of the instance in the service demander, or perform a disaster recovery response for a downtime situation during the instance migration. Further, in the process of notifying the migration event, the attribute information of the to-be-migrated instance in the target edge cloud node may be provided to the service demander. Of course, after the to-be-migrated instance is successfully migrated to the target edge cloud node, the attribute information of the to-be-migrated instance in the target edge cloud node may also be provided to the service demander.
Optionally, if the to-be-migrated instance is an instance in which a specified event occurs during the running process, that is, an instance which can run normally even if the specified event occurs, the central management and control device 101 may further send a migration request to the service demander, so that the service demander determines a migration policy for the to-be-migrated instance in combination with a service condition on the to-be-migrated instance; and receiving a migration strategy sent by a service demand party, and migrating the to-be-migrated instance to the target edge cloud node according to the migration strategy. The migration policy mainly includes at least one of information about whether to migrate, migration time, and migration manner. Optionally, the service demander may determine when to perform migration according to the number and the response state of the stock service requests and the incremental service requests on the to-be-migrated instances, for example, may determine to perform instance migration when the stock service requests on the to-be-migrated instances are all responded and the incremental service requests are few.
Further optionally, the central management and control device 101 may send attribute information of the to-be-migrated instance in the target edge cloud node together with the migration request one to the service demander. Or after the to-be-migrated instance is successfully migrated to the target edge cloud node, the attribute information of the to-be-migrated instance in the target edge cloud node may be provided to the service demander.
Further optionally, if the to-be-migrated instance is an instance that has a specified event but can still normally run, in the migration process, the to-be-migrated instance may continue to run in the source edge cloud node, so that the service request in the migration process may continue to be scheduled to the to-be-migrated instance in the source edge cloud node, and service continuity is ensured. When the to-be-migrated instance is successfully migrated to the target edge cloud node, and the service demander ensures that all new service requests are scheduled to the target edge cloud node, and the service requests in the source edge cloud node are gradually reduced, and finally no new service request exists, that is, under the condition that no service request exists on the to-be-migrated instance running in the source edge cloud node, the central management and control device can release the to-be-migrated instance in the source edge cloud node. Optionally, after determining that there is no service request any more on the to-be-migrated instance running in the source edge cloud node, and there is neither an inventory service request nor an incremental service request, the service demander may send a release notification to the central management and control device 101; the central management and control device 101 receives a release notification sent by a service demander, and releases the to-be-migrated instance running in the source edge cloud node according to the release notification. Further, the central management and control device 101 may also synchronize the running state of the to-be-migrated instance running in the source edge cloud node with the to-be-migrated instance in the target edge cloud node.
Further, no matter which instance the instance to be migrated is, the instance to be migrated is migrated to the target edge cloud node, which is mainly a process of controlling corresponding resource devices in the target edge cloud node to create the instance to be migrated on the reserved or allocated resources according to a mirror image or an instance snapshot corresponding to the instance to be migrated. Optionally, the central control device 101 may provide an application image or an instance snapshot corresponding to the to-be-migrated instance to a corresponding resource device in the target edge cloud node, so that the corresponding resource device in the target edge cloud node creates the to-be-migrated instance on the reserved or allocated resource according to the application image or the instance snapshot, but is not limited thereto.
Optionally, the central management and control device 101 of this embodiment may encapsulate management and control functions of instance upgrade, instance migration, and the like of its own into a series of Application Programming Interfaces (APIs), and open the APIs for use by the service demanders. These open APIs are called open APIs (openapis), and the central control device 101 may interact with the service demander through the openapis.
When the network system includes the edge management and control device 103, the central management and control device 101 and the edge management and control device 103 cooperate with each other, and may also migrate an instance in at least one edge cloud node 102.
Optionally, in the process of migrating the to-be-migrated instance, the edge management and control device 103 may assist the center management and control device 101 to control a corresponding resource device in the target edge cloud node to perform resource reservation or allocation for the to-be-migrated instance. The central control device 101 may determine resource information scheduled in the target edge cloud node according to a resource requirement of the to-be-migrated instance, provide the resource information to the edge control device 103, and the edge control device 103 controls, according to the resource information, a corresponding resource device in the target edge cloud node to perform resource reservation or allocation for the to-be-migrated instance. Further, if the edge control device 103 is deployed in the target edge cloud node, the central control device 101 may provide the resource information to the edge control device 103 in the target edge cloud node, and the edge control device 103 in the target edge cloud node controls, according to the resource information, a corresponding resource device in the target edge cloud node to perform resource reservation or allocation for the to-be-migrated instance.
In addition, in the process of migrating the to-be-migrated instance, the edge management and control device 103 may also assist the center management and control device 101 in migrating the to-be-migrated instance to the resource reserved or allocated by the corresponding resource device in the target edge cloud node. The central management and control device 101 may send a migration instruction to the edge management and control device 103, where the migration instruction instructs the edge management and control device 103 to obtain a mirror image or an instance snapshot corresponding to the to-be-migrated instance and provide the mirror image or the instance snapshot to a corresponding resource device in the target edge cloud node, so that the corresponding resource device in the target edge cloud node creates the to-be-migrated instance on the reserved or allocated resource according to the mirror image or the instance snapshot. Further, if the edge control device 103 is deployed in the target edge cloud node, the central control device 101 may send a migration instruction to the edge control device 103 in the target edge cloud node, instruct the edge control device 103 in the target edge cloud node to acquire a mirror image or a snapshot corresponding to the to-be-migrated instance and provide the mirror image or the snapshot to the corresponding resource device in the target edge cloud node, so that the corresponding resource device in the target edge cloud node creates the to-be-migrated instance on the reserved or allocated resource according to the mirror image or the snapshot.
Optionally, if the snapshot is used in the instance migration process, the way in which the edge management and control device 103 obtains the snapshot may be different according to the different storage way of the snapshot. If the snapshot is stored in the source edge cloud node, whether the state of the source edge cloud node is available or not is judged, if the source edge cloud node is in the unavailable state, the snapshot is not suitable for instance migration, and the mirror image is required to be used for instance migration instead; if the source edge cloud node is in an available state, the edge management and control device may obtain a snapshot from the source edge cloud node. If the snapshot is stored in other edge cloud nodes in a scattered manner, the process of obtaining the snapshot is irrelevant to the state of the source edge cloud node, and the edge management and control device can obtain the snapshot from other edge cloud nodes under the condition that the other edge cloud nodes are in an available state. After the edge management and control device obtains the snapshot, the snapshot copy is provided for the corresponding resource device in the target edge cloud node, so that the corresponding resource device can create the to-be-migrated instance through the snapshot. Wherein, the data saved during snapshot making can be restored through the snapshot creating instance.
Optionally, if the instance migration process uses a mirror image, when the edge management and control device 103 acquires the mirror image, it may first determine whether the target edge cloud node stores the mirror image corresponding to the instance to be migrated. If the target edge cloud node has a corresponding mirror image, the edge management and control device may directly provide the corresponding mirror image in the target edge cloud node to the corresponding resource device in the target edge cloud node, so that the corresponding resource device creates an instance to be migrated through the mirror image. If the target edge cloud node does not have a corresponding mirror image, the edge management and control equipment can request the corresponding mirror image from the central management and control equipment; the central management and control equipment can acquire the mirror image from the mirror image library and provide the mirror image for the edge management and control equipment, or instruct the edge management and control equipment to acquire the mirror image from other edge cloud nodes storing the corresponding mirror images; and after acquiring the corresponding mirror image, the edge control equipment provides the mirror image to corresponding resource equipment in the target edge cloud node, so that the corresponding resource equipment creates a to-be-migrated instance through the mirror image.
The above embodiments are illustrations of technical principles and exemplary application frameworks of the embodiments of the present invention, and specific technical solutions of the embodiments of the present invention are further described in detail below through a plurality of embodiments.
Example one
Fig. 2 is a flowchart of an embodiment of an example migration method provided by the present invention, where an execution subject of the method may be a central management and control device in the network system, may also be various servers with data processing capability, and may also be devices or chips integrated on these devices. As shown in fig. 2, the example migration method includes the steps of:
s201, the central management and control equipment generates a migration instruction and informs target edge cloud nodes except the source edge cloud node of acquiring instance data of the instance to be migrated.
The example migration method provided by the embodiment of the invention can be applied to example migration between edge cloud nodes in a network system as shown in fig. 1a or fig. 1 b. When the resource of a certain edge cloud node is limited, or the used network resource is limited and the network quality is unstable, the instance running on the edge cloud node can be migrated to other edge cloud nodes in the edge cloud through the instance migration among the edge cloud nodes. In the embodiment of the invention, the source edge cloud node refers to an edge cloud node which currently runs an instance to be migrated.
S202, the central control equipment acquires configuration information of the target edge cloud node for the to-be-migrated example, and generates an example creating instruction to control the target edge cloud node to create the example based on the acquired example data.
In the embodiment of the invention, because the edge cloud nodes in the edge cloud are physical nodes arranged at the near user side, when instance migration is carried out, the central management and control equipment firstly generates a migration instruction to be sent to a target edge cloud node serving as a migration destination, and controls the target edge cloud node to acquire instance data of an instance to be migrated; then, the central control device acquires configuration information of the target edge cloud node for the to-be-migrated instance, and generates an instance creation instruction to control the target edge cloud node to create the instance based on the acquired instance data.
According to the example migration method provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes in an edge cloud, the central cloud management and control equipment controls the target edge cloud node to acquire the example data of the example to be migrated, and further acquires the configuration information of the target edge cloud node for the example to be migrated, so that a new example is created in the target edge cloud node, and the central management and control equipment coordinates the example migration process among different edge cloud nodes, so that the advantages of an edge cloud architecture are fully exerted, and the performance of the example can be ensured in a mode of example migration among nodes when some edge cloud nodes or networks have problems.
Example two
Fig. 3 is a flowchart of another embodiment of an example migration method provided by the present invention, where an execution subject of the method may be a central management and control device in the network system, or may be various servers with data processing capability, or may be devices or chips integrated on these devices. As shown in fig. 3, the example migration method includes the steps of:
s301, the central management and control equipment generates a migration instruction and informs edge cloud management and control equipment of target edge cloud nodes except the source edge cloud node to acquire instance data of an instance to be migrated.
The example migration method provided by the embodiment of the invention can be applied to example migration between edge cloud nodes in a network system as shown in fig. 1a or fig. 1 b. When the resource of a certain edge cloud node is limited, or the used network resource is limited and the network quality is unstable, the edge cloud management and control equipment can be used for migrating the instance running on the source edge cloud node to other edge cloud nodes in the edge cloud. In the embodiment of the invention, the source edge cloud node refers to an edge cloud node which currently runs an instance to be migrated.
In addition, in the embodiment of the present application, after acquiring the instance data of the to-be-migrated instance, the edge cloud management and control device of the target edge cloud node may store the instance data into a storage device of the target edge cloud node, or may store the instance data into a storage device of the edge cloud management and control device.
And S302, the central control device acquires configuration information of the target edge cloud node for the to-be-migrated example, and generates an example creating instruction to control the edge cloud control device of the target edge cloud node to create the example based on the acquired example data.
In the embodiment of the present invention, since the edge cloud node is a physical node disposed near the user side, when instance migration is performed, the central management and control device first generates a migration instruction to send to the edge cloud management and control device of the target edge cloud node serving as a migration destination, and controls the edge cloud management and control device of the target edge cloud node to obtain instance data of an instance to be migrated; then, the central control device acquires configuration information of the target edge cloud node for the to-be-migrated instance, and generates an instance creation instruction to control the edge cloud control device of the target edge cloud node to create the instance based on the acquired instance data.
According to the example migration method provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes in an edge cloud, the edge cloud management and control equipment of a target edge cloud node is controlled by the center cloud management and control equipment to acquire the example data of the example to be migrated, and further the configuration information of the target edge cloud node for the example to be migrated is acquired, so that a new example is created in the target edge cloud node, and the example migration process among different edge cloud nodes is coordinated by the center management and control equipment, so that the advantages of an edge cloud architecture are fully exerted, and the performance of the example can be ensured by the way of example migration among the nodes when some edge cloud nodes or networks have problems.
EXAMPLE III
FIG. 4 is a flow chart of yet another embodiment of an example migration method provided by the present invention. As shown in fig. 4, on the basis of the embodiment shown in fig. 2, the example migration method provided in this embodiment may further include the following steps:
s401, the center control equipment determines a target edge cloud node from edge cloud nodes except the source edge cloud node according to the node information of the source edge cloud node.
In the embodiment of the present invention, when an instance migration start event is generated, a central management and control device for managing a plurality of edge cloud nodes in an edge cloud may notify a user, and then determine a target edge cloud node in the plurality of edge cloud nodes, that is, the central management and control device may select a target edge cloud node that meets requirements by an intelligent point selection manner according to node information (for example, resource information, network information, geographic location information, and the like of the edge cloud node) of a source edge cloud node to which the instance to be migrated currently belongs, and by referring to preferences of the user in using the edge cloud node.
S402, the central control device generates a resource reservation instruction according to the instance data of the instance to be migrated so as to control the target edge cloud node to reserve resources for the instance to be migrated.
In the embodiment of the present invention, in order to avoid a conflict (for example, multiple to-be-migrated instances migrate an instance to a target edge cloud node at the same time, so that resources of the target edge cloud node are not enough, and the like), after the central management and control device selects the target node, a resource reservation instruction may be generated according to instance data (for example, a type of resources, an amount of resources, and the like required by the instance) of the to-be-migrated instance, and the resource reservation instruction is sent to the target edge cloud node, so that the target edge cloud node reserves corresponding resources for the to-be-migrated instance according to the received resource reservation instruction, so as to ensure that resources of the target edge cloud node.
And S403, the central management and control equipment generates a mirror image acquisition instruction to control the target edge cloud node to acquire mirror image data of the to-be-migrated instance.
In the embodiment of the present invention, the instance data of the instance to be migrated may include mirror image data, and the mirror image data of the instance may be stored in the central management and control device and/or in an edge cloud node in an edge cloud. When the instance is migrated, the central control device generates a mirror image obtaining instruction and sends the mirror image obtaining instruction to the target edge cloud node, so that the target edge cloud node obtains the mirror image data of the instance to be migrated from the central control device and/or the edge cloud node stored with the mirror image data according to the instruction after receiving the mirror image obtaining instruction.
Further, before generating the mirror image obtaining instruction, the central management and control device may also query whether mirror image data of the to-be-migrated instance is stored in the target edge cloud node, and execute the operation of generating the mirror image migration instruction for the target edge cloud node not storing the mirror image data of the to-be-migrated instance according to the query result. Namely, if the mirror image data is stored in the target edge cloud node, directly performing subsequent operation; if the mirror image data is not stored in the target edge cloud node, the central control equipment controls the target edge cloud node to acquire the mirror image data from the central control equipment and/or the edge cloud node stored with the mirror image data. After the mirror image data is available, the target edge cloud node may notify the central management and control device to perform a subsequent process.
Optionally, after the step S402, instead of the step S403, S404 may also be executed, where the central management and control device generates a snapshot migration instruction to control the target edge cloud node to acquire snapshot data of the to-be-migrated instance.
In the embodiment of the present invention, the instance data of the instance to be migrated may include snapshot data, and the snapshot data of the instance may be stored in the central management and control device and/or in an edge cloud node in an edge cloud. The central control device can control the target edge cloud node to generate a snapshot migration instruction and send the snapshot migration instruction to the target edge cloud node so as to control the target edge cloud node to obtain snapshot data of the to-be-migrated instance according to the instruction.
Further, before generating the snapshot migration instruction, the central management and control device may also first obtain the latest available snapshot information of the to-be-migrated instance, and then execute the operation of generating the snapshot migration instruction according to the latest available snapshot information. That is, the central management and control device generates a snapshot migration instruction according to the latest snapshot information of the to-be-migrated instance, so as to control the target edge cloud node to obtain snapshot data of the to-be-migrated instance from the central management and control device and/or the edge cloud node storing the latest available snapshot. After the snapshot data is obtained, the target edge cloud node may notify the central control device to perform a subsequent process.
S405, the central management and control device generates an instance creating instruction according to the configuration information of the target edge cloud node for the to-be-migrated instance, so as to control the target edge cloud node to create the instance based on the acquired instance data.
In the embodiment of the invention, after the target edge cloud node creates the instance, the instance start can be attempted. After the establishment and the starting of the instance are confirmed to be successful, the target edge cloud node can inform the central control equipment, trigger and inform a user event and wait for the user to process the migration action; if the creation or starting of the instance fails, scheduling may be performed in the source edge cloud node, or the step S401 may be returned to perform the point selection again. Specifically, step S405 is the same as step S202 in the embodiment shown in fig. 2, and is not repeated here.
And S406, the central management and control equipment generates an instance release instruction so as to control the source edge cloud node to release the instance.
In the embodiment of the present invention, after the target edge cloud node completes creation of the new instance (for example, after the user completes the migration logic, an OpenAPI of the central control device is actively called back to confirm that the migration is completed, or if the migration event completion waiting period is up but the user call-back is not received, it may be considered that the migration of the instance is completed), the central control device may generate an instance release instruction and send the instance release instruction to the source edge cloud node, so that the source edge cloud node deletes the instance to be migrated according to the instruction after receiving the instance release instruction. Meanwhile, the central control equipment can also release the resource inventory information occupied by the original embodiment.
And S407, the central management and control device generates a state modification instruction according to the node information of the target edge cloud node so as to modify the state information of the instance to be migrated.
Further, in the embodiment of the present invention, after the source edge cloud node releases the original instance, the central management and control device may generate a state modification instruction according to node information (e.g., node ID, IP information, disk information, and the like) of the target node, so as to modify state information of the to-be-migrated instance (which has been migrated to the target edge cloud node). Finally, the central management and control device can generate an instance migration completion event to notify the user, so that an instance migration flow between the edge cloud nodes is completed.
According to the example migration method provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes, a target edge cloud node meeting requirements is selected from the edge cloud nodes except a source edge cloud node through the central control equipment, the target edge cloud node is controlled to acquire mirror image data or snapshot data of an example to be migrated, and further configuration information of the target edge cloud node for the example to be migrated is acquired, a new example is created in the target edge cloud node based on the acquired mirror image data and snapshot data, and an example migration process among different edge cloud nodes is coordinated through the central control function, so that the advantages of an edge cloud architecture are fully exerted, and when some edge cloud nodes or networks have problems, the performance of the example is ensured through the example migration mode among the edge cloud nodes.
Example four
FIG. 5 is a flow chart of yet another embodiment of an example migration method provided by the present invention. As shown in fig. 5, on the basis of the embodiment shown in fig. 3, the example migration method provided in this embodiment may further include the following steps:
s501, the central control equipment determines a target edge cloud node from edge cloud nodes except the source edge cloud node according to the node information of the source edge cloud node.
In the embodiment of the present invention, when an instance migration start event is generated, a central management and control device for managing a plurality of edge cloud nodes in an edge cloud may notify a user, and then determine a target edge cloud node in the plurality of edge cloud nodes, that is, the central management and control device may select a target edge cloud node that meets requirements by an intelligent point selection manner according to node information (for example, resource information, network information, geographic location information, and the like of the edge cloud node) of a source edge cloud node to which the instance to be migrated currently belongs, and by referring to preferences of the user in using the edge cloud node.
And S502, the central control device generates a resource reservation instruction according to the instance data of the instance to be migrated so as to control the edge cloud control device of the target edge cloud node to reserve resources for the instance to be migrated.
In the embodiment of the present invention, in order to avoid a conflict (for example, multiple to-be-migrated instances migrate an instance to a target edge cloud node at the same time, so that resources of the target edge cloud node are not enough, and the like), after the central management and control device selects the target node, a resource reservation instruction may be generated according to instance data (for example, a type of resources, a quantity of resources, and the like required by the instance) of the to-be-migrated instance, and sent to the edge cloud management and control device of the target edge cloud node, so that the edge cloud management and control device of the target edge cloud node reserves corresponding resources for the to-be-migrated instance according to the received resource reservation instruction, so as to ensure that resources of the target edge cloud.
And S503, the central control equipment generates a mirror image acquisition instruction so as to control the edge cloud control equipment of the target edge cloud node to acquire mirror image data of the example to be migrated.
In the embodiment of the present invention, the instance data of the to-be-migrated instance may include mirror image data, and the mirror image data of the instance may be stored in the central management and control device and/or in the edge cloud node. When the instance is migrated, the central control device generates a mirror image obtaining instruction and sends the mirror image obtaining instruction to the edge cloud control device of the target edge cloud node, so that after the edge cloud control device of the target edge cloud node receives the mirror image obtaining instruction, the mirror image data of the instance to be migrated is obtained from the central control device and/or the edge cloud node stored with the mirror image data according to the instruction.
Further, before generating the mirror image obtaining instruction, the central management and control device may also query whether mirror image data of the to-be-migrated instance is stored in the target edge cloud node, and execute the operation of generating the mirror image migration instruction for the target edge cloud node not storing the mirror image data of the to-be-migrated instance according to the query result. Namely, if the mirror image data is stored in the target edge cloud node, directly performing subsequent operation; if the mirror image data is not stored in the target edge cloud node, the central control equipment controls the edge cloud control equipment of the target edge cloud node to acquire the mirror image data from the central control equipment and/or the edge cloud node stored with the mirror image data. After the mirror image data is available, the edge cloud management and control device of the target edge cloud node may notify the center management and control device to perform a subsequent process.
Optionally, after step S502, instead of performing step S503, S504 may also be performed, where the center management and control device generates a snapshot migration instruction to control the edge cloud management and control device of the target edge cloud node to acquire snapshot data of the to-be-migrated instance.
In the embodiment of the present invention, the instance data of the instance to be migrated may include snapshot data, and the snapshot data of the instance may be stored in the central management and control device and/or in the edge cloud node. The central control device may control the edge cloud control device of the target edge cloud node to generate a snapshot migration instruction and send the snapshot migration instruction to the target edge cloud node, so as to control the edge cloud control device of the target edge cloud node to obtain snapshot data of the to-be-migrated instance according to the instruction.
Further, before generating the snapshot migration instruction, the central management and control device may also first obtain the latest available snapshot information of the to-be-migrated instance, and then execute the operation of generating the snapshot migration instruction according to the latest available snapshot information. That is, the central management and control device generates a snapshot migration instruction according to the latest snapshot information of the to-be-migrated instance, so as to control the edge cloud management and control device of the target edge cloud node to obtain snapshot data of the to-be-migrated instance from the central management and control device and/or the edge cloud node storing the latest available snapshot. After the snapshot data is obtained, the edge cloud management and control device of the target edge cloud node may notify the central management and control device to perform a subsequent process.
And S505, the central management and control equipment generates an instance creating instruction according to the configuration information of the target edge cloud node for the to-be-migrated instance, so as to control the edge cloud management and control equipment of the target edge cloud node to create the instance based on the acquired instance data.
In the embodiment of the present invention, after the edge cloud management and control device of the target edge cloud node creates an instance, an instance start may be attempted. After the establishment and the starting of the instance are confirmed to be successful, the edge cloud management and control equipment of the target edge cloud node can notify the center management and control equipment, trigger and notify a user event, and wait for the user to process the migration action; if creating or starting the instance fails, scheduling may be performed in the source edge cloud node, or returning to step S501 to perform the point selection operation again. Specifically, step S505 is the same as step S302 in the embodiment shown in fig. 3, and is not repeated here.
And S506, the central control equipment generates an instance release instruction so as to control the edge cloud control equipment of the source edge cloud node to release the instance.
In the embodiment of the present invention, after the edge cloud management and control device of the target edge cloud node completes creation of the new instance (for example, after a user completes migration logic, an OpenAPI of the central management and control device is actively called back to confirm completion of migration, or a migration event completion waiting period has come but a user call back is not received, it may be considered that migration of the instance has been completed), the central management and control device may generate an instance release instruction and send the instance release instruction to the edge cloud management and control device of the source edge cloud node, so that after the edge cloud management and control device of the source edge cloud node receives the instance release instruction, the instance to be migrated is deleted according to the instruction. Meanwhile, the central control equipment can also release the resource inventory information occupied by the original embodiment.
And S507, the central management and control equipment generates a state modification instruction according to the node information of the target edge cloud node so as to modify the state information of the instance to be migrated.
Further, in the embodiment of the present invention, after the edge cloud management and control device of the source edge cloud node releases the original instance, the central management and control device may generate a state modification instruction according to the node information (e.g., node ID, IP information, disk information, etc.) of the target node, so as to modify the state information of the to-be-migrated instance (which has been migrated to the target edge cloud node). Finally, the central management and control device can generate an instance migration completion event to notify the user, so that an instance migration flow between the edge cloud nodes is completed.
The example migration method provided by the embodiment of the invention has the advantages that when the example migration is carried out among a plurality of edge cloud nodes, selecting a target edge cloud node meeting the requirement from edge cloud nodes except a source edge cloud node through a central control device, controlling the edge cloud control device of the target edge cloud node to acquire mirror image data or snapshot data of an example to be migrated, and then obtaining the configuration information of the target edge cloud node for the to-be-migrated instance, and creating a new instance in the target edge cloud node based on the obtained mirror image data and snapshot data, the example migration process between the edge cloud management and control devices of different edge cloud nodes is coordinated through a central management and control function, therefore, the advantages of the edge cloud architecture are fully exerted, and the performance of the instance can be ensured by the way of instance migration among the edge cloud nodes when problems occur to part of the edge cloud nodes or the network.
EXAMPLE five
Fig. 6 is a flowchart of an embodiment of an example migration method provided by the present invention, where an execution subject of the method may be a target edge cloud node in the business system, may also be various servers with data processing capability, and may also be devices or chips integrated on these devices. As shown in fig. 6, the example migration method includes the steps of:
s601, the target edge cloud node obtains instance data of the to-be-migrated instance currently running on the source edge cloud node according to the received migration instruction.
The instance migration method provided by the embodiment of the invention can be applied to instance migration among edge cloud nodes. When the resource of a certain edge cloud node is limited, or the used network resource is limited and the network quality is unstable, the running instance on the edge cloud node can be migrated to a target edge cloud node selected from the edge cloud through instance migration among the edge cloud nodes. In the embodiment of the invention, after the target edge cloud node receives the migration instruction, the example data of the to-be-migrated example currently running on other edge cloud nodes is obtained according to the instruction.
S602, the target edge cloud node creates an instance based on the obtained instance data according to the received instance creation instruction.
In the embodiment of the invention, because the edge cloud node is a physical node arranged at the near-user side, when instance migration is carried out, a target edge cloud node firstly acquires instance data of an instance to be migrated according to a received migration instruction; and then, according to an instance creation instruction sent by the central management and control equipment, creating a new instance based on the obtained instance data.
According to the example migration method provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes, the center control equipment is used for controlling the target edge cloud node to acquire the example data of the example to be migrated, further acquiring the configuration information of the target edge cloud node for the example to be migrated, a new example is created in the target edge cloud node, and the center control equipment is used for coordinating the example migration process among different edge cloud nodes, so that the advantages of the edge cloud architecture are fully exerted, and the performance of the example can be ensured by the way of example migration among the nodes when problems occur in part of the edge cloud nodes or the network.
EXAMPLE six
Fig. 7 is a flowchart of an embodiment of an example migration method provided by the present invention, where an execution subject of the method may be an edge cloud management and control device of a target edge cloud node in the business system, may also be various servers with data processing capability, and may also be devices or chips integrated on these devices. As shown in fig. 7, the example migration method includes the steps of:
and S701, the edge cloud management and control equipment acquires instance data of the to-be-migrated instance currently running on the source edge cloud node according to the received migration instruction.
The instance migration method provided by the embodiment of the invention can be applied to instance migration among edge cloud nodes. When the resource of a certain edge cloud node is limited, or the used network resource is limited and the network quality is unstable, the running instance on the edge cloud node can be migrated to a target edge cloud node selected from the edge cloud through instance migration among the edge cloud nodes. In the embodiment of the invention, after the edge cloud management and control equipment of the target edge cloud node receives the migration instruction, the example data of the to-be-migrated example currently running on other edge cloud nodes is obtained according to the instruction.
S702, the edge cloud management and control equipment creates an instance based on the obtained instance data according to the received instance creation instruction.
In the embodiment of the invention, because the edge cloud node is a physical node arranged at a near-user side, when instance migration is performed, the edge cloud management and control device of a target edge cloud node firstly acquires instance data of an instance to be migrated according to a received migration instruction; and then, according to an instance creation instruction sent by the central management and control equipment, creating a new instance based on the obtained instance data.
According to the example migration method provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes, the edge cloud management and control equipment of the target edge cloud node is controlled by the central management and control equipment to obtain the example data of the example to be migrated, further the configuration information of the target edge cloud node for the example to be migrated is obtained, a new example is created in the target edge cloud node, and the example migration process among the edge cloud management and control equipment of different edge cloud nodes is coordinated through the central management and control equipment, so that the advantages of an edge cloud architecture are fully exerted, and the performance of the example can be ensured through the example migration mode among the nodes when some edge cloud nodes or networks have problems.
EXAMPLE seven
FIG. 8 is a flowchart of yet another embodiment of an example migration method provided by the present invention. As shown in fig. 8, on the basis of the embodiment shown in fig. 6, the example migration method provided in this embodiment may further include the following steps:
and S801, reserving resources for the to-be-migrated instance by the target edge cloud node according to the received resource reservation instruction.
In the embodiment of the present invention, in order to avoid a conflict (for example, multiple to-be-migrated instances migrate an instance to a target edge cloud node at the same time, so that resources of the target edge cloud node are not enough, and the like), after the central management and control device selects the target node, a resource reservation instruction may be generated according to instance information (for example, a type of resources, an amount of resources, and the like required by the instance) of the to-be-migrated instance. After receiving the resource reservation instruction, the target edge cloud node may reserve corresponding resources for the to-be-migrated instance according to the instruction, so as to ensure that the target edge cloud node resources are available.
S802, the target edge cloud node acquires mirror image data of the to-be-migrated instance according to the received mirror image migration instruction.
In the embodiment of the present invention, the instance data of the instance to be migrated may include mirror image data, and the mirror image data of the instance may be stored in a central management and control device for managing a plurality of edge cloud nodes and/or in the edge cloud nodes. When the instance migration is carried out, the central management and control equipment firstly generates a mirror image acquisition instruction. After receiving the mirror image obtaining instruction, the target edge cloud node obtains the mirror image data of the example to be migrated from the central management and control device and/or the edge cloud node stored with the mirror image data of the example to be migrated according to the instruction. And if the mirror image data is stored in the target edge cloud node, directly performing subsequent operation. After the mirror image data is available, the target edge cloud node may notify the central management and control device to perform a subsequent process.
Or S803, the target edge cloud node acquires snapshot data of the instance to be migrated according to the received snapshot migration instruction.
In the embodiment of the present invention, the instance data of the instance to be migrated may include snapshot data, and the snapshot data of the instance may be stored in the central management and control device and/or in the edge cloud node. After the central control device controls the target edge cloud node to acquire the mirror image data of the to-be-migrated example, a snapshot migration instruction can be further generated, and after receiving the snapshot migration instruction, the target edge cloud node can acquire the snapshot data of the to-be-migrated example according to the instruction.
Further, the target edge cloud node may obtain a slice of snapshot data (i.e., partial or all snapshot data) of the to-be-migrated instance from the central management and control device and/or the edge cloud node according to the received snapshot migration instruction; then, instantiation processing is performed on the acquired slice of the snapshot data to form the snapshot data. In the embodiment of the invention, the snapshot data may be distributed and stored in a slice manner based on different edge cloud nodes, so that each slice of the snapshot data can be obtained from a plurality of edge cloud nodes, and each slice is instantiated to prepare for creating the virtual machine instance disk. After the snapshot data is obtained, the edge cloud management and control device of the target edge cloud node may notify the central management and control device to perform a subsequent process.
S804, the target edge cloud node creates an instance based on the obtained instance data according to the received instance creation instruction.
In the embodiment of the invention, after the target edge cloud node creates the instance, the instance start can be attempted. After the establishment and the starting of the instance are confirmed to be successful, the target edge cloud node can inform the central control equipment, trigger and inform a user event and wait for the user to process the migration action; if the creation or starting of the instance fails, scheduling may be performed in the source edge cloud node, or the point selection operation may be performed again.
According to the example migration method provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes, a target edge cloud node meeting requirements is selected from the edge cloud nodes except a source edge cloud node through the central control equipment, the target edge cloud node is controlled to acquire mirror image data and snapshot data of an example to be migrated, configuration information of the target edge cloud node for the example to be migrated is further acquired, a new example is created in the target edge cloud node based on the acquired mirror image data and snapshot data, and an example migration process among different edge cloud nodes is coordinated through the central control function, so that the advantages of an edge cloud architecture are fully exerted, and the performance of the example can be ensured through the example migration mode among the edge cloud nodes when problems occur in part of the edge cloud nodes or a network.
Example eight
FIG. 9 is a flowchart of yet another embodiment of an example migration method provided by the present invention. As shown in fig. 9, on the basis of the embodiment shown in fig. 7, the example migration method provided in this embodiment may further include the following steps:
and S901, reserving resources for the to-be-migrated instance by the edge cloud management and control equipment of the target edge cloud node according to the received resource reservation instruction.
In the embodiment of the present invention, in order to avoid a conflict (for example, multiple to-be-migrated instances migrate an instance to a target edge cloud node at the same time, so that resources of the target edge cloud node are not enough, and the like), after the central management and control device selects the target node, a resource reservation instruction may be generated according to instance information (for example, a type of resources, an amount of resources, and the like required by the instance) of the to-be-migrated instance. After receiving the resource reservation instruction, the edge cloud management and control device of the target edge cloud node may reserve corresponding resources for the to-be-migrated instance according to the instruction, so as to ensure that the target edge cloud node resources are available.
And S902, the edge cloud management and control device of the target edge cloud node acquires the mirror image data of the instance to be migrated according to the received mirror image migration instruction and stores the mirror image data in the storage device.
In the embodiment of the present invention, the instance data of the instance to be migrated may include mirror image data, and the mirror image data of the instance may be stored in a central management and control device for managing a plurality of edge cloud nodes and/or in the edge cloud nodes. When the instance migration is carried out, the central management and control equipment firstly generates a mirror image acquisition instruction. After receiving the mirror image obtaining instruction, the edge cloud management and control device of the target edge cloud node obtains the mirror image data of the example to be migrated from the central management and control device and/or the edge cloud node stored with the mirror image data of the example to be migrated according to the instruction. And if the mirror image data is stored in the target edge cloud node, directly performing subsequent operation. After the mirror image data is available, the edge cloud management and control device of the target edge cloud node may notify the center management and control device to perform a subsequent process.
Or S903, the edge cloud management and control device of the target edge cloud node acquires snapshot data of the instance to be migrated according to the received snapshot migration instruction and stores the snapshot data in the storage device.
In the embodiment of the present invention, the instance data of the instance to be migrated may include snapshot data, and the snapshot data of the instance may be stored in the central management and control device and/or in the edge cloud node. After the edge cloud control device of the target edge cloud node is controlled by the central control device to obtain the mirror image data of the example to be migrated, a snapshot migration instruction can be further generated, and after the edge cloud control device of the target edge cloud node receives the snapshot migration instruction, the snapshot data of the example to be migrated can be obtained according to the instruction.
Further, the edge cloud management and control device of the target edge cloud node may obtain a slice (i.e., partial or all snapshot data) of snapshot data of the to-be-migrated instance from the central management and control device and/or the edge cloud node according to the received snapshot migration instruction; then, instantiation processing is performed on the acquired slice of the snapshot data to form the snapshot data. In the embodiment of the invention, the snapshot data may be distributed and stored in a slice manner based on different edge cloud nodes, so that each slice of the snapshot data can be obtained from a plurality of edge cloud nodes, and each slice is instantiated to prepare for creating the virtual machine instance disk. After the snapshot data is obtained, the edge cloud management and control device of the target edge cloud node may notify the central management and control device to perform a subsequent process.
And S904, the edge cloud management and control equipment of the target edge cloud node creates an instance based on the obtained instance data according to the received instance creation instruction.
In the embodiment of the present invention, after the edge cloud management and control device of the target edge cloud node creates an instance, an instance start may be attempted. After the establishment and the starting of the instance are confirmed to be successful, the edge cloud management and control equipment of the target edge cloud node can notify the center management and control equipment, trigger and notify a user event, and wait for the user to process the migration action; if creating or starting the instance fails, scheduling may be performed in the source edge cloud node, or the step S601 may be returned to perform the point selection operation again.
According to the example migration method provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes, the center control equipment selects a target edge cloud node meeting requirements from the edge cloud nodes except the source edge cloud node, the edge cloud control equipment of the target edge cloud node is controlled to acquire mirror image data and snapshot data of the example to be migrated, further configuration information of the target edge cloud node for the example to be migrated is acquired, a new example is created in the target edge cloud node based on the acquired mirror image data and snapshot data, and the example migration process among different edge cloud nodes is coordinated through the center control function, so that the advantages of an edge cloud architecture are fully exerted, and the performance of the example can be ensured through the example migration mode among the edge cloud nodes when problems occur in part of the edge cloud nodes or the network.
Example nine
FIG. 10 is a schematic diagram of an embodiment of an example migration apparatus provided in the present invention, which may be used to perform the method steps shown in FIG. 2 or FIG. 3. As shown in fig. 10, the example migration apparatus may include: a migration instruction generation module 61 and a creation instruction generation module 62.
The migration instruction generating module 61 is configured to generate a migration instruction to notify a target edge cloud node or an edge cloud management and control device thereof, other than the source edge cloud node, of acquiring instance data of an instance to be migrated, where the source edge cloud node currently runs the instance to be migrated; the creation instruction generating module 62 is configured to acquire configuration information of the target edge cloud node for the to-be-migrated instance, and generate an instance creation instruction to control the target edge cloud node or an edge cloud management and control device thereof to create an instance based on the acquired instance data.
The example migration device provided by the embodiment of the invention can be applied to example migration among edge cloud nodes. When the resource of a certain edge cloud node is limited, or the used network resource is limited and the network quality is unstable, the instance running on the edge cloud node can be migrated to other edge cloud nodes in the edge cloud through the instance migration among the edge cloud nodes. In the embodiment of the invention, the source edge cloud node refers to an edge cloud node currently running an instance to be migrated. In the embodiment of the present invention, because the edge cloud node is a physical node disposed near the user side, when instance migration is performed, a migration instruction is first generated by the migration instruction generation module 61 to be sent to a migrated target edge cloud node, and the target edge cloud node or an edge cloud management and control device thereof is notified to acquire instance data of an instance to be migrated; then, the creation instruction generating module 62 acquires the configuration information of the target edge cloud node for the to-be-migrated instance, and generates an instance creation instruction to send to the target edge cloud node or the edge cloud management and control device thereof, so as to control the target edge cloud node or the edge cloud management and control device thereof to create a new instance based on the acquired instance data.
The example migration device provided by the embodiment of the invention controls the target edge cloud node to acquire the example data of the example to be migrated through the central control equipment when the example is migrated among the edge cloud nodes in the edge cloud, further acquires the configuration information of the target edge cloud node for the example to be migrated, creates a new example in the target edge cloud node, and coordinates the example migration process among different edge cloud nodes through the central control function, so that the advantages of the edge cloud architecture are fully exerted, and the performance of the example can be ensured through the example migration mode among the nodes when some edge cloud nodes or networks have problems.
Example ten
Fig. 11 is a schematic structural diagram of another embodiment of an example migration apparatus provided in the present invention, which may be used to execute the method steps shown in fig. 4 or fig. 5. As shown in fig. 11, on the basis of the embodiment shown in fig. 10, in the example migration apparatus provided in the embodiment of the present invention, the migration instruction generating module 61 may include: the first instruction generation unit 611. The first instruction generating unit 611 may be configured to generate a mirror image obtaining instruction to notify the target edge cloud node or the edge cloud management and control device thereof to obtain mirror image data of the to-be-migrated instance.
In the embodiment of the present invention, the instance data of the instance to be migrated may include mirror image data, and the mirror image data of the instance may be stored in the central management and control device and/or in the edge cloud node. When the instance migration is performed, the first instruction generating unit 611 may generate a mirror image obtaining instruction and send the mirror image obtaining instruction to the target edge cloud node or the edge cloud management and control device thereof, so that after the target edge cloud node or the edge cloud management and control device thereof receives the mirror image migration instruction, the mirror image data of the instance to be migrated is obtained from the central management and control device and/or the edge cloud node storing the mirror image data according to the instruction.
In this embodiment of the present invention, the migration instruction generating module 61 may further include: query unit 612. The query unit 612 may be configured to query whether mirror image data of the to-be-migrated instance is stored in the target edge cloud node before the first instruction generating unit 611 generates the mirror image obtaining instruction; the first instruction generating unit 611 is configured to execute the operation of generating the mirror image obtaining instruction for the target edge cloud node that does not store the mirror image data of the to-be-migrated instance according to the query result of the querying unit 612.
Further, in the example migration apparatus provided in the embodiment of the present invention, the migration instruction generating module 61 may further include: a second instruction generating unit 613. The second instruction generating unit 613 may be configured to generate a snapshot migration instruction to control the target edge cloud node or the edge cloud management and control device thereof to obtain snapshot data of the to-be-migrated instance.
In the embodiment of the present invention, the instance data of the instance to be migrated may include snapshot data, and the snapshot data of the instance may be stored in the central management and control device and/or in the edge cloud node. Instead of the first instruction generating unit 611 controlling the target edge cloud node or the edge cloud management and control device thereof to obtain the mirror image data of the to-be-migrated instance, the second instruction generating unit 613 may generate a snapshot migration instruction and send the snapshot migration instruction to the target edge cloud node or the edge cloud management and control device thereof to control the target edge cloud node or the edge cloud management and control device thereof to obtain the snapshot data of the to-be-migrated instance according to the instruction.
In this embodiment of the present invention, the migration instruction generating module 61 may further include: a first acquisition unit 614. The first obtaining unit 614 may be configured to obtain the latest available snapshot information of the to-be-migrated instance before the second instruction generating unit 613 generates the snapshot migration instruction; the second instruction generating unit 613 may be configured to execute an operation of generating a snapshot migration instruction according to the latest available snapshot information acquired by the first acquiring unit 614.
Further, the example migration apparatus provided in the embodiment of the present invention may further include: a node selection module 71. The node selecting module 71 may be configured to select the target edge cloud node according to the instance information of the to-be-migrated instance and the node information of the source edge cloud node before the migration instruction generating module 61 generates the migration instruction.
In the embodiment of the present invention, the central management and control device for managing a plurality of edge cloud nodes in an edge cloud may select a target edge cloud node from the plurality of edge cloud nodes, that is, the node selection module 71 may select a target edge cloud node that meets requirements by referring to a preference of a user in using the edge cloud node according to node information (for example, resource information, network information, geographical location information, and the like of a source edge cloud node to which the to-be-migrated instance currently belongs) of the source edge cloud node.
Still further, the example migration apparatus provided in the embodiment of the present invention may further include: reservation instruction generation module 72. The reservation instruction generating module 72 may be configured to generate a resource reservation instruction according to the example data of the to-be-migrated example after the node selecting module 71 selects the target edge cloud node, so as to control the target edge cloud node or the edge cloud control device thereof to reserve resources for the to-be-migrated example.
In the embodiment of the present invention, in order to avoid a conflict (for example, multiple to-be-migrated instances migrate an instance to a target edge cloud node at the same time, so that resources of the target edge cloud node are not enough, and the like), after the central management and control device selects the target node, the reservation instruction generating module 72 may generate a resource reservation instruction according to instance data (for example, a type of resources, an amount of resources, and the like required by the instance) of the to-be-migrated instance, and send the resource reservation instruction to the target edge cloud node or an edge cloud control device thereof, so that the target edge cloud node or the edge cloud control device thereof reserves corresponding resources for the to-be-migrated instance according to the received resource reservation instruction, and thus it is ensured that resources of the target edge.
Still further, the example migration apparatus provided in the embodiment of the present invention may further include: the release order generation module 73. The release instruction generation module 73 may be configured to generate an instance release instruction after the creation instruction generation module 62 generates an instance creation instruction, so as to control the source edge cloud node or its edge cloud control device to release the instance.
Still further, the example migration apparatus provided in the embodiment of the present invention may further include: the modification instruction generation module 74. The modification instruction generating module 74 may be configured to generate a state modification instruction according to the node information of the target edge cloud node after the release instruction generating module 73 generates the instance release instruction, so as to modify the state information of the to-be-migrated instance.
The functions of the modules in the embodiments of the present invention are described in detail in the above method embodiments, and are not described herein again.
The example migration device provided by the embodiment of the invention has the advantages that when the example migration is carried out among a plurality of edge cloud nodes, selecting a target edge cloud node meeting the requirement from edge cloud nodes except a source edge cloud node through a central control device, controlling the target edge cloud node or an edge cloud control device thereof to acquire mirror image data or snapshot data of an example to be migrated, and then according to the instance information of the instance to be migrated and the configuration information of the target edge cloud node for the instance to be migrated, creating a new instance in the target edge cloud node based on the acquired mirror image data or snapshot data, coordinating the instance migration process between different edge cloud nodes through a central control function, therefore, the advantages of the edge cloud architecture are fully exerted, and the performance of the instance can be ensured by the way of instance migration among the edge cloud nodes when problems occur to part of the edge cloud nodes or the network.
EXAMPLE eleven
FIG. 12 is a schematic diagram of a structure of another embodiment of an example migration apparatus provided in the present invention, which may be used to perform the method steps shown in FIG. 6 or 7. As shown in fig. 12, the example migration apparatus may include: a data acquisition module 81 and an instance creation module 82.
The data obtaining module 81 is configured to obtain, according to the received migration instruction, instance data of an instance to be migrated currently running on another edge cloud node; the instance creating module 82 is configured to create an instance based on the obtained instance data according to the received instance creating instruction.
The example migration device provided by the embodiment of the invention can be applied to example migration among edge cloud nodes. When the resource of a certain edge cloud node is limited, or the used network resource is limited and the network quality is unstable, the running instance on the edge cloud node can be migrated to a target edge cloud node selected from the edge cloud through instance migration among the edge cloud nodes. In the embodiment of the present invention, after the target edge cloud node or the edge cloud management and control module thereof receives the migration instruction, the data obtaining module 81 obtains, according to the instruction, the instance data of the to-be-migrated instance currently running on other edge cloud nodes. In the embodiment of the present invention, because the edge cloud node is a physical node arranged near the user side, when instance migration is performed, first, the data obtaining module 81 obtains instance data of an instance to be migrated according to a received migration instruction; then, the instance creating module 82 creates a new instance based on the instance data acquired by the data acquiring module 81 according to an instance creating instruction sent by the central management and control device.
The example migration device provided by the embodiment of the invention has the advantages that when example migration is carried out among a plurality of edge cloud nodes, the center cloud controls the target edge cloud node or the edge cloud management and control module thereof to obtain the example data of the example to be migrated, further the configuration information of the target edge cloud node for the example to be migrated is obtained, a new example is created in the target edge cloud node, and the example migration process among different edge cloud nodes is coordinated through the center management and control function, so that the advantages of the edge cloud architecture are fully exerted, and the performance of the example can be ensured through the example migration mode among the nodes when the partial edge cloud nodes or the network have problems.
Example twelve
Fig. 13 is a schematic structural diagram of another embodiment of an example migration apparatus provided in the present invention, which may be used to execute the method steps shown in fig. 8 or 9. As shown in fig. 13, on the basis of the embodiment shown in fig. 12, in the example migration apparatus provided in the embodiment of the present invention, the data obtaining module 81 may include: a second acquisition unit 811. The second obtaining unit 811 may be configured to obtain the mirror image data of the to-be-migrated instance according to the received mirror image obtaining instruction.
In the embodiment of the present invention, the instance data of the instance to be migrated may include mirror image data, and the mirror image data of the instance may be stored in a central management and control device for managing a plurality of edge cloud nodes and/or in the edge cloud nodes. When the instance migration is carried out, the central management and control equipment firstly generates a mirror image acquisition instruction. After the target edge cloud node or the edge cloud management and control device thereof receives the mirror image obtaining instruction, the second obtaining unit 811 obtains the mirror image data of the to-be-migrated instance from the center management and control device and/or the edge cloud node storing the mirror image data of the to-be-migrated instance according to the instruction.
Further, in the example migration apparatus provided in the embodiment of the present invention, the data obtaining module 81 may further include: a third acquisition unit 812. The third obtaining unit 812 may be configured to obtain snapshot data of the to-be-migrated instance according to the received snapshot migration instruction.
In the embodiment of the present invention, the instance data of the to-be-migrated instance may further include snapshot data, and the snapshot data of the instance may be stored in the central management and control device and/or in the edge cloud node. Instead of the second obtaining unit 811 obtaining the mirror image data of the to-be-migrated example, the central management and control device may generate a snapshot migration instruction, and the third obtaining unit 812 may obtain the snapshot data of the to-be-migrated example according to the instruction after receiving the snapshot migration instruction.
Specifically, in this embodiment of the present invention, the third obtaining unit 812 may be configured to obtain, according to the received snapshot migration instruction, a slice of snapshot data of an instance to be migrated from the central management control device and/or the edge cloud node; and instantiating the acquired slice of the snapshot data to form the snapshot data. In this embodiment of the present invention, the snapshot data may be distributed and stored in a slice manner based on different edge cloud nodes, and therefore, the third obtaining unit 812 may obtain each slice of the snapshot data from multiple edge cloud nodes, and perform instantiation processing on each slice to prepare for creating a virtual machine instance disk.
Additionally, in embodiments of the present invention, the instance creation module 82 may attempt to initiate an instance after creating the instance. After the establishment and the starting of the instance are confirmed to be successful, the target edge cloud node or the edge cloud management and control device thereof can notify the central management and control device, trigger and notify a user event, and wait for the user to process the migration action; if the instance creation module 82 fails to create or start the instance, scheduling may be performed in the source edge cloud node, or a point selection operation may be performed again through the central management and control device.
Further, the example migration apparatus provided in the embodiment of the present invention may further include: a resource reservation module 91. The resource reservation module 91 may be configured to reserve resources for the to-be-migrated instance according to the received resource reservation instruction before the data acquisition module 81 acquires the instance data of the to-be-migrated instance.
In the embodiment of the present invention, in order to avoid a conflict (for example, multiple to-be-migrated instances migrate an instance to a target edge cloud node at the same time, so that resources of the target edge cloud node are not enough, and the like), after the central management and control device selects the target node, a resource reservation instruction may be generated according to instance information (for example, a type of resources, an amount of resources, and the like required by the instance) of the to-be-migrated instance. After the target edge cloud node or the edge cloud management and control device thereof receives the resource reservation instruction, the resource reservation module 91 may reserve corresponding resources for the to-be-migrated instance according to the resource reservation instruction, so as to ensure that the target edge cloud node resources are available.
The functions of the modules in the embodiments of the present invention are described in detail in the above method embodiments, and are not described herein again.
According to the example migration device provided by the embodiment of the invention, when example migration is performed among a plurality of edge cloud nodes, a target edge cloud node meeting requirements is selected from the edge cloud nodes except a source edge cloud node through the central control equipment, the target edge cloud node or the edge cloud control equipment thereof is controlled to acquire mirror image data or snapshot data of an example to be migrated, and further configuration information of the target edge cloud node for the example to be migrated is acquired, a new example is created in the target edge cloud node based on the acquired mirror image data and snapshot data, and an example migration process among different edge cloud nodes is coordinated through the central control function, so that the advantages of an edge cloud architecture are fully exerted, and when some edge cloud nodes or networks have problems, the performance of the example is ensured through an example migration mode among the edge cloud nodes.
EXAMPLE thirteen
The internal functions and structures of the example migration apparatus, which may be implemented as an electronic device, are described above. Fig. 14 is a schematic structural diagram of an embodiment of an electronic device provided in the present invention. As shown in fig. 14, the electronic device includes a memory 1401 and a processor 1402.
A memory 1401 for storing programs. In addition to the above-described programs, the memory 1401 may be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, and so forth.
The memory 1401 may be implemented by any type or combination of volatile or non-volatile storage devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A processor 1402, coupled to the memory 1401, executes programs stored by the memory 1401 to:
generating a migration instruction, and informing a target edge cloud node except the source edge cloud node to acquire instance data of an instance to be migrated;
and acquiring configuration information of the target edge cloud node for the to-be-migrated example, and generating an example creating instruction to control the target edge cloud node to create an example based on the acquired example data.
According to the embodiment of the present application, the processor 1402 may include, for example, a migration instruction generating module 61 and a creation instruction generating module 62 shown in fig. 10, so that when the program stored in the memory 1401 is executed, the migration instruction generating module 61 is used to generate a migration instruction to notify a target edge cloud node or an edge cloud management and control device thereof other than the source edge cloud node to acquire instance data of an instance to be migrated, and the creation instruction generating module 62 is used to acquire configuration information of the target edge cloud node for the instance to be migrated, and generate an instance creation instruction to control the target edge cloud node or the edge cloud management and control device thereof to create the instance based on the acquired instance data. Further, the processor 1402 may include, for example, a first instruction generating unit 611 shown in fig. 11, so that when executing the program stored in the memory 1401, a mirror obtaining instruction is generated by the first instruction generating unit 611 to notify the target edge cloud node or its edge cloud management apparatus to obtain mirror data of the to-be-migrated instance.
Further, as shown in fig. 14, the electronic device may further include: communication component 1403, power component 1404, audio component 1405, display 1406, and other components. Only some of the components are schematically shown in fig. 14, and it is not meant that the electronic device includes only the components shown in fig. 14.
The communication component 1403 is configured to facilitate communication between the electronic device and other devices in a wired or wireless manner. The electronic device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1403 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1403 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
A power supply component 1404 provides power to the various components of the electronic device. The power components 1404 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic devices.
The audio component 1405 is configured to output and/or input an audio signal. For example, the audio component 1405 includes a Microphone (MIC) configured to receive an external audio signal when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1401 or transmitted via the communication component 1403. In some embodiments, audio component 1405 further includes a speaker for outputting audio signals.
The display 1406 includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
Example fourteen
The internal functions and structures of the example migration apparatus, which may be implemented as an electronic device, are described above. Fig. 15 is a schematic structural diagram of another embodiment of an electronic device provided in the present invention. As shown in fig. 15, the electronic device includes a memory 1501 and a processor 1502.
A memory 1501 stores programs. In addition to the above programs, the memory 1501 may be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, and so forth.
The memory 1501 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A processor 1502, coupled to the memory 1501, executes programs stored in the memory 1501 for:
the migration instruction generation module is used for generating a migration instruction and informing a target edge cloud node except the source edge cloud node of acquiring the instance data of the instance to be migrated;
and the creation instruction generation module is used for acquiring the configuration information of the target edge cloud node for the to-be-migrated example and generating an example creation instruction so as to control the target edge cloud node to create an example based on the acquired example data.
According to the embodiment of the present application, the processor 1502 may include, for example, the data obtaining module 81 and the instance creating module 82 shown in fig. 12, so that when the program stored in the memory 1501 is executed, the data obtaining module 81 is used to obtain, according to the received migration instruction, instance data of an instance to be migrated that is currently running on another edge cloud node, and the instance creating module 82 is used to create, according to the received instance creating instruction, an instance based on the obtained instance data. In the above-described operation execution process, the acquired instance data may be stored in the memory 1501.
Further, as shown in fig. 15, the electronic device may further include: a communications component 1503, a power component 1504, an audio component 1505, a display 1506, and other components. Only some of the components are schematically shown in fig. 15, and it is not meant that the electronic device includes only the components shown in fig. 15.
The communication component 1503 is configured to facilitate communication between the electronic device and other devices in a wired or wireless manner. The electronic device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1503 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1503 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
A power supply component 1504 provides power to the various components of the electronic device. The power components 1504 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for an electronic device.
Audio component 1505 is configured to output and/or input audio signals. For example, the audio component 1505 includes a Microphone (MIC) configured to receive external audio signals when the electronic device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in a memory 1501 or transmitted via a communication component 1503. In some embodiments, audio component 1505 also includes a speaker for outputting audio signals.
The display 1506 includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (33)

1. An instance migration method, comprising:
generating a migration instruction, and informing a target edge cloud node except the source edge cloud node to acquire instance data of an instance to be migrated;
and acquiring configuration information of the target edge cloud node for the to-be-migrated example, and generating an example creating instruction to control the target edge cloud node to create an example based on the acquired example data.
2. The instance migration method according to claim 1, wherein the instance data includes mirror data, the mirror data is stored in a central management and control device for managing a plurality of edge cloud nodes and/or in the edge cloud nodes, the migration instruction includes a mirror data obtaining instruction, and the generating the migration instruction to notify a target edge cloud node other than a source edge cloud node to obtain the instance data of the instance to be migrated includes:
and generating a mirror image data acquisition instruction to inform the target edge cloud node to acquire the mirror image data of the to-be-migrated instance.
3. The instance migration method according to claim 2, wherein before the generating a mirror data obtaining instruction to notify the target edge cloud node to obtain the mirror data of the instance to be migrated, the method further comprises:
inquiring whether mirror image data of the example to be migrated is stored in the target edge cloud node;
and according to the query result, executing the operation of generating the mirror image data acquisition instruction for the target edge cloud node which does not store the mirror image data of the example to be migrated.
4. The instance migration method according to claim 1, wherein the instance data includes snapshot data, the snapshot data is stored in the central management and control device and/or in the edge cloud nodes, the migration instruction includes a snapshot migration instruction, and the generating of the migration instruction is performed to control a target edge cloud node other than a source edge cloud node to obtain the instance data of the instance to be migrated, and includes:
and generating a snapshot migration instruction to inform the target edge cloud node to acquire snapshot data of the to-be-migrated instance.
5. The instance migration method according to claim 4, wherein before the generating a snapshot migration instruction to notify the target edge cloud node to acquire the snapshot data of the instance to be migrated, the method further comprises:
acquiring the latest available snapshot information of the to-be-migrated instance;
and executing the operation of generating the snapshot migration instruction according to the latest available snapshot information.
6. The instance migration method according to any one of claims 1 to 5, wherein before the generating a migration instruction to notify a target edge cloud node other than the source edge cloud node to acquire the instance data of the instance to be migrated, further comprises:
and determining the target edge cloud node from edge cloud nodes except the source edge cloud node according to the node information of the source edge cloud node.
7. The instance migration method according to claim 6,
the node information comprises at least one of resource information, network information, geographical location information and user use preference of a node to which the instance belongs.
8. The instance migration method according to claim 6, wherein after determining the target edge cloud node from the edge cloud nodes other than the source edge cloud node according to the node information of the source edge cloud node, the method further comprises:
and generating a resource reservation instruction according to the example data of the example to be migrated so as to control the target edge cloud node to reserve resources for the example to be migrated.
9. The instance migration method according to any one of claims 1 to 8, wherein after the obtaining configuration information of the target edge cloud node for the instance to be migrated and generating an instance creation instruction to control the target edge cloud node to create an instance based on the obtained instance data, further comprising:
and generating an instance release instruction to control the source edge cloud node to release the instance.
10. The instance migration method according to claim 9, wherein after said generating an instance release instruction to control said source edge cloud node to release an instance, further comprises:
and generating a state modification instruction according to the node information of the target edge cloud node so as to modify the state information of the to-be-migrated instance.
11. The instance migration method according to claim 1, wherein it is determined whether a first edge cloud node of the edge cloud nodes other than the source edge node is in an available state;
if the first edge cloud node is in an available state, judging whether available resources of the first edge cloud node are enough to bear the to-be-migrated example;
and taking the first edge cloud node which is enough to bear the to-be-migrated instance as the target edge cloud node.
12. An example migration method is applied to a network comprising a central management and control device and edge cloud nodes, and comprises the following steps:
acquiring instance data of an instance to be migrated currently running on a source edge cloud node according to a received migration instruction;
and according to the received instance creating instruction, creating an instance based on the obtained instance data.
13. The instance migration method according to claim 12, wherein the instance data includes mirror data, the mirror data is stored in a central management and control device that manages a plurality of edge cloud nodes and/or in the edge cloud nodes, the migration instruction includes a mirror obtaining instruction, and obtaining the instance data of the to-be-migrated instance currently running on the source edge cloud node according to the received migration instruction includes:
and acquiring the mirror image data of the example to be migrated according to the received mirror image acquisition instruction.
14. The instance migration method according to claim 12, wherein the instance data includes snapshot data, the snapshot data is stored in the central management and control device and/or in the edge cloud node, the migration instruction includes a snapshot migration instruction, and the obtaining, according to the received migration instruction, the instance data of the to-be-migrated instance currently running on the source edge cloud node includes:
and acquiring snapshot data of the to-be-migrated instance according to the received snapshot migration instruction.
15. The instance migration method according to claim 14, wherein the obtaining snapshot data of the to-be-migrated instance according to the received snapshot migration instruction includes:
according to the received snapshot migration instruction, acquiring a slice of snapshot data of the to-be-migrated instance from the central management and control equipment and/or the edge cloud node;
and instantiating the acquired slice of the snapshot data to form the snapshot data.
16. The instance migration method according to any one of claims 12 to 15, wherein before the obtaining, according to the received migration instruction, instance data of the to-be-migrated instance currently running on the source edge cloud node, further comprises:
and reserving resources for the to-be-migrated instance according to the received resource reservation instruction.
17. An instance migration apparatus, comprising:
the migration instruction generation module is used for generating a migration instruction and informing a target edge cloud node except the source edge cloud node of acquiring the instance data of the instance to be migrated;
and the creation instruction generation module is used for acquiring the configuration information of the target edge cloud node for the to-be-migrated example and generating an example creation instruction so as to control the target edge cloud node to create an example based on the acquired example data.
18. The instance migration apparatus according to claim 17, wherein the instance data comprises mirror data, the mirror data is stored in a central management device for managing a plurality of edge cloud nodes and/or in the edge cloud nodes, the migration instruction comprises a mirror acquisition instruction, and the migration instruction generation module comprises:
a first instruction generating unit, configured to generate a mirror image obtaining instruction to notify the target edge cloud node to obtain mirror image data of the to-be-migrated instance.
19. The instance migration apparatus according to claim 18, wherein said migration instruction generation module further comprises:
the query unit is used for querying whether mirror image data of the to-be-migrated example is stored in the target edge cloud node or not before the first instruction generation unit generates the mirror image acquisition instruction;
the first instruction generating unit is configured to, according to a query result, execute the operation of generating the mirror image obtaining instruction for the target edge cloud node that does not store the mirror image data of the to-be-migrated instance.
20. The instance migration apparatus according to claim 17, wherein the instance data includes snapshot data, the snapshot data is stored in the central management and control device and/or in the edge cloud node, the migration instruction includes a snapshot migration instruction, and the migration instruction generation module includes:
and the second instruction generating unit is used for generating a snapshot migration instruction so as to inform the target edge cloud node to acquire snapshot data of the to-be-migrated instance.
21. The instance migration apparatus according to claim 20, wherein said migration instruction generation module further comprises:
a first obtaining unit, configured to obtain, before the second instruction generating unit generates the snapshot migration instruction, latest available snapshot information of the to-be-migrated instance;
and the second instruction generating unit is used for executing the operation of generating the snapshot migration instruction according to the latest available snapshot information.
22. The instance migration apparatus according to any one of claims 17 to 21, further comprising:
and the node selection module is used for determining the target edge cloud node from the edge cloud nodes except the source edge cloud node according to the node information of the source edge cloud node before the migration instruction is generated by the migration instruction generation module.
23. The example migration device of claim 22,
the node information comprises at least one of resource information, network information, geographical location information and user use preference of a node to which the instance belongs.
24. The example migration apparatus according to claim 22, further comprising:
and the reservation instruction generating module is used for generating a resource reservation instruction according to the example data of the example to be migrated after the node selecting module determines the target edge cloud node, so as to control the target edge cloud node to reserve resources for the example to be migrated.
25. The instance migration apparatus according to any one of claims 17 to 21, further comprising:
and the release instruction generation module is used for generating an instance release instruction after the creation instruction generation module generates the instance creation instruction so as to control the source edge cloud node to release the instance.
26. The example migration apparatus according to claim 25, further comprising:
and the modification instruction generation module is used for generating a state modification instruction according to the node information of the target edge cloud node after the release instruction generation module generates the instance release instruction so as to modify the state information of the instance to be migrated.
27. An instance migration apparatus, comprising:
the data acquisition module is used for acquiring instance data of an instance to be migrated currently running on a source edge cloud node according to the received migration instruction;
and the instance creating module is used for creating an instance based on the acquired instance data according to the received instance creating instruction.
28. The instance migration apparatus according to claim 27, wherein the instance data comprises mirrored data stored in a central management device for managing a plurality of edge cloud nodes and/or in the edge cloud nodes, the migration instructions comprise mirror acquisition instructions, and the data acquisition module comprises:
and the second acquisition unit is used for acquiring the mirror image data of the example to be migrated according to the received mirror image acquisition instruction.
29. The instance migration apparatus according to claim 27, wherein the instance data further includes snapshot data, the snapshot data is stored in the central management and control device and/or in the edge cloud node, and the data obtaining module further includes:
and the third obtaining unit is used for obtaining the snapshot data of the example to be migrated according to the received snapshot migration instruction.
30. The instance migration apparatus according to claim 29, wherein the third obtaining unit is specifically configured to, according to the received snapshot migration instruction, obtain a slice of snapshot data of the instance to be migrated from the central management and control device and/or the edge cloud node; and instantiating the acquired slice of the snapshot data to form the snapshot data.
31. The example migration apparatus of any of claims 27 to 30, further comprising:
and the resource reservation module is used for reserving resources for the example to be migrated according to the received resource reservation instruction before the data acquisition module acquires the example data of the example to be migrated.
32. An electronic device, comprising:
a memory for storing a program;
a processor for executing the program stored in the memory for:
generating a migration instruction, and informing a target edge cloud node except the source edge cloud node to acquire instance data of an instance to be migrated;
and acquiring configuration information of the target edge cloud node for the to-be-migrated example, and generating an example creating instruction to control the target edge cloud node to create an example based on the acquired example data.
33. An electronic device, comprising:
a memory for storing a program;
a processor for executing the program stored in the memory for:
acquiring instance data of an instance to be migrated currently running on a source edge cloud node according to a received migration instruction;
and according to the received instance creating instruction, creating an instance based on the obtained instance data.
CN201910277968.1A 2019-04-08 2019-04-08 Instance migration method and device and electronic equipment Active CN111800285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910277968.1A CN111800285B (en) 2019-04-08 2019-04-08 Instance migration method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910277968.1A CN111800285B (en) 2019-04-08 2019-04-08 Instance migration method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111800285A true CN111800285A (en) 2020-10-20
CN111800285B CN111800285B (en) 2024-04-09

Family

ID=72805635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910277968.1A Active CN111800285B (en) 2019-04-08 2019-04-08 Instance migration method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111800285B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511649A (en) * 2020-12-21 2021-03-16 新疆品宣生物科技有限责任公司 Multi-access edge calculation method and equipment
CN112995682A (en) * 2021-04-21 2021-06-18 军事科学院系统工程研究院网络信息研究所 Method and device for deploying and migrating video cloud service
CN113114716A (en) * 2021-02-25 2021-07-13 浙江工商大学 Edge cloud collaborative control system and method
CN113452756A (en) * 2021-06-02 2021-09-28 鹏城实验室 Service chain flow migration method and device, terminal equipment and storage medium
CN114070851A (en) * 2021-11-15 2022-02-18 中国电信集团系统集成有限责任公司 Service recovery method, storage medium and system based on MEC edge cloud
CN115361349A (en) * 2022-07-26 2022-11-18 支付宝(杭州)信息技术有限公司 Resource using method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977242A (en) * 2010-11-16 2011-02-16 西安电子科技大学 Layered distributed cloud computing architecture and service delivery method
CN102521071A (en) * 2011-11-24 2012-06-27 广州杰赛科技股份有限公司 Private cloud-based virtual machine maintaining method
CN103677967A (en) * 2012-09-03 2014-03-26 阿里巴巴集团控股有限公司 Remote data service system of data base and task scheduling method
TW201523281A (en) * 2013-10-24 2015-06-16 Power All Networks Ltd System and method for migrating virtual machines
CN106610863A (en) * 2015-10-21 2017-05-03 华为技术有限公司 Virtual machine trusted migration method and apparatus
WO2017206001A1 (en) * 2016-05-28 2017-12-07 华为技术有限公司 Method for migrating application in mobile edge system, and related device and system
CN108282527A (en) * 2018-01-22 2018-07-13 北京百度网讯科技有限公司 Generate the distributed system and method for Service Instance
CN109358967A (en) * 2018-09-26 2019-02-19 中国联合网络通信集团有限公司 A kind of ME platform APP instantiation moving method and server
US20190089780A1 (en) * 2017-09-15 2019-03-21 Nec Europe Ltd. Application function management using nfv mano system framework

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977242A (en) * 2010-11-16 2011-02-16 西安电子科技大学 Layered distributed cloud computing architecture and service delivery method
CN102521071A (en) * 2011-11-24 2012-06-27 广州杰赛科技股份有限公司 Private cloud-based virtual machine maintaining method
CN103677967A (en) * 2012-09-03 2014-03-26 阿里巴巴集团控股有限公司 Remote data service system of data base and task scheduling method
TW201523281A (en) * 2013-10-24 2015-06-16 Power All Networks Ltd System and method for migrating virtual machines
CN106610863A (en) * 2015-10-21 2017-05-03 华为技术有限公司 Virtual machine trusted migration method and apparatus
WO2017206001A1 (en) * 2016-05-28 2017-12-07 华为技术有限公司 Method for migrating application in mobile edge system, and related device and system
US20190089780A1 (en) * 2017-09-15 2019-03-21 Nec Europe Ltd. Application function management using nfv mano system framework
CN108282527A (en) * 2018-01-22 2018-07-13 北京百度网讯科技有限公司 Generate the distributed system and method for Service Instance
CN109358967A (en) * 2018-09-26 2019-02-19 中国联合网络通信集团有限公司 A kind of ME platform APP instantiation moving method and server

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511649A (en) * 2020-12-21 2021-03-16 新疆品宣生物科技有限责任公司 Multi-access edge calculation method and equipment
CN112511649B (en) * 2020-12-21 2022-08-26 新疆品宣生物科技有限责任公司 Multi-access edge calculation method and equipment
CN113114716A (en) * 2021-02-25 2021-07-13 浙江工商大学 Edge cloud collaborative control system and method
CN112995682A (en) * 2021-04-21 2021-06-18 军事科学院系统工程研究院网络信息研究所 Method and device for deploying and migrating video cloud service
CN112995682B (en) * 2021-04-21 2021-08-03 军事科学院系统工程研究院网络信息研究所 Method and device for deploying and migrating video cloud service
CN113452756A (en) * 2021-06-02 2021-09-28 鹏城实验室 Service chain flow migration method and device, terminal equipment and storage medium
CN113452756B (en) * 2021-06-02 2022-02-25 鹏城实验室 Service chain flow migration method and device, terminal equipment and storage medium
CN114070851A (en) * 2021-11-15 2022-02-18 中国电信集团系统集成有限责任公司 Service recovery method, storage medium and system based on MEC edge cloud
WO2023082749A1 (en) * 2021-11-15 2023-05-19 中电信数智科技有限公司 Service recovery method and system based on mec edge cloud, and storage medium
CN115361349A (en) * 2022-07-26 2022-11-18 支付宝(杭州)信息技术有限公司 Resource using method and device
CN115361349B (en) * 2022-07-26 2023-08-15 支付宝(杭州)信息技术有限公司 Resource using method and device

Also Published As

Publication number Publication date
CN111800285B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN111800285B (en) Instance migration method and device and electronic equipment
CN111800282B (en) Network system, instance management and control method, device and storage medium
CN115633050B (en) Mirror image management method, device and storage medium
WO2022161430A1 (en) Edge cloud system, edge management and control method, management and control node, and storage medium
EP3648401B1 (en) Method, device, and computer readable storage medium for managing network slice
CN116170317A (en) Network system, service providing and resource scheduling method, device and storage medium
CN113726846B (en) Edge cloud system, resource scheduling method, equipment and storage medium
CN111800281B (en) Network system, management and control method, equipment and storage medium
CN113301078B (en) Network system, service deployment and network division method, device and storage medium
CN111638935B (en) Mirror image management method, network system, device, and storage medium
CN111045745A (en) Method and system for managing configuration information
EP3588852B1 (en) Method, apparatus and system for managing network slice instance
CN114500521A (en) Computing power scheduling method, device, scheduling equipment, system and storage medium
CN110908774B (en) Resource scheduling method, equipment, system and storage medium
CN106790092B (en) Remote procedure call server control system and method
CN113296882A (en) Container arranging method, device, system and storage medium
CN111459749A (en) Prometous-based private cloud monitoring method and device, computer equipment and storage medium
CN113778615B (en) Rapid and stable network shooting range virtual machine construction system
CN113382077B (en) Micro-service scheduling method, micro-service scheduling device, computer equipment and storage medium
CN113300865B (en) Management and control method, network system, equipment and storage medium
CN113382032B (en) Cloud node changing, network expanding and service providing method, device and medium
CN114301909B (en) Edge distributed management and control system, method, equipment and storage medium
CN113301076B (en) Flow control method, distributed system, device and storage medium
CN114629958A (en) Resource allocation method, device, electronic equipment and storage medium
CN113138717B (en) Node deployment method, device and storage medium

Legal Events

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