CN111328013B - Mobile terminal positioning method and system - Google Patents

Mobile terminal positioning method and system Download PDF

Info

Publication number
CN111328013B
CN111328013B CN201811541504.9A CN201811541504A CN111328013B CN 111328013 B CN111328013 B CN 111328013B CN 201811541504 A CN201811541504 A CN 201811541504A CN 111328013 B CN111328013 B CN 111328013B
Authority
CN
China
Prior art keywords
positioning information
positioning
mobile terminal
base station
information
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
CN201811541504.9A
Other languages
Chinese (zh)
Other versions
CN111328013A (en
Inventor
徐秀珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Shandong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Shandong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Shandong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811541504.9A priority Critical patent/CN111328013B/en
Publication of CN111328013A publication Critical patent/CN111328013A/en
Application granted granted Critical
Publication of CN111328013B publication Critical patent/CN111328013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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 embodiment of the invention provides a mobile terminal positioning method and a mobile terminal positioning system, wherein the method comprises the following steps: positioning the mobile terminal based on a plurality of positioning algorithms according to acquired basic data of the mobile terminal to acquire positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information; and screening the plurality of positioning information to obtain the target positioning information of the mobile terminal. The embodiment of the invention obtains the target positioning information of the mobile terminal by screening the plurality of positioning information, thereby realizing the fusion of a plurality of positioning modes, better meeting the requirements of real-time performance, accuracy and coverage comprehensiveness of the terminal positioning service, and providing the data service meeting a plurality of indoor and outdoor scenes.

Description

Mobile terminal positioning method and system
Technical Field
The embodiment of the invention relates to the field of mobile communication, in particular to a mobile terminal positioning method and a mobile terminal positioning system.
Background
In the field of mobile communications, accurate positioning of a mobile terminal is a very important capability, also known as Location-Based Services (LBS). The position information of the mobile terminal is obtained through the positioning technology and is provided for the mobile user or other communication systems, various position-related services are realized, and diversified position services are provided for the user. With the rapid development of the internet and the continuous improvement of communication technology, the technology for positioning the mobile terminal is also changing day by day. Currently, the following methods are mainly used by telecom operators to locate a mobile terminal: a positioning mode based on LAC _ ID and CELL _ ID, a positioning mode based on GPS and a fingerprint positioning mode based on a feature library. However, the above methods have respective advantages and disadvantages: the base station positioning currently covers more users, but the positioning accuracy is not high; positioning is more accurate based on GPS data in the log of surfing the Internet, but the sample size is less; the fingerprint positioning mode based on the feature library is accurate, but the calculation complexity is high, and the requirement of real-time performance is difficult to meet.
Disclosure of Invention
To solve the above problems, embodiments of the present invention provide a mobile terminal positioning method and system that overcome the above problems or at least partially solve the above problems.
According to a first aspect of the embodiments of the present invention, there is provided a mobile terminal positioning method, including: positioning the mobile terminal based on a plurality of positioning algorithms according to acquired basic data of the mobile terminal to acquire positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information; and screening the plurality of positioning information to obtain the target positioning information of the mobile terminal.
According to a second aspect of the embodiments of the present invention, there is provided a mobile terminal positioning system, including: the positioning module is used for positioning the mobile terminal based on a plurality of positioning algorithms according to the acquired basic data of the mobile terminal to acquire positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information; and the screening module is used for screening the plurality of positioning information to obtain the target positioning information of the mobile terminal.
According to a third aspect of the embodiments of the present invention, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the mobile terminal positioning method as provided in any one of the various possible implementations of the first aspect.
According to a fourth aspect of embodiments of the present invention, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a mobile terminal positioning method as provided in any one of the various possible implementations of the first aspect.
According to the mobile terminal positioning method and system provided by the embodiment of the invention, the mobile terminal is positioned based on a plurality of positioning algorithms, and the positioning information corresponding to each positioning algorithm is obtained; and screening the plurality of positioning information to obtain the target positioning information of the mobile terminal, thereby realizing the fusion of a plurality of positioning modes, better meeting the requirements of real-time performance, accuracy and coverage comprehensiveness of the terminal positioning service, and providing the data service meeting indoor and outdoor scenes.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from these without inventive effort.
Fig. 1 is a schematic flowchart of a mobile terminal positioning method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a fusion process according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of screening positioning information according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal positioning system according to an embodiment of the present invention;
fig. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, the following methods are mainly used for operators to position mobile terminals:
the method I comprises the following positioning modes based on LAC _ ID and CELL _ ID: the mobile network is connected by base stations, which are divided into cells. The telecom operator acquires the base station number LAC _ ID and the CELL number CELL _ ID of the terminal reported by the wireless network by collecting the position signaling data of the 2/3/4G control plane, and the position service platform translates the CELL number into longitude and latitude coordinates so as to acquire the position of the user terminal. The method can realize simple position signaling based on the mobile phone, does not need additional equipment access, and can position the user mobile phone at any time as long as the user mobile phone is within the effective range of the mobile communication network.
A second method, a positioning mode based on GPS: the gps (global Positioning system), which is a global Positioning system, is a satellite navigation Positioning system established in the united states, and by using this system, a user can perform high-precision time transfer and high-precision Positioning. At present, the method is widely applied and accurate in positioning, and most mobile APPs adopt the positioning mode.
The third method comprises the following steps: fingerprint positioning mode based on feature library: the fingerprint database is a data set which reflects various characteristics of a geographic 5m multiplied by 5m grid and is obtained by calculation and training based on work parameters, a 5m three-dimensional map, frequency sweep/road test and MR historical data. And using an MR measurement report in an MR message by using a user terminal, constructing a measurement signal distribution characteristic library of the region based on the coordinate point by using an XDR signaling, and performing quasi-real-time positioning based on the characteristic library. The implementation of location fingerprinting is generally divided into two phases: the first stage is a training/off-line stage, and the main work is to collect signal characteristic parameters of the positions of all reference nodes in a required positioning area, including field intensity distribution information, mobility characteristic information and the like of adjacent cells, and form a position fingerprint database by corresponding a group of fingerprint information to a specific position. The second phase is a location/on-line phase, where the receiver measures the parameters of the received signal and a matching algorithm is used to determine which set of data in the database to match to, and thus the actual location of the user.
However, the above-mentioned mobile terminal positioning method has the following disadvantages:
aiming at the method one: since the base station location can be located indoors, most areas can be covered, but the location accuracy is low, generally 300 to 500 meters in urban areas, generally 1000 to 2000 meters in suburban areas, and the environmental impact is large. At present, a plurality of indoor base stations are arranged, the positioning is relatively accurate, but the indoor base stations are only limited to indoor buildings and cannot cover all areas.
Aiming at the second method: positioning is more accurate based on a positioning mode of a GPS, but position information is generated only when a user actively starts the GPS positioning or uses certain software with a GPS positioning function. At present, the GPS cannot perform 100% positioning, the indoor positioning is more inaccurate, and the positioning is influenced by various aspects including buildings, viaducts, electric waves and the like.
Aiming at the third method: fingerprint positioning mode based on feature library. This way the location of the MR is determined by finding the closest location point to the feature of the current MR point in an established library of features (fingerprint library). In the method, a three-dimensional vector electronic map (including a building), accurate network parameter data, MR data of a user, indoor and outdoor sweep frequency data, drive test data and the like are collected, and a fingerprint database is generated in an offline sampling stage, so that the workload is large in the early stage. Because the base station parameter information and the like are changed frequently, the fingerprint database needs to be updated regularly or irregularly, and if the province fingerprint database information is updated, 1-2 weeks are probably needed. Because the real-time calculation step needs to be matched with the fingerprints in the database, the calculation takes longer time, generally the time is delayed by 1-2 hours, and the requirement of quasi real-time cannot be met. At present, the quality of original UE-MR data in many areas is low, the number of adjacent areas is small, and the target within expected 50 meters is difficult to achieve in the actual positioning process.
The methods all have advantages and disadvantages, the base station positioning currently covers more users, but the positioning accuracy is not high; positioning is more accurate based on GPS data in the log of surfing the Internet, but the sample size is less; the fingerprint positioning mode based on the feature library is accurate, but the calculation complexity is high, and the requirement of real-time performance is difficult to meet.
Based on this, the embodiment of the present invention provides a mobile terminal positioning method, which fuses different positioning algorithms, thereby better satisfying the requirements for the real-time performance, accuracy, coverage comprehensiveness, etc. of the terminal positioning service. Referring to fig. 1, the method includes:
101. positioning the mobile terminal based on a plurality of positioning algorithms according to acquired basic data of the mobile terminal to acquire positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information.
Wherein, the basic data mainly comes from B domain data and O domain data. The B-domain data mainly comprises position information related to a flow call ticket and a voice call ticket, wherein the position information is information of a base station connected with the generated flow and the voice; the O-domain data is data collected by the network side, and comprises user plane and control plane data, and mainly comprises MC signaling, LTE control plane signaling, GN internet log and LTE user plane signaling. The positioning algorithm in the embodiment of the invention comprises a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and the basic data can provide a positioning data base for the above algorithms. Specifically, MR data required by the MR-based positioning algorithm is derived from UE-MR data of an LTE control plane; GPS data required by a positioning algorithm based on a GPS mainly comes from HTTP protocol signaling of an S1-U interface, and GPS information in a URL is extracted based on an internet position knowledge base; the base station positioning data required by the positioning algorithm based on the base station is derived from position signaling data in the MC/MME, a flow ticket and position data in a GPRS ticket. The embodiment of the invention does not limit the way of obtaining the positioning information respectively corresponding to each positioning algorithm based on the basic data.
102. And screening the plurality of positioning information to obtain the target positioning information of the mobile terminal.
Specifically, after step 101 is executed, a plurality of positioning information corresponding to one mobile terminal can be obtained, and because different positioning algorithms have different advantages, the plurality of positioning information can comprehensively reflect the position of the mobile terminal. And then, screening the obtained plurality of positioning information to obtain final positioning information as target positioning information of the mobile terminal, wherein the target positioning information is a positioning result of the mobile terminal. The embodiment of the present invention does not limit the filtering manner, and for example, one of the plurality of positioning information may be selected as the target positioning information, or a median of the plurality of positioning information may be used as the target positioning information. In addition, the embodiment of the present invention does not limit the principle on which the screening is based, for example, the screening is performed for different application scenarios.
According to the mobile terminal positioning method provided by the embodiment of the invention, the mobile terminal is positioned based on a plurality of positioning algorithms, and the positioning information corresponding to each positioning algorithm is obtained; and screening the plurality of positioning information to obtain the target positioning information of the mobile terminal, thereby realizing the fusion of a plurality of positioning modes, better meeting the requirements of real-time performance, accuracy and coverage comprehensiveness of the terminal positioning service, and providing the data service meeting indoor and outdoor scenes.
As for the above step 101, this step is a fusion processing procedure of data. Because different positioning algorithms are needed to be adopted to position the mobile terminal respectively, the data sources are more, the data volume is larger, and the data in one day is TB level, so the requirement on the data fusion processing method is very high. In order to perform basic data fusion processing, based on the content of the foregoing embodiment, as an optional embodiment, a method for positioning a mobile terminal based on multiple positioning algorithms according to acquired basic data of the mobile terminal to obtain positioning information corresponding to each positioning algorithm is provided, referring to fig. 2, which includes but is not limited to:
and step 1, writing the basic data into different topics of Kafka.
Where Kafka is a distributed messaging system, the information in Kafka is organized by Topic.
Based on the content of the above embodiment, as an optional embodiment, the basic data includes signaling data and/or call ticket data; accordingly, methods of writing the underlying data to Kafka include, but are not limited to: decoding and writing the signaling data into Kafka from a network side Socket interface; and/or transmitting the call ticket data to a big data interface machine through the BOSS, and writing the call ticket data into the Kafka.
Specifically, the signaling data and the call ticket data include data sources such as MC/MME/HTTP/GSM/GPRS, which are written into different topics of Kafka, respectively. There are two implementations according to the data source providing manner:
(1) and for MC/MME/MR/GN/S1-U signaling data, decoding and writing into Kafka from a network side Socket interface in real time.
(2) For GSM/GPRS ticket data, the BOSS transmits the file to the big data interface machine in real time, and writes the file to Kafka by using IBM Streams.
And 2, reading each Topic in the Kafka in parallel through Spark Streaming, and performing corresponding processing on basic data in the Topic to obtain various types of position data with the IMSI as the unique identifier. Specifically, each Topic in Kafka is read in parallel using Spark Streaming, and the message is processed using corresponding logic for the data. Various types of location data are reserved, which are uniquely identified by IMSI (international mobile subscriber identity). The results are shown in table 1 below:
TABLE 1 location data
Figure BDA0001908266000000071
Figure BDA0001908266000000081
In addition, various dimension data and cache data depended on in the Spark execution process are placed in the Codis cluster; and the processing result data is written back to the Codis and used as a subsequent cache, and the cache comprises the latest information caches of all users.
And 3, performing fusion calculation on the position data based on various positioning algorithms to obtain positioning information corresponding to each positioning algorithm.
Aiming at different positioning algorithms, different fusion calculation modes are provided, firstly, the positioning mode based on the base station is as follows:
based on the content of the above embodiment, as an optional embodiment, the positioning algorithm is a base station-based positioning algorithm, and the ticket data includes a GPRS ticket and a voice ticket; correspondingly, according to the acquired basic data of the mobile terminal, the mobile terminal is positioned based on a plurality of positioning algorithms, and the positioning information corresponding to each positioning algorithm is acquired, which comprises the following steps: acquiring initial positioning information of a base station according to the basic data, wherein the initial positioning information of the base station comprises first initial base station positioning information contained in the signaling data, second initial base station positioning information contained in a GPRS (general packet radio service) call ticket and third initial base station positioning information contained in a voice call ticket; if the first initial base station positioning information, the second initial base station positioning information and the third initial base station positioning information are the same, retaining any one initial base station positioning information as base station positioning information; if two of the first initial base station positioning information, the second initial base station positioning information and the third initial base station positioning information are the same, adopting the same two initial base station positioning information to correct the positioning information of the other initial base station, and selecting one of the two same initial base station positioning information as the base station positioning information; and if the first initial base station positioning information, the second initial base station positioning information and the third initial base station positioning information are different, selecting the position information of the midpoint between the two initial base station positioning information with the closest distance as the base station positioning information.
In other words, the signaling data contains the initial base station positioning information, and the GPRS ticket and the voice ticket both contain the initial base station positioning information. If the three information are the same, one is reserved; if one of the positioning information is different from the other two positioning information, and the positioning drift is considered, the other one is corrected by using the same two pieces of base station information, and the other two pieces of positioning information are reserved; if the three points are different, selecting the middle point of the two points with the closest distance as the final positioning point.
The MR-based localization approach is as follows: based on the content of the foregoing embodiment, as an optional embodiment, the positioning algorithm is a positioning algorithm based on MR, and accordingly, according to the acquired basic data of the mobile terminal, the mobile terminal is positioned based on multiple positioning algorithms, and the positioning information corresponding to each positioning algorithm is obtained, including but not limited to: and inputting the signal intensity of each cell received by the mobile terminal reported by the mobile terminal in the MR message into a feature library, and calculating to obtain MR positioning information.
Specifically, the location of the UE is calculated by using the signal strength of each cell received by the UE reported by the UE in the MR message (periodic and event type) as the input of the feature library. Firstly, rasterizing field intensity information, namely dividing a network into square grids according to a certain scale, and simulating to obtain a feature vector of each grid (5m multiplied by 5 m); and then constructing a cell field intensity vector of the MR, and judging the grid to which the MR belongs according to the vector distance between the cell field intensity vector and the grid characteristic vector of the fingerprint database. The distance between the two vectors is calculated using the euclidean distance between the two vectors. The fingerprint features in the grid include field intensity distribution information, mobility feature information, number of neighboring cells and the like of neighboring cells. In the positioning process, the MR point and the fingerprint with the shortest vector distance in the fingerprint library are locked, and the grid position corresponding to the fingerprint can be regarded as the positioning position of the corresponding MR.
The GPS positioning mode based on the log of surfing the Internet is as follows: and extracting the GPS position in the URL based on an internet position knowledge base according to the collected HTTP ticket of the Gn interface and the S1-U interface, and removing the positioning drift point according to the positioning time and the distance between the front point and the rear point.
Based on the content of the foregoing embodiment, as an optional embodiment, after obtaining the positioning information corresponding to each positioning algorithm, the method further includes: the positioning information is written in Kafka, Phoenix and Codis.
Specifically, the process result data (i.e., the positioning information) is written to Kafka, providing post-flywheel processing capability, with this portion of the data being rearranged by the length of the processing batch. The processing result data is also written into Phoenix (on Hbase), and position track information is saved. Hbase provides high-performance read-write capability as underlying storage, and Phoenix provides instant query capability. The Hbase data was re-ranked at 5 minutes and tabulated at monthly intervals. Subsequent batch processing capabilities were provided using Hive on Phoenix or Hive on Hbase. Direct lookup of Phoenix (on Hbase) data for analysis was achieved by Hive external tables. The final output result is:
TABLE 2 location information
Figure BDA0001908266000000101
Figure BDA0001908266000000111
Based on the content of the foregoing embodiment, as an optional embodiment, a method for filtering multiple pieces of positioning information to obtain target positioning information of a mobile terminal is provided, which includes but is not limited to:
s1, sequencing the positioning information of the mobile terminal obtained in the set time interval according to the time sequence to obtain a position sequence;
s2, judging whether the position sequence has the positioning information, if not, entering S3, and if so, entering S4;
s3, using the positioning information of the last set time interval of the mobile terminal as the target positioning information of the mobile terminal;
s4, judging whether the positioning information in the position sequence is the same, if not, entering S5; if the positioning information is the same as the target positioning information of the mobile terminal, merging the same positioning information, and taking the positioning information as the target positioning information of the mobile terminal;
s5, judging whether GPS positioning information exists in the position sequence, if so, taking the GPS positioning information with the longest residence time of the mobile terminal in a set time period as the target positioning information of the mobile terminal; if not, go to S6;
s6, judging whether MR positioning information exists in the position sequence, if so, taking the MR positioning information with the longest residence time of the mobile terminal in a set time period as the target positioning information of the mobile terminal; if not, go to S7;
and S7, judging whether the base station positioning information exists in the position sequence, if so, taking the base station positioning information with the longest residence time in the set time period as the target positioning information of the mobile terminal.
Referring to fig. 3, the following describes the method for obtaining the target location information of the mobile terminal by using a specific example:
step 1, sequencing position signaling (positioning information) of the same user (namely, a mobile terminal) within five minutes (namely, a set time interval) in time sequence to form a position sequence of a single user within five minutes.
And 2, judging whether the user has position information (namely positioning information), if not, entering the step 3, and if not, entering the step 4.
And 3, taking the position of the last five minutes of the user as the current position (namely target positioning information) of the user.
Step 4, judging whether the position information is the same or not, and if the position information is different, entering step 5; if the position information is the same, step 8 is entered, and the same position information is merged.
Step 5, judging whether the user has GPS positioning information, if so, taking the GPS position with the longest user residence time in five minutes as the final position (namely target positioning information) of the user in the current five minutes; if not, go to step 6.
Step 6, judging whether the user has MR positioning information, if so, taking the point with the longest MR positioning residence time of the user in five minutes as the final position of the user in the current five minutes; if not, go to step 7.
Step 7, judging whether the user has base station positioning information, if so, taking the base station position with the longest residence time in five minutes of the user through signaling and call ticket data as the final position of the user in the current five minutes;
and 8, outputting the final position information of the user to various position service applications.
In summary, the embodiment of the present invention performs technical transformation on the current location signaling flow processing platform, and adds a comprehensive location capability platform and an optimal location selection method. The existing flow processing system of an operator is reformed, so that the system can meet the requirements of a plurality of positioning methods, and each mobile terminal has a plurality of positioning positions, including positioning information based on a base station sector, positioning information based on MR, positioning information based on an internet GPS, and positioning information based on voice and flow ticket positions; and meanwhile, based on the position information and the requirements of the service requester, the position required by the user can be selected by using an optimal position selection method and provided for the requester.
Compared with the prior art, the mobile terminal positioning method provided by the embodiment of the invention has universality, does not need to rely on MR data only, and has lower accuracy in MR positioning because the number of adjacent regions of the MR original data is less in some operators; secondly, the positioning is more comprehensive, and the requirements of various positioning of users can be met. The embodiment of the invention not only has MR positioning, but also has GPS positioning based on the log of surfing the Net, and positioning based on the base station can ensure the comprehensiveness of the positioning information. In addition, the embodiment of the invention is improved on the existing stream processing system, can ensure the quasi-real-time performance of the positioning information, updates a latest position within five minutes, and has very high universality. When the location service is provided to the outside, the original signaling-based service can be replaced, and the pressure of the location service provided to the outside on the system is reduced.
Based on the content of the foregoing embodiments, an embodiment of the present invention provides a mobile terminal positioning system, where the mobile terminal positioning system is configured to execute the mobile terminal positioning method in the foregoing method embodiments. Referring to fig. 4, the system includes: a positioning module 401 and a screening module 402; the positioning module 401 is configured to position the mobile terminal based on multiple positioning algorithms according to the acquired basic data of the mobile terminal, and obtain positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information; a screening module 402, configured to screen multiple positioning information to obtain target positioning information of the mobile terminal.
Specifically, the positioning algorithm in the embodiment of the present invention includes a base station-based positioning algorithm, an MR-based positioning algorithm, and a GPS-based positioning algorithm, and the basic data can provide a data basis for positioning for the above algorithms. The embodiment of the present invention does not limit the manner in which the positioning module 401 obtains the positioning information corresponding to each positioning algorithm based on the basic data. Due to different advantages of different positioning algorithms, the positioning information can comprehensively reflect the position of the mobile terminal. Then, the screening module 402 may screen the obtained multiple positioning information to obtain a final positioning information as a target positioning information of the mobile terminal, where the target positioning information is a positioning result of the mobile terminal.
The mobile terminal positioning system provided by the embodiment of the invention positions the mobile terminal based on a plurality of positioning algorithms to obtain the positioning information corresponding to each positioning algorithm; and screening the plurality of positioning information to obtain the target positioning information of the mobile terminal, thereby realizing the fusion of a plurality of positioning modes, better meeting the requirements of real-time performance, accuracy and coverage comprehensiveness of the terminal positioning service, and providing the data service meeting indoor and outdoor scenes.
An embodiment of the present invention provides an electronic device, as shown in fig. 5, the electronic device includes: a processor (processor)501, a communication Interface (Communications Interface)502, a memory (memory)503, and a communication bus 504, wherein the processor 501, the communication Interface 502, and the memory 503 are configured to communicate with each other via the communication bus 504. The processor 501 may call a computer program on the memory 503 and operable on the processor 501 to execute the mobile terminal positioning method provided by the above embodiments, for example, including: positioning the mobile terminal based on a plurality of positioning algorithms according to acquired basic data of the mobile terminal to acquire positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information; and screening the plurality of positioning information to obtain the target positioning information of the mobile terminal.
In addition, the logic instructions in the memory 503 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the mobile terminal positioning method provided in the foregoing embodiments when executed by a processor, and the method includes: positioning the mobile terminal based on a plurality of positioning algorithms according to acquired basic data of the mobile terminal to acquire positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information; and screening the plurality of positioning information to obtain the target positioning information of the mobile terminal.
The above-described embodiments of the electronic device and the like are merely illustrative, and units illustrated as separate components may or may not be physically separate, and components displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the various embodiments or some parts of the methods of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A mobile terminal positioning method is characterized by comprising the following steps:
positioning the mobile terminal based on a plurality of positioning algorithms according to acquired basic data of the mobile terminal to acquire positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information;
screening the positioning information to obtain target positioning information of the mobile terminal;
the screening the plurality of positioning information to obtain the target positioning information of the mobile terminal comprises:
s1, sequencing the positioning information of the mobile terminal obtained in a set time interval according to a time sequence to obtain a position sequence;
s2, judging whether the positioning information exists in the position sequence, if not, entering S3, and if so, entering S4;
s3, using the last positioning information of the mobile terminal in the set time interval as the target positioning information of the mobile terminal;
s4, judging whether the positioning information in the position sequence is the same, if not, entering S5; if the positioning information is the same as the target positioning information of the mobile terminal, merging the same positioning information, and taking the positioning information as the target positioning information of the mobile terminal;
s5, judging whether GPS positioning information exists in the position sequence, if so, taking the GPS positioning information with the longest residence time of the mobile terminal in the set time period as the target positioning information of the mobile terminal; if not, go to S6;
s6, judging whether MR positioning information exists in the position sequence, and if so, taking the MR positioning information with the longest residence time of the mobile terminal in the set time period as the target positioning information of the mobile terminal; if not, go to S7;
and S7, judging whether the position sequence has base station positioning information, if so, taking the base station positioning information with the longest residence time in the set time period as the target positioning information of the mobile terminal.
2. The method according to claim 1, wherein the positioning the mobile terminal based on a plurality of positioning algorithms according to the acquired basic data of the mobile terminal to obtain the positioning information corresponding to each of the positioning algorithms respectively comprises:
writing the basic data into different topics Topic of the distributed message system Kafka;
reading each Topic in the Kafka in parallel through a data processing module Spark Streaming, and performing corresponding processing on the basic data in the Topic to obtain various types of position data with International Mobile Subscriber Identity (IMSI) as a unique identifier;
and performing fusion calculation on the position data based on the multiple positioning algorithms to obtain the positioning information corresponding to each positioning algorithm.
3. The method according to claim 2, wherein the basic data comprises signaling data and/or call ticket data; accordingly, said writing said base data to said Kafka includes:
decoding the signaling data from a network side Socket interface and writing the signaling data into the Kafka; and/or transmitting the call ticket data to a big data interface machine through the BOSS, and writing the call ticket data into the Kafka.
4. The method according to claim 2, wherein after obtaining the positioning information corresponding to each of the positioning algorithms, further comprising:
and writing the positioning information into the Kafka, the middleware Phoenix and the cluster Codis.
5. The method of claim 3, wherein the positioning algorithm is a base station based positioning algorithm, and the call ticket data comprises a GPRS call ticket and a voice call ticket; correspondingly, the step of positioning the mobile terminal based on a plurality of positioning algorithms according to the acquired basic data of the mobile terminal to obtain the positioning information corresponding to each positioning algorithm includes:
acquiring base station initial positioning information according to the basic data, wherein the base station initial positioning information comprises first initial base station positioning information contained in the signaling data, second initial base station positioning information contained in the GPRS call ticket and third initial base station positioning information contained in the voice call ticket;
if the first initial base station positioning information, the second initial base station positioning information and the third initial base station positioning information are the same, retaining any one initial base station positioning information as the base station positioning information; if two of the first initial base station positioning information, the second initial base station positioning information and the third initial base station positioning information are the same, adopting the same two initial base station positioning information to correct the positioning information of the other initial base station, and selecting one of the two same initial base station positioning information as the base station positioning information; and if the first initial base station positioning information, the second initial base station positioning information and the third initial base station positioning information are different, selecting the position information of the midpoint between the two initial base station positioning information with the closest distance as the base station positioning information.
6. The method according to claim 1, wherein the positioning algorithm is an MR-based positioning algorithm, and accordingly, the mobile terminal is positioned based on a plurality of positioning algorithms according to the acquired basic data of the mobile terminal, and the obtaining of the positioning information corresponding to each of the positioning algorithms comprises:
and inputting the signal intensity of each cell received by the mobile terminal reported by the mobile terminal in the MR message into a feature library, and calculating to obtain the MR positioning information.
7. A mobile terminal positioning system, comprising:
the positioning module is used for positioning the mobile terminal based on a plurality of positioning algorithms according to acquired basic data of the mobile terminal to acquire positioning information corresponding to each positioning algorithm; the positioning algorithm comprises at least two of a base station-based positioning algorithm, an MR-based positioning algorithm and a GPS-based positioning algorithm, and correspondingly, the positioning information comprises at least two of base station positioning information, MR positioning information and GPS positioning information;
the screening module is used for screening the positioning information to obtain target positioning information of the mobile terminal; the screening the plurality of positioning information to obtain the target positioning information of the mobile terminal comprises:
s1, sequencing the positioning information of the mobile terminal obtained in a set time interval according to a time sequence to obtain a position sequence;
s2, judging whether the positioning information exists in the position sequence, if not, entering S3, and if so, entering S4;
s3, using the last positioning information of the mobile terminal in the set time interval as the target positioning information of the mobile terminal;
s4, judging whether the positioning information in the position sequence is the same, if not, entering S5; if the positioning information is the same as the target positioning information of the mobile terminal, merging the same positioning information, and taking the positioning information as the target positioning information of the mobile terminal;
s5, judging whether GPS positioning information exists in the position sequence, if so, taking the GPS positioning information with the longest residence time of the mobile terminal in the set time period as the target positioning information of the mobile terminal; if not, go to S6;
s6, judging whether MR positioning information exists in the position sequence, and if so, taking the MR positioning information with the longest residence time of the mobile terminal in the set time period as the target positioning information of the mobile terminal; if not, go to S7;
and S7, judging whether the position sequence has base station positioning information, if so, taking the base station positioning information with the longest residence time in the set time period as the target positioning information of the mobile terminal.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the mobile terminal positioning method according to any of claims 1 to 6 are implemented when the processor executes the program.
9. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the mobile terminal positioning method according to any one of claims 1 to 6.
CN201811541504.9A 2018-12-17 2018-12-17 Mobile terminal positioning method and system Active CN111328013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811541504.9A CN111328013B (en) 2018-12-17 2018-12-17 Mobile terminal positioning method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811541504.9A CN111328013B (en) 2018-12-17 2018-12-17 Mobile terminal positioning method and system

Publications (2)

Publication Number Publication Date
CN111328013A CN111328013A (en) 2020-06-23
CN111328013B true CN111328013B (en) 2021-11-23

Family

ID=71165023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811541504.9A Active CN111328013B (en) 2018-12-17 2018-12-17 Mobile terminal positioning method and system

Country Status (1)

Country Link
CN (1) CN111328013B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638537B (en) * 2020-08-03 2020-11-06 成都瑞达科讯科技有限公司 Indoor and outdoor multi-technology fusion positioning method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782654A (en) * 2009-12-24 2010-07-21 中国测绘科学研究院 Positioning terminal equipment combining multiple positioning methods
CN105764025B (en) * 2014-12-17 2019-04-12 中国电信股份有限公司 More net locating query method and systems
CN105792115B (en) * 2014-12-17 2019-04-23 中国电信股份有限公司 More net location data fusion methods and system
CN105142215B (en) * 2015-08-07 2018-12-21 成都亚讯星科实业有限公司 Method for various dimensions user location location Calculation
CN106776855B (en) * 2016-11-29 2020-03-13 上海轻维软件有限公司 Processing method for reading Kafka data based on Spark Streaming
CN108574984B (en) * 2017-03-10 2020-08-28 中国移动通信集团上海有限公司 Positioning method and device
CN108964957B (en) * 2017-05-24 2022-08-02 中兴通讯股份有限公司 Method for monitoring data communication service quality and big data system

Also Published As

Publication number Publication date
CN111328013A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
US10542519B2 (en) Terminal positioning method and network device
CN110166943B (en) Method for processing terminal position information
CN110035388B (en) Method for determining user area, computer readable storage medium and terminal device
CN106575294B (en) Track data query method and device
WO2012038779A1 (en) Generation and use of coverage area models
CN110769459B (en) Mobile terminal positioning method and device, storage medium and server
CN112312301B (en) User terminal positioning method, device, equipment and computer storage medium
CN109936820B (en) User terminal positioning method and device
CN109068272B (en) Similar user identification method, device, equipment and readable storage medium
CN111479321B (en) Grid construction method and device, electronic equipment and storage medium
CN111787488B (en) User positioning method and system
CN111541986B (en) Positioning method, positioning device, storage medium and processor
CN108450060A (en) Localization method, equipment based on WI-FI access points
CN103929719A (en) Information locating optimization method and device
CN111651681B (en) Message pushing method and device based on intelligent information recommendation in cloud network fusion environment
CN105657652A (en) Providing streaming geolocation infomation
CN110727752B (en) Position fingerprint database processing method, device and computer readable storage medium
CN111328013B (en) Mobile terminal positioning method and system
CN111641924B (en) Position data generation method and device and electronic equipment
CN112689301B (en) Road scene switching sequence identification method and device and computing equipment
CN111405464B (en) Base station position detection method and device
CN104023392A (en) Method and equipment of determining position of wireless access point
CN110708665B (en) Method and device for determining home area of access network equipment
Wu et al. Parallel accurate localization from cellular network
CN111314850A (en) Matching method, device, equipment and medium for store and user

Legal Events

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