Unlock instant, AI-driven research and patent intelligence for your innovation.

Image download method and device

A technology of mirroring and node collection, applied in the computer field, can solve the problems of poor concurrent downloading ability and low efficiency of mirroring, and achieve the effect of enriching types, improving downloading ability and downloading efficiency.

Active Publication Date: 2022-03-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a mirror image download method and device to solve the technical problem of poor concurrent download capability and low efficiency of mirror images in the prior art

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
  • Image download method and device
  • Image download method and device
  • Image download method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0022] In order to make it easier for those skilled in the art to understand the image upgrade processing method of the present invention, the technical terms appearing in the present invention are firstly explained below:

[0023] Among them, mirroring is a collection of files that provide layered files and configuration information for the container operating environment. Mirroring files are incrementally saved and updated through layering. Mirroring includes layered files of layer structure and mirroring metadata. Among them, m...

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

No PUM Login to View More

Abstract

The present invention provides a method and device for downloading an image, wherein the method includes: downloading image metadata and a hash value of each layer file in the image from a metadata server; querying and tracking according to the hash value of each layer file to be downloaded The server pre-stores the corresponding relationship between the hash value and the node identifier, and determines the first download node set corresponding to each layer file, wherein the first download node set is the set of other clients used to provide layer file data to the download client ; Divide each layer file into multiple data blocks, and download multiple data blocks in parallel, wherein, the second download node set is a server set that obtains all layer file data from distributed storage; mirror metadata and all downloaded layers The file data is imported into the container to complete the image download. As a result, the types of nodes for image download are enriched, and the concurrent download capability and efficiency of images are improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a mirror image download method and device. Background technique [0002] Currently, images consist of image metadata and layer files, which provide the container with the running files and configuration environment of the application. Before the container runs, the image metadata and layer files need to be downloaded to the host in advance. Among them, the relevant cloud platform saves the application operation dependent environment in the image, and a large number of expansion and release processes need to download the image, and the efficiency of image distribution directly affects the service quality of the cloud platform. [0003] In related technologies, the Docker Registry method is used to download the mirror image. In this download method, the host cluster downloads the mirror image from a dedicated and private Docker Registry service. The Registry service prov...

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
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/06H04L67/1074H04L67/561H04L67/1097
CPCH04L67/06H04L67/108H04L67/1097H04L67/561
Inventor 利开园刘延春柳继委
Owner TENCENT TECH (SHENZHEN) CO LTD