Address query method and device, terminal and computer readable storage medium
A technology of address query and computer program, which is applied in the fields of computer-readable storage media, address query methods, and devices, and can solve the problems of high priority query performance query delay, poor Internet experience, etc., and achieve the effect of improving good experience and fast acquisition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] When the existing terminal queries the IP address corresponding to the domain name through the DNS server, it usually randomly selects a DNS server to perform the IP address query operation after the interval time arrives, because the mechanism of the above-mentioned prior art scheme does not make a difference to the DNS server Analysis, that is, the query logic does not take into account the differences of DNS servers, and the query mechanism is very simple. If the DNS server that is queried first is a server with poor performance, it needs to wait for a certain period of time before continuing to query other servers, resulting in a long query delay and affecting the user's online experience.
[0029] In order to solve the above technical problems, in this application, the terminal will determine the priority of each DNS server according to its historical interaction information with each DNS server, and preferentially query the IP address corresponding to the domain na...
Embodiment 2
[0067] Corresponding to the address query method described in the above embodiment, figure 2 A structural block diagram of the address query device provided by the embodiment of the present application is shown, and for convenience of description, only parts related to the embodiment of the present application are shown.
[0068] The address query device 2 includes: a server determination unit 21, a priority acquisition unit 22, and a server selection unit 23, wherein:
[0069] The server determination unit 21 is configured to determine a DNS server if the terminal receives a domain name access request;
[0070] A priority obtaining unit 22, configured to obtain the priority of the DNS server, the priority of the DNS server is determined by the terminal according to historical interaction information with each of the DNS servers, the historical interaction information includes: historical DNS Query success rate, historical DNS query frequency and historical DNS query delay p...
Embodiment 3
[0092] image 3 It is a schematic structural diagram of a terminal provided in Embodiment 3 of the present application. Such as image 3 As shown, the terminal 3 of this embodiment includes: at least one processor 30 ( image 3 Only one processor is shown in ), a memory 31, and a computer program 32 stored in the memory 31 and operable on the at least one processor 30, when the processor 30 executes the computer program 32, the above-mentioned Steps in any of the various method embodiments:
[0093] If the terminal receives a domain name access request, determine the DNS server;
[0094] Acquire the priority of the DNS server, the priority of the DNS server is determined by the terminal according to the historical interaction information with each of the DNS servers, the historical interaction information includes: historical DNS query success rate, historical DNS query frequency and historical DNS query delay performance, the priority level is used to indicate the perform...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


