# US 2025/0097073 A1 · Method and apparatus for accessing virtual private cloud, device and storage medium

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

- Number: US 2025/0097073 A1
- Document ID: US20250097073A1
- Status: Published application
- Kind: A1
- Application number: 18/897,092
- Filed: 2024-09-26
- Published: 2025-03-20
- Earliest claimed: 2023-12-29
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science Technology Co., Ltd.
- Inventors: Jie DU; Fenghui ZHANG; Lin ZHANG; Aiyi LIANG; Du CHEN
- Web page: https://patentgrep.com/patent/US20250097073A1

## CPC

- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 61/103: across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
- H04L 61/2503: Translation of Internet protocol [IP] addresses
- H04L 61/2596: Translation of addresses of the same type other than IP, e.g. translation from MAC to MAC addresses
- H04L 12/46: Interconnection of networks
- H04L 2012/4629: {using multilayer switching, e.g. layer 3 switching}
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure provides a method and apparatus for accessing a virtual private cloud (VPC), a device and a storage medium, which are applied to the field of cloud computing, intelligent search, Internet of Things and others technical fields in data processing. The method includes: receiving a first access request, where the first access request carries virtual address information, the first access request is used for indicating access to a target service node arranged in a target VPC; the target service node has actual address information; the virtual address information is used for indicating actual address information of the target VPC and the target service node, and the actual address information is a real address of a service node; accessing the target service node according to the first access request.

## Claims

### Claim at position 1

1-18. (canceled)

### Claim 19

A method for accessing a virtual private cloud (VPC), comprising:
receiving a first access request, wherein the first access request carries virtual address information, the first access request is used for indicating access to a target service node arranged in a target VPC; wherein the target service node has actual address information; wherein the virtual address information is used for indicating actual address information of the target VPC and the target service node, and the actual address information is a real address of a service node;
accessing the target service node according to the first access request.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the accessing the target service node according to the first access request, comprises:
determining actual access information corresponding to the first access request, wherein the actual access information comprises a virtual network identifier of the target VPC and the actual address information of the target service node;
performing a modification on the virtual address information in the first access request according to the actual access information to obtain a second access request;
performing encapsulation processing on the second access request based on a virtual extensible local area network (VXLAN) protocol to obtain a VXLAN massage, wherein the VXLAN massage is used for indicating a request of an access to the target service node;
sending the VXLAN massage to the target service node.

### Claim 21 (depends on 20)

The method according to claim 20, wherein the determining the actual access information corresponding to the first access request, comprises:
determining the actual access information corresponding to the first access request according to a first mapping set and the virtual address information in the first access request, wherein the first mapping set records at least one set of first mapping relationships; wherein the first mapping relationship is a correspondence between virtual address information and access information; wherein the access information comprises a virtual network identifier of a VPC where a service node is located, actual address information of the service node and a media access control address (MAC) address of the service node; wherein the actual access information further comprises the MAC address of the target service node.

### Claim 22 (depends on 21)

The method according to claim 21, further comprising:
if it is determined that the first mapping set does not comprise the actual access information of the first access request, determining the actual access information of the first access request according to a second mapping set, wherein the second mapping set is obtained by backing up the first mapping set, and a first deletion time corresponding to the first mapping set is earlier than a second deletion time corresponding to the second mapping set;
wherein the first deletion time is a time when the first mapping relationship in the first mapping set is deleted, the second deletion time is a time when a second mapping relationship in the second mapping set is deleted, and the second mapping relationship is obtained by backing up the first mapping relationship.

### Claim 23 (depends on 22)

The method according to claim 22, wherein the second deletion time corresponding to the second mapping relationship is positively correlated with a hit count of the second mapping relationship; wherein the hit count is used to represent a number of times that access information is successfully matched through the second mapping relationship.

### Claim 24 (depends on 22)

The method according to claim 22, before the determining the actual access information corresponding to the first access request according to the first mapping set and the virtual address information in the first access request, further comprising:
determining the actual access information corresponding to the first access request in a third mapping set, wherein the third mapping set comprises at least one third mapping relationship or the third mapping set is empty; wherein the third mapping relationship is used to record a correspondence between a target access request and access information of a target access request; wherein the target access request is a request that the access information corresponding to the target access request is matchable only based on the second mapping set;
if it is determined that the third mapping set does not comprise the actual access information corresponding to the first access request, performing the step of determining the actual access information corresponding to the first access request according to the first mapping set and the virtual address information in the first access request.

### Claim 25 (depends on 23)

The method according to claim 23, before the determining the actual access information corresponding to the first access request according to the first mapping set and the virtual address information in the first access request, further comprising:
determining the actual access information corresponding to the first access request in a third mapping set, wherein the third mapping set comprises at least one third mapping relationship or the third mapping set is empty; wherein the third mapping relationship is used to record a correspondence between a target access request and access information of a target access request; wherein the target access request is a request that the access information corresponding to the target access request is matchable only based on the second mapping set;
if it is determined that the third mapping set does not comprise the actual access information corresponding to the first access request, performing the step of determining the actual access information corresponding to the first access request according to the first mapping set and the virtual address information in the first access request.

