CN110149388A - Connection method, device and the equipment of HTTPDNS server - Google Patents

Connection method, device and the equipment of HTTPDNS server Download PDF

Info

Publication number
CN110149388A
CN110149388A CN201910410694.9A CN201910410694A CN110149388A CN 110149388 A CN110149388 A CN 110149388A CN 201910410694 A CN201910410694 A CN 201910410694A CN 110149388 A CN110149388 A CN 110149388A
Authority
CN
China
Prior art keywords
client
httpdns
server
httpdns server
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910410694.9A
Other languages
Chinese (zh)
Other versions
CN110149388B (en
Inventor
刘威波
潘贵国
曹志华
王韬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910410694.9A priority Critical patent/CN110149388B/en
Publication of CN110149388A publication Critical patent/CN110149388A/en
Application granted granted Critical
Publication of CN110149388B publication Critical patent/CN110149388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Abstract

The disclosure provides connection method, device and the equipment of a kind of HTTPDNS server, this method comprises: the HTTPDNS server receives the connection request that client is sent based on QUIC agreement;The HTTPDNS server responds the connection request, establishes connection with the client.The connection request sent by HTTPDNS server customer in response end group in QUIC agreement, connection is established with client, the connection for realizing the HTTPDNS server based on QUIC agreement, can be effectively reduced the connection time delay of HTTPDNS server, to reduce the delay of HTTPDNS service.

Description

Connection method, device and the equipment of HTTPDNS server
Technical field
This disclosure relates to Internet technical field more particularly to a kind of connection method of HTTPDNS server, device and set It is standby.
Background technique
With the rapid development of Internet technology, network service at a service indispensable in for people's lives, when Before, Internet enterprises provide the user with service usually using domain name.But it is existing the mode of service is provided, all or mostly or It not can avoid less and suffer from the problems such as various domain names are buffered, user's outgoing access is slow in internet environment.This very may be used Huge loss can be brought to Internet enterprises.
In order to solve the problems in the prior art, HTTPDNS (domain name system based on http protocol) comes into being, HTTPDNS is the flow scheduling solution based on Http agreement and domain name mapping made to measure for mobile client, is used for The problems such as solving prior art LocalDNS (local domain name system) parsing exception and inaccurate flow scheduling.HTTPDNS is compared Traditional DNS has many advantages, such as that anti-abduction, precisely scheduling, 0ms parsing postpone, quickly come into force.
In the prior art, HTTPDNS service is to be needed to establish TCP, TLS based on TCP, tls protocol and shaken hands, held for the first time Hand needs 3 or 4 RTT (Round-Trip Time, round-trip delay), and the delay for causing HTTPDNS to service is higher.
Summary of the invention
The disclosure provides connection method, device and the equipment of a kind of HTTPDNS server, to solve the prior art The defects of delay of HTTPDNS service is higher.
Disclosure first aspect provides a kind of connection method of HTTPDNS server, comprising:
The HTTPDNS server receives the connection request that client is sent based on QUIC agreement;
The HTTPDNS server responds the connection request, establishes connection with the client.
Disclosure the second aspect provides a kind of attachment device of HTTPDNS server, comprising:
Receiving module receives the connection request that client is sent based on QUIC agreement for the HTTPDNS server;
Respond module responds the connection request for the HTTPDNS server, establishes connection with the client.
A kind of electronic equipment is provided in terms of disclosure third, comprising: at least one processor and memory;
The memory stores computer program;At least one described processor executes the computer of the memory storage Program, the method to realize first aspect offer.
The 4th aspect of the disclosure provides a kind of computer readable storage medium, stores in the computer readable storage medium There is computer program, the computer program is performed the method for realizing that first aspect provides.
Connection method, device and the equipment for the HTTPDNS server that the disclosure provides, are responded by HTTPDNS server The connection request that client is sent based on QUIC agreement establishes connection with client, realizes the HTTPDNS based on QUIC agreement The connection time delay of HTTPDNS server can be effectively reduced in the connection of server.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this public affairs The some embodiments opened for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of the connection method for the HTTPDNS server that one embodiment of the disclosure provides;
Fig. 2 is the flow diagram of the connection method for the HTTPDNS server that another embodiment of the disclosure provides;
Fig. 3 is the interaction schematic diagram that the QUIC that one embodiment of the disclosure provides shakes hands;
Fig. 4 is the interaction schematic diagram that the HTTP that one embodiment of the disclosure provides obtains data;
Fig. 5 is the structural schematic diagram of the attachment device for the HTTPDNS server that one embodiment of the disclosure provides;
Fig. 6 is the structural schematic diagram for the electronic equipment that one embodiment of the disclosure provides;
Fig. 7 is the exemplary structure schematic diagram for the electronic equipment that one embodiment of the disclosure provides.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present disclosure clearer, below in conjunction with the embodiment of the present disclosure In attached drawing, the technical solution in the embodiment of the present disclosure is clearly and completely described, it is clear that described embodiment is Disclosure a part of the embodiment, instead of all the embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art Every other embodiment obtained without creative efforts belongs to the range of disclosure protection.
Noun involved in the disclosure is explained first:
DNS:Domain Name System is a service of internet.It, which is used as, mutually reflects domain name and IP address The distributed data base penetrated, is able to use family and more easily accesses internet.DNS uses TCP and udp port 53.
HTTPDNS: the domain name system based on http protocol carries out domain name mapping, domain name mapping request using http protocol It is sent directly to HTTPDNS server, to bypass the local domain name system LocalDNS of operator.
QUIC:Quick UDP Internet Connection, the Internet transmission layer protocol of the low time delay based on UDP. QUIC has well solved the various demands that transport layer and application layer face, including the more connections of processing, safety and low prolongs Late.QUIC has been merged including TCP, the characteristic of the agreements such as TLS, HTTP/2, but is transmitted based on UDP.A main target of QUIC Connection delay is exactly reduced, when client First Contact Connections server, QUIC only needs the delay of 1RTT that can establish can By secure attachment, the 1-3 RTT relative to TCP+TLS is more quick.Client can be encrypted in local cache later The connection establishment delay of 0-RTT may be implemented when establishing connection with server again for authentication information.QUIC concurrent multiplexing The multiplex function (Multiplexing) of HTTP/2 agreement, but due to QUIC based on UDP so avoiding the line of HTTP/2 Head obstruction (Head-of-Line Blocking) problem.Because QUIC is based on UDP, user domain is operated in rather than system kernel, QUIC agreement is allowed quickly to update and dispose, thus the difficulty for having well solved Transmission Control Protocol deployment and having updated.
The connection method for the HTTPDNS server that the embodiment of the present disclosure provides is suitable for client and HTTPDNS server Connection is established, HTTPDNS provides the scene of service for client user.
In addition, term " first ", " second " etc. are used for description purposes only, it is not understood to indicate or imply relatively important Property or implicitly indicate the quantity of indicated technical characteristic.In the description of following embodiment, the meaning of " plurality " is two More than a, unless otherwise specifically defined.
These specific embodiments can be combined with each other below, may be at certain for the same or similar concept or process It is repeated no more in a little embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
One embodiment of the disclosure provides a kind of connection method of HTTPDNS server, services for client and HTTPDNS Connection is established between device.The executing subject of the embodiment of the present disclosure is the attachment device of HTTPDNS server, which can be set In HTTPDNS server.
As shown in Figure 1, be the flow diagram of the connection method for the HTTPDNS server that the embodiment of the present disclosure provides, it should Method includes:
Step 101, HTTPDNS server receives the connection request that client is sent based on QUIC agreement.
Specifically, when client needs HTTPDNS server to provide domain name resolution service for it, it is necessary first to HTTPDNS server establishes connection, the IP address of the available HTTPDNS server of client, according to HTTPDNS server IP address, to HTTPDNS server send connection request, in order to reduce connection delay, client be based on QUIC agreement to HTTPDNS server sends connection request.HTTPDNS server then can receive the connection that client is sent based on QUIC agreement Request.
Connection request may include required message when establishing connection, can also include establish after connection client with The encryption information of HTTPDNS server transport.For example connection request may include: connection identifier, client parameter, verifying association Information defined in information etc. QUIC agreement, specifically repeats no more.Connection request can be client and take for the first time with HTTPDNS Business device establishes the connection request of connection, may include preliminary client handshake information.After client sends connection request, wait waiting HTTPDNS server returning response message is received, for example waits HTTPDNS server to return to received message Server Reject and disappears Breath.
Illustratively, client is based on QUIC agreement and sends Client Hello QUIC data to HTTPDNS server It wraps, may include protocol version, client parameter and some other relevant information in Client Hello QUIC data packet.
Step 102, HTTPDNS server responds connection request, establishes connection with client.
Specifically, can be responded after HTTPDNS server receives the connection request that client is sent based on QUIC agreement The connection request of client, for example Server Reject QUIC data packet is returned, Server Reject QUIC data packet can To include service profile information server config, completes to shake hands with the QUIC of client, establish secure connection with client.
The connection method for the HTTPDNS server that the embodiment of the present disclosure provides, passes through HTTPDNS server customer in response end Based on the connection request that QUIC agreement is sent, connection is established with client, realizes the HTTPDNS server based on QUIC agreement Connection, the connection time delay of HTTPDNS server can be effectively reduced.
Another embodiment of the disclosure does further supplementary explanation to method provided by the above embodiment.
As shown in Fig. 2, being the flow diagram of the connection method for the HTTPDNS server that the embodiment of the present disclosure provides.
As a kind of enforceable mode, on the basis of the above embodiments, optionally, step 101 be can specifically include:
Step 1011, HTTPDNS server receives the Client Hello QUIC data packet that client is sent.
Correspondingly, step 102, it can specifically include:
Step 1021, HTTPDNS server returns to Server Reject according to Client Hello QUIC data packet QUIC data packet completes QUIC and shakes hands, establishes connection with client.
As shown in figure 3, the interaction schematic diagram shaken hands for the QUIC that the embodiment of the present disclosure provides.Wherein server-side refers to HTTPDNS server.Client, when connecting for the first time, is reduced with HTTPDNS server using based on shaking hands for QUIC agreement One RTT can reduce the delay of HTTPDNS service.The data volume that HTTPDNS is carried is smaller, a generally less than MTU, That is a data packet can complete the transmission of HTTPDNS data, and the RTT for consumption of shaking hands directly determines HTTPDNS service Delay.
As another enforceable mode, on the basis of the above embodiments, optionally, after step 102, this method Can also include:
Step 103, HTTPDNS server receives the HTTP request that client is sent.
Step 104, HTTPDNS server returns to http response according to HTTP request.
Specifically, shaking hands completing QUIC, HTTPDNS server and client are established after secure connection, and client is also It needs to send HTTP request to HTTPDNS server, the HTTP request at HTTPDNS server customer in response end completes HTTPDNS Data transmission.
As shown in figure 4, obtaining the interaction schematic diagram of data for the HTTP that the embodiment of the present disclosure provides.
As another enforceable mode, on the basis of the above embodiments, optionally, after step 104, the party Method can also include:
Step 105, HTTPDNS server receive client send domain name mapping request, domain name mapping request include to The target domain name of parsing.
Step 106, HTTPDNS server determines corresponding target ip address according to target domain name.
Step 107, target ip address is returned to client by HTTPDNS server, so that client is according to Target IP Location accesses corresponding server.
Specifically, HTTPDNS server then can be client after HTTPDNS server and client establish connection Domain name resolution service is provided.Domain name (the referred to as target domain name) carrying for the network that client can will access is asked in domain name mapping HTTPDNS server is sent in asking, after HTTPDNS server receives the domain name mapping request of client transmission, to mesh Mark domain name is parsed, and is determined the corresponding target ip address of target domain name, is sent to client, client is with receiving Target IP Behind location, then its destination server to be accessed can be accessed according to target ip address, destination server can then mention for client For network service.The mode that HTTPDNS server parses target domain name can be any one enforceable side in the prior art Formula, the present embodiment does not limit.
Wherein, domain name mapping request is the message format based on HTTP, and HTTPDNS server will with the message format of HTTP Domain name mapping result feeds back to client.
Optionally, step 106 can specifically include:
HTTPDNS server is based on the default library IP, parses to target domain name, obtains the corresponding Target IP of target domain name Address.
Specifically, can preset the library IP in HTTPDNS server, client based on data-base remote inquiry mode by being looked into The default library IP of HTTPDNS server is ask, such as can (Structured Query Language, structuring are looked by SQL Ask language) inquire the domain name mapping result that HTTPDNS server prestores).
Optionally, the domain name mapping result in HTTPDNS server can also be HTTPDNS server in advance locally slow Deposit region storage.It can specifically be arranged according to actual needs.
It should be noted that each enforceable mode can individually be implemented in the embodiment of the present disclosure, can also not conflict In the case where in any combination combine implement the disclosure without limitation.
The connection method for the HTTPDNS server that the embodiment of the present disclosure provides, passes through HTTPDNS server customer in response end Based on the connection request that QUIC agreement is sent, connection is established with client, realizes the HTTPDNS server based on QUIC agreement Connection, the connection time delay of HTTPDNS server can be effectively reduced.
Disclosure another embodiment provides a kind of attachment device of HTTPDNS server, for executing above-described embodiment Method.
As shown in figure 5, being the structural schematic diagram of the attachment device for the HTTPDNS server that the embodiment of the present disclosure provides.It should The attachment device 30 of HTTPDNS server includes receiving module 31 and respond module 32.
Wherein, receiving module receives the connection request that client is sent based on QUIC agreement for HTTPDNS server; Respond module responds connection request for HTTPDNS server, establishes connection with client.
About the device in the embodiment of the present disclosure, wherein modules execute the concrete mode of operation in the related party It is described in detail in the embodiment of method, no detailed explanation will be given here.
According to the attachment device for the HTTPDNS server that the embodiment of the present disclosure provides, visitor is responded by HTTPDNS server The connection request that family end group is sent in QUIC agreement establishes connection with client, realizes the HTTPDNS clothes based on QUIC agreement The connection of business device, can be effectively reduced the connection time delay of HTTPDNS server.
The another embodiment of the disclosure does further supplementary explanation to device provided by the above embodiment, to execute above-mentioned implementation The method that example provides.
As a kind of enforceable mode, on the basis of the above embodiments, optionally, receiving module is specifically used for:
HTTPDNS server receives the Client Hello QUIC data packet that client is sent;
Respond module is specifically used for:
HTTPDNS server returns to Server Reject QUIC data according to Client Hello QUIC data packet Packet completes QUIC and shakes hands, establishes connection with client.
As another enforceable mode, on the basis of the above embodiments, optionally, receiving module is also used to:
HTTPDNS server receives the HTTP request that client is sent;
Respond module is also used to:
HTTPDNS server returns to http response according to HTTP request.
As another enforceable mode, on the basis of the above embodiments, optionally, receiving module is also used to: HTTPDNS server receives the domain name mapping request that client is sent, and domain name mapping request includes target domain name to be resolved;
Respond module is also used to: HTTPDNS server determines corresponding target ip address according to target domain name; Target ip address is returned to client by HTTPDNS server, so that client accesses corresponding service according to target ip address Device.
Optionally, respond module is specifically used for:
HTTPDNS server is based on the default library IP, parses to target domain name, obtains the corresponding Target IP of target domain name Address.
About the device in the embodiment of the present disclosure, wherein modules execute the concrete mode of operation in the related party It is described in detail in the embodiment of method, no detailed explanation will be given here.
It should be noted that each enforceable mode can individually be implemented in the embodiment of the present disclosure, can also not conflict In the case where in any combination combine implement the disclosure without limitation.
According to the attachment device of the HTTPDNS server of the embodiment of the present disclosure, pass through HTTPDNS server customer in response end Based on the connection request that QUIC agreement is sent, connection is established with client, realizes the HTTPDNS server based on QUIC agreement Connection, the connection time delay of HTTPDNS server can be effectively reduced.
Disclosure another embodiment provides a kind of electronic equipment, for executing method provided by the above embodiment.The electronics Equipment can be HTTPDNS server.
As shown in fig. 6, the structural schematic diagram of the electronic equipment provided for the embodiment of the present disclosure.The electronic equipment 50 includes: At least one processor 51 and memory 52;
Memory stores computer program;At least one processor executes the computer program of memory storage, to realize Method provided by the above embodiment.
According to the electronic equipment of the embodiment of the present disclosure, sent out by HTTPDNS server customer in response end group in QUIC agreement The connection request sent establishes connection with client, realizes the connection of the HTTPDNS server based on QUIC agreement, Ke Yiyou Effect reduces the connection time delay of HTTPDNS server.
The embodiment of property as an example, optionally, as shown in fig. 7, the electronic equipment provided for the embodiment of the present disclosure Exemplary structure schematic diagram.The electronic equipment 800 may include processing unit (such as central processing unit, graphics processor etc.) 801, random access can be loaded into according to the program being stored in read-only memory (ROM) 802 or from storage device 808 Program in memory (RAM) 803 and execute various movements appropriate and processing.In RAM 803, it is also stored with electronic equipment Various programs and data needed for 800 operations.Processing unit 801, ROM 802 and RAM 803 pass through the phase each other of bus 804 Even.Input/output (I/O) interface 805 is also connected to bus 804.
In general, following device can connect to I/O interface 805: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 806 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 807 of dynamic device etc.;Storage device 808 including such as tape, hard disk etc.;And communication device 809.Communication device 809, which can permit electronic equipment 800, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 7 shows tool There is the electronic equipment 800 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 809, or from storage device 808 It is mounted, or is mounted from ROM 802.When the computer program is executed by processing unit 801, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
The another embodiment of the disclosure provides a kind of computer readable storage medium, stores in the computer readable storage medium There is computer program, computer program is performed the method for realizing that any of the above-described embodiment provides.
According to the computer readable storage medium of the embodiment of the present disclosure, by HTTPDNS server customer in response end group in The connection request that QUIC agreement is sent, establishes connection with client, realizes the company of the HTTPDNS server based on QUIC agreement It connects, the connection time delay of HTTPDNS server can be effectively reduced.
In several embodiments provided by the disclosure, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize embodiment of the present disclosure scheme according to the actual needs Purpose.
It, can also be in addition, each functional unit in each embodiment of the disclosure can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the disclosure The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the disclosure, rather than its limitations;To the greatest extent Pipe is described in detail the disclosure referring to foregoing embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the disclosure that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of connection method of HTTPDNS server characterized by comprising
The HTTPDNS server receives the connection request that client is sent based on QUIC agreement;
The HTTPDNS server responds the connection request, establishes connection with the client.
2. being based on the method according to claim 1, wherein the HTTPDNS server receives client The connection request that QUIC agreement is sent, comprising:
The HTTPDNS server receives the Client Hello QUIC data packet that the client is sent;
The HTTPDNS server responds the connection request, comprising:
The HTTPDNS server returns to Server Reject QUIC number according to the Client Hello QUIC data packet According to packet, completes QUIC and shake hands, establish connection with the client.
3. the method according to claim 1, wherein after establishing connection with the client, the method Further include:
The HTTPDNS server receives the HTTP request that the client is sent;
The HTTPDNS server returns to http response according to the HTTP request.
4. method according to claim 1-3, which is characterized in that after establishing connection with the client, The method also includes:
The HTTPDNS server receives the domain name mapping request that the client is sent, domain name analysis request include to The target domain name of parsing;
The HTTPDNS server determines corresponding target ip address according to the target domain name;
The target ip address is returned to the client by the HTTPDNS server, so that the client is according to Target ip address accesses corresponding server.
5. according to the method described in claim 4, it is characterized in that, the HTTPDNS server according to the target domain name, really Fixed corresponding target ip address, comprising:
The HTTPDNS server is based on the default library IP, parses to the target domain name, and it is corresponding to obtain the target domain name The target ip address.
6. a kind of attachment device of HTTPDNS server characterized by comprising
Receiving module receives the connection request that client is sent based on QUIC agreement for the HTTPDNS server;
Respond module responds the connection request for the HTTPDNS server, establishes connection with the client.
7. device according to claim 6, which is characterized in that the receiving module is specifically used for:
The HTTPDNS server receives the Client Hello QUIC data packet that the client is sent;
The respond module, is specifically used for:
The HTTPDNS server returns to Server Reject QUIC number according to the Client Hello QUIC data packet According to packet, completes QUIC and shake hands, establish connection with the client.
8. device according to claim 6, which is characterized in that the receiving module is also used to:
The HTTPDNS server receives the HTTP request that the client is sent;
The respond module, is also used to:
The HTTPDNS server returns to http response according to the HTTP request.
9. according to the described in any item devices of claim 6-8, which is characterized in that the receiving module is also used to: described HTTPDNS server receives the domain name mapping request that the client is sent, and domain name analysis request includes mesh to be resolved Mark domain name;
The respond module, is also used to: the HTTPDNS server is according to the target domain name, with determining corresponding Target IP Location;The target ip address is returned to the client by the HTTPDNS server, so that the client is according to the mesh It marks IP address and accesses corresponding server.
10. device according to claim 9, which is characterized in that the respond module is specifically used for:
The HTTPDNS server is based on the default library IP, parses to the target domain name, and it is corresponding to obtain the target domain name The target ip address.
11. a kind of electronic equipment characterized by comprising at least one processor and memory;
The memory stores computer program;At least one described processor executes the computer journey of the memory storage Sequence, to realize method of any of claims 1-5.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer journey in the computer readable storage medium Sequence, the computer program, which is performed, realizes method of any of claims 1-5.
CN201910410694.9A 2019-05-16 2019-05-16 Method, device and equipment for connecting HTTPDNS (hypertext transport protocol version transport protocol DNS) server Active CN110149388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910410694.9A CN110149388B (en) 2019-05-16 2019-05-16 Method, device and equipment for connecting HTTPDNS (hypertext transport protocol version transport protocol DNS) server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910410694.9A CN110149388B (en) 2019-05-16 2019-05-16 Method, device and equipment for connecting HTTPDNS (hypertext transport protocol version transport protocol DNS) server

Publications (2)

Publication Number Publication Date
CN110149388A true CN110149388A (en) 2019-08-20
CN110149388B CN110149388B (en) 2023-02-24

Family

ID=67594267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910410694.9A Active CN110149388B (en) 2019-05-16 2019-05-16 Method, device and equipment for connecting HTTPDNS (hypertext transport protocol version transport protocol DNS) server

Country Status (1)

Country Link
CN (1) CN110149388B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830460A (en) * 2019-10-25 2020-02-21 香港乐蜜有限公司 Connection establishing method and device, electronic equipment and storage medium
CN111294385A (en) * 2020-01-02 2020-06-16 北京字节跳动网络技术有限公司 Data transmission method and device, readable medium and electronic equipment
CN112600953A (en) * 2020-12-16 2021-04-02 下一代互联网重大应用技术(北京)工程研究中心有限公司 Load implementation method, device, equipment and medium for domain name resolution system
CN112637348A (en) * 2020-12-23 2021-04-09 北京金山云网络技术有限公司 Connection establishing method, device and system and electronic equipment
CN112738004A (en) * 2019-10-14 2021-04-30 上海哔哩哔哩科技有限公司 Communication method and system based on QUIC transmission protocol
WO2021081919A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Method and apparatus for establishing connection
CN112839108A (en) * 2021-03-02 2021-05-25 北京金山云网络技术有限公司 Connection establishing method, device, equipment, data network and storage medium
CN112887433A (en) * 2021-04-12 2021-06-01 网络通信与安全紫金山实验室 Cloud access edge service method and system based on QUIC protocol
CN113114701A (en) * 2021-04-30 2021-07-13 网络通信与安全紫金山实验室 QUIC data transmission method and device
CN113365369A (en) * 2020-03-06 2021-09-07 华为技术有限公司 Communication method and device
CN114979261A (en) * 2021-02-24 2022-08-30 华为技术有限公司 Service interaction method, terminal, server and system
CN115277560A (en) * 2022-09-28 2022-11-01 鹏城实验室 Heterogeneous network fusion transmission method based on MPTCP and MPQUIC
CN115334138A (en) * 2021-04-26 2022-11-11 华为技术有限公司 QUIC data transmission method, device, client and server
CN115834973A (en) * 2023-01-12 2023-03-21 厦门简算科技有限公司 Method and system for transmitting data from cloud to local terminal at high speed
WO2023125946A1 (en) * 2021-12-31 2023-07-06 贵州白山云科技股份有限公司 User access request processing method and apparatus, device, medium, and product
WO2023160649A1 (en) * 2022-02-24 2023-08-31 北京字节跳动网络技术有限公司 Interaction method, system and apparatus, and non-volatile computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018085765A1 (en) * 2016-11-07 2018-05-11 Hughes Network Systems, Llc Application characterization using transport protocol analysis
WO2018176336A1 (en) * 2017-03-30 2018-10-04 华为技术有限公司 Data transmission method and communication device
CN108718347A (en) * 2018-05-18 2018-10-30 腾讯科技(深圳)有限公司 A kind of domain name analytic method, system, device and storage medium
WO2018219455A1 (en) * 2017-05-31 2018-12-06 Telefonaktiebolaget Lm Ericsson (Publ) Management of encrypted network traffic
CN109309685A (en) * 2018-10-31 2019-02-05 北京百度网讯科技有限公司 Information transferring method and device
CN109413219A (en) * 2017-08-15 2019-03-01 广州市动景计算机科技有限公司 A kind of domain name analytic method and device, server and storage medium
CN109618024A (en) * 2019-02-01 2019-04-12 网宿科技股份有限公司 A kind of domain name analytic method and system based on HTTP

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018085765A1 (en) * 2016-11-07 2018-05-11 Hughes Network Systems, Llc Application characterization using transport protocol analysis
WO2018176336A1 (en) * 2017-03-30 2018-10-04 华为技术有限公司 Data transmission method and communication device
WO2018219455A1 (en) * 2017-05-31 2018-12-06 Telefonaktiebolaget Lm Ericsson (Publ) Management of encrypted network traffic
CN109413219A (en) * 2017-08-15 2019-03-01 广州市动景计算机科技有限公司 A kind of domain name analytic method and device, server and storage medium
CN108718347A (en) * 2018-05-18 2018-10-30 腾讯科技(深圳)有限公司 A kind of domain name analytic method, system, device and storage medium
CN109309685A (en) * 2018-10-31 2019-02-05 北京百度网讯科技有限公司 Information transferring method and device
CN109618024A (en) * 2019-02-01 2019-04-12 网宿科技股份有限公司 A kind of domain name analytic method and system based on HTTP

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738004B (en) * 2019-10-14 2021-11-16 上海哔哩哔哩科技有限公司 Communication method and system based on QUIC transmission protocol
CN112738004A (en) * 2019-10-14 2021-04-30 上海哔哩哔哩科技有限公司 Communication method and system based on QUIC transmission protocol
CN110830460A (en) * 2019-10-25 2020-02-21 香港乐蜜有限公司 Connection establishing method and device, electronic equipment and storage medium
CN110830460B (en) * 2019-10-25 2022-09-20 卓米私人有限公司 Connection establishing method and device, electronic equipment and storage medium
WO2021081919A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Method and apparatus for establishing connection
CN111294385A (en) * 2020-01-02 2020-06-16 北京字节跳动网络技术有限公司 Data transmission method and device, readable medium and electronic equipment
CN113365369A (en) * 2020-03-06 2021-09-07 华为技术有限公司 Communication method and device
WO2021174884A1 (en) * 2020-03-06 2021-09-10 华为技术有限公司 Communication method and apparatus
CN112600953A (en) * 2020-12-16 2021-04-02 下一代互联网重大应用技术(北京)工程研究中心有限公司 Load implementation method, device, equipment and medium for domain name resolution system
CN112600953B (en) * 2020-12-16 2023-04-18 赛尔网络有限公司 Load implementation method, device, equipment and medium for domain name resolution system
CN112637348A (en) * 2020-12-23 2021-04-09 北京金山云网络技术有限公司 Connection establishing method, device and system and electronic equipment
CN112637348B (en) * 2020-12-23 2022-05-10 北京金山云网络技术有限公司 Connection establishing method, device and system and electronic equipment
CN114979261A (en) * 2021-02-24 2022-08-30 华为技术有限公司 Service interaction method, terminal, server and system
CN112839108A (en) * 2021-03-02 2021-05-25 北京金山云网络技术有限公司 Connection establishing method, device, equipment, data network and storage medium
CN112839108B (en) * 2021-03-02 2023-05-09 北京金山云网络技术有限公司 Connection establishment method, device, equipment, data network and storage medium
CN112887433B (en) * 2021-04-12 2021-07-27 网络通信与安全紫金山实验室 Cloud access edge service method and system based on QUIC protocol
CN112887433A (en) * 2021-04-12 2021-06-01 网络通信与安全紫金山实验室 Cloud access edge service method and system based on QUIC protocol
CN115334138A (en) * 2021-04-26 2022-11-11 华为技术有限公司 QUIC data transmission method, device, client and server
CN115334138B (en) * 2021-04-26 2023-09-01 华为技术有限公司 QUIC data transmission method and device, client and server
CN113114701A (en) * 2021-04-30 2021-07-13 网络通信与安全紫金山实验室 QUIC data transmission method and device
CN113114701B (en) * 2021-04-30 2023-02-28 网络通信与安全紫金山实验室 QUIC data transmission method and device
WO2023125946A1 (en) * 2021-12-31 2023-07-06 贵州白山云科技股份有限公司 User access request processing method and apparatus, device, medium, and product
WO2023160649A1 (en) * 2022-02-24 2023-08-31 北京字节跳动网络技术有限公司 Interaction method, system and apparatus, and non-volatile computer-readable storage medium
CN115277560A (en) * 2022-09-28 2022-11-01 鹏城实验室 Heterogeneous network fusion transmission method based on MPTCP and MPQUIC
CN115834973A (en) * 2023-01-12 2023-03-21 厦门简算科技有限公司 Method and system for transmitting data from cloud to local terminal at high speed

