CN102984696A - 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
CN102984696A
CN102984696A CN2012105137158A CN201210513715A CN102984696A CN 102984696 A CN102984696 A CN 102984696A CN 2012105137158 A CN2012105137158 A CN 2012105137158A CN 201210513715 A CN201210513715 A CN 201210513715A CN 102984696 A CN102984696 A CN 102984696A
Authority
CN
China
Prior art keywords
mobile terminal
destination mobile
address information
server
portable terminal
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
CN2012105137158A
Other languages
Chinese (zh)
Other versions
CN102984696B (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 CN201210513715.8A priority Critical patent/CN102984696B/en
Publication of CN102984696A publication Critical patent/CN102984696A/en
Application granted granted Critical
Publication of CN102984696B publication Critical patent/CN102984696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an IP (Internet Protocol) communication method, equipment and a system based on mobile terminals. The method comprises the following steps: after an SIP (Session Initiation Protocol) server receives a service request message which is transmitted by a source mobile terminal, an idle port identity is obtained by inquiring an NAT (Network Address Translator) traversal server; and then 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 between the source mobile terminal and a target mobile terminal through an IP channel to be transmitted to the source mobile terminal and the target mobile terminal, so that the source mobile terminal and the target mobile terminal can finish the communication interaction by an idle port. Through the IP communication method, the equipment and the system based on the mobile terminals provided by the invention, 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:
That session initiation protocol sip server reception sources portable terminal sends, be used for request and communicate mutual business request information with destination mobile terminal by IP tunnel, comprise in the described business request information: source portable terminal public network address information and destination mobile terminal identification information;
Described sip server is according to the terminal address acquisition of information destination mobile terminal public network address information corresponding with described destination mobile terminal identification information of this locality storage, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address of passing through server according to the network address translation NAT that prestores, described interface querying request message comprises described source portable terminal public network address information and described destination mobile terminal public network address information, and passing through server for described NAT is that described communication interaction distributes idle port;
Described sip server receives described NAT and passes through that server returns, as to comprise idle port sign interface querying response, and the IP address of described idle port sign and described NAT being passed through server sends to described source portable terminal and described destination mobile terminal as the mailing address information of described communication interaction, adopts described idle port to finish described communication interaction for described source portable terminal and described destination mobile terminal.
The present invention provides a kind of IP communication means of movement-based terminal on the other hand, comprising:
NAT passes through server and receives sip server interface querying request message that send, that comprise source portable terminal public network address information and destination mobile 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 that idle port identifies to described sip server, for described sip server described idle port sign and the IP address that the local NAT that stores passes through server are communicated mutual mailing address information and send to described source portable terminal and described destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal;
Described NAT passes through the mapping relations between the described source of server stores portable terminal public network address information, 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 sip server, comprising:
The first receiver module, be used for that the reception sources portable terminal sends, be used for request and communicate mutual business request information with destination mobile terminal by IP tunnel, comprise in the described business request information: source portable terminal public network address information and destination mobile terminal identification information;
The first processing module, be used for the terminal address acquisition of information destination mobile terminal public network address information corresponding with described destination mobile terminal identification information according to this locality storage, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address of passing through server according to the network address translation NAT that prestores, described interface querying request message comprises described source portable terminal public network address information and described destination mobile terminal public network address information, and passing through server for described NAT is that described communication interaction distributes idle port;
The second processing module, be used for receiving described NAT and pass through that server returns, as to comprise idle port sign interface querying response, and the IP address of described idle port sign and described NAT being passed through server sends to described source portable terminal and described destination mobile terminal as the mailing address information of described communication interaction, adopts described idle port to finish described communication interaction for described source portable terminal and described destination mobile terminal.
The present invention provides a kind of NAT to pass through server on the other hand, comprising:
The second receiver module is used for receiving sip server interface querying request message that send, that comprise source portable terminal public network address information and destination mobile terminal public network address information;
The 3rd processing module, if be used for judging and know that self has idle port, then return the interface querying response that comprises that idle port identifies to described sip server, for described sip server described idle port sign and the IP address that the local NAT that stores passes through server are communicated mutual mailing address information and send to described source portable terminal and described destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal;
Communication module, be used for storing 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, 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, comprising: source portable terminal, destination mobile terminal, and above-mentioned sip server and NAT pass through server, wherein, described sip server passes through server with described NAT and is connected.
The IP communication means of the movement-based terminal that the embodiment of the invention provides, equipment and system, after the business request information that sip server reception sources portable terminal sends, pass through server by inquiry NAT and obtain the idle port sign, then the IP address of idle port sign and NAT being passed through server communicates mutual mailing address information and sends to source portable terminal and destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal, so that source portable terminal and destination mobile terminal adopt idle port to finish communication interaction, 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 structural representation of an embodiment of sip server of the present invention;
Fig. 4 is the structural representation that NAT of the present invention passes through an embodiment of server;
Fig. 5 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, that session initiation protocol sip server reception sources portable terminal sends, be used for request and communicate mutual business request information with destination mobile terminal by IP tunnel, comprise in the described business request information: source portable terminal public network address information and destination mobile terminal identification information;
When two portable terminals under being in different private networks carry out IP communication, the source portable terminal is at first to session initiation protocol (Session Initiation Protocol, SIP) server sends and is used for asking to communicate mutual business request information with destination mobile terminal by IP tunnel, be specially: it is the business request information that comprises the destination mobile terminal identification information that private network IP address and port numbers send that the NAT gateway reception sources portable terminal corresponding with portable terminal place, source private network 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 send business request information to sip server, comprise in this business request information: source portable terminal public network address information and destination mobile terminal identification information, thus the business request information that sip server sends the NAT gateway is resolved and is obtained source portable terminal public network address information and destination mobile terminal identification information.
Step 101, described sip server is according to the terminal address acquisition of information destination mobile terminal public network address information corresponding with described destination mobile terminal identification information of this locality storage, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address of passing through server according to the network address translation NAT that prestores, described interface querying request message comprises described source portable terminal public network address information and described destination mobile terminal public network address information, and passing through server for described NAT is that described communication interaction distributes idle port;
Sip server is after obtaining source portable terminal public network address information and destination mobile terminal identification information, at first according to the local terminal address information of storing of destination mobile terminal identification information inquiry, wherein, terminal address information comprises the corresponding relation of mobile terminal identification information and portable terminal public network address information, thus the destination mobile terminal public network address information corresponding with the destination mobile terminal identification information according to the terminal address acquisition of information.Then server transmit port inquiry request message is passed through to the NAT of correspondence in the sip server IP address of passing through server according to the NAT that prestores, this interface querying request message comprises source portable terminal public network address information and destination mobile terminal public network address information, thereby NAT passes through server and receives the interface querying request message that sip server sends, and the communication interaction distribution idle port for being undertaken by IP tunnel between source portable terminal and the destination mobile terminal, be specially: NAT passes through server lookup self and whether has idle port, if, then return the interface querying response that comprises the idle port sign to sip server, and idle port sign and the IP address of self communicated mutual mailing address information as source portable terminal and destination mobile terminal by IP tunnel, and the source of storage portable terminal public network address information, mapping relations between mailing address information and the destination mobile terminal public network address information three.
It should be noted that, sip server 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 102, described sip server receives described NAT and passes through that server returns, as to comprise idle port sign interface querying response, and the IP address of described idle port sign and described NAT being passed through server sends to described source portable terminal and described destination mobile terminal as the mailing address information of described communication interaction, adopts described idle port to finish described communication interaction for described source portable terminal and described destination mobile terminal.
Sip server receives NAT and passes through that server returns, after comprising the interface querying response of idle port sign, the IP address of idle port sign and NAT being passed through server communicates mutual mailing address information as source portable terminal and destination mobile terminal by IP tunnel, and according to source portable terminal public network address information and destination mobile terminal public network address information this mailing address information is sent to the separately corresponding NAT gateway of private network at place of source portable terminal and destination mobile terminal, by the NAT gateway this mailing address information is sent to source portable terminal and destination mobile terminal, thereby source portable terminal and destination mobile terminal communicate according to the idle port that mailing address information adopts NAT to pass through on the server alternately.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, according to pre-stored 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, after the business request information that sip server reception sources portable terminal sends, pass through server by inquiry NAT and obtain the idle port sign, then the IP address of idle port sign and NAT being passed through server communicates mutual mailing address information and sends to source portable terminal and destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal, so that source portable terminal and destination mobile terminal adopt idle port to finish communication interaction, 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, sip server sends to destination mobile terminal according to destination mobile terminal public network address information with mailing address information and specifically comprises:
The source mobile terminal identification information that sip server is corresponding with source portable terminal public network address information according to the terminal address acquisition of information, then send the address assignment message that comprises mailing address information and source mobile terminal identification information to destination mobile terminal according to destination mobile terminal public network address information, after destination mobile terminal receives the address assignment message of sip server transmission, whether legal according to the user profile checking source mobile terminal identification information that prestores, to determine whether adopting idle port to communicate alternately with the source portable terminal.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.
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, NAT passes through server and receives sip server interface querying request message that send, that comprise source portable terminal public network address information and destination mobile terminal public network address information;
When obtaining, sip server is in after wish communicates the public network address information of mutual source portable terminal and destination mobile terminal under the different private networks by IP tunnel, server transmit port inquiry request message is passed through to the NAT of correspondence in sip server passes through server according to the NAT that prestores IP address, this interface querying request message comprises source portable terminal public network address information and destination mobile terminal public network address information, receives the interface querying request message that sip server sends thereby NAT passes through server.
It should be noted that, sip server 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 201, judgement knows that self has idle port if described NAT passes through server, then return the interface querying response that comprises that idle port identifies to described sip server, for described sip server described idle port sign and the IP address that the local NAT that stores passes through server are communicated mutual mailing address information and send to described source portable terminal and described destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal;
After NAT passes through the interface querying request message of server reception sip server transmission, for the communication interaction that is undertaken by IP tunnel between source portable terminal and the destination mobile terminal distributes idle port, be specially: NAT passes through server lookup self and whether has idle port, if, then return the interface querying response that comprises the idle port sign to sip server, thereby sip server receives NAT and passes through that server returns, after comprising the interface querying response of idle port sign, the IP address of idle port sign and NAT being passed through server communicates mutual mailing address information as source portable terminal and destination mobile terminal by IP tunnel, and according to source portable terminal public network address information and destination mobile terminal public network address information this mailing address information is sent to the separately corresponding NAT gateway of private network at place of source portable terminal and destination mobile terminal, by the NAT gateway this mailing address information is sent to source portable terminal and destination mobile terminal, thereby source portable terminal and destination mobile terminal communicate according to the idle port that mailing address information adopts NAT to pass through on the server alternately.
Step 202, described NAT passes through the mapping relations between the described source of server stores portable terminal public network address information, 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 NAT passes through server and returns the interface querying response that comprises idle port sign to sip server, idle port sign and the IP address of self are communicated mutual mailing address information as source portable terminal and destination mobile terminal by IP tunnel, and the mapping relations between storage source portable terminal public network address information, mailing address information and the destination mobile terminal public network address information three are finished between source portable terminal and the destination mobile terminal communication interaction by IP tunnel was carried out to adopt idle port 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, according to pre-stored 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, after the business request information that sip server reception sources portable terminal sends, pass through server by inquiry NAT and obtain the idle port sign, then the IP address of idle port sign and NAT being passed through server communicates mutual mailing address information and sends to source portable terminal and destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal, so that source portable terminal and destination mobile terminal adopt idle port to finish communication interaction, 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.
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. 3 is the structural representation of an embodiment of sip server of the present invention, as shown in Figure 3, this sip server comprises: the first receiver module 11, the first processing module 12 and the second processing module 13, wherein, that the first receiver module 11 is used for is that the reception sources portable terminal sends, be used for request communicates mutual business request information with destination mobile terminal by IP tunnel, comprises in the business request information: source portable terminal public network address information and destination mobile terminal identification information; The terminal address acquisition of information destination mobile terminal public network address information corresponding with the destination mobile terminal identification information that the first processing module 12 is used for according to this locality storage, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address of passing through server according to the network address translation NAT that prestores, the interface querying request message comprises source portable terminal public network address information and destination mobile terminal public network address information, and passing through server for NAT is that communication interaction distributes idle port; The second processing module 13 is used for receiving NAT and passes through that server returns, as to comprise idle port sign interface querying response, and the IP address of idle port sign and NAT being passed through server sends to source portable terminal and destination mobile terminal as the mailing address information of communication interaction, finishes communication interaction for source portable terminal and destination mobile terminal employing idle port.
Further, the first processing module 12 also is used for the source mobile terminal identification information corresponding with source portable terminal public network address information according to the terminal address acquisition of information; The second processing module 13 specifically is used for: receive NAT and pass through that server returns, comprise the interface querying response of idle port sign, and the IP address of idle port sign and NAT being passed through server sends to the source portable terminal as the mailing address information of communication interaction, and the address assignment message that comprises mailing address information and source mobile terminal identification information to the destination mobile terminal transmission, whether legal according to the user profile checking source mobile terminal identification information that prestores for destination mobile terminal, to determine whether adopting idle port to communicate alternately with the source portable terminal.
The function of each module and handling process in the sip server that present embodiment provides can be referring to above-mentioned embodiments of the method shown in Figure 1, and its realization principle and technique effect are similar, repeat no more herein.
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 second receiver module 21, the 3rd processing module 22 and communication module 23, wherein, the second receiver module 21 is used for receiving sip server interface querying request message that send, that comprise source portable terminal public network address information and destination mobile terminal public network address information; If being used for judging, the 3rd processing module 22 knows that self has idle port, then return the interface querying response that comprises that idle port identifies to sip server, for sip server idle port sign and the IP address that the local NAT that stores passes through server are communicated mutual mailing address information and send to source portable terminal and destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal; The mapping relations that communication module 23 is used between storage source portable terminal public network address information, 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.
Further, communication module 23 also is used for: if the communication message that in Preset Time, does not send 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 2, and its realization principle and technique effect are similar, repeat no more herein.
Fig. 5 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 5, this system comprises: source portable terminal 1, destination mobile terminal 2, and sip server 3 and NAT pass through server 4, sip server 3 passes through server 4 with NAT and is connected.Wherein, sip server 3 and NAT pass through server 4 and can adopt the sip server and the NAT that provide in the embodiment of the invention to pass through server, and source portable terminal 1 and destination mobile terminal 2 can be source portable terminal and destination mobile terminal related in the embodiment of the invention.
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 (9)

1. the IP communication means of a movement-based terminal is characterized in that, comprising:
That session initiation protocol sip server reception sources portable terminal sends, be used for request and communicate mutual business request information with destination mobile terminal by IP tunnel, comprise in the described business request information: source portable terminal public network address information and destination mobile terminal identification information;
Described sip server is according to the terminal address acquisition of information destination mobile terminal public network address information corresponding with described destination mobile terminal identification information of this locality storage, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address of passing through server according to the network address translation NAT that prestores, described interface querying request message comprises described source portable terminal public network address information and described destination mobile terminal public network address information, and passing through server for described NAT is that described communication interaction distributes idle port;
Described sip server receives described NAT and passes through that server returns, as to comprise idle port sign interface querying response, and the IP address of described idle port sign and described NAT being passed through server sends to described source portable terminal and described destination mobile terminal as the mailing address information of described communication interaction, adopts described idle port to finish described communication interaction for described source portable terminal and described destination mobile terminal.
2. the IP communication means of movement-based terminal according to claim 1 is characterized in that, described mailing address information is sent to described destination mobile terminal specifically comprise:
The source mobile terminal identification information that described sip server is corresponding with described source portable terminal public network address information according to described terminal address acquisition of information;
Described sip server sends the address assignment message that comprises described mailing address information and described source mobile terminal identification information to described destination mobile terminal, verify according to the user profile that prestores whether described source mobile terminal identification information is legal for described destination mobile terminal, to determine whether adopting described idle port to carry out described communication interaction with described source portable terminal.
3. the IP communication means of a movement-based terminal is characterized in that, comprising:
NAT passes through server and receives sip server interface querying request message that send, that comprise source portable terminal public network address information and destination mobile 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 that idle port identifies to described sip server, for described sip server described idle port sign and the IP address that the local NAT that stores passes through server are communicated mutual mailing address information and send to described source portable terminal and described destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal;
Described NAT passes through the mapping relations between the described source of server stores portable terminal public network address information, 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 movement-based terminal according to claim 3 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.
5. a sip server is characterized in that, comprising:
The first receiver module, be used for that the reception sources portable terminal sends, be used for request and communicate mutual business request information with destination mobile terminal by IP tunnel, comprise in the described business request information: source portable terminal public network address information and destination mobile terminal identification information;
The first processing module, be used for the terminal address acquisition of information destination mobile terminal public network address information corresponding with described destination mobile terminal identification information according to this locality storage, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address of passing through server according to the network address translation NAT that prestores, described interface querying request message comprises described source portable terminal public network address information and described destination mobile terminal public network address information, and passing through server for described NAT is that described communication interaction distributes idle port;
The second processing module, be used for receiving described NAT and pass through that server returns, as to comprise idle port sign interface querying response, and the IP address of described idle port sign and described NAT being passed through server sends to described source portable terminal and described destination mobile terminal as the mailing address information of described communication interaction, adopts described idle port to finish described communication interaction for described source portable terminal and described destination mobile terminal.
6. sip server according to claim 5 is characterized in that,
Described the first processing module also is used for the source mobile terminal identification information corresponding with described source portable terminal public network address information according to described terminal address acquisition of information;
Described the second processing module specifically is used for: receive described NAT and pass through that server returns, comprise the interface querying response of idle port sign, and the IP address of described idle port sign and described NAT being passed through server sends to described source portable terminal as the mailing address information of described communication interaction, and the address assignment message that comprises described mailing address information and described source mobile terminal identification information to described destination mobile terminal transmission, verify according to the user profile that prestores whether described source mobile terminal identification information is legal for described destination mobile terminal, to determine whether adopting described idle port to carry out described communication interaction with described source portable terminal.
7. a NAT passes through server, it is characterized in that, comprising:
The second receiver module is used for receiving sip server interface querying request message that send, that comprise source portable terminal public network address information and destination mobile terminal public network address information;
The 3rd processing module, if be used for judging and know that self has idle port, then return the interface querying response that comprises that idle port identifies to described sip server, for described sip server described idle port sign and the IP address that the local NAT that stores passes through server are communicated mutual mailing address information and send to described source portable terminal and described destination mobile terminal by IP tunnel as source portable terminal and destination mobile terminal;
Communication module, be used for storing 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, 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.
8. NAT according to claim 7 passes through server, it is characterized in that,
Described communication module also is used for: if do not receive the communication message of described source portable terminal or the transmission of described destination mobile terminal from described idle port in Preset Time, then discharge described idle port, and to described source portable terminal and described destination mobile terminal transmit port release message.
9. the IP communication system of a movement-based terminal, it is characterized in that, comprise: source portable terminal, destination mobile terminal, and such as claim 5 or 6 described sip servers, pass through server such as claim 7 or 8 described NAT, wherein, described sip server passes through server with described NAT and is connected.
CN201210513715.8A 2012-12-04 2012-12-04 Based on the IP communication means of mobile terminal, equipment and system Active CN102984696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210513715.8A CN102984696B (en) 2012-12-04 2012-12-04 Based on the IP communication means of mobile terminal, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210513715.8A CN102984696B (en) 2012-12-04 2012-12-04 Based on the IP communication means of mobile terminal, equipment and system

Publications (2)

Publication Number Publication Date
CN102984696A true CN102984696A (en) 2013-03-20
CN102984696B CN102984696B (en) 2015-09-16

Family

ID=47858342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210513715.8A Active CN102984696B (en) 2012-12-04 2012-12-04 Based on the IP communication means of mobile terminal, equipment and system

Country Status (1)

Country Link
CN (1) CN102984696B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414797A (en) * 2013-07-31 2013-11-27 中国联合网络通信集团有限公司 Port assignment method and device of NAT traversing server
CN103929438A (en) * 2014-05-06 2014-07-16 中国联合网络通信集团有限公司 Firewall traversal method, equipment and system based on web page browser communication
CN109688124A (en) * 2018-12-20 2019-04-26 高新兴国迈科技有限公司 A kind of method for interchanging data based on video boundaries
CN112749049A (en) * 2019-10-29 2021-05-04 上海达龙信息科技有限公司 Method, system, device and storage medium for providing idle equipment of internet bar
CN113612972A (en) * 2021-08-09 2021-11-05 深圳市猿人创新科技有限公司 Terminal monitoring equipment communication method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2320622A1 (en) * 1999-10-14 2001-04-14 Dominique Helena Lucia Chantrain Method for connecting a first user-terminal to a second user-terminal, related devices and related software modules
US20050105526A1 (en) * 2003-11-18 2005-05-19 Nec Corporation Method for traversing network address translators for SIP-signaled sessions
CN1677949A (en) * 2004-03-31 2005-10-05 华为技术有限公司 Method for realizing communication between equipments in network
CN101094171A (en) * 2006-06-22 2007-12-26 华为技术有限公司 Method and system for implementing interaction of media streams, controller of media gateway, and media gateway
CN102055816A (en) * 2010-12-28 2011-05-11 华为技术有限公司 Communication method, business server, intermediate equipment, terminal and communication system
CN102664901A (en) * 2012-05-15 2012-09-12 苏州工业园区云视信息技术有限公司 Method for adaptive traversal through network address translator (NAT) in session initiation protocol (SIP) call

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2320622A1 (en) * 1999-10-14 2001-04-14 Dominique Helena Lucia Chantrain Method for connecting a first user-terminal to a second user-terminal, related devices and related software modules
US20050105526A1 (en) * 2003-11-18 2005-05-19 Nec Corporation Method for traversing network address translators for SIP-signaled sessions
CN1677949A (en) * 2004-03-31 2005-10-05 华为技术有限公司 Method for realizing communication between equipments in network
CN101094171A (en) * 2006-06-22 2007-12-26 华为技术有限公司 Method and system for implementing interaction of media streams, controller of media gateway, and media gateway
CN102055816A (en) * 2010-12-28 2011-05-11 华为技术有限公司 Communication method, business server, intermediate equipment, terminal and communication system
CN102664901A (en) * 2012-05-15 2012-09-12 苏州工业园区云视信息技术有限公司 Method for adaptive traversal through network address translator (NAT) in session initiation protocol (SIP) call

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414797A (en) * 2013-07-31 2013-11-27 中国联合网络通信集团有限公司 Port assignment method and device of NAT traversing server
CN103929438A (en) * 2014-05-06 2014-07-16 中国联合网络通信集团有限公司 Firewall traversal method, equipment and system based on web page browser communication
CN103929438B (en) * 2014-05-06 2017-02-15 中国联合网络通信集团有限公司 Firewall traversal method, equipment and system based on web page browser communication
CN109688124A (en) * 2018-12-20 2019-04-26 高新兴国迈科技有限公司 A kind of method for interchanging data based on video boundaries
CN109688124B (en) * 2018-12-20 2021-08-24 高新兴国迈科技有限公司 Data exchange method based on video boundary
CN112749049A (en) * 2019-10-29 2021-05-04 上海达龙信息科技有限公司 Method, system, device and storage medium for providing idle equipment of internet bar
CN113612972A (en) * 2021-08-09 2021-11-05 深圳市猿人创新科技有限公司 Terminal monitoring equipment communication method and device, electronic equipment and storage medium
CN113612972B (en) * 2021-08-09 2023-12-05 深圳市猿人创新科技有限公司 Communication method and device of terminal monitoring equipment, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102984696B (en) 2015-09-16

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
US8767737B2 (en) Data center network system and packet forwarding method thereof
US9031074B2 (en) Method and apparatus for packet call setup
CN102404418B (en) Method, device and system for distributing IP (internet protocol) address for user terminal
CN105245629B (en) Host communication method based on DHCP and device
CN103118147A (en) Method, equipment and system for accessing intranet server
CN103200281A (en) Method, device and system for accessing intranet server
CN102984696B (en) Based on the IP communication means of mobile terminal, equipment and system
CN101841520A (en) Domain name system and information processing method and device for domain name system
CN103414798B (en) The communication means of address transition Network Based, equipment and system
CN102724209A (en) Session initialization protocol (SIP)-based file transmission method, terminal and application server
CN103369159A (en) Call processing method and call processing device
CN104125145A (en) Web browser based communication method, web browser based communication equipment and web browser based communication system
CN104168338A (en) Network address conversion device and network address conversion method
CN102891901A (en) Dynamic domain name resolution method, server and domain name service system
US20120210008A1 (en) Method and Mobile Communication System Capable of Establishing Peer-to-Peer Transmission
CN102984697B (en) IP communication method, equipment and system based on mobile terminals
CN110012107B (en) Data communication method, equipment, device, system and storage medium
CN106878481B (en) Method, device and system for acquiring Internet Protocol (IP) address
CN102487407B (en) Network address translating method and equipment and system
CN102984261A (en) Network service login method, equipment and system based on mobile telephone terminal
CN102611623A (en) Port configuration processing method, port configuration processing device and port configuration processing system on basis of network access
CN104995610A (en) Intra-platform networking
CN104488240A (en) Session management method, address management method and relevant device
CN108848194B (en) Session establishment method between intranet clients, router and session system

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