Container Image Management via Layer Segmentation and Patching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing methods for managing container images are inefficient due to the large size of container images, which results in high time and resource costs during transmission and storage, as they are typically handled as whole entities rather than granular units.

Innovation Solution

The proposed solution involves breaking down container images into image layers, performing similarity analysis to identify a base portion and generating a patch portion based on differences, allowing for storage and transmission of these layers individually, thereby reducing bandwidth and time costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If container images are transmitted and stored as whole entities, then the management process is simple, but the time and resource costs are high due to large image sizes

Engineering Contradiction:
Improvemanagement process complexityVSAvoidtransmission and storage time
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The patent divides container images into multiple image layers, allowing selective transmission and storage of only the necessary layers. This segmentation enables the system to avoid transmitting entire images when only specific layers are needed, significantly reducing transmission time and resource consumption while maintaining manageable complexity through structured layer organization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts only the necessary image layers from complete container images for transmission and storage. By taking out only the required portions (specific layers) rather than handling entire images, the system reduces the amount of data that needs to be managed, transmitted, and stored, thereby reducing time and resource costs while keeping the management process organized and manageable.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If container images are broken down into image layers, then the granularity of management is improved, but the complexity of processing increases

Engineering Contradiction:
Improvegranularity of managementVSAvoidprocessing complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments container images into reusable image layers that can be independently managed and combined. This segmentation provides fine-grained control over image components, allowing the system to adapt to different management needs by selecting and combining specific layers. The structured approach to segmentation maintains processing manageability through consistent layer organization and identification mechanisms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates universal image layers that can serve multiple purposes and be reused across different container images. These layers function as reusable building blocks that can be combined in various ways to create different container images, providing adaptability and versatility. The multi-functional nature of these layers reduces the need to create entirely new images, simplifying processing while enabling fine-grained management.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Quantity of substance

If similarity analysis is performed to identify base portions and generate patch portions, then the storage efficiency is improved, but the computational resources required increase

Engineering Contradiction:
Improvestorage efficiencyVSAvoidcomputational resources
Core Design Contradiction:
Quantity of substanceVSUse of energy by moving object

Solution Approach 1:

The patent performs similarity analysis and identifies base portions in advance during the image layer processing stage. By conducting this analysis beforehand, the system establishes a foundation of reusable base layers that can be directly applied to future container image creations without repeating the full analysis process. This preliminary action reduces computational resources needed during subsequent operations while improving storage efficiency through identified reusable components.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates patch portions as differences from identified base portions, enabling efficient storage and retrieval. Instead of storing complete container images, the system stores base layers once and generates patch portions that represent only the necessary modifications. This copying approach significantly improves storage efficiency by eliminating redundant data while the computational cost is amortized over multiple operations that reuse the same base layers.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10885378B2Container image management
Publication Date: 2021.01.05 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10885378B2 patent drawing
  • US10885378B2 patent drawing
  • US10885378B2 patent drawing

AI summary

Embodiments of the present invention relate to methods, systems, and computer program products for container image management. In a method, an image layer in a container image may be received by one or more processors, and the container image is to be stored in an image server comprising a group of image layers. A base portion may be selected by one or more processors from the group of image layers based on a similarity analysis between the image layer and the group of image layers. A patch portion may be generated by one or more processors based on a difference between the image layer and the selected base portion. With these embodiments, the container image may be stored based on multiple image layers, and thus the container image may be maintained in a much finer granularity so as to reduce requirements on the bandwidth and time cost for transmitting the container image.