IP Library › Granted Patent US 11,095,606
Granted Patent B2
US 11,095,606 · App. 16/857,751 · Granted Aug 17, 2021

Domain name access method and device

Inventors: Jiao Yang (Xi'an, CN); Yan Li (Beijing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L61/2053H04L47/286
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,095,606
App. No.
16/857,751
Granted
Aug 17, 2021
Kind
B2
Abstract

A domain name access method and a device are described. As described herein, a domain name server (DNS) server performs resolution on a domain name requested by the terminal device. The DNS server may then send an internet protocol (IP) address of an application server obtained through the resolution and use condition information to the terminal device. With this, communication efficiency of the terminal device can be improved, and waste of transmission resources in a communications system is also avoided.

Claims (38)

1. A domain name access method, comprising:

sending, by a terminal device, a request message to a domain name system (DNS) server, wherein the request message comprises a domain name requested by the terminal device;

receiving, by the terminal device, a response message from the DNS server, wherein the response message comprises an Internet Protocol (IP) address of an application server and use condition information, the application server corresponds to the domain name, and the use condition information indicates a condition in which the terminal device is only allowed to access the domain name by using the IP address of the application server when the terminal device satisfies the condition indicated by the use condition information, and wherein the use condition information comprises location range information that indicates a location range in which the terminal device is located; and

performing, by the terminal device, DNS resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.

2. The method according to claim 1 , wherein the method further comprises:

receiving, by the terminal device, indication information from the DNS server, wherein the indication information instructs the terminal device to perform the DNS resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information; and

determining, by the terminal device based on the indication information, whether the terminal device satisfies the condition indicated by the use condition information.

3. The method according to claim 2 , wherein the method further comprises:

temporarily storing, by the terminal device, a DNS caching record, wherein the DNS caching record comprises the domain name, the use condition information, and the IP address of the application server.

4. The method according to claim 3 , wherein the DNS caching record further comprises time to live (TTL) of the DNS caching record; and

determining, by the terminal device, that the terminal device does not satisfy the condition indicated by the use condition information comprises:

determining, by the terminal device, that the terminal device does not satisfy, within the TTL, the condition indicated by the use condition information.

5. The method according to claim 1 , wherein when the use condition information comprises the location range information, that the terminal device does not satisfy the condition indicated by the use condition information comprises: a location of the terminal device changes and the changed location of the terminal device is not within the location range indicated by the location range information.

6. A terminal device, comprising:

a transmitter configured to send a request message to a domain name system (DNS) server, wherein the request message comprises a domain name requested by the terminal device;

a receiver configured to receive a response message from the DNS server, wherein the response message comprises an Internet Protocol (IP) address of an application server and use condition information, the application server corresponds to the domain name, and the use condition information indicates a condition in which the terminal device is only allowed to access the domain name by using the IP address of the application server when the terminal device satisfies the condition indicated by the use condition information, and wherein the use condition information comprises location range information that indicates a location range in which the terminal device is located; and

a processor, coupled with a memory storing at least one instruction, the processor configured to execute the at least one instruction to perform DNS resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.

7. The terminal device according to claim 6 , wherein when the use condition information comprises location range information, that the terminal device does not satisfy the condition indicated by the use condition information comprises: a location of the terminal device changes and the changed location of the terminal device is not within the location range indicated by the location range information.

8. The terminal device according to claim 6 , wherein the processor is further configured to execute the at least one instruction to:

temporarily store a DNS caching record after the receiver receives the response message from the DNS server, wherein the DNS caching record comprises the domain name, the use condition information, and the IP address of the application server.

9. The terminal device according to claim 8 , wherein the DNS caching record further comprises time to live (TTL) of the DNS caching record; and

to determine that the terminal device does not satisfy the condition indicated by the use condition information, the processor is configured to execute the at least one instruction to:

determine that the terminal device does not satisfy, within the TTL, the condition indicated by the use condition information.

10. The terminal device according to claim 6 , wherein the receiver is further configured to receive indication information from the DNS server, wherein the indication information instructs the terminal device to perform the DNS resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information; and

the processor is further configured to execute the at least one instruction to determine, based on the indication information, whether the terminal device satisfies the condition indicated by the use condition information.

11. A domain name system (DNS) server, comprising:

a receiver configured to receive a request message from a terminal device, wherein the request message comprises a domain name requested by the terminal device;

a processor, coupled with a memory storing at least one instruction, the processor configured to execute the at least one instruction to perform resolution on the domain name, to obtain an Internet Protocol (IP) address of an application server corresponding to the domain name; and

a transmitter configured to send a response message to the terminal device, wherein the response message comprises the IP address of the application server and use condition information, and the use condition information indicates a condition in which the terminal device is only allowed to access the domain name by using the IP address of the application server when the terminal device satisfies the condition indicated by the use condition information, and wherein the use condition information comprises location range information that indicates a location range in which the terminal device is located.

12. The DNS server according to claim 11 , wherein the processor is further configured to execute the at least one instruction to:

determine the use condition information based on the request message.

13. The DNS server according to claim 12 , wherein the request message further comprises location information of the terminal device; and

to determine the use condition information based on the request message, the processor is configured to execute the at least one instruction to:

determine the use condition information based on the location information of the terminal device comprised in the request message.

14. The DNS server according to claim 12 , wherein the request message further comprises an IP address of the terminal device; and

to determine the use condition information based on the request message, the processor is configured to execute the at least one instruction to:

determine the use condition information based at least in part on the IP address of the terminal device comprised in the request message.

15. The DNS server according to claim 11 , wherein the transmitter is further configured to send indication information to the terminal device, wherein the indication information instructs the terminal device to perform DNS resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 14, 2020
From: YANG, JIAO; LI, YAN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 053203/0152 →
Priority Claims (1)
CN 201711025295.8 · Oct 27, 2017 · national
Continuity (2)
Continuation PCTCN2018106499 · Sep 19, 2018
Related Publication 20200252367A1 · Aug 6, 2020