IP Library › Granted Patent US 12,287,825
Granted Patent B1
US 12,287,825 · App. 18/396,767 · Granted Apr 29, 2025

On-demand image layer retrieval

Inventors: Hao Wu (Wu, CN); Xiao Ling Chen (Beijing, CN); Si Yu Chen (Beijing, CN); Lu Yan Li (Beijing, CN); Min Cheng (Beijing, CN); Wen Qi Wq Ye (Beijing, CN); Xiao Xuan Fu (Wuhan, CN)
Assignee: International Business Machines Corporation
G06F16/55G06F9/45558G06F16/535G06F16/9024
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,287,825
App. No.
18/396,767
Granted
Apr 29, 2025
Kind
B1
Abstract

Embodiments of the present invention provide computer-implemented methods, computer program product, and computer systems. One or more processors assign an identifier that specifies a number of resources and a category associated with a respective image layer of a plurality of image layers. One or more processors, in response to receiving a user request, identify image layers of the plurality of image layers that match the identifier based on dependencies between the plurality of image layers. One or more processors can retrieve matched layers based on the functionality of respective image layers and the dependencies of those respective image layers.

Claims (46)

1. A computer-implemented method comprising:

assigning an identifier that specifies a number of resources and a category associated with a respective image layer of a plurality of image layers;

in response to receiving a user request, identifying image layers of the plurality of image layers that match the identifier based on dependencies between the plurality of image layers, wherein the identifying further comprises:

generating a dependency graph using submissive and dependent sequences, wherein the generating further comprises:

creating a dependency between a layer of the plurality of image layers and at least one layer committed after the layer; and

creating a dependency between the layer and the at least one layer based on functionality of the at least one layer modifying the layer; and

downloading matched layers based on functionality of respective image layers and the dependencies of those respective image layers.

2. The computer-implemented method of claim 1 , further comprising:

generating a list that represent a number of resources associated with the respective image layers comprising respective identifiers.

3. The computer-implemented method of claim 2 , further comprising:

detecting how many resources are associated with respective image layers of the plurality of image layers using the generated list.

4. The computer-implemented method of claim 1 , further comprising:

parsing the generated list and selecting image layers represented in the dependency graph that match the user request as results that satisfy the user request.

5. The computer-implemented method of claim 4 , further comprising:

building a minimum dependency graph by analyzing parent and dependent nodes of each selected image layer.

6. The computer-implemented method of claim 1 , wherein an identifier is a form of character strings that represents a number of resources associated with a respective image layer and resource category.

7. A computer program product comprising:

one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:

program instructions to assign an identifier that specifies a number of resources and a category associated with a respective image layer of a plurality of image layers;

program instructions to, in response to receiving a user request, identify image layers of the plurality of image layers that match the identifier based on dependencies between the plurality of image layers, wherein the identifying further comprises:

generating a dependency graph using submissive and dependent sequences, wherein the generating further comprises:

creating a dependency between a layer of the plurality of image layers and at least one layer committed after the layer; and

creating a dependency between the layer and the at least one layer based on functionality of the at least one layer modifying the layer; and

program instructions to download matched layers based on functionality of respective image layers and the dependencies of those respective image layers.

8. The computer program product of claim 7 , wherein the program instructions stored on the one or more computer readable storage media further comprise:

program instructions to generate a list that represent a number of resources associated with the respective image layers comprising respective identifiers.

9. The computer program product of claim 8 , wherein the program instructions stored on the one or more computer readable storage media further comprise:

program instructions to detect how many resources are associated with respective image layers of the plurality of image layers using the generated list.

10. The computer program product of claim 7 , wherein the program instructions stored on the one or more computer readable storage media further comprise:

program instructions to parse the generated list and selecting image layers represented in the dependency graph that match the user request as results that satisfy the user request.

11. The computer program product of claim 10 , wherein the program instructions stored on the one or more computer readable storage media further comprise:

program instructions to build a minimum dependency graph by analyzing parent and dependent nodes of each selected image layer.

12. A computer system comprising:

one or more computer processors;

one or more computer readable storage media; and

program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising:

program instructions to assign an identifier that specifies a number of resources and a category associated with a respective image layer of a plurality of image layers;

program instructions to, in response to receiving a user request, identify image layers of the plurality of image layers that match the identifier based on dependencies between the plurality of image layers, wherein the identifying further comprises:

generating a dependency graph using submissive and dependent sequences, wherein the generating further comprises:

creating a dependency between a layer of the plurality of image layers and at least one layer committed after the layer; and

creating a dependency between the layer and the at least one layer based on functionality of the at least one layer modifying the layer; and

program instructions to download matched layers based on functionality of respective image layers and the dependencies of those respective image layers.

13. The computer system of claim 12 , wherein the program instructions stored on the one or more computer readable storage media further comprise:

program instructions to generate a list that represent a number of resources associated with the respective image layers comprising respective identifiers.

14. The computer system of claim 13 , wherein the program instructions stored on the one or more computer readable storage media further comprise:

program instructions to detect how many resources are associated with respective image layers of the plurality of image layers using the generated list.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 27, 2023
From: WU, HAO; CHEN, XIAO LING; CHEN, SI YU; LI, LU YAN; CHENG, MIN; YE, WEN QI WQ; FU, XIAO XUAN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 065957/0981 →
References Cited (38)
US 8843903B1 · Blaser · 2014 [cited by examiner]
US 10296219B2 · Wang · 2019 [cited by examiner]
US 10303657B2 · Huang · 2019 [cited by applicant]
US 10515192B2 · Wang · 2019 [cited by examiner]
US 10534671B1 · Zhao · 2020 [cited by examiner]
US 10656865B1 · Janse van Rensburg · 2020 [cited by examiner]
US 10719612B2 · Stopel · 2020 [cited by applicant]
US 10885378B2 · Li · 2021 [cited by examiner]
US 10936293B2 · Varadharajan Kannan · 2021 [cited by examiner]
US 11782588B1 · Bachmann · 2023 [cited by examiner]
US 20040117358A1 · von Kaenel · 2004 [cited by examiner]
US 20150033229A1 · Tegtmeier · 2015 [cited by examiner]
US 20170068676A1 · Jayachandran · 2017 [cited by examiner]
US 20170264684A1 · Spillane · 2017 [cited by examiner]
US 20180275987A1 · Vandeputte · 2018 [cited by examiner]
US 20180276215A1 · Chiba · 2018 [cited by examiner]
US 20190339889A1 · Lu · 2019 [cited by examiner]
US 20200142680A1 · Varadharajan Kannan · 2020 [cited by applicant]
US 20200356387A1 · Anwar · 2020 [cited by applicant]
US 20230065087A1 · Punathil · 2023 [cited by examiner]
US 20230229354A1 · Pabón · 2023 [cited by examiner]
US 20230229355A1 · Vohra · 2023 [cited by examiner]
US 20230229561A1 · Iyer · 2023 [cited by examiner]
US 20230229567A1 · Pabón · 2023 [cited by examiner]
US 20230401050A1 · Sree Prakash · 2023 [cited by examiner]
US 20240086168A1 · Douglas · 2024 [cited by examiner]
US 20240118916A1 · Wang · 2024 [cited by examiner]
US 20240184558A1 · Chen · 2024 [cited by examiner]
US 20240211231A1 · Shah · 2024 [cited by examiner]
US 20240345930A1 · Karr · 2024 [cited by examiner]
CN 106227579A · 2016 [cited by applicant]
CN 113420292A · 2021 [cited by applicant]
EP 3211859A1 · 2017 [cited by applicant]
EP 4068091A1 · 2022 [cited by applicant]
Chen et al., “Dependency Based Application Deployment”, U.S. Appl. No. 18/334,511, filed Jun. 14, 2023, 50 pages. (Specs + Drawings). [cited by applicant]
Chen et al., “Deployment of Updated Services or Layers on Demand Through Containers”, U.S. Appl. No. 18/062,266, filed Dec. 6, 2022, 32 pages. (Specs + Drawings). [cited by applicant]
Patel, Pratiksha, “Minimizing Docker Image Size”, CloudYuga.guru, May 22, 2023, <https://cloudyuga.guru/hands_on_lab/minimize-docker-image#2>, 18 pages. [cited by applicant]
International Searching Authority, “Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, or Declaration,” Patent Cooperation Treaty, Jan. 14, 2… [cited by applicant]
Cited By (2)
US 12,554,476 US 12,675,435