CN104883736A - Terminal positioning method and device - Google Patents

Terminal positioning method and device Download PDF

Info

Publication number
CN104883736A
CN104883736A CN201510279884.3A CN201510279884A CN104883736A CN 104883736 A CN104883736 A CN 104883736A CN 201510279884 A CN201510279884 A CN 201510279884A CN 104883736 A CN104883736 A CN 104883736A
Authority
CN
China
Prior art keywords
terminal
address
user face
teid
tunnel
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
CN201510279884.3A
Other languages
Chinese (zh)
Other versions
CN104883736B (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.)
National Computer Network and Information Security Management Center
Original Assignee
National Computer Network and Information Security Management Center
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 National Computer Network and Information Security Management Center filed Critical National Computer Network and Information Security Management Center
Priority to CN201510279884.3A priority Critical patent/CN104883736B/en
Publication of CN104883736A publication Critical patent/CN104883736A/en
Application granted granted Critical
Publication of CN104883736B publication Critical patent/CN104883736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a terminal positioning method and device; the method comprises the following steps: using an association relation set up between a terminal mark and a terminal user plane tunnel IP address, and using a corresponding relation between a base station geography position and an eNB IP address in the user plane tunnel IP address, and obtaining the terminal geography position while knowing the user terminal mark. The method and device are not limited by the signaling positioning technology and the terminal, and can fast and accurately locate the terminal position.

Description

The localization method of terminal and device
Technical field
Mobile communication technology field of the present invention, particularly relates to a kind of localization method and device of terminal.
Background technology
In the mobile communication network, Mobile Network Operator or third party monitoring system (as operator buying third party signalling analysis system) need to follow the tracks of terminal location usually, so that diagnose network faults better, are optimized network.Such as, operator wish to know user where cover poor, or frequent call drop; Or because certain monitoring needs, it is desirable to when user is noninductive, customer position information to be obtained from operator.
In the mobile communication network, the cell ID ID at user terminal place is reported Operator Core Network by base station controller usually, mobile communications network or third party monitoring system obtain the community at terminal place by analyzing mobile network's signaling data, thus are obtained the positional information of terminal by cell coverage area.At present, this subdistrict position localization method based on signaling is widely used in 2G, 3G network terminal positioning.Another kind method, depend on terminal, the network information (base station IDs), Wifi Mac address, GPS information etc. that obtain initiatively are uploaded to mapping service provider by terminal, and mapping service provider positions according to relevant information and returns to terminal positional information.
But along with the granting of 4G licence plate, Communication in China industry has stepped into 4G, existing signaling location technology has not been suitable for 4G network; The method relying on terminal has only been installed related software and just can provide service by third-party server manufacturer in terminal, is not suitable for operator and positions terminal.
Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of localization method and device of terminal, can the geographical position of locating terminal rapidly and accurately.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: the localization method providing a kind of terminal, comprising: receive the inquiry of user about the geographical position of first terminal; By the mark of described first terminal, inquire about the first linked database, obtain described first terminal user face tunnel IP address, wherein, the incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address has been set up in described first linked database, described mark comprises one in international mobile subscriber identity IMSI, mobile device international identification code IMEI, mobile user comprehensive service digital net number MSISDN, and described user face tunnel IP address comprises the IP address of base station eNB and the IP address of gateway S-GW; By described first terminal user face tunnel IP address, inquire about the second linked database, obtain the geographical position corresponding to the tunnel IP address of described first terminal user face, the geographical position of the eNB corresponding to IP address of the eNB in the tunnel IP address of described first terminal user face is the geographical position of described first terminal, wherein, the incidence relation between user face tunnel IP address and geographical position is preserved in described second linked database; The geographical position of described first terminal is sent to described user.
Wherein, before the step of described reception user about the inquiry in the geographical position of first terminal, comprising: in described first linked database, set up the incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address.
Wherein, the described step setting up incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address in described first linked database, comprising: obtain user face business datum and chain of command signaling data; Resolve described user face business datum and described chain of command signaling data, obtain many IP traffics and chain of command GTP-C message; User face tunnel IP address and user face first Tunnel End Point Identifier TEID is extracted from each described IP traffic, described TEID comprises the TEID of TEID and S-GW of eNB, from six groups of message of described chain of command GTP-C, extract the mark of the second terminal, described second terminal use face the 2nd TEID, described six groups of message comprise session establishment request and response, session removal request and response, carry to set up and ask and response, bearing modification request and response, bearer update request and response and deleting load-bearing request and response; Judge that whether described user face the one TEID is identical with described user face the 2nd TEID; If described user face the one TEID is identical with described user face the 2nd TEID, then confirm that described user face the one TEID is corresponding with described user face the 2nd TEID and associate same mobile terminal, and set up the incidence relation between the mark of described second terminal and described second terminal use face tunnel IP address; Incidence relation between the mark of described second terminal and described second terminal use face tunnel IP address is kept in described first linked database.
Wherein, the step of described acquisition user face business datum and chain of command signaling data, comprising: by the interface in the user plane between eNB and SGW, gathers described user face business datum, by the interface between mobile management entity MME and SGW, gather described chain of command signaling data.
Wherein, before the step of described reception user about the inquiry in the geographical position of first terminal, also comprise: obtain the incidence relation between user face tunnel IP address and geographical position from operator, and be kept in described second linked database.
For solving the problems of the technologies described above, another technical solution used in the present invention is: the positioner providing a kind of terminal, and described device comprises: receiver module, for receiving the inquiry of user about the geographical position of first terminal, first enquiry module, for the mark by described first terminal, inquire about the first linked database, obtain described first terminal user face tunnel IP address, wherein, the incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address has been set up in described first linked database, described mark comprises international mobile subscriber identity IMSI, the international identification code IMEI of mobile device, one in mobile user comprehensive service digital net number MSISDN, described user face tunnel IP address comprises the IP address of base station eNB and the IP address of gateway S-GW, second enquiry module, for passing through described first terminal user face tunnel IP address, inquire about the second linked database, obtain the geographical position corresponding to the tunnel IP address of described first terminal user face, the geographical position of the eNB corresponding to IP address of the eNB in the tunnel IP address of described first terminal user face is the geographical position of described first terminal, wherein, the incidence relation between user face tunnel IP address and geographical position is preserved in described second linked database, sending module, for sending the geographical position of described first terminal to described user.
Wherein, described device also comprises: first sets up module, for setting up the incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address in described first linked database.
Wherein, described first sets up module comprises: acquiring unit, for obtaining user face business datum and chain of command signaling data; Resolution unit, for resolving described user face business datum and described chain of command signaling data, obtains many IP traffics and chain of command GTP-C message; First extraction unit, for extracting user face tunnel IP address and user face first Tunnel End Point Identifier TEID from each described IP traffic, described TEID comprises the TEID of TEID and SGW of eNB; Second extraction unit, for extracting the mark of the second terminal, described second terminal use face the 2nd TEID from six groups of message of described chain of command GTP-C, described six groups of message comprise session establishment request and response, session removal request and response, carry to set up and ask and response, bearing modification request and response, bearer update request and response and deleting load-bearing request and response; Judging unit, for judging that whether described user face the one TEID is identical with described user face the 2nd TEID; Confirmation unit, for when described user face the one TEID is identical with described user face the 2nd TEID, confirms that described user face the one TEID is corresponding with described user face the 2nd TEID and associates same mobile terminal; Set up unit, for setting up the incidence relation between the mark of described second terminal and described second terminal use face tunnel IP address; Storage unit, is kept at the incidence relation between the mark of described second terminal and described second terminal use face tunnel IP address in described first linked database.
Wherein, described acquiring unit, specifically for by the interface in the user plane between eNB and SGW, gathers described user face business datum, by the interface between mobile management entity MME and SGW, gathers described chain of command signaling data.
Wherein, described device also comprises: second sets up module, for obtaining the incidence relation between user face tunnel IP address and geographical position from operator, and is kept in described second linked database.
The invention has the beneficial effects as follows: the situation being different from prior art, the present invention utilizes the incidence relation between the mark of the terminal set up and terminal use face tunnel IP address, the incidence relation between user face tunnel IP address and geographical position, when the mark of known users terminal, the geographical position of quick acquisition terminal, in this way, can not by the restriction of signaling location technology, can not by the restriction of terminal, and the position of locating terminal rapidly and accurately.
Accompanying drawing explanation
Fig. 1 is a configuration diagram of 4G network;
Fig. 2 is the flow chart of localization method one execution mode of terminal of the present invention;
Fig. 3 is the flow chart of another execution mode of localization method of terminal of the present invention;
Fig. 4 is the flow chart of the another execution mode of localization method of terminal of the present invention;
Fig. 5 is the enforcement structural representation positioning terminal by obtaining user face tunnel IP address;
Fig. 6 is the structural representation of positioner one execution mode of terminal of the present invention;
Fig. 7 is the structural representation of another execution mode of positioner of terminal of the present invention;
Fig. 8 is the structural representation of the another execution mode of positioner of terminal of the present invention.
Embodiment
Before the invention is described in detail, write a Chinese character in simplified form by the English related to, the explanation in Chinese of English full name and correspondence is as follows:
4G:the 4th Generation mobile communication technology, forth generation mobile communication technology;
IP address: Internet Protocol Address, Internet protocol address;
IMSI:International Mobile Subscriber Identification Number, international mobile subscriber identity;
IMEI:International Mobile Equipment Identity, mobile device international identity code;
MSISDN:Mobile Subscriber International ISDN/PSTN number, mobile user comprehensive service digital net number;
ISDN:Integrated Service Digital Network, integrated services digital network;
ENB:evolved Node B, evolved base station;
S-GW:Serving GateWay, gateway;
GTP-C:GPRS Tunneling Protocol for control plane, GPRS Tunnel Protocol chain of command;
GPRS:General Packet Radio Service, general packet radio service technology;
TEID:Tunnel Endpoint Identifier, Tunnel End Point Identifier;
ECGI:E-UTRAN Cell Global Identifier, E-UTRAN Cell Global Identifier;
E-UTRAN:Evolved UMTS Terrestrial Radio Access Network, the UMTS Terrestrial radio access network of evolution;
UMTS, Universal Mobile Telecommunications System, universal mobile telecommunications system;
MME, Mobility Management Entity, mobile management entity;
PDN GW (P-GW), Packet Data Network Gateway, packet data gateway;
SAE-GW, System Architecture Evolution Gateway, System Architecture Evolution gateway;
EPC-GW, Evolved Packet Core Gateway, packet-based core networks gateway;
HSS, Home Subscriber Server, home signature user server;
CDR, Call Detail Record, calling is list, call record, transaction journal in detail.
Below in conjunction with drawings and embodiments, the present invention is described in detail.
Consult Fig. 1, Fig. 1 is a configuration diagram of 4G network.This 4G network architecture comprises: base station (E-UTRAN) 1, mobile management entity (MME) 2, gateway (S-GW) 3, packet data gateway (P-GW) 4 and home signature user server (HSS) 5.Wherein, E-UTRAN 1 is 4G access network, is made up of 4G base station, and 4G base station is also referred to as eNodeB (being abbreviated as eNB), and its overlay area eCGI represents.A usual eNodeB may cover 1-3 community (eCGI).In Fig. 1, MME 2 is 4G mobile management entity, is mainly used in signaling and controls, and S-GW 3 and P-GW 4 is business data processing entity, mainly for the treatment of user data, usually merges setting, and is called SAE-GW or EPC-GW.Connection between solid line representative of consumer face in Fig. 1, the connection between represented by dotted arrows chain of command.S1-MME interface is the signaling interface between eNodeB and MME 2.S1-U interface is the interface between eNodeB and S-GW 3.S11 interface is the interface of MME 2 between EPC-GW, is mainly used in user and carries foundation.
Consult Fig. 2, Fig. 2 is the flow chart of localization method one execution mode of terminal of the present invention, comprising:
Step S101: receive the inquiry of user about the geographical position of first terminal.
First terminal concrete has uniquely identified mobile terminal, can be mobile phone, panel computer etc.
Step S102: by the mark of first terminal, inquire about the first linked database, obtain first terminal user face tunnel IP address, wherein, the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address has been set up in first linked database, mark comprises one in international mobile subscriber identity IMSI, mobile device international identification code IMEI, mobile user comprehensive service digital net number MSISDN, and user face tunnel IP address comprises the IP address of base station eNB and the IP address of gateway SGW.
Each terminal has unique identification, such as: international mobile subscriber identity IMSI, mobile device international identification code IMEI, mobile user comprehensive service digital net number MSISDN etc., and all can unique identification terminal.User face tunnel IP address comprises the IP address of base station eNB and the IP address of gateway SGW.Second terminal is the aggregate much with the different mobile terminal of uniquely identified, and each terminal has and this terminal use face tunnel IP address.Such as, second terminal comprises: terminal 1, terminal 2, terminal 3 etc., terminal 1 user face tunnel IP address is the IP address 1 of eNB and the IP address 1 of SGW, terminal 2 user face tunnel IP address is the IP address 2 of eNB and the IP address 2 of SGW, and terminal 3 user face tunnel IP address is the IP address 3 of eNB and the IP address 3 of SGW.
Owing to having set up the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address in the first linked database, by the mark of first terminal, first terminal user face tunnel IP address can be obtained from the first linked database.
First terminal user face tunnel IP address, namely for first terminal provides the IP address of the eNB of covering and provide the IP address of SGW of service.First terminal position is not fixing, normally movement, provides the eNB of covering and provide the SGW of service to be change yet for it, and therefore, the first linked database can real-time update, thus for providing geographical position to provide basis more exactly.
Step S103: by first terminal user face tunnel IP address, inquire about the second linked database, obtain the geographical position corresponding to the tunnel IP address of first terminal user face, the geographical position of the eNB corresponding to IP address of the eNB in the tunnel IP address of first terminal user face is the geographical position of first terminal, wherein, the incidence relation between user face tunnel IP address and geographical position is preserved in the second linked database.
Incidence relation between user face tunnel IP address and geographical position determines in advance, by first terminal user face tunnel IP address, can obtain the geographical position corresponding to the tunnel IP address of first terminal user face in the second linked database.First terminal user face tunnel IP address, namely for first terminal provides the IP address of the eNB of covering and provide the IP address of SGW of service.The position of eNB and SGW is fixing, when the IP address of the IP address and SGW of knowing eNB, also probably knows the geographical position of first terminal.The geographical position of the geographical position of the eNB corresponding to IP address of eNB and the SGW corresponding to IP address of SGW is general relatively, comparatively speaking, the geographical position of the eNB corresponding to IP address of eNB and the geographical position of first terminal more close.Therefore, the geographical position of first terminal can be the geographical position (relatively more accurate) of the eNB corresponding to IP address of eNB, or the geographical position of the SGW corresponding to IP address of SGW, or the geographical position of the geographical position of the eNB corresponding to IP address of eNB and the SGW corresponding to IP address of SGW is all as the geographical position of first terminal, user is allowed to understand the correlation circumstance in the geographical position residing for first terminal in further detail.In addition, because the cell coverage area of 4G is smaller, therefore, using the geographical position of the geographical position of the eNB corresponding to the IP address of the eNB in the tunnel IP address of first terminal user face as first terminal, the precision comparison that first terminal can be made to locate is acceptant, and deviation is unlikely to excessive.
Step S104: the geographical position sending first terminal to user.
Embodiment of the present invention utilizes the incidence relation between the mark of the terminal set up and terminal use face tunnel IP address, the incidence relation between user face tunnel IP address and geographical position, when the mark of known users terminal, obtain the geographical position of terminal fast.Owing to associating with first terminal, namely for first terminal provides the eNB of covering and provide the SGW of service, in this way, can not by the restriction of signaling location technology, can not by the restriction of terminal, and the position of locating terminal rapidly and accurately; Also the distribution of existing network terminal, motion track etc. can just can be judged from core net EPC-GW monitoring point.
Consult Fig. 3, before step S101, can also comprise:
Step S105: set up the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address in the first linked database.
Step S106: obtain the incidence relation between user face tunnel IP address and geographical position from operator, and be kept in the second linked database.
Step S105 and step S106 does not have obvious sequencing.
Set up the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address and the incidence relation between user face tunnel IP address and geographical position in advance, thus provide basis for the enforcement of Fig. 1 scheme.
Consult Fig. 4, wherein, step S105 specifically comprises:
Sub-step S1051: obtain user face business datum and chain of command signaling data.
This step can be specifically by the interface in the user plane between eNB and SGW, gathers user face business datum, by the interface between mobile management entity MME and SGW, gathers chain of command signaling data.Interface in the user plane between eNB and SGW is the interface between S1-U, MME and SGW is S11.This step or can be obtain user face business datum and chain of command signaling data by other communication modes.
In one embodiment, by the interface in the user plane S1-U between eNB and SGW, Real-time Collection user face business datum, by the interface S11 between mobile management entity MME and SGW, Real-time Collection chain of command signaling data, Real-time Collection, can provide basis for realizing real-time update first linked database.Acquisition mode can adopt light splitting on interface link, then carries out the convergence of signaling data and business datum flow by converging shunting device.
Sub-step S1052: resolve user face business datum and chain of command signaling data, obtain many IP traffics and chain of command GTP-C message.
Sub-step S1053: extract user face tunnel IP address and user face first Tunnel End Point Identifier TEID from each IP traffic, TEID comprises the TEID of TEID and S-GW of eNB.
Sub-step S1054: extract the mark of the second terminal, the second terminal use face the 2nd TEID from six groups of message of chain of command GTP-C, six groups of message comprises session establishment request and response, session removal request and response, carry to set up and ask and response, bearing modification request and response, bearer update request and response and deleting load-bearing request and response.
Sub-step S1053 and sub-step S1054 does not have obvious sequencing.
In one embodiment, the detailed process of above-mentioned steps can be: (1) uses and assembles shunting device, convergence shunting is carried out by udp port strategy, the user service data of udp port (Port)=2152 is mail to GTP-U protocol analysis server probe, and the signaling data of UDP Port=2123 is mail to GTP-C protocol analysis server probe.(2) call GTP-U and resolve plug-in unit, successively decode, obtain many IP traffics, decoding order is: Ethernet → IP packet → UDP message bag → GTP-U.(3) analytically the field information such as eNodeB_IP address, SGW_IP address, eNodeB_Teid, SGW_Teid, time is extracted in every bar IP traffic out.(4) call GTP-C and resolve plug-in unit, successively decode, obtain chain of command GTP-C message, decoding order is: Ethernet → IP packet → UDP message bag → GTP-C.(5) (session request and corresponding is set up from six groups, delete session request and corresponding, set up carrying request with corresponding, amendment carrying request is with corresponding, more new bearer request and corresponding, deleting bearing request and corresponding, corresponding English is respectively: create session request/response, Delete sessionrequest/response, Create Bearer request/response, Modify Bearerrequest/response, Update Bearer request/response, Delete Bearerrequest/response) extract MSISDN in GTP-C protocol message, IMSI, one in IMEI, eNodeB_Teid, SGW_Teid, the field informations such as time.
Wherein eNode_Teid is used to the carrying end receiving downlink user business datum, and SGW_Teid is used to the carrying end receiving uplink user business datum, the data traffic transmission bearer path of a S1-U interface user can be confirmed uniquely by these two end points of eNodeB_Teid, SGW_Teid.
Sub-step S1055: judge that whether user face the one TEID is identical with user face the 2nd TEID.
Sub-step S1056: if user face the one TEID is identical with user face the 2nd TEID, then confirm that user face the one TEID is corresponding with user face the 2nd TEID and associate same mobile terminal, and set up the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address.
Because these two end points of eNodeB_Teid, SGW_Teid can confirm the data traffic transmission bearer path of a S1-U interface user uniquely, when user face the one TEID is identical with user face the 2nd TEID, explanation is the data traffic transmission bearer path of same user, therefore the same mobile terminal of corresponding association, accordingly, the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address can be set up.
Sub-step S1057: the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address is kept in the first linked database.
Present embodiment is by resolving user face business datum and chain of command signaling data, the general principle of the data traffic transmission bearer path of a S1-U interface user can be confirmed uniquely by these two end points of eNodeB_Teid, SGW_Teid, set up the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address simply and easily, thus for by user face tunnel IP address in 4G network for terminal positioning provide fast basis.
It is the enforcement structural representation positioning terminal by obtaining user face tunnel IP address in 4G network see Fig. 5, Fig. 5.
This system configuration comprises 4G terminal equipment 11, the wireless access base station 12 of evolution, mobile management entity 13, gateway 14, packet data gateway 15, IP service network 16, home subscriber server 17, convergence shunting device 18, a front-end processing probe group of planes 19, customer location query interface 20, 4G terminal equipment 11 (refers to 4G cell phone, the computer etc. of embedded 4G card of surfing Internet) be connected with the wireless access base station 12 of evolution through wireless, S1-MME is passed through by Ethernet in the wireless access base station 12 of evolution, S1-U interface respectively with mobile management device 13, gateway 14 connects, the wireless access base station 12 of mobile management entity 13 and evolution, gateway 14 and home subscriber server 17 connect, gateway 14 is by S11 interface, S1-U interface connects mobile management entity 13 respectively, the wireless access base station 12 of evolution, and connect packet data gateway 15 by internal interface S5/S8, packet data gateway 15 is connected with IP service network 16 by SGi interface, home subscriber server 17 by S6a interface and mobile management entity 13 interconnected, user signing contract information is provided, the inquiry of the information such as customer location, amendment, the operations such as cancellation, converge shunting device 18 mainly to receive from S11, the data message that the interface collections such as S1-U are come, and this data message is used to the distributing strategy of udp port and IP address, these Data disseminations are processed to a front-end processing probe group of planes 19, a front-end processing probe group of planes 19 and convergence shunting device 18, customer location query interface 20 interconnects, main function receives the signaling data and service application data that converge shunting device 18 distribution, there is provided signaling and service application Data Analysis plug-in card program respectively to GTP-C, GTP-U protocol data is decoded, extract field information, and associate, generate cdr logging, customer location query interface 20 is mainly used for receiving the position enquiring application demand of user, and from the database a front-end processing probe group of planes 19 record of match query condition, and result is presented to the user of position enquiring demand.
Wherein, the process that the process of signaling resolution plug-in unit is resolved specifically comprises the following steps:
(1) from six groups of message (create sessionrequest/response of the original GTP-C v2 of input, Delete session request/response, Modify Bearerrequest/response, Update Bearer request/response, Create Bearerrequest/response, Delete Bearer request/response) the middle feature extracting totally ten two message, (Seq_num refers to the value of the Sequence Number in every bar GTP-C v2 message header to feature KEY=Seq_num+MME_IP_C+SGW_IP_C, MME_IP_C refers to the IP address of MME network element device chain of command, SGW_IP_C is also the IP address in SGW network element control face), respectively the Request in these six groups of message can be associated with response message uniquely with the feature KEY of these three field compositions.
(2) check that whether the Cause value in six groups that associate in response message is normal, if normally, these message are committed to (3) and continue process, if abnormal, so delete Data Node corresponding to message.
(3) six groups of normal message are entered in respective Hash queue respectively.
(4) key of the message in these six Hash queues by these four field compositions of key=mme_teid_C+mme_ip_c+sgw_teid_c+sgw_ip_c is associated.
(5) field information in be associated with six groups of message to be inserted in a large Hash table (one overall CDR), this CDR can reflect the real-time session data characteristics of a 4G user, and the field information comprised can have the information such as START_TIME, IMSI, MSISDN, MME_TEID_C, SGW_TEID_C, MME_IP_C, SGW_IP_C, MME_TEID_U, SGW_TEID_U.
(6) outwards push the overall CDR that S11 extracts, the data extracted by TEID value and the S1-U interface of service bearer passage are associated, thus by 4G user identity and customer position information efficient association, realize the coarse positioning application of 4G user.
Consult Fig. 6, Fig. 6 is the structural representation of positioner one execution mode of terminal of the present invention, the device of present embodiment can to perform the above method in step, related content refers to foregoing, at this no longer enumeration.
This device comprises: receiver module 101, first enquiry module 102, second enquiry module 103 and sending module 104.
Receiver module 101 is for receiving the inquiry of user about the geographical position of first terminal.
First enquiry module 102 is for the mark by first terminal, inquire about the first linked database, obtain first terminal user face tunnel IP address, wherein, the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address has been set up in first linked database, mark comprises one in international mobile subscriber identity IMSI, mobile device international identification code IMEI, mobile user comprehensive service digital net number MSISDN, and user face tunnel IP address comprises the IP address of base station eNB and the IP address of gateway S-GW.
Second enquiry module 103 is for passing through first terminal user face tunnel IP address, inquire about the second linked database, obtain the geographical position corresponding to the tunnel IP address of first terminal user face, the geographical position of the eNB corresponding to IP address of the eNB in the tunnel IP address of first terminal user face is the geographical position of first terminal, wherein, the incidence relation between user face tunnel IP address and geographical position is preserved in the second linked database.
Sending module 104 is for sending the geographical position of first terminal to user.
Embodiment of the present invention utilizes the incidence relation between the mark of the terminal set up and terminal use face tunnel IP address, the incidence relation between user face tunnel IP address and geographical position, when the mark of known users terminal, obtain the geographical position of terminal fast.Owing to associating with first terminal, namely for first terminal provides the eNB of covering and provide the SGW of service, in this way, can not by the restriction of signaling location technology, can not by the restriction of terminal, and the position of locating terminal rapidly and accurately; Also the distribution of existing network terminal, motion track etc. can just can be judged from core net EPC-GW monitoring point.
Consult Fig. 7, this device also comprises: first sets up module 105 and second sets up module 106.
First sets up module 105 for setting up the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address in the first linked database.
Second sets up module 106 for obtaining the incidence relation between user face tunnel IP address and geographical position from operator, and is kept in the second linked database.
Consult Fig. 8, wherein, first sets up module 105 comprises: acquiring unit 1051, resolution unit 1052, first extraction unit 1053, second extraction unit 1054, judging unit 1055, confirmation unit 1056, set up unit 1057 and storage unit 1058.
Acquiring unit 1051 is for obtaining user face business datum and chain of command signaling data.
Wherein, acquiring unit 1051, specifically for by the interface in the user plane between eNB and SGW, gathers user face business datum, by the interface between mobile management entity MME and SGW, gathers chain of command signaling data.
Resolution unit 1052, for resolving user face business datum and chain of command signaling data, obtains many IP traffics and chain of command GTP-C message.
First extraction unit 1053 for extracting user face tunnel IP address and user face first Tunnel End Point Identifier TEID from each IP traffic, and TEID comprises the TEID of TEID and SGW of eNB.
Second extraction unit 1054 for extracting mark, second terminal use face the 2nd TEID of the second terminal from six groups of message of chain of command GTP-C, and six groups of message comprises session establishment request and response, session removal request and response, carry to set up and ask and response, bearing modification request and response, bearer update request and response and deleting load-bearing request and response.
Judging unit 1055 is for judging that whether user face the one TEID is identical with user face the 2nd TEID.
Confirmation unit 1056, for when user face the one TEID is identical with user face the 2nd TEID, confirms that user face the one TEID is corresponding with user face the 2nd TEID and associates same mobile terminal.
Set up unit 1057 for setting up the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address.
Incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address is kept in the first linked database by storage unit 1058.
Present embodiment is by resolving user face business datum and chain of command signaling data, the general principle of the data traffic transmission bearer path of a S1-U interface user can be confirmed uniquely by these two end points of eNodeB_Teid, SGW_Teid, set up the incidence relation between the mark of the second terminal and the second terminal use face tunnel IP address simply and easily, thus for by user face tunnel IP address in 4G network for terminal positioning provide fast basis.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a localization method for terminal, is characterized in that, comprising:
Receive the inquiry of user about the geographical position of first terminal;
By the mark of described first terminal, inquire about the first linked database, obtain described first terminal user face tunnel IP address, wherein, the incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address has been set up in described first linked database, described mark comprises one in international mobile subscriber identity IMSI, mobile device international identification code IMEI, mobile user comprehensive service digital net number MSISDN, and described user face tunnel IP address comprises the IP address of base station eNB and the IP address of gateway S-GW;
By described first terminal user face tunnel IP address, inquire about the second linked database, obtain the geographical position corresponding to IP tunnel address, described first terminal user face, the geographical position of the eNB corresponding to IP address of the eNB in IP tunnel address, described first terminal user face is the geographical position of described first terminal, wherein, the incidence relation between user face tunnel IP address and geographical position is preserved in described second linked database;
The geographical position of described first terminal is sent to described user.
2. method according to claim 1, it is characterized in that, before the step of described reception user about the inquiry in the geographical position of first terminal, comprising: in described first linked database, set up the incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address.
3. method according to claim 2, is characterized in that, the described step setting up incidence relation between the mark of the second terminal and described second terminal use face IP tunnel in described first linked database, comprising:
Obtain user face business datum and chain of command signaling data;
Resolve described user face business datum and described chain of command signaling data, obtain many IP traffics and chain of command GTP-C message;
From each described IP traffic, extract user face tunnel IP address and user face first Tunnel End Point Identifier TEID, described TEID comprises the TEID of TEID and S-GW of eNB,
From six groups of message of described chain of command GTP-C, extract the mark of the second terminal, described second terminal use face the 2nd TEID, described six groups of message comprise session establishment request and response, session removal request and response, carry to set up and ask and response, bearing modification request and response, bearer update request and response and deleting load-bearing request and response;
Judge that whether described user face the one TEID is identical with described user face the 2nd TEID;
If described user face the one TEID is identical with described user face the 2nd TEID, then confirm that described user face the one TEID is corresponding with described user face the 2nd TEID and associate same mobile terminal, and set up the incidence relation between the mark of described second terminal and described second terminal use face tunnel IP address;
Incidence relation between the mark of described second terminal and described second terminal use face tunnel IP address is kept in described first linked database.
4. method according to claim 3, is characterized in that, the step of described acquisition user face business datum and chain of command signaling data, comprising:
By the interface in the user plane between eNB and SGW, gather described user face business datum, by the interface between mobile management entity MME and SGW, gather described chain of command signaling data.
5. method according to claim 1, is characterized in that, before the step of described reception user about the inquiry in the geographical position of first terminal, also comprises:
Obtain the incidence relation between user face tunnel IP address and geographical position from operator, and be kept in described second linked database.
6. a positioner for terminal, is characterized in that, described device comprises:
Receiver module, for receiving the inquiry of user about the geographical position of first terminal;
First enquiry module, for the mark by described first terminal, inquire about the first linked database, obtain described first terminal user face tunnel IP address, wherein, the incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address has been set up in described first linked database, described mark comprises international mobile subscriber identity IMSI, the international identification code IMEI of mobile device, one in mobile user comprehensive service digital net number MSISDN, described user face tunnel IP address comprises the IP address of base station eNB and the IP address of gateway S-GW,
Second enquiry module, for passing through described first terminal user face tunnel IP address, inquire about the second linked database, obtain the geographical position corresponding to the tunnel IP address of described first terminal user face, the geographical position of the eNB corresponding to IP address of the eNB in the tunnel IP address of described first terminal user face is the geographical position of described first terminal, wherein, the incidence relation between user face tunnel IP address and geographical position is preserved in described second linked database;
Sending module, for sending the geographical position of described first terminal to described user.
7. device according to claim 6, is characterized in that, described device also comprises:
First sets up module, for setting up the incidence relation between the mark of the second terminal and described second terminal use face tunnel IP address in described first linked database.
8. device according to claim 7, is characterized in that, described first sets up module comprises:
Acquiring unit, for obtaining user face business datum and chain of command signaling data;
Resolution unit, for resolving described user face business datum and described chain of command signaling data, obtains many IP traffics and chain of command GTP-C message;
First extraction unit, for extracting user face tunnel IP address and user face first Tunnel End Point Identifier TEID from each described IP traffic, described TEID comprises the TEID of TEID and SGW of eNB;
Second extraction unit, for extracting the mark of the second terminal, described second terminal use face the 2nd TEID from six groups of message of described chain of command GTP-C, described six groups of message comprise session establishment request and response, session removal request and response, carry to set up and ask and response, bearing modification request and response, bearer update request and response and deleting load-bearing request and response;
Judging unit, for judging that whether described user face the one TEID is identical with described user face the 2nd TEID;
Confirmation unit, for when described user face the one TEID is identical with described user face the 2nd TEID, confirms that described user face the one TEID is corresponding with described user face the 2nd TEID and associates same mobile terminal;
Set up unit, for setting up the incidence relation between the mark of described second terminal and described second terminal use face tunnel IP address;
Storage unit, is kept at the incidence relation between the mark of described second terminal and described second terminal use face tunnel IP address in described first linked database.
9. device according to claim 8, it is characterized in that, described acquiring unit, specifically for by the interface in the user plane between eNB and SGW, gathers described user face business datum, by the interface between mobile management entity MME and SGW, gather described chain of command signaling data.
10. device according to claim 6, is characterized in that, described device also comprises:
Second sets up module, for obtaining the incidence relation between user face tunnel IP address and geographical position from operator, and is kept in described second linked database.
CN201510279884.3A 2015-05-27 2015-05-27 The localization method and device of terminal Active CN104883736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510279884.3A CN104883736B (en) 2015-05-27 2015-05-27 The localization method and device of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510279884.3A CN104883736B (en) 2015-05-27 2015-05-27 The localization method and device of terminal

