CN102984697A - IP (communication method, equipment and system based on mobile terminals - Google Patents

IP (communication method, equipment and system based on mobile terminals Download PDF

Info

Publication number
CN102984697A
CN102984697A CN2012105149808A CN201210514980A CN102984697A CN 102984697 A CN102984697 A CN 102984697A CN 2012105149808 A CN2012105149808 A CN 2012105149808A CN 201210514980 A CN201210514980 A CN 201210514980A CN 102984697 A CN102984697 A CN 102984697A
Authority
CN
China
Prior art keywords
address information
mobile terminal
portable terminal
destination mobile
nat
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
CN2012105149808A
Other languages
Chinese (zh)
Other versions
CN102984697B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201210514980.8A priority Critical patent/CN102984697B/en
Publication of CN102984697A publication Critical patent/CN102984697A/en
Application granted granted Critical
Publication of CN102984697B publication Critical patent/CN102984697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an IP (Internet Protocol) communication method, equipment and a system based on mobile terminals, wherein the method comprises the following steps: after an NAT (Network Address Translator) traversal server inquires through a source mobile terminal to obtain an idle port identity, the idle port identity and an IP address of the NAT traversal server are used as communication address information which is used for communication interaction with a target mobile terminal through an IP channel to be transmitted to the target mobile terminal through a mobile exchange network; the target mobile terminal transmits a communication registration message to an idle port which corresponds to the idle port identity, so that the NAT traversal server stores a mapping relation among source mobile terminal public network address information, the communication address information and target mobile terminal public network address information, and the target mobile terminal finishes the communication interaction between the source mobile terminal and the target mobile terminal by the idle port according to the mapping relation, so that the mobile terminals in different private networks can use the NAT traversal server to execute the communication interaction through the IP channel, which is conducive to propelling IP services.

Description

IP communication means, equipment and the system of movement-based terminal
Technical field
The embodiment of the invention relates to communication technical field, relates in particular to a kind of IP communication means, equipment and system of movement-based terminal.
Background technology
Along with popularizing of mobile Internet, so that most of portable terminal has had the ability of accessing Internet.Because exhausting of public network IP address, therefore, portable terminal is according to the private network IP address that is distributed by operator, by self corresponding network address translation (Network Address Translation, NAT) equipment access is in the Internet, thereby causes portable terminal not have the whole network addressability.Therefore, in the time of in portable terminal A and B are in different private networks, owing to can't obtain the other side's public network IP address, cause between A and the B and can't communicate alternately by the IP mode, such as: by multi-medium datas such as IP tunnel transferring voice, audio frequency, videos, have certain limitation.
Summary of the invention
For the defects of prior art, the embodiment of the invention provides a kind of IP communication means, equipment and system of movement-based terminal.
One aspect of the present invention provides a kind of IP communication means of movement-based terminal, comprising:
Network address translation NAT passes through server reception sources portable terminal interface querying request message that send, that comprise source portable terminal public network address information;
Judgement knows that self has idle port if described NAT passes through server, then return the interface querying response that comprises the idle port sign to described source portable terminal, so that the IP address that described source portable terminal passes through described idle port sign and the local described NAT that prestores server is as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net sends to described destination mobile terminal;
Described NAT passes through server and receives from described idle port that described destination mobile terminal sends according to described mailing address information, the communication registration message that comprises destination mobile terminal public network address information, and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
The present invention provides a kind of IP communication means of movement-based terminal on the other hand, comprising:
The source portable terminal passes through server to described NAT and sends the interface querying request message that comprises source portable terminal public network address information according to the IP address that the NAT that prestores passes through server;
If described source portable terminal receives described NAT and passes through the interface querying response that comprises the idle port sign that server returns, then described idle port sign and described NAT are passed through the IP address of server as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net send to described destination mobile terminal, so that passing through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT, described destination mobile terminal sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
Another aspect of the invention provides a kind of IP communication means of movement-based terminal, comprising:
Destination mobile terminal reception sources portable terminal sends by the mobile switch net, be used for communicating mutual mailing address information with described destination mobile terminal by IP tunnel, described mailing address information comprises: NAT passes through IP address and the idle port sign of server, wherein, to be the described source portable terminal IP address of passing through server according to the described NAT that prestores pass through server to described NAT to described mailing address information sends and comprise the interface querying request message of source portable terminal public network address information, and receive described NAT and pass through and generate after the interface querying response that comprises the idle port sign that server returns;
Described destination mobile terminal passes through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT and sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
Further aspect of the present invention provides a kind of NAT to pass through server, comprising:
The first receiver module is used for reception sources portable terminal interface querying request message that send, that comprise source portable terminal public network address information;
The first processing module, if be used for judging and know that self has idle port, then return the interface querying response that comprises the idle port sign to described source portable terminal, so that the IP address that described source portable terminal passes through described idle port sign and the local described NAT that prestores server is as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net sends to described destination mobile terminal;
The second processing module, be used for from described idle port receive that described destination mobile terminal sends according to described mailing address information, comprise the communication registration message of destination mobile terminal public network address information, and preserve the mapping relations between described source portable terminal public network address information, described mailing address information and the described destination mobile terminal public network address information three;
Communication module, be used for according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port being replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
The present invention provides a kind of portable terminal on the other hand, comprising:
Enquiry module for the IP address of passing through server according to the NAT that prestores, passes through server to described NAT and sends the interface querying request message that comprises source portable terminal public network address information;
The 3rd processing module, pass through the interface querying response that comprises the idle port sign that server returns if be used for receiving described NAT, then described idle port sign and described NAT are passed through the IP address of server as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net send to described destination mobile terminal, so that passing through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT, described destination mobile terminal sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
Another aspect of the invention provides a kind of portable terminal, comprising:
The second receiver module, send by the mobile switch net for the reception sources portable terminal, be used for communicating mutual mailing address information with destination mobile terminal by IP tunnel, described mailing address information comprises: NAT passes through IP address and the idle port sign of server, wherein, to be the described source portable terminal IP address of passing through server according to the described NAT that prestores pass through server to described NAT to described mailing address information sends and comprise the interface querying request message of source portable terminal public network address information, and receive described NAT and pass through and generate after the interface querying response that comprises the idle port sign that server returns;
Sending module, be used for passing through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT and send the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
Further aspect of the present invention provides a kind of IP communication system of movement-based terminal, comprise: source portable terminal, destination mobile terminal, and above-mentioned NAT passes through server, wherein, the portable terminal that described source portable terminal provides on the other hand for the invention described above, the portable terminal that described destination mobile terminal provides for the another aspect of the invention described above.
The IP communication means of the movement-based terminal that the embodiment of the invention provides, equipment and system, by the source portable terminal to NAT pass through server inquire about obtain idle port sign after, idle port sign and NAT are passed through the IP address of server as communicating mutual mailing address information and send to destination mobile terminal by the mobile switch net by IP tunnel with destination mobile terminal, destination mobile terminal is according to sending communication registration message to the idle port corresponding with the idle port sign, thereby NAT passes through server and preserves source portable terminal public network address information, mapping relations between mailing address information and the destination mobile terminal public network address information three, with according to mapping relations and adopt idle port to finish communication interaction between source portable terminal and the destination mobile terminal, thereby having realized being in portable terminal under the different private networks can utilize NAT to pass through server to communicate alternately by IP tunnel, be conducive to advance IP operation.
Description of drawings
Fig. 1 is the flow chart that the present invention is based on an embodiment of IP communication means of portable terminal;
Fig. 2 is the flow chart that the present invention is based on another embodiment of IP communication means of portable terminal;
Fig. 3 is the flow chart that the present invention is based on the another embodiment of IP communication means of portable terminal;
Fig. 4 is the structural representation that NAT of the present invention passes through an embodiment of server;
Fig. 5 is the structural representation of an embodiment of portable terminal of the present invention;
Fig. 6 is the structural representation of another embodiment of portable terminal of the present invention;
Fig. 7 is the structural representation that the present invention is based on the unified embodiment of IP communication system of portable terminal.
Embodiment
Fig. 1 is the flow chart that the present invention is based on an embodiment of IP communication means of portable terminal, and as shown in Figure 1, the method comprises:
Step 100, network address translation NAT passes through server reception sources portable terminal interface querying request message that send, that comprise source portable terminal public network address information;
When two portable terminals under being in different private networks carry out IP communication, the NAT that the source portable terminal at first prestores according to self passes through the IP address of server, pass through server by the NAT gateway corresponding with the private network at self place to corresponding NAT and send the interface querying request message that comprises source portable terminal public network address information, be specially: it is that private network IP address and port numbers are passed through the interface querying request message that server sends to NAT that NAT gateway reception sources portable terminal adopts pre-assigned private net address information, NAT gateway basis prestores, it is public network IP address and port numbers that the address information table that comprises private network IP address and port numbers and public network IP address and port numbers corresponding relation is mapped as public network address information with the private net address information of source portable terminal, then the NAT gateway adopts the public network address information of source portable terminal to pass through server transmit port inquiry request message to NAT, and server reception sources portable terminal sends by the NAT gateway thereby NAT passes through, the interface querying request message that comprises source portable terminal public network address information.It should be noted that, the source portable terminal can pass through the IP address of server according to practical application needs a plurality of NAT that prestore, and select at random one of them NAT to pass through server and carry out the idle port inquiry, if inquiry knows that this NAT passes through server without idle port, then select next NAT to pass through server and carry out repetitive operation, until find idle port.
Step 101, judgement knows that self has idle port if described NAT passes through server, then return the interface querying response that comprises the idle port sign to described source portable terminal, so that the IP address that described source portable terminal passes through described idle port sign and the local described NAT that prestores server is as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net sends to described destination mobile terminal;
After NAT passes through server receiving port inquiry request message, inquire about self and whether also have idle port, if judge and know that self still has idle port, then cross the NAT gateway according to source portable terminal public network address information exchange and return the interface querying response that comprises the idle port sign to the source portable terminal, thereby the source portable terminal passes through interface querying response that server returns to NAT and resolves and obtain the idle port sign, the IP address that the NAT that then will change idle port sign and self storage passes through server is as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and this mailing address information exchange is crossed the mobile switch net sends to destination mobile terminal.Need to prove that the source portable terminal is a lot of by the mode that the mobile switch net sends to destination mobile terminal, such as sending by trusted channels such as voice signaling channel, short message signaling channels.
Step 102, described NAT passes through server and receives from described idle port that described destination mobile terminal sends according to described mailing address information, the communication registration message that comprises destination mobile terminal public network address information, and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
After the mailing address information that destination mobile terminal sends by mobile switch net reception sources portable terminal is namely obtained NAT and is passed through the IP address and idle port sign of server, at first cross the NAT gateway corresponding with the private network at self place according to the mailing address information exchange and pass through on the server communication registration message that comprises destination mobile terminal public network address information with idle port transmission corresponding to idle port sign to passing through NAT corresponding to the IP address of server with NAT, be specially: it is that private network IP address and port numbers send communication registration message to the idle port that NAT passes through server that NAT gateway receiving target portable terminal adopts pre-assigned private net address information, NAT gateway basis prestores, it is public network IP address and port numbers that the address information table that comprises private network IP address and port numbers and public network IP address and port numbers corresponding relation is mapped as public network address information with the private net address information of destination mobile terminal, then the NAT gateway adopts the public network address information of destination mobile terminal to send communication registration message to the idle port that NAT passes through on the server, and server sends by the NAT gateway from idle port receiving target portable terminal thereby NAT passes through, the communication registration message that comprises destination mobile terminal public network address information.
Then NAT passes through server according to interface querying request message and communication registration message stores source portable terminal public network address information, mapping relations between mailing address information and the destination mobile terminal public network address information three, to adopt idle port to finish the communication interaction that carries out between source portable terminal and the destination mobile terminal according to these mapping relations, be specially: receive from idle port when NAT passes through server that the source portable terminal sends by the NAT gateway corresponding with the private network at self place, after comprising the communication message of source portable terminal public network address information, then according to mapping relations source portable terminal public network address information is replaced with mailing address information, and according to destination mobile terminal public network address information this communication message is sent to the NAT gateway corresponding with the private network at destination mobile terminal place, and then obtain the destination mobile terminal private net address information corresponding with destination mobile terminal public network address information by this NAT gateway according to the address information table, and this communication message is sent to destination mobile terminal; When passing through server, NAT receives from idle port that destination mobile terminal sends by the NAT gateway corresponding with the private network at self place, after comprising the communication message of destination mobile terminal public network address information, then according to mapping relations destination mobile terminal public network address information is replaced with mailing address information, and according to source portable terminal public network address information this communication message is sent to the NAT gateway corresponding with the private network at portable terminal place, source, and then obtain the source portable terminal private net address information corresponding with source portable terminal public network address information by this NAT gateway according to the address information table, and this communication message is sent to the source portable terminal.
The IP communication means of the movement-based terminal that present embodiment provides, equipment and system, by the source portable terminal to NAT pass through server inquire about obtain idle port sign after, idle port sign and NAT are passed through the IP address of server as communicating mutual mailing address information and send to destination mobile terminal by the mobile switch net by IP tunnel with destination mobile terminal, destination mobile terminal is according to sending communication registration message to the idle port corresponding with the idle port sign, thereby NAT passes through server and preserves source portable terminal public network address information, mapping relations between mailing address information and the destination mobile terminal public network address information three, with according to mapping relations and adopt idle port to finish communication interaction between source portable terminal and the destination mobile terminal, thereby having realized being in portable terminal under the different private networks can utilize NAT to pass through server to communicate alternately by IP tunnel, be conducive to advance IP operation.
Further, the idle port that adopts NAT to pass through server at source portable terminal and destination mobile terminal communicates in the mutual process, if NAT passes through server does not receive source portable terminal or destination mobile terminal transmission from idle port in Preset Time communication message, think that then communication interaction finishes, discharge this idle port, and to source portable terminal and destination mobile terminal transmit port release message, thereby resource is fully used, has avoided the waste that is caused by long-time ineffective occupation.
Fig. 2 is the flow chart that the present invention is based on another embodiment of IP communication means of portable terminal, and as shown in Figure 2, the method comprises:
Step 200, the source portable terminal passes through server to described NAT and sends the interface querying request message that comprises source portable terminal public network address information according to the IP address that the NAT that prestores passes through server;
Step 201, if described source portable terminal receives described NAT and passes through the interface querying response that comprises the idle port sign that server returns, then described idle port sign and described NAT are passed through the IP address of server as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net send to described destination mobile terminal, so that passing through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT, described destination mobile terminal sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
The concrete handling process of each step in the IP communication means of the movement-based terminal that present embodiment provides can be referring to above-mentioned embodiment of the method shown in Figure 1, and its realization principle and technique effect are similar, repeat no more herein.
Fig. 3 is the flow chart that the present invention is based on the another embodiment of IP communication means of portable terminal, and as shown in Figure 3, the method comprises:
Step 300, destination mobile terminal reception sources portable terminal sends by the mobile switch net, be used for communicating mutual mailing address information with described destination mobile terminal by IP tunnel, described mailing address information comprises: NAT passes through IP address and the idle port sign of server, wherein, to be the described source portable terminal IP address of passing through server according to the described NAT that prestores pass through server to described NAT to described mailing address information sends and comprise the interface querying request message of source portable terminal public network address information, and receive described NAT and pass through and generate after the interface querying response that comprises the idle port sign that server returns;
Step 301, described destination mobile terminal passes through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT and sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
The concrete handling process of each step in the IP communication means of the movement-based terminal that present embodiment provides can be referring to above-mentioned embodiment of the method shown in Figure 1, and its realization principle and technique effect are similar, repeat no more herein.
Further, send by the mobile switch net at destination mobile terminal reception sources portable terminal, be used for communicating mutual mailing address information by IP tunnel with destination mobile terminal after, whether destination mobile terminal is legal according to the user profile that prestores checking source portable terminal, communicates alternately with the source portable terminal determining whether.Need to prove that the method that destination mobile terminal is verified portable terminal according to the user profile that prestores is a lot, such as white list technology or blacklist technology, thereby guaranteed communication security between source portable terminal and the destination mobile terminal.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 4 is the structural representation that NAT of the present invention passes through an embodiment of server, as shown in Figure 4, this NAT passes through server and comprises: the first receiver module 11, the first processing module 12, the second processing module 13 and communication module 14, wherein, the first receiver module 11 is used for reception sources portable terminal interface querying request message that send, that comprise source portable terminal public network address information; If being used for judging, the first processing module 12 knows that self has idle port, then return the interface querying response that comprises the idle port sign to the source portable terminal, so that the IP address that the source portable terminal passes through idle port sign and the local NAT that prestores server is as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and the mailing address information exchange is crossed the mobile switch net sends to destination mobile terminal; The second processing module 13 is used for from idle port receiving target portable terminal according to mailing address information communication registration message that send, that comprise destination mobile terminal public network address information, and the mapping relations between the source of preservation portable terminal public network address information, mailing address information and the destination mobile terminal public network address information three; Communication module 14 is used for according to mapping relations the source address information that source portable terminal or destination mobile terminal send to the communication message of idle port being replaced with mailing address information, and send to destination mobile terminal or source portable terminal, thereby adopt idle port to finish communication interaction.
Further, the second processing module 13, if also be used in Preset Time not the communication message that sends from idle port reception sources portable terminal or destination mobile terminal, releasing idling port then, and to source portable terminal and destination mobile terminal transmit port release message.
The NAT that present embodiment provides passes through function and the handling process of each module in the server, can be referring to above-mentioned embodiment of the method shown in Figure 1, and its realization principle and technique effect are similar, repeat no more herein.
Fig. 5 is the structural representation of an embodiment of portable terminal of the present invention, as shown in Figure 5, this portable terminal comprises: enquiry module 21 and the 3rd processing module 22, wherein, enquiry module 21 is used for passing through according to the NAT that prestores the IP address of server, passes through server to NAT and sends the interface querying request message that comprises source portable terminal public network address information; If being used for receiving NAT, the 3rd processing module 22 passes through the interface querying response that comprises the idle port sign that server returns, then idle port sign and NAT are passed through the IP address of server as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and the mailing address information exchange is crossed the mobile switch net send to destination mobile terminal, so that passing through idle port corresponding with the idle port sign on the server according to mailing address information to NAT, destination mobile terminal sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for NAT and preserve source portable terminal public network address information, mapping relations between mailing address information and the destination mobile terminal public network address information three, according to mapping relations the source address information that source portable terminal or destination mobile terminal send to the communication message of idle port is replaced with mailing address information, and send to destination mobile terminal or source portable terminal, thereby adopt idle port to finish communication interaction.
The function of each module and handling process in the portable terminal that present embodiment provides can be referring to above-mentioned embodiments of the method shown in Figure 2, and its realization principle and technique effect are similar, repeat no more herein.
Fig. 6 is the structural representation of another embodiment of portable terminal of the present invention, as shown in Figure 6, this portable terminal comprises: the second receiver module 31 and sending module 32, wherein, the second receiver module 31 sends by the mobile switch net for the reception sources portable terminal, be used for communicating mutual mailing address information with destination mobile terminal by IP tunnel, mailing address information comprises: NAT passes through IP address and the idle port sign of server, wherein, to be the source portable terminal IP address of passing through server according to the NAT that prestores pass through server to NAT to mailing address information sends and comprise the interface querying request message of source portable terminal public network address information, and receive NAT and pass through and generate after the interface querying response that comprises the idle port sign that server returns; Sending module 32 is used for passing through idle port corresponding with the idle port sign on the server according to mailing address information to NAT and sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for NAT and preserve source portable terminal public network address information, mapping relations between mailing address information and the destination mobile terminal public network address information three, according to mapping relations the source address information that source portable terminal or destination mobile terminal send to the communication message of idle port is replaced with mailing address information, and send to destination mobile terminal or source portable terminal, thereby adopt idle port to finish communication interaction.
The function of each module and handling process in the portable terminal that present embodiment provides can be referring to above-mentioned embodiments of the method shown in Figure 3, and its realization principle and technique effect are similar, repeat no more herein.
Fig. 7 is the structural representation that the present invention is based on the unified embodiment of IP communication system of portable terminal, as shown in Figure 7, this system comprises: source portable terminal 1, destination mobile terminal 2, and NAT passes through server 3, wherein, the present invention's portable terminal that provides embodiment illustrated in fig. 5 can be provided source portable terminal 1, and the present invention's portable terminal that provides embodiment illustrated in fig. 6 can be provided destination mobile terminal 2, and NAT passes through server 3 and can adopt the NAT that provides in the embodiment of the invention to pass through server.
Function and the handling process of each module in the IP communication system of the movement-based terminal that present embodiment provides can be referring to the embodiments of the method shown in above-mentioned, and it realizes that principle and technique effect are similar, repeats no more herein.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the IP communication means of a movement-based terminal is characterized in that, comprising:
Network address translation NAT passes through server reception sources portable terminal interface querying request message that send, that comprise source portable terminal public network address information;
Judgement knows that self has idle port if described NAT passes through server, then return the interface querying response that comprises the idle port sign to described source portable terminal, so that the IP address that described source portable terminal passes through described idle port sign and the local described NAT that prestores server is as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net sends to described destination mobile terminal;
Described NAT passes through server and receives from described idle port that described destination mobile terminal sends according to described mailing address information, the communication registration message that comprises destination mobile terminal public network address information, and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
2. the IP communication means of movement-based terminal according to claim 1 is characterized in that, described method also comprises:
If described NAT passes through server does not receive described source portable terminal or the transmission of described destination mobile terminal from described idle port in Preset Time communication message, then discharge described idle port, and to described source portable terminal and described destination mobile terminal transmit port release message.
3. the IP communication means of a movement-based terminal is characterized in that, comprising:
The source portable terminal passes through server to described NAT and sends the interface querying request message that comprises source portable terminal public network address information according to the IP address that the NAT that prestores passes through server;
If described source portable terminal receives described NAT and passes through the interface querying response that comprises the idle port sign that server returns, then described idle port sign and described NAT are passed through the IP address of server as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net send to described destination mobile terminal, so that passing through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT, described destination mobile terminal sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
4. the IP communication means of a movement-based terminal is characterized in that, comprising:
Destination mobile terminal reception sources portable terminal sends by the mobile switch net, be used for communicating mutual mailing address information with described destination mobile terminal by IP tunnel, described mailing address information comprises: NAT passes through IP address and the idle port sign of server, wherein, to be the described source portable terminal IP address of passing through server according to the described NAT that prestores pass through server to described NAT to described mailing address information sends and comprise the interface querying request message of source portable terminal public network address information, and receive described NAT and pass through and generate after the interface querying response that comprises the idle port sign that server returns;
Described destination mobile terminal passes through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT and sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
5. the IP communication means of movement-based terminal according to claim 4, it is characterized in that, send by the mobile switch net at described destination mobile terminal reception sources portable terminal, be used for communicating mutual mailing address information by IP tunnel with described destination mobile terminal after, described method also comprises:
Described destination mobile terminal verifies according to the user profile that prestores whether described source portable terminal is legal, to determine whether carrying out described communication interaction with described source portable terminal.
6. a NAT passes through server, it is characterized in that, comprising:
The first receiver module is used for reception sources portable terminal interface querying request message that send, that comprise source portable terminal public network address information;
The first processing module, if be used for judging and know that self has idle port, then return the interface querying response that comprises the idle port sign to described source portable terminal, so that the IP address that described source portable terminal passes through described idle port sign and the local described NAT that prestores server is as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net sends to described destination mobile terminal;
The second processing module, be used for from described idle port receive that described destination mobile terminal sends according to described mailing address information, comprise the communication registration message of destination mobile terminal public network address information, and preserve the mapping relations between described source portable terminal public network address information, described mailing address information and the described destination mobile terminal public network address information three;
Communication module, be used for according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port being replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
7. NAT according to claim 6 passes through server, it is characterized in that,
Described the second processing module, if also be used in Preset Time, not receiving from described idle port the communication message of described source portable terminal or the transmission of described destination mobile terminal, then discharge described idle port, and to described source portable terminal and described destination mobile terminal transmit port release message.
8. a portable terminal is characterized in that, comprising:
Enquiry module for the IP address of passing through server according to the NAT that prestores, passes through server to described NAT and sends the interface querying request message that comprises source portable terminal public network address information;
The 3rd processing module, pass through the interface querying response that comprises the idle port sign that server returns if be used for receiving described NAT, then described idle port sign and described NAT are passed through the IP address of server as communicating mutual mailing address information with destination mobile terminal by IP tunnel, and described mailing address information exchange is crossed the mobile switch net send to described destination mobile terminal, so that passing through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT, described destination mobile terminal sends the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
9. a portable terminal is characterized in that, comprising:
The second receiver module, send by the mobile switch net for the reception sources portable terminal, be used for communicating mutual mailing address information with destination mobile terminal by IP tunnel, described mailing address information comprises: NAT passes through IP address and the idle port sign of server, wherein, to be the described source portable terminal IP address of passing through server according to the described NAT that prestores pass through server to described NAT to described mailing address information sends and comprise the interface querying request message of source portable terminal public network address information, and receive described NAT and pass through and generate after the interface querying response that comprises the idle port sign that server returns;
Sending module, be used for passing through idle port corresponding with described idle port sign on the server according to described mailing address information to described NAT and send the communication registration message that comprises destination mobile terminal public network address information, pass through server for described NAT and preserve described source portable terminal public network address information, mapping relations between described mailing address information and the described destination mobile terminal public network address information three, according to described mapping relations the source address information that described source portable terminal or described destination mobile terminal send to the communication message of described idle port is replaced with described mailing address information, and send to described destination mobile terminal or described source portable terminal, thereby adopt described idle port to finish described communication interaction.
10. the IP communication system of a movement-based terminal, it is characterized in that, comprise: source portable terminal, destination mobile terminal, and pass through server such as claim 6 or 7 described NAT, wherein, described source portable terminal is portable terminal as claimed in claim 8, and described destination mobile terminal is portable terminal as claimed in claim 9.
CN201210514980.8A 2012-12-04 2012-12-04 IP communication method, equipment and system based on mobile terminals Active CN102984697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210514980.8A CN102984697B (en) 2012-12-04 2012-12-04 IP communication method, equipment and system based on mobile terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210514980.8A CN102984697B (en) 2012-12-04 2012-12-04 IP communication method, equipment and system based on mobile terminals

Publications (2)

Publication Number Publication Date
CN102984697A true CN102984697A (en) 2013-03-20
CN102984697B CN102984697B (en) 2015-07-08

Family

ID=47858343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210514980.8A Active CN102984697B (en) 2012-12-04 2012-12-04 IP communication method, equipment and system based on mobile terminals

Country Status (1)

Country Link
CN (1) CN102984697B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888511A (en) * 2014-02-20 2014-06-25 北京哈工大计算机网络与信息安全技术研究中心 Remote access control method based on dynamic proxy
CN110445883A (en) * 2018-05-03 2019-11-12 海信集团有限公司 A kind of communication means and device of Internet of Things
CN110602655A (en) * 2019-08-26 2019-12-20 深圳市丰润达科技有限公司 Short message-based equipment communication address modification method and device and readable storage medium
CN113055353A (en) * 2019-12-28 2021-06-29 中移(成都)信息通信科技有限公司 Data transmission method, device, equipment and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1074138A1 (en) * 1998-04-23 2001-02-07 Lucent Technologies Remote Access Business Unit System and method for network address translation as an external service in the access server of a service provider
CN1677949A (en) * 2004-03-31 2005-10-05 华为技术有限公司 Method for realizing communication between equipments in network
CN102055816A (en) * 2010-12-28 2011-05-11 华为技术有限公司 Communication method, business server, intermediate equipment, terminal and communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1074138A1 (en) * 1998-04-23 2001-02-07 Lucent Technologies Remote Access Business Unit System and method for network address translation as an external service in the access server of a service provider
CN1677949A (en) * 2004-03-31 2005-10-05 华为技术有限公司 Method for realizing communication between equipments in network
CN102055816A (en) * 2010-12-28 2011-05-11 华为技术有限公司 Communication method, business server, intermediate equipment, terminal and communication system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888511A (en) * 2014-02-20 2014-06-25 北京哈工大计算机网络与信息安全技术研究中心 Remote access control method based on dynamic proxy
CN110445883A (en) * 2018-05-03 2019-11-12 海信集团有限公司 A kind of communication means and device of Internet of Things
CN110602655A (en) * 2019-08-26 2019-12-20 深圳市丰润达科技有限公司 Short message-based equipment communication address modification method and device and readable storage medium
CN113055353A (en) * 2019-12-28 2021-06-29 中移(成都)信息通信科技有限公司 Data transmission method, device, equipment and computer readable medium
CN113055353B (en) * 2019-12-28 2023-04-25 中移(成都)信息通信科技有限公司 Data transmission method, device, equipment and computer readable medium

Also Published As

Publication number Publication date
CN102984697B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN102790813B (en) Communication method as well as system and terminal equipment based on IPv6 (internet protocol version 6) network
US20130136126A1 (en) Data center network system and packet forwarding method thereof
US9882866B2 (en) Address allocating method, apparatus, and system
US9031074B2 (en) Method and apparatus for packet call setup
KR101995145B1 (en) Method operating in a fixed access network and ues
US20170366978A1 (en) Network Path Probing Using Available Network Connections
CN102802227B (en) Based on the data processing method of base station direct connection framework, equipment and system
CN103414798B (en) The communication means of address transition Network Based, equipment and system
CN105245629A (en) DHCP-based host communication method and device
CN104168338A (en) Network address conversion device and network address conversion method
CN102724209A (en) Session initialization protocol (SIP)-based file transmission method, terminal and application server
CN102984697B (en) IP communication method, equipment and system based on mobile terminals
CN103312749A (en) Discovery method, equipment and system for application layer flow optimization (ALTO) server
CN102984696B (en) Based on the IP communication means of mobile terminal, equipment and system
RU2016113280A (en) CONNECTING BASE STATIONS THROUGH AN EXTERNAL NETWORK
CN104125145A (en) Web browser based communication method, web browser based communication equipment and web browser based communication system
CN103581361A (en) Domain name resolution proxy method, device and system
CN103987098B (en) IPV4 networks and the internetwork switching methods of IPV6 and system
CN102984261A (en) Network service login method, equipment and system based on mobile telephone terminal
CN104488240A (en) Session management method, address management method and relevant device
CN105897542B (en) Tunnel establishment method and video monitoring system
CN102970387A (en) Domain name resolution method, device and system
CN103167483A (en) Method, equipment and system for data switching based on tunnel
CN110012107A (en) A kind of data communications method, unit, system and storage medium
CA2565536A1 (en) Supporting a network behind a wireless station

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