### Claim 26 (depends on 24)

The method according to claim 24, wherein the third mapping relationship is specifically used to record a correspondence between a quintet in the target access request and the access information of the target access request.

### Claim 27 (depends on 19)

The method according to claim 19, further comprising:
receiving a first response result returned by the target service node in the target VPC, wherein the first response result is an access result corresponding to the first access request;
performing decapsulation processing on the first response result to obtain a decapsulation result;
feeding back the decapsulation result to a sender of the first access request.

### Claim 28 (depends on 20)

The method according to claim 20, further comprising:
receiving a first response result returned by the target service node in the target VPC, wherein the first response result is an access result corresponding to the first access request;
performing decapsulation processing on the first response result to obtain a decapsulation result;
feeding back the decapsulation result to a sender of the first access request.

### Claim 29 (depends on 21)

The method according to claim 21, further comprising:
receiving a first response result returned by the target service node in the target VPC, wherein the first response result is an access result corresponding to the first access request;
performing decapsulation processing on the first response result to obtain a decapsulation result;
feeding back the decapsulation result to a sender of the first access request.

### Claim 30 (depends on 27)

The method according to claim 27, wherein the first response result carries the actual address information of the target service node and a virtual network identifier of the target VPC;
wherein before the feeding back the decapsulation result to the sender of the first access request, the method further comprises:
determining virtual address information carried in the first access request corresponding to the decapsulation result;
replacing the actual address information in the decapsulation result according to the virtual address information corresponding to the decapsulation result to obtain a decapsulation result after replacement.

### Claim 31 (depends on 30)

The method according to claim 30, wherein the determining the virtual address information carried in the first access request corresponding to the decapsulation result, comprises:
determining the virtual address information corresponding to the decapsulation result according to a first mapping set, the virtual network identifier comprised in the decapsulation result, and the actual address information comprised in the decapsulation result, wherein the first mapping set records at least one set of first mapping relationships; wherein the first mapping relationship is a correspondence between virtual address information and access information; wherein the access information comprises: a virtual network identifier of a VPC where a service node is located, actual address information of the service node and a MAC address of the target service node.

### Claim 32 (depends on 31)

The method according to claim 31, further comprising:
if it is determined that the first mapping set does not comprise the virtual address information corresponding to the decapsulation result, determining the virtual address information corresponding to the decapsulation result in a second mapping set; wherein the second mapping set is obtained by backing up the first mapping set, and a first deletion time corresponding to the first mapping set is earlier than a second deletion time corresponding to the second mapping set;
wherein the first deletion time is a time when the first mapping relationship in the first mapping set is deleted, the second deletion time is a time when a second mapping relationship in the second mapping set is deleted, and the second mapping relationship is obtained by backing up the first mapping relationship.

### Claim 33 (depends on 32)

The method according to claim 32, before determining the virtual address information corresponding to the decapsulation result according to the first mapping set, the virtual network identifier comprised in the decapsulation result, and the actual address information comprised in the decapsulation result, further comprising:
determining the virtual address information corresponding to the decapsulation result in a fourth mapping set, where the fourth mapping set comprises at least one fourth mapping relationship or the fourth mapping set is empty; wherein the fourth mapping relationship is used to record a correspondence between a target decapsulation result and virtual address information; wherein the target decapsulation result is a decapsulation result that the virtual address information corresponding to the target decapsulation result is matchable only based on the fourth mapping set;
if it is determined that the fourth mapping set does not comprise the virtual address information corresponding to the decapsulation result, performing the step of determining the virtual address information corresponding to the decapsulation result according to the first mapping set, the virtual network identifier comprised in the decapsulation result, and the actual address information comprised in the decapsulation result.

### Claim 34 (depends on 33)

The method according to claim 33, wherein the fourth mapping relationship is used to record a correspondence between virtual address information and an address set in the target decapsulation result; wherein the address set comprises a quintet in the target decapsulation result and a virtual network identifier in the target decapsulation result.

### Claim 35 (depends on 19)

The method according to claim 19, wherein the actual address information is an internet protocol (IP) address of the service node.

### Claim 36

An electronic device, comprising:
at least one processor; and
a memory communicatively connected with the at least one processor;
wherein the memory stores an instruction executable by the at least one processor, and the instruction is executed by the at least one processor to enable the at least one processor to:
control an input interface to receive a first access request, wherein the first access request carries virtual address information, the first access request is used for indicating access to a target service node arranged in a target virtual private cloud (VPC); wherein the target service node has actual address information; wherein the virtual address information is used for indicating actual address information of the target VPC and the target service node, and the actual address information is a real address of a service node;
access the target service node according to the first access request.

### Claim 37

A non-transitory computer readable storage medium with a computer instruction stored thereon, wherein the computer instruction is configured to enable a computer to:
receive a first access request, wherein the first access request carries virtual address information, the first access request is used for indicating access to a target service node arranged in a target virtual private cloud (VPC); wherein the target service node has actual address information; wherein the virtual address information is used for indicating actual address information of the target VPC and the target service node, and the actual address information is a real address of a service node;
access the target service node according to the first access request.
