Browser and method for acquiring domain name system (DNS) resolving data

A browser and data technology, applied in the Internet field, can solve problems such as long time consumption, long time consumption, and low efficiency of address resolution on the browser side, and achieve the goals of short time consumption, improved DNS resolution efficiency, and web browsing speed Effect

Inactive Publication Date: 2013-01-02
BEIJING QIHOO TECH CO LTD +1
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, the DNS needs to be resolved before downloading the object to be rendered. However, the DNS resolution time may range from a few milliseconds to 100 seconds. Therefore, when using the existing solution to access a URL, it takes a long time
However, the main reason for the long time consumption is that it relies too much on the resolution function of the DNS server, which makes the address resolution efficiency on the browser side low.

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
  • Browser and method for acquiring domain name system (DNS) resolving data
  • Browser and method for acquiring domain name system (DNS) resolving data
  • Browser and method for acquiring domain name system (DNS) resolving data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] Such as figure 1 As shown, the embodiment of the present invention provides a method for a browser to obtain DNS resolution data, which specifically includes the following steps:

[0048] Step S101, start the browser, and initiate an access request to the URL;

[0049] Step S102, intercepting the address information acquisition function of the computer system on the browser side, and acquiring the main domain name corresponding to the URL and / or the sub-domain names corresponding to the main domain name, and the IP addresses corresponding to the main domain name and / or each sub-domain name information;

[0050] Preferably, in this step, the main domain name corresponding to the URL and each sub-domain name corresponding to the main domain name are acquired; wherein, the sub-domain name is preferably a second-level sub-domain name.

[0051] Preferably, in this step, when intercepting the function of obtaining address information of the computer system on the browser si...

Embodiment 2

[0086] An embodiment of the present invention provides a method for a browser to obtain DNS resolution data, which is a further detailed elaboration of the method described in Embodiment 1, and specifically includes:

[0087] 1) After the browser is started, when the user initiates an access request to a URL, intercept the address information acquisition function of the computer system on the browser side, and acquire the primary domain name corresponding to the URL;

[0088] 2) Intercept the system function getaddrinfo() to obtain the second-level sub-domain name corresponding to the main domain name, and the IP address information of the main domain name and each second-level sub-domain name.

[0089] In this step, the intercepted system function is getaddrinfo(const char*nodename, constchar*service, const struct addrinfo*hints, struct addrinfo**result) function.

[0090] Among them, nodename: the domain name to be parsed (ASCII format); service: the ANSI string containing t...

Embodiment 3

[0122] Such as Figure 4 As shown, the embodiment of the present invention provides a browser, including: an access initiation module 410, an information acquisition module 420, and an information storage module 430; wherein:

[0123] Visit initiation module 410, be used for starting browser, initiate the visit request to URL;

[0124] The information acquisition module 420 is configured to intercept the address information acquisition function of the computer system on the browser side, and acquire the main domain name corresponding to the URL and / or each sub-domain name corresponding to the main domain name, and the main domain name and / or each sub-domain name Corresponding IP address information;

[0125] Preferably, the information acquisition module 420 is further configured to extract the domain name corresponding to the URL when intercepting the address information acquisition function of the computer system on the browser side, detect whether the domain name is includ...

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 discloses a browser and a method for acquiring domain name system (DNS) resolving data. The method comprises the following steps of: starting the browser, and sending an access request for a uniform resource locator (URL); intercepting an address information acquisition function of a computer system on the browser side, and acquiring a main domain name corresponding to the URL and / or sub domain names corresponding to the main domain name and the main domain name and / or Internet protocol (IP) address information corresponding to the sub domain names; storing the acquired domain names and the IP address information corresponding to the domain names into DNS resolving data information on the browser side; storing the acquired domain names from DNS acceleration data information by virtue of a map sheet; and when the acquired domain names comprise the main domain name and the sub domain names corresponding to each main domain names, constructing a mapping relation between the main domain names and the corresponding sub domain names in the map sheet. By utilizing the method, some main domain names are pre-counted; and when the DNS acceleration data information is called by the browser on a client, the webpage browsing speed can be increased, and the DNS acceleration efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a browser and a method for acquiring DNS (Domain Name System, domain name system) resolution data. Background technique [0002] Currently, when a browser accesses a specified URL (Uniform Resource Locator, Uniform Resource Locator), it obtains the root content of the URL, parses the root content, and establishes a corresponding network request. It can be seen that the existing solution is to wait for the user to input the URL before parsing, and after downloading the root URL, analyze the HTML (Hypertext Markup Language, Hypertext Markup Language) data content, and then download according to the object to be rendered. Among them, DNS needs to be resolved before downloading the object to be rendered. However, the DNS resolution time may range from a few milliseconds to 100 seconds. Therefore, when using the existing solution to access a URL, it takes a relatively long time. ...

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 Applications(China)
IPC IPC(8): G06F17/30H04L29/12
Inventor 董斌雁任寰
Owner BEIJING QIHOO 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