# US 2023/0275836 A1 · Accelerated data transmission method and apparatus, computer 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 2023/0275836 A1
- Document ID: US20230275836A1
- Status: Published application
- Kind: A1
- Application number: 18/314,497
- Filed: 2023-05-09
- Published: 2023-08-31
- Earliest claimed: 2021-09-08
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Haitao HUANG
- Web page: https://patentgrep.com/patent/US20230275836A1

## CPC

- H04L 45/745: Address table lookup; Address filtering
- H04L 45/74: Address processing for routing
- H04L 61/4511: using domain name system [DNS]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application relates to an accelerated data transmission method and apparatus, a computer device, a computer-readable storage medium, and a computer program product. The method includes routing a data packet transmitted by an application client of an application to be accelerated to a virtual network device; retrieving a network layer data packet from the virtual network device; taking an address of an acceleration server associated with the application client as an updated access address of the network layer data packet, and adding the original access address to the data segment to obtain an updated data packet; and transmitting the updated data packet to the acceleration server, the acceleration server accessing an application server corresponding to the original access address, and sending a response data packet returned by the acceleration server to the application client.

## Claims

### Claim 1

An accelerated data transmission method, performed by one or more processors, the method comprising:
routing a data packet transmitted by an application client of an application to be accelerated to a virtual network device based on a routing table configured for the application to be accelerated;
retrieving a network layer data packet from the virtual network device, and identifying an original access address and a data segment in the network layer data packet;
taking an address of an acceleration server associated with the application client as an updated access address of the network layer data packet, and adding the original access address to the data segment to obtain an updated network layer data packet; and
transmitting the updated network layer data packet to the acceleration server the acceleration server accessing an application server corresponding to the original access address; and
sending a response data packet returned by the acceleration server to the application client.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
identifying the network layer data packet to determine a category of a transport layer protocol; and
in response to determining the network layer data packet as a data packet to be accelerated based on the category of the transport layer protocol and the original access address, adding the original access address to the data segment to obtain the updated network layer data packet.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the method further comprises:
matching an access IP address in the original access address with an IP address whitelist when the category of the transport layer protocol is a user datagram protocol (UDP) and the network layer data packet is not a domain name resolution request packet; and
determining that the network layer data packet is a data packet to be accelerated when an IP address matches an address in the IP address whitelist.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the method further comprises:
determining that the network layer data packet is a non-accelerated data packet when the IP address does not have a match in the IP address whitelist; and
performing data packet transmission according to an access address in the non-accelerated data packet.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the performing data packet transmission according to an access address in the non-accelerated data packet comprises:
performing data packet transmission according to the access address in the non-accelerated data packet in response to determining that an access IP address in the non-accelerated data packet is not a black IP address based on an IP address blacklist.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the method further comprises:
terminating a transmission process of the non-accelerated data packet in response to determining that the access IP address in the non-accelerated data packet is a black IP address based on the IP address blacklist.

### Claim 7 (depends on 3)

The method according to claim 3, wherein the method further comprises:
performing port resolution on a UDP data packet obtained by resolution to determine an access port in the UDP data packet when the category of the transport layer protocol is a UDP; and
determining whether the network layer data packet is a domain name resolution request packet according to a relationship between the access port and a target port corresponding to a domain name resolution service.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the determining whether the network layer data packet is a domain name resolution request packet comprises:
comparing the access port with the target port corresponding to the domain name resolution service;
determining that the network layer data packet is a domain name resolution request packet, when the access port is the same as the target port corresponding to the domain name resolution service; and
determining that the network layer data packet is not a domain name resolution request packet, when the access port is different from the target port corresponding to the domain name resolution service.

### Claim 9 (depends on 3)

The method according to claim 3, wherein the method further comprises:
acquiring a domain name to be resolved from the data segment when the network layer data packet is a domain name resolution request packet;
performing domain name resolution on the domain name to obtain an IP address corresponding to the domain name; and
adding the IP address to the IP address whitelist when the domain name meets a domain name acceleration condition.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the performing domain name resolution on the domain name to obtain an IP address corresponding to the domain name comprises:
updating an access address in the domain name resolution request packet to an address corresponding to a preset domain name server, and transmitting the domain name resolution request packet with the updated access address to the domain name server; and
receiving the IP address returned after the domain name server resolves the domain name in the domain name resolution request packet.

### Claim 11 (depends on 2)

