CN1758654A - Method for set-up direct link tunnel for user terminal and its communication method and server - Google Patents

Method for set-up direct link tunnel for user terminal and its communication method and server Download PDF

Info

Publication number
CN1758654A
CN1758654A CN 200510115255 CN200510115255A CN1758654A CN 1758654 A CN1758654 A CN 1758654A CN 200510115255 CN200510115255 CN 200510115255 CN 200510115255 A CN200510115255 A CN 200510115255A CN 1758654 A CN1758654 A CN 1758654A
Authority
CN
China
Prior art keywords
client terminal
server
client
message
network
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
CN 200510115255
Other languages
Chinese (zh)
Other versions
CN100576847C (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou Huawei 3Com 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 Hangzhou Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CN200510115255A priority Critical patent/CN100576847C/en
Publication of CN1758654A publication Critical patent/CN1758654A/en
Application granted granted Critical
Publication of CN100576847C publication Critical patent/CN100576847C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for setting up coupled tunnel at client end under Service-Client mode includes logging client terminal on server through logon message, judging and recording network classification of said client terminal by said server according to logon message, setting up coupled tunnel of client terminal received notice message to client terminal at opposite end by sending notice message with said server according network classification of said client terminal when communication is carried out between client terminals.

Description

The method of set-up direct link tunnel for user terminal and communication means thereof and server
Technical field
The present invention relates to the NAT crossing technology of Server-Client protocol mode, be specifically related to the method that client terminal under a kind of Server-Client protocol mode is set up the direct connection passage, and the communication means of client terminal, and corresponding server under this pattern.
Background technology
Private network is to produce at the problem of INTERNET public network network address deficiency, realizes that communicating by letter of private network and public network need pass through NAT (Network Address Translator, network address translation) and carry out the mutual conversion of private net address and public network address.NAT is one or a spot of public network IP address with a large amount of Intranet IP address transition, reduces taking public network IP address.The most typical application of NAT is: in a local area network (LAN), only need a network equipment to connect and go up Internet, just can utilize NAT share I nternet to connect, make interior other network equipments of local area network (LAN) also can be connected to Internet.Use the NAT agreement, the equipment in the local area network (LAN) can initiatively be visited the equipment on the Internet, but the equipment on the Internet can't initiatively be visited the equipment in the local area network (LAN).
The Server-Client protocol mode is a kind of pattern of extensive use when making up private network and public network.The network service of Server-Client pattern is used, the Server function that needs a network equipment to provide services on the Internet and use, and other equipment is all as the Client of network application.Server equipment need be stated provides certain network service, and all Client details of the Server of definite network service all.If when Client need use the service of this kind network, Client need register on Server according to concrete network application protocol services.When the registration process of finishing of Client success, Client can normally use network service resource.Service according to reality is used, the Server-Client pattern is used can be divided into two types: a kind of is pure Server-Client protocol mode, promptly all Client can only set up direct channel with Server, communicate if need between the Client, Client can determine on Server the client information and the communication service of setting up logic, but the communication information between the Client must be transmitted by Server; The another kind of Server-Client pattern that can be called logic, be that Server not only can provide services on the Internet, and Server can be notified to the information of target Client source Client, can set up direct channel between the Client, the communication data between the follow-up Client no longer needs Server to transmit.
With DVPN (Dynamic Virtual Private Network, dynamic virtual private network) is example, sets forth the network-building method that uses above-mentioned logic Server-Client pattern at present.Fig. 1 is the network model that the service of DVPN network is used.Virtual private network 1, VPN2 and VPN3 are built into the DVPN network by the tunnel.At first DVPN Client1 and DVPN Client2 equipment need be on DVPN Server equipment success finish registration, Client1 can obtain the information of Client2 by Server, thereby between Client1 and Client2, set up the direct connection passage, guarantee that the communication data between VPN2 and the VPN3 directly passes through the direct connection passage, and do not need to transmit by Server again.In the application, Client1 and Client2 only need determine the information of Server, all can dynamically obtain by Server for the information of other Client.
But the method for set-up direct link tunnel for user terminal is only applicable to the situation that client terminal all is positioned at outside public network in the prior art, as shown in Figure 2, DVPN Server and DVPN Client1 are positioned at outside global network or Internet, and DVPN client2 is positioned at the inside private network of NAT device.When if Client1 active request and Client2 connect, NAT device can abandon the message of all Client1, because Client1 can't initiatively visit the private network equipment of NAT device.Cause can't setting up of direct link tunnel, all messages between VPN1 and the VPN2 all need to transmit through Server, have increased the burden of Server, have reduced the performance of network.
In addition, as shown in Figure 3, DVPN Server and DVPN Client2 are positioned at the inside private network of same NAT device, and DVPN Client1 is positioned at outside global network or Internet.If Client1 initiatively sends data to Client2, Server is with the outside public network address of the NAT of Client2, and promptly Client1 is notified in the network address of NAT device.Client1 initiates connection request according to the address of the Client2 that obtains, and all messages will not be dropped because there being route or be abandoned by NAT device, cause can't setting up of tunnel, have increased the burden of Server equally, have reduced the performance of network.
Summary of the invention
The technical problem to be solved in the present invention is: the method for set-up direct link tunnel for user terminal and communication means thereof and server, can accelerate to set up the speed of direct link tunnel, and improve network performance, alleviate the burden of the webserver.
For solving the problems of the technologies described above, the invention provides the method for the set-up direct link tunnel for user terminal under a kind of Server-Client pattern, to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message to client terminal by logon message; When communicating between the client terminal, described server sends the notice message according to the network classification of described client terminal, receives the client terminal foundation of described notice message and the direct link tunnel of opposite end client terminal.
Wherein, described server sends and notifies the detailed process of message to be:
When the client terminal that is positioned at public network communicated with the client terminal that is positioned at private network, described server sent a notification message to the client terminal that is positioned at private network.
Further, described server sends and notifies the process of message also to comprise:
When the client terminal that communicates all was arranged in public network or is positioned at same private network, described server sent a notification message to the client terminal at two ends respectively.
Wherein, described logon message comprises: the address information of the client terminal of the source address information of logon message and this logon message of transmission, and the address information of the destination address information of logon message and described server.
Wherein, also be included in the network classification logotype is set in the server, be used to identify the network state of described client terminal.
The present invention also discloses the server under a kind of Server-Client pattern, and described server comprises the information analysis module, is used to resolve the logon message information from client terminal; Judging module is used to judge the network state of described client terminal; Communication module is used to receive the message of client terminal, and sends the notice message according to the network state of described client terminal to corresponding client terminal.
The present invention also discloses the client terminal method for communicating under a kind of Server-Client pattern, and to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message to client terminal by logon message; When communicating between the client terminal, described server sends the notice message according to the network classification of described client terminal, receive the client terminal foundation of described notice message and the direct link tunnel of opposite end client terminal, communicate by described direct link tunnel and opposite end client terminal, the client terminal that does not receive described notice message communicates by described server and described opposite end client terminal.
Wherein, described server sends and notifies the detailed process of message to be:
When the client terminal that is positioned at public network communicated with the client terminal that is positioned at private network, described server sent a notification message to the client terminal that is positioned at private network.
Wherein, described server sends and notifies the process of message also to comprise:
When the client terminal that communicates all was arranged in public network or is positioned at same private network, described server sent a notification message to the client terminal at two ends respectively.
Wherein, described logon message comprises the source address information of message and sends the address information of the client terminal of this message, and the address information of the destination address information of message and described server.
The present invention also discloses the method for the set-up direct link tunnel for user terminal under a kind of Server-Client pattern, described client terminal comprises first client terminal that is positioned at public network and second client terminal that is positioned at private network, described first client terminal and second client terminal respectively by logon message to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message; When described first client terminal when described second client terminal sends datagram, after described server is judged the network classification of described first client terminal, described data message is sent to described second client terminal; When described second client terminal when described first client terminal sends datagram, after described server is judged the network classification of described second client terminal, send the notice message to described second client terminal, described second client terminal is set up the direct link tunnel with first client terminal.
The present invention also discloses the method for the set-up direct link tunnel for user terminal under a kind of Server-Client pattern, described client terminal comprises first client terminal that is positioned at public network and second client terminal that is positioned at private network, described first client terminal and second client terminal respectively by logon message to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message; When communicating between described first client terminal and described second client terminal, after described server is judged the network classification of two client terminals simultaneously, send the notice message to described second client terminal, described second client terminal is set up the direct link tunnel with first client terminal.
Compared with prior art, the invention has the beneficial effects as follows: the present invention is by when set-up direct link tunnel for user terminal, server is through analyzing the network classification of client terminal, determine whether to set up the Client of direct connection passage, how control sends a notification message, guarantee as far as possible can be fast between the client terminal the direct link tunnel of setting up, alleviate the burden of the webserver, improve network performance.Solved in the network application and the matching problem of NAT device, improved the popularity that the network service is used, accelerated to set up the speed of direct link tunnel.
Description of drawings
Fig. 1 is the network structure that all devices is positioned at public network;
Fig. 2 is the network structure that a Client is positioned at the NAT private network;
Fig. 3 is the network structure that Server and Client are positioned at public NAT private network;
Fig. 4 is the flow chart of Client to the Server registration;
Fig. 5 is the flow chart that Server is provided with the value of NAT-Flag;
Fig. 6 is the flow chart that Server control notification message sends.
Embodiment
The present invention has been mainly and has solved in the diverse network application and the matching problem of NAT device.The NAT device that the NAT crossing technology can be widely used in the application of Server-Client mode network detects and passes through, (Server can be by the control notification message in the control of negotiation packet, thereby the equipment of control NAT private network initiatively initiation protocol is consulted), realize the foundation of direct link tunnel, accelerate to set up the speed of direct link tunnel.
To server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message by logon message for the method for the set-up direct link tunnel for user terminal under the Server-Client pattern provided by the invention, client terminal; When communicating between the client terminal, described server sends the notice message according to the network classification of described client terminal, receives the client terminal foundation of described notice message and the direct link tunnel of opposite end client terminal.When the client terminal that is positioned at public network communicated with the client terminal that is positioned at private network, described server sent a notification message to the client terminal that is positioned at private network; When the client terminal that communicates all was arranged in public network or is positioned at same private network, described server sent a notification message to the client terminal at two ends respectively.
Described message information comprises the source address information of message and sends the address information of the client terminal of this message.When judging by the address information of described source address information and client terminal whether this client terminal is positioned at private network, can solve client terminal and be positioned at private network, server is positioned at the situation of public network, and client terminal is positioned at a private network, and server is positioned at the situation of another different private networks.
In order to solve the situation that client terminal and server are positioned at same private network, message information of the present invention also comprises the destination address information of message and the address information of described server.
The method of set-up direct link tunnel for user terminal of the present invention is to realize by the network system under the Server-Client pattern, this network system comprises client terminal and server, described server comprises the information analysis module, is used to resolve the message information from client terminal; Judging module is used to judge the network classification of described client terminal; Communication module is used to receive the message of client terminal, and sends the notice message according to the network classification to client terminal.
Utilize the method for set-up direct link tunnel for user terminal of the present invention, the client terminal method for communicating is: to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message to client terminal by logon message; When communicating between the client terminal, described server sends the notice message according to the network classification of described client terminal, receive the client terminal foundation of described notice message and the direct link tunnel of opposite end client terminal, communicate by described direct link tunnel and opposite end client terminal, the client terminal that does not receive described notice message communicates by described server and described opposite end client terminal.
The mode that sends at the server controls notification message among the present invention discloses the method for the set-up direct link tunnel for user terminal under two kinds of Server-Client patterns, described client terminal comprises first client terminal that is positioned at public network and second client terminal that is positioned at private network, first kind method is: described first client terminal and second client terminal respectively by logon message to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message; When described first client terminal when described second client terminal sends datagram, after described server is judged the network classification of described first client terminal, described data message is sent to described second client terminal; When described second client terminal when described first client terminal sends datagram, after described server is judged the network classification of described second client terminal, send the notice message to described second client terminal, described second client terminal is set up the direct link tunnel with first client terminal.
And the method for the set-up direct link tunnel for user terminal under second kind of Server-Client pattern is: described first client terminal and second client terminal respectively by logon message to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message; When communicating between described first client terminal and described second client terminal, after described server is judged the network classification of two client terminals simultaneously, send the notice message to described second client terminal, described second client terminal is set up the direct link tunnel with first client terminal.
Below in the network service of DVPN is used, be example with the present invention, specifically set forth application process of the present invention.
Server need write down the address information of all registration Client among the embodiment.Server need create a NAT-Flag sign for registration Client in the present embodiment, it is network type sign of the present invention, be used for writing down the NAT information of this Client, use NAT information in the present embodiment as the cyberrelationship of judging between this Client and the Server.
Because Client is before registering, roger Server public network address is so that all Client can register on Server by this address.
What Fig. 4 had described that DVPN needs to transmit in negotiations process passes through relevant message information with NAT.In the present embodiment, at Client when Server registers, in the register requirement message that Client sends, the address information of the address information of Client and the Server of configuration all is packaged in the control message information of DVPN application protocol, after Server receives the register requirement message, parse control message information wherein, and address information is wherein judged, the NAT-Flag sign is set simultaneously, and the back indicates the transmission of controlling notification message according to this NAT-Flag consulting successfully then.
Fig. 5 is provided with the workflow diagram of NAT-Flag for Server.Represent respectively that with two sign positions the map network of Server and Client concerns classification in the present embodiment, unit numbers is represented Client, ten bit representation Server.When Server receives the message of Client (S1), parse the address information (S2) of Client from DVPN load, whether the source address information of at first judging the address of Client and message consistent (S3), if it is consistent, the home position that then will represent the expression Client of NAT-Flag is 0 (S4), otherwise, when the address information of Client and the source address information of message are inconsistent, be 1 (S5) with the home position of Client; The further destination address of the message that sends of the destination address information of judging Server of the Server address information from the DVPN load that parses and Client whether consistent (S6) then, if it is consistent, illustrate that then this server is arranged in public network, with other home position of network class of the expression Server of NAT-FLAG is 0 (S7), if it is inconsistent, illustrating that then Server is arranged in the private network of NAT, is 1 (S8) with the home position of Server.As from the foregoing, the value of NAT-Flag comprise 00,01,10,11 4 kind of state.The NAT-Flag sign notice Client (S9) of this Client can be what deserves to be mentioned is whether Client knows that the NAT-Flag sign is irrelevant with solution technical problem of the present invention at the notice message that negotiation is successful.
Server writes down public network, private net address information and the NAT-Flag sign of all Client, has message to transmit between Client, and Server judges whether to send a notification message according to the information of the Client of record.If send a notification message, then Client obtains the information of the Client of opposite end in this notification message, thus automatic and opposite end Client initiation tunnel foundation negotiation.
Fig. 6 is the control flow of Server to the notification message of Client.Server receives source Client (S61) behind the data message of purpose Client, whether the NAT-Flag value of at first judging purpose Client is 01 (S61), if, then transmit data message, and not with the information notification source Client (S65) of purpose Client; If not, judge further then whether the value of the NAT-Flag of source Client is 10 (S62), if not, then Server passes through notification message notification source Client (S64) with the information of purpose Client; If, judge further then whether the value of the NAT-Flag of purpose Client is 10 (S66), if then Server transmits data message (S65), otherwise Server passes through notification message notification source Client (S64) with the information of purpose Client.
Below be that Client and Server use detailed process of the present invention when being arranged in diverse network.
Referring to Fig. 2, client terminal comprises Client1 and Client2, and wherein Client1 is positioned at public network VPN2, and Server is arranged in public network VPN1, and Client2 is arranged in the private network VPN3 of NAT inside.Client1 among the figure is the source of data message, and Client2 then is the purpose of data message.The data communication that Client1 initiates needs Server to be forwarded to Client2.As shown in Figure 5, this moment, Client1 and Client2 all registered on Server by the above-mentioned steps success, and this moment, the NAT-Flag sign of Client1 should be 00, and showing between Client1 and the Server does not have NAT device; Yet the sign of the NAT-Flag of Client2 should be 01, show between Client2 and the Server to have NAT device, and Client2 is positioned at the inside private network of NAT device with respect to Server.The process of Server control notification message as shown in Figure 6, when Server receives message from Client1 to Client2, judge whether Client2 is arranged in private network, because the value of the NAT-Flag of Client2 is 01, therefore do not allow Client1 initiatively to set up direct link tunnel to Client2, therefore can not send a notification message to Client1, and only with the data message forwarding of Client1 to Client2.When the back message using of Client2 need be transmitted to Client1 by Server, this moment, the source was Client2, purpose is Client1, as shown in Figure 6, Server is according to the NAT-Flag sign 00 of Client1, and the NAT-Flag of Client2 sign 01, can judge Client2 can be initiatively and Client1 set up the direct connection passage.Server notifies Client2 with the information of Client1 by notification message, when Client2 receives this notification message, obtains the address information of Client1, thereby can initiatively set up a direct connection passage between Client2 and Client1.
In the control procedure of Server, adopted the unidirectional processing mode of data message, promptly notification message only can send to the source of message Client, and can not send to purpose Client.For example shown in Figure 2, when the message from Client1 to Client2 was transmitted by Server, owing to the private network of Client2 at NAT, Server can not be notified to Client1 with the information of Client2.When the Client2 back message using is transmitted to Client1 by Server once more, Server can be notified to Client2 with the information of Client1, thereby Client2 can initiate to set up with Client1 the negotiation request of direct link tunnel, and Client2 sends datagram to Client1 by direct link tunnel.Another control mode is, can finish the notification message of another direction when reverse message is transmitted by Server, and this kind mode does not have substantial difference.For example shown in Figure 2, when the message from Client1 to Client2 is transmitted by Server, because Client2 is at the private network of NAT, Server can not be notified to Client1 with the information of Client2, but directly proceed reverse judgement, the information of Client1 is notified to Client2.
Referring to Fig. 3, client terminal comprises Client1 and Client2, and wherein Client1 is positioned at outside public network, and Server and Client2 are positioned at the inside private network of identical NAT device, and promptly Client1 still needs to communicate by Server and Client2.When Client2 when Server sends the register requirement message and registers, because through the NAT conversion, the address information of Client2 and the source address information of message are the private net address information of NAT.Client1 and Client2 all register on Server by the above-mentioned steps success, and this moment, the NAT-Flag sign of Client1 should be 10, and showing between Client1 and the Server has NAT device, and Server is positioned at private network with respect to Client1; And the sign of the NAT-Flag of Client2 should be 00, shows that Client2 and Server are arranged in identical private network.Still be the source Client of data message with Client1, Client2 is that example is set forth for the purpose Client of data message then.Referring to Fig. 6, when Server receives message from Client1 to Client2, the value of judging the NAT-Flag of Client2 is 00, the value of then further judging the NAT-Flag of Client1 is 10, the value of the NAT-Flag of Client2 also is 10, illustrate Client2 with respect to Client1 in the private network of NAT device, therefore do not allow Client1 initiatively to set up direct link tunnel to Client2, therefore can not send a notification message to Client1, Server is when the transmission control of carrying out notification message, adopt two-way processing mode, that is to say, when Server need be transmitted to Client2 with the message of Client1, judge whether earlier and the information of Client2 can be sent to Client1, continue then to judge whether and the information of Client1 can be sent to Client2, then notification message is sent to Client2, Client2 builds on the direct connection passage of Client1, directly communicates with Clientl.Whether Client2 allows the process of communicating by letter with Client1 still as shown in Figure 6, but the source Client of this moment is Client2, and purpose Client is Client1, and deterministic process repeats no more.It should be noted that for Server control notification message adopts the unidirectional processing mode of first embodiment and the two-way processing mode that adopts second embodiment to be applicable to variety of network types.
In addition, when Client1 is positioned at outside public network VPN1, Server is arranged in the inside private network VPN2 of NAT, and when Client2 was arranged in another private network VPN3, Client1 still needed to communicate by Server and Client2.When Client1 and Client2 all register on Server by the above-mentioned steps success, this moment, the NAT-Flag sign of Client1 should be 10, and showing between Client1 and the Server has NAT device, and Server is positioned at private network; And the sign of the NAT-Flag of Client2 should be 11, shows that Client2 and Server all are arranged in the private network of NAT device.Therefore Server only is sent to Client2 with notification message, and Client2 builds on the direct connection passage of Client1, directly communicates with Client1.For Server to the control procedure of notification message referring to Fig. 6, repeat no more.
All be arranged in the situation of outside public network or be positioned at same private network for source Client and purpose Client, Server will send a notification message to source Client and purpose Client respectively, set up the direct link tunnel between Client; Lay respectively at the situation of private network and public network for source Client and purpose Client, Server will send a notification message to the Client that is arranged in the NAT private network, set up the direct link tunnel between Client; On the contrary, if source Client all is arranged in different private networks with purpose Client, then only can carries out data forwarding, and can't set up the direct link tunnel between the Client by Server.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (12)

1, the method for the set-up direct link tunnel for user terminal under a kind of Server-Client pattern is characterized in that:
To server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message to client terminal by logon message; When communicating between the client terminal, described server sends the notice message according to the network classification of described client terminal, receives the client terminal foundation of described notice message and the direct link tunnel of opposite end client terminal.
2, the method for the set-up direct link tunnel for user terminal under the Server-Client pattern according to claim 1 is characterized in that, the detailed process that described server sends the notice message is:
When the client terminal that is positioned at public network communicated with the client terminal that is positioned at private network, described server sent a notification message to the client terminal that is positioned at private network.
3, the method for the set-up direct link tunnel for user terminal under the Server-Client pattern according to claim 2 is characterized in that, the process that described server sends the notice message also comprises:
When the client terminal that communicates all was arranged in public network or is positioned at same private network, described server sent a notification message to the client terminal at two ends respectively.
4, the method for the set-up direct link tunnel for user terminal under the Server-Client pattern according to claim 3, it is characterized in that, described logon message comprises: the address information of the client terminal of the source address information of logon message and this logon message of transmission, and the address information of the destination address information of logon message and described server.
5, the method for the set-up direct link tunnel for user terminal under the Server-Client pattern according to claim 4 is characterized in that, also is included in the network classification logotype is set in the server, is used to identify the network state of described client terminal.
6, the server under a kind of Server-Client pattern, it is characterized in that: described server comprises the information analysis module, is used to resolve the logon message information from client terminal; Judging module is used to judge the network state of described client terminal; Communication module is used to receive the message of client terminal, and sends the notice message according to the network state of described client terminal to corresponding client terminal.
7, the client terminal method for communicating under a kind of Server-Client pattern is characterized in that:
To server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message to client terminal by logon message; When communicating between the client terminal, described server sends the notice message according to the network classification of described client terminal, receive the client terminal foundation of described notice message and the direct link tunnel of opposite end client terminal, communicate by described direct link tunnel and opposite end client terminal, the client terminal that does not receive described notice message communicates by described server and described opposite end client terminal.
8, the client terminal method for communicating under the Server-Client pattern according to claim 7 is characterized in that, the detailed process that described server sends the notice message is:
When the client terminal that is positioned at public network communicated with the client terminal that is positioned at private network, described server sent a notification message to the client terminal that is positioned at private network.
9, the client terminal method for communicating under the Server-Client pattern according to claim 8 is characterized in that, the process that described server sends the notice message also comprises:
When the client terminal that communicates all was arranged in public network or is positioned at same private network, described server sent a notification message to the client terminal at two ends respectively.
10, the client terminal method for communicating under the Server-Client pattern according to claim 9, it is characterized in that, described logon message comprises the source address information of message and sends the address information of the client terminal of this message, and the address information of the destination address information of message and described server.
11, the method for the set-up direct link tunnel for user terminal under a kind of Server-Client pattern, described client terminal comprise first client terminal that is positioned at public network and second client terminal that is positioned at private network, it is characterized in that:
Described first client terminal and second client terminal respectively by logon message to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message; When described first client terminal when described second client terminal sends datagram, after described server is judged the network classification of described first client terminal, described data message is sent to described second client terminal; When described second client terminal when described first client terminal sends datagram, after described server is judged the network classification of described second client terminal, send the notice message to described second client terminal, described second client terminal is set up the direct link tunnel with first client terminal.
12, the method for the set-up direct link tunnel for user terminal under a kind of Server-Client pattern, described client terminal comprise first client terminal that is positioned at public network and second client terminal that is positioned at private network, it is characterized in that:
Described first client terminal and second client terminal respectively by logon message to server registration, described server is judged the network classification of this client terminal line item of going forward side by side according to described logon message; When communicating between described first client terminal and described second client terminal, after described server is judged the network classification of two client terminals simultaneously, send the notice message to described second client terminal, described second client terminal is set up the direct link tunnel with first client terminal.
CN200510115255A 2005-11-11 2005-11-11 The method of set-up direct link tunnel for user terminal and communication means thereof and server Expired - Fee Related CN100576847C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510115255A CN100576847C (en) 2005-11-11 2005-11-11 The method of set-up direct link tunnel for user terminal and communication means thereof and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510115255A CN100576847C (en) 2005-11-11 2005-11-11 The method of set-up direct link tunnel for user terminal and communication means thereof and server

Publications (2)

Publication Number Publication Date
CN1758654A true CN1758654A (en) 2006-04-12
CN100576847C CN100576847C (en) 2009-12-30

Family

ID=36703835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510115255A Expired - Fee Related CN100576847C (en) 2005-11-11 2005-11-11 The method of set-up direct link tunnel for user terminal and communication means thereof and server

Country Status (1)

Country Link
CN (1) CN100576847C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497446A (en) * 2011-12-26 2012-06-13 杭州华三通信技术有限公司 Business flow transmission method crossing NAT device and apparatus thereof
CN102594678A (en) * 2012-02-15 2012-07-18 杭州华三通信技术有限公司 Method for large-scale networking of dynamic virtual private network (DVPN) and client
CN102739497A (en) * 2012-06-07 2012-10-17 杭州华三通信技术有限公司 Automatic generation method for routes and device thereof
CN105491098A (en) * 2015-06-09 2016-04-13 哈尔滨安天科技股份有限公司 Virtual private network (VPN) data distribution method and system based on peer-to-peer (P2P) technology
CN106210103A (en) * 2016-07-21 2016-12-07 成都火云网安科技有限公司 A kind of privately owned cloud docking calculation crossing over public network
CN110677291A (en) * 2019-09-26 2020-01-10 广州兰德视讯有限公司 Method and device for reducing server load and network bandwidth in multipoint communication
CN110971641A (en) * 2018-09-30 2020-04-07 维沃移动通信有限公司 Network service control method and communication equipment
CN114928474A (en) * 2022-04-24 2022-08-19 北京天融信网络安全技术有限公司 Method and system for IPsec automatic negotiation network access with resource and storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497446B (en) * 2011-12-26 2015-04-15 杭州华三通信技术有限公司 Business flow transmission method crossing NAT device and apparatus thereof
CN102497446A (en) * 2011-12-26 2012-06-13 杭州华三通信技术有限公司 Business flow transmission method crossing NAT device and apparatus thereof
CN102594678A (en) * 2012-02-15 2012-07-18 杭州华三通信技术有限公司 Method for large-scale networking of dynamic virtual private network (DVPN) and client
WO2013120406A1 (en) * 2012-02-15 2013-08-22 Hangzhou H3C Technologies Co., Ltd. Construct Large-scale DVPN
CN102594678B (en) * 2012-02-15 2015-01-14 杭州华三通信技术有限公司 Method for large-scale networking of dynamic virtual private network (DVPN) and client
CN102739497B (en) * 2012-06-07 2015-07-08 杭州华三通信技术有限公司 Automatic generation method for routes and device thereof
CN102739497A (en) * 2012-06-07 2012-10-17 杭州华三通信技术有限公司 Automatic generation method for routes and device thereof
CN105491098A (en) * 2015-06-09 2016-04-13 哈尔滨安天科技股份有限公司 Virtual private network (VPN) data distribution method and system based on peer-to-peer (P2P) technology
CN106210103A (en) * 2016-07-21 2016-12-07 成都火云网安科技有限公司 A kind of privately owned cloud docking calculation crossing over public network
CN106210103B (en) * 2016-07-21 2020-03-20 成都火云网安科技有限公司 Private cloud docking method spanning public network
CN110971641A (en) * 2018-09-30 2020-04-07 维沃移动通信有限公司 Network service control method and communication equipment
CN110971641B (en) * 2018-09-30 2022-04-19 维沃移动通信有限公司 Network service control method and communication equipment
CN110677291A (en) * 2019-09-26 2020-01-10 广州兰德视讯有限公司 Method and device for reducing server load and network bandwidth in multipoint communication
CN114928474A (en) * 2022-04-24 2022-08-19 北京天融信网络安全技术有限公司 Method and system for IPsec automatic negotiation network access with resource and storage medium

Also Published As

Publication number Publication date
CN100576847C (en) 2009-12-30

Similar Documents

Publication Publication Date Title
CN1758654A (en) Method for set-up direct link tunnel for user terminal and its communication method and server
CN1303798C (en) Ip multicast distribution system, streaming data distribution system and program therefor
US20040107234A1 (en) Addressing method and system for using an anycast address
CN1968227A (en) System and method for enabling wireless access gateway to support transparent agent
CN101065741A (en) Method of transporting a pci express packet over an ip packet network
CN1507734A (en) Generic external proxy
CN1893394A (en) Method for passing through network address conversion
CN1679302A (en) System and method for dynamic simultaneous connection to multiple service providers
CN102546407B (en) File transmitting method and device
US8891551B2 (en) IPv6 over IPv4 transition method and apparatus for improving performance of control server
CN1968226A (en) Method for crossing network address conversion in point-to-point communication
CN1777142A (en) Method for realizing data communication utilizing virtual network adapting card in network environment simulating
JP2013504956A (en) Method, system and communication terminal for realizing mutual communication between new network and Internet
CN1917512A (en) Method for establishing direct connected peer-to-peer channel
CN101068189A (en) Method for supporting IPv4 applied program utilizing intermain machine tunnel in IPV6
CN1739308A (en) Network address translation based mobility management
CN1960316A (en) Network address conversion method for segmented messages
CN1875573A (en) System for providing tunnel service capable of data communication between different types of networks
CN1741502A (en) IPv6 and IPv4 internetwork mutual communicating method based on 4over6
JP4662995B2 (en) Multicast broadcast communication system for at least one roaming user terminal in a mobile IP network
CN1665239A (en) A method for implementing information transmission between equipments of different communication protocols
US20080215754A1 (en) Bridging Data Network Communications
CN1886962A (en) Method and system for handling context of data packet flows
CN1604587A (en) A network transition accessing method
Cisco Apple Talk

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091230

Termination date: 20191111

CF01 Termination of patent right due to non-payment of annual fee