WO2020207267A1 - Network system, mirror image management method, device and storage medium - Google Patents

Network system, mirror image management method, device and storage medium Download PDF

Info

Publication number
WO2020207267A1
WO2020207267A1 PCT/CN2020/081571 CN2020081571W WO2020207267A1 WO 2020207267 A1 WO2020207267 A1 WO 2020207267A1 CN 2020081571 W CN2020081571 W CN 2020081571W WO 2020207267 A1 WO2020207267 A1 WO 2020207267A1
Authority
WO
WIPO (PCT)
Prior art keywords
edge cloud
cloud node
image
edge
control device
Prior art date
Application number
PCT/CN2020/081571
Other languages
French (fr)
Chinese (zh)
Inventor
白常明
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2020207267A1 publication Critical patent/WO2020207267A1/en

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/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]
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to the field of computer technology, and in particular to a network system, image management method, equipment, and storage medium.
  • the concept of cloud computing is based on centralized resource management and control. Even if multiple data centers are used for interconnection, all software and hardware resources are still treated as unified resources for management, scheduling, and sales. With the advent of the era of 5G and the Internet of Things and the gradual increase of cloud computing applications, the terminal side has higher and higher requirements for cloud resources in terms of latency and bandwidth. The centralized cloud network can no longer meet the increasing demand on the terminal side. Cloud resource requirements.
  • Various aspects of the present application provide a network system, image management method, device, and storage medium to reduce service response delay and bandwidth cost.
  • An embodiment of the present application provides an image management method, including: determining a target image that needs to be provided to a first edge cloud node, where the first edge cloud node is any edge cloud node in a network system; The node provides the target image, so that the first edge cloud node uses the target image to provide cloud computing services.
  • An embodiment of the present application also provides an image management method, including: receiving information of a second edge cloud node issued by a central management and control device and information of a target image that needs to be provided to the first edge cloud node; according to the second edge cloud The information of the node and the target image is obtained from the second edge cloud node.
  • the embodiment of the present application also provides a network system, including:
  • An embodiment of the present application also provides a network system, including: a central management and control device, and at least one edge cloud node; the central management and control device is used to determine the target image that needs to be provided to the first edge cloud node, which is the first The edge cloud node provides the target image, so that the first edge cloud node uses the target image to provide cloud computing services; wherein the first edge cloud node is any edge cloud node in the network system.
  • An embodiment of the present application also provides a central management and control device, including: a memory and a processor; the memory is used to store a computer program; when the computer program is executed by the processor, the processor is caused to implement the application Steps in the method embodiment.
  • the embodiment of the present application also provides a computer-readable storage medium storing a computer program.
  • the computer program is executed by one or more processors, the one or more processors are caused to implement the method in the method embodiment of the present application. A step of.
  • An embodiment of the present application also provides an edge management and control device, including: a memory and a processor; the memory is used to store a computer program; when the computer program is executed by the processor, the processor is caused to implement the application Steps in the method embodiment.
  • the embodiment of the present application also provides a computer-readable storage medium storing a computer program.
  • the computer program is executed by one or more processors, the one or more processors are caused to implement the method in the method embodiment of the present application. A step of.
  • the embodiment of the present application also provides a computer-readable storage medium storing a computer program.
  • the computer program is executed by one or more processors, the one or more processors are caused to implement the aforementioned central control device execution The steps in the method embodiment.
  • the embodiment of the present application also provides a computer-readable storage medium storing a computer program.
  • the computer program is executed by one or more processors, the one or more processors are caused to realize that the foregoing can be executed by the edge management device The steps in the method embodiment.
  • the central management and control are combined with the edge cloud node.
  • the edge cloud node Under the management and control of the central management and control device, the edge cloud node can obtain the required image. This is "put cloud computing in the edge cloud closer to the terminal. "Processing in the node” provides conditions, and can use the resources in the edge cloud node to provide users with cloud computing services, which is conducive to reducing response delays and reducing bandwidth costs.
  • Fig. 1a is a schematic structural diagram of a network system provided by an exemplary embodiment of this application.
  • FIG. 1b is a schematic structural diagram of another network system provided by an exemplary embodiment of this application.
  • FIG. 1c is a schematic structural diagram of another network system provided by an exemplary embodiment of this application.
  • FIG. 2a is a schematic flowchart of an image management method provided by an exemplary embodiment of this application.
  • FIG. 2b is a schematic flowchart of another image management method provided by an exemplary embodiment of this application.
  • FIG. 3 is a schematic structural diagram of a central management and control device provided by an exemplary embodiment of this application.
  • FIG. 4 is a schematic structural diagram of an edge management and control device provided by an exemplary embodiment of this application.
  • the central management and control are combined with edge cloud nodes.
  • the edge The cloud node Under the control of the central control equipment, the edge The cloud node can obtain the required image, and then can create the corresponding instance of the cloud computing service, which provides conditions for "putting the cloud computing in the edge cloud node closer to the terminal for processing", and then can use the edge cloud node Resources provide users with cloud computing services, which is conducive to reducing response delays and reducing bandwidth costs.
  • the central management and control device can control the edge cloud node that needs the image to obtain it from other edge cloud nodes that already have the image, without the need for the central management and control device to send the image to the edge.
  • Cloud node delivery on the one hand, can reduce the processing burden of the central control equipment, and on the other hand, it is also beneficial to improve the efficiency of image acquisition.
  • Fig. 1a is a schematic structural diagram of a network system provided by an exemplary embodiment of this application.
  • 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 in a network.
  • the network system 100 in this embodiment is a cloud computing platform built on edge infrastructure based on cloud computing technology and edge computing capabilities, and is a cloud platform with computing, network, storage, and security capabilities at the edge.
  • Edge cloud is a relative concept.
  • Edge cloud refers to a cloud computing platform that is relatively close to the terminal. In other words, it is different from central cloud or traditional cloud computing platform.
  • Central cloud or traditional cloud computing platform can include large-scale resources and centralized locations. Data centers, and edge cloud nodes cover a wider network range, and therefore have the characteristics of being closer to the terminal.
  • the resource scale of a single edge cloud node is small, but the number of edge cloud nodes is large, and multiple edge cloud nodes constitute the original Part of the edge cloud in the embodiment.
  • the terminal in this embodiment refers to the demand side of cloud computing services, for example, it may be a terminal or a user side in the Internet, or a terminal or a user side in the Internet of Things.
  • the edge cloud network is a network based on the infrastructure between the central cloud or the traditional cloud computing system and the terminal.
  • the network system 100 includes at least one edge cloud node 102, and each edge cloud node 102 includes a series of edge infrastructures.
  • edge infrastructures include, but are not limited to: distributed data centers (DC), wireless computer rooms or clusters, operations Communication networks, core network equipment, base stations, edge gateways, home gateways, computing devices and/or storage devices and other edge devices and corresponding network environments. It is explained here that the locations, capabilities, and included infrastructure of different edge cloud nodes 102 may be the same or different.
  • the network system 100 of this embodiment is combined with a central cloud or a traditional cloud computing platform and other central networks and terminals to form a "cloud edge-end three-body coordination" network architecture.
  • the network can be forwarded and stored.
  • Tasks such as computing, intelligent data analysis, etc. are processed in each edge cloud node 102 in the network system 100. Since each edge cloud node 102 is closer to the terminal, the response delay can be reduced and the central cloud or traditional cloud computing platform can be reduced. Pressure to reduce bandwidth costs.
  • a central management and control device 101 is deployed.
  • the central management and control device 101 uses the edge cloud node 102 as the management and control object for resource scheduling, image management, instance management and control, operation and maintenance, network, security, etc.
  • At least one edge cloud node 102 in the network system 100 is uniformly managed and controlled, so that cloud computing services are placed in each edge cloud node 102 for processing.
  • the central management and control device 101 can be deployed in one or more cloud computing data centers, or it can be deployed in one or more traditional data centers, and the central management and control device 101 can also be connected to at least one edge cloud managed by it.
  • the nodes jointly constitute an edge cloud network, which is not limited in this embodiment.
  • the edge cloud node 102 For an edge cloud node 102, various resources may be provided externally, such as computing resources such as CPU and GPU, storage resources such as memory and hard disk, and network resources such as bandwidth.
  • the edge cloud node 102 can also create a corresponding instance based on the image, and provide various cloud computing services externally through the instance.
  • the image is the basic file needed to create an instance in the edge cloud node.
  • it can be an image file such as an operating system, application, or operation configuration required to provide users with cloud computing services, and it can be in line with edge cloud node computing deployment Requirements, according to a specific series of documents in a certain format made into documents.
  • images which can be virtual machine (VM) image files, container (Docker) image files, or various types of application packaging files, etc.
  • VM virtual machine
  • Docker container
  • application packaging files etc.
  • the image form can be compatible with the virtualization technology used by cloud computing services. Regarding, this embodiment does not limit this.
  • the implementation form of the instance can be a virtual machine, container, or application.
  • the central management and control device 101 can perform resource scheduling on at least one edge cloud node 102 according to resource requirements, or can perform image management and distribution for at least one edge cloud node 102 according to image requirements.
  • resource scheduling on at least one edge cloud node 102 and provide mirroring for at least one edge cloud node 102 according to cloud computing service requirements.
  • cloud computing service requirements include resource requirements and mirroring requirements.
  • the central management and control device 101 may provide a requirement submission portal to the outside, and the requirement submission portal may be a web page, an application page, or a command window. The role of the requirement submission portal is for the requirement to submit its own requirement description information to the central control device 101.
  • the resource demand description information can be submitted to the central management and control device 101 through the above demand submission entry.
  • the resource demand description information includes: edge cloud node selection parameters and resource selection parameters; edge cloud node selection parameters include scheduling domains and/or For the performance requirements of edge cloud nodes, the resource selection parameters include resource type, resource quantity, and performance requirements for resource equipment.
  • the central management and control device 101 may perform resource scheduling on at least one edge cloud node according to the resource requirement description information.
  • a resource scheduling method includes: the central management and control device 101 determines the scheduled target edge cloud node and the scheduled target edge cloud node from at least one edge cloud node 102 of the network system 100 according to resource demand description information Resource information; according to the resource information, the corresponding resource device in the target edge cloud node is controlled to allocate or reserve resources.
  • the mirroring demand description information can be submitted to the central management and control device 101 through the above demand submission entry.
  • the mirroring demand description information can point to the mirror that needs to be used, which can be the mirror itself, or the name, ID and other identification types of the mirror.
  • the information can also be some function description information of the cloud computing service, which can reflect the required image.
  • the central management and control device 101 can obtain the image according to the description information of the image demand; provide the image to the edge cloud node in the network system 100 that needs the image, so that the edge cloud node creates a corresponding instance based on the image, and the instance provides the corresponding cloud externally Computing services.
  • the service demand description information can be submitted to the central management and control device 101 through the above demand submission portal.
  • the service demand description information includes resource demand description information and mirroring demand description information.
  • resource requirement description information and mirroring requirement description information please refer to the previous description, which will not be repeated here. It is worth noting that the resource requirement description information and the mirroring requirement description information in the service requirement description information can be submitted together or separately.
  • the central management and control device 101 can perform resource scheduling on at least one edge cloud node 102 in the network system 100 according to the service demand description information; provide a mirror image of the scheduled resources in the at least one edge cloud node 102 to use the The scheduled resources provide corresponding cloud computing services.
  • the central management and control device 101 can directly control and schedule at least one edge cloud node 102, but it is not limited to this.
  • an edge management and control device 103 is also included in the network system 100.
  • the number of edge management and control devices 103 may be one or multiple.
  • the edge management and control device 103 may be deployed in one or more edge cloud nodes 102.
  • an edge management and control device 103 is separately deployed in each edge cloud node 102.
  • each edge cloud node includes one or more resource devices.
  • the edge management and control device 103 may be deployed on one resource device in a centralized manner, or may be deployed on multiple resource devices in a distributed manner.
  • each edge cloud node can include one or more proprietary devices in addition to resource devices.
  • the edge management and control device 103 can be deployed on one dedicated device or distributed on multiple dedicated devices.
  • the proprietary device refers to the physical device used to deploy the edge management and control device 103, which is different from the resource device.
  • the edge management and control device 103 can also be deployed with the central management and control device 101, which is not limited here.
  • the central management and control device 101 may be deployed in one or more cloud computing data centers or traditional data centers, and may also be deployed in an edge cloud network together with at least one edge cloud node.
  • the edge management and control device 103 can assist and cooperate with the central management and control device 101 to manage and control 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 manage and schedule at least one edge cloud node 102 more conveniently and efficiently, thereby achieving the purpose of making full use of edge resources.
  • the central management and control device 101 of this embodiment can be a logical device capable of resource scheduling, image management, operation and maintenance management, etc. These functions can be implemented on a physical machine or virtual machine, or can be distributed Deployed on multiple physical or virtual machines.
  • the central management and control device in this embodiment may also be one or more physical devices with capabilities such as resource scheduling and image management.
  • the embodiment of the present application does not limit the implementation structure of the central management and control device 101, and any device structure with the foregoing capabilities is applicable to the embodiment of the present application.
  • the edge management and control device 103 can also be a logical device, which has the ability to deploy a physical machine (for example, a resource device or a proprietary device in an edge cloud node) or a virtual machine. It can also be deployed on multiple physical machines (such as resource devices or proprietary devices in edge cloud nodes) or virtual machines in a decentralized manner.
  • the edge control device can also be one or more physical devices with corresponding capabilities.
  • the embodiments of the present application do not limit the implementation structure of the edge management and control device 103, and any device structure with corresponding capabilities is applicable to the embodiments of the present application.
  • a secure and encrypted communication channel is established between the central management and control device 101 and the edge management and control device 103, and interaction is performed based on the communication channel.
  • the communication channel includes a control interface and a data interface, and the central management and control device 101 interacts with the edge management and control device 103 on the control plane and the data plane based on the control interface and the data interface to complete the scheduling and management of the edge cloud node 102.
  • the data interface is used for data transmission between the central management and control device 101 and the edge management and control device 103.
  • the control interface has but not limited to the following functions:
  • the central control device 101 can perform resource scheduling on edge cloud nodes from multiple dimensions through a control interface with resource scheduling capabilities (can be referred to as resource scheduling interface for short).
  • the edge cloud node is the central control device 101 for resource scheduling Object;
  • the central management and control device 101 can provide images to edge cloud nodes through a control interface with image management and distribution capabilities (referred to as image management interfaces), so that the edge cloud nodes can create images based on the received images Corresponding instances, providing cloud computing services through instances;
  • Operation and maintenance management capability The central control device 101 performs operation and maintenance management on edge cloud nodes through a control interface with operation and maintenance management capabilities (referred to as the operation and maintenance management interface).
  • the operation and maintenance management includes but is not limited to: control edge cloud nodes Application, virtualization software, etc., monitor the status, resource usage and infrastructure of the instance.
  • the central management and control device 101 of this embodiment has but not limited to the following functions:
  • service requirements such as service specifications, areas where services need to be deployed, operator network distribution, network delays, load conditions, bandwidth costs, required resource types and/or resource equipment performance requirements, etc.
  • Resource scheduling for edge cloud nodes such as service specifications, areas where services need to be deployed, operator network distribution, network delays, load conditions, bandwidth costs, required resource types and/or resource equipment performance requirements, etc.
  • the image required for cloud computing services can be obtained, and the image can be provided to the corresponding resource equipment in the edge cloud node for configuration and installation, so that the corresponding resource equipment can create corresponding instances to provide cloud computing services;
  • Operation and maintenance management and control of edge cloud nodes can be performed, including but not limited to: management and control of applications, virtualized components, instance status, resource usage and/or infrastructure conditions in edge cloud nodes, to achieve remote operation and maintenance, logs Management etc.
  • the central control equipment can also have other functions, such as security assurance functions, involving the security of the central control equipment, the link security between the central control equipment and the edge control equipment, and the edge cloud nodes.
  • Security of cloud nodes responsible for maintaining networking information in the network system.
  • At least one edge cloud node 102 can form a resource pool, and each edge cloud node 102 serves as a scheduling object, and provides various resources or cloud computing services externally under the scheduling of the central management and control device 101.
  • the central management and control device 101 and the edge management and control device 102 cooperate with each other to perform resource scheduling on at least one edge cloud node 102 separately, or perform mirror management and distribution for at least one edge cloud node 102 separately, of course, it can also At least one edge cloud node 102 performs resource scheduling and provides a mirror image for at least one edge cloud node 102.
  • the central management and control device can perform resource scheduling on at least one edge cloud, which mainly refers to determining the target edge cloud node and target edge cloud node that can be scheduled from at least one edge cloud node 102 in the network system 100 according to service demand description information Scheduled resource information; the resource information is sent to the edge management and control device 103 for the edge management and control device 103 to control the corresponding resource device in the target edge cloud node for resource allocation or reservation.
  • the number of target edge cloud nodes can be specified by the user, or can be independently determined by the resource center management and control device according to the service requirement description information, and it can be one or more.
  • the service demand description information can be directly submitted by the service demander, or it can be extracted or calculated from the service-related information submitted by the service demander.
  • the service demander can be a user, an application, a physical machine, or another service that requires a certain service.
  • the resource scheduling function described here mainly includes the selection of edge cloud nodes and the resource scheduling within the edge cloud nodes, but it is not limited to these two aspects.
  • the internal resource scheduling of the edge cloud node is specifically embodied as the operation of determining the scheduled resource information in the target edge cloud node and providing resource information.
  • the main purpose is to allocate cloud computing services to the final at the granularity of each edge cloud node.
  • Basic resources such as server and other resource equipment.
  • the central control equipment can maintain the information of the resources contained in each edge cloud node as the basis for resource scheduling.
  • the service requirement description information includes edge cloud node selection parameters and resource selection parameters.
  • the edge cloud node selection parameter refers to the parameter required to select the target edge cloud node;
  • the resource selection parameter refers to the information required to select the scheduled resource in the edge cloud node.
  • the central management and control equipment can parse out the edge cloud node selection parameters and resource selection parameters from the service demand description information; determine the scheduled target edge cloud node from at least one edge cloud node according to the edge cloud node selection parameters, and according to the resource The selection parameters determine the scheduled resource information in the target edge cloud node.
  • the service requirement description information may include the scheduling domain and/or the QoS requirements of the cloud computing service, and these parameters may be used as edge cloud node selection parameters.
  • the scheduling domain points to the area where the service needs to be deployed, which determines the geographic location of the edge cloud node that should be scheduled.
  • the QoS requirements of cloud computing services may include the requirements of cloud computing services on network delay, load conditions, and/or bandwidth costs.
  • the central management and control device can select the edge cloud node that can meet the scheduling domain and/or QoS requirements as the target according to the QoS requirements of the scheduling domain and/or cloud computing service, combined with the geographic location and resource remaining amount of at least one edge cloud node Edge cloud node.
  • the central management and control device may select the edge cloud node pointed to by the scheduling domain as the target edge cloud node in combination with the geographic location of at least one edge cloud node according to the scheduling domain.
  • the central management and control device can also select the edge cloud node that meets the network delay, load and/or bandwidth cost requirements based on the QoS requirements of the cloud computing service, such as network delay, load conditions, and/or bandwidth cost requirements.
  • the edge cloud node serves as the target edge cloud node.
  • the central management and control equipment can also select the edge cloud node that can meet the scheduling domain and QoS requirements as the target edge cloud based on the QoS requirements of the scheduling domain and cloud computing services at the same time, combined with the geographic location and remaining amount of resources of at least one edge cloud node. node.
  • the service requirement description information can also include the resource type, the number of resources, and/or the performance of the resource equipment required by the cloud computing service. These parameters can be used as resources. Select parameters. Based on this, after determining the target edge cloud node, the central management and control device can determine the scheduled resource information in the target edge cloud node according to the resource selection parameters.
  • the resource information here may include: resource type, resource quantity, and performance requirements for resource devices, so that the edge management and control device can control the corresponding resource device in the target edge cloud node to allocate or reserve resources accordingly.
  • resource types may include, but are not limited to: computing resources such as CPU and GPU, storage resources such as memory and hard disk, and resource types such as bandwidth resources.
  • computing resources such as CPU and GPU
  • storage resources such as memory and hard disk
  • resource types such as bandwidth resources.
  • the number of resources can be 12 CPUs, 24 CPUs, etc.
  • memory resources such as an example
  • the number of resources can be 16G memory, 32G memory, etc.
  • bandwidth resources such as an example, the number of resources can be 1M bandwidth, 10M Bandwidth etc.
  • the central management and control device can also have the function of computing power orchestration.
  • the computing power orchestration is oriented to relatively complex application scenarios. Multiple cloud computing services are bound together as the smallest resource requirement unit. In this way, in the resource scheduling In the process, multiple cloud computing services can be bound together as a whole, and one or several edge cloud nodes can be selected for them, and the same or several edge cloud nodes can provide resources for them together. Computing power scheduling improves the diversity of resource scheduling and increases the flexibility of resource scheduling, but it does not affect the overall process of resource scheduling.
  • the image management function of the central control device mainly refers to the management of images and the provision of required images for edge cloud nodes.
  • the edge cloud node can create an instance on the corresponding resource device according to the image, and then the created instance can provide users with required cloud computing services.
  • edge cloud nodes In practical applications, there are various scenarios where mirroring needs to be provided for edge cloud nodes.
  • a user such as a service demander
  • the central management and control device can provide a corresponding image for the scheduled target edge cloud node.
  • the central management and control device can provide a corresponding image for the scheduled target edge cloud node.
  • the central management and control device can provide a corresponding image for the scheduled target edge cloud node.
  • the edge cloud node of the computing service provides a corresponding image, so that the edge cloud node creates a new instance based on the image, so as to achieve the purpose of capacity expansion.
  • the edge cloud node that needs to be mirrored is recorded as the first edge cloud node.
  • the first edge cloud node can be any edge cloud node in the network system, depending on the application scenario. Depends.
  • the image management function of the central control device is described below by taking the central control device providing mirroring for the first edge cloud node as an example.
  • the central management and control device can first determine the target image that needs to be provided to the first edge cloud node; then, provide the target image for the first edge cloud node for use by the first edge cloud node
  • the target image provides cloud computing services.
  • a mirror library is maintained, and the mirror library is used to store images in the system.
  • Users can choose to use the mirror in the mirror library.
  • the user can be provided with a mirror configuration interface with a drop-down menu.
  • the drop-down menu includes many mirrors that can be selected by the user, and the user can choose the mirror to use.
  • the central control device can obtain the image required by the first edge cloud node from the mirror library, and then provide the image to the first edge cloud node, and use the image
  • the permissions are open to the corresponding users.
  • the central management and control device may directly issue the target image to the first edge cloud node, or instruct the first edge cloud node to download the target image to a designated storage location.
  • the central control device can also maintain the correspondence between the issued image and the edge cloud node where the issued image is located.
  • the correspondence relationship may include the identification information of the issued image and the identification information of the edge cloud node where the image has been issued.
  • the issued image refers to the image that the central control device has provided (for example, issued) to one or some edge cloud nodes; the edge cloud node where the issued image is located refers to the edge cloud node to which the issued image is provided.
  • the same image may be provided (for example, distributed) to one edge cloud node, or may be provided (for example, distributed) to multiple edge cloud nodes.
  • the central management and control device can also control the first edge cloud node from the image that already has the image.
  • Other edge cloud nodes acquire the image without directly providing the image to the first edge cloud node, which can reduce the processing burden of the central control device to a certain extent, and can also improve the efficiency of image acquisition under the condition of reasonable control.
  • the central management and control device may determine the mirror image that needs to be provided to the first edge cloud node.
  • the image provided by the cloud node is recorded as the target image; according to the information of the target image, a match is made in the correspondence between the maintained issued image and the edge cloud node where the issued image is located; if the corresponding relationship is matched with the target Mirror the corresponding second edge cloud node, which means that the target image has been provided to the second edge cloud node, then the target image at the second edge cloud node can be provided to the first edge cloud node; where the second edge cloud node
  • the node can also be an edge cloud node in the network system, and the number can be one or more.
  • the target image at the second edge cloud node can be obtained.
  • the central management and control device may specifically send the information of the second edge cloud node and the target mirror to the edge management and control device; the edge management and control device 103 may communicate with the second edge cloud node according to the The information of the target image, the target image at the second edge cloud node is provided to the corresponding resource device in the first edge cloud node for the corresponding resource device to create an instance that can provide cloud computing services based on the target image, and then provide it to the service demander The cloud computing service.
  • the information of the second edge cloud node may be any information that can identify the second edge cloud node, for example, it may be information such as the ID, name, or geographic location of the second edge cloud node.
  • the information of the target image can be any information that can identify the target image, such as the ID, name, or number of the target image.
  • the central management and control device 101 may specifically send the information of the second edge cloud node and the target image to the first edge cloud
  • the edge management and control device in the node is used for the edge management and control device in the first edge cloud node to obtain the target image from the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node and provide it to the second edge cloud node.
  • a corresponding resource device in an edge cloud node is used for the edge management and control device in the first edge cloud node to obtain the target image from the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node and provide it to the second edge cloud node.
  • the edge management and control device 103 in the first edge cloud node can receive the information of the second edge cloud node and the target image sent by the central management and control device 101, and according to the information of the second edge cloud node and the target image, it can communicate with the Second, the communication channel between the edge management and control devices in the edge cloud node, obtains the target image from the second edge cloud node, and provides the target image to the corresponding resource device in the first edge cloud node, so that the corresponding resource device can create an image based on the target image.
  • a process of obtaining the target image from the second edge cloud node includes: The edge management and control device 103 in the edge cloud node sends a request for obtaining the target image to the edge management and control device 103 in the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node. Carry the information of the target image.
  • the edge management and control device 103 in the second edge cloud node receives the request, and determines whether there is a target image in the second edge cloud node according to the target image information carried in the request, and whether there is a target image in the second edge cloud node
  • the target image is returned to the edge management and control device 103 in the first edge cloud node, or the target image is mirrored in the second edge cloud node
  • the storage address of is returned to the edge management and control device 103 in the first edge cloud node.
  • the edge management and control device 103 in the first edge cloud node receives the target image returned by the edge management and control device 103 in the second edge cloud node, or receives the target image returned by the edge management and control device 103 in the second edge cloud node in the second edge cloud
  • the storage address in the node read or download the target image according to the storage address.
  • the edge management and control device 103 in the first edge cloud node and the edge management and control device 103 in the second edge cloud node may establish a communication channel by themselves, or may establish a channel under the control of the central management and control device 101.
  • the central management and control device can also control the establishment of communication channels between different edge management and control devices, and is responsible for maintaining the information of the existing communication channels between the edge management and control devices, for example, which edge management and control devices have established communication channels and communication When the channel is established, the status of the communication channel, and the retention time information.
  • the central management and control device determines that the target image has been provided to the second edge cloud node, and before providing the information of the second edge cloud node and the target image to the edge management and control device in the first edge cloud node, it can also According to the information of the existing communication channel between the maintained edge management and control devices, determine whether there is a communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node; if the judgment result is No, that is, there is no communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node, you can control the edge management and control device in the first edge cloud node and the second edge cloud.
  • the edge management and control device in the node establishes a communication channel, so that the edge management and control device in the first edge cloud node can obtain the target image from the second edge cloud node through the communication channel.
  • the central management and control device After the edge management and control device in the first edge cloud node establishes a communication channel with the edge management and control device in the second edge cloud node, the central management and control device provides information about the second edge cloud node and the target image to the first edge cloud node Edge control equipment in China.
  • the judgment result is yes, that is, there is already a communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node, you can directly mirror the second edge cloud node and the target The information is provided to the edge management and control device in the first edge cloud node.
  • the central management and control device can also provide the edge management and control device in the first edge cloud node with the information of the second edge cloud node and the target image, according to the existing communication channels between the maintained edge management and control devices.
  • the central management and control device may also provide the target image at the second edge cloud node to the first edge cloud node according to the second edge cloud node.
  • the attribute of the cloud node determines whether the second edge cloud node is suitable for providing the target image for the first edge cloud node; if the judgment result is yes, that is, the second edge cloud node is suitable for providing the target image for the first edge cloud node, the first edge cloud node can be 2.
  • the target image at the edge cloud node is provided to the first edge cloud node; if the judgment result is no, the target image can be obtained from the image library and the target image is provided to the first edge cloud node.
  • the operator to which the second edge cloud node belongs can be combined to determine whether the operator to which the second edge cloud node belongs is the same as the operator to which the first edge cloud node belongs; if the judgment result is yes, it means that the second edge cloud node is The first edge cloud node is an edge cloud node under the same operator.
  • the two can perform data transmission, and the data transmission rate is faster than the cross-operator data transmission rate, which is suitable for providing target mirroring for the first edge cloud node.
  • the location attribute of the second edge cloud node can be combined to determine whether the distance between the second edge cloud node and the first edge cloud node is less than the set distance threshold; if the judgment result is yes, the second edge cloud node It is close to the first edge cloud node, which is suitable for providing target mirroring for the first edge cloud node. In this way, the second edge cloud node that is closer to the first edge cloud node provides a mirror image for the first edge cloud node, which is convenient for the first edge cloud node. The edge cloud node quickly obtains the image to improve efficiency.
  • the distance between the second edge cloud node and the first edge cloud node can be the average distance between two edge cloud nodes, or the distance between the centers of two edge cloud nodes, or two edge clouds
  • the distance between nodes and the nearest outer edge can be flexibly defined according to requirements.
  • the bandwidth attribute of the second edge cloud node can be combined to determine whether the available bandwidth of the second edge cloud node is greater than the set bandwidth threshold; if the determination result is yes, it means that the bandwidth resource of the second edge cloud node is relatively abundant, and it is suitable for The first edge cloud node provides the target image, so that the second edge cloud node with sufficient bandwidth resources provides the image for the first edge cloud node, which can ensure the transmission rate of the image, facilitate the first edge cloud node to quickly obtain the image, and improve efficiency .
  • the load attribute of the second edge cloud node can be combined to determine whether the load of the second edge cloud node is less than the set load threshold; if the judgment result is yes, it means that the load of the second edge cloud node is lighter, and it is suitable for The first edge cloud node provides the target image, so that the second edge cloud node with lighter load provides the image for the first edge cloud node. On the one hand, it can achieve load balancing, and on the other hand, it is also convenient for the first edge cloud node to quickly obtain the image. ,Improve efficiency.
  • the multiple attributes of the second edge cloud node can be combined to use the above several methods in combination, and then select a target image suitable for the first edge cloud node.
  • the second edge cloud node For example, if there are multiple second edge cloud nodes, the operators to which the multiple second edge cloud nodes belong can be combined to select from the multiple second edge cloud nodes that belong to the same operator as the first edge cloud node. Two edge cloud nodes; furthermore, if there are still multiple second edge cloud nodes selected, the load of the selected second edge cloud node may be further selected from the load to be the smallest or lower than the set load threshold The second edge cloud node provides a target image for the first edge cloud node.
  • the target image may have been provided to the first edge cloud node.
  • the image used is the same as the image used by the previous instance. If the edge cloud node still stores the image used by the previous instance, there is no need to repeatedly provide the image for the edge cloud node.
  • the central management and control device can determine the maintained issued image and the edge cloud node where the issued image is located before providing the target image at the second edge cloud node to the first edge cloud node Whether the first edge cloud node is included in the corresponding relationship; if the judgment result is yes, it indicates that the target image has been provided to the first edge cloud node, and the target image is still stored in the first edge cloud node, then the target image can be The information is provided to the first edge cloud node for the first edge cloud node to read the target image stored in it, without the need to transmit the target image again, which can save network resources consumed by the transmission of the target image; if the judgment result is no, it indicates that it has not been sent to The first edge cloud node has provided the target image, or the target image no longer exists in the first edge cloud node, the target image at the second edge cloud node may be provided to the first edge cloud node.
  • the edge management and control device when the edge management and control device is deployed in the first edge cloud node, if the central management and control device determines that the corresponding relationship between the maintained issued image and the edge cloud node where the issued image contains the target image, the target image
  • the image information is provided to the edge management and control device in the first edge cloud node, and the edge management and control device in the first edge cloud node can obtain the target image from the storage space of the image in the first edge cloud node according to the information of the target image, and set the target image
  • the image is provided to the corresponding resource device in the first edge cloud node, so that the corresponding resource device can create an instance that can provide cloud computing services according to the target image.
  • the same edge cloud node may provide multiple cloud computing services for the same user or different users, and may receive multiple images, and these images will be stored in the edge cloud node.
  • Edge cloud nodes can provide a certain amount of storage space for storing images. Considering that the storage space of the image in the edge cloud node is limited, in order to have enough storage space to store the newly received image, the edge cloud node needs to eliminate the locally stored image.
  • the central management and control device is responsible for providing a mirroring elimination strategy for edge cloud nodes. The central management and control device can generate the elimination strategy of the image, deliver the elimination strategy to each edge cloud node, and each edge cloud node performs elimination processing on the stored image according to the elimination strategy.
  • the central management and control equipment can issue the elimination strategy to the edge management and control equipment, and the edge management and control equipment eliminates the images stored in each edge cloud node according to the elimination strategy. Further, in the case where edge management and control equipment is deployed in each edge cloud node, the central management and control equipment can issue the elimination strategy to the edge management and control equipment in each edge cloud node, and the edge management and control equipment in each edge cloud node will follow The elimination strategy eliminates the image stored in the edge cloud node to which it belongs.
  • the elimination strategy may be an elimination strategy with the earliest receiving time, that is, according to the receiving time of the image, the image with the earliest receiving time is preferentially eliminated.
  • the elimination strategy may be the elimination strategy with the least frequency of use, that is, the image with the least frequency of use is preferentially eliminated according to the frequency of use of the image.
  • the elimination strategy may be the elimination strategy with the largest resource occupation, that is, according to the size of the storage space occupied by the image, the image with the largest storage space is first eliminated.
  • the image stored in the node can be eliminated regularly according to the above elimination strategy; or, whenever a new image needs to be received or acquired, it can be judged whether there is enough storage space in the node for storage If there is not enough storage space in the current node for the new image, the image stored in the node is eliminated according to the above elimination strategy, so as to store the new image.
  • the edge in the first edge cloud node can determine whether there is enough storage space in the first edge cloud node to store the target image; if there is not enough storage space in the first edge cloud node, it will eliminate the image stored in the first edge cloud node according to the elimination strategy. In order to have enough storage space to store the target image. Optionally, if there is enough storage space in the first edge cloud node, the image stored in the first edge cloud node may not be eliminated temporarily.
  • the network system 100 further includes: an image construction device 104.
  • the image construction device 104 may be deployed in one or more edge cloud nodes, and is mainly responsible for the construction and verification of application images.
  • the image construction device 104 can provide an edge cloud environment, can build an image that is compatible with the edge cloud environment, and can also verify whether the image is compatible with the edge cloud environment.
  • the image that is not compatible with the edge cloud environment can be reconstructed or output Adapted prompt information, etc. Based on the image building device 104, the user can add a new image to the network system 100.
  • a user can submit a first request for adding a new image to the central management and control device.
  • the first request includes image construction information;
  • the device sends a construction request, which includes image construction information; after receiving the construction request, the image construction device obtains the image construction information from it, constructs an image adapted to the edge cloud environment based on the image construction information, and returns the constructed image to the center Control equipment; the central control equipment receives the newly constructed mirror image returned by the mirror construction equipment and adds it to the mirror library to continuously enrich the mirror library.
  • a mirroring rule and specification can be provided to users (such as service demanders), allowing users to make or generate mirrors by themselves.
  • the mirrors generated or made by users need to conform to the edge cloud Environmental safety, regulations and other related requirements.
  • the user can send a second request for adding a new image to the central control device.
  • the second request includes the image to be added.
  • the new image refers to the image made or generated by the user. This embodiment does not It does not limit the way users make or generate images.
  • the central control device receives the second request, obtains the image to be added from the second request, and sends the image to be added to the image construction device; the image construction device adapts the image to be added to the edge cloud environment; if it is to be added The image is adapted to the edge cloud environment, and the image construction device returns a message to the central control device that the new image is adapted to the edge cloud environment; if the new image is not compatible with the edge cloud environment, the image construction device returns to the central control device A message that the new image is not compatible with the edge cloud environment.
  • the central control device if it receives a message from the mirror construction device that the new image to be added is adapted to the edge cloud environment, it will add the new image to the mirror library; if it receives the new image returned by the mirror construction device Add a message that the image is not compatible with the edge cloud environment, or notify the user to re-submit the newly-added image after reconstruction, or notify the user to provide the reconstruction method of the newly-added image, so that the image-building device can update the image according to the reconstruction method.
  • the newly added image is reconstructed into an image adapted to the edge cloud environment.
  • the central control device can provide the reconstruction method to the image construction device, and the image construction device reconstructs the newly added image according to the reconstruction method to make it compatible with the edge cloud environment It adapts and returns the reconstructed image to the central control device; the central control device receives the reconstructed image and adds it to the mirror library.
  • the image construction device 104 may be a logical device with functions such as image construction and verification (for example, it may be an instance that can provide image construction environment and resources, and has functions such as application deployment and image verification). These functions can be It can be deployed on one physical machine or virtual machine, or it can be distributed on multiple physical machines or virtual machines.
  • the image construction device 104 of this embodiment may also be one or more physical devices with functions such as image construction and verification.
  • the embodiments of this application do not limit the implementation structure of the image construction device, and any device structure with the above-mentioned functions is applicable to the embodiments of this application.
  • the central management and control device can count the usage frequency of each mirror in the mirror library regularly or in real time, use mirrors with a frequency less than the frequency threshold as the mirrors to be deleted, and execute the mirror deletion process to delete them.
  • the central management and control device may also receive a mirror deletion request submitted by a user (such as a service demander), use the mirror deleted in the mirror deletion request as a mirror to be deleted, and execute the mirror deletion process to delete it.
  • the image deletion request may carry information of the image to be deleted, such as ID, name, or serial number.
  • any of the above methods can be used to determine the image to be deleted.
  • the image to be deleted can be deleted from the mirror library on the one hand, and the image to be deleted can be indicated to be stored on the other hand.
  • the edge cloud node will delete the image to be deleted.
  • the central management and control device can match the maintained corresponding relationship between the issued image and the edge cloud node where the issued image is based on the image to be deleted, and determine the edge cloud node storing the image to be deleted according to the matching result.
  • the third edge cloud node corresponding to the image to be deleted is matched in the corresponding relationship, it means that the image to be deleted has been issued to the third edge cloud node, and the image to be deleted is still stored in the third edge cloud node, so
  • the third edge cloud node sends a deletion instruction, and the deletion instruction carries information about the image to be deleted to instruct the third edge cloud node to delete the image to be deleted stored therein.
  • the third edge cloud node may be one or multiple.
  • the central management and control device may specifically send a deletion instruction to the edge management and control device 103; the edge management and control device 103 receives the deletion instruction issued by the central management and control device, and then deletes the instruction from the Obtain the information of the image to be deleted in, and determine whether the image to be deleted is stored in the third edge cloud node according to the information of the image to be deleted; if the image to be deleted is stored, delete the image to be deleted in the third edge cloud node.
  • the central management and control device 101 may specifically send a deletion instruction to the edge management and control device 103 in the third edge cloud node; the edge management and control device in the third edge cloud node 103 receives the delete instruction issued by the central management and control device, obtains the information of the image to be deleted from the delete instruction, and judges whether the image to be deleted is stored in the third edge cloud node according to the information of the image to be deleted; The image to be deleted stored in the third edge cloud node is deleted.
  • the central control device deletes the image to be deleted from the image library, and the edge cloud node storing the image to be deleted also deletes the image to be deleted stored in it, the image deletion process is completed.
  • the resource devices in the edge cloud node no matter how the image is obtained, under the control of the central control device 101 or the edge control device 103, it can provide computing for the instance in the form of virtualization through the ability of hardware or software support , Network, storage and other resources, the corresponding image will be mounted to the corresponding instance in the form of a system disk. After the instance is created, try to start the instance. After the corresponding instance is successfully started, the capabilities of these resource devices can be used to provide cloud computing services.
  • the resource device provides computing, network, and storage resources for the instance under the control of the edge management and control device 103, including: the edge management and control device applies for related resources from the resources allocated or reserved in the edge node cloud point according to the resource template provided by the central management and control device
  • the computing resources, storage resources and/or network resources of the target edge cloud node are used to create related resources by calling the calculation, storage, network and other executors in the target edge cloud node.
  • resource creation actions include: processing storage-related resources, creating a system disk for an instance based on the configuration information and content of the image, creating a corresponding data disk based on the resource template, and creating network resources on which the instance depends. For example, IP addresses, virtual switches, etc.; and computing resources required to create instances in combination with resource templates.
  • the central management and control device can control the status (such as health status), resource usage and/or infrastructure conditions of each application, virtualization component, instance in the edge cloud node, and realize remote operation and maintenance, log Management etc.
  • the central management and control device can directly control the status, resource usage and/or infrastructure conditions of each application, virtualization component, instance in each edge cloud node, and realize remote operation. Maintenance, log management, etc.
  • the central management and control device can perform remote operation and maintenance, log management, etc. on each edge cloud node with the assistance of the edge management and control device.
  • the edge management and control device 103 can monitor the status, resource usage and/or infrastructure conditions of each application, virtualization component, instance in the edge cloud node, obtain monitoring information, and report the monitoring information to the central management and control device.
  • each edge management and control device can control the status of each application, virtualization component, instance, resource usage, and/or infrastructure conditions in the edge cloud node to which it belongs. Perform monitoring and report the monitoring information to the central control equipment.
  • the central management and control device receives the monitoring information reported by each edge management and control device, and performs remote operation and maintenance and/or log management on the edge cloud node to which each edge management and control device belongs based on the monitoring information reported by each edge management and control device.
  • the central management and control device can uniformly monitor the overall status of each edge cloud node, so that resource scheduling, image management, and operation and maintenance management and control of edge cloud nodes can be more reasonable.
  • the central control equipment can be deployed on the infrastructure of edge cloud nodes.
  • the capabilities of the central management and control device can be deployed to physical devices within the central network (such as a data center, central cloud, or public cloud), and the capabilities of the edge management and control device can be deployed to the edge cloud network (such as one or more edge clouds). Node) within the physical device.
  • the capabilities of the central control device can also be deployed on physical devices within the edge cloud network (for example, one or more edge cloud nodes).
  • the resources, mirroring, instances, operation and maintenance, network, and security of edge cloud nodes are uniformly controlled based on centralized management and control, which can manage and coordinate edge cloud nodes to the greatest extent , It can reduce errors caused by single-point self-control or unsynchronized information of the entire network, and can use the characteristics of centralized management to achieve the optimization of resource scheduling, avoiding the waste of local resources at the edge.
  • the embodiments of the present application provide a mirror management method from the perspective of a central management and control device and an edge management and control device, which are described in detail below.
  • Fig. 2a is a schematic flowchart of an image management method provided by an exemplary embodiment of this application. This embodiment is described from the perspective of central control equipment. As shown in Figure 2a, the method includes:
  • the central control device is combined with the edge cloud node.
  • the edge cloud node can be provided with the required image for the edge cloud node to create a corresponding instance of the cloud computing service. It provides conditions for "putting cloud computing in edge cloud nodes closer to the terminal for processing", and can use the resources in edge cloud nodes to provide users with cloud computing services, which is conducive to reducing response delays and reducing bandwidth costs.
  • the edge cloud node refer to the foregoing embodiment, which will not be repeated here.
  • the central management and control device can determine that it needs to provide a corresponding image for the scheduled target edge cloud node.
  • the central management and control device can determine that it needs to provide a corresponding image for the scheduled target edge cloud node.
  • the central management and control device can determine that it needs to provide a corresponding image for the scheduled target edge cloud node.
  • the edge cloud node of the computing service provides a corresponding image, so that the edge cloud node creates a new instance based on the image, so as to achieve the purpose of capacity expansion.
  • the edge cloud node that needs to be mirrored is recorded as the first edge cloud node.
  • the first edge cloud node can be any edge cloud node in the network system, depending on the application scenario. Depends.
  • the central management and control device provides a target image for the first edge cloud node as an example to describe the image management process.
  • the central management and control device can first determine the target image that needs to be provided to the first edge cloud node; then, provide the target image for the first edge cloud node for the first edge cloud node Use the target image to provide cloud computing services.
  • the central management and control device may obtain the target image from the image library, provide the target image to the first edge cloud node, and open the use right of the image to the corresponding user.
  • the central management and control device may directly issue the target image to the first edge cloud node, or instruct the first edge cloud node to download the target image to a designated storage location.
  • the central management and control device maintains a correspondence between the issued image and the edge cloud node where the issued image is located.
  • the correspondence relationship may include the identification information of the issued image and the identification information of the edge cloud node where the image has been issued.
  • the issued image refers to the image that the central control device has provided (for example, issued) to one or some edge cloud nodes; the edge cloud node where the issued image is located refers to the edge cloud node to which the issued image is provided.
  • the same image may be provided to one edge cloud node, or it may be provided to multiple edge cloud nodes.
  • the central management and control device can use the information of the target
  • the sent image is matched in the corresponding relationship between the edge cloud node where the sent image is located; if the second edge cloud node corresponding to the target image is matched in the corresponding relationship, it means that the target image has been provided to the second edge cloud Node, the target image at the second edge cloud node can be provided to the first edge cloud node; wherein, the second edge cloud node can also be an edge cloud node in the network system, and the number can be one or more .
  • the central management and control device does not need to directly provide the image to the first edge cloud node, which can reduce the processing burden of the central management and control device to a certain extent, and is beneficial to improve the efficiency of image acquisition.
  • the central management and control device can specifically send the information of the second edge cloud node and target mirror to the edge management and control device, so that the edge management and control device can use the second edge cloud node and the target
  • the image information provides the target image at the second edge cloud node to the corresponding resource device in the first edge cloud node.
  • the central management and control device may specifically send the information of the second edge cloud node and the target image to the edge management and control in the first edge cloud node Device for the edge management and control device in the first edge cloud node to obtain the target image from the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node and provide it to the first edge cloud node The corresponding resource equipment.
  • the edge management and control device For the edge management and control device, it receives the information of the second edge cloud node and the target image issued by the central management and control device, and obtains the target image from the second edge cloud node according to the information of the second edge cloud node and the target image, and then the target image The image is provided to the corresponding resource device in the first edge cloud node for the corresponding resource device to provide cloud computing services according to the target image.
  • the edge management and control device may be the edge management and control device in the first edge cloud node, and the edge management and control device in the first edge cloud node may receive the information of the second edge cloud node and the target image sent by the central management and control device, according to
  • the information of the second edge cloud node and the target image is obtained from the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node, and the target image is provided to the first edge cloud
  • the corresponding resource device in the node is used for the corresponding resource device to create an instance that can provide cloud computing services according to the target image, and then provide cloud computing services.
  • the central management and control device can also control the establishment of communication channels between different edge management and control devices, and is responsible for maintaining the information of the existing communication channels between the edge management and control devices, for example, which edge management and control devices can be maintained.
  • the communication channel when the communication channel was established, the status of the communication channel, and the retention time information.
  • the method in this embodiment also It may include: judging whether there is already a communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node based on the information of the existing communication channel between the maintained edge management and control devices; if If the judgment result is no, that is, there is no communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node, then the edge management and control device in the first edge cloud node and the second edge cloud node can be controlled. 2.
  • the edge management and control device in the edge cloud node establishes a communication channel, so that the edge management and control device in the first edge cloud node can obtain the target image from the second edge cloud node through the communication channel.
  • the central management and control device provides information about the second edge cloud node and the target image to the first edge cloud node Edge control equipment in China.
  • the method in this embodiment may further include: According to the attributes of the second edge cloud node, determine whether the second edge cloud node is suitable for providing the target image for the first edge cloud node; if the judgment result is yes, that is, the second edge cloud node is suitable for providing the target image for the first edge cloud node, The target image at the second edge cloud node can be provided to the first edge cloud node; if the judgment result is no, the target image can be obtained from the image library and the target image can be provided to the first edge cloud node.
  • the operator to which the second edge cloud node belongs can be combined to determine whether the operator to which the second edge cloud node belongs is the same as the operator to which the first edge cloud node belongs; if the judgment result is yes, it means that the second edge cloud node is The first edge cloud node is an edge cloud node under the same operator.
  • the two can perform data transmission, and the data transmission rate is faster than the cross-operator data transmission rate, which is suitable for providing target mirroring for the first edge cloud node.
  • the location attribute of the second edge cloud node can be combined to determine whether the distance between the second edge cloud node and the first edge cloud node is less than the set distance threshold; if the judgment result is yes, the second edge cloud node It is close to the first edge cloud node, which is suitable for providing target mirroring for the first edge cloud node. In this way, the second edge cloud node that is closer to the first edge cloud node provides a mirror image for the first edge cloud node, which is convenient for the first edge cloud node. The edge cloud node quickly obtains the image to improve efficiency.
  • the distance between the second edge cloud node and the first edge cloud node can be the average distance between two edge cloud nodes, or the distance between the centers of two edge cloud nodes, or two edge clouds
  • the distance between nodes and the nearest outer edge can be flexibly defined according to requirements.
  • the bandwidth attribute of the second edge cloud node can be combined to determine whether the available bandwidth of the second edge cloud node is greater than the set bandwidth threshold; if the determination result is yes, it means that the bandwidth resource of the second edge cloud node is relatively abundant, and it is suitable for The first edge cloud node provides the target image, so that the second edge cloud node with sufficient bandwidth resources provides the image for the first edge cloud node, which can ensure the transmission rate of the image, facilitate the first edge cloud node to quickly obtain the image, and improve efficiency .
  • the load attribute of the second edge cloud node can be combined to determine whether the load of the second edge cloud node is less than the set load threshold; if the judgment result is yes, it means that the load of the second edge cloud node is lighter, and it is suitable for The first edge cloud node provides the target image, so that the second edge cloud node with lighter load provides the image for the first edge cloud node. On the one hand, it can achieve load balancing, and on the other hand, it is also convenient for the first edge cloud node to quickly obtain the image. ,Improve efficiency.
  • the multiple attributes of the second edge cloud node can be combined to use the above several methods in combination, and then select a target image suitable for the first edge cloud node.
  • the second edge cloud node For example, if there are multiple second edge cloud nodes, the operators to which the multiple second edge cloud nodes belong can be combined to select from the multiple second edge cloud nodes that belong to the same operator as the first edge cloud node. Two edge cloud nodes; furthermore, if there are still multiple second edge cloud nodes selected, the load of the selected second edge cloud node may be further selected from the load to be the smallest or lower than the set load threshold The second edge cloud node provides a target image for the first edge cloud node.
  • the method of this embodiment further includes: determining whether the maintained issued image is different from the Whether the corresponding relationship of the edge cloud node where the image is issued includes the first edge cloud node; if the judgment result is yes, it indicates that the target image has been provided to the first edge cloud node, and the target image is still stored in the first edge cloud node , The information of the target image can be provided to the first edge cloud node for the first edge cloud node to read the target image stored therein, without the need to transmit the target image again, which can save network resources consumed by transmitting the target image; If the result is no, it indicates that the target image has not been provided to the first edge cloud node, or the target image no longer exists in the first edge cloud node, then the information of the target image at the second edge cloud node can be provided to the first edge cloud node.
  • the edge management and control device when the edge management and control device is deployed in the first edge cloud node, if the central management and control device determines that the corresponding relationship between the maintained issued image and the edge cloud node where the issued image contains the target image, the target image
  • the image information is provided to the edge management and control device in the first edge cloud node, and the edge management and control device in the first edge cloud node can obtain the target image from the storage space of the image in the first edge cloud node according to the information of the target image, and set the target image
  • the image is provided to the corresponding resource device in the first edge cloud node, so that the corresponding resource device can create an instance that can provide cloud computing services according to the target image.
  • the same edge cloud node may provide multiple cloud computing services for the same user or different users, and may receive multiple images, and these images will be stored in the edge cloud node.
  • Edge cloud nodes can provide a certain amount of storage space for storing images. Considering that the storage space of the image in the edge cloud node is limited, in order to have enough storage space to store the newly received image, the edge cloud node needs to eliminate the stored image.
  • the central management and control device is responsible for providing a mirroring elimination strategy for edge cloud nodes.
  • the central management and control device can generate a mirror elimination strategy, and deliver the elimination strategy to each edge cloud node; accordingly, each edge cloud node receives the mirror elimination strategy sent by the central control device, and performs processing on the images stored in it according to the elimination strategy Eliminate processing.
  • the elimination strategy may be an elimination strategy with the earliest receiving time, that is, according to the receiving time of the image, the image with the earliest receiving time is preferentially eliminated.
  • the elimination strategy may be the elimination strategy with the least frequency of use, that is, the image with the least frequency of use is preferentially eliminated according to the frequency of use of the image.
  • the elimination strategy may be the elimination strategy with the largest resource occupation, that is, according to the size of the storage space occupied by the image, the image with the largest storage space is first eliminated.
  • the image stored in the node can be eliminated regularly according to the above elimination strategy; or, whenever a new image needs to be received or acquired, it can be judged whether there is enough storage space in the node for storage If there is not enough storage space in the current node for the new image, the image stored in the node is eliminated according to the above elimination strategy, so as to store the new image.
  • the edge management and control device in the first edge cloud node can determine the first edge cloud node.
  • the image stored in the first edge cloud node will be eliminated according to the elimination strategy, so that there is enough storage space Store the target image.
  • the image stored in the first edge cloud node may not be eliminated temporarily.
  • the central management and control device may also receive a first request for adding a new image, the first request includes image construction information; and sends a construction request to the image construction device, the construction request includes image construction information for the image construction device Construct an image adapted to the edge cloud environment according to the image construction information; receive the newly constructed image returned by the image construction device and add it to the image library.
  • the central management and control device may also receive a second request for adding a new image.
  • the second request includes the image to be added; the image to be added is sent to the image building device, so that the image building device will The additional image is adapted to the edge cloud node environment; if the message that the image to be added is adapted to the edge cloud node environment returned from the image building device is received, the image to be added is added to the image library. If it receives a message from the mirror construction device that the image to be added is not compatible with the edge cloud node environment, notify the image submitting party to re-submit the newly added image after reconstruction, or notify the image submitting party to provide the re-submission of the image to be added. Construction method, so that the image construction device reconstructs the to-be-added image into an image adapted to the edge cloud node environment according to the reconstruction method.
  • the image submitting party may be the service demanding party, but is not limited to this.
  • the central management and control device may also determine the image to be deleted, and delete the image to be deleted from the image library; and according to the image to be deleted, in the edge cloud where the maintained issued image and the issued image are located Matching is performed in the corresponding relationship of the nodes; if the third edge cloud node corresponding to the image to be deleted is matched in the corresponding relationship, a delete instruction is sent to the third edge cloud node, and the delete instruction carries information about the image to be deleted to indicate the third edge cloud node.
  • the edge cloud node deletes the stored image to be deleted.
  • the foregoing determination of the image to be deleted may adopt but is not limited to at least one of the following methods:
  • the central management and control equipment can specifically send a delete instruction to the edge management and control equipment; further, if the edge management and control equipment is deployed in the third edge cloud node, the central management and control equipment can specifically be Send the deletion instruction to the edge management and control device in the third edge cloud node.
  • the edge management and control device receives the delete instruction sent by the central control device, and the delete instruction carries the information of the image to be deleted; according to the information of the image to be deleted, judge whether the image to be deleted is stored in the third edge cloud node; if the image is stored To delete the image to be deleted.
  • the central control device deletes the image to be deleted from the mirror library, and the edge cloud node storing the image to be deleted deletes the image to be deleted stored in it, the image deletion process is completed.
  • FIG. 3 is a schematic structural diagram of a central management and control device provided by an exemplary embodiment of this application. As shown in FIG. 3, the device includes: a memory 31 and a processor 32.
  • the memory 31 is used to store computer programs, and can be configured to store various other data to support operations on the central control device. Examples of these data include instructions, messages, pictures, videos, etc. used to operate any application or method on the central control device.
  • the processor 32 is coupled with the memory 31 and is configured to execute a computer program in the memory 31 to determine a target image that needs to be provided to the first edge cloud node, which is any edge cloud node in the network system ; Provide a target image for the first edge cloud node, so that the first edge cloud node uses the target image to provide cloud computing services.
  • the processor 32 when the processor 32 provides the target application for the first edge cloud node, it is specifically configured to: according to the information of the target image, perform the following steps between the maintained issued image and the issued image Match in the corresponding relationship of the edge cloud node where it is located; if the second edge cloud node corresponding to the target image is matched in the corresponding relationship, the target image at the second edge cloud node is provided to the first edge cloud node; where The second edge cloud node is an edge cloud node in the network system.
  • the central management and control device further includes: a communication component 33.
  • the processor 32 provides the target image at the second edge cloud node to the first edge cloud node, it is specifically used to: provide information about the second edge cloud node and the target image to the edge management and control in the network system through the communication component 33 Device, so that the edge management and control device provides the target image at the second edge cloud node to the first edge cloud node.
  • the processor 32 is specifically configured to: provide the second edge cloud node and target mirror information to the second edge cloud node through the communication component 33 An edge management and control device in an edge cloud node for the edge management and control device in the first edge cloud node to obtain a target image from the second edge cloud node through the communication channel between the edge management and control device in the second edge cloud node and the edge management and control device in the second edge cloud node And provide it to the corresponding resource device in the first edge cloud node.
  • the processor 32 is further configured to: determine the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node according to the information of the existing communication channel between the maintained edge management and control devices Whether there is a communication channel between edge management and control devices; if the judgment result is no, control the edge management and control device in the first edge cloud node to establish a communication channel with the edge management and control device in the second edge cloud node for the first edge cloud node The edge management and control device in obtains the target image from the second edge cloud node based on the communication channel.
  • the processor 32 is further configured to: before providing the target image at the second edge cloud node to the first edge cloud node, determine the second edge cloud node according to the attributes of the second edge cloud node Whether it is suitable to provide the target image for the first edge cloud node; if the judgment result is yes, perform the operation of providing the target image at the second edge cloud node to the first edge cloud node.
  • the processor 32 specifically performs at least one of the following determining operations:
  • the processor 32 is further configured to: before providing the target image at the second edge cloud node to the first edge cloud node, determine whether the second edge cloud node includes the first edge cloud node; If the judgment result is no, perform the operation of providing the target image at the second edge cloud node to the first edge cloud node; if the judgment result is yes, provide the target image information to the first edge cloud node through the communication component 33, For the first edge cloud node to read the target image stored therein.
  • the edge management and control device in the case where the edge management and control device is deployed in the first edge cloud node, if the processor 32 determines that the correspondence between the maintained issued image and the edge cloud node where the issued image contains the target image, the target image can be communicated
  • the component 33 provides the target image information to the edge management and control device in the first edge cloud node, and the edge management and control device in the first edge cloud node can obtain the target from the storage space of the image in the first edge cloud node according to the information of the target image. Mirroring, providing the target image to the corresponding resource device in the first edge cloud node, so that the corresponding resource device can create an instance that can provide cloud computing services according to the target image.
  • the processor 32 is further configured to: receive a first request for adding a new image through the communication component 33, where the first request includes image construction information; and send a construction request to the image construction device, the construction request includes the image construction information , So that the mirror construction device constructs a mirror adapted to the edge cloud environment according to the mirror construction information; receives the newly constructed mirror returned by the mirror construction device and adds it to the mirror library.
  • the processor 32 is further configured to: receive a second request for adding a new image through the communication component 33, the second request includes the image to be added; and send the image to be added to the image building device for
  • the image construction device adapts the image to be added to the edge cloud node environment; if it receives a message from the image construction device that the image to be added is adapted to the edge cloud node environment, it adds the image to be added to the image library; If it receives a message from the mirror construction device that the image to be added is not compatible with the edge cloud node environment, notify the image submitting party to re-submit the newly added image after reconstruction, or notify the image submitting party to provide the re-submission of the image to be added. Construction method, so that the image construction device reconstructs the to-be-added image into an image adapted to the edge cloud node environment according to the reconstruction method.
  • the processor 32 is further configured to: determine the image to be deleted, delete the image to be deleted from the mirror library; and, according to the image to be deleted, locate the maintained issued image and the issued image. Matching is performed in the corresponding relationship of the edge cloud nodes; if the third edge cloud node corresponding to the image to be deleted is matched in the corresponding relationship, a deletion instruction is sent to the third edge cloud node through the communication component 33, and the deletion instruction carries the image to be deleted Information to instruct the third edge cloud node to delete the image to be deleted stored therein.
  • processor 32 is specifically configured to perform at least one of the following operations when determining the image to be deleted:
  • the processor 32 is further configured to: generate a elimination strategy for the mirror image, and deliver the elimination strategy to each edge cloud node in the network system through the communication component 33, so that each edge cloud node can make a corresponding decision according to the elimination strategy.
  • the locally stored image is eliminated.
  • the processor 3 can issue the elimination strategy to the edge management and control equipment through the communication component 33, and the edge management and control equipment eliminates the images stored in each edge cloud node according to the elimination strategy. deal with.
  • the processor 3 can issue the elimination strategy to the edge management and control equipment in each edge cloud node through the communication component 33, and the The edge management and control device eliminates the image stored in its edge cloud node according to the elimination strategy.
  • the central management and control device further includes: a display 34, a power supply component 35, an audio component 36 and other components. Only some of the components are schematically shown in FIG. 3, which does not mean that the central control equipment only includes the components shown in FIG. In addition, the components in the dashed box in Figure 3 are optional components, which may be determined by the implementation of the central control equipment. If the central control device is a server type device, optionally, the display 34 and audio component 36 may not be included; if the central control device is a terminal device type device, it may optionally include the display 34 and the audio component 36.
  • an embodiment of the present application also provides a computer-readable storage medium storing a computer program.
  • the computer program is executed by one or more processors, the one or more processors can implement the above method in the above-mentioned method embodiments. Steps or operations performed by the equipment.
  • FIG. 4 is a schematic structural diagram of an edge management and control device provided by an exemplary embodiment of this application. As shown in FIG. 4, the device includes: a memory 41, a processor 42 and a communication component 43.
  • the communication component 43 is used to receive the information of the second edge cloud node issued by the central management and control device and the information of the target image that needs to be provided to the first edge cloud node; wherein the first edge cloud node and the second edge cloud node are the center Control equipment and edge cloud nodes in the network system to which the edge control equipment belongs.
  • the memory 41 is used to store computer programs, and can be configured to store various other data to support operations on edge management and control devices. Examples of these data include instructions, messages, pictures, videos, etc. for any application or method operating on edge control devices.
  • the processor 42 is coupled with the memory 41 and is configured to execute a computer program in the memory 41 to obtain the target image from the second edge cloud node according to the information of the second edge cloud node and the target image.
  • the processor 42 is further configured to: receive a deletion instruction sent by the central management and control device through the communication component 43, the deletion instruction carries information about the image to be deleted; and according to the information about the image to be deleted, the first edge cloud node The to-be-deleted image stored in the file is deleted.
  • the processor 42 is further configured to: receive the elimination strategy of the image sent by the central management and control device through the communication component 43; and perform elimination processing on the image stored in the first edge cloud node according to the elimination strategy.
  • the processor 42 when the processor 42 performs elimination processing on the image stored in the first edge cloud node according to the elimination strategy, it is specifically used to: before obtaining the target image from the second edge cloud node, determine whether there is any image in the first edge cloud node. Enough storage space to store the target image; if there is not enough storage space in the first edge cloud node, the image stored in the first edge cloud node is eliminated according to the elimination strategy, so that there is enough storage space to store the target image.
  • the edge management and control device further includes: a display 44, a power supply component 45, an audio component 46 and other components. Only some components are schematically shown in FIG. 4, which does not mean that the edge management and control device only includes the components shown in FIG. 4. In addition, the components in the dashed box in FIG. 4 are optional components, which may be determined by the implementation of the edge control equipment. If the edge management and control device is a server type device, optionally, the display 44 and the audio component 46 may not be included; if the edge management and control device is a terminal device type, it may optionally include the display 44 and the audio component 46.
  • an embodiment of the present application also provides a computer-readable storage medium storing a computer program.
  • the computer program is executed by one or more processors, the one or more processors can implement the above method and the embodiments can be controlled by the edge. Steps or operations performed by the equipment.
  • the memory in Figures 3 and 4 above can be implemented by any type of volatile or non-volatile storage devices or their combination, 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 disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory magnetic memory
  • flash memory magnetic disk or optical disk.
  • the communication components in Figures 3 and 4 are configured to facilitate wired or wireless communication between the device where the communication component is located and other devices.
  • the device where the communication component is located can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination of them.
  • the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component may further include a near field communication (NFC) module, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, and Bluetooth (BT) technology Wait.
  • NFC near field communication
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • BT Bluetooth
  • the display in FIGS. 3 and 4 described above includes a screen, and the screen 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 input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, sliding, 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 related to the touch or slide operation.
  • the power components in Figures 3 and 4 above provide power for various components of the equipment where the power components are located.
  • the power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device where the power supply component is located.
  • the audio component includes a microphone (MIC).
  • the microphone When the device where the audio component is located is in an operating mode, such as call mode, recording mode, and voice recognition mode, the microphone is configured to receive external audio signals.
  • the received audio signal can be further stored in a memory or sent via a communication component.
  • the audio component further includes a speaker for outputting audio signals.
  • the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