Publications (2)

Publication Number Publication Date
CN104883736A true CN104883736A (en) 2015-09-02
CN104883736B CN104883736B (en) 2018-08-03

Family

ID=53951033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510279884.3A Active CN104883736B (en) 2015-05-27 2015-05-27 The localization method and device of terminal

Country Status (1)

Country Link
CN (1) CN104883736B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246099A (en) * 2015-10-27 2016-01-13 合肥浩瀚深度信息技术有限公司 Association method of S1-MME (Mobility Management Entity) interface and S11 interface signaling procedure under LTE (Long Term Evolution) system interior non-switching scene
CN106067880A (en) * 2016-06-13 2016-11-02 国家计算机网络与信息安全管理中心 A kind of source tracing method of IP address based on 4G network
CN106954180A (en) * 2017-01-13 2017-07-14 京信通信系统(中国)有限公司 Convergence distribution method and device
CN107529190A (en) * 2016-06-21 2017-12-29 中国移动通信集团山西有限公司 User data obtains system and method
WO2018196656A1 (en) * 2017-04-24 2018-11-01 中兴通讯股份有限公司 Method and apparatus for interoffice transfer of user number
CN110121183A (en) * 2018-02-07 2019-08-13 中国移动通信有限公司研究院 Information processing method and device and computer readable storage medium
CN110519694A (en) * 2019-09-30 2019-11-29 博睿泰克科技(宁波)有限公司 A kind of localization method of mobile terminal, server-side and system
CN111010745A (en) * 2020-01-06 2020-04-14 杭州迪普信息技术有限公司 Control tunnel processing method and device
CN111224901A (en) * 2019-12-03 2020-06-02 北京锐安科技有限公司 Data association method, device and distributed system
CN111371628A (en) * 2020-03-24 2020-07-03 江苏省通信服务有限公司 User plane and control plane information correlation method in LTE network
CN111684824A (en) * 2017-12-15 2020-09-18 Idac控股公司 Enhanced NEF function, MEC, and 5G integration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1297662A (en) * 1999-03-29 2001-05-30 诺基亚网络有限公司 Arrangement for secure communication and key distribution in telecommunication system
CN1859440A (en) * 2005-10-20 2006-11-08 华为技术有限公司 Method for distributing service based on terminal mark
CN101938692A (en) * 2010-08-16 2011-01-05 中国电信股份有限公司 Location information management method, platform and system
CN104080078A (en) * 2013-03-26 2014-10-01 百度在线网络技术(北京)有限公司 Base station positioning method and equipment
US20140357300A1 (en) * 2011-10-24 2014-12-04 Zte Corporation System and method for acquiring user location through user bearer identifier

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1297662A (en) * 1999-03-29 2001-05-30 诺基亚网络有限公司 Arrangement for secure communication and key distribution in telecommunication system
CN1859440A (en) * 2005-10-20 2006-11-08 华为技术有限公司 Method for distributing service based on terminal mark
CN101938692A (en) * 2010-08-16 2011-01-05 中国电信股份有限公司 Location information management method, platform and system
US20140357300A1 (en) * 2011-10-24 2014-12-04 Zte Corporation System and method for acquiring user location through user bearer identifier
CN104080078A (en) * 2013-03-26 2014-10-01 百度在线网络技术(北京)有限公司 Base station positioning method and equipment

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246099A (en) * 2015-10-27 2016-01-13 合肥浩瀚深度信息技术有限公司 Association method of S1-MME (Mobility Management Entity) interface and S11 interface signaling procedure under LTE (Long Term Evolution) system interior non-switching scene
CN106067880B (en) * 2016-06-13 2019-05-31 国家计算机网络与信息安全管理中心 A kind of source tracing method of the IP address based on 4G network
CN106067880A (en) * 2016-06-13 2016-11-02 国家计算机网络与信息安全管理中心 A kind of source tracing method of IP address based on 4G network
CN107529190A (en) * 2016-06-21 2017-12-29 中国移动通信集团山西有限公司 User data obtains system and method
CN106954180A (en) * 2017-01-13 2017-07-14 京信通信系统(中国)有限公司 Convergence distribution method and device
CN106954180B (en) * 2017-01-13 2020-06-05 京信通信系统(中国)有限公司 Data aggregation and distribution method and device
WO2018196656A1 (en) * 2017-04-24 2018-11-01 中兴通讯股份有限公司 Method and apparatus for interoffice transfer of user number
CN108738089A (en) * 2017-04-24 2018-11-02 中兴通讯股份有限公司 A kind of method and device that Subscriber Number interoffice transmits
CN108738089B (en) * 2017-04-24 2023-04-14 中兴通讯股份有限公司 Method and device for interoffice transmission of subscriber number
CN111684824A (en) * 2017-12-15 2020-09-18 Idac控股公司 Enhanced NEF function, MEC, and 5G integration
US11533594B2 (en) 2017-12-15 2022-12-20 Sony Corporation Enhanced NEF function, MEC and 5G integration
CN110121183A (en) * 2018-02-07 2019-08-13 中国移动通信有限公司研究院 Information processing method and device and computer readable storage medium
CN110519694A (en) * 2019-09-30 2019-11-29 博睿泰克科技(宁波)有限公司 A kind of localization method of mobile terminal, server-side and system
CN111224901A (en) * 2019-12-03 2020-06-02 北京锐安科技有限公司 Data association method, device and distributed system
CN111224901B (en) * 2019-12-03 2021-09-21 北京锐安科技有限公司 Data association method, device and distributed system
CN111010745B (en) * 2020-01-06 2021-11-05 杭州迪普信息技术有限公司 Control tunnel processing method and device
CN111010745A (en) * 2020-01-06 2020-04-14 杭州迪普信息技术有限公司 Control tunnel processing method and device
CN111371628B (en) * 2020-03-24 2021-09-03 江苏省通信服务有限公司 User plane and control plane information correlation method in LTE network
WO2021189563A1 (en) * 2020-03-24 2021-09-30 江苏省通信服务有限公司 Method for associating user plane and control plane information in lte network
CN111371628A (en) * 2020-03-24 2020-07-03 江苏省通信服务有限公司 User plane and control plane information correlation method in LTE network

