Management method and device for mirror image data of cloud management platform and storage medium

By changing the image data management of the cloud management platform to distributed storage, the problem of high storage space was solved, and efficient management and use of image data were achieved.

CN120909795APending Publication Date: 2025-11-07JINAN INSPUR DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511086007.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-04
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

In existing technologies, cloud management platforms have high storage space requirements for image data management. How to reduce storage space requirements and improve the efficiency of image data utilization is an urgent problem to be solved.

Method used

The centralized image data storage solution of the cloud management platform is changed to distributed storage. The cloud management platform obtains image requests from the virtualization resource pool, generates remote image information, and sends it to the target virtualization resource pool to obtain image data, thereby realizing distributed management of image data.

Benefits of technology

It reduces the storage space requirements of the cloud management platform, avoids the problem of image data unavailability caused by single point of failure, reduces data transmission paths, and improves the efficiency of image data utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120909795A_ABST
    Figure CN120909795A_ABST
Patent Text Reader

Abstract

The invention discloses a management method and device for mirror image data of a cloud management platform and a storage medium, and relates to the technical field of cloud computing, and the method comprises the steps that the cloud management platform obtains a mirror image request of target mirror image data sent by a current virtualization resource pool; generating far-end mirror image information corresponding to the mirror image request according to preset mirror image data record information; sending the far-end mirror image information to the current virtual resource pool, so that the current virtual resource pool obtains target mirror image data from a mirror image warehouse of a target virtual resource pool according to the far-end mirror image information; according to the invention, a centralized mirror data storage scheme of a cloud management platform in related technologies is modified into distributed mirror data storage, so that the requirement on the storage space of the cloud management platform is reduced, and the problem that a large amount of mirror data is unavailable due to a single-point fault can be avoided from the physical level; and moreover, data transmission paths during use of the mirror data are reduced, and the use efficiency of the mirror data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of cloud computing, and in particular to a cloud management platform image data management method, device and storage medium. BACKGROUND

[0002] With the rapid development of cloud computing technology, the cloud management platform aims to provide a unified interface and management tool to manage multiple virtualization resource pools of the same type or different types, so that users can perform resource allocation, business deployment and data migration across multiple virtualization resource pools, which can improve resource utilization, reduce costs and enhance business flexibility and reliability. In the management of virtualization resource pools, image data is a very important business data that provides a data template for resource allocation. How to efficiently and orderly save and allocate image data in the scenario of managing multiple sets or even multiple types of virtualization resource pools at the same time is a big resource management problem.

[0003] In related technologies, the cloud management platform provides a unified image repository for storing image data; when a virtualization resource pool needs to be allocated resources, the image used is allocated to the virtualization resource pool by the unified image repository. In this case, to ensure the data reliability of the image, the image repository is generally set in a multi-copy or multi-site manner, which requires a high storage space of the cloud management platform. Therefore, how to reduce the requirement for the storage space of the cloud management platform and improve the use efficiency of image data is a problem that needs to be solved urgently. SUMMARY

[0004] The purpose of the present application is to provide a cloud management platform image data management method, device and computer readable storage medium to reduce the requirement for the storage space of the cloud management platform and improve the use efficiency of image data.

[0005] To solve the above technical problems, the present application provides a cloud management platform image data management method, comprising:

[0006] The cloud management platform obtains an image request of target image data sent by a current virtualization resource pool;

[0007] According to the preset image data record information, the remote image information corresponding to the image request is generated; wherein the preset image data record information includes the metadata of all image data managed by the cloud management platform, the remote image information includes the access information of the target virtualization resource pool, and the target image data is stored in the image repository of the target virtualization resource pool;

[0008] sending the remote mirror information to the current virtualization resource pool, so that the current virtualization resource pool acquires the target mirror data from the mirror repository of the target virtualization resource pool according to the remote mirror information.

[0009] In another aspect, before the cloud management platform acquires the mirror request of the target mirror data sent by the current virtualization resource pool, the method further comprises:

[0010] the current virtualization resource pool acquires the mirror request of the target mirror data;

[0011] according to the mirror request, judging whether the target mirror data exists in local data of a local mirror repository;

[0012] if the target mirror data does not exist in the local data, judging whether the target mirror data exists in cluster data of the local mirror repository; wherein the cluster data comprises mirror data stored persistently in the mirror repository of the current virtualization resource pool managed by the cloud management platform;

[0013] if the target mirror data does not exist in the cluster data, sending the mirror request of the target mirror data to the cloud management platform.

