CN105472737B - A kind of method of locating terminal and server - Google Patents

A kind of method of locating terminal and server Download PDF

Info

Publication number
CN105472737B
CN105472737B CN201511030155.0A CN201511030155A CN105472737B CN 105472737 B CN105472737 B CN 105472737B CN 201511030155 A CN201511030155 A CN 201511030155A CN 105472737 B CN105472737 B CN 105472737B
Authority
CN
China
Prior art keywords
server
positioning result
mobile network
network
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511030155.0A
Other languages
Chinese (zh)
Other versions
CN105472737A (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.)
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies 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 Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN201511030155.0A priority Critical patent/CN105472737B/en
Publication of CN105472737A publication Critical patent/CN105472737A/en
Priority to PCT/CN2016/109057 priority patent/WO2017114125A1/en
Application granted granted Critical
Publication of CN105472737B publication Critical patent/CN105472737B/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

Abstract

The present invention relates to the communications fields, and in particular to a kind of method of locating terminal and server.This method comprises: server receives the first position for the UE that user equipment (UE) uploads;Server determines that positioning result, positioning result are obtained by the comparison of first position and the second position by first position, and the mobile network that the second position is adhered to from server to UE, which inquires, to be obtained;Server executes preset strategy according to positioning result.Whether the position that the present invention is capable of auxiliary judgment UE upload is its physical location, to learn the confidence level of its position in advance before providing service for UE, UE is avoided to obtain the service of server using dummy location.

Description

