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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com