[0014] In another aspect, before the sending the remote mirror information to the current virtualization resource pool, the method further comprises:

[0015] the cloud management platform detects whether there is network limitation between the current virtualization resource pool and the target virtualization resource pool;

[0016] if there is no network limitation, performing the step of sending the remote mirror information to the current virtualization resource pool;

[0017] if there is network limitation, acquiring the target mirror data from the mirror repository of the target virtualization resource pool according to the remote mirror information, and forwarding the target mirror data to the current virtualization resource pool.

[0018] In another aspect, the metadata comprises mirror attribute, saving location, access uniform resource locator and permission information.

[0019] In another aspect, the method further comprises:

[0020] the cloud management platform receives hot spot mirror data information reported by each virtualization resource pool;

[0021] according to the hot spot mirror data information, determining hot spot mirror data in all managed mirror data;

[0022] controlling all managed virtualization resource pools to store the hot spot mirror data.

[0023] In another aspect, the method further comprises:

[0024] The cloud management platform acquires a removal instruction of the current virtualization resource pool;

[0025] According to the removal instruction, it is judged whether the to-be-deleted image data in the image warehouse of the current virtualization resource pool are all stored in other virtualization resource pools; wherein the to-be-deleted image data include image data in the cluster data of the image warehouse of the current virtualization resource pool, or image data in the cluster data of the image warehouse of the current virtualization resource pool and image data in the local data; the other virtualization resource pools are virtualization resource pools other than the current virtualization resource pool managed by the cloud management platform;

[0026] If yes, the current virtualization resource pool is removed;

[0027] If no, the to-be-backup image data are stored to the corresponding other virtualization resource pool, and the current virtualization resource pool is removed.

[0028] In another aspect, the method further comprises:

[0029] The cloud management platform acquires a registration request of the newly-added image data sent by the current virtualization resource pool;

[0030] According to the registration request, the registration information of the newly-added image data is configured;

[0031] It is judged whether the number of the newly-added image data stored in all virtualization resource pools managed reaches a preset number; wherein the preset number is greater than or equal to 2;

[0032] If no, according to the remaining capacity of the image warehouse in the optional virtualization resource pool, a target number of virtualization resource pools are selected from the optional virtualization resource pool to store the newly-added image data; wherein the optional virtualization resource pool includes virtualization resource pools in the all virtualization resource pools which do not store the newly-added image data, and the target number is the difference between the preset number and the number of the newly-added image data stored.

[0033] In another aspect, the preset image data record information further includes an image format type identifier supported by each virtualization resource pool managed, and the image format type identifier supported by the optional virtualization resource pool corresponds to the image format type of the newly-added image data.

[0034] The application also provides a management device of image data of a cloud management platform, comprising:

[0035] A memory for storing a computer program;

[0036] A processor is configured to implement the steps of the method for managing image data of a cloud management platform when the computer program is executed.

[0037] The application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is configured to implement the steps of the method for managing image data of a cloud management platform when executed by a processor.

[0038] The method for managing image data of a cloud management platform comprises the following steps: a cloud management platform acquires an image request of target image data sent by a current virtualization resource pool; remote image information corresponding to the image request is generated according to preset image data record information; wherein the preset image data record information comprises metadata of all image data managed by the cloud management platform, and the remote image information comprises access information of the target virtualization resource pool and persistent storage of the target image data in an image warehouse of the target virtualization resource pool; and the remote image information is sent to the current virtualization resource pool, so that the current virtualization resource pool acquires the target image data from the image warehouse of the target virtualization resource pool according to the remote image information.

[0039] It can be seen that the centralized image data storage scheme of the cloud management platform in the related art is modified to a distributed image data storage scheme in the application, the requirement for the storage space of the cloud management platform is reduced, the problem that a large amount of image data cannot be used due to a single point failure can be avoided from the physical layer, the image data management can be sunk to the data management of each virtualization resource pool itself, the data transmission path when the image data is used is reduced, and the use efficiency of the image data is improved. In addition, the application further provides a management device of image data of a cloud management platform and a computer readable storage medium, which also have the above beneficial effects. BRIEF DESCRIPTION OF DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description only constitute the embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of the provided drawings.

[0041] Figure 1 A flow chart of the method for managing image data of a cloud management platform provided by the application;

[0042] Figure 2 A system framework schematic diagram of another method for managing image data of a cloud management platform provided by the application;

[0043] Figure 3Another flowchart of a cloud management platform image data management method provided by an embodiment of the present application;

[0044] Figure 4 Another flowchart of an image data registration process of a cloud management platform image data management method provided by an embodiment of the present application;

[0045] Figure 5 A structural block diagram of a cloud management platform image data management device provided by an embodiment of the present application;

[0046] Figure 6 A structural diagram of a cloud management platform image data management device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0047] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0048] Reference Figure 1 , Figure 1 A flowchart of a cloud management platform image data management method provided by an embodiment of the present application. The method can include:

[0049] Step 101: The cloud management platform acquires an image request of target image data sent by a current virtualization resource pool.

[0050] It can be understood that the current virtualization resource pool in the present embodiment can be any one of all virtualization resource pools managed by the cloud management platform. The target image data in the present embodiment can be image data requested by the current virtualization resource pool, i.e., image data not stored in the image repository of the current virtualization resource pool. The image request in the present embodiment can be a request for acquiring corresponding image data (i.e., target image data).

[0051] Correspondingly, in the embodiment, each virtualization resource pool managed by the cloud management platform can be provided with an image warehouse for storing image data, i.e., an image warehouse can be provided on a device (such as a server) where each virtualization resource pool is located, so as to modify the centralized image data storage scheme of the cloud management platform in the related art to a distributed image data storage of each virtualization resource pool. The specific storage content of the image warehouse in each virtualization resource pool, i.e., the specific storage mode of the image data, can be set by the designer according to the use scenario and user demand, for example, the image warehouse can be used to persistently store the image data (i.e., cluster data, such as the image data of other virtualization resource pools) managed by the cloud management platform; the image warehouse can also be used to save the cached image data (i.e., local data) of the virtualization resource pool. As shown in Figure 2 , for each virtualization resource pool (such as virtualization resource pools pool1 and 2), a local image service can be provided for managing the image data in the image warehouse, and the image data managed thereby is divided into two types; one is cluster data, and the image data (such as image data image1 and 2 in pool1) is saved as persistent storage, and the management thereof is directly managed by the cloud management platform; one is local data, and the image data (such as image data image3 and 2 in pool1) cached by the virtualization resource pool is saved, and can be directly used for resource distribution of the virtualization resource pool. In order to reduce data redundancy, when the required image data is saved in the cluster data, the cluster data can be directly accessed for use, as shown in Figure 2 , when the virtualization resource pool pool1 needs image data image2, the image data image2 persistently stored in the cluster data can be cached to the local data for subsequent use.

[0052] Correspondingly, in the embodiment, each virtualization resource pool managed by the cloud management platform can be provided with an image warehouse, and each image warehouse can persistently store different image data (i.e., backup image data).

[0053] It should be noted that the method provided in the embodiment can further include the process that the current virtualization resource pool sends the image request of the target image data to the cloud management platform; wherein the current virtualization resource pool can be on the same device (such as a server) or different devices with the current virtualization resource pool. For the specific way of the current virtualization resource pool sending the image request of the target image data to the cloud management platform, the designer can set it according to the use scene and user demand, such as the current virtualization resource pool can obtain the image request of the target image data; according to the image request, it is judged whether the target image data exists in the local data of the local image warehouse; if the target image data does not exist in the local data, it is judged whether the target image data exists in the cluster data of the local image warehouse; wherein the cluster data includes the image data persistently stored in the image warehouse of the current virtualization resource pool managed by the cloud management platform; if the target image data does not exist in the cluster data, the image request of the target image data is sent to the cloud management platform. Correspondingly, as shown in Figure 3 , when the target image data (required image) exists in the local data of the current virtualization resource pool, the target image data can be directly used; when the target image data does not exist in the local data of the current virtualization resource pool and exists in the cluster data, the target image data can be obtained and cached from the cluster data to update the local data for subsequent use.

[0054] Correspondingly, the current virtualization resource pool can also directly send the image request of the target image data to the cloud management platform when it is determined that the local does not cache the target image data. The embodiment does not make any limitation on this.

[0055] Step 102: generating the remote image information corresponding to the image request according to the preset image data record information; wherein the preset image data record information includes the metadata of all image data managed by the cloud management platform, and the remote image information includes the access information of the target virtualization resource pool and the target image data persistently stored in the image warehouse of the target virtualization resource pool.

[0056] It can be understood that the preset image data record information in the embodiment can be the record information related to the managed image data set in advance. For the specific content of the preset image data record information in the embodiment, the designer can set it according to the practical scene and user demand, such as the preset image data record information can include the metadata of all image data managed by the cloud management platform, such as Figure 2The image management module of the cloud management platform can record the metadata (metadate) corresponding to the identifiers (image1-4) of each image data. The metadata can include a storage location and an access URL (uniform resource locator, URL), and can also include image attributes (such as image format types) and / or permission information.

[0057] Correspondingly, the preset image data record information can also include the image format type identifiers supported by each virtualized resource pool managed by the cloud management platform, so that the method provided in this embodiment can be applied to a mixed scenario of multiple virtualized resource pools, that is, a certain image data can be persistently stored in a virtualized resource pool that supports the image format type of the image data.

[0058] Further, the preset image data record information can also include image data request record information of each virtualized resource pool managed by the cloud management platform, to record the request of each virtualized resource pool for image data, so that after a certain virtualized resource pool is forced offline, the virtualized resource pool can repair the lost image data by re-uploading after being reconnected, that is, the cloud management platform can generate image information of the image data to be repaired according to the repair request sent by the current virtualized resource pool, using the image data request record information of the current virtualized resource pool; the image information of the image data to be repaired is sent to the current virtualized resource pool, so that the current virtualized resource pool can obtain the image data to be repaired from the corresponding virtualized resource pool using the image information of the image data to be repaired, to realize the recovery of the locally cached image data.

[0059] In this embodiment, the remote image information can be information required for accessing the target image data remotely, so that the current virtualized resource pool can obtain the target image data from the image repository of the target virtualized resource pool using the remote image information. The specific content of the remote image information in this embodiment can be set by the designer according to the practical scenario and user demand, such as the access information (such as the access URL) of the target virtualized resource pool; it can also include authentication information required for accessing the target virtualized resource pool, such as token (token) or AK / SK (Access KeyID / Secret Access Key, a kind of identity authentication method) and other information used for authentication verification, to ensure the data access security between the current virtualized resource pool and the target virtualized resource pool.

[0060] Correspondingly, the embodiment is not limited to the specific number of the target virtualization resource pool. The target virtualization resource pool can be any virtualization resource pool that stores the target image data persistently, or all virtualization resource pools that store the target image data persistently.

[0061] Correspondingly, the specific manner in which the remote image information corresponding to the image request is generated according to the preset image data record information in the step can be set by the designer. For example, the target virtualization resource pool can be determined according to the metadata of the target image data in the preset image data record information. The target virtualization resource pool can be any virtualization resource pool that stores the target image data persistently. The target virtualization resource pool can also be determined according to the metadata of the target image data in the preset image data record information and the network conditions of each virtualization resource pool. The target virtualization resource pool can be the virtualization resource pool with the optimal network condition (e.g., the smallest network bandwidth occupancy) among the virtualization resource pools that store the target image data persistently. The embodiment is not limited in this regard.

[0062] Step 103: The remote image information is sent to the current virtualization resource pool, so that the current virtualization resource pool acquires the target image data from the image repository of the target virtualization resource pool according to the remote image information.

[0063] In the step, the cloud management platform can send the remote image information to the current virtualization resource pool, so that the current virtualization resource pool can acquire the target image data from the image repository of the target virtualization resource pool according to the remote image information and cache the target image data locally for subsequent use.

[0064] Correspondingly, the method provided by the embodiment can further include a process in which the current virtualization resource pool acquires the target image data from the image repository of the target virtualization resource pool according to the remote image information. For example, the current virtualization resource pool can send a remote image request for the target image data to the target virtualization resource pool through a protocol such as nfs (Network File System), https (Hypertext Transfer Protocol Secure), or S3 (Amazon Simple Storage Service, a public cloud storage service). The current virtualization resource pool receives the target image data returned by the target virtualization resource pool. The remote image request can include authentication information required to access the target virtualization resource pool.

[0065] Correspondingly, the method provided in the embodiment can further include a process in which the target virtualization resource pool sends target image data to the current virtualization resource pool; and the current virtualization resource pool can run on the same device (such as a server) or different devices as the current virtualization resource pool. For example, the target virtualization resource pool can receive a remote mirroring request of the target image data sent by the current virtualization resource pool; perform security verification according to authentication information in the remote mirroring request; and if the security verification is passed, send the target image data to the current virtualization resource pool.

[0066] That is, the image service of each virtualization resource pool can provide two types of access methods, one is to provide data service for access demand in the virtualization resource pool, and the image data only needs to be copied and distributed locally, and the other is to provide service for access demand of other virtualization resource pools, and the image data is opened to other virtualization resource pools through nfs / https / S3 and the like. The access to other virtualization resource pools is verified by the cloud management platform by providing token or AK / SK authentication information, so as to guarantee the security of data access.

[0067] Further, the method provided in the embodiment can further include a process in which the cloud management platform detects whether there is a network restriction between the current virtualization resource pool and the target virtualization resource pool; if there is no network restriction, the process goes to step 103; and if there is a network restriction, the process acquires target image data from the image warehouse of the target virtualization resource pool according to the remote mirroring information, and forwards the target image data to the current virtualization resource pool. That is, when there is a network restriction between the current virtualization resource pool and the target virtualization resource pool, i.e., the current virtualization resource pool cannot perform data transmission with the target virtualization resource pool, the cloud management platform can directly forward the target image data in the target virtualization resource pool to the current virtualization resource pool. As shown in FIG. 10, when there is a network restriction between the multiple cloud management resource pools (Pool 1 and Pool 2), the cloud management platform can undertake a data transfer role to guarantee that the synchronization of data is not affected. Figure 2

[0068] Further, in order to realize the pre-delivery of hot data and reduce the requirements on the quality of disks and networks, the method provided in the embodiment can further include a process in which the cloud management platform receives hot image data information reported by each virtualization resource pool; determines hot image data in all managed image data according to the hot image data information; and controls all managed virtualization resource pools to store the hot image data, such as caching the hot image data in local data, so as to realize the pre-delivery of hot data.

[0069] ​The hotspot mirror data information can be information of commonly used mirror data (i.e., hotspot mirror data) cached by each virtual resource pool reported to the cloud management platform, so that the cloud management platform can determine the hotspot distribution of the overall mirror data according to the hotspot mirror data information reported by all virtual resource pools. Then, according to the activity of the mirror data, the hotspot mirror data (such as all hotspot mirror data, or hotspot mirror data corresponding to the virtual resource pool with the largest number or greater than the number threshold) is pre-delivered to each virtual resource pool. For example, the cloud management platform can receive the hotspot mirror data information reported by each virtual resource pool at a preset time interval, to periodically aggregate the activity of the mirror data, and update the hotspot mirror data regularly.

[0070] Correspondingly, in the present embodiment, the current virtual resource pool can use a data hotspot algorithm (such as the least recently used LRU algorithm) to clean up the infrequently used mirror data cached in the local data, and send the frequently used mirror data corresponding to the hotspot mirror data information to the cloud management platform.

[0071] Further, the method provided by the present embodiment can further include an adding process and a removing process of the virtual resource pool. For example, the adding process of the virtual resource pool can include: after the cloud management platform adds the newly added virtual resource pool to the managed virtual resource pool, the capacity information of the mirror repository of the newly added virtual resource pool is added to the repository list; according to the capacity information of each virtual resource pool in the repository list, the newly added virtual resource pool is controlled to obtain and persistently store the to-be-balanced mirror data from the to-be-balanced virtual resource pool, and the recorded metadata corresponding to the to-be-balanced mirror data is updated, to realize data balancing of the mirror repository of the managed virtual resource pool; wherein the to-be-balanced virtual resource pool can be all or part of the virtual resource pools other than the newly added virtual resource pool managed by the cloud management platform, and the to-be-balanced mirror data can be part of the mirror data persistently stored in the to-be-balanced virtual resource pool.

[0072] Correspondingly, the cloud management platform can also acquire a registration request for the newly added image data sent by the current virtualization resource pool (such as the newly added virtualization resource pool described above); configure registration information of the newly added image data according to the registration request; determine whether the number of the newly added image data stored in all the virtualization resource pools managed by the cloud management platform reaches a preset number; wherein the preset number is greater than or equal to 2; if not, select a target number of virtualization resource pools to store (such as persistent storage) the newly added image data from the optional virtualization resource pools according to the remaining capacity of the image repository of the optional virtualization resource pools; wherein the optional virtualization resource pools include virtualization resource pools that do not store the newly added image data in all the virtualization resource pools, and the target number is the difference between the preset number and the number of the stored newly added image data. That is, when the newly added image data is uploaded, the data can be saved according to the remaining capacity of the image repository of the virtualization resource pool in priority, so as to realize the load balancing of the image repositories of the virtualization resource pools.

