CN101599884A - Communication connecting system in the network architecture and method - Google Patents
Communication connecting system in the network architecture and method Download PDFInfo
- Publication number
- CN101599884A CN101599884A CNA2008101095624A CN200810109562A CN101599884A CN 101599884 A CN101599884 A CN 101599884A CN A2008101095624 A CNA2008101095624 A CN A2008101095624A CN 200810109562 A CN200810109562 A CN 200810109562A CN 101599884 A CN101599884 A CN 101599884A
- Authority
- CN
- China
- Prior art keywords
- line
- connection mode
- lan
- target terminal
- communication connecting
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of communication connecting system and method in the network architecture, at first make user terminal carry out line by internet and target terminal, judge that then connection mode is that virtual line still is the connection mode of entity line, if the connection mode of entity line, then user terminal is that connection mode and target terminal with the entity line communicates to connect, if the connection mode of virtual line, judge with that whether LAN is to come line by the simple traversal server, if judge be, then set up point-to-point line by the simple traversal server, if judge be not, then user terminal communication is connected in the management server in the LAN, is connected in target terminal by management server communication again.Therefore, no matter entity or various virtual connection mode can both make user terminal communicate with target terminal and be connected, handy especially application as remote desktop control.
Description
Technical field
The present invention relates to a kind of communication connecting system and method in the network architecture, relate in particular to connection mode, communication connecting system in the network architecture and the method judged of utilizing.
Background technology
The prosperity of internet brings the convenient of information transmission.In the connection on the internet, each terminal (terminal) need be come definition position with Internet Protocol address (IP Address), with the download that makes things convenient for data with upload.
In recent years development of Internet is quicker, the mode of point-to-point (peer-to-peer), and the effect that it can reach the remote switch data makes its application more widely popular.Wherein for example remote desktop control is used, and can pass through point-to-point connection mode, makes a station terminal connect another station terminal by the internet, and the system of another station terminal is safeguarded in reparation or help.
Carrying out the point-to-point line of this kind with the entities internet protocol address is out of question certainly, but, when the terminal of desire connection is positioned at the virtual internet protocol address, comparatively puzzlement, the known technology means have many technology to focus on communicating to connect of virtual internet protocol address.For example, the terminal that desire connects the fire compartment wall rear end is an example, technical meeting is set up passage (tunnel) in fire compartment wall, do connection with specific port numbers, and a management server is set in the LAN of fire compartment wall rear end, so that the terminal of fire compartment wall outer end, the channel by fire compartment wall communicates to connect wants the terminal that communicates to connect in LAN by the management number of the account for management number of the account that the terminal of all lines in this LAN is corresponding different respectively in management server, management server.
Yet, real problem is, when a terminal will connect another terminal on the internet, and do not know which kind of connection mode is so-called another terminal be, no matter which kind of connection mode of the conventional art practice all uses identical principle to carry out line, for example communicate connection with the entities internet protocol address, but running into another terminal that will connect is the virtual internet protocol address, suddenly can an anxious not exhibition.
Or, directly the connection mode with virtual line communicates connection, simply be sent in the management server, connect with aforementioned manner again, but, no matter if right and wrong all line work is given management server burden, then can expend a large amount of system resource, the work that system can't be overloaded.
Summary of the invention
Therefore, main purpose of the present invention is to provide a kind of utilization to judge connection mode, and communication connecting system in the network architecture and method are to improve described problem.
Purpose of the present invention is providing a kind of communication connecting system and method in the network architecture, can be effectively with point-to-point connection mode, no matter entity or various virtual connection mode, user terminal is communicated with target terminal be connected, be used on application especially as remote desktop control.
The invention relates to a kind of communication connecting system and method in the network architecture, this network architecture comprises an internet, a user terminal and a target terminal.This communication connecting system and method at first are to make this user terminal carry out line by this internet and this target terminal.Wherein, described line is to be selected from by entity line and virtual line to be formed connection mode in the group.
Then, judge that connection mode is the connection mode of entity line or virtual line, if judge that connection mode is the connection mode of entity line, then this user terminal is that connection mode and this target terminal with the entity line communicates to connect.
If judge that connection mode is the connection mode of virtual line, this moment, this target terminal was in a LAN, can judge earlier then whether this LAN comes line by a simple traversal server (STUN Server).Wherein, described simple traversal server is to utilize a network address translater (Network AddressTranslation; NAT) specify the pairing physical network address, virtual internet protocol address and the port numbers of this target terminal.
When judgement is during with this this LAN of simple traversal server line, then this user terminal is set up point-to-point line by the simple traversal server, connects this target terminal.
When judge be not with this this LAN of simple traversal server line after, then this user terminal is the management server that communicates to connect in this LAN, is connected in this target terminal by this management server communication again.
Therefore, by communication connecting system and the method for the present invention in the network architecture, utilize the connection mode of wiring judging module judgement internet in proper order, can be effectively with point-to-point connection mode, no matter entity or various virtual connection mode, user terminal is communicated with target terminal be connected, handy especially application as remote desktop control.
Can be further understood by following detailed Description Of The Invention and appended accompanying drawing about the advantages and spirit of the present invention.
Description of drawings
Fig. 1 is the schematic diagram of the communication connecting system of the present invention place network architecture;
Fig. 2 is the schematic diagram of communication connecting system of the present invention;
Fig. 3 is the schematic diagram that explanation the present invention judges virtual line;
Fig. 4 is that explanation the present invention judges the schematic diagram with simple traversal server line;
Fig. 5 is the schematic diagram of management server of the present invention; And
Fig. 6 is the flow chart of communication connecting method of the present invention.
Embodiment
See also Fig. 1, Fig. 1 is the schematic diagram of the communication connecting system 30 place network architectures 20 of the present invention.The invention relates to a kind of communication connecting system 30 in the network architecture 20, the target terminal 36 that the network architecture 20 comprises an internet 32, a user terminal 34 and will connect, communication connecting system 30 is to be arranged in the user terminal 34.
Wherein, simple traversal server 10 is to utilize a network address translater (Network AddressTranslation; NAT) the virtual internet protocol address of each target terminal 36 in the 12 designated local area network networks 33.And in the LAN 33 of fire compartment wall 14 or Internet Protocol Wireless Router rear end, further can comprise a management server 16, utilize this management server 16 to manage target terminal 36 in the LAN 33.
Cooperate Fig. 1 further to please refer to Fig. 2, Fig. 2 is the schematic diagram of communication connecting system 30 of the present invention.Communication connecting system 30 further comprises a processor 51, a link module 52, a wiring judging module 50 and a storage device 54.
Cooperate Fig. 2 please further to consult Fig. 3, Fig. 3 is the schematic diagram that explanation the present invention judges virtual line 44.Wiring judging module 50 is in order to judge that connection mode is the connection mode of entity line 42 or virtual line 44.Wiring judging module 50 is by processor 51, carries out line with link module 52 and internet 32 long-range target terminals 36 again, can obtain the Internet Protocol address (IP address) of institute's line; Wiring judging module 50 is again by processor 51, the virtual internet protocol address date 5402 that institute stores up in advance in the contrast storage device 54 in storage device 54, the virtual internet protocol address has certain feature, as shown in Figure 3, with IPv4 is example, preceding two yards may be 10.10 or 192.68, and the Internet Protocol address of this class is the virtual internet protocol address.
So wiring judging module 50 judges whether to entity line 42 or is the connection mode of virtual line 44, be by processor 51 by wiring judging module 50, whether the Internet Protocol address of 52 lines of contrast link module meets the virtual internet protocol address date 5402 in the storage device 54, the line that meets then is the connection mode for virtual line 44, and incongruent line then is the connection mode for entity line 42.
When wiring judging module 50 judges that connection modes are the connection mode of entity line 42, then link module 52 be with the connection mode of entity line 42 directly and target terminal 36 communicate to connect.
When wiring judging module 50 judged that connection mode is the connection mode of virtual line 44, then wiring judging module 50 can further judge whether LAN 33 comes line by a simple traversal server (STUNServer) 10; Simple traversal server 10 is commonly referred to as User Datagram Protoco (UDP) simple traversal network address translater server (Simple Traversal of UDP over NAT Server; STUNserver).
Judge it is during with simple traversal server 10 line LAN 33 when wiring judging module 50, then link module 52 is to communicate to connect target terminal 36 corresponding to the specified virtual internet protocol address of network address translater 12.At last, when wiring judging module 50 judge be not with simple traversal server 10 line LAN 33 after, can supposition LAN 33 be to carry out line by fire compartment wall 14 or Internet Protocol Wireless Router and internet 32, then link module 52 is the management servers 16 that communicate to connect in LAN 33, is communicated to connect in target terminal 36 by management server 16 again.
Cooperate Fig. 2 further to see also Fig. 4, Fig. 4 is that explanation the present invention judges the schematic diagram with simple traversal server 10 lines.Wherein, described wiring judging module 50 judges that whether LAN 33 is by simple traversal server 10 lines, be after link module 52 is carried out line by internet 32 and target terminal 36, understand by processor 51 by wiring judging module 50 and respond from simple traversal server 10 packet information to link module 52 60.When the characteristic information 6002A that has in the gauge outfit information 6002 of packet information 60 corresponding to simple traversal server 10, then wiring judging module 50 judges that LAN 33 are by simple traversal server 10 lines.Further specify, be additional information one network address and the port numbers (being described characteristic information 6002A) that is provided at the type (MAPPED-ADDRESS) in the gauge outfit information 6002 of packet information 60, after the logic contrast, judge whether to support simple traversal server 10; If judge and support simple traversal server 10, then wiring judging module 50 judges that LAN 33 is by simple traversal server 10 lines.
In addition, see also Fig. 5, Fig. 5 is the schematic diagram of management server 16 of the present invention.Communication connecting system 30 as the aforementioned, wherein management server 16 is that target terminal all in the LAN 33 36 is distinguished corresponding different management numbers of the account 3302 with different target terminal code name 3304, and management server 16 is to communicate to connect in the target terminal 36 of target terminal code name 3304 representatives by management number of the account 3302.
Supplementary notes be, wiring judging module 50 can be utilized C, C++, Java or python supervisor language editor are with associated electronic components, circuit Collaboration, to bring into play the performed function of aforementioned wiring judging module 50.
See also Fig. 6, Fig. 6 is the flow chart of communication connecting method of the present invention.The present invention is a kind of communication connecting method in the network architecture 20, and the network architecture 20 also comprises an internet 32, a user terminal 34 and a target terminal 36.This communication connecting method comprises the following step:
Step S02: store up a virtual internet protocol address date 5402 in advance.
Step S04: at first, user terminal 34 carries out line by internet 32 and target terminal 36, and wherein said line is to be selected from by entity line 42 and virtual line 44 to be formed connection mode in the group.
Step S06: then, judge that connection mode is the connection mode of entity line 42 or virtual line 44.Described judgement connection mode is that the Internet Protocol address of contrast line meets virtual internet protocol address date 5402, and the line that meets is the connection mode for virtual line 44, and incongruent line is the connection mode for entity line 42.
Step S08: if judge connection mode is the connection mode of entity line 42, and then user terminal 34 is that connection mode and target terminal 36 with entity line 42 communicates to connect.
Step S10: if judge that connection mode is the connection mode of virtual line 44, this moment, target terminal 36 was in a LAN 33, then earlier judged whether LAN 33 comes line by a simple traversal server (STUN Server) 10.Wherein simple traversal server 10 is to utilize a network address translater (Network Address Translation; NAT) the virtual internet protocol address of 12 intended target terminals 36.
Described judgement LAN 33 is by simple traversal server 10 lines, be after user terminal 34 carries out line by internet 32 and target terminal 36, understand and respond from simple traversal server 10 packet information to user terminal 34 60, when the characteristic information 6002A that has in the gauge outfit information 6002 of packet information 60 corresponding to simple traversal server 10, judge that then LAN 33 is by simple traversal server 10 lines.
Step S12: when judgement is during with simple traversal server 10 line LAN 33, then user terminal 34 is to communicate to connect target terminal 36 corresponding to the virtual internet protocol address.
Step S14: when judge be not with simple traversal server 10 line LAN 33 after, judge that then LAN 33 is by fire compartment wall 14 or the external line of Internet Protocol Wireless Router internet 32; At this moment, user terminal 34 is the management servers 16 that communicate to connect in LAN 33, is communicated to connect in target terminal 36 by management server 16 again.
What remark additionally is that management server 16 is that management server 16 is to communicate to connect in target terminal 36 by management number of the account 3302 with the corresponding different management number of the account 3302 of target terminals all in the LAN 33 36 difference.
Therefore, by communication connecting system 30 and the method for the present invention in the network architecture 20, utilize the connection mode of wiring judging module 50 judgement internet 32 in proper order, can be effectively with point-to-point connection mode, no matter entity or various virtual connection mode, user terminal 34 is communicated with target terminal 36 be connected, handy especially application as remote desktop control.
By the above detailed description of preferred embodiments, be to wish to know more to describe feature of the present invention and spirit, and be not to come protection scope of the present invention is limited with the described preferred embodiment that is disclosed.On the contrary, its objective is that hope can contain in the category that is arranged in claims that the present invention encloses of various changes and tool equality.
Claims (15)
1, a kind of communication connecting method in the network architecture, the described network architecture comprises internet, user terminal and target terminal, it is characterized in that, and described communication connecting method comprises the following step:
Described user terminal carries out line by described internet and described target terminal, and wherein said line includes the connection mode of entity line and virtual line; And
Judge connection mode, when being judged as the entity line, described user terminal communicates to connect with the connection mode and the described target terminal of entity line; When being judged as the connection mode of virtual line, described target terminal is in LAN, and then described user terminal is the management server that communicates to connect in described LAN, is connected in described target terminal by described management server communication again.
2, communication connecting method according to claim 1 is characterized in that, wherein said communication connecting method comprises pre-storage virtual internet protocol address date, in order to the Internet Protocol address of described judgement connection mode contrast line.
3, communication connecting method according to claim 2, it is characterized in that, when the Internet Protocol address of wherein said line meets described virtual internet protocol address date, be the connection mode of virtual line, incongruent line is the connection mode of entity line.
4, communication connecting method according to claim 1 is characterized in that, wherein behind the connection mode that is judged as virtual line, described communication connecting method further carries out the following step, judges that described LAN is to come line by the simple traversal server.
5, communication connecting method according to claim 4, it is characterized in that, wherein said simple traversal server is to utilize network address translater to specify the described virtual internet protocol address of described target terminal, when judgement is during with the described LAN of described simple traversal server line, then described user terminal is to communicate to connect described target terminal corresponding to described virtual internet protocol address, when judge be not with the described LAN of described simple traversal server line after, then described user terminal is the management server that communicates to connect in described LAN, is connected in described target terminal by described management server communication again.
6, communication connecting method according to claim 5, it is characterized in that, the described LAN of wherein said judgement is by described simple traversal server line, be after described user terminal carries out line by described internet and described target terminal, understand and respond the packet information to described user terminal from described simple traversal server, when the characteristic information that has in the gauge outfit information of described packet information corresponding to described simple traversal server, judge that then described LAN is by described simple traversal server line.
7, communication connecting method according to claim 1, it is characterized in that, wherein said management server is the management number of the account that target terminals all in the described LAN is corresponding different respectively, and described management server is to communicate to connect in described target terminal by described management number of the account.
8, communication connecting method according to claim 1 is characterized in that, wherein said LAN is with line by fire compartment wall.
9, a kind of communication connecting system in the network architecture, the described network architecture comprises internet, user terminal and target terminal, and described communication connecting system is to be arranged in the described user terminal, it is characterized in that, and described communication connecting system comprises:
Link module, described user terminal utilize described link module to carry out line by described internet and described target terminal, and wherein said line includes the connection mode of entity line and virtual line; And
Wiring judging module judges that connection mode is the connection mode of entity line, and judges that connection mode is the connection mode of virtual line;
Wherein, when described wiring judging module judges that connection mode is the connection mode of entity line, then described link module is to communicate to connect with the connection mode of entity line and described target terminal, when described wiring judging module judges that connection mode is the connection mode of virtual line, described target terminal is in LAN, then described link module is the management server that communicates to connect in described LAN, is connected in described target terminal by described management server communication again.
10, communication connecting system according to claim 9 is characterized in that, wherein said communication connecting system further comprises:
Storage device, pre-storage virtual internet protocol address date in the described storage device;
Wherein, described wiring judging module is judged connection mode, be whether to meet virtual internet protocol address date in the described storage device by the Internet Protocol address that described wiring judging module contrasts described link module institute line, the line that meets then is the connection mode for virtual line, and incongruent line then is the connection mode for the entity line.
11, communication connecting system according to claim 9, it is characterized in that, wherein after described wiring judging module was judged as the connection mode of virtual line, described wiring judging module further judged whether described LAN comes line by the simple traversal server.
12, communication connecting system according to claim 11, it is characterized in that, wherein said simple traversal server is to utilize network address translater to specify the virtual internet protocol address of described target terminal, judge it is during when described wiring judging module with the described LAN of described simple traversal server line, then described link module is to communicate to connect described target terminal corresponding to described virtual internet protocol address, when described wiring judging module judge be not with the described LAN of described simple traversal server line after, then described link module is the management server that communicates to connect in described LAN, is connected in described target terminal by described management server communication again.
13, communication connecting system according to claim 12, it is characterized in that, wherein said wiring judging module judges that whether described LAN is by described simple traversal server line, be after described link module is carried out line by described internet and described target terminal, respond the packet information to described link module by described wiring judging module deciphering from described simple traversal server, when the characteristic information that has in the gauge outfit information of described packet information corresponding to described simple traversal server, then described wiring judging module judges that described LAN is by described simple traversal server line.
14, communication connecting system according to claim 9, it is characterized in that, wherein said management server is the management number of the account that target terminals all in the described LAN is corresponding different respectively, and described management server is to communicate to connect in described target terminal by described management number of the account.
15, communication connecting system according to claim 9 is characterized in that, wherein said LAN is with line by fire compartment wall.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101095624A CN101599884B (en) | 2008-06-02 | 2008-06-02 | Communication connecting system in network architecture and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101095624A CN101599884B (en) | 2008-06-02 | 2008-06-02 | Communication connecting system in network architecture and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101599884A true CN101599884A (en) | 2009-12-09 |
CN101599884B CN101599884B (en) | 2011-08-03 |
Family
ID=41421145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101095624A Active CN101599884B (en) | 2008-06-02 | 2008-06-02 | Communication connecting system in network architecture and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101599884B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185176A (en) * | 2014-08-28 | 2014-12-03 | 中国联合网络通信集团有限公司 | Method and system for remote initialization of Internet of Things virtual subscriber identity module card |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863157A (en) * | 2005-10-28 | 2006-11-15 | 华为技术有限公司 | Method and apparatus for implementing network communication through NAT |
CN100469022C (en) * | 2006-05-29 | 2009-03-11 | 腾讯科技(深圳)有限公司 | Method and system for detecting network types |
-
2008
- 2008-06-02 CN CN2008101095624A patent/CN101599884B/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185176A (en) * | 2014-08-28 | 2014-12-03 | 中国联合网络通信集团有限公司 | Method and system for remote initialization of Internet of Things virtual subscriber identity module card |
CN104185176B (en) * | 2014-08-28 | 2017-10-20 | 中国联合网络通信集团有限公司 | A kind of long-range initial method of Internet of Things virtual user identification module card and system |
Also Published As
Publication number | Publication date |
---|---|
CN101599884B (en) | 2011-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109981457B (en) | Message processing method, network node and system | |
CN108449282B (en) | Load balancing method and device | |
US7542466B2 (en) | System and method of information communication, information processing apparatus and information processing method, program and recording medium | |
CN107197059B (en) | DNS (Domain name Server) analysis method and device | |
RU2008124975A (en) | SYSTEMS AND METHODS FOR PROVIDING A NETWORK BRIDGE FOR TRAFFIC OF MULTI-ADDRESS DIRECTIONS BY UDP PROTOCOL | |
RU2008124972A (en) | SYSTEMS AND METHODS OF DETECTION AND INTERACTION WITH SERVICES | |
EP1511229A1 (en) | Packet repeating installation, network connection device, packet repeating method, recording medium, program | |
JP6540283B2 (en) | Communication apparatus, communication method, and communication program | |
CN110247848A (en) | Send method, the network equipment and the computer readable storage medium of message | |
CN105185085A (en) | Data communication system, method and device | |
CN110011935A (en) | Data flow processing method and relevant device | |
CN106507414B (en) | Message forwarding method and device | |
CN111371666B (en) | Method, device and system for processing message | |
CN113691589B (en) | Message transmission method, device and system | |
US20090154464A1 (en) | Method and system for simulating network address translation | |
CN107580079A (en) | A kind of message transmitting method and device | |
CN103618801A (en) | Method, device and system for sharing P2P (Peer-to-Peer) resources | |
CN104506450A (en) | Media resource feedback method and device | |
CN105554176A (en) | Method and device for sending message and communication system | |
CN112769794A (en) | Data conversion method and device | |
CN103095850B (en) | Method and system for sharing network by mobile terminal through computer | |
CN113676471A (en) | Cross-node communication method, system, medium and electronic device based on container cloud platform | |
CN108234422A (en) | Resource regulating method and device | |
US20040203760A1 (en) | Network address translation based mobility management | |
CN109246016B (en) | Cross-VXLAN message processing method and device |
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 |