Domain name access method and device

A domain name access and domain name technology, applied in the field of communications, can solve problems such as convergence changes, failure to reflect network delays, and terminal devices unable to access the network normally, so as to ensure the quality of network requests and improve the quality of network requests.

Active Publication Date: 2020-09-08
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, on the actual Internet, the intermediate network topology and routing path between the terminal device and the server corresponding to each IP address often undergo convergence changes
For terminal devices, using the one-time network speed measurement process to determine the IP address corresponding to the minimum RTT cannot reflect the real-time network delay of all IP addresses within the entire TTL validity period
If the intermediate network is abnormal or the IP address used is attacked by the network and the server corresponding to the IP address is unreachable, since the terminal device still uses the IP address, it is easy to cause the terminal device to be unable to access the network normally.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Domain name access method and device
  • Domain name access method and device
  • Domain name access method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081] figure 1 A schematic diagram of a communication system provided by an embodiment of the present application, such as figure 1 As shown, the communication system includes a terminal device and a DNS server, and the terminal device is built with an SDK based on an HTTPDNS service provider. When any application in the terminal device needs to access one or more domain names, it can send one or more domain names to the DNS server through the SDK, and the DNS server uses HTTP / HTTPS to analyze each domain name and obtain the corresponding The IP address and the TTL of each IP address on the DNS server. The DNS server then sends the IP address corresponding to each domain name and the TTL of each IP address to the DNS server to the SDK, so as to realize the domain name query function of the SDK.

[0082] When there is only one IP address corresponding to any domain name, the terminal device directly accesses the server corresponding to the IP address. When there are multipl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the present application provide a domain name access method and device. The method includes: receiving a first message sent by a DNS server, the first message includes a domain name resolution record and a retention time TTL of the domain name resolution record in the DNS server, wherein the domain name resolution record includes the first IP address and the second IP address of the domain name to be accessed IP address, TTL includes N preset time lengths, N is a positive integer greater than 1; determine the target IP address of the nth preset time length in the first IP address and the second IP address, in the nth preset time length Access the corresponding server according to the target IP address, where 1≤n≤N. Therefore, it is ensured that the terminal device can access the server corresponding to the optimal IP address within the entire TTL validity period.

Description

technical field [0001] The present application relates to the field of communication technology, and in particular to a domain name access method and device. Background technique [0002] The resolution delay of domain name system (domain name system, DNS) has become a non-negligible part of the entire network request. On the one hand, in a weak network environment, the network delay introduced by DNS resolution can reach hundreds of milliseconds, which greatly increases the burden of the entire service request and directly affects the user experience. On the other hand, when the domain name server is the recursive server of the operator, the frequent domain name hijacking behavior on the server side will seriously affect the resolution process of DNS to normal domain names and the access process of applications on terminal devices. [0003] In order to solve the above problems, the terminal device can use the hypertext transfer protocol (hypertext transfer protocol, HTTP) ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L29/12H04L12/841
CPCH04L47/283H04L63/0876H04L63/10H04L61/4511
Inventor 徐东
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products