# US 2021/0286640 A1 · Integration and development cycles by swapping running executables in cloud-native environments

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

- Number: US 2021/0286640 A1
- Document ID: US20210286640A1
- Status: Published application
- Kind: A1
- Application number: 16/818,595
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Jonas Zengerle; Patrick Spiegel
- Web page: https://patentgrep.com/patent/US20210286640A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems can be used for swapping running executables in a container. A container orchestrator process receives a request to run an application in a container. A first execution of the application is initiated, in the container, in a first child process of the container orchestrator process. The container orchestrator process listens for file changes for the application. At least one file change is determined for the application, and in response to determining the at least one file change for the application, a second execution of the application is initiated in the container, without restarting the container, using the at least one file change, in a second child process of the container orchestration process. After initiating the second execution of the application in the container, the first child process is terminated.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving, by a container orchestrator process, a request to run an application in a container;
initiating a first execution of the application, in the container, in a first child process of the container orchestrator process;
listening, by the container orchestrator process, for file changes for the application;
determining at least one file change for the application;
in response to determining the at least one file change for the application, initiating a second execution of the application in the container, without restarting the container, using the at least one file change, in a second child process of the container orchestration process; and
after initiating the second execution of the application in the container, terminating the first child process.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
initiating the first execution of the application includes assigning the first child process to a first internal port and mapping an external port to the first internal port; and
initiating the second execution of the application includes assigning the second child process to a second internal port and mapping the external port to the second internal port.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one file change includes a new version of a binary executable file for the application.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the request includes a location of the binary executable file.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the request includes a location at which to listen for file changes.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the location at which to listen for file changes is different than the location of the binary executable file.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one file change includes a new or updated configuration file used by the application.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein a first file change corresponds to a secure copying of a first file into the container during the first execution of the application.

### Claim 9

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
receiving, by a container orchestrator process, a request to run an application in a container;
initiating a first execution of the application, in the container, in a first child process of the container orchestrator process;
listening, by the container orchestrator process, for file changes for the application;
determining at least one file change for the application;
in response to determining the at least one file change for the application, initiating a second execution of the application in the container, without restarting the container, using the at least one file change, in a second child process of the container orchestration process; and
after initiating the second execution of the application in the container, terminating the first child process.

### Claim 10 (depends on 9)

The non-transitory, computer-readable medium of claim 9, wherein:
initiating the first execution of the application includes assigning the first child process to a first internal port and mapping an external port to the first internal port; and
initiating the second execution of the application includes assigning the second child process to a second internal port and mapping the external port to the second internal port.

### Claim 11 (depends on 9)

The non-transitory, computer-readable medium of claim 9, wherein the at least one file change includes a new version of a binary executable file for the application.

### Claim 12 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein the request includes a location of the binary executable file.

### Claim 13 (depends on 12)

The non-transitory, computer-readable medium of claim 12, wherein the request includes a location at which to listen for file changes.

### Claim 14 (depends on 13)

The non-transitory, computer-readable medium of claim 13, wherein the location at which to listen for file changes is different than the location of the binary executable file.

### Claim 15

A computer-implemented system, comprising:
one or more computers; and
one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:
receiving, by a container orchestrator process, a request to run an application in a container;
initiating a first execution of the application, in the container, in a first child process of the container orchestrator process;
listening, by the container orchestrator process, for file changes for the application;
determining at least one file change for the application;
in response to determining the at least one file change for the application, initiating a second execution of the application in the container, without restarting the container, using the at least one file change, in a second child process of the container orchestration process; and
after initiating the second execution of the application in the container, terminating the first child process.

### Claim 16 (depends on 15)

The computer-implemented system of claim 15, wherein:
initiating the first execution of the application includes assigning the first child process to a first internal port and mapping an external port to the first internal port; and
initiating the second execution of the application includes assigning the second child process to a second internal port and mapping the external port to the second internal port.

### Claim 17 (depends on 15)

The computer-implemented system of claim 15, wherein the at least one file change includes a new version of a binary executable file for the application.

### Claim 18 (depends on 17)

The computer-implemented system of claim 17, wherein the request includes a location of the binary executable file.

### Claim 19 (depends on 18)

The computer-implemented system of claim 18, wherein the request includes a location at which to listen for file changes.

### Claim 20 (depends on 19)

The computer-implemented system of claim 19, wherein the location at which to listen for file changes is different than the location of the binary executable file.
