CN109819031A - A kind of connection method, device, equipment and storage medium - Google Patents

A kind of connection method, device, equipment and storage medium Download PDF

Info

Publication number
CN109819031A
CN109819031A CN201910067824.3A CN201910067824A CN109819031A CN 109819031 A CN109819031 A CN 109819031A CN 201910067824 A CN201910067824 A CN 201910067824A CN 109819031 A CN109819031 A CN 109819031A
Authority
CN
China
Prior art keywords
communication
communication linkage
domain name
server
linkage
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.)
Pending
Application number
CN201910067824.3A
Other languages
Chinese (zh)
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.)
Guangzhou Huya Information Technology Co Ltd
Original Assignee
Guangzhou Huya Information 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 Guangzhou Huya Information Technology Co Ltd filed Critical Guangzhou Huya Information Technology Co Ltd
Priority to CN201910067824.3A priority Critical patent/CN109819031A/en
Publication of CN109819031A publication Critical patent/CN109819031A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of connection method, device, equipment and storage mediums.This method comprises: receiving the attended operation of connection server;Corresponding at least two domain name of the server is determined according to the attended operation;At least two communication linkages for connecting at least two domain name are respectively created according to nested word;If the communication linkage creates successfully and the communication linkage supports data transmission, it is determined that the communication linkage is to link with the destinations traffic of the server communication.It can solve disconnection reconnecting by this method to need repeatedly to attempt just to can determine that the domain name that can be connected and carry out data transmission, need the problem of falling into a long wait so as to cause user.

Description

A kind of connection method, device, equipment and storage medium
Technical field
The present embodiments relate to data protocol technologies more particularly to a kind of connection method, device, equipment and storage to be situated between Matter.
Background technique
With the development of information network technique, it is online that more and more people begin to use mobile phone, plate or computer to carry out Activity such as browses webpage, viewing video or carries out game.
It establishes network communication links and at least wants a pair of nested word (Socket), nested word is application layer and TCP/IP protocol suite The intervening software abstraction layer of communication, it is a group interface.In design pattern, Socket is exactly a Facade in fact, it Complicated TCP/IP protocol suite is hidden in behind nested word interface, for users, one group of simple interface is exactly all, to allow Nested word removes a group organization data, to meet specified agreement.
User may be because the unstable or other reasons of network, causes the nested word of user to link and disconnects, at this time can Trial allows nested word to attempt other domain names and is attached.But disconnection reconnecting will lead to and repeatedly attempt just to can determine that connect and go forward side by side The domain name of row data transmission needs to fall into a long wait so as to cause user.
Summary of the invention
The present invention provides a kind of connection method, device, equipment and storage medium, needs repeatedly to attempt to solve disconnection reconnecting It just can determine that the domain name that can be connected and carry out data transmission, need the problem of falling into a long wait so as to cause user.
In a first aspect, the embodiment of the invention provides a kind of connection methods, comprising:
Receive the attended operation of connection server;
Corresponding at least two domain name of the server is determined according to the attended operation;
At least two communication linkages for connecting at least two domain name are respectively created according to nested word;
If the communication linkage creates successfully and the communication linkage supports data transmission, it is determined that the communication linkage To be linked with the destinations traffic of the server communication.
On this basis, described that at least two communication chains for connecting at least two domain name are respectively created according to nested word It connects, comprising:
For each domain name, the communication linkage of a connection domain name is created according to nested word.
On this basis, if the communication linkage creates successfully and the communication linkage supports data transmission, really The fixed communication linkage is to link with the destinations traffic of the server communication, comprising:
For at least two communication linkage, however, it is determined that some communication linkage creates successfully, then stops creating other logical Letter link;
Judge to create whether the successfully communication linkage supports data to transmit;
If so, determining that the communication linkage is to link with the destinations traffic of the server communication.
On this basis, further includes:
New domain name is obtained from the server by destinations traffic link;
Store the new domain name.
On this basis, after the attended operation for receiving connection server, further includes:
Determine the corresponding first default domain name of server;
According to the communication linkage of nested word creation connection the first default domain name, the communication chain is executed if returning Connect create successfully and the communication linkage support data transmission, it is determined that the communication linkage be and the server communication Destinations traffic link.
On this basis, further includes:
If the communication linkage creation failure or the communication linkage do not support data to transmit, it is determined that the server Corresponding second default domain name;
According to the communication linkage of nested word creation connection the second default domain name;
Determine that the communication linkage is to link with the destinations traffic of the server communication.
On this basis, further includes:
Delay for some communication linkage, between detection and the server;
Judge whether the amplitude of the delay meets preset amplitude threshold;
If so, determining that the communication linkage supports data transmission;
If not, it is determined that the communication linkage does not support data to transmit.
Second aspect, the embodiment of the invention also provides a kind of attachment devices, comprising:
Attended operation receiving module, for receiving the attended operation of connection server;
Domain name determining module, for determining corresponding at least two domain name of the server according to the attended operation;
Communication linkage creation module, for being respectively created at least two of connection at least two domain name according to nested word Communication linkage;
Communication linkage determining module, if being used for, the communication linkage is created successfully and the communication linkage supports data to pass It is defeated, it is determined that the communication linkage is to link with the destinations traffic of the server communication.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the connection method as described in any embodiment.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the connection method as described in any embodiment when the program is executed by processor.
The present invention connects the attended operation of server by receiving, and determines the corresponding multiple domains of server according to attended operation Name, the multiple communication linkages for connecting multiple domain names are respectively created according to nested word, if communication linkage creates successfully and communication linkage Support data transmission, it is determined that the communication linkage is to link with the destinations traffic of the server communication, solves disconnection reconnecting It needs repeatedly to attempt just to can determine that the domain name that can be connected and carry out data transmission, needs what is fallen into a long wait to ask so as to cause user Topic realizes the concurrent linking request to domain name to obtain destinations traffic link, obtains mesh so as to shorten single linking request Mark the beneficial effect of communication linkage time.
Detailed description of the invention
Fig. 1 is a kind of flow chart for connection method that the embodiment of the present invention one provides;
Fig. 2A is a kind of flow chart of connection method provided by Embodiment 2 of the present invention;
Fig. 2 B is the schematic diagram provided by Embodiment 2 of the present invention for establishing multiple communication linkages;
Fig. 3 is a kind of structure chart for attachment device that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for connection method that the embodiment of the present invention one provides.The present embodiment is applicable to client The scene initiated the connection to server.This method can be executed by a kind of attachment device, which can be by software and/or hard The mode of part is realized, is generally disposed in electronic equipment, is typically arranged in the processor.With reference to Fig. 1, this method is specifically wrapped It includes:
S101, the attended operation for receiving connection server.
When user terminal needs to access server to obtain data, need to establish connection with server first.Work as reception When the attended operation of the connection server issued to user terminal, subsequent operation is executed.
In general, the attended operation of connection server is it is to be understood that input keyword on the browser of user terminal, Such as " protruding canine teeth live streaming ", and connection is established in determination.At this time it is considered that receiving the company for the linking objective server that user terminal issues Connect operation.
S102, corresponding at least two domain name of the server is determined according to the attended operation.
After receiving the attended operation of connection server, domain name list that user terminal reading terminals are locally stored (dnList), corresponding at least two domain name of destination server of user terminal access is determined from domain name list.
Wherein, domain name (Domain Name) is counted for a certain on the WWW that form of character separated by a string with " point " Calculation machine or the title for calculating unit, for identifying electronic bearing (sometimes referred to as geographical location, the ground of computer when data are transmitted Domain name in reason).The purpose of domain name is easy for address (website, Email, the file biography of memory and the one group of server linked up Defeated agreement etc.).
S103, at least two communication linkages for connecting at least two domain name are respectively created according to nested word.
Nested word is that the TCP/IP product of the inconsistency based on computer module in the market can be connected in one by one kind The standard risen.This specification is also referred to as Windows transport protocol (Windows Transmit Protocol).It allows Window application can ignore which kind of agreement is application program be themselves based on, so that can communicate between application program. Nested word be in order to guarantee it is any networking manufacturer TCP/IP software and it is any access underlying protocol stack Windows or All there is interoperability between Windows NT application program.
Therefore different nested words is selected, different communication linkages may be generated, but the present embodiment is used to specific Which kind of nested word and generate which kind of communication linkage does not do specific requirement.
After selecting a kind of nested word, communication linkage is created according to nested word, each communication linkage is for connecting a domain Name.It is directed to each domain name, creates a communication linkage all in accordance with nested word.
If S104, the communication linkage create successfully and the communication linkage supports data transmission, it is determined that the communication It is linked as linking with the destinations traffic of the server communication.
After the communication linkage created according to nested word creates successfully, judge whether the communication linkage supports data to transmit. Determine successfully created according to nested word, can support data transfer communications be linked as destinations traffic link, the destinations traffic chain It connects for carrying out information transmission with server, it can by the destinations traffic links and accesses server to obtain data.
The embodiment of the present invention connects the attended operation of server by receiving, and determines that server is corresponding according to attended operation The multiple communication linkages for connecting multiple domain names are respectively created according to nested word for multiple domain names, if communication linkage creates successfully and leads to Data transmission is supported in letter link, it is determined that the communication linkage is to link with the destinations traffic of the server communication, solves to resolve Line reconnection needs repeatedly to attempt just to can determine that the domain name that can be connected and carry out data transmission, so as to cause user's needs long-time etc. To the problem of, realize the concurrent linking request to domain name with obtain destinations traffic link, so as to shorten single linking request Obtain the beneficial effect of destinations traffic link time.
Embodiment two
Fig. 2A is a kind of flow chart of connection method provided by Embodiment 2 of the present invention.The present embodiment is in embodiment one On the basis of the refinement that carries out, describe and judge whether there is that some communication linkage creates successfully and judgement creation is successfully described logical The different branches and processing mode whether letter link supports data to transmit.With reference to Fig. 2A, this method is specifically included:
S201, the attended operation for receiving connection server.
S202, corresponding at least two domain name of the server is determined according to the attended operation.
After receiving the attended operation of connection server, domain name list that user terminal reading terminals are locally stored (dnList), judge whether the length of domain name list is greater than 1 (whether being cached at least two domain names), if the length of domain name list Greater than 1, then illustrates to be cached at least two domain names in domain name list, then follow the steps S203.
Certainly, if the length of domain name list is equal to 1, illustrate to be cached with a domain name in domain name list, only need at this time The communication linkage of a connection domain name is created according to nested word, and executes step S206-S210.
Certainly, if the length of domain name list is less than 1, illustrate in domain name list without caching domain name.At this point, determining service The corresponding first default domain name of device, the first default domain name can be the pre-set domain name of those skilled in the art.According to nesting The communication linkage of word creation connection the first default domain name, and execute step S206-S210.
S203, it is directed to each domain name, the communication linkage of a connection domain name is created according to nested word.
Different nested words is selected, different communication linkages may be generated, but the present embodiment is to specifically using which kind of Nested word and generate which kind of communication linkage does not do specific requirement.
Specifically, popularizing with hypertext markup language (HTML5), therefore nested word can be WebSocket.That is needle To each domain name, a communication linkage is constructed according to WebSocket.
Fig. 2 B is the schematic diagram provided by Embodiment 2 of the present invention for establishing multiple communication linkages.Fig. 2 B has described multiple domains Name 23 is directed toward servers 22, after receiving user terminal 21 and connecting the attended operation of server, for each domain name, according to Nested word creates the communication linkage of a connection domain name.In conjunction with Fig. 2 B, it can be understood as server 22 includes more entities Server machine.Multiple domain names 23 are respectively directed to the server machine of an entity in server 22, service when receiving connection After the attended operation of device, for each domain name, the communication linkage of a connection domain name is created according to nested word.
Further, it is believed that domain name 1 is directed toward the server machine for being deployed in the entity on the ground A, and the direction of domain name 2 is deployed in The server machine of the entity on the ground B, domain name n are directed toward the server machine for being deployed in the entity on the ground C, and domain name n-1 direction is deployed in D The server machine of the entity on ground.After user terminal 21 in the ground A initiates the connection operation, while it being directed to each domain name, pressed A communication linkage is constructed according to WebSocket.Theoretically, the user terminal 21 in the ground A can be connected with preference to being deployed in A The server machine of entity still may have a large amount of user terminal to be deployed in the server machine of the entity on the ground A in access at this time Device, therefore, the user terminal 21 in the ground A may also be connected with preference to administration in the server machine or deployment of the entity on the ground B In the server machine of the entity on other ground.
S204, some communication linkage is judged whether there is at least two communication linkage create successfully.If so, holding Row step S205;If it is not, thening follow the steps S208.
Due to being directed to each domain name, the communication linkage of a connection domain name is created all in accordance with nested word, but due to domain The reasons such as name address, network, the number of visiting people, will cause has elder generation by the time that different domain names connect the same server Afterwards, i.e., communication linkage sentences the time difference for creating and successfully (establishing connection).When there is some communication linkage to create successfully, then execute Step S205.When creating successfully in preset time threshold without communication linkage, S208-S210 is thened follow the steps.
S205, stop creating other communication linkages.
When there is some communication linkage to create successfully, stop creating other communication linkages.
S206, judge to create whether the successfully communication linkage supports data to transmit.If so, thening follow the steps S207; If it is not, thening follow the steps S208.
The mode for judging whether communication linkage supports data to transmit can be quality services (QoS), packet loss, success rate.
For example, it is directed to some communication linkage, the delay between detection and the server;Judging the amplitude of the delay is It is no to meet preset amplitude threshold;If so, determining that the communication linkage supports data transmission;If not, it is determined that the communication Link does not support data to transmit.
S207, determine that the communication linkage is to link with the destinations traffic of the server communication.
When there is some communication linkage to create successfully, judge to create whether successful communication linkage supports data to transmit.When When communication linkage supports data transmission, destinations traffic link is determined it as.
S208, the corresponding second default domain name of the server is determined.
S209, the communication linkage that domain name is defaulted according to nested word creation connection described second.
S210, determine that the communication linkage is to link with the destinations traffic of the server communication.
Step S208-S210, which describes no communication linkage and creates successfully or create successful communication linkage, does not support number According to the subsequent operation of transmission.
At this point, determining the corresponding second default domain name of server, it is pre- that the second default domain name can be those skilled in the art The domain name being first arranged.Second default domain name can be identical as the first default domain name, can also be not identical as the first default domain name.It presses According to the communication linkage of nested word creation connection the second default domain name, determine that the communication linkage of connection the second default domain name is and service The destinations traffic link of device communication.
On the basis of the above embodiments, after determining a certain communication linkage to link with the destinations traffic of server communication, User terminal obtains new domain name from server by destinations traffic link;And new domain name is stored in the domain name of user terminal In list.
The embodiment of the present invention connects the attended operation of server by receiving, and determines that server is corresponding according to attended operation The multiple communication linkages for connecting multiple domain names are respectively created according to nested word for multiple domain names, if communication linkage creates successfully and leads to Data transmission is supported in letter link, it is determined that the communication linkage is to link with the destinations traffic of the server communication, solves to resolve Line reconnection needs repeatedly to attempt just to can determine that the domain name that can be connected and carry out data transmission, so as to cause user's needs long-time etc. To the problem of, realize the concurrent linking request to domain name with obtain destinations traffic link, so as to shorten single linking request Obtain the beneficial effect of destinations traffic link time.
Embodiment three
Fig. 3 is a kind of structure chart for attachment device that the embodiment of the present invention three provides.It include: attended operation receiving module 31, domain name determining module 32, communication linkage creation module 33 and communication linkage determining module 34.Wherein:
Attended operation receiving module 31, for receiving the attended operation of connection server;
Domain name determining module 32, for determining corresponding at least two domain name of the server according to the attended operation;
Communication linkage creation module 33, for being respectively created at least the two of connection at least two domain name according to nested word A communication linkage;
Communication linkage determining module 34, if being used for, the communication linkage is created successfully and the communication linkage supports data Transmission, it is determined that the communication linkage is to link with the destinations traffic of the server communication.
The embodiment of the present invention connects the attended operation of server by receiving, and determines that server is corresponding according to attended operation The multiple communication linkages for connecting multiple domain names are respectively created according to nested word for multiple domain names, if communication linkage creates successfully and leads to Data transmission is supported in letter link, it is determined that the communication linkage is to link with the destinations traffic of the server communication, solves to resolve Line reconnection needs repeatedly to attempt just to can determine that the domain name that can be connected and carry out data transmission, so as to cause user's needs long-time etc. To the problem of, realize the concurrent linking request to domain name with obtain destinations traffic link, so as to shorten single linking request Obtain the beneficial effect of destinations traffic link time.
On the basis of the above embodiments, communication linkage creation module is also used to:
For each domain name, the communication linkage of a connection domain name is created according to nested word.
On the basis of the above embodiments, communication linkage determining module is also used to:
For at least two communication linkage, however, it is determined that some communication linkage creates successfully, then stops creating other logical Letter link;
Judge to create whether the successfully communication linkage supports data to transmit;
If so, determining that the communication linkage is to link with the destinations traffic of the server communication.
On the basis of the above embodiments, further include domain name update module, be used for:
New domain name is obtained from the server by destinations traffic link;
Store the new domain name.
On the basis of the above embodiments, further include the first default domain name module, be used for:
Determine the corresponding first default domain name of server;
According to the communication linkage of nested word creation connection the first default domain name, the communication chain is executed if returning Connect create successfully and the communication linkage support data transmission, it is determined that the communication linkage be and the server communication Destinations traffic link
On the basis of the above embodiments, further include the second default domain name module, be used for:
If the communication linkage creation failure or the communication linkage do not support data to transmit, it is determined that the server Corresponding second default domain name;
According to the communication linkage of nested word creation connection the second default domain name;
Determine that the communication linkage is to link with the destinations traffic of the server communication.
On the basis of the above embodiments, further include time delay detection module, be used for:
Delay for some communication linkage, between detection and the server;
Judge whether the amplitude of the delay meets preset amplitude threshold;
If so, determining that the communication linkage supports data transmission;
If not, it is determined that the communication linkage does not support data to transmit.
A kind of attachment device provided in this embodiment can be used for executing the connection method that any of the above-described embodiment provides, and have Corresponding function and beneficial effect.
Example IV
Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention four provides.As shown in figure 4, the electronics is set Standby includes processor 40, memory 41, communication module 42, input unit 43 and output device 44;Processor 40 in electronic equipment Quantity can be one or more, in Fig. 4 by taking a processor 40 as an example;Processor 40, memory 41 in electronic equipment, Communication module 42, input unit 43 and output device 44 can be connected by bus or other modes, to be connected by bus in Fig. 4 It is connected in example.
Memory 41 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, if the corresponding module of one of the present embodiment connection method is (for example, the attended operation in a kind of attachment device Receiving module 31, domain name determining module 32, communication linkage creation module 33 and communication linkage determining module 34).Processor 40 is logical Software program, instruction and module that operation is stored in memory 41 are crossed, thereby executing the various function application of electronic equipment And data processing, that is, realize a kind of above-mentioned connection method.
Memory 41 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data according to electronic equipment Deng.In addition, memory 41 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 41 can It further comprise the memory remotely located relative to processor 40, these remote memories can pass through network connection to electronics Equipment.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Communication module 42 for establishing connection with display screen, and realizes the data interaction with display screen.Input unit 43 can Number for receiving input or character information, and generate key related with the user setting of electronic equipment and function control Signal input.
The connection method that any embodiment of the present invention provides can be performed, specifically in a kind of electronic equipment provided in this embodiment Corresponding function and beneficial effect.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium comprising computer executable instructions, and the computer can be held Row instruction is used to execute a kind of connection method when being executed by computer processor, this method comprises:
Receive the attended operation of connection server;
Corresponding at least two domain name of the server is determined according to the attended operation;
At least two communication linkages for connecting at least two domain name are respectively created according to nested word;
If the communication linkage creates successfully and the communication linkage supports data transmission, it is determined that the communication linkage To be linked with the destinations traffic of the server communication.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The method operation that executable instruction is not limited to the described above, can also be performed connection method provided by any embodiment of the present invention In relevant operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are used so that a calculatings electromechanics Sub- equipment (can be personal computer, server or network electronic devices etc.) executes described in each embodiment of the present invention Method.
It is worth noting that, included each unit and module are only according to function in the embodiment of above-mentioned attachment device Energy logic is divided, but is not limited to the above division, as long as corresponding functions can be realized;In addition, each function The specific name of energy unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of connection method characterized by comprising
Receive the attended operation of connection server;
Corresponding at least two domain name of the server is determined according to the attended operation;
At least two communication linkages for connecting at least two domain name are respectively created according to nested word;
If the communication linkage create successfully and the communication linkage support data transmission, it is determined that the communication linkage be with The destinations traffic of the server communication links.
2. the method according to claim 1, wherein described be respectively created connection described at least two according to nested word At least two communication linkages of a domain name, comprising:
For each domain name, the communication linkage of a connection domain name is created according to nested word.
3. the method according to claim 1, wherein if the communication linkage creates successfully and the communication chain It connects and supports data transmission, it is determined that the communication linkage is to link with the destinations traffic of the server communication, comprising:
For at least two communication linkage, however, it is determined that some communication linkage creates successfully, then stops creating other communication chains It connects;
Judge to create whether the successfully communication linkage supports data to transmit;
If so, determining that the communication linkage is to link with the destinations traffic of the server communication.
4. method according to claim 1 or 2 or 3, which is characterized in that further include:
New domain name is obtained from the server by destinations traffic link;
Store the new domain name.
5. method according to claim 1 or 2 or 3, which is characterized in that it is described receive connection server attended operation it Afterwards, further includes:
Determine the corresponding first default domain name of server;
According to the communication linkage of nested word creation connection the first default domain name, the communication linkage wound is executed if returning It builds up function and the communication linkage supports data transmission, it is determined that the communication linkage is the target with the server communication Communication linkage.
6. method according to claim 1 or 2 or 3, which is characterized in that further include:
If the communication linkage creation failure or the communication linkage do not support data to transmit, it is determined that the server is corresponding Second default domain name;
According to the communication linkage of nested word creation connection the second default domain name;
Determine that the communication linkage is to link with the destinations traffic of the server communication.
7. method according to claim 1 or 2 or 3, which is characterized in that further include:
Delay for some communication linkage, between detection and the server;
Judge whether the amplitude of the delay meets preset amplitude threshold;
If so, determining that the communication linkage supports data transmission;
If not, it is determined that the communication linkage does not support data to transmit.
8. a kind of attachment device characterized by comprising
Attended operation receiving module, for receiving the attended operation of connection server;
Domain name determining module, for determining corresponding at least two domain name of the server according to the attended operation;
Communication linkage creation module, at least two communications for connecting at least two domain name to be respectively created according to nested word Link;
Communication linkage determining module, if being used for, the communication linkage is created successfully and the communication linkage supports data transmission, Determine that the communication linkage is to link with the destinations traffic of the server communication.
9. a kind of electronic equipment characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real A kind of existing connection method as claimed in claim 1.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor A kind of connection method as claimed in claim 1 is realized when execution.
CN201910067824.3A 2019-01-24 2019-01-24 A kind of connection method, device, equipment and storage medium Pending CN109819031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910067824.3A CN109819031A (en) 2019-01-24 2019-01-24 A kind of connection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910067824.3A CN109819031A (en) 2019-01-24 2019-01-24 A kind of connection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109819031A true CN109819031A (en) 2019-05-28