Abstract

Provided are a network system, a mirror image management method, a device and a storage medium. In the embodiment of the present application, by combining central management and control with an edge cloud node, under the management and control of a central management and control device, the edge cloud node can acquire a required mirror image, and an instance corresponding to a cloud computing service can then be created, which provides a condition for processing cloud computing in the edge cloud node closer to a terminal, and the cloud computing service can then be provided for a user by means of resources in the edge cloud node, thereby facilitating a reduction in the response delay and in the cost of bandwidth.

Description

网络系统、镜像管理方法、设备及存储介质Network system, image management method, equipment and storage medium
本申请要求2019年04月08日递交的申请号为201910277896.0、发明名称为“网络系统、镜像管理方法、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on April 8, 2019 with the application number 201910277896.0 and the invention title "network system, image management method, equipment and storage medium", the entire content of which is incorporated into this application by reference .
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种网络系统、镜像管理方法、设备及存储介质。This application relates to the field of computer technology, and in particular to a network system, image management method, equipment, and storage medium.
背景技术Background technique
目前,对云计算的概念都是基于集中式的资源管控来提出的,即使采用多个数据中心互联互通形式,依然将所有的软硬件资源视为统一的资源进行管理,调度和售卖。随着5G、物联网时代的到来以及云计算应用的逐渐增加,终端侧对云资源在时延、带宽等性能上的要求越来越高,集中式的云网络已经无法满足终端侧日渐增高的云资源需求。At present, the concept of cloud computing is based on centralized resource management and control. Even if multiple data centers are used for interconnection, all software and hardware resources are still treated as unified resources for management, scheduling, and sales. With the advent of the era of 5G and the Internet of Things and the gradual increase of cloud computing applications, the terminal side has higher and higher requirements for cloud resources in terms of latency and bandwidth. The centralized cloud network can no longer meet the increasing demand on the terminal side. Cloud resource requirements.
发明内容Summary of the invention
本申请的多个方面提供一种网络系统、镜像管理方法、设备及存储介质,用以降低服务的响应时延,降低带宽成本。Various aspects of the present application provide a network system, image management method, device, and storage medium to reduce service response delay and bandwidth cost.
本申请实施例提供一种镜像管理方法,包括:确定需要向第一边缘云节点提供的目标镜像,所述第一边缘云节点是网络系统中任一边缘云节点;为所述第一边缘云节点提供所述目标镜像,以供所述第一边缘云节点利用所述目标镜像提供云计算服务。An embodiment of the present application provides an image management method, including: determining a target image that needs to be provided to a first edge cloud node, where the first edge cloud node is any edge cloud node in a network system; The node provides the target image, so that the first edge cloud node uses the target image to provide cloud computing services.
本申请实施例还提供一种镜像管理方法,包括:接收中心管控设备下发的第二边缘云节点的信息以及需要提供给第一边缘云节点的目标镜像的信息;根据所述第二边缘云节点与目标镜像的信息,从所述第二边缘云节点获取所述目标镜像。本申请实施例还提供一种网络系统,包括:An embodiment of the present application also provides an image management method, including: receiving information of a second edge cloud node issued by a central management and control device and information of a target image that needs to be provided to the first edge cloud node; according to the second edge cloud The information of the node and the target image is obtained from the second edge cloud node. The embodiment of the present application also provides a network system, including:
本申请实施例还提供一种网络系统,包括:中心管控设备,以及至少一个边缘云节点;所述中心管控设备,用于确定需要向第一边缘云节点提供的目标镜像,为所述第一边缘云节点提供所述目标镜像,以供所述第一边缘云节点利用所述目标镜像提供云计算服务;其中,所述第一边缘云节点是网络系统中的任一边缘云节点。An embodiment of the present application also provides a network system, including: a central management and control device, and at least one edge cloud node; the central management and control device is used to determine the target image that needs to be provided to the first edge cloud node, which is the first The edge cloud node provides the target image, so that the first edge cloud node uses the target image to provide cloud computing services; wherein the first edge cloud node is any edge cloud node in the network system.
本申请实施例还提供一种中心管控设备,包括:存储器和处理器;所述存储器,用 于存储计算机程序;当所述计算机程序被所述处理器执行时,致使所述处理器实现本申请方法实施例中的步骤。An embodiment of the present application also provides a central management and control device, including: a memory and a processor; the memory is used to store a computer program; when the computer program is executed by the processor, the processor is caused to implement the application Steps in the method embodiment.
本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,当所述计算机程序被一个或多个处理器执行时,致使所述一个或多个处理器实现本申请方法实施例中的步骤。The embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors are caused to implement the method in the method embodiment of the present application. A step of.
本申请实施例还提供一种边缘管控设备,包括:存储器和处理器;所述存储器,用于存储计算机程序;当所述计算机程序被所述处理器执行时,致使所述处理器实现本申请方法实施例中的步骤。An embodiment of the present application also provides an edge management and control device, including: a memory and a processor; the memory is used to store a computer program; when the computer program is executed by the processor, the processor is caused to implement the application Steps in the method embodiment.
本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,当所述计算机程序被一个或多个处理器执行时,致使所述一个或多个处理器实现本申请方法实施例中的步骤。The embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors are caused to implement the method in the method embodiment of the present application. A step of.
本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,当所述计算机程序被一个或多个处理器执行时,致使所述一个或多个处理器实现前述可由中心管控设备执行的方法实施例中的步骤。The embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors are caused to implement the aforementioned central control device execution The steps in the method embodiment.
本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,当所述计算机程序被一个或多个处理器执行时,致使所述一个或多个处理器实现前述可由边缘管控设备执行的方法实施例中的步骤。The embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors are caused to realize that the foregoing can be executed by the edge management device The steps in the method embodiment.
在本申请实施例中,将中心管控与边缘云节点相结合,在中心管控设备的管控下,边缘云节点可以获取所需的镜像,这为“将云计算放到距离终端更近的边缘云节点中处理”提供了条件,进而可借助边缘云节点中的资源为用户提供云计算服务,有利于降低响应时延,降低带宽成本。In the embodiment of this application, the central management and control are combined with the edge cloud node. Under the management and control of the central management and control device, the edge cloud node can obtain the required image. This is "put cloud computing in the edge cloud closer to the terminal. "Processing in the node" provides conditions, and can use the resources in the edge cloud node to provide users with cloud computing services, which is conducive to reducing response delays and reducing bandwidth costs.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application and do not constitute an improper limitation of the application. In the attached picture:
图1a为本申请示例性实施例提供的一种网络系统的结构示意图;Fig. 1a is a schematic structural diagram of a network system provided by an exemplary embodiment of this application;
图1b为本申请示例性实施例提供的另一种网络系统的结构示意图;FIG. 1b is a schematic structural diagram of another network system provided by an exemplary embodiment of this application;
图1c为本申请示例性实施例提供的又一种网络系统的结构示意图;FIG. 1c is a schematic structural diagram of another network system provided by an exemplary embodiment of this application;
图2a为本申请示例性实施例提供的一种镜像管理方法的流程示意图;FIG. 2a is a schematic flowchart of an image management method provided by an exemplary embodiment of this application;
图2b为本申请示例性实施例提供的另一种镜像管理方法的流程示意图;2b is a schematic flowchart of another image management method provided by an exemplary embodiment of this application;
图3为本申请示例性实施例提供的一种中心管控设备的结构示意图;3 is a schematic structural diagram of a central management and control device provided by an exemplary embodiment of this application;
图4为本申请示例性实施例提供的一种边缘管控设备的结构示意图。FIG. 4 is a schematic structural diagram of an edge management and control device provided by an exemplary embodiment of this application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions, and advantages of the present application clearer, the technical solutions of the present application will be described clearly and completely in conjunction with specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
针对现有集中式的云网络已经无法满足终端侧日渐增高的云资源需求的技术问题,在本申请一些实施例中,将中心管控与边缘云节点相结合,在中心管控设备的管控下,边缘云节点可以获取所需的镜像,进而可创建云计算服务对应的实例,这为“将云计算放到距离终端更近的边缘云节点中处理”提供了条件,进而可借助边缘云节点中的资源为用户提供云计算服务,有利于降低响应时延,降低带宽成本。In view of the technical problem that the existing centralized cloud network can no longer meet the increasing demand for cloud resources on the terminal side, in some embodiments of this application, the central management and control are combined with edge cloud nodes. Under the control of the central control equipment, the edge The cloud node can obtain the required image, and then can create the corresponding instance of the cloud computing service, which provides conditions for "putting the cloud computing in the edge cloud node closer to the terminal for processing", and then can use the edge cloud node Resources provide users with cloud computing services, which is conducive to reducing response delays and reducing bandwidth costs.
进一步,在本实施例中,若镜像已经存在于其它边缘云节点中,中心管控设备可控制需要该镜像的边缘云节点从已有该镜像的其它边缘云节点中获取,无需中心管控设备向边缘云节点下发,一方面可降低中心管控设备的处理负担,另一方面也有利于提高镜像的获取效率。Furthermore, in this embodiment, if the image already exists in other edge cloud nodes, the central management and control device can control the edge cloud node that needs the image to obtain it from other edge cloud nodes that already have the image, without the need for the central management and control device to send the image to the edge. Cloud node delivery, on the one hand, can reduce the processing burden of the central control equipment, and on the other hand, it is also beneficial to improve the efficiency of image acquisition.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1a为本申请示例性实施例提供的一种网络系统的结构示意图。如图1a所示,该网络系统100包括:中心管控设备101和至少一个边缘云节点102;至少一个边缘云节点102均与中心管控设备101网络连接。Fig. 1a is a schematic structural diagram of a network system provided by an exemplary embodiment of this 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 in a network.
本实施例的网络系统100是基于云计算技术和边缘计算的能力,构筑在边缘基础设施之上的云计算平台,是一种边缘位置的具备计算、网络、存储以及安全等能力的云平台。The network system 100 in this embodiment is a cloud computing platform built on edge infrastructure based on cloud computing technology and edge computing capabilities, and is a cloud platform with computing, network, storage, and security capabilities at the edge.
与中心云或者传统的云计算平台相对应,本实施例的网络系统100可以视为一种边缘云网络系统。边缘云是个相对概念,边缘云是指相对靠近终端的云计算平台,或者说,与中心云或者传统的云计算平台相区别,中心云或者传统的云计算平台可以包括资源规模化且位置集中的数据中心,而边缘云节点覆盖的网络范围更广泛,也因此具备距离终端更近的特性,单个边缘云节点的资源规模较小,但是边缘云节点的数量多,多个边缘云节点构成了本实施例中边缘云的组成部分。本实施例的终端是指云计算服务的需求端, 例如可以是互联网中的终端或者用户端,或者物联网中的终端或用户端。边缘云网络是基于中心云或者传统的云计算系统与终端之间的基础设施构建的网络。其中,网络系统100包括至少一个边缘云节点102,每个边缘云节点102包括一系列的边缘基础设施,这些边缘基础设施包括但不限于:分布式数据中心(DC)、无线机房或集群,运营商的通信网络、核心网设备、基站、边缘网关、家庭网关、计算设备和/或存储设备等边缘设备及对应的网络环境等等。在此说明,不同边缘云节点102的位置、能力以及包含的基础设施可以相同,也可以不相同。Corresponding to a central cloud or a traditional cloud computing platform, the network system 100 of this embodiment can be regarded as an edge cloud network system. Edge cloud is a relative concept. Edge cloud refers to a cloud computing platform that is relatively close to the terminal. In other words, it is different from central cloud or traditional cloud computing platform. Central cloud or traditional cloud computing platform can include large-scale resources and centralized locations. Data centers, and edge cloud nodes cover a wider network range, and therefore have the characteristics of being closer to the terminal. The resource scale of a single edge cloud node is small, but the number of edge cloud nodes is large, and multiple edge cloud nodes constitute the original Part of the edge cloud in the embodiment. The terminal in this embodiment refers to the demand side of cloud computing services, for example, it may be a terminal or a user side in the Internet, or a terminal or a user side in the Internet of Things. The edge cloud network is a network based on the infrastructure between the central cloud or the traditional cloud computing system and the terminal. Wherein, the network system 100 includes at least one edge cloud node 102, and each edge cloud node 102 includes a series of edge infrastructures. These edge infrastructures include, but are not limited to: distributed data centers (DC), wireless computer rooms or clusters, operations Communication networks, core network equipment, base stations, edge gateways, home gateways, computing devices and/or storage devices and other edge devices and corresponding network environments. It is explained here that the locations, capabilities, and included infrastructure of different edge cloud nodes 102 may be the same or different.
其中,本实施例的网络系统100与中心云或传统的云计算平台等中心网络、终端结合可形成“云边端三体协同”的网络架构,在该网络架构中,可以将网络转发、存储、计算、智能化数据分析等任务放在网络系统100中的各边缘云节点102中处理,由于各边缘云节点102更靠近终端,因此可以降低响应时延,减轻中心云或传统的云计算平台的压力,降低带宽成本。Among them, the network system 100 of this embodiment is combined with a central cloud or a traditional cloud computing platform and other central networks and terminals to form a "cloud edge-end three-body coordination" network architecture. In this network architecture, the network can be forwarded and stored. Tasks such as computing, intelligent data analysis, etc. are processed in each edge cloud node 102 in the network system 100. Since each edge cloud node 102 is closer to the terminal, the response delay can be reduced and the central cloud or traditional cloud computing platform can be reduced. Pressure to reduce bandwidth costs.
如何合理地调度多个边缘云节点资源,以及如何管控好多个边缘云节点以正确和稳定的逻辑进行云计算服务,是一个重要的挑战。在本实施例的网络系统100中,部署有中心管控设备101,中心管控设备101以边缘云节点102为管控对象,在资源调度,镜像管理,实例管控,运维,网络,安全等各方面对网络系统100中的至少一个边缘云节点102进行统一管控,从而将云计算服务放到各边缘云节点102中处理。在部署实施上,中心管控设备101可以部署在一个或多个云计算数据中心中,或者,可以部署在一个或多个传统数据中心中,中心管控设备101也可以和其管控的至少一个边缘云节点共同构成边缘云网络,本实施例对此不做限定。How to reasonably schedule the resources of multiple edge cloud nodes and how to manage and control multiple 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 management and control device 101 is deployed. The central management and control device 101 uses the edge cloud node 102 as the management and control object for resource scheduling, image management, instance management and control, operation and maintenance, network, security, etc. At least one edge cloud node 102 in the network system 100 is uniformly managed and controlled, so that cloud computing services are placed in each edge cloud node 102 for processing. In terms of deployment and implementation, the central management and control device 101 can be deployed in one or more cloud computing data centers, or it can be deployed in one or more traditional data centers, and the central management and control device 101 can also be connected to at least one edge cloud managed by it. The nodes jointly constitute an edge cloud network, which is not limited in this embodiment.
对一个边缘云节点102来说,可以对外提供各种资源,例如CPU、GPU等计算资源,内存、硬盘等存储资源,带宽等网络资源等。另外,边缘云节点102还可以根据镜像创建相应实例,通过实例对外提供各种云计算服务。其中,镜像是在边缘云节点中创建实例所需的基础文件,例如可以是为用户提供云计算服务所需的操作系统、应用、或操作配置等镜像文件,其可以是符合边缘云节点计算部署要求,根据特定的一系列文件按照一定的格式制作成的文件。另外,镜像的形态是多样的,可以是虚拟机(Virtual Machine,VM)镜像文件、容器(Docker)镜像文件或各类型的应用打包文件等,镜像形态可以与云计算服务需要使用的虚拟化技术有关,本实施例对此不做限定。与镜像对应,实例的实现形态可以是虚拟机、容器或应用程序等。For an edge cloud node 102, various resources may be provided externally, such as computing resources such as CPU and GPU, storage resources such as memory and hard disk, and network resources such as bandwidth. In addition, the edge cloud node 102 can also create a corresponding instance based on the image, and provide various cloud computing services externally through the instance. Among them, the image is the basic file needed to create an instance in the edge cloud node. For example, it can be an image file such as an operating system, application, or operation configuration required to provide users with cloud computing services, and it can be in line with edge cloud node computing deployment Requirements, according to a specific series of documents in a certain format made into documents. In addition, there are various forms of images, which can be virtual machine (VM) image files, container (Docker) image files, or various types of application packaging files, etc. The image form can be compatible with the virtualization technology used by cloud computing services. Regarding, this embodiment does not limit this. Corresponding to the image, the implementation form of the instance can be a virtual machine, container, or application.
结合上述,在本实施例中,中心管控设备101可以根据资源需求对至少一个边缘云 节点102进行资源调度,也可以根据镜像需求针对至少一个边缘云节点102进行镜像的管理和分发,当然,也可以根据云计算服务需求既对至少一个边缘云节点102进行资源调度,又为至少一个边缘云节点102提供镜像。其中,云计算服务需求包括了资源需求和镜像需求。可选地,中心管控设备101可以对外提供需求提交入口,该需求提交入口可以是web页面、应用页面或命令窗等。该需求提交入口的作用是供需求方向中心管控设备101提交自己的需求描述信息。In combination with the above, in this embodiment, the central management and control device 101 can perform resource scheduling on at least one edge cloud node 102 according to resource requirements, or can perform image management and distribution for at least one edge cloud node 102 according to image requirements. Of course, It is possible to perform resource scheduling on at least one edge cloud node 102 and provide mirroring for at least one edge cloud node 102 according to cloud computing service requirements. Among them, cloud computing service requirements include resource requirements and mirroring requirements. Optionally, the central management and control device 101 may provide a requirement submission portal to the outside, and the requirement submission portal may be a web page, an application page, or a command window. The role of the requirement submission portal is for the requirement to submit its own requirement description information to the central control device 101.
对于资源需求方,可以通过上述需求提交入口向中心管控设备101提交资源需求描述信息,该资源需求描述信息包括:边缘云节点选择参数和资源选择参数;边缘云节点选择参数包括调度域和/或对边缘云节点的性能要求等,资源选择参数包括资源类型、资源数量以及对资源设备的性能要求等。中心管控设备101可根据资源需求描述信息,对至少一个边缘云节点进行资源调度。可选地,一种资源调度方式包括:中心管控设备101根据资源需求描述信息,从网络系统100的至少一个边缘云节点102中确定被调度的目标边缘云节点以及目标边缘云节点中被调度的资源信息;根据该资源信息控制目标边缘云节点中相应资源设备进行资源分配或预留。For the resource demander, the resource demand description information can be submitted to the central management and control device 101 through the above demand submission entry. The resource demand description information includes: edge cloud node selection parameters and resource selection parameters; edge cloud node selection parameters include scheduling domains and/or For the performance requirements of edge cloud nodes, the resource selection parameters include resource type, resource quantity, and performance requirements for resource equipment. The central management and control device 101 may perform resource scheduling on at least one edge cloud node according to the resource requirement description information. Optionally, a resource scheduling method includes: the central management and control device 101 determines the scheduled target edge cloud node and the scheduled target edge cloud node from at least one edge cloud node 102 of the network system 100 according to resource demand description information Resource information; according to the resource information, the corresponding resource device in the target edge cloud node is controlled to allocate or reserve resources.
对于镜像需求方,可以通过上述需求提交入口向中心管控设备101提交镜像需求描述信息,该镜像需求描述信息可指向需要使用的镜像,可以是镜像本身,也可以是镜像的名称、ID等标识类信息,还可以是一些对云计算服务的功能描述信息,这些信息可以反映出所需的镜像。中心管控设备101可根据镜像需求描述信息,获取镜像;将镜像提供给网络系统100中需要该镜像的边缘云节点,以供该边缘云节点根据该镜像创建相应实例,由该实例对外提供相应云计算服务。For the mirroring demand side, the mirroring demand description information can be submitted to the central management and control device 101 through the above demand submission entry. The mirroring demand description information can point to the mirror that needs to be used, which can be the mirror itself, or the name, ID and other identification types of the mirror. The information can also be some function description information of the cloud computing service, which can reflect the required image. The central management and control device 101 can obtain the image according to the description information of the image demand; provide the image to the edge cloud node in the network system 100 that needs the image, so that the edge cloud node creates a corresponding instance based on the image, and the instance provides the corresponding cloud externally Computing services.
对云计算服务需求方,可以通过上述需求提交入口向中心管控设备101提交服务需求描述信息,该服务需求描述信息包括资源需求描述信息和镜像需求描述信息。关于资源需求描述信息和镜像需求描述信息可参见前面的描述,在此不再赘述。值得的说明的是,服务需求描述信息中的资源需求描述信息和镜像需求描述信息可以是一并提交,也可以分开提交。中心管控设备101可根据服务需求描述信息,对网络系统100中至少一个边缘云节点102进行资源调度;为至少一个边缘云节点102中被调度的资源提供镜像,以利用至少一个边缘云节点中被调度的资源提供相应云计算服务。For the cloud computing service demander, the service demand description information can be submitted to the central management and control device 101 through the above demand submission portal. The service demand description information includes resource demand description information and mirroring demand description information. For resource requirement description information and mirroring requirement description information, please refer to the previous description, which will not be repeated here. It is worth noting that the resource requirement description information and the mirroring requirement description information in the service requirement description information can be submitted together or separately. The central management and control device 101 can perform resource scheduling on at least one edge cloud node 102 in the network system 100 according to the service demand description information; provide a mirror image of the scheduled resources in the at least one edge cloud node 102 to use the The scheduled resources provide corresponding cloud computing services.
关于上述资源调度的过程以及镜像管理和分发过程的详细描述,可参见下述实施例,在此暂不详述。For the detailed description of the foregoing resource scheduling process and the image management and distribution process, please refer to the following embodiments, which are not detailed here.
值得说明的是,在网络系统100中,中心管控设备101可以直接对至少一个边缘云 节点102进行管控和调度,但并不限于此。如图1b所示,在网络系统100中,除了包括中心管控设备101和至少一个边缘云节点102之外,还包括边缘管控设备103。其中,边缘管控设备103的数量可以是一个,也可以是多个。另外,边缘管控设备103可以部署在一个或多个边缘云节点102中。在一可选实施例中,如图1b所示,每个边缘云节点102中分别部署边缘管控设备103。进一步,每个边缘云节点包括一台或多台资源设备,可选地,边缘管控设备103可集中部署在一台资源设备上,也可以分散部署在多台资源设备上。另外,每个边缘云节点除了包括资源设备之外,还可以包括一台或多台专有设备,其中边缘管控设备103可以集中部署在一台专有设备上,或分散部署在多台专有设备上。其中,专有设备是指用来部署边缘管控设备103的物理设备,不同于资源设备。此外,边缘管控设备103也可以与中心管控设备101部署在一起,在此不作限定。另外,中心管控设备101可以部署在一个或多个云计算数据中心或传统数据中心中,也可以和至少一个边缘云节点一起部署在边缘云网络中。It is worth noting that, in the network system 100, the central management and control device 101 can directly control and schedule at least one edge cloud node 102, but it is not limited to this. As shown in FIG. 1b, in the network system 100, in addition to a central management and control device 101 and at least one edge cloud node 102, an edge management and control device 103 is also included. Among them, the number of edge management and control devices 103 may be one or multiple. In addition, the edge management and control device 103 may be deployed in one or more edge cloud nodes 102. In an optional embodiment, as shown in FIG. 1b, an edge management and control device 103 is separately deployed in each edge cloud node 102. Further, each edge cloud node includes one or more resource devices. Optionally, the edge management and control device 103 may be deployed on one resource device in a centralized manner, or may be deployed on multiple resource devices in a distributed manner. In addition, each edge cloud node can include one or more proprietary devices in addition to resource devices. The edge management and control device 103 can be deployed on one dedicated device or distributed on multiple dedicated devices. On the device. Among them, the proprietary device refers to the physical device used to deploy the edge management and control device 103, which is different from the resource device. In addition, the edge management and control device 103 can also be deployed with the central management and control device 101, which is not limited here. In addition, the central management and control device 101 may be deployed in one or more cloud computing data centers or traditional data centers, and may also be deployed in an edge cloud network together with at least one edge cloud node.
在本实施例中,边缘管控设备103可辅助、配合中心管控设备101对至少一个边缘云节点102进行管控和调度。在边缘管控设备103的协助下,中心管控设备101可以更加方便、高效地对至少一个边缘云节点102进行管控和调度,进而达到充分利用边缘资源的目的。In this embodiment, the edge management and control device 103 can assist and cooperate with the central management and control device 101 to manage and control 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 manage and schedule at least one edge cloud node 102 more conveniently and efficiently, thereby achieving the purpose of making full use of edge resources.
在此说明,本实施例的中心管控设备101可以是一台具有资源调度、镜像管理以及运维管理等能力的逻辑设备,这些功能可以部署一台物理机或虚拟机上实现,也可以分散性地部署在多台物理机或虚拟机上。当然,本实施例的中心管控设备也可以是一台或多台具有资源调度和镜像管理等能力的物理设备。本申请实施例并不限定中心管控设备101的实现结构,凡是具有上述能力的设备结构均适用于本申请实施例。It is explained here that the central management and control device 101 of this embodiment can be a logical device capable of resource scheduling, image management, operation and maintenance management, etc. These functions can be implemented on a physical machine or virtual machine, or can be distributed Deployed on multiple physical or virtual machines. Of course, the central management and control device in this embodiment may also be one or more physical devices with capabilities such as resource scheduling and image management. The embodiment of the present application does not limit the implementation structure of the central management and control device 101, and any device structure with the foregoing capabilities is applicable to the embodiment of the present application.
与中心管控设备101相类似,边缘管控设备103也可以是一台逻辑设备,其具有的能力可以部署一台物理机(例如边缘云节点中的资源设备或专有设备)或虚拟机上实现,也可以分散性地部署在多台物理机(例如边缘云节点中的资源设备或专有设备)或虚拟机上。当然,边缘管控设备也可以是一台或多台具有相应能力的物理设备。本申请实施例并不限定边缘管控设备103的实现结构,凡是具有相应能力的设备结构均适用于本申请实施例。Similar to the central management and control device 101, the edge management and control device 103 can also be a logical device, which has the ability to deploy a physical machine (for example, a resource device or a proprietary device in an edge cloud node) or a virtual machine. It can also be deployed on multiple physical machines (such as resource devices or proprietary devices in edge cloud nodes) or virtual machines in a decentralized manner. Of course, the edge control device can also be one or more physical devices with corresponding capabilities. The embodiments of the present application do not limit the implementation structure of the edge management and control device 103, and any device structure with corresponding capabilities is applicable to the embodiments of the present application.
在本申请实施例中,中心管控设备101与边缘管控设备103之间建立安全、加密的通信通道,并基于该通信通道进行交互。该通信通道包括控制接口和数据接口,则中心管控设备101基于控制接口和数据接口与边缘管控设备103进行控制面和数据面的交互, 完成对边缘云节点102的调度和管控。其中,数据接口用于在中心管控设备101与边缘管控设备103之间进行数据传输。控制接口具备但不限于以下功能:In the embodiment of the present application, a secure and encrypted communication channel is established between the central management and control device 101 and the edge management and control device 103, and interaction is performed based on the communication channel. The communication channel includes a control interface and a data interface, and the central management and control device 101 interacts with the edge management and control device 103 on the control plane and the data plane based on the control interface and the data interface to complete the scheduling and management of the edge cloud node 102. Among them, the data interface is used for data transmission between the central management and control device 101 and the edge management and control device 103. The control interface has but not limited to the following functions:
1、资源调度能力:中心管控设备101通过具有资源调度能力的控制接口(可简称为资源调度接口)可从多个维度对边缘云节点进行资源调度,边缘云节点是中心管控设备101进行资源调度的对象;1. Resource scheduling capability: The central control device 101 can perform resource scheduling on edge cloud nodes from multiple dimensions through a control interface with resource scheduling capabilities (can be referred to as resource scheduling interface for short). The edge cloud node is the central control device 101 for resource scheduling Object;
2、镜像管理和分发能力:中心管控设备101通过具有镜像管理和分发能力的控制接口(简称为镜像管理接口)可将镜像提供给边缘云节点,这样,边缘云节点可根据收到的镜像创建相应实例,通过实例提供云计算服务;2. Image management and distribution capabilities: The central management and control device 101 can provide images to edge cloud nodes through a control interface with image management and distribution capabilities (referred to as image management interfaces), so that the edge cloud nodes can create images based on the received images Corresponding instances, providing cloud computing services through instances;
3、运维管理能力:中心管控设备101通过具有运维管理能力的控制接口(简称为运维管理接口)对边缘云节点进行运维管理,运维管理包括但不限于:管控边缘云节点中的应用、虚拟化软件等,监控实例的状态、资源使用量以及基础设施等。3. Operation and maintenance management capability: The central control device 101 performs operation and maintenance management on edge cloud nodes through a control interface with operation and maintenance management capabilities (referred to as the operation and maintenance management interface). The operation and maintenance management includes but is not limited to: control edge cloud nodes Application, virtualization software, etc., monitor the status, resource usage and infrastructure of the instance.
与上述控制接口具有的能力相对应,本实施例的中心管控设备101具有但不限于以下功能:Corresponding to the capabilities of the aforementioned control interface, the central management and control device 101 of this embodiment has but not limited to the following functions:
1、可根据服务需求描述信息,例如服务的规格、需要部署服务的区域、运营商网络的分布、网络时延、负载情况、带宽成本、需要的资源类型和/或资源设备的性能要求等,对边缘云节点进行资源调度;1. Information can be described according to service requirements, such as service specifications, areas where services need to be deployed, operator network distribution, network delays, load conditions, bandwidth costs, required resource types and/or resource equipment performance requirements, etc. Resource scheduling for edge cloud nodes;
2、可获取云计算服务所需的镜像,将镜像提供给边缘云节点中相应资源设备进行配置安装,以供相应资源设备创建相应实例来提供云计算服务;2. The image required for cloud computing services can be obtained, and the image can be provided to the corresponding resource equipment in the edge cloud node for configuration and installation, so that the corresponding resource equipment can create corresponding instances to provide cloud computing services;
3、可对边缘云节点进行运维管控,包括但不限于:对边缘云节点中应用、虚拟化组件、实例的状态、资源用量和/或基础设施情况等进行管控,实现远程运维、日志管理等。3. Operation and maintenance management and control of edge cloud nodes can be performed, including but not limited to: management and control of applications, virtualized components, instance status, resource usage and/or infrastructure conditions in edge cloud nodes, to achieve remote operation and maintenance, logs Management etc.
除上述功能之外,中心管控设备也可以具有其它一些功能,例如安全保障功能,涉及对中心管控设备的安全、中心管控设备与边缘管控设备之间以及边缘云节点之间的链路安全、边缘云节点的安全;负责维护网络系统中组网信息等。In addition to the above functions, the central control equipment can also have other functions, such as security assurance functions, involving the security of the central control equipment, the link security between the central control equipment and the edge control equipment, and the edge cloud nodes. Security of cloud nodes; responsible for maintaining networking information in the network system.
在网络系统100中,至少一个边缘云节点102可形成资源池,每个边缘云节点102作为调度对象,在中心管控设备101的调度下对外提供各种资源或云计算服务。其中,中心管控设备101与边缘管控设备102相互配合,可以单独对至少一个边缘云节点102进行资源调度,也可以单独针对至少一个边缘云节点102进行镜像的管理和分发,当然,也可以既对至少一个边缘云节点102进行资源调度,又为至少一个边缘云节点102提供镜像。In the network system 100, at least one edge cloud node 102 can form a resource pool, and each edge cloud node 102 serves as a scheduling object, and provides various resources or cloud computing services externally under the scheduling of the central management and control device 101. Among them, the central management and control device 101 and the edge management and control device 102 cooperate with each other to perform resource scheduling on at least one edge cloud node 102 separately, or perform mirror management and distribution for at least one edge cloud node 102 separately, of course, it can also At least one edge cloud node 102 performs resource scheduling and provides a mirror image for at least one edge cloud node 102.
在本申请下述实施例中,将对中心管控设备101或者中心管控设备101与边缘管控 设备103配合所实现的各种功能展开描述。In the following embodiments of the present application, various functions implemented by the central management and control device 101 or the central management and control device 101 and the edge management and control device 103 will be described.
资源调度功能:Resource scheduling function:
中心管控设备可对至少一个边缘云进行资源调度,主要是指根据服务需求描述信息,从网络系统100中的至少一个边缘云节点102中确定可被调度的目标边缘云节点及目标边缘云节点中被调度的资源信息;将该资源信息发送给边缘管控设备103,以供边缘管控设备103控制目标边缘云节点中相应资源设备进行资源分配或预留。可选地,目标边缘云节点的数量可以由用户指定,也可以由资源中心管控设备根据服务需求描述信息自主确定,可以是一个,也可以是多个。服务需求描述信息可以由服务需求方直接提交,也可以是从服务需求方提交的服务相关的信息中提取或计算得到的。服务需求方可以是用户,也可以是应用、物理机或需要某一服务的另一服务等。The central management and control device can perform resource scheduling on at least one edge cloud, which mainly refers to determining the target edge cloud node and target edge cloud node that can be scheduled from at least one edge cloud node 102 in the network system 100 according to service demand description information Scheduled resource information; the resource information is sent to the edge management and control device 103 for the edge management and control device 103 to control the corresponding resource device in the target edge cloud node for resource allocation or reservation. Optionally, the number of target edge cloud nodes can be specified by the user, or can be independently determined by the resource center management and control device according to the service requirement description information, and it can be one or more. The service demand description information can be directly submitted by the service demander, or it can be extracted or calculated from the service-related information submitted by the service demander. The service demander can be a user, an application, a physical machine, or another service that requires a certain service.
这里所描述的资源调度功能主要包括边缘云节点的选择和边缘云节点内的资源调度两个方面,但不限于这两个方面。其中,边缘云节点内部的资源调度具体体现为确定目标边缘云节点中被调度的资源信息和提供资源信息的操作,主要目的是在每一个边缘云节点的粒度上把云计算服务分配到最终的基础资源,例如服务器等资源设备上。其中,中心管控设备可维护各边缘云节点包含的资源的信息,作为资源调度的基础。The resource scheduling function described here mainly includes the selection of edge cloud nodes and the resource scheduling within the edge cloud nodes, but it is not limited to these two aspects. Among them, the internal resource scheduling of the edge cloud node is specifically embodied as the operation of determining the scheduled resource information in the target edge cloud node and providing resource information. The main purpose is to allocate cloud computing services to the final at the granularity of each edge cloud node. Basic resources, such as server and other resource equipment. Among them, the central control equipment can maintain the information of the resources contained in each edge cloud node as the basis for resource scheduling.
可选地,服务需求描述信息中包括边缘云节点选择参数和资源选择参数。边缘云节点选择参数是指选择目标边缘云节点所需的参数;资源选择参数是指选择边缘云节点内被调度的资源所需的信息。基于此,中心管控设备可以从服务需求描述信息中解析出边缘云节点选择参数和资源选择参数;根据边缘云节点选择参数从至少一个边缘云节点中确定被调度的目标边缘云节点,并根据资源选择参数确定目标边缘云节点中被调度的资源信息。Optionally, the service requirement description information includes edge cloud node selection parameters and resource selection parameters. The edge cloud node selection parameter refers to the parameter required to select the target edge cloud node; the resource selection parameter refers to the information required to select the scheduled resource in the edge cloud node. Based on this, the central management and control equipment can parse out the edge cloud node selection parameters and resource selection parameters from the service demand description information; determine the scheduled target edge cloud node from at least one edge cloud node according to the edge cloud node selection parameters, and according to the resource The selection parameters determine the scheduled resource information in the target edge cloud node.
例如,服务需求描述信息中可以包括调度域和/或云计算服务的QoS要求,这些参数可以作为边缘云节点选择参数。其中,调度域指向需要部署服务的区域,这决定了应该被调度的边缘云节点的地理位置。云计算服务的QoS要求可以包括云计算服务对网络时延、负载情况和/或带宽成本等的要求。基于此,中心管控设备可以根据调度域和/或云计算服务的QoS要求,结合至少一个边缘云节点的地理位置和资源剩余量,选择能够满足调度域和/或QoS要求的边缘云节点作为目标边缘云节点。For example, the service requirement description information may include the scheduling domain and/or the QoS requirements of the cloud computing service, and these parameters may be used as edge cloud node selection parameters. Among them, the scheduling domain points to the area where the service needs to be deployed, which determines the geographic location of the edge cloud node that should be scheduled. The QoS requirements of cloud computing services may include the requirements of cloud computing services on network delay, load conditions, and/or bandwidth costs. Based on this, the central management and control device can select the edge cloud node that can meet the scheduling domain and/or QoS requirements as the target according to the QoS requirements of the scheduling domain and/or cloud computing service, combined with the geographic location and resource remaining amount of at least one edge cloud node Edge cloud node.
例如,中心管控设备可以根据调度域,结合至少一个边缘云节点的地理位置,选择调度域指向的边缘云节点作为目标边缘云节点。或者,中心管控设备还可以根据云计算服务的QoS要求,例如网络时延、负载情况和/或带宽成本等要求,从边缘云节点中选择 满足网络时延、负载情况和/或带宽成本要求的边缘云节点作为目标边缘云节点。当然,中心管控设备也可以同时根据调度域和云计算服务的QoS要求,结合至少一个边缘云节点的地理位置和资源剩余量,选择能够同时满足调度域和QoS要求的边缘云节点作为目标边缘云节点。For example, the central management and control device may select the edge cloud node pointed to by the scheduling domain as the target edge cloud node in combination with the geographic location of at least one edge cloud node according to the scheduling domain. Alternatively, the central management and control device can also select the edge cloud node that meets the network delay, load and/or bandwidth cost requirements based on the QoS requirements of the cloud computing service, such as network delay, load conditions, and/or bandwidth cost requirements. The edge cloud node serves as the target edge cloud node. Of course, the central management and control equipment can also select the edge cloud node that can meet the scheduling domain and QoS requirements as the target edge cloud based on the QoS requirements of the scheduling domain and cloud computing services at the same time, combined with the geographic location and remaining amount of resources of at least one edge cloud node. node.
服务需求描述信息中除了包含调度域和/或服务的QoS要求这些信息之外,还可以包括云计算服务所需的资源类型、资源数量和/或资源设备的性能等参数,这些参数可以作为资源选择参数。基于此,中心管控设备在确定目标边缘云节点之后,可以根据资源选择参数确定目标边缘云节点中被调度的资源信息。这里的资源信息可以包括:资源类型、资源数量和对资源设备的性能要求等信息,便于边缘管控设备据此控制目标边缘云节点中相应资源设备进行资源分配或预留。例如,资源类型可以包括但不限于:CPU、GPU等计算资源,内存、硬盘等存储资源,带宽资源等资源类型。以CPU资源为例,资源数量可以是12个CPU、24个CPU等,以内存资源为例,资源数量可以是16G内存、32G内存等;以带宽资源为例,资源数量可以是1M带宽,10M带宽等。In addition to the information such as the scheduling domain and/or the QoS requirements of the service, the service requirement description information can also include the resource type, the number of resources, and/or the performance of the resource equipment required by the cloud computing service. These parameters can be used as resources. Select parameters. Based on this, after determining the target edge cloud node, the central management and control device can determine the scheduled resource information in the target edge cloud node according to the resource selection parameters. The resource information here may include: resource type, resource quantity, and performance requirements for resource devices, so that the edge management and control device can control the corresponding resource device in the target edge cloud node to allocate or reserve resources accordingly. For example, resource types may include, but are not limited to: computing resources such as CPU and GPU, storage resources such as memory and hard disk, and resource types such as bandwidth resources. Taking CPU resources as an example, the number of resources can be 12 CPUs, 24 CPUs, etc., taking memory resources as an example, the number of resources can be 16G memory, 32G memory, etc.; taking bandwidth resources as an example, the number of resources can be 1M bandwidth, 10M Bandwidth etc.
可选地,中心管控设备还可以具有算力编排的功能,算力编排是面向相对复杂一些的应用场景,将多个云计算服务绑定在一起作为最小的资源需求单元,这样,在资源调度过程中,可将绑定在一起的多个云计算服务作为整体,为它们选择同一个或几个边缘云节点,由同一个或几个边缘云节点为它们共同提供资源。算力编排完善了资源调度的多样性,增加了资源调度的灵活性,但未对资源调度的整体流程产生影响。Optionally, the central management and control device can also have the function of computing power orchestration. The computing power orchestration is oriented to relatively complex application scenarios. Multiple cloud computing services are bound together as the smallest resource requirement unit. In this way, in the resource scheduling In the process, multiple cloud computing services can be bound together as a whole, and one or several edge cloud nodes can be selected for them, and the same or several edge cloud nodes can provide resources for them together. Computing power scheduling improves the diversity of resource scheduling and increases the flexibility of resource scheduling, but it does not affect the overall process of resource scheduling.
镜像管理和分发功能:Image management and distribution functions:
中心管控设备的镜像管理功能,主要是指对镜像进行管理,并为边缘云节点提供所需的镜像。这样,边缘云节点可根据镜像在相应资源设备上创建实例,进而由所创建的实例为用户提供所需的云计算服务。The image management function of the central control device mainly refers to the management of images and the provision of required images for edge cloud nodes. In this way, the edge cloud node can create an instance on the corresponding resource device according to the image, and then the created instance can provide users with required cloud computing services.
在实际应用中,需要为边缘云节点提供镜像的场景是多种多样的。例如,在用户(例如服务需求方)提交服务需求描述信息的情况下,中心管控设备可以为被调度的目标边缘云节点提供相应镜像。又例如,在边缘云节点上已有实例为用户提供云计算服务的情况下,用户需要进行业务扩容时,可以向中心管控设备提交扩容需求,为了实现扩容目的,需要为目前正为用户提供云计算服务的边缘云节点提供相应镜像,以便该边缘云节点基于镜像创建新的实例,从而达到扩容的目的。为便于描述和区分,在下面描述中,将需要为其提供镜像的边缘云节点记为第一边缘云节点,第一边缘云节点可以是网络系统中的任一边缘云节点,具体视应用场景而定。下面以中心管控设备为第一边缘云节点 提供镜像为例,对中心管控设备的镜像管理功能进行说明。In practical applications, there are various scenarios where mirroring needs to be provided for edge cloud nodes. For example, in a case where a user (such as a service demander) submits service demand description information, the central management and control device can provide a corresponding image for the scheduled target edge cloud node. For another example, when there are instances on edge cloud nodes that provide users with cloud computing services, when users need to expand their business, they can submit their expansion requirements to the central control equipment. In order to achieve the purpose of expansion, they need to provide cloud computing services for users. The edge cloud node of the computing service provides a corresponding image, so that the edge cloud node creates a new instance based on the image, so as to achieve the purpose of capacity expansion. For ease of description and distinction, in the following description, the edge cloud node that needs to be mirrored is recorded as the first edge cloud node. The first edge cloud node can be any edge cloud node in the network system, depending on the application scenario. Depends. The image management function of the central control device is described below by taking the central control device providing mirroring for the first edge cloud node as an example.
在需要为第一边缘云节点提供镜像时,中心管控设备可以先确定需要向第一边缘云节点提供的目标镜像;然后,为第一边缘云节点提供目标镜像,以供第一边缘云节点利用目标镜像提供云计算服务。When it is necessary to provide a mirror image for the first edge cloud node, the central management and control device can first determine the target image that needs to be provided to the first edge cloud node; then, provide the target image for the first edge cloud node for use by the first edge cloud node The target image provides cloud computing services.
在本实施例的网络系统100中,维护有镜像库,该镜像库用于存储系统中的镜像。用户可以选择使用镜像库中的镜像。例如,可以向用户提供一个镜像配置界面,该界面上设有下拉菜单,下拉菜单包括很多可供用户选择的镜像,用户可以选择自己使用的镜像。基于此,在需要为第一边缘云节点提供镜像时,中心管控设备可以从镜像库中获取第一边缘云节点所需的镜像,然后将镜像提供给第一边缘云节点,并将镜像的使用权限开放给相应用户。可选地,中心管控设备可以直接将目标镜像下发给第一边缘云节点,也可以指示第一边缘云节点到指定存储位置下载目标镜像。In the network system 100 of this embodiment, a mirror library is maintained, and the mirror library is used to store images in the system. Users can choose to use the mirror in the mirror library. For example, the user can be provided with a mirror configuration interface with a drop-down menu. The drop-down menu includes many mirrors that can be selected by the user, and the user can choose the mirror to use. Based on this, when it is necessary to provide a mirror image for the first edge cloud node, the central control device can obtain the image required by the first edge cloud node from the mirror library, and then provide the image to the first edge cloud node, and use the image The permissions are open to the corresponding users. Optionally, the central management and control device may directly issue the target image to the first edge cloud node, or instruct the first edge cloud node to download the target image to a designated storage location.
除此之外,中心管控设备还可以维护已下发镜像与已下发镜像所在边缘云节点的对应关系。该对应关系中可以包括已下发镜像的标识信息与已发下镜像所在边缘云节点的标识信息。已下发镜像是指中心管控设备已经提供(例如下发)给某个或某些边缘云节点的镜像;已下发镜像所在边缘云节点是指已下发镜像被提供给的边缘云节点。同一镜像可能被提供(例如下发)给一个边缘云节点,也可能被提供(例如下发)给多个边缘云节点。In addition, the central control device can also maintain the correspondence between the issued image and the edge cloud node where the issued image is located. The correspondence relationship may include the identification information of the issued image and the identification information of the edge cloud node where the image has been issued. The issued image refers to the image that the central control device has provided (for example, issued) to one or some edge cloud nodes; the edge cloud node where the issued image is located refers to the edge cloud node to which the issued image is provided. The same image may be provided (for example, distributed) to one edge cloud node, or may be provided (for example, distributed) to multiple edge cloud nodes.
基于所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系,在需要为第一边缘云节点提供镜像时,中心管控设备还可以控制第一边缘云节点从已经具有该镜像的其它边缘云节点获取该镜像,无需直接向第一边缘云节点提供镜像,一定程度上可以减轻中心管控设备的处理负担,在控制合理的情况下,还可以提高镜像的获取效率。Based on the maintained correspondence between the issued image and the edge cloud node where the issued image is located, when the image needs to be provided for the first edge cloud node, the central management and control device can also control the first edge cloud node from the image that already has the image. Other edge cloud nodes acquire the image without directly providing the image to the first edge cloud node, which can reduce the processing burden of the central control device to a certain extent, and can also improve the efficiency of image acquisition under the condition of reasonable control.
详细地,在需要为第一边缘云节点提供镜像时,中心管控设备可以确定需要向第一边缘云节点提供的镜像,为了便于描述和区分,在本申请实施例中,将需要向第一边缘云节点提供的镜像记为目标镜像;根据目标镜像的信息,在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配;若在该对应关系中匹配到与目标镜像对应的第二边缘云节点,这说明该目标镜像已经被提供给第二边缘云节点,则可以将第二边缘云节点处的目标镜像提供给第一边缘云节点;其中,第二边缘云节点也可以网络系统中的边缘云节点,其数量可以是一个,也可以是多个。对第一边缘云节点来说,可在中心管控设备101的控制下,获取第二边缘云节点处的目标镜像。In detail, when it is necessary to provide a mirror image for the first edge cloud node, the central management and control device may determine the mirror image that needs to be provided to the first edge cloud node. For ease of description and distinction, in the embodiment of the present application, it will be required to The image provided by the cloud node is recorded as the target image; according to the information of the target image, a match is made in the correspondence between the maintained issued image and the edge cloud node where the issued image is located; if the corresponding relationship is matched with the target Mirror the corresponding second edge cloud node, which means that the target image has been provided to the second edge cloud node, then the target image at the second edge cloud node can be provided to the first edge cloud node; where the second edge cloud node The node can also be an edge cloud node in the network system, and the number can be one or more. For the first edge cloud node, under the control of the central management and control device 101, the target image at the second edge cloud node can be obtained.
在此说明,在网络系统100包括边缘管控设备103的情况下,中心管控设备具体可 以将第二边缘云节点与目标镜像的信息发送给边缘管控设备;边缘管控设备103根据第二边缘云节点与目标镜像的信息,将第二边缘云节点处的目标镜像提供给第一边缘云节点中的相应资源设备,供相应资源设备根据目标镜像创建可提供云计算服务的实例,进而为服务需求方提供该云计算服务。其中,第二边缘云节点的信息可以是任何能够标识第二边缘云节点的信息,例如可以是第二边缘云节点的ID、名称或地理位置等信息。目标镜像的信息可以是任何能够标识目标镜像的信息,例如可以是目标镜像的ID、名称或编号等。It is explained here that in the case that the network system 100 includes the edge management and control device 103, the central management and control device may specifically send the information of the second edge cloud node and the target mirror to the edge management and control device; the edge management and control device 103 may communicate with the second edge cloud node according to the The information of the target image, the target image at the second edge cloud node is provided to the corresponding resource device in the first edge cloud node for the corresponding resource device to create an instance that can provide cloud computing services based on the target image, and then provide it to the service demander The cloud computing service. The information of the second edge cloud node may be any information that can identify the second edge cloud node, for example, it may be information such as the ID, name, or geographic location of the second edge cloud node. The information of the target image can be any information that can identify the target image, such as the ID, name, or number of the target image.
进一步,在第一边缘云节点和第二边缘云节点中均部署有边缘管控设备103的情况下,则中心管控设备101具体可以将第二边缘云节点与目标镜像的信息发送给第一边缘云节点中的边缘管控设备,供第一边缘云节点中的边缘管控设备通过其与第二边缘云节点中的边缘管控设备之间的通信通道从第二边缘云节点处获取目标镜像并提供给第一边缘云节点中的相应资源设备。对第一边缘云节点中的边缘管控设备103来说,可接收中心管控设备101发送的第二边缘云节点和目标镜像的信息,根据第二边缘云节点与目标镜像的信息,通过其与第二边缘云节点中的边缘管控设备之间的通信通道,从第二边缘云节点处获取目标镜像,将目标镜像提供给第一边缘云节点中相应资源设备,供相应资源设备根据目标镜像创建可提供云计算服务的实例,进而提供云计算服务。Further, in the case where the edge management and control device 103 is deployed in both the first edge cloud node and the second edge cloud node, the central management and control device 101 may specifically send the information of the second edge cloud node and the target image to the first edge cloud The edge management and control device in the node is used for the edge management and control device in the first edge cloud node to obtain the target image from the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node and provide it to the second edge cloud node. A corresponding resource device in an edge cloud node. For the edge management and control device 103 in the first edge cloud node, it can receive the information of the second edge cloud node and the target image sent by the central management and control device 101, and according to the information of the second edge cloud node and the target image, it can communicate with the Second, the communication channel between the edge management and control devices in the edge cloud node, obtains the target image from the second edge cloud node, and provides the target image to the corresponding resource device in the first edge cloud node, so that the corresponding resource device can create an image based on the target image. Provide instances of cloud computing services, and then provide cloud computing services.
更进一步,第一边缘云节点中的边缘管控设备103通过其与第二边缘云节点中的边缘管控设备之间的通信通道,从第二边缘云节点获取目标镜像的一种过程包括:第一边缘云节点中的边缘管控设备103通过其与第二边缘云节点中的边缘管控设备之间的通信通道,向第二边缘云节点中的边缘管控设备103发送获取目标镜像的请求,该请求中携带有目标镜像的信息。第二边缘云节点中的边缘管控设备103接收该请求,根据该请求中携带的目标镜像的信息,判断第二边缘云节点中是否存在目标镜像,在第二边缘云节点中存在目标镜像的情况下,通过其与第一边缘云节点中边缘管控设备103之间的通信通道,将目标镜像返回给第一边缘云节点中的边缘管控设备103,或者,将目标镜像在第二边缘云节点中的存储地址返回给第一边缘云节点中的边缘管控设备103。第一边缘云节点中的边缘管控设备103接收第二边缘云节点中的边缘管控设备103返回的目标镜像,或者接收第二边缘云节点中的边缘管控设备103返回的目标镜像在第二边缘云节点中的存储地址,根据该存储地址读取或下载目标镜像。Furthermore, through the communication channel between the edge management and control device 103 in the first edge cloud node and the edge management and control device in the second edge cloud node, a process of obtaining the target image from the second edge cloud node includes: The edge management and control device 103 in the edge cloud node sends a request for obtaining the target image to the edge management and control device 103 in the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node. Carry the information of the target image. The edge management and control device 103 in the second edge cloud node receives the request, and determines whether there is a target image in the second edge cloud node according to the target image information carried in the request, and whether there is a target image in the second edge cloud node Next, through the communication channel between it and the edge management and control device 103 in the first edge cloud node, the target image is returned to the edge management and control device 103 in the first edge cloud node, or the target image is mirrored in the second edge cloud node The storage address of is returned to the edge management and control device 103 in the first edge cloud node. The edge management and control device 103 in the first edge cloud node receives the target image returned by the edge management and control device 103 in the second edge cloud node, or receives the target image returned by the edge management and control device 103 in the second edge cloud node in the second edge cloud The storage address in the node, read or download the target image according to the storage address.
值得说明的是,第一边缘云节点中的边缘管控设备103与第二边缘云节点中的边缘管控设备103可以自行建立通信通道,也可以在中心管控设备101的控制下建立通道。 可选地,中心管控设备还可以控制不同边缘管控设备之间建立通信通道,并负责维护边缘管控设备之间已有通信通道的信息,例如可以维护哪些边缘管控设备之间已经建立通信通道,通信通道何时建立,通信通道的状态,保持时长等信息。基于此,中心管控设备在确定目标镜像已经被提供给第二边缘云节点之后,且在将第二边缘云节点和目标镜像的信息提供给第一边缘云节点中的边缘管控设备之前,还可以根据所维护的边缘管控设备之间已有通信通道的信息,判断第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间是否已经存在通信通道;若判断结果为否,即第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间尚不存在通信通道,则可以控制第一边缘云节点中的边缘管控设备和第二边缘云节点中的边缘管控设备建立通信通道,以便于第一边缘云节点中的边缘管控设备能够通过该通信通道从第二边缘云节点处获取目标镜像。并且,在第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备建立通信通道之后,中心管控设备将第二边缘云节点和目标镜像的信息提供给第一边缘云节点中的边缘管控设备。当然,若判断结果为是,即第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间已经存在通信通道,则可以直接将第二边缘云节点和目标镜像的信息提供给第一边缘云节点中的边缘管控设备。It is worth noting that the edge management and control device 103 in the first edge cloud node and the edge management and control device 103 in the second edge cloud node may establish a communication channel by themselves, or may establish a channel under the control of the central management and control device 101. Optionally, the central management and control device can also control the establishment of communication channels between different edge management and control devices, and is responsible for maintaining the information of the existing communication channels between the edge management and control devices, for example, which edge management and control devices have established communication channels and communication When the channel is established, the status of the communication channel, and the retention time information. Based on this, after the central management and control device determines that the target image has been provided to the second edge cloud node, and before providing the information of the second edge cloud node and the target image to the edge management and control device in the first edge cloud node, it can also According to the information of the existing communication channel between the maintained edge management and control devices, determine whether there is a communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node; if the judgment result is No, that is, there is no communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node, you can control the edge management and control device in the first edge cloud node and the second edge cloud The edge management and control device in the node establishes a communication channel, so that the edge management and control device in the first edge cloud node can obtain the target image from the second edge cloud node through the communication channel. In addition, after the edge management and control device in the first edge cloud node establishes a communication channel with the edge management and control device in the second edge cloud node, the central management and control device provides information about the second edge cloud node and the target image to the first edge cloud node Edge control equipment in China. Of course, if the judgment result is yes, that is, there is already a communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node, you can directly mirror the second edge cloud node and the target The information is provided to the edge management and control device in the first edge cloud node.
值得说明的是,中心管控设备也可以在将第二边缘云节点和目标镜像的信息提供给第一边缘云节点中的边缘管控设备之后,根据所维护的边缘管控设备之间已有通信通道的信息,判断第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间是否已经存在通信通道;若判断结果为否,即第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间尚不存在通信通道,则可以控制第一边缘云节点中的边缘管控设备和第二边缘云节点中的边缘管控设备建立通信通道,以便于第一边缘云节点中的边缘管控设备能够通过该通信通道从第二边缘云节点处获取目标镜像。It is worth noting that the central management and control device can also provide the edge management and control device in the first edge cloud node with the information of the second edge cloud node and the target image, according to the existing communication channels between the maintained edge management and control devices. Information to determine whether there is a communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node; if the judgment result is no, that is, the edge management and control device in the first edge cloud node and If there is no communication channel between the edge management and control devices in the second edge cloud node, the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node can be controlled to establish a communication channel to facilitate the first The edge management and control device in the edge cloud node can obtain the target image from the second edge cloud node through the communication channel.
在一些可选实施例中,为了保证第一边缘云节点获取目标镜像的效率,中心管控设备在将第二边缘云节点处的目标镜像提供给第一边缘云节点之前,还可以根据第二边缘云节点的属性,判断第二边缘云节点是否适合为第一边缘云节点提供目标镜像;若判断结果为是,即第二边缘云节点适合为第一边缘云节点提供目标镜像,则可以将第二边缘云节点处的目标镜像提供给第一边缘云节点;若判断结果为否,则可以从镜像库中获取目标镜像并将目标镜像提供给第一边缘云节点。In some optional embodiments, in order to ensure the efficiency of obtaining the target image by the first edge cloud node, the central management and control device may also provide the target image at the second edge cloud node to the first edge cloud node according to the second edge cloud node. The attribute of the cloud node determines whether the second edge cloud node is suitable for providing the target image for the first edge cloud node; if the judgment result is yes, that is, the second edge cloud node is suitable for providing the target image for the first edge cloud node, the first edge cloud node can be 2. The target image at the edge cloud node is provided to the first edge cloud node; if the judgment result is no, the target image can be obtained from the image library and the target image is provided to the first edge cloud node.
值得说明的是,根据应用场景和应用需求的不同,可以结合第二边缘云节点的不同 属性,从不同角度判断第二边缘云节点是否适合为第一边缘云节点提供目标镜像。下面举例说明:It is worth noting that according to different application scenarios and application requirements, different attributes of the second edge cloud node can be combined to determine from different angles whether the second edge cloud node is suitable for providing the target image for the first edge cloud node. The following example illustrates:
例如,可以结合第二边缘云节点所属的运营商,判断第二边缘云节点所属的运营商与第一边缘云节点所属的运营商是否相同;若判断结果为是,说明第二边缘云节点与第一边缘云节点是同运营商下的边缘云节点,两者可以进行数据传输,且数据传输速率相对于跨运营商的数据传输速率要快,适合为第一边缘云节点提供目标镜像。For example, the operator to which the second edge cloud node belongs can be combined to determine whether the operator to which the second edge cloud node belongs is the same as the operator to which the first edge cloud node belongs; if the judgment result is yes, it means that the second edge cloud node is The first edge cloud node is an edge cloud node under the same operator. The two can perform data transmission, and the data transmission rate is faster than the cross-operator data transmission rate, which is suitable for providing target mirroring for the first edge cloud node.
又例如,可以结合第二边缘云节点的位置属性,判断第二边缘云节点到第一边缘云节点之间的距离是否小于设定的距离阈值;若判断结果为是,说明第二边缘云节点与第一边缘云节点相距较近,适合为第一边缘云节点提供目标镜像,这样由与第一边缘云节点相距较近的第二边缘云节点为第一边缘云节点提供镜像,便于第一边缘云节点快速获取到镜像,提高效率。第二边缘云节点到第一边缘云节点之间的距离可以是两个边缘云节点之间的平均距离,也可以是两个边缘云节点的中心之间的距离,还可以是两个边缘云节点相距最近的外边缘之间的距离等,可根据需求灵活定义。For another example, the location attribute of the second edge cloud node can be combined to determine whether the distance between the second edge cloud node and the first edge cloud node is less than the set distance threshold; if the judgment result is yes, the second edge cloud node It is close to the first edge cloud node, which is suitable for providing target mirroring for the first edge cloud node. In this way, the second edge cloud node that is closer to the first edge cloud node provides a mirror image for the first edge cloud node, which is convenient for the first edge cloud node. The edge cloud node quickly obtains the image to improve efficiency. The distance between the second edge cloud node and the first edge cloud node can be the average distance between two edge cloud nodes, or the distance between the centers of two edge cloud nodes, or two edge clouds The distance between nodes and the nearest outer edge can be flexibly defined according to requirements.
又例如,可以结合第二边缘云节点的带宽属性,判断第二边缘云节点的可用带宽是否大于设定带宽阈值;若判断结果为是,说明第二边缘云节点的带宽资源比较充裕,适合为第一边缘云节点提供目标镜像,这样由带宽资源比较充裕的第二边缘云节点为第一边缘云节点提供镜像,可保证镜像的传输速率,便于第一边缘云节点快速获取到镜像,提高效率。For another example, the bandwidth attribute of the second edge cloud node can be combined to determine whether the available bandwidth of the second edge cloud node is greater than the set bandwidth threshold; if the determination result is yes, it means that the bandwidth resource of the second edge cloud node is relatively abundant, and it is suitable for The first edge cloud node provides the target image, so that the second edge cloud node with sufficient bandwidth resources provides the image for the first edge cloud node, which can ensure the transmission rate of the image, facilitate the first edge cloud node to quickly obtain the image, and improve efficiency .
又例如,可以结合第二边缘云节点的负载属性,判断第二边缘云节点的负载量是否小于设定负载量阈值;若判断结果为是,说明第二边缘云节点的负载较轻,适合为第一边缘云节点提供目标镜像,这样由负载较轻的第二边缘云节点为第一边缘云节点提供镜像,一方面可实现负载均衡,另一方面也便于第一边缘云节点快速获取到镜像,提高效率。For another example, the load attribute of the second edge cloud node can be combined to determine whether the load of the second edge cloud node is less than the set load threshold; if the judgment result is yes, it means that the load of the second edge cloud node is lighter, and it is suitable for The first edge cloud node provides the target image, so that the second edge cloud node with lighter load provides the image for the first edge cloud node. On the one hand, it can achieve load balancing, and on the other hand, it is also convenient for the first edge cloud node to quickly obtain the image. ,Improve efficiency.
值得说明的是,上面列举的几种方式可以择一使用,也可以以任意组合方式组合使用,关于组合使用的情况,对此不做过多描述。It is worth noting that the several methods listed above can be used alternatively or combined in any combination. Regarding the combined use, this will not be described too much.
进一步,在第二边缘云节点为多个的情况下,可以结合第二边缘云节点的多个属性,对上述几种方式进行组合使用,进而从中选择出适合为第一边缘云节点提供目标镜像的第二边缘云节点。例如,若第二边缘云节点为多个,则可以结合多个第二边缘云节点所属的运营商,从多个第二边缘云节点中选择出与第一边缘云节点属于同一运营商的第二边缘云节点;进而,若选择出的第二边缘云节点仍为多个,则可以进一步根据选择出的 第二边缘云节点的负载量,从中选择负载量最小或低于设定负载量阈值的第二边缘云节点,为第一边缘云节点提供目标镜像。Further, in the case of multiple second edge cloud nodes, the multiple attributes of the second edge cloud node can be combined to use the above several methods in combination, and then select a target image suitable for the first edge cloud node. The second edge cloud node. For example, if there are multiple second edge cloud nodes, the operators to which the multiple second edge cloud nodes belong can be combined to select from the multiple second edge cloud nodes that belong to the same operator as the first edge cloud node. Two edge cloud nodes; furthermore, if there are still multiple second edge cloud nodes selected, the load of the selected second edge cloud node may be further selected from the load to be the smallest or lower than the set load threshold The second edge cloud node provides a target image for the first edge cloud node.
在一些可选实施例中,有可能已经向第一边缘云节点提供过目标镜像,例如,在业务扩容场景中,在目前正在为服务需求方提供云计算服务的边缘云节点中创建新实例需要使用的镜像与之前已有实例使用的镜像相同,如果该边缘云节点中还保存有之前已有实例使用的镜像,则可以不用重复为该边缘云节点提供镜像。针对这种情况,为了节约资源,中心管控设备在将第二边缘云节点处的目标镜像提供给第一边缘云节点之前,可以判断所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中是否包括第一边缘云节点;若判断结果为是,表明已经向第一边缘云节点提供过目标镜像,且第一边缘云节点中仍保存有目标镜像,则可以将目标镜像的信息提供给第一边缘云节点,供第一边缘云节点读取其中存储的目标镜像,无需再次传输目标镜像,这可节约传输目标镜像消耗的网络资源等;若判断结果为否,表明尚未向第一边缘云节点提供过目标镜像,或者第一边缘云节点中已经不存在目标镜像,则可以将第二边缘云节点处的目标镜像提供给第一边缘云节点。其中,在第一边缘云节点中部署有边缘管控设备的情况下,若中心管控设备判断出所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中包含目标镜像,可以将目标镜像的信息提供给第一边缘云节点中的边缘管控设备,第一边缘云节点中的边缘管控设备根据目标镜像的信息可以从第一边缘云节点中存储镜像的空间中获取目标镜像,将目标镜像提供给第一边缘云节点中的相应资源设备,以供相应资源设备根据目标镜像创建可提供云计算服务的实例。In some optional embodiments, the target image may have been provided to the first edge cloud node. For example, in a business expansion scenario, it is necessary to create a new instance in an edge cloud node that is currently providing cloud computing services to the service demander. The image used is the same as the image used by the previous instance. If the edge cloud node still stores the image used by the previous instance, there is no need to repeatedly provide the image for the edge cloud node. In view of this situation, in order to save resources, the central management and control device can determine the maintained issued image and the edge cloud node where the issued image is located before providing the target image at the second edge cloud node to the first edge cloud node Whether the first edge cloud node is included in the corresponding relationship; if the judgment result is yes, it indicates that the target image has been provided to the first edge cloud node, and the target image is still stored in the first edge cloud node, then the target image can be The information is provided to the first edge cloud node for the first edge cloud node to read the target image stored in it, without the need to transmit the target image again, which can save network resources consumed by the transmission of the target image; if the judgment result is no, it indicates that it has not been sent to The first edge cloud node has provided the target image, or the target image no longer exists in the first edge cloud node, the target image at the second edge cloud node may be provided to the first edge cloud node. Among them, when the edge management and control device is deployed in the first edge cloud node, if the central management and control device determines that the corresponding relationship between the maintained issued image and the edge cloud node where the issued image contains the target image, the target image The image information is provided to the edge management and control device in the first edge cloud node, and the edge management and control device in the first edge cloud node can obtain the target image from the storage space of the image in the first edge cloud node according to the information of the target image, and set the target image The image is provided to the corresponding resource device in the first edge cloud node, so that the corresponding resource device can create an instance that can provide cloud computing services according to the target image.
进一步可选地,同一边缘云节点有可能为同一用户或不同用户提供多种云计算服务,也就可能接收到多个镜像,这些镜像会被存储在边缘云节点中。边缘云节点可以提供一定存储空间,用来存储镜像。考虑到边缘云节点中镜像的存储空间有一定限制,为了能有足够的存储空间存储新接收的镜像,边缘云节点需要对本地存储的镜像进行淘汰处理。在本实施例中,中心管控设备负责为边缘云节点提供镜像的淘汰策略。中心管控设备可以生成镜像的淘汰策略,将该淘汰策略下发至各边缘云节点,各边缘云节点按照该淘汰策略对所存储的镜像进行淘汰处理。其中,在网络系统中包括边缘管控设备的情况下,中心管控设备可以将淘汰策略下发至边缘管控设备,由边缘管控设备根据淘汰策略对各边缘云节点中存储的镜像进行淘汰处理。进一步,在每个边缘云节点中均部署有边缘管控设备的情况下,中心管控设备可以将淘汰策略下发给各边缘云节点中的边缘管控设备, 由各边缘云节点中的边缘管控设备根据淘汰策略对其所属边缘云节点中存储的镜像进行淘汰处理。Further optionally, the same edge cloud node may provide multiple cloud computing services for the same user or different users, and may receive multiple images, and these images will be stored in the edge cloud node. Edge cloud nodes can provide a certain amount of storage space for storing images. Considering that the storage space of the image in the edge cloud node is limited, in order to have enough storage space to store the newly received image, the edge cloud node needs to eliminate the locally stored image. In this embodiment, the central management and control device is responsible for providing a mirroring elimination strategy for edge cloud nodes. The central management and control device can generate the elimination strategy of the image, deliver the elimination strategy to each edge cloud node, and each edge cloud node performs elimination processing on the stored image according to the elimination strategy. Among them, in the case that the network system includes edge management and control equipment, the central management and control equipment can issue the elimination strategy to the edge management and control equipment, and the edge management and control equipment eliminates the images stored in each edge cloud node according to the elimination strategy. Further, in the case where edge management and control equipment is deployed in each edge cloud node, the central management and control equipment can issue the elimination strategy to the edge management and control equipment in each edge cloud node, and the edge management and control equipment in each edge cloud node will follow The elimination strategy eliminates the image stored in the edge cloud node to which it belongs.
可选地,淘汰策略可以是接收时间最早淘汰策略,即按照镜像的接收时间,优先淘汰接收时间最早的镜像。或者,淘汰策略可以是使用频次最少淘汰策略,即按照镜像的使用频率,优先淘汰使用频次最少的镜像。或者,淘汰策略可以是占用资源最大淘汰策略,即按照镜像占用的存储空间的大小,优先淘汰占用存储空间最大的镜像。Optionally, the elimination strategy may be an elimination strategy with the earliest receiving time, that is, according to the receiving time of the image, the image with the earliest receiving time is preferentially eliminated. Alternatively, the elimination strategy may be the elimination strategy with the least frequency of use, that is, the image with the least frequency of use is preferentially eliminated according to the frequency of use of the image. Alternatively, the elimination strategy may be the elimination strategy with the largest resource occupation, that is, according to the size of the storage space occupied by the image, the image with the largest storage space is first eliminated.
对边缘云节点来说,可以定期按照上述淘汰策略,对本节点中存储的镜像进行淘汰处理;或者,也可以在每当需要接收或获取新的镜像时,判断本节点中是否有足够存储空间存储新的镜像,并在本节点中没有足够存储空间时,按照上述淘汰策略,对本节点中存储的镜像进行淘汰处理,以便于存储新的镜像。以第一边缘云节点需要从第二边缘云节点获取目标镜像为例,在第一边缘云节点中的边缘管控设备从第二边缘云节点处获取目标镜像之前,第一边缘云节点中的边缘管控设备可以判断第一边缘云节点中是否有足够存储空间存储目标镜像;若第一边缘云节点中没有足够存储空间,则根据淘汰策略,对第一边缘云节点中存储的镜像进行淘汰处理,以便有足够存储空间存储目标镜像。可选地,若第一边缘云节点中有足够存储空间,则可以暂时不对第一边缘云节点中存储的镜像进行淘汰处理。For edge cloud nodes, the image stored in the node can be eliminated regularly according to the above elimination strategy; or, whenever a new image needs to be received or acquired, it can be judged whether there is enough storage space in the node for storage If there is not enough storage space in the current node for the new image, the image stored in the node is eliminated according to the above elimination strategy, so as to store the new image. Taking the first edge cloud node to obtain the target image from the second edge cloud node as an example, before the edge management and control device in the first edge cloud node obtains the target image from the second edge cloud node, the edge in the first edge cloud node The management and control device can determine whether there is enough storage space in the first edge cloud node to store the target image; if there is not enough storage space in the first edge cloud node, it will eliminate the image stored in the first edge cloud node according to the elimination strategy. In order to have enough storage space to store the target image. Optionally, if there is enough storage space in the first edge cloud node, the image stored in the first edge cloud node may not be eliminated temporarily.
可选地,如图1c所示,该网络系统100还包括:镜像构建设备104。该镜像构建设备104可部署在一个或多个边缘云节点中,主要负责应用镜像的构建、验证等。镜像构建设备104可以提供边缘云环境,可以构建与边缘云环境适配的镜像,也可以验证镜像是否与边缘云环境适配,对于与边缘云环境不适配的镜像可以重构,或输出不适配的提示信息等。基于镜像构建设备104,用户可以向网络系统100中新增镜像。Optionally, as shown in FIG. 1c, the network system 100 further includes: an image construction device 104. The image construction device 104 may be deployed in one or more edge cloud nodes, and is mainly responsible for the construction and verification of application images. The image construction device 104 can provide an edge cloud environment, can build an image that is compatible with the edge cloud environment, and can also verify whether the image is compatible with the edge cloud environment. The image that is not compatible with the edge cloud environment can be reconstructed or output Adapted prompt information, etc. Based on the image building device 104, the user can add a new image to the network system 100.
在一种新增镜像的可选实施方式中,用户(例如服务需求方)可以向中心管控设备提交新增镜像的第一请求,该第一请求中包括镜像构建信息;中心管控设备向镜像构建设备发送构建请求,该构建请求包括镜像构建信息;镜像构建设备接收到构建请求之后,从中获取镜像构建信息,根据镜像构建信息构建与边缘云环境适配的镜像,将所构建的镜像返回给中心管控设备;中心管控设备接收镜像构建设备返回的新构建的镜像,并添加到镜像库中,不断丰富镜像库。In an optional implementation of adding a new image, a user (such as a service demander) can submit a first request for adding a new image to the central management and control device. The first request includes image construction information; The device sends a construction request, which includes image construction information; after receiving the construction request, the image construction device obtains the image construction information from it, constructs an image adapted to the edge cloud environment based on the image construction information, and returns the constructed image to the center Control equipment; the central control equipment receives the newly constructed mirror image returned by the mirror construction equipment and adds it to the mirror library to continuously enrich the mirror library.
在另一种新增镜像的可选实施方式中,可以面向用户(例如服务需求方)提供一种镜像的规则和规范,让用户自己制作或生成镜像,用户生成或制作的镜像需要符合边缘 云环境的安全、规范等相关要求。用户在制作或生成镜像之后,可以向中心管控设备发送新增镜像的第二请求,该第二请求中包括待新增镜像,该新增镜像是指用户制作或生成的镜像,本实施例并不限定用户制作或生成镜像的方式。中心管控设备接收第二请求,从第二请求中获取待新增镜像,将待新增镜像发送给镜像构建设备;镜像构建设备将待新增镜像与边缘云环境进行适配;若待新增镜像与边缘云环境适配,镜像构建设备向中心管控设备返回待新增镜像与边缘云环境适配的消息;若待新增镜像与边缘云环境不适配,镜像构建设备向中心管控设备返回待新增镜像与边缘云环境不适配的消息。In another optional implementation of newly-added mirroring, a mirroring rule and specification can be provided to users (such as service demanders), allowing users to make or generate mirrors by themselves. The mirrors generated or made by users need to conform to the edge cloud Environmental safety, regulations and other related requirements. After making or generating the image, the user can send a second request for adding a new image to the central control device. The second request includes the image to be added. The new image refers to the image made or generated by the user. This embodiment does not It does not limit the way users make or generate images. The central control device receives the second request, obtains the image to be added from the second request, and sends the image to be added to the image construction device; the image construction device adapts the image to be added to the edge cloud environment; if it is to be added The image is adapted to the edge cloud environment, and the image construction device returns a message to the central control device that the new image is adapted to the edge cloud environment; if the new image is not compatible with the edge cloud environment, the image construction device returns to the central control device A message that the new image is not compatible with the edge cloud environment.
对中心管控设备来说,若接收到镜像构建设备返回的待新增镜像与边缘云环境适配的消息,则将待新增镜像添加至镜像库中;若接收到镜像构建设备返回的待新增镜像与边缘云环境不适配的消息,或者通知用户对待新增镜像进行重构后重新提交,或者通知用户提供待新增镜像的重构方法,以供镜像构建设备按照该重构方法将待新增镜像重构成与边缘云环境适配的镜像。若用户提供待新增镜像的重构方法,则中心管控设备可以将该重构方法提供给镜像构建设备,镜像构建设备按照该重构方法对待新增镜像进行重构,使之与边缘云环境相适配,并将重构后的镜像返回给中心管控设备;中心管控设备接收重构后的镜像并添加到镜像库中。For the central control device, if it receives a message from the mirror construction device that the new image to be added is adapted to the edge cloud environment, it will add the new image to the mirror library; if it receives the new image returned by the mirror construction device Add a message that the image is not compatible with the edge cloud environment, or notify the user to re-submit the newly-added image after reconstruction, or notify the user to provide the reconstruction method of the newly-added image, so that the image-building device can update the image according to the reconstruction method. The newly added image is reconstructed into an image adapted to the edge cloud environment. If the user provides a reconstruction method for the newly added image, the central control device can provide the reconstruction method to the image construction device, and the image construction device reconstructs the newly added image according to the reconstruction method to make it compatible with the edge cloud environment It adapts and returns the reconstructed image to the central control device; the central control device receives the reconstructed image and adds it to the mirror library.
在此说明,镜像构建设备104可以是一台具有镜像构建、验证等功能的逻辑设备(例如可以是一个可提供镜像构建环境和资源,具备应用部署、镜像验证等功能的实例),这些功能可以部署在一台物理机或虚拟机上实现,也可以分散性地部署在多台物理机或虚拟机上。当然,本实施例的镜像构建设备104也可以是一台或多台具有镜像构建、验证等功能的物理设备。本申请实施例并不限定镜像构建设备的实现结构,凡是具有上述功能的设备结构均适用于本申请实施例。It is explained here that the image construction device 104 may be a logical device with functions such as image construction and verification (for example, it may be an instance that can provide image construction environment and resources, and has functions such as application deployment and image verification). These functions can be It can be deployed on one physical machine or virtual machine, or it can be distributed on multiple physical machines or virtual machines. Of course, the image construction device 104 of this embodiment may also be one or more physical devices with functions such as image construction and verification. The embodiments of this application do not limit the implementation structure of the image construction device, and any device structure with the above-mentioned functions is applicable to the embodiments of this application.
在本申请实施例中,不仅可以向镜像库中新增镜像,也可以删除没有用或长时间不用的镜像,以节约存储空间。例如,中心管控设备可以定期或实时地统计镜像库中各镜像的使用频次,将使用频次小于频次阈值的镜像作为待删除镜像,并执行镜像删除流程将其删除。又例如,中心管控设备也可以接收用户(例如服务需求方)提交的镜像删除请求,将该镜像删除请求指示删除的镜像作为待删除镜像,并执行镜像删除流程将其删除。其中,镜像删除请求中可以携带需要删除的镜像的信息,例如ID、名称或编号等。In the embodiments of the present application, not only mirrors can be added to the mirror library, but also mirrors that are not used or have not been used for a long time can be deleted to save storage space. For example, the central management and control device can count the usage frequency of each mirror in the mirror library regularly or in real time, use mirrors with a frequency less than the frequency threshold as the mirrors to be deleted, and execute the mirror deletion process to delete them. For another example, the central management and control device may also receive a mirror deletion request submitted by a user (such as a service demander), use the mirror deleted in the mirror deletion request as a mirror to be deleted, and execute the mirror deletion process to delete it. Wherein, the image deletion request may carry information of the image to be deleted, such as ID, name, or serial number.
对中心管控设备来说,可以采用但不限于上述任一方式确定待删除镜像,在确定待删除镜像之后,一方面可以将待删除镜像从镜像库中删除,另一方面可以指示存储有待删除镜像的边缘云节点将待删除镜像删除。其中,中心管控设备可以根据待删除镜像, 在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配,根据匹配结果确定存储有待删除镜像的边缘云节点。若在该对应关系中匹配到与待删除镜像对应的第三边缘云节点,说明曾经向第三边缘云节点下发过待删除镜像,且第三边缘云节点中仍存储有待删除镜像,于是向第三边缘云节点发送删除指令,该删除指令中携带有待删除镜像的信息,以指示第三边缘云节点将其中存储的待删除镜像删除。第三边缘云节点可能是一个,也可能是多个。For the central control device, any of the above methods can be used to determine the image to be deleted. After the image to be deleted is determined, the image to be deleted can be deleted from the mirror library on the one hand, and the image to be deleted can be indicated to be stored on the other hand. The edge cloud node will delete the image to be deleted. Among them, the central management and control device can match the maintained corresponding relationship between the issued image and the edge cloud node where the issued image is based on the image to be deleted, and determine the edge cloud node storing the image to be deleted according to the matching result. If the third edge cloud node corresponding to the image to be deleted is matched in the corresponding relationship, it means that the image to be deleted has been issued to the third edge cloud node, and the image to be deleted is still stored in the third edge cloud node, so The third edge cloud node sends a deletion instruction, and the deletion instruction carries information about the image to be deleted to instruct the third edge cloud node to delete the image to be deleted stored therein. The third edge cloud node may be one or multiple.
在此说明,在网络系统100包括边缘管控设备103的情况下,中心管控设备具体可以将删除指令发送给边缘管控设备103;边缘管控设备103接收中心管控设备下发的删除指令,从该删除指令中获取待删除镜像的信息,根据待删除镜像的信息,判断第三边缘云节点中是否存储有待删除镜像;如果存储有待删除镜像,将第三边缘云节点中的待删除镜像删除。进一步,若第三边缘云节点中部署有边缘管控设备103,则中心管控设备101具体可以将删除指令发送给第三边缘云节点中的边缘管控设备103;第三边缘云节点中的边缘管控设备103接收中心管控设备下发的删除指令,从该删除指令中获取待删除镜像的信息,根据待删除镜像的信息,判断第三边缘云节点中是否存储有待删除镜像;如果存储有待删除镜像,将第三边缘云节点中的存储的待删除镜像删除。It is explained here that when the network system 100 includes the edge management and control device 103, the central management and control device may specifically send a deletion instruction to the edge management and control device 103; the edge management and control device 103 receives the deletion instruction issued by the central management and control device, and then deletes the instruction from the Obtain the information of the image to be deleted in, and determine whether the image to be deleted is stored in the third edge cloud node according to the information of the image to be deleted; if the image to be deleted is stored, delete the image to be deleted in the third edge cloud node. Further, if the edge management and control device 103 is deployed in the third edge cloud node, the central management and control device 101 may specifically send a deletion instruction to the edge management and control device 103 in the third edge cloud node; the edge management and control device in the third edge cloud node 103 receives the delete instruction issued by the central management and control device, obtains the information of the image to be deleted from the delete instruction, and judges whether the image to be deleted is stored in the third edge cloud node according to the information of the image to be deleted; The image to be deleted stored in the third edge cloud node is deleted.
当中心管控设备将待删除镜像从镜像库中删除,且存储有待删除镜像的边缘云节点也将其中存储的待删除镜像删除后,镜像删除流程完成。When the central control device deletes the image to be deleted from the image library, and the edge cloud node storing the image to be deleted also deletes the image to be deleted stored in it, the image deletion process is completed.
对边缘云节点中的资源设备来说,无论以何种方式获取镜像后,在中心管控设备101或边缘管控设备103的控制下可通过硬件或软件支持的能力以虚拟化的形式为实例提供计算、网络和存储等资源,对应的镜像会以系统盘的形式挂载到对应的实例。在实例创建完成后,对实例尝试启动,在成功启动对应的实例后,就可以利用这些资源设备的能力提供云计算服务。其中,资源设备在边缘管控设备103的控制下为实例提供计算、网络和存储等资源包括:边缘管控设备根据中心管控设备提供的资源模板从边缘节云点内分配或预留的资源中申请相关的计算资源、存储资源和/或网络资源;通过调用目标边缘云节点内的计算、存储、网络等执行器进行相关资源的创建动作。其中,资源的创建动作包括:处理存储相关的资源,根据镜像的配置信息及镜像内容创建实例的系统盘,根据资源模板创建对应的数据盘;创建实例依赖的网络资源。例如IP地址、虚拟交换机等;以及结合资源模板创建实例所需的计算资源。For the resource devices in the edge cloud node, no matter how the image is obtained, under the control of the central control device 101 or the edge control device 103, it can provide computing for the instance in the form of virtualization through the ability of hardware or software support , Network, storage and other resources, the corresponding image will be mounted to the corresponding instance in the form of a system disk. After the instance is created, try to start the instance. After the corresponding instance is successfully started, the capabilities of these resource devices can be used to provide cloud computing services. Among them, the resource device provides computing, network, and storage resources for the instance under the control of the edge management and control device 103, including: the edge management and control device applies for related resources from the resources allocated or reserved in the edge node cloud point according to the resource template provided by the central management and control device The computing resources, storage resources and/or network resources of the target edge cloud node are used to create related resources by calling the calculation, storage, network and other executors in the target edge cloud node. Among them, resource creation actions include: processing storage-related resources, creating a system disk for an instance based on the configuration information and content of the image, creating a corresponding data disk based on the resource template, and creating network resources on which the instance depends. For example, IP addresses, virtual switches, etc.; and computing resources required to create instances in combination with resource templates.
运维管理功能:Operation and maintenance management functions:
在本申请实施例中,中心管控设备可以对边缘云节点中各应用、虚拟化组件、实例的状态(例如健康状态)、资源用量和/或基础设施情况等进行管控,实现远程运维、日志管理等。可选地,在图1a所示网络系统中,中心管控设备可以直接对各边缘云节点中各应用、虚拟化组件、实例的状态、资源用量和/或基础设施情况等进行管控,实现远程运维、日志管理等。In the embodiments of this application, the central management and control device can control the status (such as health status), resource usage and/or infrastructure conditions of each application, virtualization component, instance in the edge cloud node, and realize remote operation and maintenance, log Management etc. Optionally, in the network system shown in Figure 1a, the central management and control device can directly control the status, resource usage and/or infrastructure conditions of each application, virtualization component, instance in each edge cloud node, and realize remote operation. Maintenance, log management, etc.
可选地,在图1b所示网络系统中,中心管控设备可在边缘管控设备的协助下,对各边缘云节点进行远程运维、日志管理等。例如,边缘管控设备103可以对边缘云节点中各应用、虚拟化组件、实例的状态、资源用量和/或基础设施情况等进行监控,得到监控消息,将监控信息上报给中心管控设备。进一步,若每个边缘云节点中均部署有边缘管控设备,则每个边缘管控设备可以对其所属边缘云节点中各应用、虚拟化组件、实例的状态、资源用量和/或基础设施情况等进行监控,并将监控信息上报给中心管控设备。中心管控设备接收各边缘管控设备上报的监控信息,根据各边缘管控设备上报的监控信息对各边缘管控设备所属的边缘云节点进行远程运维和/或日志管理。Optionally, in the network system shown in FIG. 1b, the central management and control device can perform remote operation and maintenance, log management, etc. on each edge cloud node with the assistance of the edge management and control device. For example, the edge management and control device 103 can monitor the status, resource usage and/or infrastructure conditions of each application, virtualization component, instance in the edge cloud node, obtain monitoring information, and report the monitoring information to the central management and control device. Furthermore, if edge management and control devices are deployed in each edge cloud node, each edge management and control device can control the status of each application, virtualization component, instance, resource usage, and/or infrastructure conditions in the edge cloud node to which it belongs. Perform monitoring and report the monitoring information to the central control equipment. The central management and control device receives the monitoring information reported by each edge management and control device, and performs remote operation and maintenance and/or log management on the edge cloud node to which each edge management and control device belongs based on the monitoring information reported by each edge management and control device.
无论是哪种监控方式,中心管控设备可以统一监控各个边缘云节点的整体状态,这样可以更加合理的对边缘云节点进行资源调度、镜像管理以及运维管控。Regardless of the monitoring method, the central management and control device can uniformly monitor the overall status of each edge cloud node, so that resource scheduling, image management, and operation and maintenance management and control of edge cloud nodes can be more reasonable.
在此说明,在中心管控设备和边缘管控设备是逻辑设备的情况下,在物理范畴上,两者可以是分开的,也可以存在交叉。例如,中心管控设备作为一种逻辑概念,其部分能力可以部署到边缘云节点中的基础设施上。优选地,中心管控设备的能力可以部署到中心网络(例如数据中心、中心云或公共云)范围内的物理设备上,而边缘管控设备的能力部署到边缘云网络(例如一个或多个边缘云节点)范围内的物理设备上。当然,中心管控设备的能力也可以均部署在边缘云网络(例如一个或多个边缘云节点)范围内的物理设备上。It is explained here that in the case that the central control device and the edge control device are logical devices, in the physical category, the two can be separated or overlapped. For example, as a logical concept, the central control equipment can be deployed on the infrastructure of edge cloud nodes. Preferably, the capabilities of the central management and control device can be deployed to physical devices within the central network (such as a data center, central cloud, or public cloud), and the capabilities of the edge management and control device can be deployed to the edge cloud network (such as one or more edge clouds). Node) within the physical device. Of course, the capabilities of the central control device can also be deployed on physical devices within the edge cloud network (for example, one or more edge cloud nodes).
在本申请实施例提供的网络系统中,基于集中管控的方式对边缘云节点的资源,镜像,实例、运维,网络以及安全等进行统一管控,可以最大程度的对边缘云节点进行管理和协调,可降低出现单点自制或全网信息不同步而导致的错误,而且可以利用集中管控的特性达到资源调度的最优化,避免出现边缘局部资源浪费的情况。In the network system provided by the embodiments of the present application, the resources, mirroring, instances, operation and maintenance, network, and security of edge cloud nodes are uniformly controlled based on centralized management and control, which can manage and coordinate edge cloud nodes to the greatest extent , It can reduce errors caused by single-point self-control or unsynchronized information of the entire network, and can use the characteristics of centralized management to achieve the optimization of resource scheduling, avoiding the waste of local resources at the edge.
除了上述网络系统之外,本申请实施例从中心管控设备和边缘管控设备的角度提供了镜像管理方法,下面分别进行详细描述。In addition to the foregoing network system, the embodiments of the present application provide a mirror management method from the perspective of a central management and control device and an edge management and control device, which are described in detail below.
图2a为本申请示例性实施例提供的一种镜像管理方法的流程示意图。该实施例是从 中心管控设备的角度进行的描述,如图2a所示,该方法包括:Fig. 2a is a schematic flowchart of an image management method provided by an exemplary embodiment of this application. This embodiment is described from the perspective of central control equipment. As shown in Figure 2a, the method includes:
21a、确定需要向第一边缘云节点提供的目标镜像,第一边缘云节点是网络系统中任一边缘云节点;21a. Determine the target image that needs to be provided to the first edge cloud node, where the first edge cloud node is any edge cloud node in the network system;
22a、为第一边缘云节点提供目标镜像,以供第一边缘云节点利用目标镜像提供云计算服务。22a. Provide a target image for the first edge cloud node, so that the first edge cloud node uses the target image to provide cloud computing services.
在本实施例中,将中心管控设备与边缘云节点相结合,在中心管控设备的管控下,可以为边缘云节点提供所需的镜像,以供边缘云节点创建云计算服务对应的实例,这为“将云计算放到距离终端更近的边缘云节点中处理”提供了条件,进而可借助边缘云节点中的资源为用户提供云计算服务,有利于降低响应时延,降低带宽成本。关于边缘云节点的描述可参见前述实施例,在此不再赘述。In this embodiment, the central control device is combined with the edge cloud node. Under the management and control of the central control device, the edge cloud node can be provided with the required image for the edge cloud node to create a corresponding instance of the cloud computing service. It provides conditions for "putting cloud computing in edge cloud nodes closer to the terminal for processing", and can use the resources in edge cloud nodes to provide users with cloud computing services, which is conducive to reducing response delays and reducing bandwidth costs. For the description of the edge cloud node, refer to the foregoing embodiment, which will not be repeated here.
在实际应用中,需要为边缘云节点提供镜像的场景是多种多样的。例如,在用户(例如服务需求方)提交服务需求描述信息的情况下,中心管控设备可以确定需要为被调度的目标边缘云节点提供相应镜像。又例如,在边缘云节点上已有实例为用户提供云计算服务的情况下,用户需要进行业务扩容时,可以向中心管控设备提交扩容需求,为了实现扩容目的,需要为目前正为用户提供云计算服务的边缘云节点提供相应镜像,以便该边缘云节点基于镜像创建新的实例,从而达到扩容的目的。为便于描述和区分,在下面描述中,将需要为其提供镜像的边缘云节点记为第一边缘云节点,第一边缘云节点可以是网络系统中的任一边缘云节点,具体视应用场景而定。In practical applications, there are various scenarios where mirroring needs to be provided for edge cloud nodes. For example, in the case where a user (such as a service demander) submits service demand description information, the central management and control device can determine that it needs to provide a corresponding image for the scheduled target edge cloud node. For another example, when there are instances on edge cloud nodes that provide users with cloud computing services, when users need to expand their business, they can submit their expansion requirements to the central control equipment. In order to achieve the purpose of expansion, they need to provide cloud computing services for users. The edge cloud node of the computing service provides a corresponding image, so that the edge cloud node creates a new instance based on the image, so as to achieve the purpose of capacity expansion. For ease of description and distinction, in the following description, the edge cloud node that needs to be mirrored is recorded as the first edge cloud node. The first edge cloud node can be any edge cloud node in the network system, depending on the application scenario. Depends.
在本实施例中,以中心管控设备为第一边缘云节点提供目标镜像为例,对镜像管理流程进行说明。在需要为第一边缘云节点提供目标镜像时,中心管控设备可以先确定需要向第一边缘云节点提供的目标镜像;然后,为第一边缘云节点提供目标镜像,以供第一边缘云节点利用目标镜像提供云计算服务。In this embodiment, the central management and control device provides a target image for the first edge cloud node as an example to describe the image management process. When it is necessary to provide a target image for the first edge cloud node, the central management and control device can first determine the target image that needs to be provided to the first edge cloud node; then, provide the target image for the first edge cloud node for the first edge cloud node Use the target image to provide cloud computing services.
在一可选实施方式中,中心管控设备可以从镜像库中获取目标镜像,将目标镜像提供给第一边缘云节点,并将镜像的使用权限开放给相应用户。可选地,中心管控设备可以直接将目标镜像下发给第一边缘云节点,也可以指示第一边缘云节点到指定存储位置下载目标镜像。In an optional implementation manner, the central management and control device may obtain the target image from the image library, provide the target image to the first edge cloud node, and open the use right of the image to the corresponding user. Optionally, the central management and control device may directly issue the target image to the first edge cloud node, or instruct the first edge cloud node to download the target image to a designated storage location.
在另一可选实施方式中,中心管控设备维护有已下发镜像与已下发镜像所在边缘云节点的对应关系。该对应关系中可以包括已下发镜像的标识信息与已发下镜像所在边缘云节点的标识信息。已下发镜像是指中心管控设备已经提供(例如下发)给某个或某些边缘云节点的镜像;已下发镜像所在边缘云节点是指已下发镜像被提供给的边缘云节点。 同一镜像可能被提供给一个边缘云节点,也可能被提供给多个边缘云节点。In another optional implementation manner, the central management and control device maintains a correspondence between the issued image and the edge cloud node where the issued image is located. The correspondence relationship may include the identification information of the issued image and the identification information of the edge cloud node where the image has been issued. The issued image refers to the image that the central control device has provided (for example, issued) to one or some edge cloud nodes; the edge cloud node where the issued image is located refers to the edge cloud node to which the issued image is provided. The same image may be provided to one edge cloud node, or it may be provided to multiple edge cloud nodes.
基于所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系,在需要为第一边缘云节点提供目标镜像时,中心管控设备可以根据目标镜像的信息,在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配;若在该对应关系中匹配到与目标镜像对应的第二边缘云节点,这说明该目标镜像已经被提供给第二边缘云节点,则可以将第二边缘云节点处的目标镜像提供给第一边缘云节点;其中,第二边缘云节点也可以网络系统中的边缘云节点,其数量可以是一个,也可以是多个。在该实施方式中,中心管控设备无需直接向第一边缘云节点提供镜像,一定程度上可以减轻中心管控设备的处理负担,而且有利于提高镜像的获取效率。Based on the correspondence between the maintained issued image and the edge cloud node where the issued image is located, when a target image needs to be provided for the first edge cloud node, the central management and control device can use the information of the target The sent image is matched in the corresponding relationship between the edge cloud node where the sent image is located; if the second edge cloud node corresponding to the target image is matched in the corresponding relationship, it means that the target image has been provided to the second edge cloud Node, the target image at the second edge cloud node can be provided to the first edge cloud node; wherein, the second edge cloud node can also be an edge cloud node in the network system, and the number can be one or more . In this embodiment, the central management and control device does not need to directly provide the image to the first edge cloud node, which can reduce the processing burden of the central management and control device to a certain extent, and is beneficial to improve the efficiency of image acquisition.
在此说明,在网络系统包括边缘管控设备的情况下,中心管控设备具体可以将第二边缘云节点与目标镜像的信息发送给边缘管控设备,以供边缘管控设备根据第二边缘云节点与目标镜像的信息,将第二边缘云节点处的目标镜像提供给第一边缘云节点中的相应资源设备。进一步,若第一边缘云节点和第二边缘云节点中均部署有边缘管控设备,则中心管控设备具体可以将第二边缘云节点与目标镜像的信息发送给第一边缘云节点中的边缘管控设备,供第一边缘云节点中的边缘管控设备通过其与第二边缘云节点中的边缘管控设备之间的通信通道从第二边缘云节点处获取目标镜像并提供给第一边缘云节点中的相应资源设备。It is explained here that when the network system includes an edge management and control device, the central management and control device can specifically send the information of the second edge cloud node and target mirror to the edge management and control device, so that the edge management and control device can use the second edge cloud node and the target The image information provides the target image at the second edge cloud node to the corresponding resource device in the first edge cloud node. Further, if edge management and control devices are deployed in both the first edge cloud node and the second edge cloud node, the central management and control device may specifically send the information of the second edge cloud node and the target image to the edge management and control in the first edge cloud node Device for the edge management and control device in the first edge cloud node to obtain the target image from the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node and provide it to the first edge cloud node The corresponding resource equipment.
其中,从边缘管控设备的角度来看,一种镜像管理方法的流程如图2b所示,包括以下步骤:Among them, from the perspective of edge management and control equipment, the process of an image management method is shown in Figure 2b, including the following steps:
21b、接收中心管控设备下发的第二边缘云节点的信息以及需要提供给第一边缘云节点的目标镜像的信息;21b. Receive the information of the second edge cloud node issued by the central management and control device and the information of the target image that needs to be provided to the first edge cloud node;
22b、根据第二边缘云节点与目标镜像的信息,从第二边缘云节点获取目标镜像。22b. Obtain the target image from the second edge cloud node according to the information of the second edge cloud node and the target image.
对边缘管控设备来说,接收中心管控设备下发的第二边缘云节点与目标镜像的信息,根据第二边缘云节点与目标镜像的信息,从第二边缘云节点获取目标镜像,进而将目标镜像提供给第一边缘云节点中相应资源设备,供相应资源设备根据目标镜像提供云计算服务。For the edge management and control device, it receives the information of the second edge cloud node and the target image issued by the central management and control device, and obtains the target image from the second edge cloud node according to the information of the second edge cloud node and the target image, and then the target image The image is provided to the corresponding resource device in the first edge cloud node for the corresponding resource device to provide cloud computing services according to the target image.
可选地,边缘管控设备可以是第一边缘云节点中的边缘管控设备,则第一边缘云节点中的边缘管控设备可接收中心管控设备发送的第二边缘云节点和目标镜像的信息,根据第二边缘云节点与目标镜像的信息,通过其与第二边缘云节点中的边缘管控设备之间的通信通道,从第二边缘云节点处获取目标镜像,将目标镜像提供给第一边缘云节点中 相应资源设备,供相应资源设备根据目标镜像创建可提供云计算服务的实例,进而提供云计算服务。Optionally, the edge management and control device may be the edge management and control device in the first edge cloud node, and the edge management and control device in the first edge cloud node may receive the information of the second edge cloud node and the target image sent by the central management and control device, according to The information of the second edge cloud node and the target image is obtained from the second edge cloud node through the communication channel between it and the edge management and control device in the second edge cloud node, and the target image is provided to the first edge cloud The corresponding resource device in the node is used for the corresponding resource device to create an instance that can provide cloud computing services according to the target image, and then provide cloud computing services.
在一些可选实施例中,中心管控设备还可以控制不同边缘管控设备之间建立通信通道,并负责维护边缘管控设备之间已有通信通道的信息,例如可以维护哪些边缘管控设备之间已经建立通信通道,通信通道何时建立,通信通道的状态,保持时长等信息。基于此,在确定目标镜像已经被提供给第二边缘云节点之后,且在将第二边缘云节点和目标镜像的信息提供给第一边缘云节点中的边缘管控设备之前,本实施例方法还可以包括:根据所维护的边缘管控设备之间已有通信通道的信息,判断第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间是否已经存在通信通道;若判断结果为否,即第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间尚不存在通信通道,则可以控制第一边缘云节点中的边缘管控设备和第二边缘云节点中的边缘管控设备建立通信通道,以便于第一边缘云节点中的边缘管控设备能够通过该通信通道从第二边缘云节点处获取目标镜像。并且,在第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备建立通信通道之后,中心管控设备将第二边缘云节点和目标镜像的信息提供给第一边缘云节点中的边缘管控设备。当然,若判断结果为是,即第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间已经存在通信通道,则可以直接将第二边缘云节点和目标镜像的信息提供给第一边缘云节点中的边缘管控设备。In some optional embodiments, the central management and control device can also control the establishment of communication channels between different edge management and control devices, and is responsible for maintaining the information of the existing communication channels between the edge management and control devices, for example, which edge management and control devices can be maintained. The communication channel, when the communication channel was established, the status of the communication channel, and the retention time information. Based on this, after determining that the target image has been provided to the second edge cloud node, and before providing information about the second edge cloud node and the target image to the edge management and control device in the first edge cloud node, the method in this embodiment also It may include: judging whether there is already a communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node based on the information of the existing communication channel between the maintained edge management and control devices; if If the judgment result is no, that is, there is no communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node, then the edge management and control device in the first edge cloud node and the second edge cloud node can be controlled. 2. The edge management and control device in the edge cloud node establishes a communication channel, so that the edge management and control device in the first edge cloud node can obtain the target image from the second edge cloud node through the communication channel. In addition, after the edge management and control device in the first edge cloud node establishes a communication channel with the edge management and control device in the second edge cloud node, the central management and control device provides information about the second edge cloud node and the target image to the first edge cloud node Edge control equipment in China. Of course, if the judgment result is yes, that is, there is already a communication channel between the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node, you can directly mirror the second edge cloud node and the target The information is provided to the edge management and control device in the first edge cloud node.
在一些可选实施例中,为了保证第一边缘云节点获取目标镜像的效率,在将第二边缘云节点处的目标镜像提供给第一边缘云节点之前,本实施例的方法还可以包括:根据第二边缘云节点的属性,判断第二边缘云节点是否适合为第一边缘云节点提供目标镜像;若判断结果为是,即第二边缘云节点适合为第一边缘云节点提供目标镜像,则可以将第二边缘云节点处的目标镜像提供给第一边缘云节点;若判断结果为否,则可以从镜像库中获取目标镜像并将目标镜像提供给第一边缘云节点。In some optional embodiments, in order to ensure the efficiency of obtaining the target image by the first edge cloud node, before providing the target image at the second edge cloud node to the first edge cloud node, the method in this embodiment may further include: According to the attributes of the second edge cloud node, determine whether the second edge cloud node is suitable for providing the target image for the first edge cloud node; if the judgment result is yes, that is, the second edge cloud node is suitable for providing the target image for the first edge cloud node, The target image at the second edge cloud node can be provided to the first edge cloud node; if the judgment result is no, the target image can be obtained from the image library and the target image can be provided to the first edge cloud node.
值得说明的是,根据应用场景和应用需求的不同,可以结合第二边缘云节点的不同属性,从不同角度判断第二边缘云节点是否适合为第一边缘云节点提供目标镜像。下面举例说明:It is worth noting that according to different application scenarios and application requirements, different attributes of the second edge cloud node can be combined to determine whether the second edge cloud node is suitable for providing the target image for the first edge cloud node from different angles. The following example illustrates:
例如,可以结合第二边缘云节点所属的运营商,判断第二边缘云节点所属的运营商与第一边缘云节点所属的运营商是否相同;若判断结果为是,说明第二边缘云节点与第一边缘云节点是同运营商下的边缘云节点,两者可以进行数据传输,且数据传输速率相 对于跨运营商的数据传输速率要快,适合为第一边缘云节点提供目标镜像。For example, the operator to which the second edge cloud node belongs can be combined to determine whether the operator to which the second edge cloud node belongs is the same as the operator to which the first edge cloud node belongs; if the judgment result is yes, it means that the second edge cloud node is The first edge cloud node is an edge cloud node under the same operator. The two can perform data transmission, and the data transmission rate is faster than the cross-operator data transmission rate, which is suitable for providing target mirroring for the first edge cloud node.
又例如,可以结合第二边缘云节点的位置属性,判断第二边缘云节点到第一边缘云节点之间的距离是否小于设定的距离阈值;若判断结果为是,说明第二边缘云节点与第一边缘云节点相距较近,适合为第一边缘云节点提供目标镜像,这样由与第一边缘云节点相距较近的第二边缘云节点为第一边缘云节点提供镜像,便于第一边缘云节点快速获取到镜像,提高效率。第二边缘云节点到第一边缘云节点之间的距离可以是两个边缘云节点之间的平均距离,也可以是两个边缘云节点的中心之间的距离,还可以是两个边缘云节点相距最近的外边缘之间的距离等,可根据需求灵活定义。For another example, the location attribute of the second edge cloud node can be combined to determine whether the distance between the second edge cloud node and the first edge cloud node is less than the set distance threshold; if the judgment result is yes, the second edge cloud node It is close to the first edge cloud node, which is suitable for providing target mirroring for the first edge cloud node. In this way, the second edge cloud node that is closer to the first edge cloud node provides a mirror image for the first edge cloud node, which is convenient for the first edge cloud node. The edge cloud node quickly obtains the image to improve efficiency. The distance between the second edge cloud node and the first edge cloud node can be the average distance between two edge cloud nodes, or the distance between the centers of two edge cloud nodes, or two edge clouds The distance between nodes and the nearest outer edge can be flexibly defined according to requirements.
又例如,可以结合第二边缘云节点的带宽属性,判断第二边缘云节点的可用带宽是否大于设定带宽阈值;若判断结果为是,说明第二边缘云节点的带宽资源比较充裕,适合为第一边缘云节点提供目标镜像,这样由带宽资源比较充裕的第二边缘云节点为第一边缘云节点提供镜像,可保证镜像的传输速率,便于第一边缘云节点快速获取到镜像,提高效率。For another example, the bandwidth attribute of the second edge cloud node can be combined to determine whether the available bandwidth of the second edge cloud node is greater than the set bandwidth threshold; if the determination result is yes, it means that the bandwidth resource of the second edge cloud node is relatively abundant, and it is suitable for The first edge cloud node provides the target image, so that the second edge cloud node with sufficient bandwidth resources provides the image for the first edge cloud node, which can ensure the transmission rate of the image, facilitate the first edge cloud node to quickly obtain the image, and improve efficiency .
又例如,可以结合第二边缘云节点的负载属性,判断第二边缘云节点的负载量是否小于设定负载量阈值;若判断结果为是,说明第二边缘云节点的负载较轻,适合为第一边缘云节点提供目标镜像,这样由负载较轻的第二边缘云节点为第一边缘云节点提供镜像,一方面可实现负载均衡,另一方面也便于第一边缘云节点快速获取到镜像,提高效率。For another example, the load attribute of the second edge cloud node can be combined to determine whether the load of the second edge cloud node is less than the set load threshold; if the judgment result is yes, it means that the load of the second edge cloud node is lighter, and it is suitable for The first edge cloud node provides the target image, so that the second edge cloud node with lighter load provides the image for the first edge cloud node. On the one hand, it can achieve load balancing, and on the other hand, it is also convenient for the first edge cloud node to quickly obtain the image. ,Improve efficiency.
值得说明的是,上面列举的几种方式可以择一使用,也可以以任意组合方式组合使用,关于组合使用的情况,对此不做过多描述。It is worth noting that the several methods listed above can be used alternatively or combined in any combination. Regarding the combined use, this will not be described too much.
进一步,在第二边缘云节点为多个的情况下,可以结合第二边缘云节点的多个属性,对上述几种方式进行组合使用,进而从中选择出适合为第一边缘云节点提供目标镜像的第二边缘云节点。例如,若第二边缘云节点为多个,则可以结合多个第二边缘云节点所属的运营商,从多个第二边缘云节点中选择出与第一边缘云节点属于同一运营商的第二边缘云节点;进而,若选择出的第二边缘云节点仍为多个,则可以进一步根据选择出的第二边缘云节点的负载量,从中选择负载量最小或低于设定负载量阈值的第二边缘云节点,为第一边缘云节点提供目标镜像。Further, in the case of multiple second edge cloud nodes, the multiple attributes of the second edge cloud node can be combined to use the above several methods in combination, and then select a target image suitable for the first edge cloud node. The second edge cloud node. For example, if there are multiple second edge cloud nodes, the operators to which the multiple second edge cloud nodes belong can be combined to select from the multiple second edge cloud nodes that belong to the same operator as the first edge cloud node. Two edge cloud nodes; furthermore, if there are still multiple second edge cloud nodes selected, the load of the selected second edge cloud node may be further selected from the load to be the smallest or lower than the set load threshold The second edge cloud node provides a target image for the first edge cloud node.
在一些可选实施例中,为了节约资源,在将第二边缘云节点处的目标镜像提供给第一边缘云节点之前,本实施例的方法还包括:判断所维护的已下发镜像与已下发镜像所 在边缘云节点的对应关系中是否包括第一边缘云节点;若判断结果为是,表明已经向第一边缘云节点提供过目标镜像,且第一边缘云节点中仍保存有目标镜像,则可以将目标镜像的信息提供给第一边缘云节点,供第一边缘云节点读取其中存储的目标镜像,无需再次传输目标镜像,这可节约传输目标镜像消耗的网络资源等;若判断结果为否,表明尚未向第一边缘云节点提供过目标镜像,或者第一边缘云节点中已经不存在目标镜像,则可以将第二边缘云节点处的目标镜像的信息提供给第一边缘云节点。其中,在第一边缘云节点中部署有边缘管控设备的情况下,若中心管控设备判断出所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中包含目标镜像,可以将目标镜像的信息提供给第一边缘云节点中的边缘管控设备,第一边缘云节点中的边缘管控设备根据目标镜像的信息可以从第一边缘云节点中存储镜像的空间中获取目标镜像,将目标镜像提供给第一边缘云节点中的相应资源设备,以供相应资源设备根据目标镜像创建可提供云计算服务的实例。In some optional embodiments, in order to save resources, before the target image at the second edge cloud node is provided to the first edge cloud node, the method of this embodiment further includes: determining whether the maintained issued image is different from the Whether the corresponding relationship of the edge cloud node where the image is issued includes the first edge cloud node; if the judgment result is yes, it indicates that the target image has been provided to the first edge cloud node, and the target image is still stored in the first edge cloud node , The information of the target image can be provided to the first edge cloud node for the first edge cloud node to read the target image stored therein, without the need to transmit the target image again, which can save network resources consumed by transmitting the target image; If the result is no, it indicates that the target image has not been provided to the first edge cloud node, or the target image no longer exists in the first edge cloud node, then the information of the target image at the second edge cloud node can be provided to the first edge cloud node. Among them, when the edge management and control device is deployed in the first edge cloud node, if the central management and control device determines that the corresponding relationship between the maintained issued image and the edge cloud node where the issued image contains the target image, the target image The image information is provided to the edge management and control device in the first edge cloud node, and the edge management and control device in the first edge cloud node can obtain the target image from the storage space of the image in the first edge cloud node according to the information of the target image, and set the target image The image is provided to the corresponding resource device in the first edge cloud node, so that the corresponding resource device can create an instance that can provide cloud computing services according to the target image.
进一步可选地,同一边缘云节点有可能为同一用户或不同用户提供多种云计算服务,也就可能接收到多个镜像,这些镜像会被存储在边缘云节点中。边缘云节点可以提供一定存储空间,用来存储镜像。考虑到边缘云节点中镜像的存储空间有一定限制,为了能有足够的存储空间存储新接收的镜像,边缘云节点需要对所存储的镜像进行淘汰处理。在本实施例中,中心管控设备负责为边缘云节点提供镜像的淘汰策略。中心管控设备可以生成镜像的淘汰策略,将该淘汰策略下发至各边缘云节点;相应地,各边缘云节点接收中心管控设备发送的镜像的淘汰策略,根据该淘汰策略对其中存储的镜像进行淘汰处理。Further optionally, the same edge cloud node may provide multiple cloud computing services for the same user or different users, and may receive multiple images, and these images will be stored in the edge cloud node. Edge cloud nodes can provide a certain amount of storage space for storing images. Considering that the storage space of the image in the edge cloud node is limited, in order to have enough storage space to store the newly received image, the edge cloud node needs to eliminate the stored image. In this embodiment, the central management and control device is responsible for providing a mirroring elimination strategy for edge cloud nodes. The central management and control device can generate a mirror elimination strategy, and deliver the elimination strategy to each edge cloud node; accordingly, each edge cloud node receives the mirror elimination strategy sent by the central control device, and performs processing on the images stored in it according to the elimination strategy Eliminate processing.
可选地,淘汰策略可以是接收时间最早淘汰策略,即按照镜像的接收时间,优先淘汰接收时间最早的镜像。或者,淘汰策略可以是使用频次最少淘汰策略,即按照镜像的使用频率,优先淘汰使用频次最少的镜像。或者,淘汰策略可以是占用资源最大淘汰策略,即按照镜像占用的存储空间的大小,优先淘汰占用存储空间最大的镜像。Optionally, the elimination strategy may be an elimination strategy with the earliest receiving time, that is, according to the receiving time of the image, the image with the earliest receiving time is preferentially eliminated. Alternatively, the elimination strategy may be the elimination strategy with the least frequency of use, that is, the image with the least frequency of use is preferentially eliminated according to the frequency of use of the image. Alternatively, the elimination strategy may be the elimination strategy with the largest resource occupation, that is, according to the size of the storage space occupied by the image, the image with the largest storage space is first eliminated.
对边缘云节点来说,可以定期按照上述淘汰策略,对本节点中存储的镜像进行淘汰处理;或者,也可以在每当需要接收或获取新的镜像时,判断本节点中是否有足够存储空间存储新的镜像,并在本节点中没有足够存储空间时,按照上述淘汰策略,对本节点中存储的镜像进行淘汰处理,以便于存储新的镜像。以需要从第二边缘云节点获取目标镜像为例,在第一边缘云节点中的边缘管控设备从第二边缘云节点处获取目标镜像之前,第一边缘云节点中的边缘管控设备可以判断第一边缘云节点中是否有足够存储空间存储 目标镜像;若第一边缘云节点中没有足够存储空间,则根据淘汰策略,对第一边缘云节点中存储的镜像进行淘汰处理,以便有足够存储空间存储目标镜像。可选地,若第一边缘云节点中有足够存储空间,则可以暂时不对第一边缘云节点中存储的镜像进行淘汰处理。For edge cloud nodes, the image stored in the node can be eliminated regularly according to the above elimination strategy; or, whenever a new image needs to be received or acquired, it can be judged whether there is enough storage space in the node for storage If there is not enough storage space in the current node for the new image, the image stored in the node is eliminated according to the above elimination strategy, so as to store the new image. Taking the need to obtain the target image from the second edge cloud node as an example, before the edge management and control device in the first edge cloud node obtains the target image from the second edge cloud node, the edge management and control device in the first edge cloud node can determine the first edge cloud node. Whether there is enough storage space in an edge cloud node to store the target image; if there is not enough storage space in the first edge cloud node, the image stored in the first edge cloud node will be eliminated according to the elimination strategy, so that there is enough storage space Store the target image. Optionally, if there is enough storage space in the first edge cloud node, the image stored in the first edge cloud node may not be eliminated temporarily.
在一些可选实施例中,中心管控设备还可以接收新增镜像的第一请求,第一请求包括镜像构建信息;向镜像构建设备发送构建请求,构建请求包括镜像构建信息,以供镜像构建设备根据镜像构建信息构建与边缘云环境适配的镜像;接收镜像构建设备返回的新构建的镜像,并添加到镜像库中。In some optional embodiments, the central management and control device may also receive a first request for adding a new image, the first request includes image construction information; and sends a construction request to the image construction device, the construction request includes image construction information for the image construction device Construct an image adapted to the edge cloud environment according to the image construction information; receive the newly constructed image returned by the image construction device and add it to the image library.
在一些可选实施例中,中心管控设备还可以接收新增镜像的第二请求,第二请求包括待新增镜像;将待新增镜像发送给镜像构建设备,以供镜像构建设备将待新增镜像与边缘云节点环境进行适配;若接收到镜像构建设备返回的待新增镜像与边缘云节点环境适配的消息,将待新增镜像添加至镜像库中。若接收到镜像构建设备返回的待新增镜像与边缘云节点环境不适配的消息,通知镜像提交方对待新增镜像进行重构后重新提交,或者通知镜像提交方提供待新增镜像的重构方法,以供镜像构建设备按照重构方法将待新增镜像重构成与边缘云节点环境适配的镜像。可选地,镜像提交方可以是服务需求方,但不限于此。In some optional embodiments, the central management and control device may also receive a second request for adding a new image. The second request includes the image to be added; the image to be added is sent to the image building device, so that the image building device will The additional image is adapted to the edge cloud node environment; if the message that the image to be added is adapted to the edge cloud node environment returned from the image building device is received, the image to be added is added to the image library. If it receives a message from the mirror construction device that the image to be added is not compatible with the edge cloud node environment, notify the image submitting party to re-submit the newly added image after reconstruction, or notify the image submitting party to provide the re-submission of the image to be added. Construction method, so that the image construction device reconstructs the to-be-added image into an image adapted to the edge cloud node environment according to the reconstruction method. Optionally, the image submitting party may be the service demanding party, but is not limited to this.
在一些可选实施例中,中心管控设备还可以确定待删除镜像,将待删除镜像从镜像库中删除;以及根据待删除镜像,在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配;若在对应关系中匹配到与待删除镜像对应的第三边缘云节点,向第三边缘云节点发送删除指令,删除指令携带有待删除镜像的信息,以指示第三边缘云节点将所存储的待删除镜像删除。In some optional embodiments, the central management and control device may also determine the image to be deleted, and delete the image to be deleted from the image library; and according to the image to be deleted, in the edge cloud where the maintained issued image and the issued image are located Matching is performed in the corresponding relationship of the nodes; if the third edge cloud node corresponding to the image to be deleted is matched in the corresponding relationship, a delete instruction is sent to the third edge cloud node, and the delete instruction carries information about the image to be deleted to indicate the third edge cloud node. The edge cloud node deletes the stored image to be deleted.
可选地,上述确定待删除镜像可以采用但不限于以下至少一种方式:Optionally, the foregoing determination of the image to be deleted may adopt but is not limited to at least one of the following methods:
统计镜像库中各镜像的使用频次,将使用频次小于频次阈值的镜像作为待删除镜像;Count the usage frequency of each mirror in the mirror library, and use the mirror whose usage frequency is less than the frequency threshold as the mirror to be deleted;
接收用户提交的镜像删除请求,将镜像删除请求指示删除的镜像作为待删除镜像。Receive the mirror deletion request submitted by the user, and use the mirror deleted in the mirror deletion request as the mirror to be deleted.
在此说明,在网络系统包括边缘管控设备的情况下,中心管控设备具体可以将删除指令发送给边缘管控设备;进一步,若第三边缘云节点中部署有边缘管控设备,则中心管控设备具体可以将删除指令发送给第三边缘云节点中的边缘管控设备。对边缘管控设备来说,接收中心管控设备发送的删除指令,删除指令携带有待删除镜像的信息;根据待删除镜像的信息,判断第三边缘云节点中是否存储有待删除镜像;如果存储有待删除 镜像,将待删除镜像删除。It is explained here that when the network system includes edge management and control equipment, the central management and control equipment can specifically send a delete instruction to the edge management and control equipment; further, if the edge management and control equipment is deployed in the third edge cloud node, the central management and control equipment can specifically be Send the deletion instruction to the edge management and control device in the third edge cloud node. For the edge management and control device, it receives the delete instruction sent by the central control device, and the delete instruction carries the information of the image to be deleted; according to the information of the image to be deleted, judge whether the image to be deleted is stored in the third edge cloud node; if the image is stored To delete the image to be deleted.
当中心管控设备将待删除镜像从镜像库中删除,且存储有待删除镜像的边缘云节点将其中存储的待删除镜像删除后,镜像删除流程完成。When the central control device deletes the image to be deleted from the mirror library, and the edge cloud node storing the image to be deleted deletes the image to be deleted stored in it, the image deletion process is completed.
需要说明的是,在上述实施例及附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如21a、22a等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。It should be noted that some processes described in the above embodiments and drawings include multiple operations appearing in a specific order, but it should be clearly understood that these operations may not be performed in the order in which they appear in this article. Or execute in parallel. The sequence numbers of operations, such as 21a, 22a, etc., are only used to distinguish different operations. The sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel. It should be noted that the descriptions of "first" and "second" in this article are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, nor do they limit the "first" and "second" Are different types.
图3为本申请示例性实施例提供的一种中心管控设备的结构示意图。如图3所示,该设备包括:存储器31和处理器32。FIG. 3 is a schematic structural diagram of a central management and control device provided by an exemplary embodiment of this application. As shown in FIG. 3, the device includes: a memory 31 and a processor 32.
存储器31,用于存储计算机程序,并可被配置为存储其它各种数据以支持在中心管控设备上的操作。这些数据的示例包括用于在中心管控设备上操作的任何应用程序或方法的指令,消息,图片,视频等。The memory 31 is used to store computer programs, and can be configured to store various other data to support operations on the central control device. Examples of these data include instructions, messages, pictures, videos, etc. used to operate any application or method on the central control device.
处理器32,与存储器31耦合,用于执行存储器31中的计算机程序,以用于:确定需要向第一边缘云节点提供的目标镜像,第一边缘云节点是网络系统中任一边缘云节点;为第一边缘云节点提供目标镜像,以供第一边缘云节点利用目标镜像提供云计算服务。The processor 32 is coupled with the memory 31 and is configured to execute a computer program in the memory 31 to determine a target image that needs to be provided to the first edge cloud node, which is any edge cloud node in the network system ; Provide a target image for the first edge cloud node, so that the first edge cloud node uses the target image to provide cloud computing services.
在一可选实施例中,基于此,处理器32在为第一边缘云节点提供目标应用程序时,具体用于:根据目标镜像的信息,在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配;若在对应关系中匹配到与目标镜像对应的第二边缘云节点,将第二边缘云节点处的目标镜像提供给第一边缘云节点;其中,第二边缘云节点是所述网络系统中的边缘云节点。In an optional embodiment, based on this, when the processor 32 provides the target application for the first edge cloud node, it is specifically configured to: according to the information of the target image, perform the following steps between the maintained issued image and the issued image Match in the corresponding relationship of the edge cloud node where it is located; if the second edge cloud node corresponding to the target image is matched in the corresponding relationship, the target image at the second edge cloud node is provided to the first edge cloud node; where The second edge cloud node is an edge cloud node in the network system.
在一可选实施例中,如图3所示,中心管控设备还包括:通信组件33。处理器32在将第二边缘云节点处的目标镜像提供给第一边缘云节点时,具体用于:通过通信组件33将第二边缘云节点与目标镜像的信息提供给网络系统中的边缘管控设备,以供边缘管控设备将第二边缘云节点处的目标镜像提供给第一边缘云节点。In an optional embodiment, as shown in FIG. 3, the central management and control device further includes: a communication component 33. When the processor 32 provides the target image at the second edge cloud node to the first edge cloud node, it is specifically used to: provide information about the second edge cloud node and the target image to the edge management and control in the network system through the communication component 33 Device, so that the edge management and control device provides the target image at the second edge cloud node to the first edge cloud node.
进一步,在第一边缘云节点和第二边缘云节点中均部署有边缘管控设备的情况下,处理器32具体用于:通过通信组件33将第二边缘云节点与目标镜像的信息提供给第一边缘云节点中的边缘管控设备,以供第一边缘云节点中的边缘管控设备通过其与第二边 缘云节点中的边缘管控设备之间的通信通道从第二边缘云节点处获取目标镜像并提供给第一边缘云节点中的相应资源设备。Further, in the case where edge management and control devices are deployed in both the first edge cloud node and the second edge cloud node, the processor 32 is specifically configured to: provide the second edge cloud node and target mirror information to the second edge cloud node through the communication component 33 An edge management and control device in an edge cloud node for the edge management and control device in the first edge cloud node to obtain a target image from the second edge cloud node through the communication channel between the edge management and control device in the second edge cloud node and the edge management and control device in the second edge cloud node And provide it to the corresponding resource device in the first edge cloud node.
在一可选实施例中,处理器32还用于:根据所维护的边缘管控设备之间已有通信通道的信息,判断第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备之间是否已经存在通信通道;若判断结果为否,控制第一边缘云节点中的边缘管控设备与第二边缘云节点中的边缘管控设备建立通信通道,以供第一边缘云节点中的边缘管控设备基于该通信通道从第二边缘云节点处获取目标镜像。In an optional embodiment, the processor 32 is further configured to: determine the edge management and control device in the first edge cloud node and the edge management and control device in the second edge cloud node according to the information of the existing communication channel between the maintained edge management and control devices Whether there is a communication channel between edge management and control devices; if the judgment result is no, control the edge management and control device in the first edge cloud node to establish a communication channel with the edge management and control device in the second edge cloud node for the first edge cloud node The edge management and control device in obtains the target image from the second edge cloud node based on the communication channel.
在一可选实施例中,处理器32还用于:在将第二边缘云节点处的目标镜像提供给第一边缘云节点之前,根据第二边缘云节点的属性,判断第二边缘云节点是否适合为第一边缘云节点提供目标镜像;若判断结果为是,执行将第二边缘云节点处的目标镜像提供给第一边缘云节点的操作。In an optional embodiment, the processor 32 is further configured to: before providing the target image at the second edge cloud node to the first edge cloud node, determine the second edge cloud node according to the attributes of the second edge cloud node Whether it is suitable to provide the target image for the first edge cloud node; if the judgment result is yes, perform the operation of providing the target image at the second edge cloud node to the first edge cloud node.
进一步,处理器32在判断第二边缘云节点是否适合为第一边缘云节点提供目标镜像时,具体执行以下至少一种判断操作:Further, when determining whether the second edge cloud node is suitable for providing the target image for the first edge cloud node, the processor 32 specifically performs at least one of the following determining operations:
判断第二边缘云节点所属的运营商与第一边缘云节点所属的运营商是否相同;Determine whether the operator to which the second edge cloud node belongs is the same as the operator to which the first edge cloud node belongs;
判断第二边缘云节点到第一边缘云节点之间的距离是否小于设定距离阈值;Judging whether the distance between the second edge cloud node and the first edge cloud node is less than a set distance threshold;
判断第二边缘云节点的可用带宽是否大于设定带宽阈值;Determine whether the available bandwidth of the second edge cloud node is greater than the set bandwidth threshold;
判断第二边缘云节点的负载量是否小于设定负载量阈值;Determine whether the load of the second edge cloud node is less than a set load threshold;
若至少一种判断操作的结果均为是,确定第二边缘云节点适合为第一边缘云节点提供目标镜像。If the result of at least one judgment operation is all yes, it is determined that the second edge cloud node is suitable for providing the target image for the first edge cloud node.
在一可选实施例中,处理器32还用于:在将第二边缘云节点处的目标镜像提供给第一边缘云节点之前,判断第二边缘云节点中是否包括第一边缘云节点;若判断结果为否,执行将第二边缘云节点处的目标镜像提供给第一边缘云节点的操作;若判断结果为是,通过通信组件33将目标镜像的信息提供给第一边缘云节点,以供第一边缘云节点读取其中存储的目标镜像。其中,在第一边缘云节点中部署有边缘管控设备的情况下,若处理器32判断出所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中包含目标镜像,可以通过通信组件33将目标镜像的信息提供给第一边缘云节点中的边缘管控设备,第一边缘云节点中的边缘管控设备根据目标镜像的信息可以从第一边缘云节点中存储镜像的空间中获取目标镜像,将目标镜像提供给第一边缘云节点中的相应资源设备,以供相应资源设备根据目标镜像创建可提供云计算服务的实例。In an optional embodiment, the processor 32 is further configured to: before providing the target image at the second edge cloud node to the first edge cloud node, determine whether the second edge cloud node includes the first edge cloud node; If the judgment result is no, perform the operation of providing the target image at the second edge cloud node to the first edge cloud node; if the judgment result is yes, provide the target image information to the first edge cloud node through the communication component 33, For the first edge cloud node to read the target image stored therein. Wherein, in the case where the edge management and control device is deployed in the first edge cloud node, if the processor 32 determines that the correspondence between the maintained issued image and the edge cloud node where the issued image contains the target image, the target image can be communicated The component 33 provides the target image information to the edge management and control device in the first edge cloud node, and the edge management and control device in the first edge cloud node can obtain the target from the storage space of the image in the first edge cloud node according to the information of the target image. Mirroring, providing the target image to the corresponding resource device in the first edge cloud node, so that the corresponding resource device can create an instance that can provide cloud computing services according to the target image.
在一可选实施例中,处理器32还用于:通过通信组件33接收新增镜像的第一请求, 第一请求包括镜像构建信息;向镜像构建设备发送构建请求,构建请求包括镜像构建信息,以供镜像构建设备根据镜像构建信息构建与边缘云环境适配的镜像;接收镜像构建设备返回的新构建的镜像,并添加到镜像库中。In an optional embodiment, the processor 32 is further configured to: receive a first request for adding a new image through the communication component 33, where the first request includes image construction information; and send a construction request to the image construction device, the construction request includes the image construction information , So that the mirror construction device constructs a mirror adapted to the edge cloud environment according to the mirror construction information; receives the newly constructed mirror returned by the mirror construction device and adds it to the mirror library.
在一可选实施例中,处理器32还用于:通过通信组件33接收新增镜像的第二请求,第二请求包括待新增镜像;将待新增镜像发送给镜像构建设备,以供镜像构建设备将待新增镜像与边缘云节点环境进行适配;若接收到镜像构建设备返回的待新增镜像与边缘云节点环境适配的消息,将待新增镜像添加至镜像库中;若接收到镜像构建设备返回的待新增镜像与边缘云节点环境不适配的消息,通知镜像提交方对待新增镜像进行重构后重新提交,或者通知镜像提交方提供待新增镜像的重构方法,以供镜像构建设备按照重构方法将待新增镜像重构成与边缘云节点环境适配的镜像。In an optional embodiment, the processor 32 is further configured to: receive a second request for adding a new image through the communication component 33, the second request includes the image to be added; and send the image to be added to the image building device for The image construction device adapts the image to be added to the edge cloud node environment; if it receives a message from the image construction device that the image to be added is adapted to the edge cloud node environment, it adds the image to be added to the image library; If it receives a message from the mirror construction device that the image to be added is not compatible with the edge cloud node environment, notify the image submitting party to re-submit the newly added image after reconstruction, or notify the image submitting party to provide the re-submission of the image to be added. Construction method, so that the image construction device reconstructs the to-be-added image into an image adapted to the edge cloud node environment according to the reconstruction method.
在一可选实施例中,处理器32还用于:确定待删除镜像,将待删除镜像从镜像库中删除;以及根据待删除镜像,在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配;若在对应关系中匹配到与待删除镜像对应的第三边缘云节点,通过通信组件33向第三边缘云节点发送删除指令,删除指令携带有待删除镜像的信息,以指示第三边缘云节点将其中存储的待删除镜像删除。In an optional embodiment, the processor 32 is further configured to: determine the image to be deleted, delete the image to be deleted from the mirror library; and, according to the image to be deleted, locate the maintained issued image and the issued image. Matching is performed in the corresponding relationship of the edge cloud nodes; if the third edge cloud node corresponding to the image to be deleted is matched in the corresponding relationship, a deletion instruction is sent to the third edge cloud node through the communication component 33, and the deletion instruction carries the image to be deleted Information to instruct the third edge cloud node to delete the image to be deleted stored therein.
进一步,处理器32在确定待删除镜像时,具体用于执行以下至少一种操作:Further, the processor 32 is specifically configured to perform at least one of the following operations when determining the image to be deleted:
统计镜像库中各镜像的使用频次,将使用频次小于频次阈值的镜像作为待删除镜像;Count the usage frequency of each mirror in the mirror library, and use the mirror whose usage frequency is less than the frequency threshold as the mirror to be deleted;
接收用户提交的镜像删除请求,将镜像删除请求指示删除的镜像作为待删除镜像。Receive the mirror deletion request submitted by the user, and use the mirror deleted in the mirror deletion request as the mirror to be deleted.
在一可选实施例中,处理器32还用于:生成镜像的淘汰策略,通过通信组件33将淘汰策略下发至网络系统中的各边缘云节点,以供各边缘云节点根据淘汰策略对本地存储的镜像进行淘汰处理。其中,在网络系统中包括边缘管控设备的情况下,处理器3可以通过通信组件33将淘汰策略下发至边缘管控设备,由边缘管控设备根据淘汰策略对各边缘云节点中存储的镜像进行淘汰处理。进一步,在每个边缘云节点中均部署有边缘管控设备的情况下,处理器3可以通过通信组件33将淘汰策略下发给各边缘云节点中的边缘管控设备,由各边缘云节点中的边缘管控设备根据淘汰策略对其所属边缘云节点中存储的镜像进行淘汰处理。In an optional embodiment, the processor 32 is further configured to: generate a elimination strategy for the mirror image, and deliver the elimination strategy to each edge cloud node in the network system through the communication component 33, so that each edge cloud node can make a corresponding decision according to the elimination strategy. The locally stored image is eliminated. Among them, when the network system includes edge management and control equipment, the processor 3 can issue the elimination strategy to the edge management and control equipment through the communication component 33, and the edge management and control equipment eliminates the images stored in each edge cloud node according to the elimination strategy. deal with. Further, in the case where edge management and control equipment is deployed in each edge cloud node, the processor 3 can issue the elimination strategy to the edge management and control equipment in each edge cloud node through the communication component 33, and the The edge management and control device eliminates the image stored in its edge cloud node according to the elimination strategy.
进一步,如图3所示,该中心管控设备还包括:显示器34、电源组件35和音频组件36等其它组件。图3中仅示意性给出部分组件,并不意味着中心管控设备只包括图3所示组件。另外,图3中虚线框内的组件为可选组件,具体可视中心管控设备实现形态而定。如果中心管控设备是服务器形态的设备,可选地,可以不包括显示器34和音频组 件36;若中心管控设备是终端设备形态的设备,可选地,可以包括显示器34和音频组件36。Furthermore, as shown in FIG. 3, the central management and control device further includes: a display 34, a power supply component 35, an audio component 36 and other components. Only some of the components are schematically shown in FIG. 3, which does not mean that the central control equipment only includes the components shown in FIG. In addition, the components in the dashed box in Figure 3 are optional components, which may be determined by the implementation of the central control equipment. If the central control device is a server type device, optionally, the display 34 and audio component 36 may not be included; if the central control device is a terminal device type device, it may optionally include the display 34 and the audio component 36.
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被一个或多个处理器执行时,致使一个或多个处理器实现上述方法实施例中可由中心管控设备执行的各步骤或操作。Correspondingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors can implement the above method in the above-mentioned method embodiments. Steps or operations performed by the equipment.
图4为本申请示例性实施例提供的一种边缘管控设备的结构示意图。如图4所示,该设备包括:存储器41、处理器42和通信组件43。FIG. 4 is a schematic structural diagram of an edge management and control device provided by an exemplary embodiment of this application. As shown in FIG. 4, the device includes: a memory 41, a processor 42 and a communication component 43.
通信组件43,用于接收中心管控设备下发的第二边缘云节点的信息以及需要提供给第一边缘云节点的目标镜像的信息;其中,第一边缘云节点和第二边缘云节点是中心管控设备和边缘管控设备所属网络系统中的边缘云节点。The communication component 43 is used to receive the information of the second edge cloud node issued by the central management and control device and the information of the target image that needs to be provided to the first edge cloud node; wherein the first edge cloud node and the second edge cloud node are the center Control equipment and edge cloud nodes in the network system to which the edge control equipment belongs.
存储器41,用于存储计算机程序,并可被配置为存储其它各种数据以支持在边缘管控设备上的操作。这些数据的示例包括用于在边缘管控设备上操作的任何应用程序或方法的指令,消息,图片,视频等。The memory 41 is used to store computer programs, and can be configured to store various other data to support operations on edge management and control devices. Examples of these data include instructions, messages, pictures, videos, etc. for any application or method operating on edge control devices.
处理器42,与存储器41耦合,用于执行存储器41中的计算机程序,以用于:根据第二边缘云节点与目标镜像的信息,从第二边缘云节点获取目标镜像。The processor 42 is coupled with the memory 41 and is configured to execute a computer program in the memory 41 to obtain the target image from the second edge cloud node according to the information of the second edge cloud node and the target image.
在一可选实施例中,处理器42还用于:通过通信组件43接收中心管控设备发送的删除指令,删除指令携带有待删除镜像的信息;根据待删除镜像的信息,将第一边缘云节点中存储的待删除镜像删除。In an optional embodiment, the processor 42 is further configured to: receive a deletion instruction sent by the central management and control device through the communication component 43, the deletion instruction carries information about the image to be deleted; and according to the information about the image to be deleted, the first edge cloud node The to-be-deleted image stored in the file is deleted.
在一可选实施例中,处理器42还用于:通过通信组件43接收中心管控设备发送的镜像的淘汰策略;根据淘汰策略,对第一边缘云节点中存储的镜像进行淘汰处理。In an optional embodiment, the processor 42 is further configured to: receive the elimination strategy of the image sent by the central management and control device through the communication component 43; and perform elimination processing on the image stored in the first edge cloud node according to the elimination strategy.
进一步,处理器42在根据淘汰策略,对第一边缘云节点中存储的镜像进行淘汰处理时,具体用于:在从第二边缘云节点获取目标镜像之前,判断第一边缘云节点中是否有足够存储空间存储目标镜像;若第一边缘云节点中没有足够存储空间,根据淘汰策略,对第一边缘云节点中存储的镜像进行淘汰处理,以便有足够存储空间存储目标镜像。Further, when the processor 42 performs elimination processing on the image stored in the first edge cloud node according to the elimination strategy, it is specifically used to: before obtaining the target image from the second edge cloud node, determine whether there is any image in the first edge cloud node. Enough storage space to store the target image; if there is not enough storage space in the first edge cloud node, the image stored in the first edge cloud node is eliminated according to the elimination strategy, so that there is enough storage space to store the target image.
进一步,如图4所示,该边缘管控设备还包括:显示器44、电源组件45和音频组件46等其它组件。图4中仅示意性给出部分组件,并不意味着边缘管控设备只包括图4所示组件。另外,图4中虚线框内的组件为可选组件,具体可视边缘管控设备实现形态而定。如果边缘管控设备是服务器形态的设备,可选地,可以不包括显示器44和音频组件46;若边缘管控设备是终端设备形态的设备,可选地,可以包括显示器44和音频组件46。Further, as shown in FIG. 4, the edge management and control device further includes: a display 44, a power supply component 45, an audio component 46 and other components. Only some components are schematically shown in FIG. 4, which does not mean that the edge management and control device only includes the components shown in FIG. 4. In addition, the components in the dashed box in FIG. 4 are optional components, which may be determined by the implementation of the edge control equipment. If the edge management and control device is a server type device, optionally, the display 44 and the audio component 46 may not be included; if the edge management and control device is a terminal device type, it may optionally include the display 44 and the audio component 46.
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被一个或多个处理器执行时,致使一个或多个处理器实现上述方法实施例中可由边缘管控设备执行的各步骤或操作。Correspondingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the one or more processors can implement the above method and the embodiments can be controlled by the edge. Steps or operations performed by the equipment.
上述图3和图4中的存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory in Figures 3 and 4 above can be implemented by any type of volatile or non-volatile storage devices or their combination, 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 disk or optical disk.
上述图3和图4中的通信组件被配置为便于通信组件所在设备和其他设备之间有线或无线方式的通信。通信组件所在设备可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件还可以包括近场通信(NFC)模块,射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术等。The communication components in Figures 3 and 4 are configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination of them. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component may further include a near field communication (NFC) module, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, and Bluetooth (BT) technology Wait.
上述图3和图4中的显示器包括屏幕,其屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。The display in FIGS. 3 and 4 described above includes a screen, and the screen 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 input signals from the user. The touch panel includes one or more touch sensors to sense touch, sliding, 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 related to the touch or slide operation.
上述图3和图4中的电源组件,为电源组件所在设备的各种组件提供电力。电源组件可以包括电源管理系统,一个或多个电源,及其他与为电源组件所在设备生成、管理和分配电力相关联的组件。The power components in Figures 3 and 4 above provide power for various components of the equipment where the power components are located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device where the power supply component is located.
上述图3和图4中的音频组件,可被配置为输出和/或输入音频信号。例如,音频组件包括一个麦克风(MIC),当音频组件所在设备处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器或经由通信组件发送。在一些实施例中,音频组件还包括一个扬声器,用于输出音频信号。The audio components in Figures 3 and 4 described above may be configured to output and/or input audio signals. For example, the audio component includes a microphone (MIC). When the device where the audio component is located is in an operating mode, such as call mode, recording mode, and voice recognition mode, the microphone is configured to receive external audio signals. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component further includes a speaker for outputting audio signals.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的 计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are only examples of this application and are not used to limit this application. For those skilled in the art, this application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the scope of the claims of this application.

Claims (27)

  1. 一种镜像管理方法,其特征在于,包括:An image management method, characterized in that it comprises:
    确定需要向第一边缘云节点提供的目标镜像,所述第一边缘云节点是网络系统中任一边缘云节点;Determining the target image that needs to be provided to the first edge cloud node, where the first edge cloud node is any edge cloud node in the network system;
    为所述第一边缘云节点提供所述目标镜像,以供所述第一边缘云节点利用所述目标镜像提供云计算服务。The target image is provided for the first edge cloud node, so that the first edge cloud node uses the target image to provide cloud computing services.
  2. 根据权利要求1所述的方法,其特征在于,为所述第一边缘云节点提供所述目标镜像,包括:The method according to claim 1, wherein providing the target image for the first edge cloud node comprises:
    根据所述目标镜像的信息,在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配;According to the information of the target image, matching is performed in the correspondence between the maintained issued image and the edge cloud node where the issued image is located;
    若在所述对应关系中匹配到与所述目标镜像对应的第二边缘云节点,将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点;其中,所述第二边缘云节点是所述网络系统中的边缘云节点。If the second edge cloud node corresponding to the target image is matched in the correspondence relationship, the target image at the second edge cloud node is provided to the first edge cloud node; wherein, the The second edge cloud node is an edge cloud node in the network system.
  3. 根据权利要求2所述的方法,其特征在于,将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点,包括:The method according to claim 2, wherein providing the target image at the second edge cloud node to the first edge cloud node comprises:
    将所述第二边缘云节点和所述目标镜像的信息提供给所述网络系统中的边缘管控设备,以供所述边缘管控设备将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点中的相应资源设备。Provide information about the second edge cloud node and the target image to the edge management and control device in the network system, so that the edge management and control device provides the target image at the second edge cloud node to The corresponding resource device in the first edge cloud node.
  4. 根据权利要求3所述的方法,其特征在于,将所述第二边缘云节点和所述目标镜像的信息提供给所述网络系统中的边缘管控设备,以供所述边缘管控设备将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点中相应资源设备,包括:The method according to claim 3, wherein the information of the second edge cloud node and the target image is provided to an edge management and control device in the network system, so that the edge management and control device can Providing the target image at the second edge cloud node to the corresponding resource device in the first edge cloud node includes:
    将所述第二边缘云节点和所述目标镜像的信息提供给所述第一边缘云节点中的边缘管控设备,以供所述第一边缘云节点中的边缘管控设备通过其与所述第二边缘云节点中的边缘管控设备之间的通信通道从所述第二边缘云节点处获取所述目标镜像并提供给所述第一边缘云节点中的相应资源设备。The information of the second edge cloud node and the target image is provided to the edge management and control device in the first edge cloud node, so that the edge management and control device in the first edge cloud node communicates with the first edge cloud node. The communication channel between the edge management and control devices in the second edge cloud node obtains the target image from the second edge cloud node and provides it to the corresponding resource device in the first edge cloud node.
  5. 根据权利要求2所述的方法,其特征在于,在将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点之前,还包括:The method according to claim 2, wherein before providing the target image at the second edge cloud node to the first edge cloud node, the method further comprises:
    根据所述第二边缘云节点的属性,判断所述第二边缘云节点是否适合为所述第一边缘云节点提供所述目标镜像;Judging whether the second edge cloud node is suitable for providing the target image for the first edge cloud node according to the attribute of the second edge cloud node;
    若判断结果为是,执行将所述第二边缘云节点处的所述目标镜像提供给所述第一边 缘云节点的操作。If the judgment result is yes, perform an operation of providing the target image at the second edge cloud node to the first edge cloud node.
  6. 根据权利要求5所述的方法,其特征在于,根据所述第二边缘云节点的属性,判断所述第二边缘云节点是否适合为所述第一边缘云节点提供所述目标镜像,包括以下至少一种判断方式:The method according to claim 5, wherein determining whether the second edge cloud node is suitable for providing the target image for the first edge cloud node according to the attribute of the second edge cloud node comprises the following At least one way of judgment:
    判断所述第二边缘云节点所属的运营商与所述第一边缘云节点所属的运营商是否相同;Determining whether the operator to which the second edge cloud node belongs is the same as the operator to which the first edge cloud node belongs;
    判断所述第二边缘云节点到所述第一边缘云节点之间的距离是否小于设定距离阈值;Determine whether the distance between the second edge cloud node and the first edge cloud node is less than a set distance threshold;
    判断所述第二边缘云节点的可用带宽是否大于设定带宽阈值;Judging whether the available bandwidth of the second edge cloud node is greater than a set bandwidth threshold;
    判断所述第二边缘云节点的负载量是否小于设定负载量阈值;Determine whether the load of the second edge cloud node is less than a set load threshold;
    若所述至少一种判断方式的结果均为是,确定所述第二边缘云节点适合为所述第一边缘云节点提供所述目标镜像。If the result of the at least one judgment method is all yes, it is determined that the second edge cloud node is suitable for providing the target image for the first edge cloud node.
  7. 根据权利要求2所述的方法,其特征在于,在将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点之前,还包括:The method according to claim 2, wherein before providing the target image at the second edge cloud node to the first edge cloud node, the method further comprises:
    判断所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中是否包括所述第一边缘云节点;Determining whether the maintained correspondence between the issued image and the edge cloud node where the issued image includes the first edge cloud node;
    若判断结果为否,执行将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点的操作。If the judgment result is no, perform an operation of providing the target image at the second edge cloud node to the first edge cloud node.
  8. 根据权利要求7所述的方法,其特征在于,还包括:The method according to claim 7, further comprising:
    若判断结果为是,将所述目标镜像的信息提供给所述第一边缘云节点,以所述第一边缘云节点读取其中存储的所述目标镜像。If the judgment result is yes, provide the information of the target image to the first edge cloud node, and use the first edge cloud node to read the target image stored therein.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-8, further comprising:
    接收新增镜像的第一请求,所述第一请求包括镜像构建信息;Receiving a first request for adding a new mirror, where the first request includes mirror construction information;
    向镜像构建设备发送构建请求,所述构建请求包括所述镜像构建信息,以供所述镜像构建设备根据所述镜像构建信息构建与边缘云环境适配的镜像;Sending a construction request to an image construction device, the construction request including the image construction information, so that the image construction device can construct an image adapted to the edge cloud environment according to the image construction information;
    接收所述镜像构建设备返回的新构建的镜像,并添加到镜像库中。Receive the newly constructed image returned by the image construction device and add it to the image library.
  10. 根据权利要求1-8任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-8, further comprising:
    接收新增镜像的第二请求,所述第二请求包括待新增镜像;Receiving a second request for adding a new image, where the second request includes a new image to be added;
    将所述待新增镜像发送给镜像构建设备,以供所述镜像构建设备将所述待新增镜像与边缘云节点环境进行适配;Sending the image to be added to the image construction device, so that the image construction device can adapt the image to be added to the edge cloud node environment;
    若接收到所述镜像构建设备返回的待新增镜像与边缘云节点环境适配的消息,将所述待新增镜像添加至镜像库中。If a message that the image to be added is adapted to the edge cloud node environment is received from the image construction device, the image to be added is added to the image library.
  11. 根据权利要求10所述的方法,其特征在于,还包括:The method according to claim 10, further comprising:
    若接收到所述镜像构建设备返回的待新增镜像与边缘云节点环境不适配的消息,通知镜像提交方对所述待新增镜像进行重构后重新提交,或者通知镜像提交方提供所述待新增镜像的重构方法,以供所述镜像构建设备按照所述重构方法将所述待新增镜像重构成与所述边缘云节点环境适配的镜像。If it receives a message from the image construction device that the image to be added is not compatible with the edge cloud node environment, notify the image submitting party to reconstruct and resubmit the image to be added, or notify the image submitting party to provide all The reconstruction method of the image to be added is used for the image construction device to reconstruct the image to be added into an image adapted to the environment of the edge cloud node according to the reconstruction method.
  12. 根据权利要求1-8任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-8, further comprising:
    确定待删除镜像,将所述待删除镜像从镜像库中删除;以及Determine the mirror to be deleted, and delete the mirror to be deleted from the mirror library; and
    根据所述待删除镜像,在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配;According to the image to be deleted, matching is performed in the correspondence between the maintained issued image and the edge cloud node where the issued image is located;
    若在所述对应关系中匹配到与所述待删除镜像对应的第三边缘云节点,向所述第三边缘云节点发送删除指令,所述删除指令携带有所述待删除镜像的信息,以指示所述第三边缘云节点将其中存储的所述待删除镜像删除。If a third edge cloud node corresponding to the image to be deleted is matched in the correspondence, a delete instruction is sent to the third edge cloud node, where the delete instruction carries information about the image to be deleted, and Instruct the third edge cloud node to delete the image to be deleted stored therein.
  13. 根据权利要求12所述的方法,其特征在于,所述确定待删除镜像,包括以下至少一种方式:The method according to claim 12, wherein the determining the image to be deleted includes at least one of the following methods:
    统计所述镜像库中各镜像的使用频次,将使用频次小于频次阈值的镜像作为所述待删除镜像;Count the usage frequency of each mirror in the mirror library, and use a mirror whose usage frequency is less than a frequency threshold as the mirror to be deleted;
    接收用户提交的镜像删除请求,将所述镜像删除请求指示删除的镜像作为所述待删除镜像。Receive a mirror deletion request submitted by a user, and use the mirror that the mirror deletion request instructs to delete as the mirror to be deleted.
  14. 根据权利要求1-8任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-8, further comprising:
    生成镜像的淘汰策略,将所述淘汰策略下发至所述网络系统中的各边缘云节点,以供各边缘云节点根据所述淘汰策略对本地存储的镜像进行淘汰处理。The elimination strategy of the image is generated, and the elimination policy is issued to each edge cloud node in the network system, so that each edge cloud node performs elimination processing on the locally stored image according to the elimination strategy.
  15. 一种镜像管理方法,其特征在于,包括:An image management method, characterized in that it comprises:
    接收中心管控设备下发的第二边缘云节点的信息以及需要提供给第一边缘云节点的目标镜像的信息;Receiving the information of the second edge cloud node issued by the central management and control device and the information of the target image that needs to be provided to the first edge cloud node;
    根据所述第二边缘云节点与目标镜像的信息,从所述第二边缘云节点获取所述目标镜像。Acquire the target image from the second edge cloud node according to the information of the second edge cloud node and the target image.
  16. 根据权利要求15所述的方法,其特征在于,还包括:The method according to claim 15, further comprising:
    接收所述中心管控设备发送的删除指令,所述删除指令携带有待删除镜像的信息;Receiving a delete instruction sent by the central management and control device, where the delete instruction carries information about the image to be deleted;
    根据所述待删除镜像的信息,将所述第一边缘云节点中存储的所述待删除镜像删除。According to the information of the image to be deleted, the image to be deleted stored in the first edge cloud node is deleted.
  17. 根据权利要求15或16所述的方法,其特征在于,还包括:The method according to claim 15 or 16, further comprising:
    接收所述中心管控设备发送的镜像的淘汰策略;Receiving the mirroring elimination strategy sent by the central management and control device;
    根据所述淘汰策略,对所述第一边缘云节点中存储的镜像进行淘汰处理。According to the elimination strategy, the image stored in the first edge cloud node is eliminated.
  18. 根据权利要求17所述的方法,其特征在于,根据所述淘汰策略,对所述第一边缘云节点中存储的镜像进行淘汰处理,包括:The method according to claim 17, wherein, according to the elimination strategy, eliminating the image stored in the first edge cloud node comprises:
    在从所述第二边缘云节点获取所述目标镜像之前,判断所述第一边缘云节点中是否有足够存储空间存储所述目标镜像;Before acquiring the target image from the second edge cloud node, determine whether there is enough storage space in the first edge cloud node to store the target image;
    若本地没有足够存储空间,根据所述淘汰策略,对所述第一边缘云节点中存储的镜像进行淘汰处理,以便有足够存储空间存储所述目标镜像。If there is not enough storage space locally, the image stored in the first edge cloud node is eliminated according to the elimination strategy, so that there is enough storage space to store the target image.
  19. 一种网络系统,其特征在于,包括:中心管控设备,以及至少一个边缘云节点;A network system, characterized by comprising: a central management and control device, and at least one edge cloud node;
    所述中心管控设备,用于确定需要向第一边缘云节点提供的目标镜像,为所述第一边缘云节点提供所述目标镜像,以供所述第一边缘云节点利用所述目标镜像提供云计算服务;其中,所述第一边缘云节点是所述网络系统中任一边缘云节点。The central management and control device is used to determine the target image that needs to be provided to the first edge cloud node, and to provide the target image for the first edge cloud node, so that the first edge cloud node can use the target image to provide Cloud computing service; wherein, the first edge cloud node is any edge cloud node in the network system.
  20. 根据权利要求19所述的网络系统,其特征在于,所述中心管控设备具体用于:The network system according to claim 19, wherein the central management and control device is specifically used for:
    根据所述目标镜像的信息,在所维护的已下发镜像与已下发镜像所在边缘云节点的对应关系中进行匹配;According to the information of the target image, matching is performed in the correspondence between the maintained issued image and the edge cloud node where the issued image is located;
    若在所述对应关系中匹配到与所述目标镜像对应的第二边缘云节点,将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点;所述第二边缘云节点是所述网络系统中的边缘云节点。If a second edge cloud node corresponding to the target image is matched in the correspondence relationship, the target image at the second edge cloud node is provided to the first edge cloud node; the second The edge cloud node is an edge cloud node in the network system.
  21. 根据权利要求20所述的网络系统,其特征在于,还包括:边缘管控设备;The network system according to claim 20, further comprising: edge management and control equipment;
    所述中心管控设备具体用于:将所述第二边缘云节点与所述目标镜像的信息提供给所述边缘管控设备;The central management and control device is specifically configured to provide the edge management and control device with information about the second edge cloud node and the target image;
    所述边缘管控设备,用于根据所述第二边缘云节点与所述目标镜像的信息,将所述第二边缘云节点处的所述目标镜像提供给所述第一边缘云节点中的相应资源设备,以供所述相应资源设备根据所述目标镜像提供云计算服务。The edge management and control device is configured to provide the target image at the second edge cloud node to the corresponding one in the first edge cloud node according to the information of the second edge cloud node and the target image A resource device for the corresponding resource device to provide cloud computing services according to the target image.
  22. 根据权利要求19-21任一项所述的网络系统,其特征在于,还包括:镜像构建设备;The network system according to any one of claims 19-21, further comprising: a mirror image construction device;
    所述镜像构建设备,用于接收所述中心管控设备发送的构建请求,根据所述构建请 求中包含的镜像构建信息构建与边缘云环境适配的镜像,并向所述中心管控设备返回所构建的镜像。The image construction device is configured to receive a construction request sent by the central management and control device, construct an image adapted to the edge cloud environment according to the image construction information contained in the construction request, and return the constructed image to the central management and control device Of the mirror.
  23. 根据权利要求22所述的网络系统,其特征在于,所述镜像构建设备部署在一个或多个边缘云节点中。The network system according to claim 22, wherein the image construction device is deployed in one or more edge cloud nodes.
  24. 一种中心管控设备,其特征在于,包括:存储器和处理器;A central management and control device, which is characterized by comprising: a memory and a processor;
    所述存储器,用于存储计算机程序,当所述计算机程序被所述处理器执行时,致使所述处理器实现权利要求1-14任一项所述方法中的步骤。The memory is configured to store a computer program, and when the computer program is executed by the processor, the processor is caused to implement the steps in the method of any one of claims 1-14.
  25. 一种存储有计算机程序的计算机可读存储介质,其特征在于,当所述计算机程序被一个或多个处理器执行时,致使所述一个或多个处理器实现权利要求1-14任一项所述方法中的步骤。A computer-readable storage medium storing a computer program, wherein when the computer program is executed by one or more processors, the one or more processors are caused to implement any one of claims 1-14 The steps in the method.
  26. 一种边缘管控设备,其特征在于,包括:存储器和处理器;An edge management and control device, which is characterized by comprising: a memory and a processor;
    所述存储器,用于存储计算机程序,当所述计算机程序被所述处理器执行时,致使所述处理器实现权利要求15-18任一项所述方法中的步骤。The memory is configured to store a computer program, which when the computer program is executed by the processor, causes the processor to implement the steps in the method of any one of claims 15-18.
  27. 一种存储有计算机程序的计算机可读存储介质,其特征在于,当所述计算机程序被一个或多个处理器执行时,致使所述一个或多个处理器实现权利要求15-18任一项所述方法中的步骤。A computer-readable storage medium storing a computer program, wherein when the computer program is executed by one or more processors, the one or more processors are caused to implement any one of claims 15-18 The steps in the method.
PCT/CN2020/081571 2019-04-08 2020-03-27 Network system, mirror image management method, device and storage medium WO2020207267A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910277896.0 2019-04-08
CN201910277896.0A CN111800442B (en) 2019-04-08 2019-04-08 Network system, mirror image management method, device and storage medium

Publications (1)

Publication Number Publication Date
WO2020207267A1 true WO2020207267A1 (en) 2020-10-15

Family

ID=72751923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/081571 WO2020207267A1 (en) 2019-04-08 2020-03-27 Network system, mirror image management method, device and storage medium

Country Status (2)

Country Link
CN (2) CN115633050B (en)
WO (1) WO2020207267A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190378A (en) * 2020-12-31 2021-07-30 华数云科技有限公司 Edge cloud disaster recovery method based on distributed cloud platform
CN113641454A (en) * 2021-08-17 2021-11-12 中国联合网络通信集团有限公司 Business application deployment method and device, electronic equipment and storage medium
CN114143830A (en) * 2021-11-23 2022-03-04 联想(北京)有限公司 Flow optimization method and device, equipment and storage medium
CN114285843A (en) * 2021-12-02 2022-04-05 中国联合网络通信集团有限公司 Application distribution method, device, system, electronic equipment and readable storage medium
CN114650198A (en) * 2022-03-31 2022-06-21 联想(北京)有限公司 Method and device for determining storage architecture
CN114726871A (en) * 2022-03-22 2022-07-08 阿里巴巴(中国)有限公司 Data synchronization method, device and network system
CN115442374A (en) * 2022-11-07 2022-12-06 阿里巴巴(中国)有限公司 Signaling transmission method and device
WO2023185802A1 (en) * 2022-03-29 2023-10-05 阿里巴巴(中国)有限公司 Data processing method and apparatus

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532711A (en) * 2020-11-24 2021-03-19 中移(杭州)信息技术有限公司 Edge computing application deployment method, terminal, edge computing node and storage medium
CN115208872A (en) * 2021-04-09 2022-10-18 顺丰科技有限公司 Edge cloud mirror image data processing method and device, computer equipment and storage medium
CN113419819B (en) * 2021-06-25 2023-09-08 重庆紫光华山智安科技有限公司 Container management method, device, equipment and medium
CN113726846B (en) * 2021-07-14 2024-03-05 阿里巴巴新加坡控股有限公司 Edge cloud system, resource scheduling method, equipment and storage medium
CN113342478B (en) * 2021-08-04 2022-02-01 阿里云计算有限公司 Resource management method, device, network system and storage medium
CN114301909B (en) * 2021-12-02 2023-09-22 阿里巴巴(中国)有限公司 Edge distributed management and control system, method, equipment and storage medium
CN115242798B (en) * 2022-06-30 2023-09-26 阿里巴巴(中国)有限公司 Task scheduling method based on edge cloud, electronic equipment and storage medium
CN116700997A (en) * 2023-08-04 2023-09-05 腾讯科技(深圳)有限公司 Capacity expansion method, device and equipment of edge cloud equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297507A (en) * 2013-05-13 2013-09-11 西安电子科技大学 Cloud computing operation system and method for providing services to users
CN105975330A (en) * 2016-06-27 2016-09-28 华为技术有限公司 Virtual network function deployment method, device and system adopting NEC (network edge computing)
US20180060059A1 (en) * 2016-08-29 2018-03-01 Vmware, Inc. Synchronizing configurations for container hosted applications
CN109005232A (en) * 2018-08-10 2018-12-14 腾讯科技(深圳)有限公司 Method for down loading, providing method and the equipment of container image file

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307206B (en) * 2010-09-25 2014-10-01 广东电子工业研究院有限公司 Caching system and caching method for rapidly accessing virtual machine images based on cloud storage
CN103428302A (en) * 2012-05-15 2013-12-04 阿里巴巴集团控股有限公司 Domain name resolution method, server and system
US9311140B2 (en) * 2013-08-13 2016-04-12 Vmware, Inc. Method and apparatus for extending local area networks between clouds and migrating virtual machines using static network addresses
US10893100B2 (en) * 2015-03-12 2021-01-12 International Business Machines Corporation Providing agentless application performance monitoring (APM) to tenant applications by leveraging software-defined networking (SDN)
CN107689882B (en) * 2016-08-05 2020-04-21 华为技术有限公司 Method and device for service deployment in virtual network
EP3639536A2 (en) * 2016-12-30 2020-04-22 INTEL Corporation Naming and blockchain recording for the internet of things
CN109286645A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 A kind of moving method and device of business
US20190097900A1 (en) * 2018-11-26 2019-03-28 Bryan J. Rodriguez Zero-configuration cluster and provisioning pipeline for heterogeneous computing nodes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297507A (en) * 2013-05-13 2013-09-11 西安电子科技大学 Cloud computing operation system and method for providing services to users
CN105975330A (en) * 2016-06-27 2016-09-28 华为技术有限公司 Virtual network function deployment method, device and system adopting NEC (network edge computing)
US20180060059A1 (en) * 2016-08-29 2018-03-01 Vmware, Inc. Synchronizing configurations for container hosted applications
CN109005232A (en) * 2018-08-10 2018-12-14 腾讯科技(深圳)有限公司 Method for down loading, providing method and the equipment of container image file

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190378A (en) * 2020-12-31 2021-07-30 华数云科技有限公司 Edge cloud disaster recovery method based on distributed cloud platform
CN113190378B (en) * 2020-12-31 2024-04-02 华数云科技有限公司 Edge cloud disaster recovery method based on distributed cloud platform
CN113641454B (en) * 2021-08-17 2023-07-25 中国联合网络通信集团有限公司 Service application deployment method and device, electronic equipment and storage medium
CN113641454A (en) * 2021-08-17 2021-11-12 中国联合网络通信集团有限公司 Business application deployment method and device, electronic equipment and storage medium
CN114143830A (en) * 2021-11-23 2022-03-04 联想(北京)有限公司 Flow optimization method and device, equipment and storage medium
CN114143830B (en) * 2021-11-23 2024-01-23 联想(北京)有限公司 Flow optimization method and device, equipment and storage medium
CN114285843A (en) * 2021-12-02 2022-04-05 中国联合网络通信集团有限公司 Application distribution method, device, system, electronic equipment and readable storage medium
CN114285843B (en) * 2021-12-02 2023-07-04 中国联合网络通信集团有限公司 Application distribution method, device, system, electronic equipment and readable storage medium
CN114726871A (en) * 2022-03-22 2022-07-08 阿里巴巴(中国)有限公司 Data synchronization method, device and network system
WO2023185802A1 (en) * 2022-03-29 2023-10-05 阿里巴巴(中国)有限公司 Data processing method and apparatus
CN114650198B (en) * 2022-03-31 2023-01-06 联想(北京)有限公司 Method and device for determining storage architecture
CN114650198A (en) * 2022-03-31 2022-06-21 联想(北京)有限公司 Method and device for determining storage architecture
CN115442374A (en) * 2022-11-07 2022-12-06 阿里巴巴(中国)有限公司 Signaling transmission method and device

