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

Mirror image management method and apparatus

A management method and technology for managing devices, applied in the field of image management methods and devices, can solve problems such as slow loading speed, and achieve the effects of accelerating image loading and enhancing user experience

Active Publication Date: 2017-10-27
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides an image management method and device to solve the problem in the prior art that image loading depends on order and serial loading, resulting in too slow loading speed

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
  • Mirror image management method and apparatus
  • Mirror image management method and apparatus
  • Mirror image management method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] refer to figure 1 , shows a flow chart of steps of an image management method according to Embodiment 1 of the present invention.

[0024] The image management method provided by the embodiment of the present invention includes the following steps:

[0025] Step 101: Construct a first image layer, and determine whether there is a dependency relationship between the first image layer and the element image layers in the end set.

[0026] Wherein, there is at least one element mirroring layer in the terminal set.

[0027] Step 102: If the first image layer has a dependency relationship with the element image layer in the end set, delete the element image layer that has a dependency relationship with the first image layer from the end set, and record the first image layer and the deleted element Dependencies of image layers.

[0028] For example: note that layer L0 is the base image layer, C is the set of layers that are not currently dependent on any layer, initially on...

Embodiment 2

[0036] refer to figure 2 , shows a flow chart of steps of an image management method according to Embodiment 2 of the present invention.

[0037] The image management method provided by the embodiment of the present invention includes the following steps:

[0038] Step 201: Construct the first image layer, and determine whether the first image layer has a dependency relationship with the element image layer in the end set.

[0039] Wherein, there is at least one element mirroring layer in the terminal set.

[0040] Step 202: If the first image layer has a dependency relationship with the element image layer in the end set, delete the element image layer that has a dependency relationship with the first image layer from the end set, and record the first image layer and the deleted element Dependencies of image layers.

[0041] For example: note that layer L0 is the base image layer, C is the set of layers that are not currently dependent on any layer, initially only include...

Embodiment 3

[0062] refer to image 3 , shows a structural block diagram of an image management device according to Embodiment 3 of the present invention.

[0063] The image management device provided by the embodiment of the present invention includes: a construction module 301, configured to construct a first image layer, and determine whether the first image layer has a dependency relationship with the elements in the end set, wherein there are at least An element mirror layer; a first deletion module 302, configured to remove the element mirror layer that has a dependency relationship with the first mirror layer from the first mirror layer if there is a dependency relationship between the first mirror layer and the element mirror layer in the end set Delete in the terminal set, and record the dependence relationship between the first mirror layer and the deleted element mirror layer; the first judging module 303 is used to judge whether the terminal set after deleting the element mirro...

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 invention provides a mirror image management method. The method comprises the steps of constructing a first mirror image layer, determining whether the first mirror image layer has a dependency relationship with an element mirror image layer in an end set or not, and if the first mirror image layer has the dependency relationship with the element mirror image layer in the end set, deleting the element mirror image layer with the dependency relationship with the first mirror image layer from the end set and recording the dependency relationship between the first mirror image layer and the deleted element mirror image layer; judging whether the end set after deletion of the element mirror image layer is a null set or not; if the end set is the null set, adding the first mirror image layer to the end set; when it is determined that a mirror image layer with the level higher than that of the first mirror image layer does not exist, creating a null mirror image layer, and recording that the null mirror image layer depends on all element mirror image layers in the current end set. A unidirectional dependency chain is replaced with a directed acyclic graph, and parallel loading of the mirror image layers is realized by performing topological sorting, so that the purpose of accelerating mirror image loading is achieved finally and the usage experience of users is enhanced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a mirror image management method and device. Background technique [0002] In order to realize the rapid distribution and reuse of images, Docker adopts the image layering technology. The modification of the files in the upper layer is based on the content of the lower layer. The image as a whole is composed of each layer to form a one-way dependency chain. Among them, the dependency relationship is to describe the semantic connection relationship between two model elements (classes, use cases, etc.) in the software engineering object model. One of the model elements is independent, and the other model element is not independent. Independent model elements, if the independent model elements are changed, will affect the dependent model elements. For example: a class uses an object of another class as an operation parameter, a class uses an object of another class as its...

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 Applications(China)
IPC IPC(8): G06F9/445G06F9/455
CPCG06F9/44521G06F9/45533
Inventor 赵慰杨成伟
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD