CN102014368A - Method, system and device for acquiring position information of user equipment - Google Patents

Method, system and device for acquiring position information of user equipment Download PDF

Info

Publication number
CN102014368A
CN102014368A CN2009100922253A CN200910092225A CN102014368A CN 102014368 A CN102014368 A CN 102014368A CN 2009100922253 A CN2009100922253 A CN 2009100922253A CN 200910092225 A CN200910092225 A CN 200910092225A CN 102014368 A CN102014368 A CN 102014368A
Authority
CN
China
Prior art keywords
address
ggsn
positional information
access network
corresponding relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2009100922253A
Other languages
Chinese (zh)
Other versions
CN102014368B (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 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 CN200910092225.3A priority Critical patent/CN102014368B/en
Publication of CN102014368A publication Critical patent/CN102014368A/en
Application granted granted Critical
Publication of CN102014368B publication Critical patent/CN102014368B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method, a system and a device for acquiring the position information of user equipment. The method comprises the following steps of: acquiring an internet protocol (IP) address distributed to the user equipment (UE) in a process that the UE accesses a network and a gateway GPRS support node (GGSN) IP address of an GGSN which allows the UE to access the network; acquiring the position information corresponding to the IP address of the UE according to the first correspondence between the locally stored GGSN IP address and the position information, and establishing the second correspondence between the IP address of the UE with access to the network and the acquired position information; and searching for the second correspondence according to a source IP address of data when the data is received when the UE accesses the network, and acquiring the position information of the UE which accesses the network. Through the embodiment of the invention, the position information of the UE can be acquired in a wireless application protocol (WAP) data service quickly, conveniently and accurately.

Description

The acquisition methods of position information of user's terminal, system and equipment
Technical field
The present invention relates to networking technology area, relate in particular to a kind of acquisition methods, system and equipment of position information of user's terminal.
Background technology
Professional the browsing etc. as surfing Internet with cell phone, music download, mobile phone of WAP (Wireless Application Protocol, WAP (wireless application protocol)) is that the most basic that the 2G/3G mobile communications network is provided also is the data service that is most widely used.The user can pass through all kinds of portable terminals, all kinds of WAP/WEB websites that provided by operator or SP with the wireless mode free access and the affluent resources on the Internet.Flourish along with mobile Internet and data service, whether operation system can provide more becomes more meticulous, personalized service and more accurately information will become the bright spot that attracts the user.
In the prior art, the schematic diagram of WAP service groups planar network architecture as shown in Figure 1.Wherein, the wap data business is finished jointly by a plurality of network element cooperations in PS (Packet Switch, exchanges data) territory, comprises portable terminal, wireless-transmission network, PS domain core net, WAP gateway, application server, fire compartment wall etc.For portable terminal send based on WAP/HTTP (Hyper Text Transmission Protocol, HTML (Hypertext Markup Language)) data service access request, by GGSN (Gateway GPRS Supporting Node, Gateway GPRS Support Node) the service request data bag is sent to WAP gateway.WAP gateway is as the proxy access node of wap data business, with DNS (Domain Name System, domain name system) server carries out alternately, resolve destination address URL (the Uniform Resource Locator of user capture, URL(uniform resource locator)), proxy user access service server subsequently.WAP gateway has also been born functions such as authenticating user identification, user profile insertion simultaneously in addition.
In this service groups planar network architecture, SGSN (Serving GPRS Supporting Node, Serving GPRS Support Node) and GGSN are the core network elements in the PS territory of 2G/3G network, below do concise and to the point description.
SGSN is responsible for the packet between the transmitting mobile terminal and external network in service area.Its major function also comprises: authentication and encryption, and session management, mobile management, Logical Link Management, output is used relevant metering data with wireless network.SGSN is connected with GGSN by gn interface;
GGSN mainly plays the gateway effect, and GPRS (General Packet Radio Service, GPRS) packet data package is carried out protocol conversion and route distribution, and packet data package is sent to the TCP/IP of far-end or network X.25 by the Gi interface.
In the present WAP business, the urgent hope of service provider can obtain its resource of visit convenient, apace or use the user's of data service current geographic position information, fills in and perception and need not the manual input of user.Geographical location information can make service provider or WEB website according to geographic proximity, can experience for the user brings better Operational Visit on the one hand, and the business that strengthens the user is used stickiness; Can excavate user's business demand on the other hand better, open novel business model, for operator provides more wide business revenue space.For example can in application such as mobile search, moving advertising, interactive information service, provide more targeted, more effective information by the current geographic position information according to the user.
For wap data is professional, service server or WEB website can't be by GPS (the Global Position System that directly calls terminal, global positioning system) LBS (the Location Based Services that provides of ability or operator, positioning service) stationkeeping ability obtains visiting user position information, present stage does not have the suitable technique means to obtain the current geographical location information of user, generally only can support the MSISDN (Mobile Station International ISDN Number Mobile Subscriber International ISDN number) by user terminal to obtain user's information of home location.
Below the MSISDN by the user is obtained its information of home location principle do brief description.
MSISDN is meant that the calling subscriber calls out PLMN (Public Land Mobile-communication Network, public land mobile communication network) number that other mobile subscriber in is required group, meet the ETSIE.164 coded system, the structural representation of MSISDN as shown in Figure 2, by forming as the lower part:
CC:Country Code, national code is 86 as China.
NDC:National Destination Code, domestic Number for access, for example the common NDC that uses of 2G of China Mobile and TD-SCDMA user is: 13S (S=9,8,7,6,5), 1340~1348; 150,151,152,159,158;
The HLR identifier: H0 H1 H2 H3, the HLR of expression user attaching, because HLR is in the each department distributed deployment, so its sign indicating number number also can be used to discern the mobile service local network; With the China Mobile's GSM network is example, and wherein the method for salary distribution of H1 and H2 is as shown in table 1.
SN:Subscriber Number, mobile subscriber ABCD is distributed voluntarily by each HLR;
The table 1.GSM network H1H2 method of salary distribution
Figure B2009100922253D0000031
In user's WAP Operational Visit flow process, the WAP gateway support is carried at user's MSISDN and is sent to service server in the request message, therefore service server can obtain user's MSISDN by analytic message, inquire about the HLR section of the MSISDN that is stored in service server this locality and the corresponding relation of information of home location subsequently, thereby obtain user's information of home location.
Problems of the prior art are: only can obtain user's information of home location according to user's MSISDN, for a large amount of user's roaming conditions that exist in the reality, can't effectively provide the relevant information in roaming geographical position.In addition, when there is inaccurate situation in number section ownership place data that third party's business platform or WAP/WEB website are obtained, may cause the erroneous judgement of user ascription area information.At last, after operator introduced the new section, operation system can not in time be known and upgrade local data base, causes operation system that new section user's information of home location can't be provided.
Summary of the invention
Embodiments of the invention provide a kind of acquisition methods, system and equipment of position information of user's terminal, be used for quick, convenient in the wap data business, obtain the positional information of user terminal accurately.
Embodiments of the invention provide a kind of acquisition methods of position information of user's terminal, comprising:
Obtain and to distribute to the IP address of UE in the user terminal UE access network process and with the GGSN IP address of the GGSN of described UE access network;
According to the GGSN IP address of this locality storage and first corresponding relation of positional information, obtain the IP address corresponding position information with described UE, and set up the IP address of UE of described access network and second corresponding relation of the described positional information of obtaining;
When receiving the data that send in the UE accesses network process, search described second corresponding relation, obtain the positional information of the UE of described accesses network according to the source IP address of described data.
Wherein, described obtaining before distributing to the IP address and the GGSN IP address with the GGSN of described UE access network of UE in the UE access network process also comprises:
Foundation comprises the GGSN IP address of each GGSN in the network and first corresponding relation of corresponding position information, and described positional information comprises one or more in city title, city area code, HLR sign indicating number number, the self-defined positional information.
Wherein, after the positional information of the described UE that obtains accesses network, also comprise:
Insert the positional information that extra address information field is used to carry the UE of described accesses network in the HTTP Header of the HTTP message that sends to business platform, described business platform is resolved described address information field, obtains the positional information of described UE.
Wherein, also comprise:
When the GGSN IP address of described GGSN with the UE access network changes, obtain the GGSN IP address after the renewal, according to the GGSN IP address after the described renewal, to upgrading with the IP address corresponding position information of described UE in described second corresponding relation; And/or
When described GGSN with the UE access network knows that UE rolls off the production line, will delete about the content of described UE in described second corresponding relation.
Wherein, described obtaining will be distributed to the IP address of UE and the GGSN IP address of the GGSN of described UE access network be comprised in the user terminal UE access network process: receive the charging request that the GGSN with described UE access network sends and begin message, obtain the IP address of distributing to UE and with the GGSN IP address of the GGSN of described UE access network from described charging request message;
The described GGSN IP address that obtains after the renewal comprises: receive the charging request updating message that the new GGSN with the UE access network sends, obtain the GGSNIP address after the renewal from described charging request updating message;
Describedly comprise: receive the charging request that the GGSN with the UE access network sends and stop message, know that described UE rolls off the production line from the GGSN of UE access network being known UE rolls off the production line.
Embodiments of the invention also provide a kind of system that obtains of position information of user's terminal, comprising:
GGSN is used for obtaining equipment to positional information and sending IP address and the GGSN IP address of distributing to described UE with user terminal UE access network process;
Positional information is obtained equipment, is used for obtaining the IP address of distributing to UE and with the GGSN IP address of the GGSN of described UE access network according to the content that described GGSN sends; According to the GGSN IP address of this locality storage and first corresponding relation of positional information, obtain the IP address corresponding position information with described UE, and set up the IP address of UE of described access network and second corresponding relation of the described positional information of obtaining; During the data that in receiving UE accesses network process, send, search described second corresponding relation, obtain the positional information of the UE of described accesses network according to the source IP address of described data.
Wherein, also comprise business platform,
Described positional information is obtained equipment, after also being used to obtain the positional information of UE of described accesses network, in the HTTP Header of the HTTP message that sends to described business platform, insert the positional information that extra address information field is used to carry the UE of described accesses network;
Described business platform is used to receive described positional information and obtains the HTTP message that equipment sends, and resolves the address information field among the HTTP Header of described HTTP message, obtains the positional information of described UE.
Embodiments of the invention also provide a kind of positional information to obtain equipment, comprising:
Acquiring unit is used for obtaining and user terminal UE access network process is distributed to the IP address of UE and with the GGSN IP address of the GGSN of described UE access network;
First correspondence relation storage is used to store first corresponding relation of each GGSN IP address and positional information;
The second corresponding relation acquiring unit, be used for according to the GGSN IP address of described first correspondence relation storage storage and first corresponding relation of positional information, obtain the IP address corresponding position information with described UE, and set up the IP address of UE of described access network and second corresponding relation of the described positional information of obtaining;
Location information acquiring unit when being used for receiving the data that UE accesses network process sends, is searched second corresponding relation in the described second corresponding relation acquiring unit according to the source IP address of described data, obtains the positional information of the UE of described accesses network.
Wherein, the content of storing in described first correspondence relation storage comprises: first corresponding relation of the GGSN IP address of each GGSN and corresponding position information in the network, described positional information comprise one or more in city title, city area code, HLR sign indicating number number, the self-defined positional information.
Wherein, also comprise:
Position information sending unit, be used for inserting the positional information that extra address information field is used to carry the UE of described accesses network at the HTTP Header of the HTTP message that sends to business platform, make described business platform resolve described address information field, obtain the positional information of described UE.
Wherein, also comprise:
The second corresponding relation updating block, when being used for changing in GGSN IP address with the GGSN of UE access network, obtain the GGSN IP address after the renewal, upgrade with the IP address corresponding position information of described UE in second corresponding relation that the described second corresponding relation acquiring unit is obtained; And/or when described GGSN with the UE access network knows that UE rolls off the production line, delete about the content of described UE in second corresponding relation that the described second corresponding relation acquiring unit is obtained.
Wherein, described acquiring unit specifically is used for: receive the charging request that the GGSN with described UE access network sends and begin message, obtain the IP address of distributing to UE and with the GGSN IP address of the GGSN of described UE access network from described charging request message;
The described second corresponding relation updating block specifically is used for: receive the charging request updating message that the new GGSN with the UE access network sends, obtain the GGSNIP address after the renewal from described charging request updating message; And/or receive the charging request that the GGSN with the UE access network sends and stop message, know that described UE rolls off the production line.
Wherein, to obtain equipment be the WAP (wireless application protocol) WAP gateway to described positional information.
Compared with prior art, embodiments of the invention have the following advantages:
According to the IP address of the employed GGSN of UE access network, and default corresponding relation, obtain the positional information of UE, thereby realized quick in the wap data business, convenient, obtain the positional information of user terminal accurately.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic diagram of WAP service groups planar network architecture in the prior art;
Fig. 2 is the schematic diagram of Mobile Subscriber International ISDN Number structure in the prior art;
Fig. 3 is the acquisition methods flow chart of position information of user's terminal in the embodiment of the invention;
Fig. 4 is the topological structure schematic diagram of the professional networking of the wap data that relates in the embodiment of the invention;
Fig. 5 is the schematic diagram of the HTTP message format example used in the embodiment of the invention;
Fig. 6 is the flow chart of the UE request access network that relates in the embodiment of the invention;
Fig. 7 is the flow chart of the UE accesses network that relates in the embodiment of the invention;
Fig. 8 is the structural representation that the positional information that relates in the embodiment of the invention is obtained equipment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiments of the invention provide a kind of acquisition methods of position information of user's terminal, as shown in Figure 3, comprising:
Step s301, obtain and to distribute to the IP address of UE in the user terminal UE access network process and with the GGSN IP address of the GGSN of UE access network.
Step s302, according to the GGSN IP address and first corresponding relation of positional information of this locality storage, obtain the IP address corresponding position information with UE, and set up the IP address of UE of access network and second corresponding relation of the positional information obtained.
Step s303, when receiving the data that send in the UE accesses network process, search second corresponding relation, obtain the positional information of the UE of accesses network according to the source IP address of data.
Afterwards, according to the positional information of the UE of the accesses network that gets access to, can in the data packet head that sends to business platform, insert the positional information of UE, and packet is sent to business platform; Or the positional information of UE is sent to business platform by independent message, make business platform can obtain the positional information of UE.
In the specific embodiment of the present invention, be that WAP gateway is an example, the embodiment of position information of user's terminal acquisition methods of the present invention is described with the network equipment of implementing the described flow process of above-mentioned Fig. 3.
As shown in Figure 4, in the acquisition methods for the position information of user's terminal that relates in the embodiment of the invention, the topological structure schematic diagram of the professional networking of wap data.Wherein, core network element SGSN and GGSN adopt distributed Da Qu system deployment way in network-wide basis, only provide the data service access service at the UE in certain regional area, there are incidence relation in each SGSN and the GGSN that promptly dispose in the network with certain location.Routing mode when UE visit WAP/HTTP is professional is: the SGSN by local (ownership place/roaming place) inserts this regional GGSN nearby, GGSN inserts corresponding WAP gateway according to WAP business domains attaching relation, is inserted the service server of external data network again according to the purpose URL/IP address in the visit data bag by WAP gateway.Therefore, if can know the positional information of GGSN, can identify the geographical position relevant information of user terminal by the positional information of GGSN.
For the mobile PS territory network of 2G and 3G, the IP address assignment situation of core network element SGSN and GGSN is as follows:
SGSN:Gn interface assignment public ip address space;
GGSN:Gn interface assignment public ip address space;
Gi interface and external data network interconnection distribute public ip address;
Each WAP gateway can be corresponding with a GGSN or a plurality of GGSN.
In the prior art, when user terminal is asked access network by GGSN, need to activate the stage through PDP Context, GGSN sends information as shown in table 2 below by RADIUS (Remote Authentication Dial In User Service, remote customer dialing authentication system) message Accounting Request (request of chargeing) to WAP gateway in this stage:
Table 2.RADIUS message field
Attribute definition Describe
?User-Name User name
?User-Password User cipher under the pap authentication mode
CHAP-Password User cipher under the chap authentication mode
NAS-IP-Add?ress The IP address of NAS equipment
NAS-Identifier The NAS sign
Called-Station-Id APN
Calling-Station-Id Calling number
CHAP-Challenge The CHAP challenging value
In the equipment of the core network in PS territory, by parameter configuration, can set the NAS in the Accounting Request message (Network Access System network access system) IP address field " NAS-IP-Address " is transferred to WAP gateway as effective field.After receiving Accounting Request message in the prior art in the WAP gateway, can ignore the NAS-IP-Address information in the message usually, not carry out any processing.In the professional networking of wap data of the present invention, NAS is GGSN, therefore can think in the NAS-IP-Address of RADIUS message field, carry be the IP address of GGSN.
In the WAP gateway that provides in the embodiment of the invention, according to the construction situation and the deployment planning of operator's data core net, and each GGSN that disposes in the network and the incidence relation of geographical location information, storage corresponding geographical position information database.In this geographical location information data storehouse, comprise the corresponding relation between all GGSNIP addresses and the positional information, for example use form as shown in table 3:
Table 3 geographical location information data storehouse
Data item 1 GGSN?IP1 Aera?Code1
Data item 2 GGSN?IP2 Aera?Code2
Data item 3 GGSN?IP3 Aera?Code3
Data item n ... ...
Wherein Area Code is the location dependent information that inserts ground GGSN, can be according to business demand and application scenarios flexible configuration.The form of Area Code includes but not limited to:
(1) city area code, for example 010,020,0371 etc.;
(2) city title/write a Chinese character in simplified form, for example beijing, shanghai, zhengzhou etc.;
(3) HLR sign indicating number number, for example 11,18 etc.;
(4) self-defined positional information is concrete, represents positional information by self-defining encoding scheme, for example represents Beijing with 0x00, and 0x35 represents Zhengzhou etc.;
(5) other ...
In the method that the embodiment of the invention provides, activate the stage at PDP Context, when WAP gateway receives the Accounting Request message of GGSN transmission, according to the information such as GGSN IP that comprise in the message is parameter, inquiry is the geographical location information data storehouse of storage in advance, obtains corresponding geo-location parameter Area Code.And with the user terminal information in the message, as information such as the IP address of user terminal, MSISDN together, create UE information database list item for the current UE relevant information, wherein WAP gateway can obtain the MSISDN of user terminal from the Calling-Station-Id field the Accounting Request message.Need to prove, in the acquisition methods of the position information of user's terminal that the embodiment of the invention provides, need obtain the IP address of user terminal and the corresponding relation of Area Code according to the IP address of GGSN, MSISDN for user terminal, there is not direct relation with the location information acquisition method of embodiment among the present invention, when considering that possible other of existing network scheme are used, can in corresponding relation, preserve the MSISDN of user terminal simultaneously.This corresponding relation can be kept in the User Information Database, and an example of this database structure can be as shown in table 4 below:
Table 4 User Information Database
UE?Info(IP,MSISDN...) GGSN?IP Aera?Code
UE?Info1 GGSN?IP?1 Aera?Code?1
UE?Info2 GGSN?IP?2 Aera?Code?2
... ... ...
PDP Context activate finish after, set up the one-to-one relationship between " the UE information (IP, MSISDN...)-GGSN IP-Area Code " of this UE in the User Information Database of WAP gateway.Promptly obtained the UE current location information represented with Area Code form this moment.
The accesses network stage after UE obtains the IP address, when WAP gateway receives UE through WAP/HTTP access request data bag that GGSN sends, read the source IP address of the data packet head that receives, this source IP address is the IP address of UE.And be the UE information database that input parameter inquiry is set up in advance with this IP address, obtain to set up and the current geographic position information of this UE that update stage is stored at PDP Context.
In order to notify the current geographic position information of this UE to data service platform or third party's website, the new field x-area-code among the definition HTTP Header is used to carry user's current geographic position information.WAP gateway will insert this field x-area-code, to carry user's geographical location information in HTTP Header after receiving user's access request data bag.
A concrete example in the HTTP request msg packet header after WAP gateway is handled as shown in Figure 5, wherein the part of runic sign is newly-increased location information field x-area-code.
Data service platform or third party's website receive the HTTP service request data bag that WAP gateway sends, and can obtain user's current location information by the x-area-code among the parsing HTTP Header.Follow-up can the service for the user provide to have more targetedly according to positional information.
For above-mentioned flow process, below describe in detail by flow chart:
As shown in Figure 6, disconnect the flow process that network connects for UE request access network, the UE request that relates in the embodiment of the invention.Comprise:
Step s601, UE send Attach_Request (adhering to request) to SGSN.
Step s602, SGSN send Send authorization Info (transmission authentication information) message to HLR.
Step s603, HLR send SAI Ack (sending the authentication information response) to SGSN.
Step s604, SGSN send Authentication and Ciphering Request (authentication and encryption request) to UE.
Step s605, UE send Authentication and Ciphering Response (authentication and encrypted response) to SGSN
Step s606, SGSN and HLR carry out Update_location (position renewal).
Step s607, SGSN send Attach_Accept (adhering to acceptance) to UE.
Step s608, UE send Active_PDP_context_request (PDP context activation request) message to SGSN, carry the PDP type in message, APN, QoS, options such as PDP configuration.
The APN that step s609, SGSN provide when sending the PDP context activation request according to UE, acquisition provides the GGSN IP address of WAP business, and sends Create_PDP_context_request (creating the PDP Context request) message to GGSN.
After step s610, GGSN received PDPContext request to create message, the Radius authentication module in WAP gateway sent Access Request (access authentication request) message.
Step s611, WAP gateway carry out Authorization (access authentication) according to the data among the Access Request to the user.
Step s612, WAP gateway send Access Accepted (access authentication acceptance) message to GGSN.
After step s613, GGSN receive the Access Accepted message of WAP gateway, send Accounting_request START (charging begins request) message to WAP gateway, comprise information such as user's IP address, Mobile Subscriber International ISDN Number, bearer types, GGSN IP in this charging request message.
Step s614, WAP gateway carry out Info Saving (information preservation), user's above-mentioned information is saved to local data base, its form is as user profile list item mentioned above, wherein comprise user's data such as MSISDN, private IP address, GGSN IP address and Area Code, and generate the interim conversation of this online for UE.Its concrete form can be as shown in table 4.
Step s615, WAP gateway send Accounting_accept START (charging begins to reply) message to GGSN.
Step s616, GGSN send Create_PDP_context_response (creating the PDP Context response) message to SGSN, and when PDP Context activated, user terminal obtained private IP address.
Step s617, SGSN receive the establishment PDP Context response message of GGSN, in this PDPContext, insert information such as GGSN address, dynamic PDP addresses, return Active_PDP_context_accpet (activating PDP Context accepts) message to UE then, UE obtains private IP address.
When user offline, WAP gateway need be deleted this user's who stores in the local data base user profile, and this flow process comprises:
Step s618, UE send Deactive_PDP_context_request (PDP context deactivation request) message to SGSN, contain the event ID that needs the PDP of deexcitation Context in this message.
The PDP Context that step s619, SGSN have set up according to UE sends Delete_PDP_context_request (request of deletion PDP Context) message to GGSN.
Step s620, the GGSN Radius authentication module in WAP gateway sends Accouting_request STOP (charging stops request) message.
Step s621, WAP gateway carry out Info Delete (information deletion) operation, the deletion information table corresponding with the user in local data base.
Step s622, WAP gateway send Accouting_accepted STOP (charging stops to reply) message to GGSN, and expression is to the response of Accouting_request STOP Message Processing success.
Step s623, GGSN delete PDP Context, and return Delete_PDP_context _ response (response of deletion PDP Context) message to SGSN.If MS is using dynamic PDP addresses, then GGSN discharges this dynamic PDP addresses, and use can be activated by follow-up other MS the time this address of mark.
Step s624, SGSN send Deactive_PDP_context_accept (PDP context deactivation acceptance) message to UE, inform UE PDP deexcitation success.
In addition, when the employed GGSN of UE access WAP gateway changes, need carry out the switching of GGSN, after switching is finished, send message (the request updating message of for example chargeing) by the new GGSN after switching to WAP gateway, WAP gateway upgrades information table corresponding with this UE in the local data base according to the message that receives.The flow process that this WAP gateway upgrades stored user information in the local data base may occur repeatedly in the process that rolls off the production line of once reaching the standard grade of UE.
As shown in Figure 7, the flow process for the UE accesses network that relates in the embodiment of the invention comprises:
Step s701, UE send the request of WAP/HTTP Operational Visit through network elements such as SGSN/GGSN to WAP gateway, as GET HTTP: //wap.website.com, request visit network address HTTP: //wap.website.com.
Application layer URL in the request message that step s702, WAP gateway extraction UE send sends DNS_Query (DNS inquiry) message to dns server, to URL address resolution request.
Step s703, DNS send DNS_Query_Response (DNS inquiry response) message to WAP gateway, return the IP address of the business platform of terminal access.
Step s704, WAP gateway are input parameter inquiry local data base according to the source IP address of UE packet, obtain corresponding UE positional information: Area Code, information and UE location information field x-area-code such as the IP address (IP_adr) of insertion (Info Inserting) UE, MSISDN in the HTTP of service request data bag Header.
Step s705, WAP gateway will ask " GET HTTP: //wap.website.com " to be forwarded to the server of WAP/HTTP, wherein carry information and the UE location information field x-area-code such as IP address (IP_adr), MSISDN of UE.
X-area-code field in step s706, the WAP/HTTP server parses data packet head (Packet Analyzing) can obtain UE information and location dependent information.
Step s707, service server will be relevant with UE http response message HTTP: //wap.website.com/index is sent to user terminal by WAP gateway.
In the said method that the embodiment of the invention provides, WAP gateway is according to the IP address of the employed GGSN of UE access network, and default corresponding relation, obtain the positional information of UE, and be sent to the corresponding business service device, thereby realized quick in the wap data business, convenient, obtain the positional information of user terminal accurately.It can insert the GGSN differentiation UE that uses according to UE and whether be in roaming state, and provide the true geographical location information of the UE of current business request for operation system or WAP/WEB website, but not the information of home location of user MSISDN section has more specific aim and actual application value; And the UE positional information is provided by operator, has authenticity, accuracy and validity.In addition, after operator introduces new section or network planning upgrading, only need that corresponding relation default on the WAP gateway is carried out adaptability revision and get final product, the operation system side need not to implement the positional information identification that any change just can be supported new UE.Need to prove, the above embodiment of the present invention only is example with the WAP gateway, the embodiment of position information of user's terminal acquisition methods among the present invention has been described, but be understandable that, said method also can be applied to have in the network other network equipments of the function that above-mentioned WAP gateway has, the embodiment of its embodiment when being applied to WAP gateway is similar, is not repeated in this description at this.
Embodiments of the invention also provide a kind of system that obtains of position information of user's terminal, comprising:
GGSN is used for obtaining the equipment transmission to positional information and comprising IP address and the GGSN IP address of distributing to this UE with user terminal UE access network process;
Positional information is obtained equipment, is used for obtaining the IP address of distributing to UE and with the GGSN IP address of the GGSN of UE access network according to the content that GGSN sends; According to the GGSN IP address and first corresponding relation of positional information of this locality storage, obtain the IP address corresponding position information with UE, and set up the IP address of UE of access network and second corresponding relation of the positional information obtained; During the data that in receiving UE accesses network process, send, search second corresponding relation, obtain the positional information of this UE of accesses network according to the source IP address (being the IP address of UE) of data.
Wherein, also comprise business platform,
After positional information is obtained the positional information of UE that equipment also is used to obtain accesses network, in the HTTP Header of the HTTP message that sends to business platform, insert the positional information that extra address information field is used to carry the UE of accesses network;
Business platform is used for receiving position information and obtains the HTTP message that equipment sends, the information field that Adds Address among the HTTP Header of parsing HTTP message, the positional information of acquisition UE.
The structure of the WAP gateway in the embodiments of the invention comprises as shown in Figure 8:
Acquiring unit 10 is used for obtaining and user terminal UE access network process is distributed to the IP address of UE and with the GGSN IP address of the GGSN of described UE access network.Concrete, wherein, message sink unit 10 receives the charging request that the GGSN with the UE access network sends and begins message, obtains the IP address of distributing to UE and with the GGSN IP address of the GGSN of UE access network from this charging request message.
First correspondence relation storage 20 is used to store first corresponding relation of each GGSN IP address and positional information; This positional information comprises one or more in city title, city area code, HLR sign indicating number number, the self-defined positional information.
The second corresponding relation acquiring unit 30, be used for according to the GGSN IP address of first correspondence relation storage, 20 storages and first corresponding relation of positional information, obtain the IP address corresponding position information with UE, and set up second corresponding relation of IP address and the positional information of obtaining of the UE of access network;
Location information acquiring unit 40 when being used for receiving the data that UE accesses network process sends, is searched second corresponding relation in the second corresponding relation acquiring unit 30 according to the source IP address of data, obtains the positional information of the UE of accesses network.
In addition, can also comprise:
Position information sending unit 50, be used for inserting the positional information that extra address information field is used to carry the UE of accesses network at the HTTPHeader of the HTTP message that sends to business platform, make business platform parse addresses information field, obtain the positional information of UE.
The second corresponding relation updating block 60, when being used for GGSN IP address with the GGSN of UE access network and changing, obtain the GGSN IP address after the renewal, upgrade with the IP address corresponding position information of UE in second corresponding relation that the second corresponding relation acquiring unit 30 is obtained; Concrete, the second corresponding relation updating block 60 receives the charging request updating message that the new GGSN with the UE access network sends, and obtains the GGSN IP address after the renewal from the request updating message of chargeing;
The second corresponding relation updating block 60 can also be when knowing that with the GGSN of UE access network UE rolls off the production line, and deletes about the content of UE in second corresponding relation that the second corresponding relation acquiring unit 30 is obtained; Concrete, the charging request that the second corresponding relation updating block 60 can receive the GGSN transmission of UE access network stops message, knows that UE rolls off the production line.
The positional information of describing in the embodiment of the invention is obtained equipment can be WAP gateway, also can obtain other network equipments of the function that equipment has for having above-mentioned positional information in the network.
In the said system and equipment that the embodiment of the invention provides, IP address according to the employed GGSN of UE access network, and default corresponding relation, obtain the positional information of UE, thus realized quick in the wap data business, convenient, obtain the positional information of user terminal accurately.It can insert the GGSN differentiation UE that uses according to UE and whether be in roaming state, and provide the true geographical location information of the UE of current business request for operation system or WAP/WEB website, but not the information of home location of user MSISDN section has more specific aim and actual application value; And the UE positional information is provided by operator, has authenticity, accuracy and validity.In addition, after operator introduces new section or network planning upgrading, only need that corresponding relation default on the WAP gateway is carried out adaptability revision and get final product, the operation system side need not to implement the positional information identification that any change just can be supported new UE.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, unit in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the unit in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.A unit can be merged in the unit of the foregoing description, also can further split into a plurality of subelements.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.

Claims (13)

1. the acquisition methods of a position information of user's terminal is characterized in that, comprising:
Obtain and to distribute to the IP address of UE in the user terminal UE access network process and with the GGSN IP address of the GGSN of described UE access network;
According to the GGSN IP address of this locality storage and first corresponding relation of positional information, obtain the IP address corresponding position information with described UE, and set up the IP address of UE of described access network and second corresponding relation of the described positional information of obtaining;
When receiving the data that send in the UE accesses network process, search described second corresponding relation, obtain the positional information of the UE of described accesses network according to the source IP address of described data.
2. the method for claim 1 is characterized in that, described obtaining before distributing to the IP address and the GGSN IP address with the GGSN of described UE access network of UE in the UE access network process also comprises:
Foundation comprises the GGSN IP address of each GGSN in the network and first corresponding relation of corresponding position information, and described positional information comprises one or more in city title, city area code, HLR sign indicating number number, the self-defined positional information.
3. the method for claim 1 is characterized in that, after the positional information of the described UE that obtains accesses network, also comprises:
Insert the positional information that extra address information field is used to carry the UE of described accesses network in the HTTP Header of the HTTP message that sends to business platform, described business platform is resolved described address information field, obtains the positional information of described UE.
As claim 1 to 3 to each described method, it is characterized in that, also comprise:
When the GGSN IP address of described GGSN with the UE access network changes, obtain the GGSN IP address after the renewal, according to the GGSN IP address after the described renewal, to upgrading with the IP address corresponding position information of described UE in described second corresponding relation; And/or
When described GGSN with the UE access network knows that UE rolls off the production line, will delete about the content of described UE in described second corresponding relation.
5. method as claimed in claim 4 is characterized in that,
Described obtaining will be distributed to the IP address of UE and the GGSN IP address of the GGSN of described UE access network be comprised in the user terminal UE access network process: receive the charging request that the GGSN with described UE access network sends and begin message, obtain the IP address of distributing to UE and with the GGSN IP address of the GGSN of described UE access network from described charging request message;
The described GGSN IP address that obtains after the renewal comprises: receive the charging request updating message that the new GGSN with the UE access network sends, obtain the GGSNIP address after the renewal from described charging request updating message;
Describedly comprise: receive the charging request that the GGSN with the UE access network sends and stop message, know that described UE rolls off the production line from the GGSN of UE access network being known UE rolls off the production line.
6. the system that obtains of a position information of user's terminal is characterized in that, comprising:
GGSN is used for obtaining equipment to positional information and sending IP address and the GGSN IP address of distributing to described UE with user terminal UE access network process;
Positional information is obtained equipment, is used for obtaining the IP address of distributing to UE and with the GGSN IP address of the GGSN of described UE access network according to the content that described GGSN sends; According to the GGSN IP address of this locality storage and first corresponding relation of positional information, obtain the IP address corresponding position information with described UE, and set up the IP address of UE of described access network and second corresponding relation of the described positional information of obtaining; During the data that in receiving UE accesses network process, send, search described second corresponding relation, obtain the positional information of the UE of described accesses network according to the source IP address of described data.
7. system as claimed in claim 6 is characterized in that, also comprises business platform,
Described positional information is obtained equipment, after also being used to obtain the positional information of UE of described accesses network, in the HTTP Header of the HTTP message that sends to described business platform, insert the positional information that extra address information field is used to carry the UE of described accesses network;
Described business platform is used to receive described positional information and obtains the HTTP message that equipment sends, and resolves the address information field among the HTTP Header of described HTTP message, obtains the positional information of described UE.
8. a positional information is obtained equipment, it is characterized in that, comprising:
Acquiring unit is used for obtaining and user terminal UE access network process is distributed to the IP address of UE and with the GGSN IP address of the GGSN of described UE access network;
First correspondence relation storage is used to store first corresponding relation of each GGSN IP address and positional information;
The second corresponding relation acquiring unit, be used for according to the GGSN IP address of described first correspondence relation storage storage and first corresponding relation of positional information, obtain the IP address corresponding position information with described UE, and set up the IP address of UE of described access network and second corresponding relation of the described positional information of obtaining;
Location information acquiring unit when being used for receiving the data that UE accesses network process sends, is searched second corresponding relation in the described second corresponding relation acquiring unit according to the source IP address of described data, obtains the positional information of the UE of described accesses network.
9. equipment as claimed in claim 8, it is characterized in that, the content of storing in described first correspondence relation storage comprises: first corresponding relation of the GGSN IP address of each GGSN and corresponding position information in the network, described positional information comprise one or more in city title, city area code, HLR sign indicating number number, the self-defined positional information.
10. equipment as claimed in claim 8 is characterized in that, also comprises:
Position information sending unit, be used for inserting the positional information that extra address information field is used to carry the UE of described accesses network at the HTTP Header of the HTTP message that sends to business platform, make described business platform resolve described address information field, obtain the positional information of described UE.
11., it is characterized in that to each described equipment as claim 8 to 10, also comprise:
The second corresponding relation updating block, when being used for changing in GGSN IP address with the GGSN of UE access network, obtain the GGSN IP address after the renewal, upgrade with the IP address corresponding position information of described UE in second corresponding relation that the described second corresponding relation acquiring unit is obtained; And/or when described GGSN with the UE access network knows that UE rolls off the production line, delete about the content of described UE in second corresponding relation that the described second corresponding relation acquiring unit is obtained.
12. equipment as claimed in claim 11 is characterized in that,
Described acquiring unit specifically is used for: receive the charging request that the GGSN with described UE access network sends and begin message, obtain the IP address of distributing to UE and with the GGSN IP address of the GGSN of described UE access network from described charging request message;
The described second corresponding relation updating block specifically is used for: receive the charging request updating message that the new GGSN with the UE access network sends, obtain the GGSNIP address after the renewal from described charging request updating message; And/or receive the charging request that the GGSN with the UE access network sends and stop message, know that described UE rolls off the production line.
13., it is characterized in that it is the WAP (wireless application protocol) WAP gateway that described positional information is obtained equipment as each described equipment in the claim 8 to 12.
CN200910092225.3A 2009-09-07 2009-09-07 Method, system and device for acquiring position information of user equipment Expired - Fee Related CN102014368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910092225.3A CN102014368B (en) 2009-09-07 2009-09-07 Method, system and device for acquiring position information of user equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910092225.3A CN102014368B (en) 2009-09-07 2009-09-07 Method, system and device for acquiring position information of user equipment

Publications (2)

Publication Number Publication Date
CN102014368A true CN102014368A (en) 2011-04-13
CN102014368B CN102014368B (en) 2014-01-29

Family

ID=43844340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910092225.3A Expired - Fee Related CN102014368B (en) 2009-09-07 2009-09-07 Method, system and device for acquiring position information of user equipment

Country Status (1)

Country Link
CN (1) CN102014368B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139772A (en) * 2011-11-23 2013-06-05 中国移动通信集团上海有限公司 Method for processing terminal accessed to local area network and method and device for used data statistic
CN103188142A (en) * 2011-12-31 2013-07-03 北京大唐高鸿数据网络技术有限公司 Method of achieving geographical location information presentation in instant message system
CN103368899A (en) * 2012-03-26 2013-10-23 中国移动通信集团公司 Method, system and access gateway for determining position of non-IP fixed terminal
CN103701950A (en) * 2013-12-26 2014-04-02 中国联合网络通信集团有限公司 IP (Internet protocol) address allocation method and device
CN104038522A (en) * 2013-03-06 2014-09-10 深圳先进技术研究院 Virtual-real hybrid space positioning system based on Internet of Things
CN104144417A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Mobile Internet surfing user number checking method, device and system
CN104767840A (en) * 2015-04-08 2015-07-08 北方信息控制集团有限公司 IP address distribution method based on area codes and data center server
CN105430692A (en) * 2015-10-27 2016-03-23 合肥浩瀚深度信息技术有限公司 Method for associating signaling flows of 4G and 3G networks
CN107395451A (en) * 2017-06-19 2017-11-24 中国移动通信集团江苏有限公司 Surfing flow abnormal processing method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375410C (en) * 2002-09-05 2008-03-12 中兴通讯股份有限公司 Position information transmission method
CN1486027A (en) * 2002-09-28 2004-03-31 ��Ϊ�������޹�˾ Method for implementing user localization in wireless LAN
CN101159915B (en) * 2007-11-16 2010-09-08 中兴通讯股份有限公司 Position service servicing system and method for providing position information thereof

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139772A (en) * 2011-11-23 2013-06-05 中国移动通信集团上海有限公司 Method for processing terminal accessed to local area network and method and device for used data statistic
CN103188142A (en) * 2011-12-31 2013-07-03 北京大唐高鸿数据网络技术有限公司 Method of achieving geographical location information presentation in instant message system
CN103368899A (en) * 2012-03-26 2013-10-23 中国移动通信集团公司 Method, system and access gateway for determining position of non-IP fixed terminal
CN103368899B (en) * 2012-03-26 2016-12-14 中国移动通信集团公司 A kind of method, system and access gateway determining non-IP fixed terminal position
CN104038522A (en) * 2013-03-06 2014-09-10 深圳先进技术研究院 Virtual-real hybrid space positioning system based on Internet of Things
CN104038522B (en) * 2013-03-06 2019-06-28 深圳先进技术研究院 A kind of virtual-real blending space positioning system Internet-based
CN104144417B (en) * 2013-05-10 2018-01-23 中国电信股份有限公司 Mobile Internet access Subscriber Number inverse-checking method, device and system
CN104144417A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Mobile Internet surfing user number checking method, device and system
CN103701950A (en) * 2013-12-26 2014-04-02 中国联合网络通信集团有限公司 IP (Internet protocol) address allocation method and device
CN104767840A (en) * 2015-04-08 2015-07-08 北方信息控制集团有限公司 IP address distribution method based on area codes and data center server
CN104767840B (en) * 2015-04-08 2018-06-12 北方信息控制集团有限公司 A kind of IP address distribution method and data center server based on area code
CN105430692A (en) * 2015-10-27 2016-03-23 合肥浩瀚深度信息技术有限公司 Method for associating signaling flows of 4G and 3G networks
CN107395451A (en) * 2017-06-19 2017-11-24 中国移动通信集团江苏有限公司 Surfing flow abnormal processing method, device, equipment and storage medium
CN107395451B (en) * 2017-06-19 2020-07-21 中国移动通信集团江苏有限公司 Processing method, device and equipment for internet traffic abnormity and storage medium

Also Published As

Publication number Publication date
CN102014368B (en) 2014-01-29

Similar Documents

Publication Publication Date Title
CN102014368B (en) Method, system and device for acquiring position information of user equipment
US6356761B1 (en) Method and arrangement for finding information
CN101420762B (en) Access gateway selection method, system and gateway selection execution node
EP1103117B1 (en) Integration of voice and data services provided to a mobile wireless device
FI104604B (en) Updating Internet access point settings in the mobile system
EP3598791A1 (en) Communication system, base station, communication method, and non-transitory computer readable medium storing program
CN103220372A (en) Data service access method and system
US20090098875A1 (en) Sms routing
CN101080098B (en) A communication method and system
CN101151928A (en) Technique for coordinating CS and PS registrations in a multi-operator core network
CN102281513A (en) Mechanical communication monitoring processing method and equipment
EP2536171A1 (en) Location method, device and system for secure user plane location enabled terminal
EP2479702A1 (en) Base station, web application server, system and method
CN102045717B (en) System, method and relevant equipment for acquiring user identifier in data service
US8095685B2 (en) Provision of a service to several separately managed networks
US9197719B2 (en) Method for communicating data between a system and a mobile network through an IP channel, corresponding portable object and system
CN101925158A (en) System and method for obtaining number detail
CN104994492A (en) Method for saving standard format page and server
CN101198102B (en) Method, device and system for terminal access network
CN100461958C (en) Mobile communication access system and method
CN101064937B (en) Method and system for accessing home zone of roaming users
KR100723674B1 (en) Method, navigation terminal and system for providing automatic update of map data by using mobile communication network
EP1777978A1 (en) Service provider selection in a communication network
KR100839538B1 (en) Method and system for providing location based information through interlocked with call-center
CN102546846A (en) Retrieving method, system and device of addresses of business servers

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140129

Termination date: 20210907

CF01 Termination of patent right due to non-payment of annual fee