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

A browser and its method for obtaining dns analysis data

A browser and data technology, applied in the Internet field, can solve the problems of long time consumption, long consumption time, low browser-side address resolution efficiency, etc. Effect

Active Publication Date: 2015-11-25
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 0 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
  • A browser and its method for obtaining dns analysis data
  • A browser and its method for obtaining dns analysis data
  • A browser and its method for obtaining dns analysis 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 function of obtaining address information of the browser-side computer system, obtaining the main domain name corresponding to the URL and / or each subdomain name corresponding to the main domain name, and the IP address corresponding to the main domain name and / or each subdomain name information;

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

[0051] Preferably, in this step, when intercepting the function of obtaining the address information of the browser-side computer system, the method further include...

Embodiment 2

[0086] The embodiment of the present invention provides a method for a browser to obtain DNS resolution data. The method is a further detailed description 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 certain URL, intercept the function of obtaining address information of the computer system on the browser side to obtain the main domain name corresponding to the URL;

[0088] 2) Intercept the system function getaddrinfo() to obtain the secondary subdomain name corresponding to the primary domain name, and the IP address information of the primary domain name and each secondary subdomain name.

[0089] In this step, the intercepted system function is the getaddrinfo(constchar*nodename,constchar*service,conststructaddrinfo*hints,structaddrinfo**result) function.

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

Embodiment 3

[0137] 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; among them:

[0138] The access initiation module 410 is used to start a browser and initiate an access request to the URL;

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

[0140] Preferably, the information acquisition module 420 is further configured to extract the domain name corresponding to the URL when intercepting the function of acquiring the address information of the browser-side computer system, detect whether the DNS acceleration data information on the brows...

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 obtaining DNS (Domain Name System) parsed data. The method comprises the steps of: starting the browser, and initiating an access request to a URL (Uniform Resource Locator); intercepting an address information acquisition function of a computer system at the browser side to obtain the main domain name corresponding to the URL and / or each sub-domain name corresponding to the main domain name, and the IP (Internet Protocol) address information corresponding to the main domain name and / or each sub-domain name; storing each obtained domain name and the corresponding IP address information of the obtained domain name in the DNS parsed data information at the browser side. According to the method provided by the invention, certain main domain names are counted in advance so as to form the DNS acceleration data information, when the DNS acceleration data information is invoked by the browser at the user side, web surfing can be accelerated, the acceleration processing process is short, and the DNS acceleration efficiency is improved.

Description

Technical field [0001] The present invention involves the field of Internet technology, which specifically involves a method of browser and its method of analyzing data for DNS (domainNameSystem, domain name system). Background technique [0002] At present, when the browser visits the specified URL (uniformResourceLocator), the root content of the URL is obtained, the root content is analyzed, and the corresponding network request is established.It can be seen that the existing scheme is to analyze it when the user enters the URL, and after downloading the root URL, analyze the data content of HTML (hyperpertextMarkupLanguage), and then download it according to the object of rendering.Among them, the DNS needs to be parsed before downloading the object that needs to be rendered. However, the time of DNS parsing may be between several milliseconds and 100 seconds. Therefore, when an existing scheme is used to access a URL, it takes a long time.However, the main reason for the lon...

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): G06F17/30
Inventor 董斌雁任寰
Owner BEIJING QIHOO TECH CO LTD