Processing method and device and reading method and device for Docker image cache information
An information processing method and information reading technology, applied in the direction of electrical digital data processing, special data processing applications, generation of response errors, etc., can solve the problem of reducing the processing speed of requests, achieve fast processing of requests, and avoid redundant searches Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Embodiment 1 of the present invention discloses a Docker image cache information processing method, the method flow chart of the method is as follows figure 1 shown, including the following steps:
[0056] S101, traversing all the mirrors in the backend storage file system of the mirror warehouse, and grouping each mirror according to the mirror name to obtain at least one mirror group, where the mirror names of the mirror images in the mirror group are the same and the mirror tags are different;
[0057] In the process of executing step S101, the image in the storage file system corresponds to the image name that uniquely identifies the image. The image name is composed of the image name and the image label. All mirrors, get the mirror name of each mirror, and group all the traversed mirrors according to the mirror name. Therefore, the mirror names of each mirror in each mirror group are the same, but the mirror labels are different;
[0058] In this embodiment, the s...
Embodiment 2
[0067] In combination with the Docker image cache information processing method disclosed in the first embodiment above, the second embodiment of the present invention also provides a Docker image cache information processing method, the method flow chart is as follows figure 2 shown, including the following steps:
[0068] S101, traversing all the mirrors in the backend storage file system of the mirror warehouse, and grouping each mirror according to the mirror name to obtain at least one mirror group, where the mirror names of the mirror images in the mirror group are the same and the mirror tags are different;
[0069] S102. For each mirror group, read the cache information of each mirror in the mirror group, and generate mirror cache information identified by the mirror name, and the mirror cache information includes the mirror tags of each mirror in the mirror group and its Cache information;
[0070] S103, for each mirror group, according to the cache information of e...
Embodiment 3
[0102] Based on the Docker image cache information processing method disclosed in the first and second embodiments above, the third embodiment of the present invention provides a device for performing the above method. The schematic structural diagram of the Docker image cache information processing device is as follows Figure 6 As shown, including: traverse grouping module 101, read generation module 102 and generation module 103;
[0103] The traversal grouping module 101 is used for traversing all images in the backend storage file system of the image warehouse, and grouping each image according to the image name to obtain at least one image group, each image in the image group has the same image name and image label different;
[0104] Read generating module 102, for each mirror group, read the cache information of each mirror in the mirror group, and generate the mirror cache information identified by the mirror name, the mirror cache information includes the image cache...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com