The method according to claim 2, wherein the method further comprises:
matching an original access IP address in the original access address with an IP address whitelist when the category of the transport layer protocol is a transmission control protocol (TCP); and
determining that the network layer data packet is a data packet to be accelerated when an IP address successfully matching exists in the IP address whitelist.

### Claim 12 (depends on 1)

The method according to claim 1, further comprising:
forwarding the network layer data packet to a local server created by an acceleration client in response to identifying the network layer data packet and determining that the category of the transport layer protocol is a TCP; and
taking, based on the local server, the address of the acceleration server associated with the application client as the updated access address of the network layer data packet, and adding the original access address to the data segment to obtain the updated network layer data packet; and
transmitting the updated network layer data packet to the acceleration server based on the local server.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the method further comprises:
adding the address of the acceleration server associated with the application client and the original access address to a TCP data list; and
the taking, based on the local server, the address of the acceleration server associated with the application client as the updated access address of the network layer data packet, and adding the original access address to the data segment to obtain the updated network layer data packet comprises:
reversely querying the TCP data list based on the local server to obtain the address of the acceleration server and the original access address; and
taking, based on the local server, the address of the acceleration server as the updated access address of the network layer data packet, and adding the original access address to the data segment to obtain the updated network layer data packet.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the original access address comprises an original access IP address and an original access port; and the identifying an original access address and a data segment in the network layer data packet comprises:
identifying the network layer data packet to obtain the original access IP address and a transport layer data packet; and
identifying the transport layer data packet to obtain the original access port and the data segment.

### Claim 15 (depends on 1)

The method according to claim 1, wherein the sending a response data packet returned by the acceleration server to the application client comprises:
receiving a response data packet returned by the acceleration server, the response data packet being sent to the acceleration server by the application server; and
updating a source address of the response data packet to an address of the application server, and sending the response data packet with the updated source address to the application client through the virtual network device.

### Claim 16 (depends on 1)

The method according to claim 1, wherein the application to be accelerated is a game to be accelerated; and the method further comprises:
determining a geographical region where a game server of the game to be accelerated is located in response to a selection operation for a game to be accelerated;
determining a target node in the candidate server nodes that meets a speed measurement condition based on respective speed measurement results of candidate server nodes matching the geographical region; and
determining an acceleration server deployed on the target node as the acceleration server associated with the application client.

### Claim 17

A computer device, comprising a memory and one or more processors, the memory storing a computer program, the one or more processors implementing steps of an accelerated data transmission method, performed by a computer device, the method comprising:
routing a data packet transmitted by an application client of an application to be accelerated to a virtual network device based on a routing table configured for the application to be accelerated;
retrieving a network layer data packet from the virtual network device, and identifying an original access address and a data segment in the network layer data packet;
taking an address of an acceleration server associated with the application client as an updated access address of the network layer data packet, and adding the original access address to the data segment to obtain an updated network layer data packet; and
transmitting the updated network layer data packet to the acceleration server, the acceleration server accessing an application server corresponding to the original access address, and sending a response data packet returned by the acceleration server to the application client.

### Claim 18 (depends on 17)

The computer device according to claim 17, wherein the method further comprises:
identifying the network layer data packet to determine a category of a transport layer protocol; and
in response to determining the network layer data packet as a data packet to be accelerated based on the category of the transport layer protocol and the original access address, adding the original access address to the data segment to obtain the updated network layer data packet.

### Claim 19

A non-transitory computer-readable storage medium, storing a computer program, an accelerated data transmission method, performed when the computer program is executed by one or more processors, the method comprising:
routing a data packet transmitted by an application client of an application to be accelerated to a virtual network device based on a routing table configured for the application to be accelerated;
retrieving a network layer data packet from the virtual network device, and identifying an original access address and a data segment in the network layer data packet;
taking an address of an acceleration server associated with the application client as an updated access address of the network layer data packet, and adding the original access address to the data segment to obtain an updated network layer data packet; and
transmitting the updated network layer data packet to the acceleration server, the acceleration server accessing an application server corresponding to the original access address in the data header, and sending a response data packet returned by the acceleration server to the application client.

### Claim 20 (depends on 19)

The computer-readable storage medium according to claim 19, wherein the method further comprising:
forwarding the network layer data packet to a local server created by an acceleration client in response to identifying the network layer data packet and determining that the category of the transport layer protocol is a TCP; and
taking, based on the local server, the address of the acceleration server associated with the application client as the updated access address of the network layer data packet, and adding the original access address to the data segment to obtain the updated network layer data packet; and
transmitting the updated network layer data packet to the acceleration server based on the local server.