Also Published As

Publication number Publication date
CN110149388B (en) 2023-02-24

Similar Documents

Publication Publication Date Title
CN110149388A (en) Connection method, device and the equipment of HTTPDNS server
JP7278679B2 (en) Mobile edge computing node selection method, device and system
CN109561171A (en) The configuration method and device of virtual private cloud service
CN104580192B (en) The treating method and apparatus of the network access request of application program
US9635015B1 (en) Method to securely connect to and manage X11 applications on a remote system through an HTTP client
CN109889621A (en) The configuration method and device of virtual private cloud service
CN109032760A (en) Method and apparatus for application deployment
CN110166432A (en) The access method of internal net destination service provides the method for Intranet destination service
JP2006519424A (en) System and method for managing distributed objects as a single representation
US20140359001A1 (en) Multimedia device configured to provide both client and server aspects of a network service
CN110198334A (en) Access method, device and storage medium based on object storage service
JP2016521097A (en) Method, system, and computer program for managing a firewall cluster in a network computing environment (regional firewall clustering in a network computing environment)
CN110311983A (en) Processing method, device, system, electronic equipment and the storage medium of service request
CN109639782A (en) Message sends platform, method
US20230409456A1 (en) Test controller securely controlling a test platform to run test applications
CN110489192A (en) Remote communication method and device, electronic equipment
CN110225135B (en) Server connection method and device, electronic equipment and storage medium
CN109889468A (en) Transmission method, system, device, equipment and the storage medium of network data
CN110198333B (en) Data acquisition method and device, storage medium and electronic device
CN110489474A (en) A kind of method, apparatus of data processing, medium and electronic equipment
WO2019119280A1 (en) Service processing method, cloud server, and terminal device
KR20130084462A (en) Apparatas and method for managing service of providing server in a terminal
US20040068575A1 (en) Method and apparatus for achieving a high transfer rate with TCP protocols by using parallel transfers
WO2017135254A1 (en) Terminal, relay device selection device, communication method, relay device selection method, and program
CN109783409A (en) Method and apparatus for handling data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant