CN102111458A - Method and device for obtaining IP address of mobile terminal - Google Patents

Method and device for obtaining IP address of mobile terminal Download PDF

Info

Publication number
CN102111458A
CN102111458A CN2009102438429A CN200910243842A CN102111458A CN 102111458 A CN102111458 A CN 102111458A CN 2009102438429 A CN2009102438429 A CN 2009102438429A CN 200910243842 A CN200910243842 A CN 200910243842A CN 102111458 A CN102111458 A CN 102111458A
Authority
CN
China
Prior art keywords
address
ggsn
terminal iidentification
dns
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.)
Pending
Application number
CN2009102438429A
Other languages
Chinese (zh)
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 Mobile Communications Group Co Ltd
Original Assignee
China Mobile 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 Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN2009102438429A priority Critical patent/CN102111458A/en
Publication of CN102111458A publication Critical patent/CN102111458A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention discloses a method and a device for obtaining an IP address of a mobile terminal, wherein the method comprises the main contents as follows: when the mobile terminal switches between a WLAN (Wireless Local Area Network) network and a 2G/3G (The 2nd/3rd Generation) network, a GGSN (Gateway GPRS Support Node) address served for the mobile terminal is recorded in a DNS (Domain Name System), so that, before and after the switching of the mobile terminal, a network element accessed to the network can find a corresponding GGSN according to the GGSN address, so as to ensure that the GGSN served for the mobile terminal is always constant, furthermore to ensure that the IP address distributed for the mobile terminal is consistent, thereby solving the mobility management problem of the mobile terminal while switching between the WLAN network and the 2G/3G network.

Description

