# US 2026/0067371 A1 · Network Access Method, Computing Device, and Computing Device Cluster

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

- Number: US 2026/0067371 A1
- Document ID: US20260067371A1
- Status: Published application
- Kind: A1
- Application number: 19/379,015
- Filed: 2025-11-04
- Published: 2026-03-05
- Earliest claimed: 2023-05-05
- Assignees: Huawei Cloud Computing Technologies Co., Ltd.
- Applicants: Huawei Cloud Computing Technologies Co., Ltd.
- Inventors: Feng Gao
- Web page: https://patentgrep.com/patent/US20260067371A1

## CPC

- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04L 69/08: Protocols for interworking; Protocol conversion
- 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 69/167: Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6 (translation of Internet protocol [IP] addresses H04L61/2503)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application provides a network access method, a computing device, and a computing device cluster. In the method, a first socket creation request initiated by a target application is received, a type parameter of the first socket creation request is modified, and a socket is created based on a modified type parameter. A protocol stack corresponding to the modified type parameter is the same as a protocol stack supported by the second computing device. A first computing device receives a connection request initiated by the target application, and modifies a first IP address in the connection request to a second IP address based on a preset address mapping relationship. The second IP address is an IP address of a second computing device under a second protocol stack supported by the second computing device. The first computing device establishes a connection to the second computing device based on the socket.

## Claims

### Claim 1

A network access method, comprising:
receiving a first socket creation request initiated by a target application in a first computing device, wherein the first socket creation request is used to request to create a socket for accessing a target application in a second computing device;
modifying a type parameter of the first socket creation request, and creating a socket based on a modified type parameter, wherein a protocol stack corresponding to the modified type parameter is the same as a protocol stack supported by the second computing device;
receiving a connection request initiated by the target application in the first computing device, wherein the connection request is used to request to establish a connection to the second computing device, and the connection request comprises a first internet protocol (IP) address;
modifying the first IP address in the connection request to a second IP address based on a preset address mapping relationship, wherein the first IP address belongs to a first protocol stack, and the second IP address is an IP address of the second computing device under a second protocol stack supported by the second computing device; and
establishing a connection to the second computing device based on the socket and the connection request.

### Claim 2 (depends on 1)

The method according to claim 1, wherein after creating the socket based on the modified type parameter, and before receiving the connection request initiated by the target application in the first computing device, the method further comprises:
receiving an address binding request initiated by the target application in the first computing device, wherein the address binding request comprises a third IP address; modifying the third IP address in the address binding request to a fourth IP address based on the preset address mapping relationship; and binding the fourth IP address to the socket according to the address binding request, wherein the third IP address belongs to the first protocol stack, and the fourth IP address is an IP address of the first computing device under the second protocol stack; and
establishing the connection to the second computing device based on the socket and the connection request comprises:
establishing the connection to the second computing device based on the socket, the fourth IP address, and the second IP address in the connection request.

### Claim 3 (depends on 2)

The method according to claim 2, wherein after receiving the address binding request initiated by the target application, and before modifying the third IP address in the address binding request to the fourth IP address based on the preset address mapping relationship, the method further comprises:
determining that the preset address mapping relationship comprises a mapping relationship between the third IP address and the fourth IP address.

### Claim 4 (depends on 1)

The method according to claim 1, wherein establishing the connection to the second computing device based on the socket and the connection request comprises:
selecting a fourth IP address from a plurality of IP addresses of the first computing device, wherein the fourth IP address and the second IP address belong to a same protocol stack; and
establishing the connection to the second computing device based on the socket, the fourth IP address, and the second IP address in the connection request.

### Claim 5 (depends on 1)

The method according to claim 1, wherein after receiving the first socket creation request initiated by the target application, and before modifying the type parameter of the first socket creation request, the method further comprises:
determining that the target application belongs to a preset application list, wherein an application in the preset application list is an application for which network address translation is to be performed.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the preset application list is preconfigured by a system or is customized by a user; and
the preset address mapping relationship is preconfigured by the system or is customized by the user.

### Claim 7 (depends on 1)

The method according to claim 1, wherein after receiving the connection request initiated by the target application in the first computing device, and before modifying the first IP address in the connection request to the second IP address based on the preset address mapping relationship, the method further comprises:
determining that the preset address mapping relationship comprises a mapping relationship between the first IP address and the second IP address.

### Claim 8 (depends on 1)

The method according to claim 1, wherein after establishing the connection to the second computing device based on the socket and the connection request, the method further comprises:
performing system call processing based on the second IP address, wherein
the system call processing comprises reading a message from the second computing device and/or sending a message to the second computing device.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the first protocol stack is an IPV4 protocol stack, and the second protocol stack is an IPV6 protocol stack; or
the first protocol stack is an IPv6 protocol stack, and the second protocol stack is an IPV4 protocol stack.

### Claim 10