[0073] Correspondingly, for the specific numerical value setting of the preset number in the present embodiment, the number (i.e. the number of copies) of each image data that needs to be stored (such as persistent storage) in all the virtualization resource pools managed by the cloud management platform required by the data protection rule in the Figure 4 may be set by the designer according to the practical scene and user demand, such as the preset number can be 2, so as to require that the number of each image data stored in the image repository of all the virtualization resource pools managed by the cloud management platform is greater than or equal to 2, and each image repository will not store multiple same image data; the preset number can also be 1 or a number greater than 2, and the present embodiment does not make any limitation on this.

[0074] Correspondingly, when modifying the data protection rule (such as the preset number) of the image data, the cloud management platform can also control the virtualization resource pools managed by the cloud management platform to adjust the image data stored in each virtualization resource pool (such as increase or delete), and update the metadata of the corresponding image data, so as to realize automatic adjustment.

[0075] ​The removal process of the virtualization resource pool can include that the cloud management platform can acquire a removal instruction of the current virtualization resource pool; according to the removal instruction, it is judged whether the to-be-deleted image data in the image warehouse of the current virtualization resource pool are all stored in other virtualization resource pools; wherein the to-be-deleted image data include image data in cluster data of the image warehouse of the current virtualization resource pool, or image data in cluster data of the image warehouse of the current virtualization resource pool and image data in local data; the other virtualization resource pool is a virtualization resource pool other than the current virtualization resource pool managed by the cloud management platform; if yes, the current virtualization resource pool is removed; if no, the to-be-backed-up image data are stored to the corresponding other virtualization resource pool, and the current virtualization resource pool is removed. That is to say, when the virtualization resource pool is removed, the cloud management platform can first calculate whether the image data of the virtualization resource exist available copies in other virtualization resources; if all available copies exist, the removal condition is met; if not, the image data thereon is automatically synchronized to other virtualization resources, so as to guarantee the availability of data.

[0076] In the embodiment, the centralized image data storage scheme of the cloud management platform in the related art is modified to a distributed image data storage in the embodiment of the application, the requirement for the storage space of the cloud management platform is reduced, the problem that a large amount of image data is unavailable due to a single point failure can be avoided from the physical layer; and the image data management can be sunk to the data management of each virtualization resource pool itself, the data transmission path when the image data is used is reduced, and the use efficiency of the image data is improved.

[0077] Corresponding to the above method embodiment, the embodiment of the application further provides an image data management device of a cloud management platform, which can be mutually corresponded and referred to the image data management method of the cloud management platform described above.

[0078] Reference is made to Figure 5 , Figure 5 A structural block diagram of an image data management device of a cloud management platform provided by the embodiment of the application. The device is applied to a cloud management platform, and can include:

[0079] The acquisition module 10 is configured to acquire an image request of target image data sent by a current virtualization resource pool;

[0080] The generation module 20 is configured to generate remote image information corresponding to the image request according to preset image data record information; wherein the preset image data record information includes metadata of all image data managed by the cloud management platform, and the remote image information includes access information of a target virtualization resource pool, and the target image data are persistently stored in an image warehouse of the target virtualization resource pool;

[0081] The sending module 30 is configured to send the remote mirror information to the current virtualization resource pool, so that the current virtualization resource pool acquires the target mirror data from the mirror repository of the target virtualization resource pool according to the remote mirror information.

[0082] In some embodiments, the apparatus applied to the current virtualization resource pool can further include:

[0083] The request acquiring module is configured to acquire a mirror request of the target mirror data.

[0084] The local judging module is configured to judge whether the target mirror data exists in local data of the local mirror repository according to the mirror request.

[0085] The cluster judging module is configured to judge whether the target mirror data exists in cluster data of the local mirror repository if the target mirror data does not exist in the local data, wherein the cluster data includes mirror data stored persistently in the mirror repository of the current virtualization resource pool managed by the cloud management platform.

[0086] The request sending module is configured to send the mirror request of the target mirror data to the cloud management platform if the target mirror data does not exist in the cluster data.

[0087] In some embodiments, the apparatus can further include:

[0088] The network detecting module is configured to detect whether there is a network restriction between the current virtualization resource pool and the target virtualization resource pool, and send a start signal to the sending module 30 if there is no network restriction.

[0089] The mirror forwarding module is configured to acquire the target mirror data from the mirror repository of the target virtualization resource pool according to the remote mirror information and forward the target mirror data to the current virtualization resource pool if there is a network restriction.

[0090] In some embodiments, the metadata includes mirror attributes, storage locations, access uniform resource locators and permission information.

[0091] In some embodiments, the apparatus can further include:

[0092] The hotspot receiving module is configured to receive hotspot mirror data information reported by each virtualization resource pool.

[0093] The hotspot determining module is configured to determine hotspot mirror data in all managed mirror data according to the hotspot mirror data information.

[0094] The hotspot issuing module is configured to control all managed virtualization resource pools to store the hotspot mirror data.

[0095] In some embodiments, the apparatus can further include:

[0096] a removal receiving module, configured to acquire a removal instruction of a current virtualization resource pool;

[0097] a removal judging module, configured to judge, according to the removal instruction, whether all to-be-deleted image data in a mirror repository of the current virtualization resource pool are stored in other virtualization resource pools; wherein the to-be-deleted image data comprises image data in cluster data of the mirror repository of the current virtualization resource pool, or image data in the cluster data of the mirror repository of the current virtualization resource pool and image data in local data; the other virtualization resource pools are virtualization resource pools other than the current virtualization resource pool managed by the cloud management platform;

[0098] a removal module, configured to remove the current virtualization resource pool if all the to-be-deleted image data are stored in the other virtualization resource pools;

[0099] a storage removal module, configured to store the to-be-backed-up image data to corresponding other virtualization resource pools and remove the current virtualization resource pool if not all the to-be-deleted image data are stored in the other virtualization resource pools.

[0100] In some embodiments, the apparatus can further comprise:

[0101] a registration receiving module, configured to acquire a registration request of newly-added image data sent by a current virtualization resource pool;

[0102] a registration configuring module, configured to configure registration information of the newly-added image data according to the registration request;

[0103] a registration judging module, configured to judge whether a quantity of the newly-added image data stored in all virtualization resource pools managed reaches a preset quantity; wherein the preset quantity is greater than or equal to 2;

[0104] a registration backup module, configured to select a target quantity of virtualization resource pools to store the newly-added image data from optional virtualization resource pools according to a remaining capacity of a mirror repository in the optional virtualization resource pools if the preset quantity is not reached; wherein the optional virtualization resource pools comprise virtualization resource pools in the all virtualization resource pools that do not store the newly-added image data, and the target quantity is a difference between the preset quantity and a storage quantity of the newly-added image data.

[0105] In some embodiments, the preset image data record information further comprises an image format type identifier supported by each virtualization resource pool, and an image format type identifier supported by the optional virtualization resource pools corresponds to an image format type of the newly-added image data.

[0106] In this embodiment, the centralized image data storage scheme of the cloud management platform in the related art is modified to a distributed image data storage, which reduces the requirement for the storage space of the cloud management platform, avoids the problem of a large amount of image data being unavailable due to a single point failure from a physical layer, and can sink the image data management to the data management of each virtualization resource pool, reduce the data transmission path when the image data is used, and improve the use efficiency of the image data.

[0107] Corresponding to the above method embodiment, the embodiment of the application further provides a management device for image data of a cloud management platform, which can be mutually corresponding with the management method for image data of a cloud management platform described above.

[0108] Please refer to Figure 6 , Figure 6 The structure diagram of a management device for image data of a cloud management platform provided by the embodiment of the application is shown in FIG. 1. The device can include:

[0109] a memory D1 for storing a computer program;

[0110] a processor D2 for executing the computer program to realize the steps of the management method for image data of a cloud management platform provided by the above method embodiment.

[0111] The management device for image data of a cloud management platform provided by the embodiment of the application can be specifically a server or other electronic device, such as a server running a cloud management platform.

[0112] Corresponding to the above method embodiment, the embodiment of the application further provides a computer program product, which can be mutually corresponding with the management method for image data of a cloud management platform described above.

[0113] A computer program product includes a computer program / instruction, which, when executed by a processor, realizes the steps of the management method for image data of a cloud management platform provided by the above method embodiment.

[0114] Corresponding to the above method embodiment, the embodiment of the application further provides a computer readable storage medium, which can be mutually corresponding with the management method for image data of a cloud management platform described above.

[0115] A computer readable storage medium has a computer program stored thereon, and the computer program, when executed by a processor, realizes the steps of the management method for image data of a cloud management platform provided by the above method embodiment.

[0116] The computer readable storage medium can be specifically a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like various readable storage medium capable of storing program codes.

[0117] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts between various embodiments can be referred to each other. For the apparatus, device, computer readable storage medium and computer program product disclosed by the embodiments, since it corresponds to the method disclosed by the embodiments, the description is relatively simple, and the relevant part can be referred to the method part.

