Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2020-07-14
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of this application provides an address query method, device, terminal and computer-readable storage medium, which can solve the problem of priority querying servers with poor performance in existing methods The problem of long query delay and poor Internet experience caused by

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
  • Address query method and device, terminal and computer readable storage medium
  • Address query method and device, terminal and computer readable storage medium
  • Address query method and device, terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

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

The invention is applicable to the technical field of communication, and provides an address query method and device, a terminal and a computer readable storage medium. The method comprises the following steps: if the terminal receives a domain name access request, determining a DNS server; obtaining the priority of the DNS server, wherein the priorities of the DNS servers are determined by the terminal according to historical interaction information with the DNS servers; and selecting the corresponding DNS server from high to low according to the priority of the DNS server until the IP address corresponding to the domain name in the domain name access request is queried from the selected DNS server. The historical interaction information comprises historical DNS query success rate, historical DNS query frequency and historical DNS query time delay performance; the priority is used for indicating the performance of the DNS server; Through the method, the good experience of the user canbe improved.

Description

technical field [0001] The present application belongs to the technical field of communication, and in particular relates to an address query method, device, terminal and computer-readable storage medium. Background technique [0002] Domain Name System (Domain Name System, DNS) is a core service of the Internet. As a distributed database that can map domain names and IP addresses to each other, it can make it easier for people to access the Internet without having to remember that it can be accessed by machines. The IP number string to read directly. [0003] In the existing method, when the terminal performs a DNS server query, there will be multiple DNS servers for the terminal to query. When the address cannot be found through a certain DNS server or the query is abnormal, the terminal will query the next DNS after a certain time interval. server. Because in the existing DNS server query method, if the DNS server that is queried first is a server with poor performance,...

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
IPC IPC(8): H04L29/12G06F16/955
CPCG06F16/955H04L61/5007H04L61/4511
Inventor 张峰
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD