Mirror image transmission method and device, electronic equipment and storage medium

A transmission method and mirroring technology, applied in program control devices, program control design, electrical digital data processing, etc., can solve problems such as waste of bandwidth resources, waste of storage resources, untimely mirror transmission, etc.

Active Publication Date: 2020-05-08
CHINA MOBILE SUZHOU SOFTWARE TECH CO LTD +1
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The present invention discloses a mirror image transmission method, device, electronic equipment and storage medium, in order to overcome the inconsistency of mirror image transmission exist...

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 transmission method and device, electronic equipment and storage medium
  • Mirror image transmission method and device, electronic equipment and storage medium
  • Mirror image transmission method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] According to an aspect of the embodiments of the present invention, a mirror image transmission method is provided, such as image 3 As shown, the method includes the following steps:

[0078] Step S301: Identify the target metadata information included in the image filtering rule according to the image filtering rule set for the target image repository.

[0079] It can be seen from the above that when the image is transferred based on the API, only the full image synchronization of the image from the source image warehouse to the target image warehouse is realized, and no filtering is performed on the transferred image, so the image storage space and the process of transferring Waste of bandwidth resources. Therefore, in the embodiment of the present invention, by pre-setting the image filtering rules for transferring images to the target image warehouse, before transferring the image in the source mirror warehouse to the target mirror warehouse, the image in the sour...

Embodiment 2

[0103] Since the premise of transferring the target mirror image from the source mirror warehouse to the target mirror warehouse is to ensure the legitimacy of the target mirror warehouse, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, the Mirroring filtering rules, before identifying the target metadata information contained in the mirroring filtering rules, the method further includes:

[0104] Obtain account information of the target mirror warehouse, where the account information includes an account name and a login password of the target mirror warehouse;

[0105] performing a connection test on the target mirror warehouse according to the account information;

[0106] If the target mirror repository is successfully connected, then perform subsequent steps.

[0107] Since the target mirror warehouse in different environments has corresponding account names and login passwords, in order to ensure the legitimacy of the target m...

Embodiment 3

[0112] Since the premise of transferring the target mirror image from the source mirror warehouse to the target mirror warehouse can also be to ensure that the target mirror warehouse has the transfer authority to obtain image transfer from the source mirror warehouse, so on the basis of the above-mentioned embodiments, in the embodiment of the present invention , before identifying the target metadata information contained in the image filter rule according to the image filter rule set for the target mirror repository, the method further includes:

[0113] Obtain permission information of the target mirror warehouse;

[0114] judging whether the target image repository has the transmission authority to acquire images from the source image repository according to the permission information;

[0115] If yes, proceed to the next steps.

[0116] Specifically, if the target mirror warehouse is assigned the transfer authority to obtain images from the source mirror warehouse, ther...

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 transmission method and device, electronic equipment and a storage medium. The method comprises the steps of identifying target metadata information contained ina mirror image filtering rule according to the mirror image filtering rule set for a target mirror image warehouse; obtaining a parameter value corresponding to the target metadata information of eachmirror image according to the metadata information stored for each mirror image in the source mirror image warehouse; for the parameter value corresponding to the target metadata information of eachmirror image, judging whether the parameter value corresponding to the target metadata information of the mirror image meets a filtering condition stored for the target metadata information in a mirror image filtering rule or not; if yes, enabling the mirror image to serve as a target mirror image to be transmitted from the source mirror image warehouse to the target mirror image warehouse. By setting the mirror image filtering rule, the transmitted mirror images are all specific mirror images required by the target mirror image library, so that the transmission efficiency can be ensured, thestorage space in the target mirror image library can be saved, and the waste of bandwidth resources in the transmission process is reduced.

Description

technical field [0001] The present invention relates to the technical field of containers in cloud computing, in particular to an image transmission method, device, electronic equipment and storage medium. Background technique [0002] With the rapid development of container technology and its ecosystem, enterprises have begun to choose docker (a type of container technology) for application deployment. Among them, the outstanding advantage of container technology is the integration of development, operation and maintenance, that is, container technology can encapsulate applications and their dependent software packages, operating system files, etc. The operating environment brings great convenience. [0003] Specifically, the management of container images is mainly performed around a registry. In general, the mirror warehouse can use the public SaaS (Software-as-a-Service, software as a service) service, because the advantage of the public service is that it can be used ...

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/455
CPCG06F9/45558G06F2009/45595G06F2009/4557
Inventor 吴云飞戴正元程立果王尧
Owner CHINA MOBILE SUZHOU SOFTWARE TECH 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