# US 2026/0149761 A1 · Tcp port reservation consistent with operating system namespaces

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

- Number: US 2026/0149761 A1
- Document ID: US20260149761A1
- Status: Published application
- Kind: A1
- Application number: 18/956,477
- Filed: 2024-11-22
- Published: 2026-05-28
- Earliest claimed: 2024-11-22
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Oliver Schmidt; Steffen Lammel; Andreas Ludwig Erz
- Web page: https://patentgrep.com/patent/US20260149761A1

## CPC

- H04L 69/163: In-band adaptation of TCP data exchange; In-band control procedures
- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L 69/162: {involving adaptations of sockets based mechanisms (secure socket layer H04L63/168)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Programs run in different file module specific namespaces do not share the same file system. For every port number, there is both a TCP port and a UDP port. However, UDP ports are more rarely used. Additionally, UDP ports and TCP ports are in the same (network module specific) namespace. Accordingly, a test script attempts to reserve a UDP port with a particular port number. If the reservation is successful, the test script creates an instance of a program that will use the corresponding TCP port. If the reservation fails, another test script has already reserved that port and this test script tries a different port number. As a result of using the UDP port-based reservation scheme, test execution scripts are enabled to coordinate the reservation of TCP ports, consistent with operating system namespaces.

## Claims

### Claim 1

A system comprising:
one or more hardware processors; and
a memory that stores instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
requesting a User Datagram Protocol (UDP) port with a port number; and
based on being granted the UDP port, reserving a Transmission Control Protocol (TCP) port with the port number for an instance of an application.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise:
requesting a second UDP port with a second port number;
based on being denied the second UDP port, requesting a third UDP port with a third port number; and
based on being granted the third UDP port, reserving a second TCP port with the third port number for a second instance of the application.

### Claim 3 (depends on 1)

The system of claim 1, wherein the operations further comprise:
starting the instance of the application using a command line that indicates the port number.

### Claim 4 (depends on 3)

The system of claim 3, wherein the operations further comprise:
based on a determination that the instance of the application has terminated, releasing the UDP port.

### Claim 5 (depends on 3)

The system of claim 3, wherein the operations further comprise:
requesting a second UDP port with a second port number;
based on being granted the second UDP port, reserving a TCP port with the second port number for a second instance of the application;
starting the second instance of the application using a second command line that indicates the second port number.

### Claim 6 (depends on 5)

The system of claim 5, wherein the instance of the application and the second instance of the application execute in different file module specific namespaces.

### Claim 7 (depends on 5)

The system of claim 5, wherein the instance of the application and the second instance of the application execute in a same file module specific namespaces.

### Claim 8 (depends on 5)

The system of claim 5, wherein the instance of the application and the second instance of the application execute in different network module specific namespaces.

### Claim 9 (depends on 5)

The system of claim 5, wherein the instance of the application and the second instance of the application execute in a same network module specific namespaces.

### Claim 10 (depends on 3)

The system of claim 3, wherein the operations further comprise:
providing the port number to an instance of a second application that connects to the instance of the application using the TCP port.

### Claim 11 (depends on 1)

The system of claim 1, wherein the operations further comprise:
selecting the port number from an allowed list of port numbers.

### Claim 12

A non-transitory computer-readable medium that stores instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
requesting a User Datagram Protocol (UDP) port with a port number; and
based on being granted the UDP port, reserving a Transmission Control Protocol (TCP) port with the port number for an instance of an application.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the operations further comprise:
requesting a second UDP port with a second port number;
based on being denied the second UDP port, requesting a third UDP port with a third port number; and
based on being granted the third UDP port, reserving a second TCP port with the third port number for a second instance of the application.

### Claim 14 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the operations further comprise:
starting the instance of the application using a command line that indicates the port number.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the operations further comprise:
based on a determination that the instance of the application has terminated, releasing the UDP port.

### Claim 16 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the operations further comprise:
requesting a second UDP port with a second port number;
based on being granted the second UDP port, reserving a TCP port with the second port number for a second instance of the application;
starting the second instance of the application using a second command line that indicates the second port number.

### Claim 17

A method comprising:
requesting, by one or more processors, a User Datagram Protocol (UDP) port with a port number; and
based on being granted the UDP port, reserving a Transmission Control Protocol (TCP) port with the port number for an instance of an application.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
requesting a second UDP port with a second port number;
based on being denied the second UDP port, requesting a third UDP port with a third port number; and
based on being granted the third UDP port, reserving a second TCP port with the third port number for a second instance of the application.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
starting the instance of the application using a command line that indicates the port number.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
based on a determination that the instance of the application has terminated, releasing the UDP port.
