CN101437271B - Method, apparatus and system for determining roaming location of mobile communication equipment - Google Patents
Method, apparatus and system for determining roaming location of mobile communication equipment Download PDFInfo
- Publication number
- CN101437271B CN101437271B CN2008101875698A CN200810187569A CN101437271B CN 101437271 B CN101437271 B CN 101437271B CN 2008101875698 A CN2008101875698 A CN 2008101875698A CN 200810187569 A CN200810187569 A CN 200810187569A CN 101437271 B CN101437271 B CN 101437271B
- Authority
- CN
- China
- Prior art keywords
- communication equipment
- mobile communication
- roaming
- autonomous system
- sgsn
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The embodiment of the invention discloses a method, a device and a system for determining a roaming place of mobile communication equipment, which relates to the technical field of communication. The invention aims to solve the problems of narrow adaptability, as well as low real-time and accuracy of roaming place determining technology used in the prior communication equipment. The method for determining the roaming place of the mobile communication equipment comprises the following steps: acquiring an IP address of a service GPRS supporting node (SGSN) of the mobile equipment in the roamingplace; acquiring an autonomous system number of the network where the SGSN is positioned according to the IP address; and determining the roaming place of the mobile communication equipment accordingto the corresponding relation between the preset autonomous system number and the roaming place. The embodiment of the invention is based on global unified distribution of the autonomous system number and the basically-unchanged property, and has better applicability, can dynamically perceive the change of the IP address of the SGSN, and can accurately acquire information of the communication equipment in the roaming place in real time when the network is adjusted.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of methods, devices and systems of judging roaming location of mobile communication equipment.
Background technology
For the mobile communication equipment services of roaming, mobile operator will take different charging policy according to the roaming agreement of signature according to the difference of roaming location of mobile communication equipment.In WCDMA (Wideband Code Division Multiple Access (WCDMA)) network, user's charging is gone up realization at GGSN (Gateway GPRS Support Node), so just need on GGSN, can get access to user's the roaming place network information.
In the WCDMA network, mobile communication equipment activates on GGSN by SGSN (Serving GPRS Support Node), and GGSN distributes the address for mobile communication equipment and the service of accesses network is provided.When mobile communication equipment when its local carrier network is inner, connect the activation mobile communication equipment by the SGSN in the local network and GGSN; When mobile communication equipment roams in the network of other operators, set up GTP (GPRS Tunnel Protocol) by SGSN in other carrier networks and local GGSN and be connected and activate.At present, mainly judge the roaming place information of mobile communication equipment by following dual mode:
One, use the RAI/ULI attribute in the GTP message that SGSN carries up to judge roaming location of mobile communication equipment.But because RAI/ULI is the non-essential attribute of GTP agreement regulation, therefore might not appear in the GTP message, can't guarantee that the SGSN of all roaming places can carry RAI or ULI.
Two, use SGSN IP to identify (differentiation) roaming location of mobile communication equipment, on GGSN, set up and safeguard the mapping table of SGSN IP and roaming place operator by configuration mode.But the roaming partner of signature can get more and more, and SGSN IP also can get more and more thereupon; And because network change, SGSN IP also may change.Based on this 2 point, the mapping table by configuration mode manual maintenance SGSN IP and roaming place operator on GGSN is very difficult, and is difficult to satisfy because the real-time update requirement of network change.
Therefore, adopt existing roaming location of mobile communication equipment judgment technology, exist applicability wideless, the problem that real-time and accuracy are not high.
Summary of the invention
On the one hand, the embodiment of the invention provides a kind of method of judging roaming location of mobile communication equipment, and it is wideless to have solved the prior art applicability, the problem that real-time and accuracy are not high.
For achieving the above object, the embodiment of the invention adopts following technical scheme:
A kind of method of judging roaming location of mobile communication equipment comprises:
Obtain the IP address of the Serving GPRS Support Node SGSN of roaming location of mobile communication equipment;
According to described IP address, obtain the autonomous system number of described SGSN place network;
According to the corresponding relation between autonomous system of setting up in advance number and the roaming place, determine the roaming place of mobile communication equipment.
On the one hand, the embodiment of the invention provides a kind of device of judging roaming location of mobile communication equipment, and it is wideless to have solved the prior art applicability, the problem that real-time and accuracy are not high.
For achieving the above object, the embodiment of the invention adopts following technical scheme:
A kind of device of judging roaming location of mobile communication equipment comprises:
Address acquisition module is used to obtain the IP address of the Serving GPRS Support Node SGSN of roaming location of mobile communication equipment;
The autonomous system acquisition module is used for the address according to described IP, obtains the autonomous system number of described SGSN place network;
The roaming place determination module is used for determining the roaming place of mobile communication equipment according to the corresponding relation between autonomous system of setting up in advance number and the roaming place.
On the other hand, the embodiment of the invention provides a kind of system of judging roaming location of mobile communication equipment, and it is wideless to have solved the prior art applicability, the problem that real-time and accuracy are not high.
For achieving the above object, the embodiment of the invention adopts following technical scheme:
A kind of system of judging roaming location of mobile communication equipment comprises:
Serving GPRS Support Node SGSN, Gateway GPRS Support Node GGSN;
SGSN is used for when mobile communication equipment need communicate business in the roaming place, sends the activation request of mobile communication equipment to GGSN;
GGSN is used to respond described activation request, for described mobile communication equipment distributes the address and the service of accesses network is provided.
GGSN is according to the IP address of the SGSN that sends the request of activation, obtain the bgp routing information of SGSN place network, and obtain the autonomous system number that routing iinformation obtains SGSN place network according to described, inquiry is stored in the corresponding relation between autonomous system number and the roaming place information among the GGSN, thus the information of acquisition roaming place, the current place of mobile communication equipment.
The embodiment of the invention has applicability preferably based on the whole world unified distribution of autonomous system number and the character that can not change substantially; According to the bgp routing information of its place network of IP address search of SGSN, and then obtain the autonomous system number of described network, thereby match roaming place, mobile communication equipment place information.Utilize the more characteristic of new routing information of BGP Routing Protocol real-time perception network change, when newly-increased SGSN or original SGSNIP address change, can be automatically obtain the autonomous system number of place, SGSN IP address network in real time by the BGP route, realized can be accurately real-time when network occur to be adjusted roaming place, the mobile communication equipment place information of obtaining, and shielded the influence of network adjustment to GGSN.
Description of drawings
The flow chart of the judgement roaming location of mobile communication equipment method that Fig. 1 provides for the embodiment of the invention;
Fig. 2 obtains the flow chart of the autonomous system number of SGSN place network for what the embodiment of the invention provided according to routing iinformation;
The schematic diagram of the AS_Path attribute that Fig. 3 provides for the embodiment of the invention;
The structure chart of the device of the judgement roaming location of mobile communication equipment that Fig. 4 provides for the embodiment of the invention;
The structure chart of the autonomous system acquisition module that Fig. 5 provides for the embodiment of the invention.
Embodiment
Wideless in order to solve existing roaming location of mobile communication equipment judgment technology applicability, the problem that real-time and accuracy are not high.The embodiment of the invention provides a kind of method of judging roaming location of mobile communication equipment.
As shown in Figure 1, the method for the judgement roaming location of mobile communication equipment that the embodiment of the invention provides comprises:
101, obtain the IP address of the Serving GPRS Support Node SGSN of roaming location of mobile communication equipment;
When mobile communication equipment carries out talk business in the roaming place, need elder generation on the GGSN of this locality, to activate by the SGSN of roaming place, and be after mobile communication equipment distributes the address by GGSN, mobile communication equipment just can be conversed, when GGSN receives the active information that roaming place SGSN sends, the IP address that obtains roaming place SGSN according to the source address of described active information;
102,, obtain the autonomous system number of described SGSN place network according to described IP address;
103,, determine the roaming place of mobile communication equipment according to the corresponding relation between autonomous system of setting up in advance number and the roaming place.
The mobile communications network of each operator all is made up of one or several autonomous systems, each autonomous system can be distributed an autonomous system number unitedly by the whole world, the described autonomous system whole world is unique, and, therefore can utilize autonomous system number to identify the roaming place of mobile communication equipment in case can not change substantially after distributing.
As shown in Figure 2, according to described IP address, the step of obtaining the autonomous system number of described SGSN place network comprises:
201,, obtain BGP (Border Gateway Protocol) routing iinformation of SGSN place, roaming place network according to described IP address;
Intercom mutually by operation BGP Routing Protocol between the different networks; After local GGSN has obtained the IP address of roaming place SGSN, in the routing table of self, find the route of its coupling, be SGSN place, roaming place network B GP routing iinformation according to described IP address;
202, obtain the autonomous system number of SGSN place network according to described routing iinformation.
Write down in the AS_Path attribute in the network B GP routing iinformation of place, roaming place from roaming place SGSN to local GGSN by way of all autonomous systems number; From described AS_Path attribute, obtain the autonomous system number of roaming place belonging network correspondence.
As shown in Figure 3, suppose that roaming place SGSN is positioned at autonomous system AS10, local GGSN is positioned at autonomous system AS50.
When network carries out initialization, operation BGP Routing Protocol, D=8.0.0.0 is communicated to other AS with network segment route, at first the AS of AS10 numbering 10 is put into (10) in the AS_Path attribute; Through behind the AS20, AS20 numbers own AS 20 Far Lefts (20,10) that are put into the AS_Path attribute again, by that analogy.
When the GGSN in the AS50 obtains this route, just can know according to the AS_Path attribute, arriving the AS path that the address of this network segment of 8.0.0.0 need pass through is (30,20,10), AS according to last process is numbered 10, and the AS numbering that can judge 8.0.0.0 network segment place network is 10.
Set up the corresponding relation of autonomous system number and roaming place information in advance, because the autonomous system whole world is unique, each operator only uses limited several autonomous systems number of distributing to oneself separately, and in case the characteristic that can not change substantially after distributing, therefore described corresponding relation relative fixed and clauses and subclauses are limited, safeguard also comparatively simple.
After the autonomous system that obtains roaming place belonging network correspondence number, can inquire roaming place information according to the corresponding relation of being set up, thereby take corresponding charging policy.
In concrete enforcement, the embodiment of the invention provides two kinds of specific implementations, is described respectively below:
One, corresponding relation is disposed among the GGSN, GGSN inquires corresponding roaming place information after obtaining autonomous system number, then described roaming place information is sent to counting equipment, takes corresponding charging policy by counting equipment.
Two, corresponding relation is disposed in the counting equipment, after GGSN obtains autonomous system number, described autonomous system number is sent to counting equipment, number in corresponding relation, obtain roaming place information by counting equipment according to described autonomous system, and take corresponding charging policy according to roaming agreement.
Wideless in order to solve existing roaming location of mobile communication equipment judgment technology applicability, the problem that real-time and accuracy are not high.The embodiment of the invention provides a kind of device of judging roaming location of mobile communication equipment.
As shown in Figure 4, the device of the judgement roaming location of mobile communication equipment that the embodiment of the invention provides comprises
Autonomous system acquisition module 402 is used for the address according to described IP, obtains the autonomous system number of described SGSN place network;
Roaming place determination module 403 is used for determining the roaming place of mobile communication equipment according to the corresponding relation between autonomous system of setting up in advance number and the roaming place;
As shown in Figure 5, the autonomous system acquisition module comprises:
Routing iinformation acquiring unit 501 is used for the address according to IP, obtains BGP (Border Gateway Protocol) routing iinformation of SGSN place, roaming place network;
Autonomous system acquiring unit 502 is used for obtaining according to described routing iinformation the autonomous system number of SGSN place network.
Wideless in order to solve existing roaming location of mobile communication equipment judgment technology applicability, the problem that real-time and accuracy are not high.The embodiment of the invention provides a kind of system of judging roaming location of mobile communication equipment.
The system of the judgement roaming location of mobile communication equipment that the embodiment of the invention provides comprises: Serving GPRS Support Node SGSN, Gateway GPRS Support Node GGSN;
SGSN is used for when mobile communication equipment need communicate business in the roaming place, sends the activation request of mobile communication equipment to GGSN;
GGSN is used to respond described activation request, for described mobile communication equipment distributes the address and the service of accesses network is provided.
GGSN is according to the IP address of the SGSN that sends the request of activation, obtain the bgp routing information of SGSN place network, and obtain the autonomous system number that routing iinformation obtains SGSN place network according to described, inquiry is stored in the corresponding relation between autonomous system number and the roaming place information among the GGSN, thus the information of acquisition roaming place, the current place of mobile communication equipment.
Another embodiment of the present invention judges then that corresponding to the corresponding relation between autonomous system number and the roaming place information is stored in the accounting module system of roaming location of mobile communication equipment also comprises:
Accounting module is used to store the corresponding relation between autonomous system number and the roaming place information, and number inquires about the roaming place information of current mobile communication equipment according to autonomous system, thereby takes corresponding charging policy.
The embodiment of the invention is utilized the dynamic convergence characteristic of BGP Routing Protocol, when the IP address of newly-increased SGSN or original SGSN changes in same network segment, GGSN only need be when receiving that user from SGSN activates request, according to the IP address search of SGSN network segment route under it, just can obtain its corresponding ASN; When SGSN has used new network segment address, the route of the new network segment can arrive GGSN by the update message announcement of bgp protocol, and carrying equally from the new network segment to GGSN the as_path information of process, when GGSN receives the activation request that SGSN sends, just can find the route of the affiliated new network segment of SGSN, and, obtain the ASN of the belonging network of SGSN according to the AS_Path information of this route.By the way, when SGSN changes, need not to revise any configuration on the GGSN, utilize the function that dynamically updates to route of BGP Routing Protocol, the dynamically variation of perception SGSN, get access to the corresponding relation of SGSN and autonomous system number in real time, thereby obtain the current roaming place information of mobile communication equipment.
The embodiment of the invention is not only applicable to described WCDMA network, and is applicable to the mobile communications network of other types, as CDMA, Wimax etc.
One of ordinary skill in the art will appreciate that: all or part of step in realization the foregoing description method can instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, as ROM/RAM, magnetic disc or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection range of claim.
Claims (9)
1. a method of judging roaming location of mobile communication equipment is characterized in that, comprising:
Obtain the IP address of the Serving GPRS Support Node SGSN of roaming location of mobile communication equipment;
According to described IP address, obtain the autonomous system number of described SGSN place network;
According to the corresponding relation between autonomous system of setting up in advance number and the roaming place, determine the roaming place of mobile communication equipment.
2. the method for judgement roaming location of mobile communication equipment according to claim 1 is characterized in that, also comprises before the IP address step of the described Serving GPRS Support Node SGSN that obtains roaming location of mobile communication equipment:
Set up the corresponding relation of autonomous system number and roaming place information.
3. the method for judgement roaming location of mobile communication equipment according to claim 1 is characterized in that, and is described according to described IP address, and the autonomous system of obtaining described SGSN place network number comprises:
According to described IP address, obtain the Border Gateway Protocol (BGP) routing iinformation of SGSN place, roaming place network;
Obtain the autonomous system number of SGSN place network according to described routing iinformation.
4. the method for judgement roaming location of mobile communication equipment according to claim 2, it is characterized in that, in counting equipment, set up the corresponding relation of autonomous system number and roaming place information, corresponding relation between autonomous system that then described basis is set up in advance number and the roaming place, determine that the roaming place of mobile communication equipment comprises:
The autonomous system of the SGSN place network that obtained number is sent to counting equipment;
Counting equipment is according to described autonomous system number definite roaming location of mobile communication equipment.
5. a device of judging roaming location of mobile communication equipment is characterized in that, comprising:
Address acquisition module is used to obtain the IP address of the Serving GPRS Support Node SGSN of roaming location of mobile communication equipment;
The autonomous system acquisition module is used for the address according to described IP, obtains the autonomous system number of described SGSN place network;
The roaming place determination module is used for determining the roaming place of mobile communication equipment according to the corresponding relation between autonomous system of setting up in advance number and the roaming place.
6. the device of judgement roaming location of mobile communication equipment according to claim 5 is characterized in that, also comprises:
Memory module is used to store the corresponding relation of autonomous system number and roaming place information.
7. the device of judgement roaming location of mobile communication equipment according to claim 5 is characterized in that, described autonomous system acquisition module comprises:
The routing iinformation acquiring unit is used for the address according to IP, obtains the Border Gateway Protocol (BGP) routing iinformation of SGSN place, roaming place network;
The autonomous system acquiring unit is used for obtaining according to described routing iinformation the autonomous system number of SGSN place network.
8. a system of judging roaming location of mobile communication equipment is characterized in that, comprising: Serving GPRS Support Node SGSN, Gateway GPRS Support Node GGSN;
SGSN is used for when mobile communication equipment need communicate business in the roaming place, sends the activation request of mobile communication equipment to GGSN;
GGSN is used to respond described activation request, for described mobile communication equipment distributes the address and the service of accesses network is provided.
GGSN obtains the bgp routing information of SGSN place network according to the IP address of the SGSN that sends the request of activation, and obtain the autonomous system number that routing iinformation obtains SGSN place network according to described, inquiry is stored in the corresponding relation between autonomous system number and the roaming place information among the GGSN, thus the information of acquisition roaming place, the current place of mobile communication equipment.
9. the system of judgement roaming location of mobile communication equipment according to claim 8 is characterized in that,
Also comprise:
Accounting module is used to store the corresponding relation between autonomous system number and the roaming place information, and number inquires about the roaming place information of current mobile communication equipment according to autonomous system, thereby takes corresponding charging policy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101875698A CN101437271B (en) | 2008-12-24 | 2008-12-24 | Method, apparatus and system for determining roaming location of mobile communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101875698A CN101437271B (en) | 2008-12-24 | 2008-12-24 | Method, apparatus and system for determining roaming location of mobile communication equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101437271A CN101437271A (en) | 2009-05-20 |
CN101437271B true CN101437271B (en) | 2010-09-15 |
Family
ID=40711442
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101875698A Active CN101437271B (en) | 2008-12-24 | 2008-12-24 | Method, apparatus and system for determining roaming location of mobile communication equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101437271B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036208A (en) | 2009-09-24 | 2011-04-27 | 中兴通讯股份有限公司 | Method and system for acquiring serving general radio packet service support node address |
US10201023B2 (en) | 2015-12-30 | 2019-02-05 | Lenovo (Beijing) Limited | Establishing a local connection in a roaming location |
CN105704646B (en) * | 2015-12-30 | 2019-04-23 | 联想(北京)有限公司 | Communication means and mobile communication equipment |
CN105933382A (en) * | 2016-04-01 | 2016-09-07 | 乐视控股(北京)有限公司 | Method and device for pushing information according to roaming destination |
CN105763646B (en) * | 2016-04-23 | 2019-05-28 | 珠海豹趣科技有限公司 | A kind of method of locating terminal and device, server |
WO2018170901A1 (en) * | 2017-03-24 | 2018-09-27 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and device for managing network based on border gateway protocol |
-
2008
- 2008-12-24 CN CN2008101875698A patent/CN101437271B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101437271A (en) | 2009-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103039049B (en) | For covering the method for Diameter node information, system and computer-readable medium in a communication network | |
CN101437271B (en) | Method, apparatus and system for determining roaming location of mobile communication equipment | |
CN109361526B (en) | Policy-controlled routing method, PCRF/PCF and DRA | |
CN101374055B (en) | Method for processing charging and network system, packet data network gateway and charging system | |
CN110048951B (en) | PCF addressing method and device, equipment and storage medium | |
CN109413640B (en) | Session information query method, network element and computer storage medium | |
CN102238507B (en) | Determine the method and system of "Policy and Charging Rules Function | |
WO2018107822A1 (en) | Traffic accounting method and system, and control server | |
CN101106778B (en) | GPRS implementation method and system based on one-in-multiple number SIM card | |
US10348678B2 (en) | Network device and method for allocating access point name | |
GB2373409A (en) | Mobile IP service with roaming between GPRS packet networks | |
CN102281513A (en) | Mechanical communication monitoring processing method and equipment | |
CN101388828A (en) | Method and device for bearing activation by evolution packet switching system | |
CN105491176A (en) | Method and system for PCRF addressing | |
CN111050355B (en) | Method, device and system for dynamically adjusting Qos of mobile terminal | |
CN101437297A (en) | Method, apparatus and system for processing business | |
CN105027532B (en) | Content distribution method and device | |
CN104429128A (en) | Wireless access processing method, device and system | |
CN101753638B (en) | Control method, device and communication system of direct tunnel | |
CN101064937B (en) | Method and system for accessing home zone of roaming users | |
CN101198102A (en) | Method, device and system for terminal access network | |
CN101505470B (en) | Policy control method and equipment | |
CN105991787A (en) | Packet data service processing system, method and apparatus | |
CN103379555B (en) | A kind of communication system, apparatus and method | |
CN104469876A (en) | Routing method and device based on heterogeneous integration network of WLAN and mobile network |
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 |