[0118] The above describes in detail the cloud management platform image data management method, device and computer readable storage medium provided by the present application. The principle and implementation of the present application are described by applying specific examples. The above embodiment is only used to help understand the method and core idea of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the principle of the present application, the present application can be improved and modified. These improvements and modifications also fall within the protection scope of the present application.

Claims

1. A method for managing mirrored data on a cloud management platform, characterized in that, The method comprises the steps of: a cloud management platform obtaining a mirror request of target image data sent by a current virtualization resource pool; generating remote mirror information corresponding to the mirror request according to preset mirror data record information, wherein the preset mirror data record information comprises metadata of all mirror data managed by the cloud management platform, and the remote mirror information comprises access information of a target virtualization resource pool, and the target image data is stored in a mirror repository of the target virtualization resource pool; sending the remote mirror information to the current virtualization resource pool, so that the current virtualization resource pool obtains the target image data from the mirror repository of the target virtualization resource pool according to the remote mirror information. 2.The management method of mirror data of a cloud management platform according to claim 1, characterized in that, Before the cloud management platform obtains the mirror request of the target image data sent by the current virtualization resource pool, the method further comprises the steps of: the current virtualization resource pool obtaining the mirror request of the target image data; judging whether the target image data exists in local data of a local mirror repository according to the mirror request; if the target image data does not exist in the local data, judging whether the target image data exists in cluster data of the local mirror repository; wherein the cluster data comprises mirror data stored in the mirror repository of the current virtualization resource pool managed by the cloud management platform; if the target image data does not exist in the cluster data, sending the mirror request of the target image data to the cloud management platform. 3.The method of claim 1, wherein, Before the remote mirror information is sent to the current virtualization resource pool, the method further comprises the steps of: the cloud management platform detecting whether there is a network restriction between the current virtualization resource pool and the target virtualization resource pool; if there is no network restriction, performing the step of sending the remote mirror information to the current virtualization resource pool; if there is a network restriction, obtaining the target image data from the mirror repository of the target virtualization resource pool according to the remote mirror information, and forwarding the target image data to the current virtualization resource pool. 4.The method of claim 1, wherein, The metadata comprises mirror attributes, storage locations, access uniform resource locators and permission information. 5.The method of claim 1, wherein, The method further comprises the steps of: the cloud management platform receiving hot spot mirror data information reported by each virtualization resource pool; determining hot spot mirror data in all mirror data managed according to the hot spot mirror data information; controlling all virtualization resource pools managed to store the hot spot mirror data. 6.The method of claim 1, wherein, The method further comprises the steps of: the cloud management platform obtaining a removal instruction of the current virtualization resource pool; judging whether all to-be-deleted mirror data in the mirror repository of the current virtualization resource pool are stored in other virtualization resource pools according to the removal instruction; wherein the to-be-deleted mirror data comprises mirror data in cluster data of the mirror repository of the current virtualization resource pool, or mirror data in the cluster data and mirror data in local data of the mirror repository of the current virtualization resource pool; the other virtualization resource pools are virtualization resource pools managed by the cloud management platform and other than the current virtualization resource pool; if yes, removing the current virtualization resource pool; if no, storing the to-be-backed-up mirror data in the corresponding other virtualization resource pool, and removing the current virtualization resource pool.

7. The method of claim 1 to 6, wherein the cloud management platform's management of the image data is characterized by, Also comprising: The cloud management platform acquires a registration request of added image data sent by a current virtualization resource pool; According to the registration request, configure the registration information of the added image data; Determine whether the number of the added image data stored in all virtualization resource pools managed reaches a preset number; wherein the preset number is greater than or equal to 2; If not, according to the remaining capacity of the image warehouse in the optional virtualization resource pool, select a target number of virtualization resource pools from the optional virtualization resource pool to store the added image data; wherein the optional virtualization resource pool includes virtualization resource pools in the all virtualization resource pools that do not store the added image data, and the target number is the difference between the preset number and the storage number of the added image data. 8.The method of claim 7, wherein, The preset image data record information further includes an image format type identifier supported by each virtualization resource pool respectively, and the image format type identifier supported by the optional virtualization resource pool corresponds to the image format type of the added image data.

9. A management apparatus of image data of a cloud management platform, characterized by, Comprising: Memory for storing computer programs; Processor for executing the computer programs to realize the steps of the image data management method of the cloud management platform according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium has a computer program stored thereon, and the computer program is executed by the processor to realize the steps of the image data management method of the cloud management platform according to any one of claims 1 to 8.