Domain name analysis method for building hyper text transport protocol (HTTP) connection for domain name and server
A domain name resolution and connection establishment technology, which is applied in the field of domain name resolution to quickly establish a domain name and server HTTP connection, can solve problems such as slowing down the speed of users to open web pages, and achieve the effect of speeding up the speed, using the effect obviously, and improving the speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] Embodiment one: see figure 1 . The domain name of the present embodiment and server establish the domain name analysis method of HTTP connection, comprise the following steps:
[0024] 1) Count DNS resolution and query records during operation and use, save these records in the corresponding database, establish a DNS database, and extract domain names in the DNS cache;
[0025] 2) Analyze the domain name to find all the IP addresses corresponding to each domain name: query different authoritative servers to obtain a more comprehensive IP address A record for this domain name;
[0026] 3) Accelerate testing and processing of the IP addresses corresponding to the domain name to obtain the required IP addresses;
[0027] 4) Set the TTL value according to the needs, that is, the survival time of the record in the DNS cache, use the domain name and the IP address obtained from the accelerated test, create a cache RRSET record, modify the DNS cache or add a record operation.
Embodiment 2
[0028] Embodiment two: see figure 1 , the domain name of the present embodiment and the domain name resolution method that server establishes HTTP connection, and embodiment one is different, adopts following method to carry out acceleration test to domain name, obtains IP address:
[0029] 1) Send TCP's three-way handshake data packet and FIN packet to simulate connection establishment;
[0030] 2) Send an HTTP request on the basis of the TCP connection to establish a connection;
[0031] 3) Obtain the time when the data packet is returned, and obtain the IP address with the shortest time to establish a connection.
[0032] Because it is a simulated connection, the sending and processing of the data packet should avoid the processing of the protocol stack, so it can be guaranteed to be directly transmitted to the application program without processing by the kernel.
Embodiment 3
[0033] Embodiment three: see figure 1 , figure 2 , the domain name of the present embodiment and the domain name resolution method that server establishes HTTP connection, and embodiment one is different, after obtaining an IP with the shortest connection establishment time, set TTL value as required and establish a RRSET, import into cache, to DNS Redevelopment of the source code converts the domain name, IP and TTL values into the internal operable NAME, RDATA, and obtains a complete RRSET. The DNS DB interface inside the CACHE allows storage and retrieval of names.
[0034] The DB type is like a "virtual CLASS". An implementation of a class is required when actually using the DB. This module ensures proper data structure synchronization, creation and manipulation; among them, inside DNS, DB has triple definition, CACHE, ZONE, STUB (which is a copy of zone, only contains those resource records to determine the authoritative DNS system), needs Separate them.
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap