Cloud Image Cloning via Glance Backend Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing methods for preparing images on cloud platforms are cumbersome and time-consuming, requiring lengthy downloading and uploading processes that reduce efficiency and increase bandwidth load.
Innovation Solution
A method that involves receiving an image request, obtaining storage backends, and cloning the image when the backends are the same, thereby omitting the need for downloading and uploading, and using a Glance service interface to manage image storage and metadata updates.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the existing method of downloading and uploading images is used, then the image can be prepared on the cloud platform, but the image preparation time is long and efficiency is low
Solution Approach 1:
The patent applies the copying principle by creating a clone of the image in the same storage backend instead of downloading and re-uploading. When the source and target storage backends are the same, the system performs a cloning operation that directly copies the image data within the storage backend, avoiding the time-consuming download-upload cycle and significantly reducing image preparation time.
Solution Approach 2:
The patent extracts the unnecessary download and upload steps from the image preparation process. By detecting when the source and target storage backends are identical, the system removes the redundant data transfer operations (downloading to temporary folder and uploading from temporary folder), keeping only the essential cloning operation within the same storage backend.
2Productivity
If the existing method of downloading and uploading images is used, then the image can be prepared on the cloud platform, but the bandwidth load increases
Solution Approach 1:
The copying principle reduces bandwidth load by performing the clone operation within the same storage backend. Instead of transferring image data across network boundaries (download to host, then upload back to storage), the system copies data locally within the storage backend, minimizing network bandwidth consumption and energy loss.
Solution Approach 2:
The patent extracts and removes the bandwidth-intensive download and upload operations from the process. By identifying when source and target backends are the same, the system eliminates the network transfer steps that consume bandwidth, retaining only the efficient local cloning operation.
3Productivity
If the existing method of downloading and uploading images is used, then the image can be prepared on the cloud platform, but the process becomes cumbersome and complex
Solution Approach 1:
The patent extracts and removes the complex temporary folder management steps from the process. By detecting identical storage backends, the system eliminates the need to create temporary folders, download images, upload images, and delete temporary files, simplifying the process to a direct cloning operation within the same storage backend.
Solution Approach 2:
The copying principle simplifies the process by replacing the multi-step download-upload-delete sequence with a single cloning operation. When source and target backends match, the system performs a direct clone that achieves the same result with far fewer steps and less complexity.
Data Source
AI summary
A method and apparatus for preparing an image on a cloud platform, and a device and a storage medium are provided. The method may include: receiving an image request for a target object, and obtaining a first storage backend of the target object according to the image request; obtaining a second storage backend of a Glance service in the cloud platform, and comparing the second storage backend with the first storage backend; and obtaining an image for the target object on the second storage backend in a cloning manner when the first storage backend is the same as the second storage backend. According to the method, when the first storage backend is the same as the second storage backend, the image for the target object is obtained on the second storage backend in the cloning manner, so that the downloading and uploading processes are omitted.


