CN109347904A - The method for building up and system of communication link - Google Patents

The method for building up and system of communication link Download PDF

Info

Publication number
CN109347904A
CN109347904A CN201810996398.7A CN201810996398A CN109347904A CN 109347904 A CN109347904 A CN 109347904A CN 201810996398 A CN201810996398 A CN 201810996398A CN 109347904 A CN109347904 A CN 109347904A
Authority
CN
China
Prior art keywords
server
client
communication link
available agent
node
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
CN201810996398.7A
Other languages
Chinese (zh)
Other versions
CN109347904B (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.)
Zhuomi Private Ltd
Original Assignee
Happy Honey 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 Happy Honey Co Ltd filed Critical Happy Honey Co Ltd
Priority to CN201810996398.7A priority Critical patent/CN109347904B/en
Publication of CN109347904A publication Critical patent/CN109347904A/en
Application granted granted Critical
Publication of CN109347904B publication Critical patent/CN109347904B/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
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method for building up and system of a kind of communication link provided in an embodiment of the present invention, compared in such a way that public network establishes communication link, available agent server is the proxy server nearest with client location, established available agent server is shortened at a distance from the first communication link between client, it is also reduced with the shortening of distance in first communication link for jumping the proxy server of forwarding, thereby reduces the number for jumping forwarding in the first communication link.And then the communication link being made of the first communication link and the second communication link established, it is to jump the relatively small number of communication link of hop count, improves the message transmission rate between client and service server.

Description

The method for building up and system of communication link
Technical field
The present invention relates to fields of communication technology, more particularly to the method for building up and system of a kind of communication link.
Background technique
With the development of internet technology, a large amount of network application systems are widely used, such as IM (Instant Messaging, instant messaging) system, video living transmission system etc..When using network application system, need to establish client with Communication link between service server, to carry out the transmission of business datum.For example, when user A is chatted using IM system, it be from The chat data of service server acquisition other users, it is necessary to the communication link between the client and public network of user A is established, Communication link between public network and service server, to realize the data between client and service server using public network Transmission.
But public network usually selects proxy server to establish when carrying out data transmission from public network server at random Communication link.Since the selection to public network server is there are randomness, lead to the communication link between client and public network, it may It is to need by repeatedly jumping the communication forwarded to carry out data transmission apart from farther away multiple public network servers with client Link.It is similar, the communication link between service server and public network, it is also possible to need by with service server distance compared with Far more a public network server repeatedly jumps the communication link forwarded to carry out data transmission.
As it can be seen that the communication link between client and service server, it may be possible to exist and repeatedly jump forwarding and data The farther away communication link of transmission range, is communicated using such communication link, will lead to client and service server it Between data transmit rate it is not high.
Summary of the invention
The method for building up and system for being designed to provide a kind of communication link of the embodiment of the present invention jump forwarding to establish The relatively small number of communication link of number improves the message transmission rate between client and service server.Specific technical solution It is as follows:
In a first aspect, being applied to network application system the embodiment of the invention provides a kind of method for building up of communication link Service server, which further includes client, this method comprises:
Client-based communication request obtains the Client location information and client identification of client;
Based on the Client location information, obtain and the nearest available agent server of the client location;
Establish the first communication link between the available agent server;
The client identification is sent to the available agent server, so that the available agent server is based on institute Client identification is stated, the second communication link between the client is established.
Optionally, described to be based on the Client location information, it obtains and the nearest available agent of the client location Server, comprising:
The client is obtained using the corresponding relationship in preset region and domain name based on the Client location information The domain-name information of position region, using the corresponding server of domain name information as with the client location it is nearest can Use proxy server.
Optionally, described to be based on the Client location information, it obtains and the nearest available agent of the client location Server, comprising:
Based on the Client location information, according to the specified node server and its location information prestored, acquisition and institute A nearest specified node server of client location is stated, as the available agent service nearest with the client location Device;
Wherein, the specified node server includes: the special line node server disposed in network, CDN acceleration node One of server or third party cloud node server are a variety of.
Optionally, described to be based on the Client location information, believed according to the specified node server prestored and its position Breath obtains a specified node server nearest with the client location, as with the client location it is nearest can With proxy server, comprising:
Based on the Client location information, according to the specified node server and its location information prestored, acquisition and institute State the nearest specified node server of client location;
If obtain specified node server quantity be 1, using this specify node server as with the client The nearest available agent server in position;
If the quantity of the specified node server obtained is greater than 1, each node server will acquire as node undetermined The server info of node server undetermined is sent to the client by server, so that the client is based on described each The server info of a node server undetermined sends test data to each node server undetermined, according to described each A node server undetermined is anti-by the shortest node server undetermined of response time respectively to the response time of the test data It is fed to service server;
By the node server undetermined of client feedback, as the available agent service nearest with the client location Device.
Optionally, described to be taken based on the available agent if available agent server is the first special line node server The server info of business device, establishes the first communication link between the available agent server, comprising:
It is obtained based on the position of service server itself according to the specified node server and its location information prestored It obtains in the service server affiliated area, and between the first special line node server and is pre-established with special line communication Second special line node server of link;
Establish the third communication link between the second special line node server;
Based on the third communication link and the special line communication link, establish with the first special line node server it Between the first communication link.
Optionally, the service server is set in third party cloud platform;
If available agent server be the third party cloud platform in third party cloud node server, it is described foundation with The first communication link between the available agent server, comprising:
Establish and save the corresponding relationship of service server Yu third party cloud node server.
Second aspect, the embodiment of the invention provides a kind of method for building up of communication link, are applied to network application system Client, which further includes service server, this method comprises:
It sends communication request and obtains client so that the service server is based on the communication request to service server The Client location information and client identification at end are based on the Client location information, obtain with the client location most Close available agent server establishes the first communication link between the available agent server, by the client mark Knowledge is sent to the available agent server;
Wherein, the available agent server, which is based on establishing between the client identification, with the client, second Communication link.
Optionally, after the transmission communication request to service server, the method also includes:
Receive the server info for the node server undetermined that the service server is sent;
Wherein, the node server undetermined is that service server is based on the Client location information, according to what is prestored Specified node server and its location information, in the specified node server nearest with the client location of acquisition at least Two node servers;The specified node server includes: the special line node server disposed in network, CDN acclerating section One of point server or third party cloud node server are a variety of;
Based on the server info of each node server undetermined, test data is sent to each node undetermined Server;
It is according to each node server undetermined respectively to the response time of the test data, response time is most short Node server undetermined feed back to service server so that the service server is by the node serve undetermined of client feedback Device, as the available agent server nearest with the client location.
The third aspect, the embodiment of the invention provides a kind of method for building up of communication link, are applied to available agent service Device, the available agent server are the proxy server nearest with client location, and client location is based on for service server What the communication request of client obtained, this method comprises:
Receive the client identification of the client that service server is sent, through the first communication link;Wherein, First communication link is the communication chain between service server and available agent server that the service server is established Road, the client identification are that the client-based communication request of the service server obtains;
Based on the client identification, the second communication link between the client is established.
Optionally, the available agent server is the proxy server nearest with client location, comprising:
The available agent server is a specified node server nearest with the client location;
Wherein, the specified node server includes: the special line node server disposed in network, CDN acceleration node One of server or third party cloud node server are a variety of.
Optionally, the available agent server is a specified node server nearest with the client location, Include:
If the quantity of nearest specified node server is 1 with the client location, the available agent server For the specified node server nearest with the client location;
If the quantity of nearest specified node server is greater than 1 with the client location, with the client location Nearest each node server is node server undetermined;
The test data that the client is sent is received by each node server undetermined, and respectively responds the survey Try data so that the client according to each node server undetermined respectively to the response time of the test data, The shortest node server undetermined of response time is fed back into the service server;
The available agent server is undetermined node server of the client feedback to the service server.
Optionally, if available agent server is the first special line node server, first communication link is described Service server be based on third communication link and special line communication link, foundation between the first special line node server Communication link;
Wherein, the third communication link is service server foundation between the second special line node server Communication link;The second special line node server be in the service server affiliated area, and with first special line The node server of special line communication link is pre-established between node server.
Optionally, if available agent server is the third party cloud node server in third party cloud platform, described the One communication link is the communication link between service server and available agent server that the service server is established, packet It includes:
First communication link is the service server that the service server is established and is saved and the third The corresponding relationship of square cloud node server;The service server is set in third party cloud platform.
Fourth aspect, the embodiment of the invention provides a kind of service server, which includes:
Data obtaining module is used for client-based communication request, obtains Client location information and the visitor of client Family end mark;Based on the Client location information, obtain and the nearest available agent server of the client location;
Link establishment module, the first communication link for establishing between the available agent server;By the visitor Family end mark is sent to the available agent server, so that the available agent server is based on the client identification, builds The second communication link between the vertical and described client.
Optionally, the data obtaining module, is specifically used for:
The client is obtained using the corresponding relationship in preset region and domain name based on the Client location information The domain-name information of position region, using the corresponding server of domain name information as with the client location it is nearest can Use proxy server.
Optionally, the data obtaining module, is specifically used for:
Based on the Client location information, according to the specified node server and its location information prestored, acquisition and institute A nearest specified node server of client location is stated, as the available agent service nearest with the client location Device;
Wherein, the specified node server includes: the special line node server disposed in network, CDN acceleration node One of server or third party cloud node server are a variety of.
Optionally, the data obtaining module, is specifically used for:
Based on the Client location information, according to the specified node server and its location information prestored, acquisition and institute State the nearest specified node server of client location;
If obtain specified node server quantity be 1, using this specify node server as with the client The nearest available agent server in position;
If the quantity of the specified node server obtained is greater than 1, each node server will acquire as node undetermined The server info of node server undetermined is sent to the client by server, so that the client is based on described each The server info of a node server undetermined sends test data to each node server undetermined, according to described each A node server undetermined is anti-by the shortest node server undetermined of response time respectively to the response time of the test data It is fed to service server;
By the node server undetermined of client feedback, as the available agent service nearest with the client location Device.
Optionally, if available agent server is the first special line node server, the link establishment module is specific to use In:
It is obtained based on the position of service server itself according to the specified node server and its location information prestored It obtains in the service server affiliated area, and between the first special line node server and is pre-established with special line communication Second special line node server of link;
Establish the third communication link between the second special line node server;
Based on the third communication link and the special line communication link, establish with the first special line node server it Between the first communication link.
Optionally, the service server is set in third party cloud platform;
If available agent server is the third party cloud node server in the third party cloud platform, the link is built Formwork erection block, is specifically used for:
Establish and save the corresponding relationship of service server Yu third party cloud node server.
5th aspect, the embodiment of the invention provides a kind of client, which includes:
Information sending module, for sending communication request to service server, so that the service server is based on described Communication request obtains the Client location information and client identification of client, be based on the Client location information, obtain with The nearest available agent server of the client location establishes the first communication chain between the available agent server The client identification is sent to the available agent server by road;
Wherein, the available agent server, which is based on establishing between the client identification, with the client, second Communication link.
Optionally, the client further include:
Information receiving module, for receiving the server info for the node server undetermined that the service server is sent;
Wherein, the node server undetermined is that service server is based on the Client location information, according to what is prestored Specified node server and its location information, in the specified node server nearest with the client location of acquisition at least Two node servers;The specified node server includes: the special line node server disposed in network, CDN acclerating section One of point server or third party cloud node server are a variety of;
The information sending module is sent specifically for the server info based on each node server undetermined Test data is to each node server undetermined;According to each node server undetermined respectively to the test data Response time, the shortest node server undetermined of response time is fed back into service server, so that the service server By the node server undetermined of client feedback, as the available agent server nearest with the client location.
Optionally, the proxy server is the proxy server nearest with client location, and the client location is The client-based communication request of service server obtains, and the proxy server includes:
Information receiving module, for receiving the client that service server is sent, through the first communication link Client identification;Wherein, first communication link is the service server and available agent that the service server is established Communication link between server, the client identification are that the client-based communication request of the service server obtains 's;
Link establishment module establishes the second communication chain between the client for being based on the client identification Road.
6th aspect, the embodiment of the invention provides a kind of proxy server, which is and client location Nearest proxy server, client location are that the client-based communication request of service server obtains, the agency service Device includes:
Information receiving module, for receiving the client that service server is sent, through the first communication link Client identification;Wherein, first communication link is the service server and available agent that the service server is established Communication link between server, the client identification are that the client-based communication request of the service server obtains 's;
Link establishment module establishes the second communication chain between the client for being based on the client identification Road.
Optionally, the proxy server is the proxy server nearest with client location, comprising:
The proxy server is a specified node server nearest with the client location;
Wherein, the specified node server includes: the special line node server disposed in network, CDN acceleration node One of server or third party cloud node server are a variety of.
Optionally, the proxy server is a specified node server nearest with the client location, comprising:
If the quantity of the specified node server nearest with the client location is 1, the proxy server be with The nearest specified node server of the client location;
If the quantity of nearest specified node server is greater than 1 with the client location, with the client location Nearest each node server is node server undetermined;
The proxy server further includes respond module, the test data sent for receiving the client, and respectively The test data is responded, so that the client is according to each node server undetermined respectively to the test data The shortest node server undetermined of response time is fed back to the service server by response time;
The available agent server is undetermined node server of the client feedback to the service server.
Optionally, if proxy server is the first special line node server, first communication link is the business Server is based on third communication link and special line communication link, the communication between the first special line node server of foundation Link;
Wherein, the third communication link is service server foundation between the second special line node server Communication link;The second special line node server be in the service server affiliated area, and with first special line The node server of special line communication link is pre-established between node server.
Optionally, if available agent server is the third party cloud node server in third party cloud platform, described the One communication link is the communication link between service server and available agent server that the service server is established, packet It includes:
First communication link is the service server that the service server is established and is saved and the third The corresponding relationship of square cloud node server;The service server is set in third party cloud platform.
7th aspect, establishes system the embodiment of the invention provides a kind of communication link, which includes:
Client, for sending communication request to service server;
Service server is used for client-based communication request, obtains Client location information and the client of client End mark;Based on the Client location information, obtain and the nearest available agent server of the client location;Establish with The first communication link between the available agent server;The client identification is sent to the available agent service Device;
Available agent server, for receiving the client that service server is sent, through the first communication link The client identification at end;Based on the client identification, the second communication link between the client is established.
Eighth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are contained in service server, should Computer program is stored in storage medium, which realizes that above-mentioned first aspect provides logical when being executed by processor The step of believing the method for building up of link.
9th aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are contained in client, the storage Dielectric memory contains computer program, which realizes the communication chain that above-mentioned second aspect provides when being executed by processor The step of method for building up on road.
Tenth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are contained in proxy server, should Computer program is stored in storage medium, which realizes that the above-mentioned third aspect provides logical when being executed by processor The step of believing the method for building up of link.
The method for building up and system of a kind of communication link provided in an embodiment of the present invention, the industry applied to network application system Business server, which further includes client.By the client-based communication request of service server, client is obtained The Client location information and client identification at end.Based on Client location information, obtains and what client location was nearest can be used Proxy server establishes the first communication link between available agent server.Client identification is sent to available agent Server establishes the second communication link between client so that available agent server is based on client identification.With pass through The mode that public network establishes communication link is compared, and available agent server is the proxy server nearest with client location, is shortened The available agent server established is at a distance from the first communication link between client, for jumping in the first communication link The proxy server of hair of walking around also is reduced with the shortening of distance, thereby reduces time that forwarding is jumped in the first communication link Number.And then the communication link being made of the first communication link and the second communication link established, it is that jump hop count opposite Less communication link improves the message transmission rate between client and service server.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is the flow diagram of the method for building up of the communication link of one embodiment of the invention;
Fig. 2 is the network application system of one embodiment of the invention when being IM system, the structure for establishing system of communication link Schematic diagram;
Fig. 3 is the available agent server of one embodiment of the invention when being special line node server, the foundation of communication link The structural schematic diagram of system;
Fig. 4 is the distribution schematic diagram of the data center of the third party cloud of one embodiment of the invention;
Fig. 5 is the flow diagram of the method for building up of the communication link of another embodiment of the present invention;
Fig. 6 is the structural schematic diagram for establishing system of the communication link of one embodiment of the invention;
Fig. 7 is the structural schematic diagram of the service server of one embodiment of the invention;
Fig. 8 is the structural schematic diagram of the service server of another embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the client of one embodiment of the invention;
Figure 10 is the structural schematic diagram of the client of another embodiment of the present invention;
Figure 11 is the structural schematic diagram of the proxy server of one embodiment of the invention;
Figure 12 is the structural schematic diagram of the proxy server of another embodiment of the present invention.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in the present invention, implement below in conjunction with the present invention Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment Only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
The method for building up of the communication link of one embodiment of the invention is introduced first below.
The method for building up of communication link provided in an embodiment of the present invention can be applied to the electronics that can establish communication link Equipment, the equipment may include desktop computer, portable computer, internet television, intelligent mobile terminal, wearable intelligence Energy terminal, server etc., are not limited thereto, any electronic equipment that the embodiment of the present invention may be implemented belongs to the present invention The protection scope of embodiment.
As shown in Figure 1, the process of the method for building up of the communication link of one embodiment of the invention, this method may include:
S101, client send communication request to service server.
In practical application, the communication request that client is sent can be transmitted by the navigation server disposed in network To service server.Communication request is for showing that the client request and service server establish communication link, by being built Vertical communication link carries out service interaction.Wherein, business service implement body can be server cluster.
S102, the client-based communication request of service server obtain Client location information and the client of client End mark.
Wherein, the Client location information of client is used to show the geographical location information where client.Client mark Know the device identification that can be client, is also possible to the login banner of user in client.
S103, service server are based on Client location information, obtain and the nearest available agent service of client location Device.
Client location information is used to show the geographical location information where client, correspondingly, being based on client location Information, the acquired available agent server nearest with client location are nearest with the geographical location where client Server.Acquisition and the nearest available agent server of client location, can be acquisition and client location region The corresponding server of domain-name information.A finger nearest with client location in specified node server is obtained alternatively, can be Determine node server.
In this regard, optional, S103 be can specifically include:
Service server is based on Client location information, using the corresponding relationship in preset region and domain name, obtains client The domain-name information of end position region, using the corresponding server of domain-name information as the available agent nearest with client location Server.
Wherein, the title of geographic area where the domain-name information of client location region represents client, such as north Jing Shi.Under normal conditions, in order to save server disposition cost, the network of network node reasonable layout is established, as network section The server of point is often disposed according to geographic area.Correspondingly, the available agent server nearest with client location, just It is server corresponding with domain-name information.
S104, service server establish the first communication link between available agent server.
After obtaining available agent server, service server can establish between available agent server One communication link, for the data transmission between service server and available agent server.
S105, service server send client identification to available agent server.
The client identification that service server is sent, can pass through the first communication link to available agent server.
S106, available agent server are based on client identification, establish the second communication link between client.
After available agent server receives client identification, it can determine that the client of communication link is established in request, thus Establish the second communication link between the client.Data transmission between available agent server and client can pass through Second communication link carries out.
Generation can be used by the first communication link between the service server and available agent server of foundation, and foundation The second communication link between server and client is managed, the client being made of the first communication link and the second communication has been obtained Communication link between service server.Specifically, the first communication link and the second communication link may each be long connection, from And client and service server establish long connection, can connect the number carried out between client and service server by the length According to transmission.
For example, communication link shown in Fig. 2 establishes system, client 202 will be carried out with client 204 in IM system 200 Chat service.It can be the navigation server that client 202 is previously deployed in network, send communication request to service server 201, communication request of the service server 201 based on client 202 obtains the Client location information " Beijing " of client 202 With client identification " A ".Service server 201 is based on Client location information " Beijing ", obtains nearest with 202 position of client Available agent server 203.Service server 201 establishes the first communication link between available agent server 203.Industry Business server 201 sends client identification " A " to available agent server 203.Available agent server 203 is based on client mark Know " A ", establishes the second communication link between client 201.Similar, client 204 is established and available agent server The second communication link between 205, available agent server 205 establish the first communication link between service server 201. After client 202 and client 204 establish the communication link between service server 201 respectively, so that it may pass through institute Respective chat message is transmitted to service server 201 by the communication link of foundation, and obtains other side from service server 201 Transmission chat message.
The method for building up of a kind of communication link provided in an embodiment of the present invention, and in such a way that public network establishes communication link It compares, available agent server is the proxy server nearest with client location, shortens established available agent service Device is at a distance from the first communication link between client, in the first communication link for jump the proxy server of forwarding also with The shortening of distance and reduce, thereby reduce the number that forwarding is jumped in the first communication link.And then that establishes is communicated by first The communication link that link and the second communication link are constituted is to jump the relatively small number of communication link of hop count, improves visitor Message transmission rate between family end and service server.
Optionally, the S103 in Fig. 1 embodiment, can specifically include:
Service server is based on Client location information and is obtained according to the specified node server and its location information prestored A specified node server nearest with client location is taken, as the available agent server nearest with client location.
Wherein, specified node server includes: the special line node server disposed in network, CDN acceleration node serve One of device or third party cloud node server are a variety of.
In practical application, server can carry out type division according to the different of belonging network.It is more belonging to server In kind of network, special line node server uses special line communication in private line network, and CDN (Content Delivery Network, it is interior Content distributing network) in CDN accelerate node server to carry out in data routing and third party cloud according to edge network distribution mechanisms Third party cloud node server use special line communication, communication means or routing mechanism used by these networks make each net Network all has higher traffic rate.
In order to further increase the traffic rate of established communication link, the special line that can have been disposed from above-mentioned network Node server, CDN accelerate to select one or more as specified node in node server or third party cloud node server Server.To which Client location information can be based on, according to the specified node prestored when obtaining available agent server Server and its location information obtain a specified node server nearest with client location, as with client location Nearest available agent server.
Optionally, if available agent server is the first special line node server, the S104 in Fig. 1 embodiment, specifically May include:
Position of the service server based on service server itself is believed according to the specified node server prestored and its position Breath obtains in service server affiliated area, and between the first special line node server and is pre-established with special line communication chain The second special line node server on road.
For example, as shown in figure 3, service server 301 based on itself position Fu Jiliya, according to the specified node prestored Server and Server location information, obtain in 301 affiliated area of service server, and with the first special line node server The second special line node server 304 of special line communication link is pre-established between 303.
Service server establishes the third communication link between the second special line node server.
For example, as shown in figure 3, service server 301 establishes the third communication between the second special line node server 304 Link
Service server is based on third communication link and special line communication link, establishes between the first special line node server The first communication link.
Wherein, the first special line node server 303 and the second special line node server 304 specifically can be cloud host.
In addition, being recently to be deployed in Pekinese's the first special line node apart from the client 302 that client location is continent Server 303 is the first special line node clothes for being deployed in Singapore apart from the client 302 that client location is India recently Business device 303, thus, it is possible to the client of the two positions be established, with the communication link between respective special line node server.
When establishing the first communication link between service server and available server, it can use in private line network and take The characteristics of being communicated between business device using special line, further increases the traffic rate of the first established communication link.Specifically , it can establish the third communication link between service server and the second special line node server.Due to the second special line node It is to shorten the distance between service server and the first special line node, and specially with first in service server affiliated area The node server of special line communication link is pre-established between line node server.For example, using the special line section of Fig. 3 embodiment Point server, after establishing the communication link between the client 302 and service server 301 that client location is continent, north The first special line node server in capital between the second special line node server of Dallas due to being private line network, data delay It is minimum in 7ms or so.And the client location established based on public network is between the client 302 and service server 301 in continent Communication link, since the communication link established based on public network may pass through Japan or Taiwan, Hong Kong, Australia etc. Ground public network server jumps forwarding, and data delay may be between 500ms or even several seconds, it is also possible to which there are network access is super When the problems such as.
Therefore, compared with being directly based upon the first communication link that public network is established, not only by the shortening of distance certain Reduce service server in degree to the number for jumping forwarding between the first special line node server, and with the first special line section Special line communication between point server and the second special line node server improves the traffic rate of the first link.
Optionally, in above-described embodiment, business service implement body be can be set in third party cloud platform.
If available agent server is the third party cloud node server in third party cloud platform, in Fig. 1 embodiment S104 can specifically include:
Establish and save the corresponding relationship of service server Yu third party cloud node server.
In view of using special line communication between the Cloud Server in third party cloud, therefore, if service server is arranged In third party cloud platform, and available agent server is the third party cloud node server in third party cloud platform, then business Server and third party cloud node server establish corresponding relationship, it will be able to be communicated using third party cloud, also just quite In establishing the first communication link between service server and third party cloud node server.
For example, the Cloud Server in a certain third party cloud is according to area distribution shown in Fig. 4.If service server setting exists Region is that, then in the client in the other regions in the whole world, can access physics nearby in the third party cloud of eastern United States Fu Jiliya The nearest third party cloud node server in position.It can nearby be the third in Bombay with region such as the client that position is India Square cloud node server establishes the second communication link, then thus third party cloud node server is established and the business of Fu Jiliya clothes First communication link of business device.
The advantage for relying on the data center of third party cloud more in distribution on global disposes phase in each region of third party cloud The third party cloud node server answered, so as to the second communication link established between the client in the region.And it will lead to It crosses the private line network that third party cloud optimized and establishes the first communication link, to guarantee the stabilization of link and the reliable biography of data packet It is defeated.
As shown in figure 5, the process of the method for building up of the communication link of another embodiment of the present invention, this method may include:
S501, client send communication request to service server.
S502, the client-based communication request of service server obtain Client location information and the client of client End mark.
S501 to S502 is the step identical as the S101 to S102 in Fig. 1 embodiment, and details are not described herein, is detailed in Fig. 1 The description of embodiment.
S503, service server is based on the Client location information, according to the specified node server prestored and its position Confidence breath, obtains the specified node server nearest with client location.
This is specified node server to make by S504 if the quantity for the specified node server that service server obtains is 1 For the available agent server nearest with client location, S510 to S512 is executed.
S505 will acquire each node serve if the quantity for the specified node server that service server obtains is greater than 1 Device is sent to client as node server undetermined, by the server info of node server undetermined.
When the quantity of the specified node server of acquisition is greater than 1, although these specified node servers and client Apart from identical, still, the difference of server belonging network causes to establish communication link using different specified node servers When, the message transmission rate of communication link has differences.Therefore, in order to which the data for further increasing established communication link pass Defeated rate can select specified node server.For this purpose, each node server can be will acquire as node undetermined The server info of node server undetermined is sent to client by server, so as to subsequent client can client be based on The server info of each node server undetermined sends test data to each node server undetermined, so that it is determined that going out logical Believe rate in contrast highest server as available agent server.
S506, server info of the client based on each node server undetermined send test data to each undetermined Node server.
Wherein, test data can be used for detecting the traffic rate of client Yu each node server undetermined, to be used for It is subsequent determine traffic rate in contrast highest server as available agent server.
S507, each node server undetermined respectively respond the test data.
It specifically can be, each node server undetermined is to client returning response signal, to show itself to receive visitor The test data that family end is sent.
S508, client, respectively to the response time of the test data, will be responded according to each node server undetermined The shortest node server undetermined of duration feeds back to service server.
Client feedback node server undetermined specifically can be the corresponding domain name of feedback node server undetermined to business Server, which can be the shortest node server belonging network undetermined of response time by service server, then be solved Analyse the mailing address of the shortest node server undetermined of duration in the network.
S509, service server by the node server undetermined of client feedback, as with client location it is nearest can Use proxy server.
Due to the node server undetermined of client feedback, be in response to the shortest server of duration, traffic rate compare and Say highest.Therefore, can with service server can by the node server undetermined of client feedback, as with client location most Close available agent server.
S510, service server establish the first communication link between the available agent server.
S511, service server send client identification to available agent server.
S512, available agent server are based on client identification, establish the second communication link between client.
S510 to S512 is the step identical as the S104 to S106 in Fig. 1 embodiment, and details are not described herein, is detailed in Fig. 1 The description of embodiment.
As shown in fig. 6, the structure for establishing system of the communication link of one embodiment of the invention, the system may include:
Client 601, for sending communication request to service server 602;
Service server 602 obtains the client location letter of client 601 for the communication request based on client 601 Breath and client identification;Based on the Client location information, obtain and the nearest available agent service of the client location Device 603;Establish the first communication link between the available agent server 603;The client identification is sent to institute State available agent server 603;
Available agent server 603, for receiving institute that service server 602 is sent, through the first communication link State the client identification of client;Based on the client identification, the second communication chain between the client 601 is established Road.
A kind of communication link provided in an embodiment of the present invention establishes system, including client, service server and can With proxy server, compared in such a way that public network establishes communication link, available agent server be with client location most Close proxy server shortens established available agent server at a distance from the first communication link between client, It is also reduced with the shortening of distance in first communication link for jumping the proxy server of forwarding, thereby reduces the first communication The number of forwarding is jumped in link.And then the communication link being made of the first communication link and the second communication link established, It is to jump the relatively small number of communication link of hop count, improves the message transmission rate between client and service server.
As shown in fig. 7, the structure of the service server of one embodiment of the invention, the service server may include:
Data obtaining module 701, be used for client-based communication request, obtain client Client location information and Client identification;Based on the Client location information, obtain and the nearest available agent server of the client location;
Link establishment module 702, the first communication link for establishing between the available agent server;It will be described Client identification is sent to the available agent server, so that the available agent server is based on the client identification, Establish the second communication link between the client.
A kind of service server provided in an embodiment of the present invention is logical with being established by public network when for establishing communication link The mode of letter link is compared, and available agent server is the proxy server nearest with client location, is shortened and is established Available agent server is at a distance from the first communication link between client, for jumping the generation of forwarding in the first communication link Reason server is also reduced with the shortening of distance, thereby reduces the number that forwarding is jumped in the first communication link.And then it establishes The communication link being made of the first communication link and the second communication link, be to jump the relatively small number of communication chain of hop count Road improves the message transmission rate between client and service server.
As shown in figure 8, the structure of the service server of another embodiment of the present invention, the service server 800 may include:
Processor 8001, communication interface 8002, memory 8003 and communication bus 8004, wherein processor 8001, communication Interface 8002, memory logical 8003 cross communication bus 8004 and complete mutual communication;
Memory 8003, for storing computer program;
Processor 8001 when for executing the computer program stored on above-mentioned memory 8003, is realized any of the above-described The step of being applied to the method for building up of the communication link of service server in embodiment.
Optionally, the data obtaining module 701 in Fig. 7 embodiment, specifically can be used for:
The client is obtained using the corresponding relationship in preset region and domain name based on the Client location information The domain-name information of position region, using the corresponding server of domain name information as with the client location it is nearest can Use proxy server.
Optionally, the data obtaining module 701 in Fig. 7 embodiment, specifically can be used for:
Based on the Client location information, according to the specified node server and its location information prestored, acquisition and institute A nearest specified node server of client location is stated, as the available agent service nearest with the client location Device;
Wherein, the specified node server includes: the special line node server disposed in network, CDN acceleration node One of server or third party cloud node server are a variety of.
Data obtaining module 701 in Fig. 7 embodiment, specifically can be used for:
Based on the Client location information, according to the specified node server and its location information prestored, acquisition and institute State the nearest specified node server of client location;
If obtain specified node server quantity be 1, using this specify node server as with the client The nearest available agent server in position;
If the quantity of the specified node server obtained is greater than 1, each node server will acquire as node undetermined The server info of node server undetermined is sent to the client by server, so that the client is based on described each The server info of a node server undetermined sends test data to each node server undetermined, according to described each A node server undetermined is anti-by the shortest node server undetermined of response time respectively to the response time of the test data It is fed to service server;
By the node server undetermined of client feedback, as the available agent service nearest with the client location Device.
Optionally, if available agent server is the first special line node server, the link establishment mould in Fig. 7 embodiment Block 702, specifically can be used for:
It is obtained based on the position of service server itself according to the specified node server and its location information prestored It obtains in the service server affiliated area, and between the first special line node server and is pre-established with special line communication Second special line node server of link;
Establish the third communication link between the second special line node server;
Based on the third communication link and the special line communication link, establish with the first special line node server it Between the first communication link.
Optionally, service server described in above-described embodiment is set in third party cloud platform;
If available agent server is the third party cloud node server in the third party cloud platform, Fig. 7 embodiment In link establishment module 702, specifically can be used for:
Establish and save the corresponding relationship of service server Yu third party cloud node server.
As shown in figure 9, the structure of the client of one embodiment of the invention, the client may include:
Information sending module 901, for sending communication request to service server, so that the service server is based on institute Communication request is stated, the Client location information and client identification of client are obtained, is based on the Client location information, is obtained The available agent server nearest with the client location establishes the first communication chain between the available agent server The client identification is sent to the available agent server by road;
Wherein, the available agent server, which is based on establishing between the client identification, with the client, second Communication link.
A kind of client provided in an embodiment of the present invention when for establishing communication link, establishes communication chain with by public network The mode on road is compared, and available agent server is the proxy server nearest with client location, shorten established it is available Proxy server is at a distance from the first communication link between client, for jumping agency's clothes of forwarding in the first communication link Business device is also reduced with the shortening of distance, thereby reduces the number that forwarding is jumped in the first communication link.And then establish by The communication link that first communication link and the second communication link are constituted is to jump the relatively small number of communication link of hop count, Improve the message transmission rate between client and service server.
As shown in Figure 10, the structure of the client of another embodiment of the present invention, the client 100 may include:
Processor 1001, communication interface 1002, memory 1003 and communication bus 1004, wherein processor 1001, communication Interface 1002, memory logical 1003 cross communication bus 1004 and complete mutual communication;
Memory 1003, for storing computer program;
Processor 1001 when for executing the computer program stored on above-mentioned memory 1003, is realized any of the above-described The step of being applied to the method for building up of the communication link of client in embodiment.
Optionally, the client in above-mentioned Fig. 9 embodiment can also include:
Information receiving module, for receiving the server info for the node server undetermined that the service server is sent;
Wherein, the node server undetermined is that service server is based on the Client location information, according to what is prestored Specified node server and its location information, in the specified node server nearest with the client location of acquisition at least Two node servers;The specified node server includes: the special line node server disposed in network, CDN acclerating section One of point server or third party cloud node server are a variety of;
The information sending module is sent specifically for the server info based on each node server undetermined Test data is to each node server undetermined;According to each node server undetermined respectively to the test data Response time, the shortest node server undetermined of response time is fed back into service server, so that the service server By the node server undetermined of client feedback, as the available agent server nearest with the client location.
As shown in figure 11, the structure of the proxy server of one embodiment of the invention, the proxy server are and client The nearest proxy server in position, the client location are that the client-based communication request of service server obtains, should Proxy server may include:
Information receiving module 1101, for receiving the visitor that service server is sent, through the first communication link The client identification at family end;Wherein, first communication link is the service server and can be used that the service server is established Communication link between proxy server, the client identification are that the client-based communication request of the service server obtains It takes;
Link establishment module 1102 is established and is led to second between the client for being based on the client identification Believe link.
A kind of proxy server provided in an embodiment of the present invention is the proxy server nearest with client location, wherein Client location is that the client-based communication request of service server obtains.The proxy server is for establishing communication link When, compared in such a way that public network establishes communication link, available agent server is taken with the nearest agency of client location Business device, shortens established available agent server at a distance from the first communication link between client, the first communication chain It is also reduced with the shortening of distance in road for jumping the proxy server of forwarding, thereby reduces and jumped in the first communication link The number of forwarding.And then the communication link being made of the first communication link and the second communication link established, it is to jump forwarding The relatively small number of communication link of number, improves the message transmission rate between client and service server.
As shown in figure 12, the structure of the proxy server of another embodiment of the present invention, the proxy server 120 can wrap It includes:
Processor 1201, communication interface 1202, memory 903 and communication bus 1204, wherein processor 1201, communication Interface 1202, memory logical 1203 cross communication bus 1204 and complete mutual communication;
Memory 1203, for storing computer program;
Processor 1201 when for executing the computer program stored on above-mentioned memory 1203, is realized any of the above-described It is applied to the step of method for building up to the communication link of proxy server can be used in embodiment.
Optionally, above-mentioned proxy server is the proxy server nearest with client location, may include:
The proxy server is a specified node server nearest with the client location;
Wherein, the specified node server includes: the special line node server disposed in network, CDN acceleration node One of server or third party cloud node server are a variety of.
Optionally, above-mentioned proxy server is a specified node server nearest with the client location, can be with Include:
If the quantity of the specified node server nearest with the client location is 1, the proxy server be with The nearest specified node server of the client location;
If the quantity of nearest specified node server is greater than 1 with the client location, with the client location Nearest each node server is node server undetermined;
Proxy server in above-mentioned Figure 11 embodiment can also include respond module, for receiving the client hair The test data sent, and the test data is respectively responded, so that the client is according to each node server undetermined Respectively to the response time of the test data, the shortest node server undetermined of response time is fed back into the business service Device;
The available agent server is undetermined node server of the client feedback to the service server.
Optionally, in above-described embodiment, if proxy server is the first special line node server, first communication chain Road be the service server be based on third communication link and special line communication link, foundation with the first special line node serve Communication link between device;
Wherein, the third communication link is service server foundation between the second special line node server Communication link;The second special line node server be in the service server affiliated area, and with first special line The node server of special line communication link is pre-established between node server.
Optionally, if available agent server is the third party cloud node server in third party cloud platform, described the One communication link is the communication link between service server and available agent server that the service server is established, can be with Include:
First communication link is the service server that the service server is established and is saved and the third The corresponding relationship of square cloud node server;The service server is set in third party cloud platform.
Above-mentioned memory may include RAM (Random Access Memory, random access memory), also may include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.Optionally, memory It can also be that at least one is located away from the storage device of above-mentioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processor, Digital signal processor), ASIC (Application Specific Integrated Circuit, specific integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.
The computer readable storage medium that one embodiment of the invention provides, is contained in service server, this is computer-readable It is stored with computer program in storage medium, when which is executed by processor, realizes that any of the above-described apply in example is applied In the method for building up of the communication link of service server the step of.
A kind of computer readable storage medium provided in an embodiment of the present invention, is contained in service server, which can It reads to be stored with computer program in storage medium, when which is executed by processor, establishes communication chain with by public network The mode on road is compared, and available agent server is the proxy server nearest with client location, shorten established it is available Proxy server is at a distance from the first communication link between client, for jumping agency's clothes of forwarding in the first communication link Business device is also reduced with the shortening of distance, thereby reduces the number that forwarding is jumped in the first communication link.And then establish by The communication link that first communication link and the second communication link are constituted is to jump the relatively small number of communication link of hop count, Improve the message transmission rate between client and service server.
The computer readable storage medium that one embodiment of the invention provides, is contained in client, the computer-readable storage Dielectric memory contains computer program, when which is executed by processor, realizes that any of the above-described apply is applied to visitor in example The step of method for building up of the communication link at family end.
A kind of computer readable storage medium provided in an embodiment of the present invention, is contained in client, this is computer-readable to deposit It is stored with computer program in storage media, when which is executed by processor, establishes communication link with by public network Mode is compared, and available agent server is the proxy server nearest with client location, shortens established available agent Server is at a distance from the first communication link between client, for jumping the proxy server of forwarding in the first communication link Also it is reduced with the shortening of distance, thereby reduces the number for jumping forwarding in the first communication link.And then establish by first The communication link that communication link and the second communication link are constituted is to jump the relatively small number of communication link of hop count, is improved Message transmission rate between client and service server.
The computer readable storage medium that one embodiment of the invention provides, is contained in proxy server, this is computer-readable It is stored with computer program in storage medium, when which is executed by processor, realizes that any of the above-described apply in example is applied In the method for building up of the communication link of proxy server the step of.
A kind of proxy server provided in an embodiment of the present invention, computer readable storage medium are contained in proxy server, It is stored with computer program in the computer readable storage medium, when which is executed by processor, and passes through public network The mode for establishing communication link is compared, and available agent server is the proxy server nearest with client location, shortens institute The available agent server of foundation turns in the first communication link for jumping at a distance from the first communication link between client The proxy server of hair is also reduced with the shortening of distance, thereby reduces the number that forwarding is jumped in the first communication link.Into And the communication link being made of the first communication link and the second communication link established, it is that jump hop count relatively small number of Communication link improves the message transmission rate between client and service server.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes communication chain described in the above-mentioned any embodiment applied to service server The step of method for building up on road.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes communication link described in the above-mentioned any embodiment applied to client The step of method for building up.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes communication link described in the above-mentioned any embodiment applied to client The step of method for building up.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, DSL from a web-site, computer, server or data center (Digital Subscriber Line, Digital Subscriber Line) or wireless (such as: infrared ray, radio, microwave etc.) mode is to another One web-site, computer, server or data center are transmitted.The computer readable storage medium can be calculating Any usable medium that machine can access either includes the numbers such as one or more usable mediums integrated server, data center According to storage equipment.The usable medium can be magnetic medium, and (for example, floppy disk, hard disk, tape), optical medium (such as: DVD (Digital Versatile Disc, digital versatile disc)) or semiconductor medium (such as: SSD (Solid State Disk, solid state hard disk)) etc..
Herein, relational terms such as first and second and the like be used merely to by an entity or operation with it is another One entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this reality Relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.It is taken especially for business Business device, client, available agent server and communication link are established for system embodiment, due to its side of being substantially similar to Method embodiment, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of method for building up of communication link, which is characterized in that applied to the service server of network application system, the net Network application system further includes client, which comprises
Client-based communication request obtains the Client location information and client identification of client;
Based on the Client location information, obtain and the nearest available agent server of the client location;
Establish the first communication link between the available agent server;
The client identification is sent to the available agent server, so that the available agent server is based on the visitor Family end mark, establishes the second communication link between the client.
2. the method according to claim 1, wherein described be based on the Client location information, acquisition and institute State the nearest available agent server of client location, comprising:
The client location is obtained using the corresponding relationship in preset region and domain name based on the Client location information The domain-name information of region, using the corresponding server of domain name information as the available generation nearest with the client location Manage server.
3. a kind of method for building up of communication link, which is characterized in that applied to the client of network application system, the network is answered It further include service server with system, which comprises
It sends communication request and obtains client so that the service server is based on the communication request to service server Client location information and client identification be based on the Client location information, obtains nearest with the client location Available agent server establishes the first communication link between the available agent server, the client identification is sent out It send to the available agent server;
Wherein, the available agent server, which is based on establishing between the client identification, with the client, the second communication Link.
4. according to the method described in claim 3, it is characterized in that, after the transmission communication request to service server, The method also includes:
Receive the server info for the node server undetermined that the service server is sent;
Wherein, the node server undetermined is that service server is based on the Client location information, specified according to what is prestored Node server and its location information, at least two in the specified node server nearest with the client location of acquisition Node server;The specified node server includes: the special line node server disposed in network, CDN acceleration node clothes Business one of device or third party cloud node server or a variety of;
Based on the server info of each node server undetermined, test data is sent to each node serve undetermined Device;
According to each node server undetermined respectively to the response time of the test data, by response time it is shortest to Determine node server and feeds back to service server, so that the service server is by the node server undetermined of client feedback, As the available agent server nearest with the client location.
5. a kind of method for building up of communication link, which is characterized in that be applied to available agent server, the available agent service Device is the proxy server nearest with client location, and the client location is that the client-based communication of service server is asked Ask acquisition, which comprises
Receive the client identification of the client that service server is sent, through the first communication link;Wherein, described First communication link is the communication link between service server and available agent server that the service server is established, institute Stating client identification is that the client-based communication request of the service server obtains;
Based on the client identification, the second communication link between the client is established.
6. according to the method described in claim 5, it is characterized in that, the available agent server is nearest with client location Proxy server, comprising:
The available agent server is a specified node server nearest with the client location;
Wherein, the specified node server includes: the special line node server disposed in network, CDN acceleration node serve One of device or third party cloud node server are a variety of.
7. a kind of service server, which is characterized in that the service server includes:
Data obtaining module is used for client-based communication request, obtains the Client location information and client of client Mark;Based on the Client location information, obtain and the nearest available agent server of the client location;
Link establishment module, the first communication link for establishing between the available agent server;By the client Mark be sent to the available agent server so that the available agent server be based on the client identification, establish with The second communication link between the client.
8. a kind of client, which is characterized in that the client includes:
Information sending module, for sending communication request to service server, so that the service server is based on the communication Request, obtain the Client location information and client identification of client, be based on the Client location information, obtain with it is described The nearest available agent server of client location establishes the first communication link between the available agent server, will The client identification is sent to the available agent server;
Wherein, the available agent server, which is based on establishing between the client identification, with the client, the second communication Link.
9. a kind of proxy server, which is characterized in that the proxy server is the proxy server nearest with client location, The client location is that the client-based communication request of service server obtains, and the proxy server includes:
Information receiving module, for receiving the visitor of the client that service server is sent, through the first communication link Family end mark;Wherein, first communication link is the service server and available agent service that the service server is established Communication link between device, the client identification are that the client-based communication request of the service server obtains;
Link establishment module establishes the second communication link between the client for being based on the client identification.
10. a kind of communication link establishes system, which is characterized in that the system comprises:
Client, for sending communication request to service server;
Service server is used for client-based communication request, obtains the Client location information and client mark of client Know;Based on the Client location information, obtain and the nearest available agent server of the client location;Establish with it is described The first communication link between available agent server;The client identification is sent to the available agent server;
Available agent server, for receiving the client that service server is sent, through the first communication link Client identification;Based on the client identification, the second communication link between the client is established.
CN201810996398.7A 2018-08-29 2018-08-29 Method and system for establishing communication link Active CN109347904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810996398.7A CN109347904B (en) 2018-08-29 2018-08-29 Method and system for establishing communication link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810996398.7A CN109347904B (en) 2018-08-29 2018-08-29 Method and system for establishing communication link

Publications (2)

Publication Number Publication Date
CN109347904A true CN109347904A (en) 2019-02-15
CN109347904B CN109347904B (en) 2022-01-25

Family

ID=65296644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810996398.7A Active CN109347904B (en) 2018-08-29 2018-08-29 Method and system for establishing communication link

Country Status (1)

Country Link
CN (1) CN109347904B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493074A (en) * 2019-07-19 2019-11-22 珠海金山网络游戏科技有限公司 A kind of test method and system of server and client
CN112788154A (en) * 2021-01-29 2021-05-11 北京奇艺世纪科技有限公司 Data transmission system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259791A (en) * 2013-04-28 2013-08-21 华为技术有限公司 Traversal communication routing method, terminal and system
CN104092682A (en) * 2014-07-04 2014-10-08 深圳深讯和科技有限公司 Data interaction method and system
CN105245607A (en) * 2015-10-23 2016-01-13 中国联合网络通信集团有限公司 Proxy server dynamic automatic selection method and system
CN106170008A (en) * 2016-05-17 2016-11-30 北京畅游天下网络技术有限公司 A kind of inter-network means of communication, device and load equalizer
US20170359847A1 (en) * 2006-05-16 2017-12-14 Lear Corporation Mobile router with session proxy

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170359847A1 (en) * 2006-05-16 2017-12-14 Lear Corporation Mobile router with session proxy
CN103259791A (en) * 2013-04-28 2013-08-21 华为技术有限公司 Traversal communication routing method, terminal and system
CN104092682A (en) * 2014-07-04 2014-10-08 深圳深讯和科技有限公司 Data interaction method and system
CN105245607A (en) * 2015-10-23 2016-01-13 中国联合网络通信集团有限公司 Proxy server dynamic automatic selection method and system
CN106170008A (en) * 2016-05-17 2016-11-30 北京畅游天下网络技术有限公司 A kind of inter-network means of communication, device and load equalizer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493074A (en) * 2019-07-19 2019-11-22 珠海金山网络游戏科技有限公司 A kind of test method and system of server and client
CN110493074B (en) * 2019-07-19 2021-02-02 珠海金山网络游戏科技有限公司 Method and system for testing server and client
CN112788154A (en) * 2021-01-29 2021-05-11 北京奇艺世纪科技有限公司 Data transmission system and method

Also Published As

Publication number Publication date
CN109347904B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
KR101877188B1 (en) Service layer interworking using mqtt protocol
KR102017408B1 (en) Network and application management with service layer capabilities
US10334406B2 (en) Methods and apparatus for analyzing and grouping service layer subscriptions and notifications for enhanced efficiency
US20180049033A1 (en) Centralized access point provisioning system and methods of operation thereof
CN104836821B (en) A kind of network accelerating method based on router device, device and equipment
CN109756423A (en) The method and apparatus of policy update
KR20160035012A (en) End-to-end m2m service layer sessions
CN103781055A (en) Data downloading method and associated device
KR20120088777A (en) Method and system for supporting the selection of communication peers in an overlay network
US10462014B1 (en) Positioning network devices
CN107181695A (en) Distributed caching method and device
CN105656964B (en) The implementation method and device of data-pushing
US10681611B1 (en) Method and apparatus for managing communication routings in a communication system
CN109962961A (en) A kind of reorientation method and system of content distribution network CDN service node
CN109347904A (en) The method for building up and system of communication link
CN104967642B (en) Content distribution method and device
La Marra et al. Introducing usage control in MQTT
CN109802879A (en) A kind of flow routing method and device
US10645004B2 (en) Methods to support message routing at service layer
KR102602073B1 (en) Service registration based on service capability requirements and preferences
CN113515392B (en) RPC calling method, device, equipment and storage medium
US20160269276A1 (en) Method for avoiding a loop when forwarding a message, respective communications device and system
CN105472060B (en) A kind of node identifier generation method of Kademlia network
CN110178355A (en) For obtaining and delivering method, network node and the client device of the resource in communication network
D’Agati et al. BLE-Enabled On-Site Diagnostics For An IoT/Cloud-Controlled Energy Substation

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
TA01 Transfer of patent application right

Effective date of registration: 20190611

Address after: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China

Applicant after: Hong Kong Lemi Co., Ltd.

Address before: Kamana Bay

Applicant before: Happy honey Company Limited

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210602

Address after: 25, 5th floor, shuangjingfang office building, 3 frisha street, Singapore

Applicant after: Zhuomi Private Ltd.

Address before: Room 1101, Santai commercial building, 139 Connaught Road Central, Hong Kong, China

Applicant before: HONG KONG LIVE.ME Corp.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant