# US 11,451,510 B2 · Method and apparatus for processing service request

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

- Number: US 11,451,510 B2
- Document ID: US11451510B2
- Status: Granted
- Kind: B2
- Application number: 16/958,982
- Filed: 2018-12-27
- Published: 2020-10-29
- Granted: 2022-09-20
- Earliest claimed: 2017-12-27
- Assignees: Zte Corporation
- Applicants: Zte Corporation
- Inventors: Zhenwu Hao
- Web page: https://patentgrep.com/patent/US11451510B2

## CPC

- H04L 61/2528: {Translation at a proxy}
- H04L 61/2567: for reachability, e.g. inquiring the address of a correspondent behind a NAT server
- H04L 61/2525: {Translation at a client}
- H04L 61/4511: using domain name system [DNS]
- H04L 61/4552: Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- 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 an apparatus for processing a service request. The method includes: sending a query request for querying a domain name of a server to a DNS; receiving a query response returned according to the query request, where the query response carries a first identifier of an IDGW; sending a service request to the IDGW according to the first identifier, where the service request is used for the IDGW to convert the first identifier into a second identifier of the server and forward the service request to the server according to the second identifier; and receiving a service response message returned from the server in response to the service request.

## Claims

### Claim 1

A method for processing a service request, comprising:
receiving, by a Domain Name Server (DNS), a query request for querying a domain name of a server sent from a client; wherein the query request carries the domain name of the server to be queried and an IP address of the client;
selecting, by the DNS, an Identification Gateway (IDGW) according to the domain name of the server in a random or alternate manner; and
returning directly, by the DNS, a query response to the client according to the query request;
wherein the query response carries a first identifier of the IDGW; the first identifier is used for the client to send a service request to the IDGW; the service request is used for the IDGW to convert the first identifier into a second identifier of the server and forward the service request to the server according to the second identifier, and for the server to return a service response message to the client in response to the service request,
wherein after selecting the IDGW according to the domain name of the server in the random or alternate manner, and before returning directly the query response to the client according to the query request, the method further comprises:
forwarding, by the DNS, the query request to the selected IDGW, wherein the query request is used for the IDGW to select the first identifier from a first identifier pool and establish a mapping relationship among the IP address of the client, the first identifier and the second identifier; and
receiving, by the DNS, the first identifier selected by the IDGW.

### Claim 2 (depends on 1)

The method according to claim 1, after selecting the IDGW according to the domain name of the server in the random or alternate manner, and before returning directly the query response to the client according to the query request, comprising:
selecting, by the DNS, the first identifier;
establishing, by the DNS, a mapping relationship among the IP address of the client, the first identifier and the second identifier; and
sending, by the DNS, the mapping relationship to the selected IDGW.

### Claim 3

A method for processing a service request, comprising:
receiving, by an Identification Gateway (IDGW), a service request sent from a client according to a first identifier of the IDGW; wherein the first identifier is obtained by the client through sending a query request for querying a domain name of a server to a Domain Name Server (DNS) and receiving a query response carrying the first identifier directly returned by the DNS according to the query request; wherein the query request carries the domain name of the server to be queried and an IP address of the client, and is used for the DNS to select the IDGW according to the domain name of the server in a random or alternate manner; and
converting, by the IDGW, the first identifier into a second identifier of the server, and forwarding the service request to the server according to the second identifier; wherein the service request is used for the server to return a service response message to the client in response to the service request,
wherein before receiving the service request sent from the client according to the first identifier of the IDGW, the method further comprises:
receiving, by the IDGW, the query request sent from the DNS;
selecting, by the IDGW, the first identifier from a first identifier pool and establishing a mapping relationship among the IP address of the client, the first identifier and the second identifier; and
returning, by the IDGW, the first identifier to the DNS.

### Claim 4 (depends on 3)

The method according to claim 3, before receiving the service request sent from the client according to the first identifier of the IDGW, further comprising:
receiving, by the IDGW, a mapping relationship among the IP address of the client, the first identifier and the second identifier sent from the DNS; wherein the mapping relationship is established by the DNS after the DNS has selected the first identifier.

### Claim 5 (depends on 1)

A non-transitory computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, cause the processor to perform the method of claim 1.

### Claim 6 (depends on 3)

A non-transitory computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, cause the processor to perform the method of claim 3.

### Claim 7 (depends on 1)

An electronic device, comprising a memory and a processor, wherein the memory has a computer program stored thereon, the processor is configured to execute the computer program to perform the method of claim 1.

### Claim 8 (depends on 3)

An electronic device, comprising a memory and a processor, wherein the memory has a computer program stored thereon, the processor is configured to execute the computer program to perform the method of claim 3.