Family

ID=66603128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910067824.3A Pending CN109819031A (en) 2019-01-24 2019-01-24 A kind of connection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109819031A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6484206B2 (en) * 1998-10-07 2002-11-19 Nortel Networks Limited Efficient recovery of multiple connections in a communication network
CN102724132A (en) * 2012-06-29 2012-10-10 杭州迪普科技有限公司 Method and device for improving transmission control protocol (TCP) connection multiplexing processing efficiency
CN105681930A (en) * 2016-01-12 2016-06-15 深圳羚羊极速科技有限公司 Way for establishing rapid tcp connection with streaming media server
CN106385448A (en) * 2016-09-13 2017-02-08 郑州云海信息技术有限公司 Method and device for communicating between client and server
CN107453937A (en) * 2016-06-01 2017-12-08 广州市动景计算机科技有限公司 The management method and equipment in network connection pond
CN109194972A (en) * 2018-09-10 2019-01-11 广州酷狗计算机科技有限公司 Live stream acquisition methods, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6484206B2 (en) * 1998-10-07 2002-11-19 Nortel Networks Limited Efficient recovery of multiple connections in a communication network
CN102724132A (en) * 2012-06-29 2012-10-10 杭州迪普科技有限公司 Method and device for improving transmission control protocol (TCP) connection multiplexing processing efficiency
CN105681930A (en) * 2016-01-12 2016-06-15 深圳羚羊极速科技有限公司 Way for establishing rapid tcp connection with streaming media server
CN107453937A (en) * 2016-06-01 2017-12-08 广州市动景计算机科技有限公司 The management method and equipment in network connection pond
CN106385448A (en) * 2016-09-13 2017-02-08 郑州云海信息技术有限公司 Method and device for communicating between client and server
CN109194972A (en) * 2018-09-10 2019-01-11 广州酷狗计算机科技有限公司 Live stream acquisition methods, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
(美)(C.约翰斯顿)CLAYTON JOHNSON: "《Windows NT-注册表》", 31 May 1998 *
候家利: "《计算机应用基础 计算与计算思维 微课版》", 31 August 2018 *

Similar Documents

Publication Publication Date Title
CN106528432B (en) The construction method and device of test scene data bury a test method
CN102710748B (en) Data capture method, system and equipment
CN103188574B (en) method and system for transmitting network video
US11218437B2 (en) Method for network traffic forwarding, request sending, and communication acceleration, forwarding server and node server
US20120210011A1 (en) Apparatus and methods for access solutions to wireless and wired networks
CN102780711B (en) A kind of SNS application data access method and device thereof and system
CN102904959B (en) Network accelerating method and gateway
EP3002927A1 (en) Page redirection method, routing device, terminal device and system
CN102783119A (en) Access control method and system, and access terminal
US10958735B2 (en) Client connection method and system
CN104796396A (en) Network proxy layer for policy-based application proxies
CN101763357A (en) Method and system for browser to load internet resources
CN108173976A (en) Domain name analytic method and device
CN103781055A (en) Data downloading method and associated device
CN104160680A (en) Spoofing technique for transparent proxy caching
US20130212159A1 (en) Method, Apparatus and System for Intercepted Triggering of Execution of Internet Services
US20120117270A1 (en) Methods for reducing latency in network connections using automatic redirects and systems thereof
CN102752411A (en) Redirection method and device
CN105635073A (en) Access control method and device and network access equipment
US11064052B2 (en) Page insertion method and device
CN102547553B (en) Method, system and device for accessing service based on wireless application protocol (WAP)
CN105393247A (en) Webpage optimization device and method
CN107872548A (en) Web page interlinkage method, apparatus and readable storage medium storing program for executing
CN101378407B (en) Method, system and equipment for pushing information
CN109618004A (en) A kind of message forwarding method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190528

RJ01 Rejection of invention patent application after publication