A kind of method of locating terminal and server
Technical field
The present invention relates to the communications fields, and in particular to a kind of method of locating terminal and server.
Background technique
With the development of intelligent terminal, the function for the location-based service that present terminal all has mostly.Terminal location is derivative Numerous business brings convenience for user, also creates huge commercial value, location-based business can substantially divide For two classes:
1. provide the business of location based service for terminal, such as map, navigates, calls a taxi, making a reservation, weather forecast etc.. Since user demand terminal can provide the location information of itself strictly according to the facts.
2. the business that pair terminal is monitored based on position, in this kind of business, application server end group is in position to end End is monitored, such as mobile phone is checked card, automobile/cargo location monitoring, ATM/ automatic vending machine monitoring, mobile phone on-line payment verifying Deng.The meetings such as the privacy requirement of user are so that terminal is possible without the location information for reporting itself strictly according to the facts.
The prior art generally uses two kinds to the positioning method of terminal, and one is the positioning chips as built in terminal through it To Network provided location information, precision is higher;Second is to be provided according to the nearest network element position of its connection to network Location information, this mode precision have certain gap compared with the first.
However since some is based in the service of terminal location, the location information of terminal is reported by terminal applies.It will appear User provides the terminal positional information of forgery, causes service provider can not basis by distorting terminal operating system or APP Accurate location information provides good service.
Summary of the invention
It, can be by the geographical position that reports terminal the embodiment of the invention provides a kind of method of locating terminal and server The geographical location for setting the terminal obtained with mobile network is compared, and determines that specific service is held according to the positioning result compared Row strategy, to guarantee that service provider can provide service according to accurate location information.
In view of this, first aspect of the embodiment of the present invention provides method of locating terminal, it may include:
Server receives the first position for the UE that user equipment (UE) uploads;
Server determines that positioning result, positioning result are obtained by the comparison of first position and the second position by first position , the mobile network that the second position is adhered to from server to the UE, which inquires, to be obtained;
Server executes preset strategy according to positioning result.
As can be seen that due to the position for not directlying adopt UE upload or the position determined by network, but combine The position that network determines judges the position that UE is uploaded, so as to judge the confidence level of UE uploading position, so that using Server can be serviced for the UE for trusting position.
In some embodiments of the invention, server determines that positioning result includes: by first position
The mobile network that server adheres to UE sends the request of UE position enquiring, carries UE's in the request of UE position enquiring UE mark;
Server receives the mobile network second position determining by UE mark;
Server determines positioning result according to the comparison of first position and the second position.
In some embodiments of the invention, server determines that positioning result includes: by the mobile network that UE adheres to
The mobile network that server adheres to UE sends the request of UE position enquiring, carries UE's in the request of UE position enquiring The first position of UE mark and UE;
Server receives the positioning result that mobile network determines according to first position and the second position, and the second position is by moving Network is identified by UE and is determined, positioning result is obtained by the comparison of first position and the second position.
In some embodiments of the invention, positioning result includes:
First position is trust position or first position is insincere position;Wherein,
The distance between geographical location indicated by geographical location and the second position indicated by the first position is not more than When preset distance threshold, positioning result is that first position is to trust position;
The distance between geographical location indicated by geographical location and the second position indicated by the first position is greater than pre- If distance threshold when, positioning result is that first position is insincere position.
In some embodiments of the invention, when it is insincere position that positioning result, which is first position, server according to Positioning result execute preset strategy include the following three types operation at least one of:
Server refusal services UE;And
Server issues information warning to UE;And
UE is reported the logout of insincere position to log by server.
In some embodiments of the invention, when it is trustworthy location that positioning result, which is first position, server is according to fixed Position result executes preset strategy
Server service UE;And/or
Server records UE to credible UE list.
In some embodiments of the invention, method further include:
Server sends the UE mark of UE to mobile network, so that the network site of mobile network monitoring UE;
Server receives the notification information that mobile network issues, and notification information instruction network site changes;
Mobile network changed according to the network site after change after the second position and to server send change after The second position.
In some embodiments of the invention, mobile network includes that the network element for recording the network site of UE and network site are looked into Gateway is ask, network site inquiry gateway is connect for server with mobile network.
In some embodiments of the invention, mobile network's inquiry that the second position is adhered to from server to UE is wrapped It includes:
Network element in mobile network records the network site where UE when UE is attached to mobile network;
Mobile network calculates the second position of UE according to network site.
In some embodiments of the invention, the network element for recording the network site where UE includes mobility management entity At least one of MME, gateway S-GW, home subscriber server HSS and strategy and billing function module PCRF.
In some embodiments of the invention, network site includes cell ID, tracking area identification, Service Area Identifier and drills Into type Base Station Identification at least one of.
In some embodiments of the invention, UE mark includes mobile subscriber number MSISDN, international mobile subscriber identification Code IMSI and IP address at least one of.
Second aspect of the embodiment of the present invention also provides a kind of server, it may include:
Receiving module, the first position of the UE for receiving user equipment (UE) upload;
Determining module is positioned, for determining positioning result by first position, positioning result is by first position and second The comparison set obtains, and the mobile network that the second position is adhered to from server to UE, which inquires, to be obtained;
Execution module, for executing preset strategy according to positioning result.
In some embodiments of the invention, server further include:
Sending module, the mobile network for adhering to UE send the request of UE position enquiring, take in the request of UE position enquiring UE mark with UE;
Receiving module is also used to:
Receive the mobile network second position determining by UE mark;
Position determining module also particularly useful for:
Positioning result is determined according to the comparison of first position and the second position.
In some embodiments of the invention, positioning determining module is specifically used for:
The mobile network adhered to UE sends the request of UE position enquiring, server further include:
Sending module, the mobile network for adhering to UE send the request of UE position enquiring, take in the request of UE position enquiring The first position of UE mark and UE with UE;
Receiving module is also used to receive the positioning result that mobile network determines according to first position and the second position, second It sets to be identified by mobile network by UE and determine, positioning result is obtained by the comparison of first position and the second position.
In some embodiments of the invention, positioning result includes:
First position is trust position or first position is insincere position;Wherein,
The distance between geographical location indicated by geographical location and the second position indicated by the first position is not more than When preset distance threshold, positioning result is that first position is to trust position;
The distance between geographical location indicated by geographical location and the second position indicated by the first position is greater than pre- If distance threshold when, positioning result is that first position is insincere position.
In some embodiments of the invention, when it is insincere position that positioning result, which is first position, execution module tool Body be used for execute following three kinds of operations at least one of:
Refusal services UE;And
Information warning is issued to UE;And
Report the logout of insincere position to log UE.
In some embodiments of the invention, when it is trustworthy location that positioning result, which is first position, execution module is specific For:
Service UE;And/or
UE is recorded to credible UE list.
In some embodiments of the invention, sending module is also used to send the UE mark of UE to mobile network, so that The second position of mobile network monitoring UE;
Receiving module is also used to receive the notification information of mobile network's sending and the second position after change, notification information refer to Show that the second position changes.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that since server is receiving UE Behind the first position of upload, position of the first position as UE is not directlyed adopt, but inquires mobile network to mobile network The position for the UE that network determines, the position relative deviation that mobile network determines is larger, but also can substantially know the actual bit of UE It sets, therefore whether the position for capableing of auxiliary judgment UE upload is its physical location, thus before service is provided for UE in advance The confidence level for knowing its position avoids UE from obtaining the service of server using dummy location.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 2 is one embodiment figure of the localization method of the embodiment of the present invention;
Fig. 3 is another implementation example figure of the localization method of the embodiment of the present invention;
Fig. 4 is another implementation example figure of the localization method of the embodiment of the present invention;
Fig. 5 is another implementation example figure of the localization method of the embodiment of the present invention;
Fig. 6 is one embodiment figure of the server of the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the server of the embodiment of the present invention.
Specific embodiment
It, can be by the geographical position that reports terminal the embodiment of the invention provides a kind of method of locating terminal and server The geographical location for setting the terminal obtained with mobile network is compared, and determines that specific service is held according to the positioning result compared Row strategy, to guarantee that service provider can provide service according to accurate location information.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of series of steps or module need not limit In step or module those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other steps or module of product or equipment inherently.
The application scenarios of the embodiment of the present invention are introduced below, referring to Fig. 1, Fig. 1 is answering for the embodiment of the present invention With schematic diagram of a scenario, it may include UE, network and application server, wherein UE is by being connected to the network to application server, using clothes Business device issues UE position request information to UE, and UE uploads first position to application server or can also be by UE active upload later First position.
In the prior art, since terminal can forge location information, so that service provider can not be according to accurate Location information provides good service, for example, is illustrated with the verifying of existing on-line payment, on-line payment needs pass through Location verification could be completed to pay the bill, for example, user setting pay the bill online ground only in A or service provider discovery user it is frequent Payment ground in A, and is used by others when in B paying the bill after the account password of user is stolen, if service provider It may require that additional verifying could be completed to pay the bill when it was found that paying the bill ground for B, and the information that the prior art can forge the ground A makes Service provider in A, is proved to be successful payment to pass through with thinking currently payment, so that other people obtain wrongful interests, And the interests of user are lost.
In view of the above-mentioned problems, solving terminal the embodiment of the invention provides a kind of method of locating terminal reports dummy location Problem, referring to Fig. 2, one embodiment figure of the method for locating terminal for the embodiment of the present invention, as shown in Fig. 2, of the invention One embodiment provides a kind of method of locating terminal, it may include the following contents:
201, server receives the first position for the UE that UE is uploaded.
It is understood that there are many modes of UE upload self-position, such as the higher position of precision is uploaded, it can pass through GPS positioning system self-position, GPS positioning system include the positioning systems such as GLANOSS and Beidou;In another example it is general to upload precision Position, these information can be uploaded to by network cell ID where the MAC Address or UE of the WIFI network being connected to Server, server can obtain the approximate range of the position where UE by these addresses, which is to provide service for UE The application server of function, for providing a certain function services for user, such as a certain item service based on user location, such as use The weather of family position, business information, online attendance and on-line payment etc. around position, wherein judges when on-line payment The position of the UE is judged, if strange position, then needs to provide other verification informations on-line payment is completed.
202, server determines positioning result by first position.
Wherein, positioning result is obtained by the comparison of first position and the second position, and the second position is adhered to from server to UE Mobile network inquire obtain.
It is understood that first position is uploaded by UE, the second position is obtained by server inquiry mobile network, is come relatively Say it is that the precision of first position is higher than the precision of the second position, first position and second position reality are all a panel regions, when When UE is the correct position uploaded, which can be within the region of the second position.
It should be noted that the mobile network that the second position is adhered to from server to UE inquires the network site of the UE obtained Obtain, the inquiry can be mobile network receive after query messages the position of real-time query UE or mobile network directly to Server returns to the network site of the UE recorded, and network site includes cell ID, tracking area identification, Service Area Identifier and drills Into type Base Station Identification at least one of, mobile network obtain UE network address after, accounting according to the network site calculate The second position of UE out, specific:
As optional, network site of the network element in mobile network when UE is attached to mobile network, where record UE;
Mobile network calculates the second position of UE according to network site.
It should be noted that there are two types of different for the acquirement of positioning result according to the information that server is provided to mobile network Mode, mode voluntarily compares first position and the second position obtains positioning result first is that obtain the second position by server; Mode second is that server directly obtain mobile network return positioning result, be introduced separately below:
Mode one, optionally, server determine that positioning result includes: by first position
The mobile network that server adheres to UE sends the request of UE position enquiring, carries UE's in the request of UE position enquiring UE mark;
Server receives the mobile network second position determining by UE mark;
Server determines positioning result according to the comparison of first position and the second position.
As can be seen that in the manner, the mobile network that server adheres to UE first sends the request of UE position enquiring, table Show the second position for needing to obtain UE, which is that the mobile network adhered to from server to UE inquires where the UE obtained Position, then the second position can be sent to server by mobile network, and server is after receiving the second position, Ji Kegen According to the first position uploaded before UE before and later from the second position authentication first position of mobile network's acquisition whether It is credible, specifically it can be greater than this apart from threshold by the distance difference of first position and the second position compared with preset distance threshold Value indicates that first position is insincere, and being less than first threshold indicates apart from credible, and using it as positioning result.
It should be noted that UE mark include MSISDN, IMSI and IP address at least one of.
Mode two, optionally, the mobile network that server adheres to UE send the request of UE position enquiring, and UE position enquiring is asked The first position of the UE mark and UE of UE is carried in asking;
Server receives the positioning result that mobile network determines according to first position and the second position, and the second position is by moving Network is identified by UE and is determined, positioning result is obtained by the comparison of first position and the second position.
As can be seen that mode two is to be accompanied with the first of UE when sending inquiry request to mobile network by the way of Position, mobile network can inquire the position where UE as the after receiving the first position of the inquiry request and UE first Two positions, and first position and the second position can be compared by mobile network, it specifically can be by first position and the second position Distance difference compared with preset distance threshold, be greater than the distance threshold indicate first position it is insincere, be less than first threshold It indicates apart from credible, and is sent to server for it as positioning result.
It should be noted that aforesaid way one there are also a kind of special mode, i.e. server has sent to mobile network After the UE mark of UE, mobile network can monitor the UE, specifically.
As optional, server sends the UE mark of UE to mobile network, so that the network of mobile network monitoring UE Position;
Server receives the notification information that mobile network issues, and notification information instruction network site changes;
Mobile network changed according to the network site after change after the second position and to server send change after The second position.
It is understood that inquiring second to server in addition to server is behind the first position for receiving UE upload It sets, can also be and be monitored by server for a certain UE, the UE mark of UE is sent to mobile network by server, by moving Network identifies the state of monitoring UE according to the UE, and when the position of UE, i.e., after the second position changes, mobile network can be to service Device sends the second position after notification information and change, and the notification information instruction second position changes, and server exists at this time After knowing that the second position of UE changes, then query messages are sent to UE and can be used so that UE uploads its first position Two kinds of different modes obtain positioning result, and one is obtain positioning knot by the comparison of first position and the second position by server Fruit, another is server itself without comparing, and first position is sent to mobile network, so that mobile network is to changing The second position and first position after change are compared, and obtain positioning result, and the positioning result is returned to server.
It should be noted that mobile network includes the network element and network site inquiry gateway for recording the network site of UE, net Network position enquiring gateway is connect for server with mobile network.
It is understood that gateway is inquired as gateway between mobile network and server in network site, it is mainly used for taking The information exchange being engaged between device and mobile network, as the query messages sent according to server inquire UE from the network element after gateway The second position, or also the function that the comparison of first position and the second position generates positioning result can be also disposed in the network position It sets on inquiry gateway, so that server need to only provide the UE mark of UE and positioning result can be obtained in the first position of UE.
Wherein, the network element for recording the network site of UE has a variety of different layout type, optionally, where record UE The network element of network site include MME, S-GW, HSS and PCRF at least one of.
It is understood that record UE network site network element arrangement can there are many, be given below two kinds, The first is that MME, the query messages that network site gateway issues to MME are sequentially arranged after the gateway of network site using MME The network site for inquiring UE, then can calculate the second position of UE according to the network planning of operator.Second is to use The mode of MME and S-GW, S-GW forwarding inquiries message to the network site of MME inquiry UE.
It should be noted that network site can be identified using various ways, optionally, network site includes cell mark Knowledge, tracking area identification, Service Area Identifier and evolved base station mark at least one of.
As can be seen that network site can be calculated in several ways, the specific corresponding mark for regarding actual conditions and determining Calculating.
203, server executes preset strategy according to positioning result.
It should be noted that positioning result includes two kinds of situations, it is to trust position one is first position, another kind is the One position is insincere position, main judgment criteria be first position at a distance from the second position whether in preset distance threshold Within the scope of, such as preset distance threshold is the distance of 1km, the i.e. second position and the second position just will within 1km First position is considered as trustworthy location, on the contrary then be insincere position.
Different policing actions can be executed for insincere position and trust position, is illustrated individually below.
It is for insincere position first, optionally, it includes following three that server, which executes preset strategy according to positioning result, At least one of kind operation:
Server refusal services UE;And
Server issues information warning to UE;And
UE is reported the logout of insincere position to log by server.
As can be seen that server can execute among following three kinds of operations at least when first position is insincere position One kind, i.e., one, refusal be that the UE is serviced, two, to UE issue information warning, the positional fault for prompting UE to upload, three, report UE The time of insincere position records to log in case inquiry.
It is followed by directed to trustworthy location, optionally, server executes preset strategy according to positioning result and includes:
Server service UE;And/or
Server records UE to credible UE list.
As can be seen that server can execute service UE, and UE is recorded to credible when first position is trustworthy location At least one of two kinds of operations of UE list, it is recorded with the credibility of the uploading position for UE.
As can be seen that not directlying adopt the first position since server is behind the first position for receiving UE upload As the position of UE, but the position for the UE that mobile network determines is inquired to mobile network, the position that mobile network determines is opposite Deviation is larger, but also can substantially know the physical location of UE, therefore whether the position for capableing of auxiliary judgment UE upload is it Physical location, to improve the confidence level of UE location information.
The localization method of the embodiment of the present invention is described above, separately below to record the net of the network site of UE First difference is illustrated respectively;Referring to Fig. 3, Fig. 3 is another implementation example figure of the method for locating terminal of the embodiment of the present invention, Including UE, the network element (including MME) of record, network site inquiry gateway and application server, implementation procedure include:
301, application server sends UE position request information to UE;
Wherein, it is identified in the position request information comprising UE.
302, UE obtains first position by the GPS positioning system of itself, and is sent to application server;
It should be understood that in addition to directly transmitting first position, where network cell ID or UE where can also be UE The network sites such as the MAC Address of WIFI determine the first position of UE by network site to server, server.
303, application server sends the network site of query messages inquiry UE to network site inquiry gateway;
Wherein, it is identified in query messages comprising UE, UE mark can be the mark such as MSISDN or IMSI.
304, network site inquires gateway and the query information is sent to MME;305, MME sends the network site of inquiry Gateway is inquired to network site;
Wherein, if MME discovery UE handles idle state, which obtains the current network of the UE by way of paging Position.
306, network site inquires gateway and network site is converted to the second position, and is sent to application server;
307, application server is generated according to whether the distance of the second position and first position is less than preset distance threshold Positioning result.
308, application server executes relative strategy according to positioning result.
Wherein, when first position is insincere position, server can execute following three kinds of operations at least one of, I.e. one, refusal is that the UE is serviced, two, to UE issue information warning, the positional fault for prompting UE to upload, and three, report UE can not The time of letter position records to log, so as to subsequent query.
When first position is trustworthy location, server can execute service UE, and UE is recorded to credible UE list two At least one of kind operation.
In aforesaid way, other than using MME, HSS also can be used, also will record the network site of UE in HSS.
Referring to Fig. 4, Fig. 4 is another implementation example figure of the method for locating terminal of the embodiment of the present invention, including UE, record Network element (including MME and S-GW), network site inquiry gateway and application server, shown in step 401 and step 402 and Fig. 3 Step 301 is similar with step 302, the implementation procedure further include:
403, application server sends the network position of query messages inquiry UE according to the IP of UE to network site inquiry gateway It sets;
404, network site inquires gateway and the query information is sent to S-GW;
405, the query information is sent to the network site of MME inquiry UE by S-GW;
406, MME returns to the network site of UE to S-GW;
Wherein, if MME discovery UE handles idle state, which obtains the current network of the UE by way of paging Position.
407, the network site is sent to network site inquiry gateway by S-GW;
408, network site inquires gateway and network site is converted to the second position, and is sent to application server;
409, whether inquiry gateway in network site is less than preset apart from threshold according to the distance of the second position and first position Value generates positioning result, and the positioning result is sent to application server;
410, application server executes corresponding preset strategy according to positioning result.
In aforesaid way, other than using MME, HSS also can be used, also will record the network site of UE in HSS.May be used also S-GW or PCRF are directlyed adopt without using MME or HSS.
Referring to Fig. 5, Fig. 5 is another implementation example figure of the method for locating terminal of the embodiment of the present invention, including UE, record Network element (including MME and S-GW), network site inquiry gateway and application server, the implementation procedure further include:
501, UE obtains first position by the GPS positioning system of itself, and is sent to application server;
It should be understood that in addition to directly transmitting first position, where network cell ID or UE where can also be UE The network sites such as the MAC Address of WIFI determine the first position of UE by network site to server, server.UE is can be The first position of itself is uploaded when being connected to application server.
502, application server sends monitoring message to network site inquiry gateway;
Wherein, which includes the UE mark of the UE.
503, network site inquires gateway and the monitoring message is sent to MME by S-GW.
504, MME identifies the network site for determining UE according to the UE of UE, and continues to monitor;
Wherein, if MME discovery UE handles idle state, which obtains the current network of the UE by way of paging Position.
505, MME has found that the network site of the UE changes, and inquires gateway to network site by S-GW and sends change Network site and Notification of Changes message afterwards;
506, gateway is inquired to application server sending Notification of Changes message and by the network position after change in network site The second position after setting calculated change;
507, application server receives the second position and Notification of Changes message, and issues UE position request information to UE;
508, UE obtains first position by the GPS positioning system of itself again, and is sent to application server;
509, whether the distance for the first position that application server is obtained according to the second position after change and again is less than Preset distance threshold generates positioning result.
510, application server executes relative strategy according to positioning result.
It is understood that step 506 can also be following steps to 509:
A, network site inquires gateway and issues Notification of Changes message to application server;
B, application server receives the Notification of Changes message, and issues UE position request information to UE;
C, UE obtains first position by the GPS positioning system of itself again, and is sent to application server;
D, the first position is sent to network site inquiry gateway by application server;
E, whether the distance for the first position that inquiry gateway in network site is obtained according to the second position after change and again Positioning result is generated less than preset distance threshold, and is sent to application server.
It should be understood that embodiment illustrated in fig. 5 is position of the server to mobile network's transmission monitoring message to monitor UE, The network element recorded in embodiment illustrated in fig. 5 only includes MME in addition to the network element comprising MME and S-GW, record can also be, at this point, In embodiment illustrated in fig. 5:
Step 503 inquires gateway for network site and the monitoring message is sent directly to MME;
Step 505 is that MME has found that the network site of the UE changes, and MME sends change to network site inquiry gateway Network site and Notification of Changes message afterwards.
The terminal verification method of the embodiment of the present invention is described above, the server of the embodiment of the present invention is described below, asks It is the structural schematic diagram of the server of the embodiment of the present invention refering to Fig. 6, Fig. 6, wherein the server can include:
Receiving module 601, the first position of the UE for receiving UE upload;
Wherein, which can be realized the step 201 in embodiment illustrated in fig. 2, in addition, UE uploads itself position There are many modes set, and similar for the explanation of step 201 with embodiment illustrated in fig. 2, details are not described herein again.
Determining module 602 is positioned, for determining positioning result by first position, positioning result is by first position and second The comparison of position obtains, and the mobile network that the second position is adhered to from server to UE, which inquires, to be obtained;
Wherein, which can be realized the step 202 in embodiment illustrated in fig. 2.
There are two types of the modes for positioning the acquisition positioning result of determining module 602, is illustrated separately below:
Mode one, optionally, server further include:
Sending module 604, the mobile network for adhering to UE send UE position enquiring and request, in the request of UE position enquiring Carry the UE mark of UE;
Receiving module 601 is also used to receive the mobile network second position determining by UE mark;
It positions determining module 602 and determines positioning result also particularly useful for according to the comparison of first position and the second position.
As can be seen that the mobile network adhered to first from sending module 604 to UE sends UE position enquiring and asks in mode one It asks, receiving module 601 can receive the second position of UE from mobile network later, later by positioning determining module 602 to first Position is compared with the second position, so that it is determined that whether first position is to trust position out, as positioning result.
Mode two, optionally, server further include:
Sending module 604, the mobile network for adhering to UE send UE position enquiring and request, in the request of UE position enquiring Carry the first position of the UE mark and UE of UE;
Receiving module 601 is also used to receive the positioning result that mobile network determines according to first position and the second position, the Two positions are identified by UE by mobile network and are determined, positioning result is obtained by the comparison of first position and the second position.
As can be seen that mode two is in place of being different from mode one, what sending module 604 was sent is also that position enquiring is asked It asks, but carries first position in requesting, and what receiving module 602 received is not the second position, but directly connect Positioning result after receiving the comparison of moral first position and the second position.The generating process of the positioning result is directly by mobile network It completes.
Other than verifying the first position of UE behind the first position that server obtains UE by the second position, server is also It can be monitored for a certain UE, its first position is verified as long as its network changes, optionally, sending module 604 are also used to send the UE mark of UE to mobile network, so that the second position of mobile network monitoring UE;
The notification information and the second position after change that receiving module 601 is also used to receive mobile network's sending, notice letter The breath instruction second position changes.
As can be seen that in this case, sending module 604 can send the UE mark of UE to mobile network, so that mobile The second position of network monitoring UE can generate notification information, and will lead to once the mobile network second position changes immediately The receiving module 601 of server is issued in the second position after knowing message and changing together, enables the server to issue request and obtain The first position of UE is taken, and the first position is verified.
It should be noted that being positioned after above-mentioned server issues the first position of request UE there are two types of mode As a result, one is first position is sent to mobile network, by after being changed in mobile network the second position with newly obtain the One position is compared, and obtains comparison result, another is the direct second position for receiving mobile network, voluntarily by server First position and the second position are compared to obtain positioning result.
Execution module 603, for executing preset strategy according to positioning result.
Wherein, which can be realized the step 203 in embodiment illustrated in fig. 2.
It should be noted that positioning result includes two kinds of situations, it is to trust position one is first position, another kind is the One position is insincere position, main judgment criteria be first position at a distance from the second position whether in preset distance threshold Within the scope of, such as preset distance threshold is the distance of 1km, the i.e. second position and the second position just will within 1km First position is considered as trustworthy location, on the contrary then be insincere position.
Different policing actions can be executed for insincere position and trust position, is illustrated individually below.
It is for insincere position first, optionally, execution module 603 can execute at least one among following three kinds of operations Kind:
Refusal services UE;And
Information warning is issued to UE;And
Report the logout of insincere position to log UE.
As can be seen that execution module 603 can execute among following three kinds of operations when first position is insincere position At least one, i.e., one, refusal be that the UE is serviced, two, to UE issue information warning, the positional fault for prompting UE to upload, three, by UE The time of insincere position is reported to record to log in case inquiry.
It is followed by directed to trustworthy location, optionally, execution module 603 executes preset strategy according to positioning result and includes:
Service the UE;And/or
UE is recorded to credible UE list.
As can be seen that execution module 603 can execute the operation of service UE, and will when first position is trustworthy location UE record to two kinds of operations of credible UE list at least one of, remembered with the credibility of the uploading position for UE Record.
As can be seen that due to receiving module 601 receive UE upload first position after, not directly adopt this first Position of the position as UE, but the position for the UE that mobile network determines is inquired to mobile network, the position that mobile network determines Relative deviation is larger, but also can substantially know the physical location of UE, thus be capable of auxiliary judgment UE upload position whether It is its physical location, to improve the confidence level of UE location information.
The structure of user equipment in the embodiment of the present invention is described below, referring to Fig. 7, Fig. 7 is implementation of the present invention Example server one embodiment figure, wherein server 7 may include at least one processor 701 being connected with bus, At least one receiver 702 and at least one transmitter 703, the present embodiments relate to server can have than Fig. 7 institute The more or fewer components shown, can combine two or more components, or can have different component configurations or Setting, all parts can be in the hardware including including one or more signal processings and/or specific integrated circuit, software or firmly The combination of part and software is realized.
Specifically, the processor 701 is able to achieve the positioning in embodiment illustrated in fig. 6 for embodiment shown in fig. 6 The function of determining module 602 and execution module 603, the receiver 702 are able to achieve the receiving module 601 in embodiment illustrated in fig. 6 Function, which is able to achieve the function of the sending module 604 in embodiment illustrated in fig. 6.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (17)

1. a kind of method of locating terminal characterized by comprising
Server receives the first position for the UE that user equipment (UE) uploads;
The server determines positioning result by the first position, and the positioning result is by the first position and second The comparison set obtains, and the mobile network that the second position is adhered to from server to the UE, which inquires, to be obtained;
The server executes preset strategy according to the positioning result;
The positioning result includes:
The first position is trust position or the first position is insincere position;Wherein,
The distance between geographical location indicated by geographical location and the second position indicated by the first position is no When greater than preset distance threshold, the positioning result is that the first position is to trust position;
The distance between geographical location indicated by geographical location and the second position indicated by the first position is big When preset distance threshold, the positioning result is that the first position is insincere position.
2. method of locating terminal according to claim 1, which is characterized in that the server is true by the first position Determining positioning result includes:
The mobile network that the server adheres to the UE sends the request of UE position enquiring, takes in the UE position enquiring request UE mark with the UE;
The server receives the mobile network second position determining by UE mark;
The server determines positioning result according to the comparison of the first position and the second position.
3. method of locating terminal according to claim 1, which is characterized in that the shifting that the server is adhered to by the UE Dynamic network determines that positioning result includes:
The mobile network that the server adheres to the UE sends the request of UE position enquiring, takes in the UE position enquiring request The first position of UE mark and the UE with the UE;
The server receives the positioning result that the mobile network determines according to the first position and the second position, and described the Two positions determine that the positioning result is by the first position and the second position by UE mark by the mobile network Compare acquisition.
4. method of locating terminal according to claim 1, which is characterized in that when the positioning result is the first position When for insincere position, the server executes preset strategy according to the positioning result and includes the following three types among operation extremely Few one kind:
The server refusal services the UE;And
The server issues information warning to the UE;And
The UE is reported the logout of insincere position to log by the server.
5. method of locating terminal according to claim 1, which is characterized in that when the positioning result is the first position When for trustworthy location, the server executes preset strategy according to the positioning result and includes:
UE described in the server service;And/or
The server records the UE to credible UE list.
6. method of locating terminal according to claim 1, which is characterized in that the method also includes:
The server sends the UE mark of the UE to the mobile network, so that UE described in the mobile network monitoring The network site;
The server receives the notification information that the mobile network issues, and the notification information indicates that the network site occurs Change;
The mobile network changed according to the network site after change after the second position and to the server transmission change The second position after change.
7. method of locating terminal according to any one of claim 1 to 6, it is characterised in that: the mobile network includes The network element and network site for recording the network site of UE inquire gateway, network site inquiry gateway for the server with Mobile network's connection.
8. method of locating terminal according to claim 7, which is characterized in that the second position is from server to the UE The mobile network of attachment inquires
Network element in the mobile network records the network position where the UE when the UE is attached to the mobile network It sets;
The mobile network calculates the network site of the UE according to the network site.
9. method of locating terminal according to claim 8, which is characterized in that the network site recorded where the UE Network element include mobility management entity MME, gateway S-GW, home subscriber server HSS and strategy and billing function At least one of module PCRF.
10. method of locating terminal according to claim 9, which is characterized in that the network site include cell ID, with Track area mark, Service Area Identifier and evolved base station mark at least one of.
11. method of locating terminal according to claim 9, which is characterized in that the UE mark includes mobile subscriber number At least one of MSISDN, international mobile subscriber identity IMSI and IP address.
12. a kind of server characterized by comprising
Receiving module, the first position of the UE for receiving user equipment (UE) upload;
Determining module is positioned, for determining positioning result by the first position, the positioning result is by the first position Comparison with the second position obtains, and the mobile network that the second position is adhered to from server to the UE, which inquires, to be obtained;
Execution module, for executing preset strategy according to the positioning result;
The positioning result includes:
The first position is trust position or the first position is insincere position;Wherein,
The distance between geographical location indicated by geographical location and the second position indicated by the first position is no When greater than preset distance threshold, the positioning result is that the first position is to trust position;
The distance between geographical location indicated by geographical location and the second position indicated by the first position is big When preset distance threshold, the positioning result is that the first position is insincere position.
13. server according to claim 12, which is characterized in that the server further include:
Sending module, the mobile network for adhering to the UE send the request of UE position enquiring, the UE position enquiring request In carry the UE UE mark;
The receiving module is also used to receive the mobile network second position determining by UE mark;
The positioning determining module determines positioning result also particularly useful for according to the comparison of the first position and the second position.
14. server according to claim 12, which is characterized in that the server further include:
Sending module, the mobile network for adhering to the UE send the request of UE position enquiring, the UE position enquiring request In carry the UE UE mark and the UE first position;
The receiving module is also used to receive the positioning knot that the mobile network determines according to the first position and the second position Fruit, the second position determined by the mobile network by UE mark, the positioning result by the first position and The comparison of the second position obtains.
15. server according to claim 12, which is characterized in that when the positioning result is the first position for not When trustworthy location, the execution module be specifically used for executing following three kinds of operations at least one of:
Refusal services the UE;And
Information warning is issued to the UE;And
Report the logout of insincere position to log the UE.
16. server according to claim 12, which is characterized in that when the positioning result be the first position be can When believing position, the execution module is specifically used for:
Service the UE;And/or
The UE is recorded to credible UE list.
17. server according to claim 13, it is characterised in that: the sending module is also used to the mobile network The UE mark for sending the UE, so that the network site of UE described in the mobile network monitoring;
Receiving module is also used to receive the second position after the notification information that the mobile network issues and change, the notice letter Breath indicates that the network site changes.
CN201511030155.0A 2015-12-31 2015-12-31 A kind of method of locating terminal and server Active CN105472737B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201511030155.0A CN105472737B (en) 2015-12-31 2015-12-31 A kind of method of locating terminal and server
PCT/CN2016/109057 WO2017114125A1 (en) 2015-12-31 2016-12-08 Terminal positioning method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511030155.0A CN105472737B (en) 2015-12-31 2015-12-31 A kind of method of locating terminal and server

Publications (2)

Publication Number Publication Date
CN105472737A CN105472737A (en) 2016-04-06
CN105472737B true CN105472737B (en) 2019-05-28

Family

ID=55609891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511030155.0A Active CN105472737B (en) 2015-12-31 2015-12-31 A kind of method of locating terminal and server

Country Status (2)

Country Link
CN (1) CN105472737B (en)
WO (1) WO2017114125A1 (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472737B (en) * 2015-12-31 2019-05-28 上海华为技术有限公司 A kind of method of locating terminal and server
CN106504359B (en) * 2016-10-28 2020-03-17 广东亿迅科技有限公司 Intelligent attendance system based on position and motion state and implementation method thereof
CN108234411A (en) * 2016-12-15 2018-06-29 中国电信股份有限公司 Method, system and Internetbank Verification System based on Internetbank access registrar
CN107123210B (en) * 2017-04-27 2019-09-27 广州御银自动柜员机技术有限公司 A kind of ATM monitoring system based on electronic map
CN107566500A (en) * 2017-09-11 2018-01-09 珠海市魅族科技有限公司 The sending method and relevant apparatus of a kind of position location
CN107872767A (en) * 2017-11-07 2018-04-03 中国联合网络通信集团有限公司 A kind of net about car brush single act recognition methods and identifying system
US10559211B2 (en) 2017-11-27 2020-02-11 Uber Technologies, Inc. Real-time service provider progress monitoring
CN109102280A (en) * 2018-08-01 2018-12-28 福州市晋安区绿奇鑫环保科技有限公司 A kind of the safety verification method and server of barcode scanning payment environment
CN109068329B (en) * 2018-08-03 2021-11-30 中国联合网络通信集团有限公司 False position identification method, false position identification device, false position identification equipment and computer readable storage medium
CN109688096B (en) * 2018-09-07 2022-06-17 平安科技(深圳)有限公司 IP address identification method, device, equipment and computer readable storage medium
US10733473B2 (en) 2018-09-20 2020-08-04 Uber Technologies Inc. Object verification for a network-based service
US10999299B2 (en) 2018-10-09 2021-05-04 Uber Technologies, Inc. Location-spoofing detection system for a network service
CN114666740A (en) * 2019-04-29 2022-06-24 华为技术有限公司 Method and device for determining position of terminal device
CN110324779A (en) * 2019-05-21 2019-10-11 平安普惠企业管理有限公司 Location data monitoring method and relevant device based on information security
CN110708333B (en) * 2019-10-22 2022-04-01 深圳市卡牛科技有限公司 Position verification method and related equipment
CN111954299A (en) * 2020-08-17 2020-11-17 北京双洲科技有限公司 Position information acquisition method, device and system
CN112040409B (en) * 2020-09-02 2021-09-17 武汉理工大学 System and method for positioning and managing sailors in cruise ship
CN112019562A (en) * 2020-09-10 2020-12-01 北京双洲科技有限公司 Method and system for joint confirmation of mobile service user state
CN114765740A (en) * 2021-01-13 2022-07-19 维沃移动通信有限公司 Position information determination method, device and equipment
CN113225685B (en) * 2021-05-06 2023-03-28 建信云能数字科技有限公司 Track error correction method, device, equipment and storage medium
CN114051249B (en) 2022-01-06 2022-04-15 杭州筋斗腾云科技有限公司 Digital office system and method based on mobile equipment
CN116847358A (en) * 2022-03-25 2023-10-03 华为技术有限公司 Verification method and communication device for terminal equipment position
WO2023216034A1 (en) * 2022-05-07 2023-11-16 北京小米移动软件有限公司 Location information verification method and apparatus therefor
CN117255305A (en) * 2022-06-09 2023-12-19 展讯通信(上海)有限公司 Terminal position determining method and device and computer readable storage medium
WO2024060155A1 (en) * 2022-09-22 2024-03-28 北京小米移动软件有限公司 Positioning verification method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489214A (en) * 2009-01-23 2009-07-22 电信科学技术研究院 Method, apparatus and system for detecting user side equipment
CN102215558A (en) * 2010-04-07 2011-10-12 中国科学院国家天文台 Ground mobile communication network positioning method assisted by communication broadcast satellite signal
CN102917377A (en) * 2011-08-03 2013-02-06 中国电信股份有限公司 Method and system for acquiring cell identity of user-located cell
CN103747525A (en) * 2014-01-26 2014-04-23 林汉忠 Composite positioning system based on mobile communication network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101166133B (en) * 2007-09-26 2011-05-25 中兴通讯股份有限公司 Location limit method and system for home base station
KR101020335B1 (en) * 2008-04-04 2011-03-08 엘지전자 주식회사 Location information service method
CN101345673B (en) * 2008-05-21 2012-03-21 华为技术有限公司 Method for position validity detection, communication system, access equipment and top management network element
US9294875B2 (en) * 2011-09-30 2016-03-22 Electronics And Telecommunications Research Institute Method for determining position of terminal in cellular mobile communication system
CN105472737B (en) * 2015-12-31 2019-05-28 上海华为技术有限公司 A kind of method of locating terminal and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489214A (en) * 2009-01-23 2009-07-22 电信科学技术研究院 Method, apparatus and system for detecting user side equipment
CN102215558A (en) * 2010-04-07 2011-10-12 中国科学院国家天文台 Ground mobile communication network positioning method assisted by communication broadcast satellite signal
CN102917377A (en) * 2011-08-03 2013-02-06 中国电信股份有限公司 Method and system for acquiring cell identity of user-located cell
CN103747525A (en) * 2014-01-26 2014-04-23 林汉忠 Composite positioning system based on mobile communication network

Also Published As

Publication number Publication date
WO2017114125A1 (en) 2017-07-06
CN105472737A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN105472737B (en) A kind of method of locating terminal and server
AU2010332113B2 (en) Location intelligence management system
JP4016787B2 (en) Positioning system in mobile communication network
KR101820198B1 (en) Service processing method and apparatus based on location information
US20030153310A1 (en) Location system with enhanced security
CN105227574B (en) A kind of electric vehicle positioning of compatible multiple terminals access chases after theft system and its method
US20060099960A1 (en) Method for processing a location request of an area event change
CN102572689B (en) Mobile terminal location system and method
JP2009516451A (en) Efficient location and tracking of mobile subscribers
CN104349455A (en) WIFI (wireless fidelity) hotspot location method and system
CN108064062A (en) A kind of method and device of information processing across base station
CN103460760B (en) The method, apparatus and system of equipment discovery
CN106060773A (en) Object positioning system, method and device
CN105338466A (en) Location information acquisition method and location information acquisition device
CN108600292A (en) A kind of police moving map system and application method based on Internet resources
CN100369513C (en) Method of gathering location data of terminals in communication network
CN101568062A (en) Realization method, system, locating server and locating controller for location service
CN103024719A (en) Mobility management entity (MME) selection method and MME selection system for terminal group
CN107580365B (en) Region management method and system for satellite communication
US9769781B2 (en) System and method for providing multi-carrier tracking of wireless devices during an emergency
CN101400048A (en) Apparatus and method for selecting positioning algorithm in radio communication system
CN102932823A (en) Report associating method and device
CN103858496B (en) For the mapping of the position data of the network service in cellular telecommunication network
CN100391303C (en) Method for positoning and reporting service
CN112449310A (en) Signal coverage blind area positioning method, server side, terminal and computing equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant