# US 2023/0054683 A1 · Correspondence of external operations to containers and mutation events

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0054683 A1
- Document ID: US20230054683A1
- Status: Published application
- Kind: A1
- Application number: 17/980,080
- Filed: 2022-11-03
- Published: 2023-02-23
- Earliest claimed: 2019-09-20
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Hirokuni Kitahara; Yuji Watanabe; Fumiko Akiyama
- Web page: https://patentgrep.com/patent/US20230054683A1

## CPC

- C07D 317/36: Alkylene carbonates; Substituted alkylene carbonates
- G06F 21/121: {Restricting unauthorised execution of programs}
- C08F 20/28: containing no aromatic rings in the alcohol moiety
- G06F 9/3891: {organised in groups of units sharing resources, e.g. clusters}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 16/182: Distributed file systems
- G06F 16/90335: {Query processing}
- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- C08F: MACROMOLECULAR COMPOUNDS OBTAINED BY REACTIONS ONLY INVOLVING CARBON-TO-CARBON UNSATURATED BONDS

## Abstract

A method is provided for determining command-to-process correspondence. The method includes identifying, by the hardware processor, initial processes resulting from executions of container immutability change events for each of multiple initially mutable containers in a cluster, based on an execution time, a process identifier and a process group identifier for each of the container immutability change events. The method also includes designating, by the hardware processor, a particular external command, from among external container commands stored in a database, as having a correspondence to an initial process, responsive to the initial process matching at least one respective process resulting from executing the particular external command.

## Claims

### Claim 1

A computer-implemented method for determining command-to-process correspondence, comprising:
identifying, by a hardware processor, initial processes resulting from executions of container immutability change events for each of multiple initially mutable containers in a cluster, based on an execution time, a process identifier and a process group identifier for each of the container immutability change events; and
designating, by the hardware processor, a particular external command, from among the external container commands stored in a database, as having a correspondence to an initial process, responsive to the initial process matching at least one respective process resulting from executing the particular external command.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising transforming, by the hardware processor based on the correspondence, an initially mutable container into an immutable container with respect to the external container commands.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein said transforming step comprises modifying an existing code of the mutable container to be immutable so as to form the immutable container therefrom.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising creating the database by executing the external container commands, detecting the at least one respective process resulting from executing each of the external container commands, and mapping each of the external container commands to the at least one respective process resulting therefrom.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein said identifying step comprises determining, for each of the container immutability change events in an order of execution times of the container immutability change events, any of processes as one of the identified initial processes responsive to (i) the process ID of a corresponding one of the container immutability change events being identical to the process group ID of the container immutability change event and (ii) the container immutability change event being a process execution event.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the container immutability change events are mutation events.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the computer-implemented method is implemented in a cloud environment.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising deploying the immutable container in a distributed cloud environment.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the external container commands comprise an execute command.

### Claim 10

A computer program product for determining command-to-process correspondence, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
identifying, by a hardware processor of the computer, initial processes resulting from executions of container immutability change events for each of multiple initially mutable containers in a cluster, based on an execution time, a process identifier and a process group identifier for each of the container immutability change events;
checking, by the hardware processor, if an initial process from among the identified initial processes matches an entry in a database that stores external container commands and at least one respective process resulting from executing each of the external container commands; and
designating, by the hardware processor, a particular external command, from among the external container commands stored in the database, as having a correspondence to the initial process, responsive to the initial process matching the at least one respective process resulting from executing the particular external command.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the method further comprises transforming, by the hardware processor based on the correspondence, an initially mutable container into an immutable container with respect to the external container commands.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein said transforming step comprises modifying an existing code of the mutable container to be immutable so as to form the immutable container therefrom.

### Claim 13 (depends on 10)

The computer program product of claim 10, wherein the method further comprises creating the database by executing the external container commands, detecting the at least one respective process resulting from executing each of the external container commands, and mapping each of the external container commands to the at least one respective process resulting therefrom.

### Claim 14 (depends on 10)

The computer program product of claim 10, wherein said identifying step comprises determining, for each of the container immutability change events in an order of execution times of the container immutability change events, any of processes as one of the identified initial processes responsive to (i) the process ID of a corresponding one of the container immutability change events being identical to the process group ID of the container immutability change event and (ii) the container immutability change event being a process execution event.

### Claim 15 (depends on 10)

The computer program product of claim 10, wherein the container immutability change events are mutation events.

### Claim 16 (depends on 10)

The computer program product of claim 10, wherein the computer-implemented method is implemented in a cloud environment.

### Claim 17 (depends on 10)

The computer program product of claim 10, wherein the method further comprises deploying the immutable container in a distributed cloud environment.

### Claim 18 (depends on 10)

The computer program product of claim 10, wherein the external container commands comprise an execute command.

### Claim 19

A computer processing system for determining command-to-process correspondence, comprising:
a memory device including program code stored thereon;
a hardware processor, operatively coupled to the memory device, and configured to run the program code stored on the memory device to
identify initial processes resulting from executions of container immutability change events for each of multiple initially mutable containers in a cluster, based on an execution time, a process identifier and a process group identifier for each of the container immutability change events;
check if an initial process from among the identified initial processes matches an entry in a database that stores external container commands and at least one respective process resulting from executing each of the external container commands; and
designate a particular external command, from among the external container commands stored in the database, as having a correspondence to the initial process, responsive to the initial process matching the at least one respective process resulting from executing the particular external command.

### Claim 20 (depends on 19)

The computer processing system of claim 19, wherein said hardware processor is further configured to run the program code to transform, based on the correspondence, an initially mutable container into an immutable container with respect to the external container commands.

### Claim 21 (depends on 20)

The computer processing system of claim 20, wherein the hardware processor modifies an existing code of the mutable container to be immutable so as to form the immutable container therefrom.

### Claim 22 (depends on 19)

The computer processing system of claim 19, wherein the hardware processor creates the database by executing the external container commands, detecting the at least one respective process resulting from executing each of the external container commands, and mapping each of the external container commands to the at least one respective process resulting therefrom.

### Claim 23 (depends on 19)

The computer processing system of claim 19, wherein the processor identified the initial processes by determining, for each of the container immutability change events in an order of execution times of the container immutability change events, any of processes as one of the identified initial processes responsive to (i) the process ID of a corresponding one of the container immutability change events being identical to the process group ID of the container immutability change event and (ii) the container immutability change event being a process execution event.

### Claim 24 (depends on 19)

The computer processing system of claim 19, wherein the container immutability change events are mutation events.

### Claim 25 (depends on 19)

The computer processing system of claim 19, wherein the computer processing system is implemented as a node in a multi-node cloud environment.
