Mirror image construction and loading method based on mirror image loading in container environment

A construction method and technology of basic mirroring, applied in the field of computer systems, can solve the problems of time and labor cost waste, time, consumption and so on

Pending Publication Date: 2021-04-20
GEOVIS CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Larger images will cause problems such as longer time for image construction; more space for image storage; more time for image transmission or distribution, etc.
In particular: the real and effective program size in the image may only be tens of megabytes or even a few megabytes in size, making the proportion of effective content in the image too small
[0010] 2. The image is too large, which poses a huge challenge to the environment during the distribution and storage of the image
Difficulties in the distribution process. For example, in scenarios where real-time requirements are required, the time consumption of image distribution plays a decisive role in the scenario.
Excessively large images will inevitably increase the time cost of image distribution, which in turn puts forward higher requirements for network bandwidth
In an edge environment, a larger image will consume more time, and the possibility of network problems during the distribution process will be higher. It will cause operational difficulties for the deployment and upgrade of the carrying service, and it will also pose more challenges to the stability of the network. high requirements
Difficulties in the storage process Due to the relatively large storage restrictions in edge scenarios, an overly large image will pose challenges to storage management in edge environments
[0011] 3. At present, when building an image, it is necessary to specify the operating system when the service is running, which will cause some inconvenience or problems
For example, if there is no image of the target operating system in the environment where the image is built, then there is no way to build it; once the image is built, it is bound to the operating environment in the image, and there is no way to flexibly adjust the service according to the actual operating environment. For example, there is no way to flexibly adjust the program from the centos operating environment to the lighter alpine operating environment; to adapt the same service to different operating systems, mirroring needs to be made separately, resulting in a waste of time and labor costs
[0012] 4. At p

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 construction and loading method based on mirror image loading in container environment
  • Mirror image construction and loading method based on mirror image loading in container environment
  • Mirror image construction and loading method based on mirror image loading in container environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0048] The present invention provides an image construction method and a loading method based on image loading in a container environment. The overall flow chart of system operation is as follows figure 1 shown, including the following steps:

[0049] Step 1. When building the image, decouple the basic operating environment part and the mirror business logic part;

[0050] Step 2, building the first operating system and basic software as a basic i...

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 construction and loading method based on mirror image loading in a container environment, and the method comprises the following steps: 1, carrying out the decoupling of a basic operation environment part and a service business logic part during mirror image construction; step 2, after decoupling, constructing a first operating system and basic software into a basic mirror image; 3, building the second operating system and the service program part into a service mirror image, and the storage space occupied by the second operating system being smaller than that occupied by the first operating system. The service mirror image and the basic mirror image are separated, the mirror image size of the service logic is relatively small, and storage and distribution of the mirror images are facilitated.

Description

technical field [0001] The invention relates to the field of computer systems, in particular to a mirror image construction and loading method based on mirror image loading. Background technique [0002] Docker image is the storage and distribution carrier for applications, which relies on many underlying technologies, including joint file systems, copy-on-write, and so on. [0003] Image layering: An image is a unified view of a bunch of read-only layers that overlap. Except for the bottom layer, all other layers will have a pointer pointing to the next layer. These layers are implementation details inside Docker and are accessible on the host's filesystem. The unified file system (union file system) technology can integrate different layers into a file system, providing a unified perspective for these layers, thus hiding the existence of multiple layers, from the user's point of view, it is a file system . [0004] Image scheduling management tools: There are many comm...

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
IPC IPC(8): G06F9/455G06F8/61G06F8/65G06F11/36
Inventor 韩琼林殷徐凤桐张伟黄会敏张振爱李峰项天远
Owner GEOVIS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products