CN102984696B - Based on the IP communication means of mobile terminal, equipment and system - Google Patents

Based on the IP communication means of mobile terminal, equipment and system Download PDF

Info

Publication number
CN102984696B
CN102984696B CN201210513715.8A CN201210513715A CN102984696B CN 102984696 B CN102984696 B CN 102984696B CN 201210513715 A CN201210513715 A CN 201210513715A CN 102984696 B CN102984696 B CN 102984696B
Authority
CN
China
Prior art keywords
mobile terminal
address information
server
nat
destination mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210513715.8A
Other languages
Chinese (zh)
Other versions
CN102984696A (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

Abstract

The invention provides a kind of IP communication means based on mobile terminal, equipment and system, wherein, the method comprises: after sip server receives the business request information of source mobile terminal transmission, pass through server by inquiry NAT and obtain idle port mark, then IP address idle port mark and NAT being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to source mobile terminal and destination mobile terminal, completes communication interaction to make source mobile terminal and destination mobile terminal employing idle port.By the IP communication means based on mobile terminal provided by the invention, equipment and system, achieve the mobile terminal be under different private network and NAT can be utilized to pass through server carry out communication interaction by IP tunnel, be conducive to advancing IP operation.

Description

Based on the IP communication means of mobile terminal, equipment and system
Technical field
The embodiment of the present invention relates to communication technical field, particularly relates to a kind of IP communication means based on mobile terminal, equipment and system.
Background technology
Along with popularizing of mobile Internet, most of mobile terminal is made to be provided with the ability of accessing Internet.Due to exhausting of public network IP address, therefore, mobile terminal is according to the private network IP address distributed by operator, by network address translation (the Network Address Translation corresponding to self, NAT) equipment access is in the Internet, thus causes mobile terminal not have the whole network addressability.Therefore, when mobile terminal A and B is in different private networks, due to the public network IP address of the other side cannot be obtained, cause between A and B and cannot carry out communication interaction by IP mode, such as: by multi-medium datas such as IP tunnel transferring voice, audio frequency, videos, there is certain limitation.
Summary of the invention
For the above-mentioned defect of prior art, the embodiment of the present invention provides a kind of IP communication means based on mobile terminal, equipment and system.
One aspect of the present invention provides a kind of IP communication means based on mobile terminal, comprising:
Session initiation protocol sip server receive that source mobile terminal sends, for asking the business request information of being carried out communication interaction with destination mobile terminal by IP tunnel, comprise in described business request information: source mobile terminal public network address information and destination mobile terminal identification information;
The terminal address information that described sip server stores according to this locality obtains the destination mobile terminal public network address information corresponding with described destination mobile terminal identification information, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address passing through server according to the network address translation NAT prestored, described interface querying request message comprises described source mobile 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 interface querying response that server returns, that comprise idle port mark, and the IP address described idle port mark and described NAT being passed through server sends to described source mobile terminal and described destination mobile terminal as the communications address information of described communication interaction, adopts described idle port to complete described communication interaction for described source mobile terminal and described destination mobile terminal.
The present invention provides a kind of IP communication means based on mobile terminal on the other hand, comprising:
NAT passes through server and receives interface querying request message that sip server sends, that comprise source mobile terminal public network address information and destination mobile terminal public network address information;
Judge to know that self has idle port if described NAT passes through server, then return the interface querying response comprising idle port mark to described sip server, the IP address for described sip server described idle port mark and the local NAT stored being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to described source mobile terminal and described destination mobile terminal;
Described NAT passes through source mobile terminal public network address information described in server stores, mapping relations between described communications address information and described destination mobile terminal public network address information three, the source address information that described source mobile terminal or described destination mobile terminal are sent to the communication message of described idle port is replaced with described communications address information according to described mapping relations, and send to described destination mobile terminal or described source mobile terminal, thus described idle port is adopted to complete described communication interaction.
Further aspect of the present invention provides a kind of sip server, comprising:
First receiver module, for receive that source mobile terminal sends, for asking to be undertaken by IP tunnel with destination mobile terminal the business request information of communication interaction, comprise in described business request information: source mobile terminal public network address information and destination mobile terminal identification information;
First processing module, terminal address information for storing according to this locality obtains the destination mobile terminal public network address information corresponding with described destination mobile terminal identification information, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address passing through server according to the network address translation NAT prestored, described interface querying request message comprises described source mobile 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;
Second processing module, interface querying response that server returns, that comprise idle port mark is passed through for receiving described NAT, and the IP address described idle port mark and described NAT being passed through server sends to described source mobile terminal and described destination mobile terminal as the communications address information of described communication interaction, adopts described idle port to complete described communication interaction for described source mobile terminal and described destination mobile terminal.
The present invention provides a kind of NAT to pass through server on the other hand, comprising:
Second receiver module, for receiving interface querying request message that sip server sends, that comprise source mobile terminal public network address information and destination mobile terminal public network address information;
3rd processing module, if know that self has idle port for judging, then return the interface querying response comprising idle port mark to described sip server, the IP address for described sip server described idle port mark and the local NAT stored being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to described source mobile terminal and described destination mobile terminal;
Communication module, for storing described source mobile terminal public network address information, mapping relations between described communications address information and described destination mobile terminal public network address information three, the source address information that described source mobile terminal or described destination mobile terminal are sent to the communication message of described idle port is replaced with described communications address information according to described mapping relations, and send to described destination mobile terminal or described source mobile terminal, thus described idle port is adopted to complete described communication interaction.
Further aspect of the present invention provides a kind of IP communication system based on mobile terminal, comprising: source mobile terminal, destination mobile terminal, and above-mentioned sip server and NAT pass through server, and wherein, described sip server passes through server with described NAT and is connected.
The IP communication means based on mobile terminal that the embodiment of the present invention provides, equipment and system, after sip server receives the business request information of source mobile terminal transmission, pass through server by inquiry NAT and obtain idle port mark, then IP address idle port mark and NAT being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to source mobile terminal and destination mobile terminal, idle port is adopted to complete communication interaction to make source mobile terminal and destination mobile terminal, thus achieve the mobile terminal be under different private network and NAT can be utilized to pass through server carry out communication interaction by IP tunnel, be conducive to advancing IP operation.
Accompanying drawing explanation
Fig. 1 is the flow chart of the IP communication means embodiment that the present invention is based on mobile terminal;
Fig. 2 is the flow chart of another embodiment of IP communication means that the present invention is based on mobile terminal;
Fig. 3 is the structural representation of a sip server of the present invention embodiment;
Fig. 4 is the structural representation that NAT of the present invention passes through a server embodiment;
Fig. 5 is the structural representation of the unified embodiment of IP communication system that the present invention is based on mobile terminal.
Embodiment
Fig. 1 is the flow chart of the IP communication means embodiment that the present invention is based on mobile terminal, and as shown in Figure 1, the method comprises:
Step 100, session initiation protocol sip server receive that source mobile terminal sends, for asking the business request information of being carried out communication interaction with destination mobile terminal by IP tunnel, comprise in described business request information: source mobile terminal public network address information and destination mobile terminal identification information;
When being under different private network two mobile terminals and carrying out IP communication, source mobile terminal is first to session initiation protocol (Session Initiation Protocol, SIP) server is sent for asking the business request information of being carried out communication interaction with destination mobile terminal by IP tunnel, be specially: the NAT gateway corresponding with mobile terminal place, source private network receives the business request information comprising destination mobile terminal identification information that source mobile terminal adopts pre-assigned private net address information and private network IP address and port numbers to send, NAT gateway is according to prestore, the private net address information MAP of source mobile terminal is public network address information and public network IP address and port numbers by the address information table comprising private network IP address and port numbers and public network IP address and port numbers corresponding relation, then NAT gateway adopts the public network address information of source mobile terminal to send business request information to sip server, comprise in this business request information: source mobile terminal public network address information and destination mobile terminal identification information, thus sip server carries out parsing acquisition source mobile terminal public network address information and destination mobile terminal identification information to the business request information that NAT gateway sends.
Step 101, the terminal address information that described sip server stores according to this locality obtains the destination mobile terminal public network address information corresponding with described destination mobile terminal identification information, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address passing through server according to the network address translation NAT prestored, described interface querying request message comprises described source mobile 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 acquisition source mobile terminal public network address information and destination mobile terminal identification information, first according to the terminal address information that destination mobile terminal identification information-enquiry this locality stores, wherein, terminal address information comprises the corresponding relation of mobile terminal identification information and mobile terminal public network address information, thus obtains the destination mobile terminal public network address information corresponding with destination mobile terminal identification information according to terminal address 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 prestored, this interface querying request message comprises source mobile terminal public network address information and destination mobile terminal public network address information, thus NAT passes through the interface querying request message that server receives sip server transmission, and distribute idle port for the communication interaction undertaken by IP tunnel between source mobile terminal and destination mobile terminal, be specially: NAT passes through server lookup self and whether has idle port, if, the interface querying response comprising idle port mark is then returned to sip server, and idle port mark and the IP address of self are carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel, and the source of storage mobile terminal public network address information, mapping relations between communications address information and 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 multiple NAT that needs to prestore, and one of them NAT of Stochastic choice passes through server carries out 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 interface querying response that server returns, that comprise idle port mark, and the IP address described idle port mark and described NAT being passed through server sends to described source mobile terminal and described destination mobile terminal as the communications address information of described communication interaction, adopts described idle port to complete described communication interaction for described source mobile terminal and described destination mobile terminal.
Sip server to receive NAT and passes through that server returns, after comprising the interface querying response of idle port mark, the IP address that idle port mark and NAT pass through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel, and according to source mobile terminal public network address information and destination mobile terminal public network address information this communications address information sent to the NAT gateway corresponding to private network at source mobile terminal and destination mobile terminal place separately, by NAT gateway, this communications address information is sent to source mobile terminal and destination mobile terminal, thus the idle port that source mobile terminal and destination mobile terminal adopt NAT to pass through on server according to communications address information carries out communication interaction.Be specially: to receive from idle port that source mobile terminal sent by the NAT gateway corresponding with the private network at self place when NAT passes through server, after comprising the communication message of source mobile terminal public network address information, according to the mapping relations prestored, source mobile terminal public network address information is replaced with communications 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 address information table, and this communication message is sent to destination mobile terminal, to receive from idle port that destination mobile terminal sent by the NAT gateway corresponding with the private network at self place when NAT passes through server, 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 communications address information, and according to source mobile terminal public network address information, this communication message is sent to the NAT gateway corresponding with the private network at mobile terminal place, source, and then obtain the source mobile terminal private net address information corresponding with source mobile terminal public network address information by this NAT gateway according to address information table, and this communication message is sent to source mobile terminal.
The IP communication means based on mobile terminal that the present embodiment provides, after sip server receives the business request information of source mobile terminal transmission, pass through server by inquiry NAT and obtain idle port mark, then IP address idle port mark and NAT being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to source mobile terminal and destination mobile terminal, idle port is adopted to complete communication interaction to make source mobile terminal and destination mobile terminal, thus achieve the mobile terminal be under different private network and NAT can be utilized to pass through server carry out communication interaction by IP tunnel, be conducive to advancing IP operation.
Further, communications address information sends to destination mobile terminal specifically to comprise according to destination mobile terminal public network address information by sip server:
Sip server obtains the source mobile terminal identification information corresponding with source mobile terminal public network address information according to terminal address information, then send the Address Assignment message comprising communications 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 prestored, to determine whether to adopt idle port to carry out communication interaction with source mobile terminal.It should be noted that, the method that destination mobile terminal is verified mobile terminal according to the user profile prestored is a lot, such as white list technology or black list techniques, thus ensure that the communication security between source mobile terminal and destination mobile terminal.
Fig. 2 is the flow chart of another embodiment of IP communication means that the present invention is based on mobile terminal, and as shown in Figure 2, the method comprises:
Step 200, NAT passes through server and receives interface querying request message that sip server sends, that comprise source mobile terminal public network address information and destination mobile terminal public network address information;
Be under different private network for after carried out the source mobile terminal of communication interaction and the public network address information of destination mobile terminal by IP tunnel when sip server obtains, server transmit port inquiry request message is passed through to the NAT of correspondence in sip server passes through server IP address according to the NAT prestored, this interface querying request message comprises source mobile terminal public network address information and destination mobile terminal public network address information, thus NAT passes through the interface querying request message that server receives sip server transmission.
It should be noted that, sip server can pass through the IP address of server according to practical application multiple NAT that needs to prestore, and one of them NAT of Stochastic choice passes through server carries out 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, judge to know that self has idle port if described NAT passes through server, then return the interface querying response comprising idle port mark to described sip server, the IP address for described sip server described idle port mark and the local NAT stored being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to described source mobile terminal and described destination mobile terminal;
After NAT passes through the interface querying request message of server reception sip server transmission, for the communication interaction undertaken by IP tunnel between source mobile terminal and destination mobile terminal distributes idle port, be specially: NAT passes through server lookup self and whether has idle port, if, the interface querying response comprising idle port mark is then returned to sip server, thus sip server to receive NAT passes through that server returns, after comprising the interface querying response of idle port mark, the IP address that idle port mark and NAT pass through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel, and according to source mobile terminal public network address information and destination mobile terminal public network address information this communications address information sent to the NAT gateway corresponding to private network at source mobile terminal and destination mobile terminal place separately, by NAT gateway, this communications address information is sent to source mobile terminal and destination mobile terminal, thus the idle port that source mobile terminal and destination mobile terminal adopt NAT to pass through on server according to communications address information carries out communication interaction.
Step 202, described NAT passes through source mobile terminal public network address information described in server stores, mapping relations between described communications address information and described destination mobile terminal public network address information three, the source address information that described source mobile terminal or described destination mobile terminal are sent to the communication message of described idle port is replaced with described communications address information according to described mapping relations, and send to described destination mobile terminal or described source mobile terminal, thus described idle port is adopted to complete described communication interaction.
NAT pass through server to sip server return comprise idle port mark interface querying response after, idle port mark and the IP address of self are carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel, and store source mobile terminal public network address information, mapping relations between communications address information and destination mobile terminal public network address information three, to adopt idle port to complete the communication interaction undertaken by IP tunnel between source mobile terminal and destination mobile terminal according to these mapping relations.Be specially: to receive from idle port that source mobile terminal sent by the NAT gateway corresponding with the private network at self place when NAT passes through server, after comprising the communication message of source mobile terminal public network address information, according to the mapping relations prestored, source mobile terminal public network address information is replaced with communications 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 address information table, and this communication message is sent to destination mobile terminal, to receive from idle port that destination mobile terminal sent by the NAT gateway corresponding with the private network at self place when NAT passes through server, 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 communications address information, and according to source mobile terminal public network address information, this communication message is sent to the NAT gateway corresponding with the private network at mobile terminal place, source, and then obtain the source mobile terminal private net address information corresponding with source mobile terminal public network address information by this NAT gateway according to address information table, and this communication message is sent to source mobile terminal.
The IP communication means based on mobile terminal that the present embodiment provides, after sip server receives the business request information of source mobile terminal transmission, pass through server by inquiry NAT and obtain idle port mark, then IP address idle port mark and NAT being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to source mobile terminal and destination mobile terminal, idle port is adopted to complete communication interaction to make source mobile terminal and destination mobile terminal, thus achieve the mobile terminal be under different private network and NAT can be utilized to pass through server carry out communication interaction by IP tunnel, be conducive to advancing IP operation.
Further, the idle port adopting NAT to pass through server at source mobile terminal and destination mobile terminal carries out in the process of communication interaction, if NAT passes through server does not receive source mobile terminal or destination mobile terminal transmission in Preset Time communication message from idle port, then think that communication interaction terminates, discharge this idle port, and to source mobile terminal and destination mobile terminal transmit port release message, thus resource is fully used, avoid the waste caused by long-time ineffective occupation.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Fig. 3 is the structural representation of a sip server of the present invention embodiment, as shown in Figure 3, this sip server comprises: the first receiver module 11, first processing module 12 and the second processing module 13, wherein, first receiver module 11 for receive that source mobile terminal sends, for asking to be undertaken by IP tunnel with destination mobile terminal the business request information of communication interaction, comprise in business request information: source mobile terminal public network address information and destination mobile terminal identification information; First processing module 12 obtains the destination mobile terminal public network address information corresponding with destination mobile terminal identification information for the terminal address information stored according to this locality, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address passing through server according to the network address translation NAT prestored, interface querying request message comprises source mobile 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; Second processing module 13 passes through interface querying response that server returns, that comprise idle port mark for receiving NAT, and the IP address that idle port mark and NAT are passed through server sends to source mobile terminal and destination mobile terminal as the communications address information of communication interaction, completes communication interaction with supply source mobile terminal and destination mobile terminal employing idle port.
Further, the first processing module 12, also for obtaining the source mobile terminal identification information corresponding with source mobile terminal public network address information according to terminal address information, second processing module 13 specifically for: to receive NAT and pass through that server returns, comprise the interface querying response of idle port mark, and the IP address that idle port mark and NAT are passed through server sends to source mobile terminal as the communications address information of communication interaction, and the Address Assignment message comprising communications address information and source mobile terminal identification information is sent to destination mobile terminal, whether legal according to the user profile checking source mobile terminal identification information prestored for destination mobile terminal, to determine whether to adopt idle port to carry out communication interaction with source mobile terminal.
The function of each module and handling process in the sip server that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 is the structural representation that NAT of the present invention passes through a server embodiment, 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 for receiving interface querying request message that sip server sends, that comprise source mobile terminal public network address information and destination mobile terminal public network address information; If for judging, the 3rd processing module 22 knows that self has idle port, then return the interface querying response comprising idle port mark to sip server, the IP address for sip server idle port mark and the local NAT stored being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to source mobile terminal and destination mobile terminal; Communication module 23 is for storing source mobile terminal public network address information, mapping relations between communications address information and destination mobile terminal public network address information three, communications address information is replaced with the source address information of the communication message according to mapping relations, source mobile terminal or destination mobile terminal being sent to idle port, and send to destination mobile terminal or source mobile terminal, thus idle port is adopted to complete communication interaction.
Further, communication module 23 also for: if not do not receive from idle port the communication message that source mobile terminal or destination mobile terminal send in Preset Time, then releasing idling port, and to source mobile terminal and destination mobile terminal transmit port release message.
The NAT that the present embodiment provides passes through function and the handling process of each module in server, can see the embodiment of the method shown in above-mentioned Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 5 is the structural representation of the unified embodiment of IP communication system that the present invention is based on mobile terminal, as shown in Figure 5, this system comprises: source mobile terminal 1, destination mobile terminal 2, and sip server 3 and NAT pass through server 4, and sip server 3 and NAT pass through server 4 and be connected.Wherein, sip server 3 and NAT pass through server 4 and the sip server that provides in the embodiment of the present invention and NAT can be adopted to pass through server, and source mobile terminal 1 and destination mobile terminal 2 can be source mobile terminal involved in the embodiment of the present invention and destination mobile terminal.
The function based on each module in the IP communication system of mobile terminal that the present embodiment provides and handling process, can see above-mentioned shown embodiment of the method, and it realizes principle and technique effect is similar, repeats no more herein.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (9)

1., based on an IP communication means for mobile terminal, it is characterized in that, comprising:
Session initiation protocol sip server receive that source mobile terminal sends, for asking the business request information of being carried out communication interaction with destination mobile terminal by IP tunnel, comprise in described business request information: source mobile terminal public network address information and destination mobile terminal identification information;
The terminal address information that described sip server stores according to described destination mobile terminal identification information-enquiry this locality, wherein, described terminal address information comprises the corresponding relation of mobile terminal identification information and mobile terminal public network address information, the terminal address information that described sip server stores according to this locality obtains the destination mobile terminal public network address information corresponding with described destination mobile terminal identification information, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address passing through server according to the network address translation NAT prestored, described interface querying request message comprises described source mobile terminal public network address information and described destination mobile terminal public network address information, passing through server for described NAT is that described communication interaction distributes idle port,
Described sip server receives described NAT and passes through interface querying response that server returns, that comprise idle port mark, and the IP address described idle port mark and described NAT being passed through server sends to described source mobile terminal and described destination mobile terminal as the communications address information of described communication interaction, adopts described idle port to complete described communication interaction for described source mobile terminal and described destination mobile terminal.
2. the IP communication means based on mobile terminal according to claim 1, is characterized in that, sends to described destination mobile terminal specifically to comprise described communications address information:
Described sip server obtains the source mobile terminal identification information corresponding with described source mobile terminal public network address information according to described terminal address information;
Described sip server sends the Address Assignment message comprising described communications address information and described source mobile terminal identification information to described destination mobile terminal, verify that whether described source mobile terminal identification information is legal for described destination mobile terminal according to the user profile prestored, to determine whether to adopt described idle port to carry out described communication interaction with described source mobile terminal.
3., based on an IP communication means for mobile terminal, it is characterized in that, comprising:
NAT passes through server and receives interface querying request message that sip server sends, that comprise source mobile terminal public network address information and destination mobile terminal public network address information;
Judge to know that self has idle port if described NAT passes through server, then return the interface querying response comprising idle port mark to described sip server, the IP address for described sip server described idle port mark and the local NAT stored being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to described source mobile terminal and described destination mobile terminal;
Described NAT passes through source mobile terminal public network address information described in server stores, mapping relations between described communications address information and described destination mobile terminal public network address information three, the source address information that described source mobile terminal or described destination mobile terminal are sent to the communication message of described idle port is replaced with described communications address information according to described mapping relations, and send to described destination mobile terminal or described source mobile terminal, thus described idle port is adopted to complete described communication interaction.
4. the IP communication means based on mobile terminal according to claim 3, it is characterized in that, described method also comprises:
If described NAT passes through server does not receive described source mobile terminal or the transmission of described destination mobile terminal in Preset Time communication message from described idle port, then discharge described idle port, and to described source mobile terminal and described destination mobile terminal transmit port release message.
5. a sip server, is characterized in that, comprising:
First receiver module, for receive that source mobile terminal sends, for asking to be undertaken by IP tunnel with destination mobile terminal the business request information of communication interaction, comprise in described business request information: source mobile terminal public network address information and destination mobile terminal identification information;
First processing module, for the terminal address information stored according to described destination mobile terminal identification information-enquiry this locality, wherein, described terminal address information comprises the corresponding relation of mobile terminal identification information and mobile terminal public network address information, the terminal address information of described first processing module also for storing according to this locality obtains the destination mobile terminal public network address information corresponding with described destination mobile terminal identification information, and server transmit port inquiry request message is passed through to the NAT of correspondence in the IP address passing through server according to the network address translation NAT prestored, described interface querying request message comprises described source mobile terminal public network address information and described destination mobile terminal public network address information, passing through server for described NAT is that described communication interaction distributes idle port,
Second processing module, interface querying response that server returns, that comprise idle port mark is passed through for receiving described NAT, and the IP address described idle port mark and described NAT being passed through server sends to described source mobile terminal and described destination mobile terminal as the communications address information of described communication interaction, adopts described idle port to complete described communication interaction for described source mobile terminal and described destination mobile terminal.
6. sip server according to claim 5, is characterized in that,
Described first processing module, also for obtaining the source mobile terminal identification information corresponding with described source mobile terminal public network address information according to described terminal address information;
Described second processing module specifically for: receive described NAT and pass through that server returns, comprise the interface querying response of idle port mark, and the IP address described idle port mark and described NAT being passed through server sends to described source mobile terminal as the communications address information of described communication interaction, and the Address Assignment message comprising described communications address information and described source mobile terminal identification information is sent to described destination mobile terminal, verify that whether described source mobile terminal identification information is legal for described destination mobile terminal according to the user profile prestored, to determine whether to adopt described idle port to carry out described communication interaction with described source mobile terminal.
7. NAT passes through a server, it is characterized in that, comprising:
Second receiver module, for receiving interface querying request message that sip server sends, that comprise source mobile terminal public network address information and destination mobile terminal public network address information;
3rd processing module, if know that self has idle port for judging, then return the interface querying response comprising idle port mark to described sip server, the IP address for described sip server described idle port mark and the local NAT stored being passed through server is carried out the communications address information of communication interaction as source mobile terminal and destination mobile terminal by IP tunnel and is sent to described source mobile terminal and described destination mobile terminal;
Communication module, for storing described source mobile terminal public network address information, mapping relations between described communications address information and described destination mobile terminal public network address information three, the source address information that described source mobile terminal or described destination mobile terminal are sent to the communication message of described idle port is replaced with described communications address information according to described mapping relations, and send to described destination mobile terminal or described source mobile terminal, thus described idle port is adopted to complete described communication interaction.
8. NAT according to claim 7 passes through server, it is characterized in that,
Described communication module also for: if not do not receive from described idle port the communication message that described source mobile terminal or described destination mobile terminal send in Preset Time, then discharge described idle port, and to described source mobile terminal and described destination mobile terminal transmit port release message.
9. the IP communication system based on mobile terminal, it is characterized in that, comprise: source mobile terminal, destination mobile terminal, and the sip server as described in claim 5 or 6, NAT as claimed in claim 7 or 8 passes through server, 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 CN102984696A (en) 2013-03-20
CN102984696B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414797B (en) * 2013-07-31 2016-08-24 中国联合网络通信集团有限公司 NAT passes through the port assignment method and apparatus of server
CN103929438B (en) * 2014-05-06 2017-02-15 中国联合网络通信集团有限公司 Firewall traversal method, equipment and system based on web page browser communication
CN109688124B (en) * 2018-12-20 2021-08-24 高新兴国迈科技有限公司 Data exchange method based on video boundary
CN113612972B (en) * 2021-08-09 2023-12-05 深圳市猿人创新科技有限公司 Communication method and device of terminal monitoring equipment, electronic equipment and storage medium

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10353925B4 (en) * 2003-11-18 2009-12-24 Nec Europe Ltd. Procedure for exchanging data between two hosts

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN102984696A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102845123B (en) Virtual private cloud connection method and tunnel proxy server
CN102790813B (en) Communication method as well as system and terminal equipment based on IPv6 (internet protocol version 6) network
CN101841520B (en) Domain name system and information processing method and device for domain name system
CN102790812B (en) IP (internet protocol) address source tracing method, equipment and system based on mobile terminal
CN103414798B (en) The communication means of address transition Network Based, equipment and system
CN102404418B (en) Method, device and system for distributing IP (internet protocol) address for user terminal
CN103118147A (en) Method, equipment and system for accessing intranet server
CN103200281A (en) Method, device and system for accessing intranet server
CN102802227B (en) Based on the data processing method of base station direct connection framework, equipment and system
CN102984696B (en) Based on the IP communication means of mobile terminal, equipment and system
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN104144098A (en) Information pushing method and system and pushing server equipment
CN105245629A (en) DHCP-based host communication method and device
CN104333610A (en) IPv6 address allocation method and device
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
CN105450585A (en) Information transmission method and device
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
CN104488240A (en) Session management method, address management method and relevant device
CN105262847A (en) Communication method and system between terminal devices
CN104683312A (en) Method and device for negotiating media multiplexing
CN102984405A (en) Method and system for realizing call route
CN103414797A (en) Port assignment method and device of NAT traversing server
CN103313245B (en) Based on the Network access method of mobile phone terminal, equipment and 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