A computing device, comprising a memory and a processor, and the memory is configured to store an instruction, and the processor is configured to execute the instruction in the memory to:
receive a first socket creation request initiated by a target application, wherein the first socket creation request is used to request to create a socket for accessing a target application in a second computing device;
modify a type parameter of the first socket creation request, wherein a protocol stack corresponding to a modified type parameter is the same as a protocol stack supported by the second computing device;
create a socket based on the modified type parameter; and receive a connection request initiated by the target application, wherein the connection request is used to request to establish a connection to the second computing device, the connection request comprises a first internet protocol (IP) address, and the first IP address belongs to a first protocol stack;
modify the first IP address in the connection request to a second IP address based on a preset address mapping relationship, wherein the second IP address is an IP address of the second computing device under a second protocol stack supported by the second computing device; and
establish a connection to the second computing device based on the socket and the connection request.

### Claim 11 (depends on 10)

The device according to claim 10, wherein the processor is further configured to execute the instruction in the memory to:
after create the socket based on the modified type parameter, and before receive the connection request initiated by the target application, receive an address binding request initiated by the target application, wherein the address binding request comprises a third IP address, and the third IP address belongs to the first protocol stack;
modify the third IP address in the address binding request to a fourth IP address based on the preset address mapping relationship, wherein the fourth IP address is an IP address of a first computing device under the second protocol stack;
bind the fourth IP address to the socket according to the address binding request; and
wherein the processor is configured to establish the connection to the second computing device based on the socket and the connection request, comprise:
establish the connection to the second computing device based on the socket, the fourth IP address, and the second IP address in the connection request.

### Claim 12 (depends on 11)

The device according to claim 11, the processor is further configured to execute the instruction in the memory to:
after receive the address binding request initiated by the target application, and before modify the third IP address in the address binding request to the fourth IP address based on the preset address mapping relationship, determine that the preset address mapping relationship comprises a mapping relationship between the third IP address and the fourth IP address.

### Claim 13 (depends on 10)

The device according to claim 10, wherein the processor is configured to establish the connection to the second computing device based on the socket and the connection request comprises:
select a fourth IP address from a plurality of IP addresses of the computing device, wherein the fourth IP address and the second IP address belong to a same protocol stack; and
establish the connection to the second computing device based on the socket, the fourth IP address, and the second IP address in the connection request.

### Claim 14 (depends on 12)

The device according to claim 12, wherein the processor is further configured to execute the instruction in the memory to:
after receive the first socket creation request initiated by the target application, and before modify the type parameter of the first socket creation request, determine that the target application belongs to a preset application list, wherein an application in the preset application list is an application for which network address translation is to be performed.

### Claim 15 (depends on 10)

The device according to claim 10, wherein the processor is configured to execute the instruction in the memory to:
after receive the connection request initiated by the target application, and before modify the first IP address in the connection request to the second IP address based on the preset address mapping relationship, determine that the preset address mapping relationship comprises a mapping relationship between the first IP address and the second IP address.

### Claim 16 (depends on 10)

The device according to claim 10, wherein the processor is configured to execute the instruction in the memory to:
after establish the connection to the second computing device based on the socket and the connection request, perform system call processing based on the second IP address, wherein
the system call processing comprises reading a message from the second computing device and/or sending a message to the second computing device.

### Claim 17 (depends on 10)

The device according to claim 10, wherein the preset application list is preconfigured by a system or is customized by a user; and
the preset address mapping relationship is preconfigured by the system or is customized by the user.

### Claim 18 (depends on 10)

The device according to claim 10, wherein the first protocol stack is an IPv4 protocol stack, and the second protocol stack is an IPV6 protocol stack; or
the first protocol stack is an IPV6 protocol stack, and the second protocol stack is an IPV4 protocol stack.

### Claim 19

A computer-readable storage medium, comprising computer program instructions, wherein when the computer program instructions are executed by a computing device, the computing device is enabled to:
receive a first socket creation request initiated by a target application, wherein the first socket creation request is used to request to create a socket for accessing a target application in a second computing device;
modify a type parameter of the first socket creation request, wherein a protocol stack corresponding to a modified type parameter is the same as a protocol stack supported by the second computing device;
create a socket based on the modified type parameter; and receive a connection request initiated by the target application, wherein the connection request is used to request to establish a connection to the second computing device, the connection request comprises a first internet protocol (IP) address, and the first IP address belongs to a first protocol stack;
modify the first IP address in the connection request to a second IP address based on a preset address mapping relationship, wherein the second IP address is an IP address of the second computing device under a second protocol stack supported by the second computing device; and
establish a connection to the second computing device based on the socket and the connection request.

### Claim 20 (depends on 19)

The computer-readable storage medium according to claim 19, wherein the computing device is further enabled to:
after create the socket based on the modified type parameter, and before receive the connection request initiated by the target application, receive an address binding request initiated by the target application, wherein the address binding request comprises a third IP address, and the third IP address belongs to the first protocol stack;
modify the third IP address in the address binding request to a fourth IP address based on the preset address mapping relationship, wherein the fourth IP address is an IP address of a first computing device under the second protocol stack;
bind the fourth IP address to the socket according to the address binding request; and
wherein the processor is configured to establish the connection to the second computing device based on the socket and the connection request, comprise:
establish the connection to the second computing device based on the socket, the fourth IP address, and the second IP address in the connection request.
