Unlock instant, AI-driven research and patent intelligence for your innovation.
Import method and device of mirror image files
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A technology for mirroring files and files, applied in the computer field, can solve the problems of increasing storage costs and time-consuming, and achieve the effect of saving storage costs and importing time.
Active Publication Date: 2015-11-25
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF3 Cites 6 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0005] Even if only part of the image files on the node are needed, since all the image files have been saved as a compressed package, the compressed package needs to be imported as a whole, which not only takes a long time, but also increases the storage cost of another node
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more
Image
Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
example 1
[0108] Example 1, if the specified compressed package contains two image files, and the image names of the two image files are nginx and busybox respectively, the format of the first description file is as follows:
[0113] From the above example 1, we can see that the creation time of the image file corresponding to the image name nginx is "latest", and the ID of the leaf node corresponding to the image file is:
[0115] The creation time of the image file corresponding to the image name busybox is "latest", and the ID of the leaf node corresponding to the image file is:
[0135] Then according to the storage format of the second description file, the file ID of the data file that can be obtained from the second description file is:
[0139] 403. Obtain the leaf node ID of the target image file from the first description file.
[0140] Based on the corresponding relationship between the image file name stored in the first description fi...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More
PUM
Login to View More
Abstract
The invention discloses an import method and device of mirror image files, and belongs to the technical field of computers. The method comprises the steps that uncompress is conducted on a compression package containing multiple mirror image files to obtain a first description file and multiple data files, the first description file is used for storing corresponding relations between names of the mirror image files and leaf node identification (ID), and file data of each mirror image file are stored in at least one data file; target data files are obtained according to the first description file and the multiple data files; a compression package of the mirror image files is generated according to the target data files; the compression package of the target data files is imported into a target node. According to the import method and device of the mirror image files, the mirror image files to be imported are obtained according to the files obtained after the uncompress is conducted on the compression package containing the multiple mirror image files, then the mirror image files are imported to the target nodes in a targeted mode, overall import of the compression package containing the multiple mirror image files is avoided, the import time is saved, and the storage cost is reduced.
Description
technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for importing image files. Background technique [0002] In the computer field, in order to facilitate users to download and use, a series of specific files can be made into a mirror file according to a preset format through a mirror file making tool. Usually a mirror file is composed of multiple data files, and each data file stores different data of the mirror file. [0003] In order to save storage space, in the Docker scenario, multiple image files on the node are usually saved as a compressed package, and multiple image files in the compressed package may share the same data file. When it is necessary to import part of the image files on a node to another node, the compressed package containing all image files can be imported to another node through the loading operation. [0004] In the process of realizing the present invention, the inventor finds t...
Claims
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More
Application Information
Patent Timeline
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.