Also Published As

Publication number Publication date
CN115633050B (en) 2023-08-04
CN111800442B (en) 2022-10-28
CN115633050A (en) 2023-01-20
CN111800442A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
WO2020207267A1 (en) Network system, mirror image management method, device and storage medium
WO2020207264A1 (en) Network system, service provision and resource scheduling method, device, and storage medium
WO2020207265A1 (en) Network system, management and control method and device, and storage medium
WO2020207266A1 (en) Network system, instance management method, device, and storage medium
CN113342478B (en) Resource management method, device, network system and storage medium
CN113726846B (en) Edge cloud system, resource scheduling method, equipment and storage medium
WO2018130165A1 (en) Cloud computing mobile terminal and operation method therefor
JP2021529386A (en) Execution of auxiliary functions on the on-demand network code execution system
CN113301078B (en) Network system, service deployment and network division method, device and storage medium
WO2018130162A1 (en) Method and device for managing and controlling cloud computing terminal and operation of cloud server
CN111638935B (en) Mirror image management method, network system, device, and storage medium
CN113301102A (en) Resource scheduling method, device, edge cloud network, program product and storage medium
CN110908658A (en) Micro-service and micro-application system, data processing method and device
WO2018171465A1 (en) Method, apparatus and system for managing network slice instance
KR20140003043A (en) System and method for device sociality configuration
CN113296882A (en) Container arranging method, device, system and storage medium
CN112565317B (en) Hybrid cloud system, data processing method and device thereof, and storage medium
WO2016095524A1 (en) Resource allocation method and apparatus
CN103561092A (en) Method and device for managing resources under private cloud environment
CN112953992B (en) Network system, communication and networking method, device and storage medium
WO2023066053A1 (en) Service request processing method, network device and computer-readable storage medium
CN102904739B (en) Method and Common Information Model CIM server that a kind of realization event forwards
CN116527554A (en) Monitoring system, method, equipment and storage medium based on service grid
CN112445602A (en) Resource scheduling method, device and system and electronic equipment
CN112953993B (en) Resource scheduling method, equipment, network system and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20788267

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20788267

Country of ref document: EP

Kind code of ref document: A1