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

Inactive Publication Date: 2012-07-04
SHANGHAI XIMO COMM TECH
View PDF3 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, the DNS domain name resolution time accounts for as much as 1/3 of the entire access time, and the resolved IP add

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
  • Domain name analysis method for building hyper text transport protocol (HTTP) connection for domain name and server
  • Domain name analysis method for building hyper text transport protocol (HTTP) connection for domain name and server
  • Domain name analysis method for building hyper text transport protocol (HTTP) connection for domain name and server

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

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

Example Embodiment

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

Example Embodiment

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

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 relates to a domain name analysis method for reinforcing domain name server functions, in particular to a domain name analysis method for building hyper text transport protocol (HTTP) connection for a domain name and server. The domain name analysis method comprises the following steps of: 1) calculating an analysis query record of a domain name server (DNS) in an operating and using process, and building a DNS database; 2) analyzing the domain name, and finding all internet protocol (IP) addresses corresponding to each domain name: querying different authority servers, and obtaining the comprehensive IP address A record of the domain name; 3) respectively carrying out a accelerated test and processing to the IP address corresponding to the domain name to obtain a required IP address; and 4) according to a time to live (TTL) value which needs to be set, i.e. the time to live recorded in a DNS cache, building a cache record by the domain name and the IP address obtained by the accelerated test, and revising the DNS cache or increasing a record operation. In the domain name analysis method for reinforcing domain name server functions, the IP address which needs the shortest time from domain name analysis and HTTP connection building is found, and speed for a user to open a website is effectively quickened.

Description

technical field [0001] The invention relates to a domain name resolution method for enhancing the function of a domain name server, in particular to a domain name resolution method for quickly establishing a domain name and server HTTP connection. Background technique [0002] A DNS (Domain Name System) server is composed of a resolver and a domain name server. A domain name server refers to a server that saves the domain names and corresponding IP addresses of all hosts in the network and has the function of converting domain names to IP addresses. The domain name must correspond to an IP address, but the IP address does not necessarily have a domain name. The Domain Name System uses a hierarchical structure similar to a directory tree. The domain name server is the server side in the client / server mode, and it mainly has two forms: main server and forwarding server. The process of mapping a domain name to an IP address is called "domain name resolution." There is a one...

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/12
Inventor 张水华
Owner SHANGHAI XIMO COMM TECH
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