CN103414798B - The communication means of address transition Network Based, equipment and system - Google Patents
The communication means of address transition Network Based, equipment and system Download PDFInfo
- Publication number
- CN103414798B CN103414798B CN201310329913.3A CN201310329913A CN103414798B CN 103414798 B CN103414798 B CN 103414798B CN 201310329913 A CN201310329913 A CN 201310329913A CN 103414798 B CN103414798 B CN 103414798B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- mark
- port
- address
- server
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 111
- 230000007704 transition Effects 0.000 title claims abstract description 28
- 238000013507 mapping Methods 0.000 claims abstract description 38
- 230000003993 interaction Effects 0.000 claims description 48
- 238000013519 translation Methods 0.000 claims description 17
- 238000012790 confirmation Methods 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 15
- 230000000977 initiatory effect Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 27
- 230000008569 process Effects 0.000 description 13
- 230000000694 effects Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 241001269238 Data Species 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a kind of communication means of address transition Network Based, equipment and system, wherein, the method comprises: by NAT pass through server mobile terminal receive send, comprise address information, after the logon message of port-mark and session identification, obtain first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what the first mobile terminal or the second mobile terminal are sent according to mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal, thus improve the utilization ratio that NAT passes through server, meet the needs of existing communication.
Description
Technical field
The embodiment of the present invention relates to communication technical field, particularly relates to a kind of communication means of address transition Network Based, equipment and system.
Background technology
Along with popularizing of mobile Internet, most of mobile terminal is made to be provided with the ability of accessing Internet.Due to exhausting of public network IP address, therefore, mobile terminal is according to the private network IP address distributed by operator, by the network address translation (NetworkAddressTranslation corresponding to self, NAT) equipment access is in the Internet, thus causes mobile terminal not have the whole network addressability.Therefore, when mobile terminal A and B is in different private networks, due to the public network IP address of the other side cannot be obtained, cause between A and B and cannot carry out communication interaction by IP mode, such as: by multi-medium datas such as IP tunnel transferring voice, audio frequency, videos, there is certain limitation.
Therefore, in order to solve the problem, NAT passes through server and the first port being in idle condition is distributed to mobile terminal A and B, for the communication interaction between mobile terminal A and B, but, carry out in the process of communication interaction at mobile terminal A and B, whole process can't take this port, utilance is very low, existing communication requirement can not be met, in prior art, NAT passed through server before mobile terminal A and B terminates communication interaction, also this first port was distributed to all the other multipair mobile terminals with communication interaction demand.
But, the first port is distributed to multipair different mobile terminal to carry out communicating such as mobile terminal A and B, mobile terminal C and D in prior art, and for the first port is distributed to same mobile terminal communicate with other mobile terminal respectively time, communication interaction such as between mobile terminal A and B, mobile terminal A and D, NAT passes through server and how to carry out conversion process, needs a kind of processing method of correspondence badly to improve the utilization ratio that NAT passes through server further.
Summary of the invention
For the above-mentioned defect of prior art, the embodiment of the present invention provides a kind of communication means of address transition Network Based, equipment and system.
One aspect of the present invention provides a kind of communication means of address transition Network Based, comprising:
Network address translation NAT passes through the logon message that server mobile terminal receive sends, and described logon message comprises address information, port-mark and session identification;
Described NAT passes through server and obtains first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what described first mobile terminal or described second mobile terminal are sent according to described mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal.
The present invention provides a kind of communication means of address transition Network Based on the other hand, comprising:
First acquisition for mobile terminal and the second mobile terminal network address translation NAT carried out shared by communication interaction pass through IP address and the port-mark of server, and the session identification corresponding with described communication interaction;
Described first mobile terminal passes through server to the NAT corresponding with described IP address and sends logon message, described logon message comprises self address information, described port-mark and described session identification, so that described NAT pass through server according to described second mobile terminal send, comprise described port-mark, the logon message of the address information of described session identification and described second mobile terminal, store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.
Another aspect of the invention provides a kind of NAT traversing server, comprising:
Receiver module, for the logon message that mobile terminal receive sends, described logon message comprises address information, port-mark and session identification;
Processing module, for obtaining first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what described first mobile terminal or described second mobile terminal are sent according to described mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal.
Further aspect of the present invention provides a kind of mobile terminal, comprising:
Acquisition module, for obtaining the IP address and the port-mark that pass through server with the second mobile terminal network address translation NAT carried out shared by communication interaction, and the session identification corresponding with described communication interaction;
Registering modules, logon message is sent for passing through server to the NAT corresponding with described IP address, described logon message comprises self address information, described port-mark and described session identification, so that described NAT pass through server according to described second mobile terminal send, comprise described port-mark, the logon message of the address information of described session identification and described second mobile terminal, store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.
The present invention provides a kind of communication system of address transition Network Based on the other hand, and comprising: above-mentioned NAT traversing server, the first mobile terminal and the second mobile terminal, wherein, described first mobile terminal is above-mentioned mobile terminal.
Another aspect of the invention provides a kind of communication system of address transition Network Based, comprise: above-mentioned NAT traversing server, and session initiation protocol sip server, the first mobile terminal belonging to described sip server and the second mobile terminal, wherein, described first mobile terminal is the mobile terminal of preceding claim.
The communication means of the address transition Network Based that the embodiment of the present invention provides, equipment and system, by NAT pass through server mobile terminal receive send, comprise address information, after the logon message of port-mark and session identification, obtain first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what the first mobile terminal or the second mobile terminal are sent according to mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal, thus improve the utilization ratio that NAT passes through server, meet the needs of existing communication.
Accompanying drawing explanation
The flow chart of the communication means of the address transition Network Based that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the communication means of another address transition Network Based that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the NAT traversing server that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the mobile terminal that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the communication system of the address transition Network Based that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the communication system of another address transition Network Based that Fig. 6 provides for the embodiment of the present invention.
Embodiment
The flow chart of the communication means of the address transition Network Based that Fig. 1 provides for the embodiment of the present invention, as shown in Figure 1, the method comprises:
Step 100, network address translation NAT passes through the logon message that server mobile terminal receive sends, and described logon message comprises address information, port-mark and session identification;
When being under different private network two mobile terminals and carrying out IP communication, first negotiate two mobile terminals carry out NAT that communication interaction takies and pass through the port-mark that the IP address of server and this NAT pass through server upper port, and obtain the session identification corresponding with this communication interaction, then each mobile terminal passes through server to NAT and sends logon message, and this logon message comprises the address information of mobile terminal, port-mark and session identification.Wherein, the address information of mobile terminal refers to the IP address of mobile terminal, it should be noted that, two mobile terminals consult to carry out IP address and the port-mark that NAT that communication interaction takies passes through server, and the mode obtaining the session identification corresponding with this communication interaction is a lot, illustrates as follows:
Mode one, after one side's mobile terminal passes through the good idle port of server negotiate by the NAT gateway at self place and NAT, the IP address and the port-mark corresponding with idle port that this NAT are passed through server know another mobile terminal carrying out communication interaction with it by mobile switch Netcom, after confirming that another mobile terminal receives the IP address and port-mark that this NAT passes through server, generate the session identification corresponding with this communication interaction and also send to another mobile terminal by mobile switch net.Mode two, after sip server and NAT pass through the good idle port of server negotiate, the IP address and the port-mark corresponding with idle port that this NAT are passed through server carry out the mobile terminal of communication interaction by SIP message notifying, after confirming that mobile terminal receives the IP address and port-mark that this NAT passes through server, generate the session identification corresponding with this communication interaction and also send to mobile terminal by SIP message.
Step 101, described NAT passes through server and obtains first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what described first mobile terminal or described second mobile terminal are sent according to described mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal.
NAT passes through server to carry out the logon message received resolving the address information obtaining mobile terminal, port-mark and session identification, then the port-mark in each logon message and session identification is compared, thus obtain first mobile terminal and the second mobile terminal with same session mark and port-mark, and store this session identification, this port-mark, the mapping relations of the address information of the first mobile terminal and the second mobile terminal, and then according to these mapping relations, forward process is carried out to the communication message that the first mobile terminal or the second mobile terminal send, the process of communication is completed with this.Be specially: receive that the first mobile terminal or the second mobile terminal send when NAT passes through server, after comprising the communication message of session identification and port-mark, by this communication message of the port accepts corresponding with this port-mark, and obtain corresponding with described session identification and described port-mark according to mapping relations, carry out the address information i.e. address information of the first mobile terminal and the second mobile terminal of communication interaction two side, then the source address information of the first mobile terminal or the second mobile terminal is replaced with the IP address that described port-mark and NAT pass through server self, and the communication message after process is sent to the second mobile terminal or the first mobile terminal according to the address information receiving this communication message.
The communication means of the address transition Network Based that the present embodiment provides, by NAT pass through server mobile terminal receive send, comprise address information, after the logon message of port-mark and session identification, obtain first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what the first mobile terminal or the second mobile terminal are sent according to mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal, thus improve the utilization ratio that NAT passes through server, meet the needs of existing communication.
The flow chart of the communication means of another address transition Network Based that Fig. 2 provides for the embodiment of the present invention, as shown in Figure 2, the method comprises:
Step 200, the first acquisition for mobile terminal and the second mobile terminal network address translation NAT carried out shared by communication interaction pass through IP address and the port-mark of server, and the session identification corresponding with described communication interaction;
When first mobile terminal need and the second mobile terminal self be under different private network carry out IP communicate time, first first mobile terminal needs to obtain the IP address and the port-mark that pass through server with the second mobile terminal network address translation NAT carried out shared by communication interaction, and the session identification corresponding with described communication interaction, wherein, it should be noted that, this NAT of first acquisition for mobile terminal passes through IP address and the port-mark of server, and the mode obtaining the session identification corresponding with this communication interaction is a lot, illustrates as follows:
Mode one, after second mobile terminal passes through the good idle port of server negotiate by the NAT gateway at self place and NAT, the IP address and the port-mark corresponding with idle port that this NAT are passed through server send to the first mobile terminal by mobile switch net, receiving after this NAT passes through the confirmation response that the IP address of server and port-mark return when receiving the first mobile terminal, generating the session identification corresponding with this communication interaction and also sending to the first mobile terminal by mobile switch net.Mode two, after sip server and NAT pass through the good idle port of server negotiate, the IP address and the port-mark corresponding with idle port that this NAT are passed through server carry out the first mobile terminal and second mobile terminal of communication interaction by SIP message notifying, then sip server generates the session identification corresponding with this communication interaction, receive after this NAT passes through the confirmation response that the IP address of server and port-mark return when sip server receives the first mobile terminal or the second mobile terminal, session identification is just sent to the mobile terminal sending confirmation response by sip server by SIP message.
Step 201, described first mobile terminal passes through server to the NAT corresponding with described IP address and sends logon message, described logon message comprises self address information, described port-mark and described session identification, so that described NAT pass through server receive described second mobile terminal send, comprise described port-mark, after the logon message of the address information of described session identification and described second mobile terminal, described session identification is stored according to the logon message that described first mobile terminal and described second mobile terminal send, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.
First mobile terminal passes through IP address and the port-mark of server with the second mobile terminal NAT carried out shared by communication interaction obtaining, and after the session identification corresponding with described communication interaction, pass through server to the NAT corresponding with this IP address and send logon message, described logon message comprises self address information, described port-mark and described session identification, thus NAT passes through server carries out resolving acquisition first mobile terminal address information to the logon message received, port-mark and session identification, when NAT pass through server receive second mobile terminal send logon message after, can learn that the session identification in the logon message that session identification and port-mark and the first mobile terminal in the logon message that the second mobile terminal sends send is identical with port-mark, and store this session identification, this port-mark, the mapping relations of the address information of the first mobile terminal and the second mobile terminal, and then according to these mapping relations, forward process is carried out to the communication message that the first mobile terminal or the second mobile terminal send, the process of communication is completed with this.Be specially: receive that the first mobile terminal or the second mobile terminal send when NAT passes through server, after comprising the communication message of session identification and port-mark, by this communication message of the port accepts corresponding with this port-mark, and obtain corresponding with described session identification and described port-mark according to mapping relations, carry out the address information i.e. address information of the first mobile terminal and the second mobile terminal of communication interaction two side, then the source address information of the first mobile terminal or the second mobile terminal is replaced with the IP address that described port-mark and NAT pass through server self, and the communication message after process is sent to the second mobile terminal or the first mobile terminal according to the address information receiving this communication message.
The communication means of the address transition Network Based that the present embodiment provides, IP address and the port-mark of server is passed through by the first acquisition for mobile terminal and the second mobile terminal network address translation NAT carried out shared by communication interaction, and after the session identification corresponding with described communication interaction, pass through server to the NAT corresponding with this IP address and send the address information comprising self, the logon message of port-mark and session identification, so that NAT passes through, server sends at reception second mobile terminal, comprise described port-mark, after the logon message of the address information of described session identification and described second mobile terminal, described session identification is stored according to the logon message that described first mobile terminal and described second mobile terminal send, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.Thus improve the utilization ratio that NAT passes through server, meet the needs of existing communication.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The structural representation of the NAT traversing server that Fig. 3 provides for the embodiment of the present invention, as shown in Figure 3, this NAT traversing server comprises: receiver module 11 and processing module 12, wherein, the logon message that receiver module 11 sends for mobile terminal receive, described logon message comprises address information, port-mark and session identification, processing module 12 is for obtaining first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what described first mobile terminal or described second mobile terminal are sent according to described mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal.
The function of each module and handling process in the NAT traversing server that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
The structural representation of the mobile terminal that Fig. 4 provides for the embodiment of the present invention, as shown in Figure 4, this mobile terminal comprises: acquisition module 21 and Registering modules 22, wherein, acquisition module 21 passes through IP address and the port-mark of server with the second mobile terminal network address translation NAT carried out shared by communication interaction for obtaining, and the session identification corresponding with described communication interaction, Registering modules 22 sends logon message for passing through server to the NAT corresponding with described IP address, described logon message comprises self address information, described port-mark and described session identification, so that described NAT pass through server according to described second mobile terminal send, comprise described port-mark, the logon message of the address information of described session identification and described second mobile terminal, store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.
Wherein, acquisition module 21 obtains the IP address and the port-mark that pass through server with the second mobile terminal network address translation NAT carried out shared by communication interaction, and the mode of the session identification corresponding with described communication interaction is a lot, illustrates as follows:
Mode one, acquisition module 21 specifically for:
Receive described second mobile terminal and pass through the IP address of server and described port-mark by the described NAT that mobile switch net sends, and return confirmation response to described second mobile terminal;
Receive the described session identification that described second mobile terminal is sent by mobile switch net, wherein, described session identification generates after described second mobile terminal receives described confirmation response.
Mode two, acquisition module 21 specifically for:
Receive session initiation protocol sip server and pass through the IP address of server and described port-mark by the described NAT that SIP message sends, and return confirmation response to described sip server;
Receive the described session identification that described sip server is sent by SIP message, wherein, described session identification generates after described sip server receives described confirmation response.
The function of each module and handling process in the mobile terminal that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
The structural representation of the communication system of the address transition Network Based that Fig. 5 provides for the embodiment of the present invention, as shown in Figure 5, this system comprises: NAT traversing server 1, first mobile terminal 2 and the second mobile terminal 3, wherein, the NAT traversing server that NAT traversing server 1 provides for the embodiment of the present invention, what the first mobile terminal 2 received that the second mobile terminal 3 sent by mobile switch net passes through IP address and the port-mark of server with the second mobile terminal network address translation NAT carried out shared by communication interaction, and the session identification corresponding with described communication interaction.
The function of each module and handling process in the communication system of the address transition Network Based that the present embodiment provides, can see the embodiment of the method shown in above-mentioned, and it realizes principle and technique effect is similar, repeats no more herein.
The structural representation of the communication system of another address transition Network Based that Fig. 6 provides for the embodiment of the present invention, as shown in Figure 6, this system comprises: NAT traversing server 4, session initiation protocol sip server 5, belong to the first mobile terminal 6 and the second mobile terminal 7 of described sip server 5, wherein, the NAT traversing server that NAT traversing server 4 provides for the embodiment of the present invention, first mobile terminal 6 and the second mobile terminal 7 receive IP address and the port-mark that the first mobile terminal 6 that sip server 5 sent by SIP message and the second mobile terminal 7 network address translation NAT carried out shared by communication interaction pass through server, and the session identification corresponding with described communication interaction.
The function of each module and handling process in the communication system of the address transition Network Based that the present embodiment provides, can see the embodiment of the method shown in above-mentioned, and it realizes principle and technique effect is similar, repeats no more herein.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a communication means for address transition Network Based, is characterized in that, comprising:
Network address translation NAT passes through the logon message that server mobile terminal receive sends, and described logon message comprises address information, port-mark and session identification;
Described NAT passes through server and obtains first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what described first mobile terminal or described second mobile terminal are sent according to described mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal.
2. a communication means for address transition Network Based, is characterized in that, comprising:
First acquisition for mobile terminal and the second mobile terminal network address translation NAT carried out shared by communication interaction pass through IP address and the port-mark of server, and the session identification corresponding with described communication interaction;
Described first mobile terminal passes through server to the NAT corresponding with described IP address and sends logon message, described logon message comprises self address information, described port-mark and described session identification, so that described NAT pass through server according to described second mobile terminal send, comprise described port-mark, the logon message of the address information of described session identification and described second mobile terminal, store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.
3. the communication means of address transition Network Based according to claim 2, it is characterized in that, described acquisition and the second mobile terminal network address translation NAT carried out shared by communication interaction pass through IP address and the port-mark of server, and the session identification corresponding with described communication interaction specifically comprises:
Described first mobile terminal receives described second mobile terminal and passes through the IP address of server and described port-mark by the described NAT that mobile switch net sends, and returns confirmation response to described second mobile terminal;
Described first mobile terminal receives the described session identification that described second mobile terminal is sent by mobile switch net, and wherein, described session identification generates after described second mobile terminal receives described confirmation response.
4. the communication means of address transition Network Based according to claim 2, it is characterized in that, described acquisition and the second mobile terminal network address translation NAT carried out shared by communication interaction pass through IP address and the port-mark of server, and the session identification corresponding with described communication interaction specifically comprises:
Described first mobile terminal receives session initiation protocol sip server and passes through the IP address of server and described port-mark by the described NAT that SIP message sends, and returns confirmation response to described sip server;
Described first mobile terminal receives the described session identification that described sip server is sent by SIP message, and wherein, described session identification generates after described sip server receives described confirmation response.
5. a NAT traversing server, is characterized in that, comprising:
Receiver module, for the logon message that mobile terminal receive sends, described logon message comprises address information, port-mark and session identification;
Processing module, for obtaining first mobile terminal and the second mobile terminal with same session mark and port-mark, and store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, with what described first mobile terminal or described second mobile terminal are sent according to described mapping relations, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and the IP address of self, and send to described second mobile terminal or described first mobile terminal.
6. a mobile terminal, is characterized in that, described mobile terminal is the first mobile terminal, comprising:
Acquisition module, for obtaining the IP address and the port-mark that pass through server with the second mobile terminal network address translation NAT carried out shared by communication interaction, and the session identification corresponding with described communication interaction;
Registering modules, logon message is sent for passing through server to the NAT corresponding with described IP address, described logon message comprises self address information, described port-mark and described session identification, so that described NAT pass through server according to described second mobile terminal send, comprise described port-mark, the logon message of the address information of described session identification and described second mobile terminal, store described session identification, described port-mark, the mapping relations of the address information of described first mobile terminal and the address information of described second mobile terminal, and according to described mapping relations, described first mobile terminal or described second mobile terminal are sent, the source address information comprising the communication message of described session identification and described port-mark replaces with described port-mark and described IP address, and send to described second mobile terminal or described first mobile terminal.
7. mobile terminal according to claim 6, is characterized in that, described acquisition module specifically for:
Receive described second mobile terminal and pass through the IP address of server and described port-mark by the described NAT that mobile switch net sends, and return confirmation response to described second mobile terminal;
Receive the described session identification that described second mobile terminal is sent by mobile switch net, wherein, described session identification generates after described second mobile terminal receives described confirmation response.
8. mobile terminal according to claim 6, is characterized in that, described acquisition module specifically for:
Receive session initiation protocol sip server and pass through the IP address of server and described port-mark by the described NAT that SIP message sends, and return confirmation response to described sip server;
Receive the described session identification that described sip server is sent by SIP message, wherein, described session identification generates after described sip server receives described confirmation response.
9. the communication system of an address transition Network Based, it is characterized in that, comprise: NAT traversing server, the first mobile terminal and the second mobile terminal as claimed in claim 5, wherein, described first mobile terminal is the mobile terminal described in claim 6 or 7.
10. the communication system of an address transition Network Based, it is characterized in that, comprise: NAT traversing server as claimed in claim 5, and session initiation protocol sip server, the first mobile terminal belonging to described sip server and the second mobile terminal, wherein, described first mobile terminal is the mobile terminal described in claim 6 or 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310329913.3A CN103414798B (en) | 2013-07-31 | 2013-07-31 | The communication means of address transition Network Based, equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310329913.3A CN103414798B (en) | 2013-07-31 | 2013-07-31 | The communication means of address transition Network Based, equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103414798A CN103414798A (en) | 2013-11-27 |
CN103414798B true CN103414798B (en) | 2016-04-13 |
Family
ID=49607782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310329913.3A Active CN103414798B (en) | 2013-07-31 | 2013-07-31 | The communication means of address transition Network Based, equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103414798B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI527407B (en) * | 2014-03-18 | 2016-03-21 | 國立交通大學 | Method of network address translation (nat) traversal |
CN103929438B (en) * | 2014-05-06 | 2017-02-15 | 中国联合网络通信集团有限公司 | Firewall traversal method, equipment and system based on web page browser communication |
CN104104926B (en) * | 2014-07-30 | 2017-04-19 | 浙江宇视科技有限公司 | Universal plug and play (UPnP) monitoring terminal access method and access device |
US10237236B2 (en) * | 2015-06-25 | 2019-03-19 | Microsoft Technology Licensing, Llc | Media Session |
CN105491024A (en) * | 2015-11-24 | 2016-04-13 | 北京邮电大学 | Multiplexing method of UDP (User Datagram Protocol) port |
CN109951562B (en) * | 2019-03-29 | 2020-12-25 | 深圳市网心科技有限公司 | NAT traversal method and system, electronic device and storage medium |
CN111885219B (en) * | 2020-07-28 | 2023-04-07 | 杭州迪普科技股份有限公司 | Communication method and device based on SIP (Session initiation protocol) media negotiation and NAT (network Address translation) equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656715A (en) * | 2008-08-21 | 2010-02-24 | 华为技术有限公司 | Method, system and device for media bypass |
CN102651746A (en) * | 2012-05-18 | 2012-08-29 | 珠海德百祺科技有限公司 | Point-to-point information transmission method, system and device |
CN102780675A (en) * | 2011-05-09 | 2012-11-14 | 中兴通讯股份有限公司 | Transmission method, device and system for streaming media service |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007123359A2 (en) * | 2006-04-24 | 2007-11-01 | Ktfreetel Co., Ltd. | Interworking system between ip networks using different ip addressing scheme, application layer gateway (alg), stun server, network address translator, interworking method thereof, and sip message routing method thereof |
TWI434595B (en) * | 2011-11-09 | 2014-04-11 | Quanta Comp Inc | Connection establishing management methods for use in a network system and systems thereof |
-
2013
- 2013-07-31 CN CN201310329913.3A patent/CN103414798B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656715A (en) * | 2008-08-21 | 2010-02-24 | 华为技术有限公司 | Method, system and device for media bypass |
CN102780675A (en) * | 2011-05-09 | 2012-11-14 | 中兴通讯股份有限公司 | Transmission method, device and system for streaming media service |
CN102651746A (en) * | 2012-05-18 | 2012-08-29 | 珠海德百祺科技有限公司 | Point-to-point information transmission method, system and device |
Also Published As
Publication number | Publication date |
---|---|
CN103414798A (en) | 2013-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103414798B (en) | The communication means of address transition Network Based, equipment and system | |
CN103139326B (en) | IP source tracing method, equipment and system | |
US8903972B2 (en) | Method and apparatus for sharing contents using information of group change in content oriented network environment | |
CN104144098A (en) | Information pushing method and system and pushing server equipment | |
CN105072038A (en) | Method and device for forwarding data message | |
CN102802227A (en) | Data processing method, equipment and system based on base station direct connection framework | |
CN104601742A (en) | Message transmission method and device | |
CN102148881A (en) | Address processing method and device | |
CN102984696B (en) | Based on the IP communication means of mobile terminal, equipment and system | |
CN103581361A (en) | Domain name resolution proxy method, device and system | |
CN102572012B (en) | Message processing method, switchboard and system | |
CN104994022A (en) | Message transmission method and service board | |
CN103516757A (en) | Method, device and system for processing content | |
CN103503413A (en) | Method and device for transmitting network information | |
CN103023818B (en) | Media access control-forced forwards method and the device of ARP message | |
CN104065688B (en) | A kind of method and device for calling underlying services | |
CN102984697B (en) | IP communication method, equipment and system based on mobile terminals | |
CN104125150A (en) | Protocol message processing method, device and system | |
CN103414836B (en) | Access processing method and the device of IP-based videoconference | |
CN102143050A (en) | Network connection processing method and device for internet protocol version 6 (IPv6) network | |
CN106612307B (en) | A kind of implementation method and device of always online business | |
CN109618015B (en) | Data center-based de-stacking implementation method and device | |
CN103414797A (en) | Port assignment method and device of NAT traversing server | |
CN103179229A (en) | Data service communication method, equipment and system | |
CN103067280A (en) | Method and device of message processing |
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 |