A kind of method and apparatus that obtains the mobile terminal IP address
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and apparatus that obtains the mobile terminal IP address.
Background technology
Wireless industrial local area network (LAN) (Industrial Wireless LAN, IWLAN) standard has been specified the standard of wireless lan (wlan) and 2G/3G interoperability of system in TS23.234 and TS23.327, wherein: TS23.234 has defined basic structure and the network element of IWLAN and has formed, and TS23.327 has defined the mobile management scheme of IWLAN and 2G/3G system.
The mobile management scheme of TS23.327 definition is to introduce home agent (Home Agent in system, HA) and two stack mobile IP protocol (DSMIP), HA is as the anchor point of IWLAN system and 3GPP system, can ((Gateway GPRS Support Node GGSN) be deployed in together with the Gateway GPRS Support Node of 2G/3G system.With the home network of 2G/3G system as portable terminal, IWLAN is as the field network of portable terminal.Operation DSMIP agreement between portable terminal and the HA.
The mobile management scheme of TS23.327 definition has solved the mobile management problem between IWLAN and the 2G/3G system, but require portable terminal to support the DSMIP agreement, portable terminal is had relatively high expectations, because a large amount of portable terminals can't be supported the DSMIP agreement in the existing network, therefore, the mobile management scheme of TS23.327 definition does not have forward compatibility.
In addition, in TS23.234, also defined a kind of tunnel termination gateway (TTG) scheme of the 2G/3G of reusing network G GSN function.As shown in Figure 1, the main thought of TTG scheme is to simulate gn interface with TTG to link to each other with GGSN, and the WLAN business can directly insert the GGSN of 2G/3G network by TTG like this.But under the TTG scheme, when portable terminal inserted wlan network, wlan network was selected a GGSN for the meeting portable terminal, and writes down the IP address of portable terminal in this GGSN; And when portable terminal when wlan network switches to the 2G/3G network, the 2G/3G network will be reselected GGSN for portable terminal, the new GGSN that selects will redistribute the IP address for this portable terminal, cause the IP address that portable terminal uses in IP address that portable terminal in the wlan network uses and the 2G/3G network inconsistent, thereby can't realize the mobile management between wlan network and the 2G/3G network.
In sum, in present technology, when portable terminal switches,, do not have forward compatibility between wlan network and 2G/3G network if, then portable terminal is had relatively high expectations according to the mobile management scheme of TS23.327 definition; If according to the TTG scheme of TS23.234 definition, then the TTG scheme can't solve the mobile management problem of wlan network and 2G/3G network.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus that obtains the mobile terminal IP address, the wlan network in the TTG scheme of solution TS23.234 definition and the mobile management problem of 2G/3G network.
A kind of method of obtaining the mobile terminal IP address, described method comprises:
When receive from portable terminal comprise the access request of terminal iidentification the time, send the query requests comprise described terminal iidentification to domain name system DNS;
In the corresponding relation of terminal iidentification that DNS has write down and Gateway GPRS Support Node GGSN address, when comprising the GGSN address of the terminal iidentification correspondence in the described query requests, receive that DNS determines according to the corresponding relation that has write down and the described query requests returned in the GGSN address of terminal iidentification correspondence;
The IP address that from the GGSN that indicate the GGSN address that receives, obtains described portable terminal correspondence.
A kind of IP address lookup equipment comprises:
Signal dispatcher module is used for the access request that comprises terminal iidentification that mobile terminal receive sends, and sends the query requests that comprises described terminal iidentification to domain name system DNS;
GGSN address receiver module, when being used for corresponding relation and comprising the GGSN address of the terminal iidentification correspondence in the described query requests in terminal iidentification that DNS has write down and GGSN address, receive that DNS determines according to the corresponding relation that has write down and the described query requests returned in the GGSN address of terminal iidentification correspondence;
Enquiry module is used for the IP address that obtains described portable terminal correspondence from the GGSN that indicate the GGSN address that receives.
A kind of domain name system DNS comprises:
Preserve module, be used to preserve the terminal iidentification that write down and the corresponding relation of GGSN address;
Information receiving module is used to receive the query requests that comprises terminal iidentification;
Module is returned in the address, when being used for comprising the GGSN address of the terminal iidentification correspondence in the described query requests in the corresponding relation that the preservation module is preserved, returns the GGSN address of the terminal iidentification correspondence in the described query requests.
Because when the portable terminal of the embodiment of the invention switches between wlan network and 2G/3G network, by in DNS, being recorded as the GGSN address of portable terminal service, therefore, make portable terminal before and after switching, network element in the access network can be according to described GGSN address search to corresponding GGSN, guaranteeing provides the GGSN of service constant all the time for portable terminal, and then guarantee to be portable terminal IP address allocated unanimity, solved the mobile management problem of portable terminal when wlan network and the switching of 2G/3G network.
Description of drawings
Fig. 1 is the TTG scheme schematic diagram of TS23.234 definition;
Fig. 2 is for obtaining the method schematic diagram of mobile terminal IP address in the embodiment of the invention one;
Fig. 3 is for obtaining the system configuration schematic diagram of mobile terminal IP address in the embodiment of the invention three;
Fig. 4 is the structural representation of IP address lookup equipment in the embodiment of the invention four;
Fig. 5 is the structural representation of domain name system DNS in the embodiment of the invention five.
Embodiment
In order to realize that portable terminal is in wlan network and the internetwork mobile management of 2G/3G, the embodiment of the invention is carried out the function expansion to WLAN (wireless local area network) IAD (WAG), TTG, Serving GPRS Support Node (SGSN) and GGSN, make at portable terminal in network switching process, for portable terminal provides the GGSN of service invariable, and GGSN is that the portable terminal IP address allocated also remains unchanged, and just makes portable terminal wlan network and 2G/3G network switch IP address, front and back and is consistent.
Below in conjunction with Figure of description the embodiment of the invention is described in detail.
Embodiment one:
As shown in Figure 2, for obtaining the method schematic diagram of mobile terminal IP address in the embodiment of the invention one, said method comprising the steps of:
Step 101: portable terminal sends the access request that comprises terminal iidentification to access network.
In the present embodiment, introduce special APN information in IWLAN and 2G/3G network, portable terminal passes through the APN access network, and carries corresponding APN information in inserting request.
The operation of the current access network of portable terminal can be the operation of access network first behind the mobile terminal-opening, promptly not with professional access; Also can be portable terminal inserts second network when first network switches to second network element operation, promptly may be the professional access of band.
Step 102: send query requests to domain name system (DNS).
Carry terminal identifications of mobile terminals in the query requests in this step, further can also carry the APN information of portable terminal when access network.
The executive agent of this step is the network element in the network that inserts of mobile terminal request, and the purpose that sends query requests to DNS is to be known as the GGSN information that portable terminal provides service.
After step 103:DNS receives described query requests, judge whether the terminal iidentification that recorder is arrived and the corresponding relation of GGSN address; If then execution in step 104; Otherwise, execution in step 105.
In the present embodiment, the GGSN that serves in each network in order to ensure portable terminal is identical, therefore, and when portable terminal first behind the access network, address and the terminal identifications of mobile terminals of the GGSN that indication DNS will distribute for this portable terminal are set up corresponding relation, and preserve this corresponding relation.After this, when network by mobile terminal switched, the network element of access network can be defined as the GGSN of portable terminal service from DNS, made portable terminal still can enjoy the service of same GGSN before and after network switches.
Step 104: receive the GGSN address that DNS returns, and jump to step 106.
Step 105:DNS is defined as the GGSN of portable terminal service according to the APN information in the query requests, and returns the GGSN address of APN information correspondence.
In this step, if the GGSN address of the terminal iidentification correspondence in the record queries request not among the DNS, then DNS will resolve carrying out APN, determine the GGSN of described APN correspondence, with the GGSN of this GGSN address indication as GGSN for the portable terminal distribution.
Step 106: the IP address that from the GGSN that indicate the GGSN address that receives, obtains described portable terminal correspondence.
The specific implementation process of this step is as follows:
At first, the network element of access network sends the tunnel to the GGSN of the GGSN address indication that receives and sets up request, requires to be established to for portable terminal the connection of GGSN.
Then, GGSN verifies portable terminal according to the APN information of carrying in the tunnel foundation request that receives.
Then, GGSN checking by the time, further judged whether to write down the tunnel and set up the terminal iidentification in the request and the corresponding relation of IP address; If record, then with the IP address of correspondence as returning to described network element for described terminal iidentification corresponding mobile terminal IP address allocated; Otherwise, distribute an IP address for portable terminal is new, newly assigned IP address is returned to the network element of access network, and write down the corresponding relation of IP address allocated and described terminal iidentification.
In the present embodiment, when portable terminal inserted GGSN, GGSN will be this portable terminal distributing IP address.If current mobile terminal is to switch to the 2G/3G network or switch to wlan network from the 2G/3G network from WLAN, GGSN has distributed the IP address for portable terminal before switching, and write down the corresponding relation of this IP address and terminal iidentification, after portable terminal switches, GGSN receives the tunnel of the network element transmission of switching in the network of back and sets up when asking, identical for the IP address of the terminal iidentification correspondence of portable terminal IP address allocated and record, the IP address that makes portable terminal use before and after switching is identical; If current mobile terminal is an access network first, GGSN is not portable terminal distributing IP address, just do not write down the corresponding relation of terminal iidentification and IP address yet, therefore, when GGSN received tunnel foundation request, will be that portable terminal is new distributes an IP address, and writes down the corresponding relation of this IP address and terminal iidentification, so that the follow-up generation network of portable terminal when switching, uses in the network of portable terminal after switching and switches preceding identical IP address.
The network that relates in the various embodiments of the present invention can be a wlan network, also can the 2G/3G network.If portable terminal send to insert request to wlan network, be WAG and TTG to DNS inquiry GGSN address and the executive agent that from the GGSN of GGSN address indication, obtains the IP address among the embodiment one then; If portable terminal sends the request of access to 2G network or 3G network, then executive agent is SGSN.
Scheme by the embodiment of the invention one, no matter once switching arbitrarily when making portable terminal once switching in WLAN and 2G/3G network or after the connection of mobile terminal into network, service GGSN in the network that portable terminal inserts before and after switching is constant, guarantee the IP address unanimity that portable terminal uses in switching the network that inserts front and back, realized the mobile management in WLAN and the 2G/3G network.
In the step 104 and step 105 of embodiment one, if DNS does not write down the corresponding relation of described terminal iidentification and GGSN address, then the network element in the access network will indicate DNS to write down described corresponding relation, and concrete manner of execution includes but not limited to following two kinds:
First kind of manner of execution:
In step 104 and step 105, after the network element of DNS in access network returned the GGSN address, the network element in the access network can write down the GGSN address returned and the corresponding relation of terminal identifications of mobile terminals in DNS.Because under the situation of step 104, DNS has write down the corresponding relation of terminal iidentification and GGSN address, and during the corresponding relation that record is identical in DNS once more of the network element in the access network, DNS can duplicate record; Under the situation of step 105, DNS does not write down the corresponding relation of terminal iidentification and GGSN address, then stores described corresponding relation according to the indication of the network element in the access network.
Second kind of manner of execution:
DNS judges that self is whether behind the corresponding relation of the terminal iidentification in the record queries request and GGSN address, judged result is notified to the network element of access network, if judged result is a DNS record, then the network element of access network no longer indicates DNS to write down described corresponding relation; Otherwise the network element indication DNS of access network writes down described corresponding relation.For example:
The DNS judgement self has been write down described corresponding relation, then the GGSN address is returned to described network element by searching success response message, and expression DNS has write down described corresponding relation; DNS judges and self not during the corresponding relation of the terminal iidentification in the record queries request and GGSN address, described GGSN address to be returned to described network element by searching failure response message that expression DNS does not write down described corresponding relation.When the network element in the access network receives when searching failure response message, will indication DNS record GGSN address and the corresponding relation of terminal identifications of mobile terminals.
Embodiment two:
The embodiment of the invention two is described in detail by the scheme of a concrete example to the embodiment of the invention one.
Suppose that in the embodiment of the invention two portable terminal at first inserts wlan network after start, after a period of time, mobile terminal roaming is to 3G network.
Present embodiment two may further comprise the steps:
The first step: portable terminal to the access request that TTG initiates to comprise UE_ID, requires to insert wlan network by AC.
Comprise terminal iidentification and APN information in the access request here.
When portable terminal inserted wlan network, the network element of carrying out access operation was TTG and WAG, and these two network elements can be distinguished independent setting, also can integrate.Suppose that in the present embodiment TTG and WAG integrate, and are referred to as TTG.
Present embodiment is expanded the function of TTG and SGSN, and TTG after the expansion and SGSN support the function that synthetic APN resolves.Carry UE_ID and APN information in the access request that portable terminal sends, TTG and SGSN can synthesize it domain name form of UE_ID.BJ.IWLAN_APN.
Second step: the query requests that TTG will comprise terminal iidentification and APN information sends to DNS, and DNS judges the relevant information whether this portable terminal is arranged among the DNS.
Present embodiment has carried out the function expansion to DNS, the new type of expansion in the information of DNS record, the type of the GGSN information of support TTG or SGSN identification.In this step, TTG resolves by the DNS after the function expansion PN and provides.
The 3rd step: because therefore access network first behind the mobile terminal-opening, does not have the relevant information of portable terminal among the DNS.
The 4th step: DNS resolves APN information, determines corresponding GGSN address, and this GGSN address is returned to TTG.
The 5th step: TTG inserts a record in DNS, is described as the GGSN information that portable terminal distributes, and also terminal iidentification is bound this GGSN information simultaneously.
This step is expanded the function of TTG and SGSN, and TTG after the expansion and SGSN support to insert the function of record in DNS.TTG and SGSN can deposit domain name and the GGSN address information of distributing for portable terminal among the DNS in.
The GGSN information here comprises domain name and the IP address of GGSN, for example:
Domain name: UE_ID.BJ.IWLAN_APN IP:GGSN IP address
The 6th step: TTG sends the tunnel that comprises APN information to GGSN and sets up request.
Present embodiment the 5th the step and the 6th the step execution sequence do not limit, can between TTG and GGSN, set up GTP tunnel after, again in DNS the insertion record.
The 7th step: GGSN verifies to portable terminal that according to APN information owing to the IP address that GGSN does not write down portable terminal, therefore, when checking was passed through, GGSN was that portable terminal distributes an IP address, and this IP address of record distribution.
In the present embodiment, GGSN has been carried out the function expansion, GGSN determines that portable terminal is initial access, then is recorded as the portable terminal IP address allocated.The IP address of record can be as follows:
Whether APN UE_ID IP address is the initial sign that inserts
The 8th step: GGSN will return to TTG for portable terminal distributing IP address, finish the process that portable terminal inserts wlan network.
The 9th step: when mobile terminal roaming during to the 3G network overlay area, portable terminal sends the request of access by IWLAN APN to SGSN.
The tenth step: SGSN sends the query requests that comprises APN information and terminal iidentification to DNS.
The 11 step:, therefore, have the relevant information of portable terminal among the DNS because portable terminal switches to 3G network from wlan network.
The 12 step: DNS returns the address of the GGSN that serves for described portable terminal in wlan network to SGSN.
The 13 step: SGSN goes out the GGSN that service is provided for portable terminal by the GGSN address search.
The 14 step: SGSN sends the tunnel that comprises APN information to GGSN and sets up request.
The 15 step: GGSN by APN information to portable terminal checking by the time, further whether inquiry has the relative recording of UE ID.
The 16 step: because when portable terminal inserted WLAN, GGSN was that portable terminal has distributed the IP address, therefore, GGSN is that portable terminal distributes the IP address identical with the IP address of having write down.
The 17 step: GGSN will return to SGSN for the portable terminal IP address allocated.
Scheme by the embodiment of the invention two, guaranteed that portable terminal is when the roaming of wlan network and 2G/3G network, the GGSN of service remains constant, and then guarantees the consistency of the IP address that portable terminal uses, and is implemented in the mobile management of wlan network and 2G/3G network.
Embodiment three:
The embodiment of the invention three provides a kind of system that obtains the mobile terminal IP address, as shown in Figure 3, described system comprises the network element 11 and the DNS 12 of access network, wherein: the network element 11 of access network is used for the access request that comprises terminal iidentification that mobile terminal receive sends, and send the query requests that comprises described terminal iidentification to DNS 12, after receiving the GGSN address that DNS returns, the IP address that from the GGSN of the GGSN address indication that receives, obtains described portable terminal correspondence; DNS 12 is used for the GGSN address of the terminal iidentification correspondence of carrying according to the query requests that the corresponding relation of the terminal iidentification that write down and GGSN address is determined to receive, and returns definite GGSN address to the network element 11 of access network.
The network element 11 of access network also comprises the APN information that portable terminal inserts in the query requests that DNS 12 sends; DNS 12 also is used for the corresponding relation in terminal iidentification that has write down and GGSN address, when not comprising the GGSN address of the terminal iidentification correspondence in the described query requests, determine the GGSN address of described APN information correspondence, and the described GGSN address of APN information correspondence is returned to described network element 11.
The network element 11 of access network also is used for after receiving the GGSN address that DNS returns, the GGSN address that indication DNS record returns and the corresponding relation of the terminal iidentification in the described query requests.
DNS 12 also is used for when the corresponding relation that has write down comprises the GGSN address of the terminal iidentification correspondence in the described query requests, the GGSN address is returned to described network element by searching success response message, in the corresponding relation of terminal iidentification that has write down and GGSN address, when not comprising the GGSN address of the terminal iidentification correspondence in the described query requests, the GGSN address is returned to described network element 11 by searching failure response message; The network element 11 of access network also is used for when searching failure response message sink GGSN address, the GGSN address that indication DNS 12 records return and the corresponding relation of the terminal iidentification in the described query requests.
Described system also comprises GGSN 13; The network element 11 of access network also is used for sending the tunnel that comprises terminal iidentification to the GGSN 13 of the GGSN address indication that receives and sets up request; GGSN 13 is used for according to the terminal iidentification that has write down and the corresponding relation of IP address, determine the IP address of the terminal iidentification correspondence in the tunnel foundation request, the IP address of determining is returned to described network element 11 as the terminal iidentification corresponding mobile terminal IP address allocated of setting up in the request for the tunnel.
GGSN 13 also is used for the corresponding relation in terminal iidentification that has write down and IP address, when not comprising the IP address of the terminal iidentification correspondence in the tunnel foundation request, for setting up the terminal iidentification corresponding mobile terminal distribution in the request and return the IP address in the tunnel, IP address allocated is returned to described network element 11, and the corresponding relation of record IP address allocated and described terminal iidentification.
The network element 11 of access network also comprises described APN information to what GGSN 13 sent in asking to foundation; GGSN 13 is described portable terminal distributing IP address after also being used for passing through according to the terminal iidentification corresponding mobile terminal checking that the APN information that receives is set up request to the tunnel.
The network element of the access network in the present embodiment is according to the difference of access network and difference, if the network that portable terminal inserts is a wlan network, then the network element of access network can be WAG and TTG; If the network that inserts is 2G or 3G network, then the network element of access network is SGSN.Situation shown in Figure 3 is portable terminal roams to 3G network from wlan network a situation.
Embodiment four:
The embodiment of the invention four also provides a kind of IP address lookup equipment, as shown in Figure 4, comprise signal dispatcher module 21, GGSN address receiver module 22 and enquiry module 23, wherein: signal dispatcher module 21 is used for the access request that comprises terminal iidentification that mobile terminal receive sends, and sends the query requests that comprises described terminal iidentification to domain name system DNS; When GGSN address receiver module 22 is used for corresponding relation in terminal iidentification that DNS has write down and GGSN address and comprises the GGSN address of the terminal iidentification correspondence in the described query requests, receive that DNS determines according to the corresponding relation that has write down and the described query requests returned in the GGSN address of terminal iidentification correspondence; Enquiry module 23 is used for the IP address that obtains described portable terminal correspondence from the GGSN of the GGSN address that receives indication.
Also comprise the APN information that portable terminal inserts in the access request that described signal dispatcher module 21 receives, in the query requests that DNS sends, also comprise described APN information; Described GGSN address receiver module 22 also is used for the terminal iidentification that write down at DNS and the corresponding relation of GGSN address, when not comprising the GGSN address of the terminal iidentification correspondence in the described query requests, receives the GGSN address of the described APN information correspondence that DNS returns.
Described IP address lookup equipment also comprises indicating module 24, is used for indicating the corresponding relation of the terminal iidentification of GGSN address that the DNS record returns and described query requests.
Described signal dispatcher module 21 also is used for sending the tunnel that comprises terminal iidentification to the GGSN of the GGSN address indication that receives and sets up request; It is the terminal iidentification corresponding mobile terminal IP address allocated that request is set up in the tunnel that described enquiry module 23 also is used for receiving the conduct that GGSN returns, and the described IP address of returning is that GGSN determines according to the corresponding relation of terminal iidentification that has write down and IP address.
The IP address lookup equipment of record can be WAG and the TTG in the wlan network in the present embodiment four, also can be the SGSN in 2G or the 3G network, has the logic module that realizes corresponding steps among the embodiment of the invention one and the embodiment two.
Embodiment five:
The embodiment of the invention five also provides a kind of domain name system DNS, as shown in Figure 5, comprises that preserving module 31, information receiving module 32 and address returns module 33, wherein: preserve module 31 and be used to preserve the terminal iidentification that write down and the corresponding relation of GGSN address; Information receiving module 32 is used to receive the query requests that comprises terminal iidentification; When the address is returned module 33 and is used for comprising the GGSN address of the terminal iidentification correspondence in the described query requests in preserving the corresponding relation that module preserves, return the GGSN address of the terminal iidentification correspondence in the described query requests.
The APN information that also comprises the terminal iidentification corresponding mobile terminal access of carrying in the query requests that information receiving module 31 receives; Described address is returned module 33 and also is used for returning the GGSN address of described APN information correspondence when the corresponding relation that the preservation module is preserved does not comprise the GGSN address of the terminal iidentification correspondence in the described query requests.
The domain name system also comprises logging modle 34, is used for after the GGSN address that inquires described APN information correspondence, and the corresponding relation of the terminal iidentification in this GGSN address and the described query requests is write described preservation module.
The scheme that provides by the embodiment of the invention, when portable terminal is roamed in wlan network and 2G/3G network, for portable terminal provides the GGSN of service constant all the time, this GGSN is that same portable terminal IP address allocated also remains unchanged, therefore, during the network that portable terminal takes place switches, use identical IP address in the network before and after switching when roaming, realized the mobile management of wlan network and 2G/3G network.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (15)

1. a method of obtaining the mobile terminal IP address is characterized in that, described method comprises:
When receive from portable terminal comprise the access request of terminal iidentification the time, send the query requests comprise described terminal iidentification to domain name system DNS;
In the corresponding relation of terminal iidentification that DNS has write down and Gateway GPRS Support Node GGSN address, when comprising the GGSN address of the terminal iidentification correspondence in the described query requests, receive that DNS determines according to the corresponding relation that has write down and the described query requests returned in the GGSN address of terminal iidentification correspondence;
The IP address that from the GGSN that indicate the GGSN address that receives, obtains described portable terminal correspondence.
2. the method for claim 1 is characterized in that, also comprises the APN information that portable terminal inserts in the described access request, carries described APN information in the query requests that DNS sends;
Described method also comprises:
In the corresponding relation of terminal iidentification that DNS has write down and GGSN address, when not comprising the GGSN address of the terminal iidentification correspondence in the described query requests, DNS determines and returns the GGSN address of described APN information correspondence.
3. method as claimed in claim 2 is characterized in that, behind the GGSN address that reception DNS returns, described method also comprises:
The GGSN address that indication DNS record returns and the corresponding relation of the terminal iidentification in the described query requests.
4. method as claimed in claim 2 is characterized in that,
When in the corresponding relation that DNS has write down, comprising the GGSN address of the terminal iidentification correspondence in the described query requests, the GGSN address is returned by searching success response message, in the corresponding relation of terminal iidentification that has write down and GGSN address, when not comprising the GGSN address of the terminal iidentification correspondence in the described query requests, the GGSN address is returned by searching failure response message;
When searching failure response message sink GGSN address, the GGSN address that indication DNS record returns and the corresponding relation of the terminal iidentification in the described query requests.
5. method as claimed in claim 2 is characterized in that, from the GGSN of the GGSN address that receives indication, obtain described portable terminal correspondence ' the address, comprising:
Send the tunnel that comprises terminal iidentification to the GGSN of the GGSN address indication that receives and set up request;
The conduct that reception GGSN returns is that the terminal iidentification corresponding mobile terminal IP address allocated in the request is set up in the tunnel, and the described IP address of returning is that GGSN determines according to the corresponding relation of terminal iidentification that has write down and IP address.
6. method as claimed in claim 5 is characterized in that, described method also comprises:
In the corresponding relation of terminal iidentification that GGSN has write down and IP address, when not comprising the tunnel and setting up the IP address of the terminal iidentification correspondence in the request, GGSN is that the tunnel is set up terminal iidentification corresponding mobile terminal in the request and distributed and return the IP address.
7. method as claimed in claim 6 is characterized in that, GGSN is after the terminal iidentification corresponding mobile terminal distributing IP address in the tunnel request of setting up, and described method also comprises:
The corresponding relation of the terminal iidentification in the request is set up in GGSN record IP address allocated and tunnel.
8. method as claimed in claim 6 is characterized in that, sets up in the request to the tunnel that GGSN sends and carries described APN information;
Before being portable terminal distributing IP address, described method also comprises:
GGSN passes through according to the terminal iidentification corresponding mobile terminal checking that the APN information that receives is set up in the request the tunnel.
9. an IP address lookup equipment is characterized in that, comprising:
Signal dispatcher module is used for the access request that comprises terminal iidentification that mobile terminal receive sends, and sends the query requests that comprises described terminal iidentification to domain name system DNS;
GGSN address receiver module, when being used for corresponding relation and comprising the GGSN address of the terminal iidentification correspondence in the described query requests in terminal iidentification that DNS has write down and GGSN address, receive that DNS determines according to the corresponding relation that has write down and the described query requests returned in the GGSN address of terminal iidentification correspondence;
Enquiry module is used for the IP address that obtains described portable terminal correspondence from the GGSN that indicate the GGSN address that receives.
10. IP address lookup equipment as claimed in claim 9 is characterized in that,
Also comprise the APN information that portable terminal inserts in the access request that described signal dispatcher module receives, in the query requests that DNS sends, also comprise described APN information;
Described GGSN address receiver module also is used for the terminal iidentification that write down at DNS and the corresponding relation of GGSN address, when not comprising the GGSN address of the terminal iidentification correspondence in the described query requests, receives the GGSN address of the described APN information correspondence that DNS returns.
11. IP address lookup equipment as claimed in claim 10 is characterized in that, described IP address lookup equipment also comprises:
Indicating module is used for indicating the corresponding relation of the terminal iidentification of GGSN address that the DNS record returns and described query requests.
12. IP address lookup equipment as claimed in claim 10 is characterized in that,
Described signal dispatcher module also is used for sending the tunnel that comprises terminal iidentification to the GGSN of the GGSN address indication that receives and sets up request;
Described enquiry module, also being used for receiving the conduct that GGSN returns is the terminal iidentification corresponding mobile terminal IP address allocated that request is set up in the tunnel, the described IP address of returning is that GGSN determines according to the corresponding relation of terminal iidentification that has write down and IP address.
13. a domain name system DNS is characterized in that, comprising:
Preserve module, be used to preserve the terminal iidentification that write down and the corresponding relation of GGSN address;
Information receiving module is used to receive the query requests that comprises terminal iidentification;
Module is returned in the address, when being used for comprising the GGSN address of the terminal iidentification correspondence in the described query requests in the corresponding relation that the preservation module is preserved, returns the GGSN address of the terminal iidentification correspondence in the described query requests.
14. domain name system as claimed in claim 13 is characterized in that,
The APN information that also comprises the terminal iidentification corresponding mobile terminal access of carrying in the query requests that information receiving module receives;
Module is returned in described address, also is used for returning the GGSN address of described APN information correspondence when the corresponding relation that the preservation module is preserved does not comprise the GGSN address of the terminal iidentification correspondence in the described query requests.
15. domain name system as claimed in claim 14 is characterized in that, the domain name system also comprises:
Logging modle is used for after the GGSN address that inquires described APN information correspondence, and the corresponding relation of the terminal iidentification in this GGSN address and the described query requests is write described preservation module.
CN2009102438429A 2009-12-23 2009-12-23 Method and device for obtaining IP address of mobile terminal Pending CN102111458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102438429A CN102111458A (en) 2009-12-23 2009-12-23 Method and device for obtaining IP address of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102438429A CN102111458A (en) 2009-12-23 2009-12-23 Method and device for obtaining IP address of mobile terminal

Publications (1)

Publication Number Publication Date
CN102111458A true CN102111458A (en) 2011-06-29

Family

ID=44175483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102438429A Pending CN102111458A (en) 2009-12-23 2009-12-23 Method and device for obtaining IP address of mobile terminal

Country Status (1)

Country Link
CN (1) CN102111458A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811263A (en) * 2012-07-25 2012-12-05 中国联合网络通信集团有限公司 Internet protocol version 6 (IPv6)-based communication method and system for mobile terminal and mobile terminal
CN104640114A (en) * 2015-01-04 2015-05-20 中国联合网络通信集团有限公司 Verification method and device of access request
CN109802980A (en) * 2017-11-17 2019-05-24 华为技术有限公司 Method for message interaction, relevant apparatus and system
CN109889618A (en) * 2014-04-22 2019-06-14 柏思科技有限公司 For handling the method and system of DNS request
CN111385341A (en) * 2018-12-29 2020-07-07 华为终端有限公司 Communication method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009864A (en) * 2007-01-08 2007-08-01 华为技术有限公司 The method and system for access to the home packet data network
CN101084645A (en) * 2004-11-18 2007-12-05 阿泽尔网络公司 Maintaining consistent network connections while moving through wireless networks
EP1863306A1 (en) * 2005-11-09 2007-12-05 Alcatel Lucent Method for managing an interworking function between at least a wireless local area network and a cellular network, corresponding mobile station, SGSN node, and TTG gateway.
WO2008081007A1 (en) * 2007-01-05 2008-07-10 Nokia Corporation Network initiated relocation of a gateway support node
CN101483585A (en) * 2008-01-07 2009-07-15 华为技术有限公司 Method for gateway selection
CN101523973A (en) * 2006-08-09 2009-09-02 阿尔卡特朗讯公司 Tunnel handover between a wlan and a cellular network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101084645A (en) * 2004-11-18 2007-12-05 阿泽尔网络公司 Maintaining consistent network connections while moving through wireless networks
EP1863306A1 (en) * 2005-11-09 2007-12-05 Alcatel Lucent Method for managing an interworking function between at least a wireless local area network and a cellular network, corresponding mobile station, SGSN node, and TTG gateway.
CN101523973A (en) * 2006-08-09 2009-09-02 阿尔卡特朗讯公司 Tunnel handover between a wlan and a cellular network
WO2008081007A1 (en) * 2007-01-05 2008-07-10 Nokia Corporation Network initiated relocation of a gateway support node
CN101009864A (en) * 2007-01-08 2007-08-01 华为技术有限公司 The method and system for access to the home packet data network
CN101483585A (en) * 2008-01-07 2009-07-15 华为技术有限公司 Method for gateway selection

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811263A (en) * 2012-07-25 2012-12-05 中国联合网络通信集团有限公司 Internet protocol version 6 (IPv6)-based communication method and system for mobile terminal and mobile terminal
CN109889618A (en) * 2014-04-22 2019-06-14 柏思科技有限公司 For handling the method and system of DNS request
CN104640114A (en) * 2015-01-04 2015-05-20 中国联合网络通信集团有限公司 Verification method and device of access request
CN104640114B (en) * 2015-01-04 2018-09-11 中国联合网络通信集团有限公司 A kind of verification method and device of access request
CN109802980A (en) * 2017-11-17 2019-05-24 华为技术有限公司 Method for message interaction, relevant apparatus and system
CN111385341A (en) * 2018-12-29 2020-07-07 华为终端有限公司 Communication method and related equipment

Similar Documents

Publication Publication Date Title
CN101151928B (en) The technology of CS and PS registration is coordinated in multi-operator core network
CN101686576B (en) Mobile terminal device and hand-off method thereof
CN101790150B (en) Method and device for updating contract allocation of access point name
CN101378596B (en) Method, system and equipment for tracking single user
CN101345998B (en) Access network switch method, anchor point management equipment, mobile access equipment
CN101572855B (en) Method and device for selecting gateway for terminal
US20040208153A1 (en) Policy based mobile IP
CN101127652B (en) A method, device and system for identifying access anchor of user terminal to external network
US20050136920A1 (en) Mobile IP node device and access information
CN102137487A (en) Method and equipment for selecting service gateway
CN102893638B (en) Obtain method and mobile management nodes, data gateway and the system of gateway
GB2373409A (en) Mobile IP service with roaming between GPRS packet networks
CN102111458A (en) Method and device for obtaining IP address of mobile terminal
CN104618976A (en) Method and device for maintaining continuity of IP addresses
CN101330501A (en) Method for establishing network connection and apparatus thereof
CN101534501A (en) Method, system and equipment for registering local mobile anchor point
CN101534500A (en) Addressing method, network element equipment and network system
CN102131259A (en) Switching control method and related equipment and system
CN102209365B (en) Network selection method, equipment and system
CN104303558A (en) Policy converging method, UE, and server
CN101848454A (en) Method for assigning prefix, network system and local mobile anchor point
CN102056251B (en) Network switching method and system and equipment adopting same
CN102143559A (en) Method for realizing connection of plurality of grouped data networks, access gateway and system
CN104349507A (en) Switching method and device
CN101567900B (en) Method and system for establishing data connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110629