Also Published As

Publication number Publication date
CN104883736B (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN104883736A (en) Terminal positioning method and device
CN1287620C (en) System for managing the identity of mobile stations roaming between mobile radio networks
CN105578491B (en) A kind of method and device of 4G user information and application data correlation
CN1281091C (en) A method for obtaining location related information allowing to locate a terminal attached to a communication network
CN106067880B (en) A kind of source tracing method of the IP address based on 4G network
CN102282883A (en) Analysing radio network coverage
US20120051348A1 (en) Method and System for Accessing Local Network by Mobile Terminal Via Home Base Station System
CN106332222A (en) Network selection method and base station
WO2003005747A1 (en) Apparatus and method for obtaining location information of mobile stations in a wireless communications network
WO2015196886A1 (en) Imsi acquisition method and device, and signalling monitoring system
CN105517066B (en) A kind of mass data user knowledge method for distinguishing of LTE S1-MME interface
CN102014039B (en) Data transmission method and access point
WO2016070633A1 (en) Network log generation method and device
CN105393598A (en) Network device and method for allocating access point names
KR101291962B1 (en) Method for controlling information tracking and net element of core network
KR20060134023A (en) A system of realizing location and method thereof
CN101742547A (en) Mark-based network message correlation method
CN107925662A (en) Method and apparatus for the Lawful Interception of adjacent service
CN104427483A (en) Method and system for realizing roaming through LTE (Long Term Evolution) network
CN203039916U (en) APN system for client to directly access the Internet
WO2018044412A1 (en) Reducing fraudulent activity associated with mobile networks
CN102572807A (en) Device and method for automatically acquiring mobile phone terminal equipment model
KR102026215B1 (en) Method for proving service on the basis location and system therefor
KR102160743B1 (en) Method and apparatus for acquiring location information of user equipment based on event
CN104811986A (en) Method and device for associating data of interfaces in packet domain of network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant