Domain name access method and device
AssigneeHuawei Technologies Co., Ltd.
InventorsJiao YANG, Yan Li
Life of this patent
Estimating the term…
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.
Claims20
A domain name access method, comprising:
- receiving, by a server managing at least one application server, a request message from a terminal device, wherein the request message comprises a domain name requested by the terminal device;
- determining, by the server, an Internet Protocol (IP) address of an application server corresponding to the domain name;
- and
- sending, by the server, a response message to the terminal device, wherein the response message comprises the IP address of the application server and use condition information, the use condition information comprising a condition in which the terminal device is only allowed to access the domain name 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.
A domain name access method, comprising:
- sending, by a terminal device, a request message to a server managing at least one application server, wherein the request message comprises a domain name requested by the terminal device;
- receiving, by the terminal device, a response message from the 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, the use condition information comprising a condition in which the terminal device is only allowed to access the domain name 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
- determining, by the terminal device, a second IP address based on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.
An apparatus for a server managing at least one application 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 determine 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, the use condition information comprising a condition in which the terminal device is only allowed to access the domain name 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.
An apparatus for a terminal device, comprising:
- a transmitter configured to send a request message to a server managing at least one application server, wherein the request message comprises a domain name requested by the terminal device;
- a receiver configured to receive a response message from the 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, the use condition information comprising a condition in which the terminal device is only allowed to access the domain name 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 determine a second IP address based on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.
Dependencies are inferred from the claim text.