CN110519755B - Positioning method, positioning device, electronic equipment and storage medium - Google Patents

Positioning method, positioning device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110519755B
CN110519755B CN201910836568.XA CN201910836568A CN110519755B CN 110519755 B CN110519755 B CN 110519755B CN 201910836568 A CN201910836568 A CN 201910836568A CN 110519755 B CN110519755 B CN 110519755B
Authority
CN
China
Prior art keywords
data
user
identification code
database
location
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
CN201910836568.XA
Other languages
Chinese (zh)
Other versions
CN110519755A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910836568.XA priority Critical patent/CN110519755B/en
Publication of CN110519755A publication Critical patent/CN110519755A/en
Application granted granted Critical
Publication of CN110519755B publication Critical patent/CN110519755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a positioning method, a positioning device, electronic equipment and a storage medium, and relates to data processing. The specific implementation scheme is as follows: and acquiring a positioning request, wherein the positioning request comprises a user identification code of a user to be positioned, and then determining the position data of the user to be positioned according to the user identification code of the user to be positioned and a position database, wherein the position database is a database generated according to the hot spot data and the ticket data. According to the positioning method disclosed by the application, the multi-source position data are fused, so that the positioning accuracy can be improved while the source of the position data is increased.

Description

Positioning method, positioning device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of data processing, in particular to a positioning method, a positioning device, electronic equipment and a storage medium.
Background
In the field of security applications, both location tracking of a specific object and prediction of trajectory behavior are important.
In the prior art, positioning and tracking are generally performed on terminals with specific attributes and users corresponding to the terminals through operator data. Wherein the operator data provided for positioning typically comprises ticket data as well as base station information data.
However, the positioning information determined by the ticket data and the base station information data is usually only the position information of the base station, and obviously, the determined position of the base station and the actual position of the user to be positioned still have a large displacement, so that accurate positioning cannot be realized.
Disclosure of Invention
The application provides a positioning method, a positioning device, electronic equipment and a storage medium, which are used for solving the technical problem that the positioning of a user to be positioned is inaccurate by utilizing operator data at present.
In a first aspect, the present application provides a positioning method, including:
acquiring a positioning request, wherein the positioning request comprises a user identification code of a user to be positioned;
and determining the position data of the user to be positioned according to the user identification code of the user to be positioned and a position database, wherein the position database is a database generated according to hot spot data and ticket data, the hot spot data is communication record data between a terminal and hot spot equipment, and the ticket data is communication record data between the terminal and a base station.
In the embodiment of the application, the mapping relation between the user identification code and the position data is established by fusing the hot spot data and the call ticket data so as to generate the position database, so that when the user to be positioned is positioned, the position data of the user to be positioned can be acquired from the position database through the user identification code of the user to be positioned, the fusion of multi-source position data is realized, the source of the position data is increased, and the positioning precision is improved.
In one possible design, the positioning method further includes:
determining first position data according to the hot spot data, wherein the hot spot data comprises a device identification code of the terminal and hot spot device data;
determining second position data according to the call ticket data, wherein the call ticket data comprises a user identification code, a device identification code of the terminal and base station data;
and generating the position database according to the first position data and the second position data.
In this embodiment of the present application, the first location data and the second location data are fused by the device identifier code commonly included in the first location data and the second location data, so as to generate a location database having a mapping relationship between the user identifier code and the location data.
In one possible design, the location database is a database generated according to the hotspot data, the ticket data, and application data, where the application data is recorded data of the terminal running the application.
In one possible design, the positioning method further includes:
determining third location data according to the application program data, wherein the application program data comprises the user identification code and user behavior data;
And generating the position database according to the first position data, the second position data and the third position data.
In the embodiment of the application, the application program data are fused, so that the data source of the position data is further increased, and the accuracy of positioning by using the generated database is further improved.
In one possible design, the location database includes: user identification code, time information and location data.
In the embodiment of the application, the processing efficiency of multi-source data fusion is improved in a unified data format mode, and only important information is extracted for storage, so that the pressure of a database is reduced.
In one possible design, the location database includes a historical database and/or a real-time database;
the history database is used for storing the user identification code, time information and position data of the terminal at each time point;
the real-time database is used for storing the user identification code, the time information and the position data of the terminal at the latest time point.
In the embodiment of the application, the storage characteristics of different databases are utilized, and the real-time property of the stored data can be ensured by utilizing the real-time database while the integrity of the data storage is ensured by utilizing the history database.
In one possible design, the determining the location data of the user to be located according to the user identification code and a location database includes:
determining track data of the user to be positioned in a preset period according to the user identification code of the user to be positioned and the position database; and/or the number of the groups of groups,
and determining the current position data of the user to be positioned according to the user identification code of the user to be positioned and the position database.
In the embodiment of the application, different types of position data can be generated according to different positioning requirements, so that the richness of the positioning data is improved.
In one possible design, before the determining the location data of the user to be located according to the user identification code and the location database, the method further includes:
and carrying out data processing in a preset safety network to generate the position database.
In one possible design, before the data processing in the preset secure network, the method further includes:
determining that the device transmitting data to the secure network is a secure device;
and receiving the encrypted data sent by the equipment, wherein the equipment is used for storing the position data.
In one possible design, after the receiving the encrypted data sent by the device, the method further includes:
and decrypting the received encrypted data.
In a second aspect, the present application further provides a positioning device, including:
the positioning request acquisition module is used for acquiring a positioning request, wherein the positioning request comprises a user identification code of a user to be positioned;
the location data determining module is used for determining location data of the user to be located according to the user identification code of the user to be located and a location database, wherein the location database is a database generated according to hot spot data and ticket data, the hot spot data are communication record data between a terminal and hot spot equipment, and the ticket data are communication record data between the terminal and a base station.
In one possible design, the positioning device further comprises: the position data processing module is specifically used for:
determining first position data according to the hot spot data, wherein the hot spot data comprises a device identification code of the terminal and hot spot device data;
determining second position data according to the call ticket data, wherein the call ticket data comprises a user identification code, a device identification code of the terminal and base station data;
And generating the position database according to the first position data and the second position data.
In one possible design, the location database is a database generated according to the hotspot data, the ticket data, and application data, where the application data is recorded data of the terminal running the application.
In one possible design, the location data processing module is specifically configured to:
determining third location data according to the application program data, wherein the application program data comprises the user identification code and user behavior data;
and generating the position database according to the first position data, the second position data and the third position data.
In one possible design, the location database includes: user identification code, time information and location data.
In one possible design, the location database includes a historical database and/or a real-time database;
the history database is used for storing the user identification code, time information and position data of the terminal at each time point;
the real-time database is used for storing the user identification code, the time information and the position data of the terminal at the latest time point.
In one possible design, the location data determining module is specifically configured to:
determining track data of the user to be positioned in a preset period according to the user identification code of the user to be positioned and the position database; and/or the number of the groups of groups,
and determining the current position data of the user to be positioned according to the user identification code of the user to be positioned and the position database.
In one possible design, the data processing is performed in a preset secure network to generate the location database.
In one possible design, the positioning device further comprises:
the safety equipment determining module is used for determining equipment for transmitting data to the safety network as safety equipment;
and the position data receiving module is used for receiving the encrypted data sent by the equipment, and the equipment is used for storing the position data.
In one possible design, the positioning device further comprises:
and the position data decryption module is used for decrypting the received encrypted data.
In a third aspect, the present application further provides an electronic device, including:
a processor; and
a memory for storing a computer program of the processor;
wherein the processor is configured to implement any one of the possible methods of the first aspect by executing the computer program.
In a fourth aspect, the invention also provides a non-transitory computer readable storage medium having stored thereon computer instructions, the computer program implementing any one of the possible methods of the first aspect when executed by a processor.
One embodiment of the above application has the following advantages or benefits: the mapping relation between the user identification code and the position data is established by fusing the hot spot data and the call ticket data to generate a position database, so that when a user to be positioned is positioned, the position data of the user to be positioned can be obtained from the position database through the user identification code, the fusion of multi-source position data is realized, the source of the position data is increased, and the positioning precision is improved.
Other effects of the above alternative will be described below in connection with specific embodiments.
Drawings
The drawings are for better understanding of the present solution and do not constitute a limitation of the present application. Wherein:
fig. 1 is an application scenario schematic diagram of a positioning method provided in an embodiment of the present application;
FIG. 2 is a flow chart of a positioning method according to a first embodiment of the present application;
FIG. 3 is a schematic view of a location database construction method according to a second embodiment of the present application;
FIG. 4 is a schematic diagram of a location database generation flow in the embodiment of FIG. 3;
FIG. 5 is a flow chart of a method of building a location database in the embodiment of FIG. 3;
FIG. 6 is a schematic view of a method for constructing a location database according to a third embodiment of the present application;
FIG. 7 is a schematic diagram of a location database generation flow in the embodiment of FIG. 6;
FIG. 8 is a flow chart of a method of building a location database in the embodiment of FIG. 6;
fig. 9 is a schematic structural view of a positioning device according to a fourth embodiment of the present application;
fig. 10 is a schematic structural view of a positioning device according to a fifth embodiment of the present application;
fig. 11 is a schematic structural view of a positioning device according to a sixth embodiment of the present application;
fig. 12 is a schematic structural view of a positioning device according to a seventh embodiment of the present application;
fig. 13 is a block diagram of an electronic device for implementing a positioning method of an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the prior art, it is generally adopted to perform positioning tracking on a terminal with a specific attribute and a user corresponding to the terminal through operator data. The operator data provided for positioning generally includes ticket data and base station information data, but positioning information determined by the ticket data and the base station information data is generally only location information of the base station, and obviously, a determined location of the base station and an actual location of a user to be positioned still generally have a large displacement, so that accurate positioning cannot be achieved.
Or, the operator data can be used for carrying out triangular positioning, so that the positioning of the user to be positioned is realized, and the positioning mode has the advantages of accurate positioning, complex algorithm and large calculation amount, and is not suitable for carrying out position tracking on a large number of users to be positioned (for example, in a public security system, daily position tracking is carried out on a large number of suspects).
Aiming at the problems, the embodiment of the invention provides a positioning method, which can establish a mapping relation between a user identification code and position data by fusing hot spot data and call ticket data to generate a position database, so that when a user to be positioned is positioned, the position data of the user to be positioned can be obtained from the position database through the user identification code, the fusion of multi-source position data is realized, and the positioning precision can be improved while the source of the position data is increased. The positioning method is described in detail below in terms of several specific implementations.
Fig. 1 is an application scenario schematic diagram of a positioning method provided in an embodiment of the present application. As shown in fig. 1, the positioning method provided in this embodiment may be applied to the field of security protection, for example, positioning related suspects in a public security system or a national security system. The location database for positioning can be arranged in a server with safety guarantee, so that privacy of a user is protected.
When a person (e.g., law enforcement officer) having authority to inquire needs to acquire the position data of the case suspects, the position data can be acquired from the security server 100 through the inquiry terminal 200 (e.g., public security system computer, public security system information inquiry tablet and law enforcement officer security smart phone). For convenience of explanation, in the following embodiments, a scenario in which a law enforcement officer performs position location of a suspect is exemplified.
It should be noted that, when a law enforcement officer performs a location data query on a suspected person, the location data corresponding to the suspected person may be obtained from a location database in the security server 100 by inputting a user identification code (for example, a mobile phone number of a user to be located) of the suspected person.
Fig. 2 is a flow chart of a positioning method according to a first embodiment of the present application. As shown in fig. 2, the positioning method provided in this embodiment includes:
s101, acquiring a positioning request.
Specifically, when the relevant user to be positioned needs to be positioned, a law enforcement officer initiates a positioning request in the inquiry terminal, which can be the mobile phone number of the suspect. When a law enforcement officer inquires, the mobile phone number of a single suspect can be input, so that a specific suspect can be positioned and tracked, or the mobile phone numbers of a plurality of suspects can be input, so that batch suspects can be positioned and tracked.
In addition, after the law enforcement personnel initiates the positioning request, the law enforcement personnel can respond to each positioning request to perform position data feedback, or can perform position data feedback at regular time (for example, every preset time period) or according to other preset feedback rules (for example, the position moves).
S102, determining the position data of the user to be positioned according to the user identification code of the user to be positioned and the position database.
After the security server receives the positioning request of the law enforcement personnel, the position data of the user to be positioned is determined from the position database stored in the security server according to the user identification code of the user to be positioned. The location database is a database generated according to the hot spot data and the ticket data.
Specifically, the hot spot data is communication record data between the terminal and the hot spot device, and the ticket data is communication record data between the terminal and the base station. The terminal is a terminal of a user to be positioned, for example, a smart phone.
For the above hotspot data, a device identification code of the terminal and the hotspot device data are typically included. It should be understood that each public hotspot device needs to register at the time of setup, where the information for registering includes relevant data of the hotspot device (e.g., a device identifier of the hotspot device and location information set by the hotspot device). After the user's terminal connects to the hotspot device, a device identification code (e.g., IMSI) of the connected terminal is also stored.
However, since the hotspot data does not relate to the user identification code of the user, only the device identification code of the terminal that is connected can be acquired. Therefore, in the field of security, real-name registration is generally performed by binding a user identification code with a user identity, but when purchasing a terminal, binding between the terminal and the user identity is not performed. For example, if the third party needs to transact a mobile phone card, the binding between the mobile phone number and the identity information of the third party needs to be performed in a business hall, and when the third party purchases a mobile phone, the binding between the identity information of the third party and the mobile phone is not needed, and after the mobile phone is purchased, the third party can use the mobile phone for anyone. Therefore, the device identification code included in the hotspot data can only locate a specific device, but cannot locate a specific user to be located, such as a specific suspect.
For the call ticket data, the recorded data is call record data of the user to be located, wherein the call record data generally comprises a user identification code, a device identification code of the terminal and base station data. For example, when a user makes a call by using a mobile phone, an operator records the mobile phone number, the MISI of the user, the code of the base station for communication, and the time and duration of making the call in the call ticket data. However, the positioning information determined by the base station code in the ticket data is usually only the position information of the base station, and obviously, the determined position of the base station and the actual position of the user to be positioned still have large displacement, so that accurate positioning cannot be realized.
Therefore, in this embodiment, the above-mentioned hot spot data and call ticket data are subjected to data fusion to obtain a location database capable of acquiring location data according to the user identification code. Specifically, a relationship between the two data is established through the device identification code in the hot spot data and the device identification code in the ticket data, so that the hot spot data and the ticket data are integrated according to a preset data format, for example, the data can be integrated according to the formats of the user identification code, the time information and the position data.
In this embodiment, the mapping relationship between the user identification code and the location data is established by fusing the hot spot data and the call ticket data, so as to generate a location database, so that when the user to be located is located, the location data of the user to be located can be obtained from the location database through the user identification code of the user to be located, so as to realize fusion of multi-source location data, and increase the location data source and the location precision.
Fig. 3 is a schematic view of a scenario of a method for constructing a location database in the second embodiment of the present application, and fig. 4 is a schematic view of a flow for generating a location database in the embodiment shown in fig. 3. As shown in fig. 3-4, a location database may be provided in the security server 100, and may further include a history database 101 and a real-time database 102. Alternatively, the history database 101 may be an ES database (ES), and the real-time database 102 may be a K-V database (Key-Value, K-V). The history database is used for storing the user identification code, the time information and the position data of each time point, and the real-time database is used for storing the user identification code, the time information and the position data of the terminal at the latest time point.
And the hotspot data server 300 may be connected to a plurality of hotspot devices 310, so as to obtain the hotspot data uploaded by each hotspot device 310.
Accordingly, the call ticket data server 600 may be connected to the plurality of base station apparatuses 410 for acquiring call ticket data uploaded by each base station apparatus 410, wherein the call ticket data server 600 may be a server of each operator.
It should be noted that, the hotspot data server 300 and the ticket data server 600 generally have a certain security protection, after the data in the hotspot data server and the ticket data server are obtained, the hotspot data server and the ticket data server may respectively process the data in respective databases and finally transmit the processed data to a security network for data fusion, where the security network may be an isolated intranet of a public security system.
FIG. 5 is a flow chart of a method of constructing a location database in the embodiment shown in FIG. 3. As shown in fig. 5, the location database construction step based on the positioning method provided in this embodiment includes:
s201, determining first position data according to the hot spot data.
Specifically, first location data is determined according to the hotspot data, wherein the hotspot data comprises a device identification code of a terminal and hotspot device data, and the hotspot device data comprises a device identification code of a hotspot device, location information set by the hotspot device and time information of connecting the terminal to the hotspot device. It is to be understood that the first location data includes a mapping relationship between a device identifier of the terminal and location information set by the hotspot device and time information for connecting the hotspot device.
To specifically explain the determination of the first position data, a specific data of the first position data in the pair is exemplified below in conjunction with a specific example:
the device identifier of the terminal may be IMSI (e.g. 284011234567890), and the terminal connects with the hotspot device of the device identifier (e.g. 123456 ABC) at 2019, 08, 01, 13:00pm, and the address of the record is XX degrees east longitude, XX degrees north latitude, or XX starbucks in XX area according to record information preset by the hotspot device. At this time, the generated data may be, for example:
month 08 and 01 of 2019, 13:00pm,28401123456789, XX degrees east longitude and XX degrees north latitude.
The position is the position of the hot spot equipment actually connected with the user to be positioned, and the user to be positioned can be accurately positioned through the position data.
S202, determining second position data according to call ticket data.
Specifically, the second position data is determined according to the call ticket data, wherein the call ticket data comprises a user identification code, a device identification code of a terminal and base station data, the base station data comprises a base station number, and the position of the base station number can be obtained through the base station number and a base station position comparison table preset by an operator. It is understood that the second location data includes a mapping relationship among a user identification code of the terminal, a device identification code of the terminal, time information of connecting the base station, and location information of the base station.
To specifically explain the determination of the second position data, a specific data of the second position data is exemplified below in conjunction with a specific example:
the user identification code of the terminal may be a mobile phone number (for example: 139568 XXXXX), the device identification code of the terminal may be an IMSI (for example: 284011234567890), and the terminal is in communication connection with a base station of a base station number (for example: 95621 ABC) in 2019, 08, 01, 14:00pm, and the location of the base station number may be obtained according to a base station location comparison table preset by the operator to be the degrees YY of east longitude and YY of north latitude. At this time, the generated data may be, for example:
month 08 and 01 of 2019, 14:00pm,139568XXXXX,28401123456789, east longitude YY degree, north latitude YY degree.
S203, generating a position database according to the first position data and the second position data.
Specifically, since the first location data and the second location data both include the device identifier (for example, 284011234567890), the first location data and the second location data may be fused by the device identifier to generate a location database having a mapping relationship between the user identifier and the location data.
According to the above example, the location database may comprise: the user identification code, time information and location data may be, for example:
08 in 2019, 01 in 13:00pm, 139568XXXXXXX, east longitude XX degrees, north latitude XX degrees;
month 08 and 01 of 2019, 14:00pm,139568XXXXX, east longitude YY degrees, north latitude YY degrees.
It should be noted that the foregoing description of the data in the database is only one possible implementation manner of fusing the hotspot data and the call ticket data in the present embodiment, and the specific fusing manner of the hotspot data and the call ticket data is not specifically limited in the present embodiment.
Fig. 6 is a schematic view of a scenario of a location database construction method according to a third embodiment of the present application, and fig. 7 is a schematic view of a location database generation flow in the embodiment shown in fig. 6, based on the location database construction steps shown in fig. 3 to 5. As shown in fig. 6 to 7, in addition to fusing the hotspot data and the call ticket data, internet data may be accessed in order to further increase the data source of the location data. The specific may be position data generated when various application programs 510 run on the terminal, for example: weChat, QQ, payoff treasures, and location data for points in various games. Also, the application data may be stored in the application server 500 of each vendor. And for different application programs of each manufacturer, data fusion can be performed inside the manufacturer, and encryption and desensitization processing can also be performed, so that secret leakage is prevented.
In addition, because internet data is messy and has low reliability, small login and non-login behaviors often exist in the internet data, and in addition, because the behaviors of the internet data are distributed in different application programs, real and rich position information is difficult to acquire from the internet data. On the other hand, the operator data and the hotspot data are usually in a secret isolated network, and are not communicated with the internet. In order to guarantee the security of data, data fusion must be performed in a secure network. Therefore, before the data of the application database is transmitted to the secure network, the data is processed and transmitted to the secure network through a preset job scheduling mode and a data transmission way. It should be noted that the preset job scheduling manner and data transmission may be determined according to the communication requirement of the security server 100, for example, may be a security communication protocol preset by the security server 100 of the public security system. Specifically, the application data can be safely transmitted to the front-end network of the isolation network, and before the application data is transmitted to the front-end network and enters the target isolation network, the data is in an encrypted state, so that the risk of data leakage is avoided.
In addition, an isolation network domain can be configured in the pre-network, so that all unauthorized connections are stopped. Specifically, before data processing in a preset secure network, whether a device transmitting data to the secure network is a secure device is determined, and only after the device is determined to be the secure device, encrypted data sent by the device is received.
Then, after receiving the data, the received encrypted data is decrypted in the secure network.
FIG. 8 is a flow chart of a method of building a location database in the embodiment of FIG. 6;
as shown in fig. 8, the location database construction step based on the positioning method provided in this embodiment includes:
s301, determining first position data according to the hot spot data.
S302, determining second position data according to call ticket data.
It should be noted that, the implementation manner of S301 to S302 in this embodiment is similar to that of S201 to S202 in the embodiment shown in fig. 5, and will not be described in detail in this embodiment.
S303, determining third position data according to the application program data.
Specifically, the third location data is determined according to application program data, wherein the application program data is record data of a terminal running application program, the application program data comprises a user identification code and user behavior data, and the user behavior data comprises user location data and time information generated by the user location data.
To specifically explain the determination of the second position data, a specific data of the third position data is exemplified below in conjunction with a specific example:
the user identification code of the terminal may be a mobile phone number (e.g., 139568 XXXXX), and the terminal makes a payment by the payment means at 15:00pm at 08/01/2019 at the location of the east longitude ZZ degree, north latitude ZZ degree. At this time, the generated data may be, for example:
month 08 and 01 of 2019 15:00pm,139568XXXXX, east longitude ZZ degree, north latitude ZZ degree.
S304, generating a position database according to the first position data, the second position data and the third position data.
Specifically, a location database is generated from the first location data, the second location data, and the third location data. According to the above example, the location database may comprise: the user identification code, time information and location data may be, for example:
08 in 2019, 01 in 13:00pm, 139568XXXXXXX, east longitude XX degrees, north latitude XX degrees;
08 in 2019, 01 in 14:00pm,139568XXXXX, east longitude YY degrees, north latitude YY degrees;
month 08 and 01 of 2019 15:00pm,139568XXXXX, east longitude ZZ degree, north latitude ZZ degree.
On the basis of the above embodiment, in order to meet different application requirements, different types of location data may be generated for the user to be located, for example, current location data with real-time update characteristics, or trajectory data that characterizes the trajectory characteristics within a preset period of time may be generated.
The track data of the user to be positioned in the preset period can be determined according to the user identification code of the user to be positioned and the position database, and it is worth explaining that the track data can be generated according to the user identification code of the user to be positioned and the position data stored in the history database. The history database may be an ES database, which has a characteristic of large storage capacity, and is advantageous for storing a large amount of location data.
In addition, the current position data of the user to be positioned can be determined according to the user identification code of the user to be positioned and the real-time database. The real-time database can be a K-V database, and the K-V database has the characteristics of high running speed and real-time updating, is favorable for updating and iterating the real-time position data, and ensures the real-time performance of the data.
Fig. 9 is a schematic structural view of a positioning device according to a fourth embodiment of the present application. As shown in fig. 9, the positioning device 400 provided in this embodiment includes:
a positioning request obtaining module 401, configured to obtain a positioning request, where the positioning request includes a user identification code of a user to be positioned;
the location data determining module 402 is configured to determine location data of the user to be located according to the user identifier of the user to be located and a location database, where the location database is a database generated according to hot spot data and ticket data, the hot spot data is communication record data between a terminal and a hot spot device, and the ticket data is communication record data between the terminal and a base station.
Fig. 10 is a schematic structural view of a positioning device according to a fifth embodiment of the present application, based on the embodiment shown in fig. 9. As shown in fig. 10, the positioning device 400 provided in this embodiment further includes:
the location data processing module 403 is specifically configured to:
determining first position data according to the hot spot data, wherein the hot spot data comprises a device identification code of the terminal and hot spot device data;
determining second position data according to the call ticket data, wherein the call ticket data comprises a user identification code, a device identification code of the terminal and base station data;
and generating the position database according to the first position data and the second position data.
In one possible design, the location database is a database generated according to the hotspot data, the ticket data, and application data, where the application data is recorded data of the terminal running the application.
In one possible design, the location data processing module 403 is specifically configured to:
determining third location data according to the application program data, wherein the application program data comprises the user identification code and user behavior data;
And generating the position database according to the first position data, the second position data and the third position data.
In one possible design, the location database includes: user identification code, time information and location data.
In one possible design, the location database includes a historical database and/or a real-time database;
the history database is used for storing the user identification code, time information and position data of the terminal at each time point;
the real-time database is used for storing the user identification code, the time information and the position data of the terminal at the latest time point.
In one possible design, the location data determination module 402 is specifically configured to:
determining track data of the user to be positioned in a preset period according to the user identification code of the user to be positioned and the position database; and/or the number of the groups of groups,
and determining the current position data of the user to be positioned according to the user identification code of the user to be positioned and the position database.
In one possible design, the data processing is performed in a preset secure network to generate the location database.
Fig. 11 is a schematic structural view of a positioning device according to a sixth embodiment of the present application, based on the embodiment shown in fig. 10. As shown in fig. 11, the positioning device provided in this embodiment further includes:
a secure device determining module 405, configured to determine that a device transmitting data to the secure network is a secure device;
the location data receiving module 404 is configured to receive encrypted data sent by the device, where the device is configured to store the location data.
Fig. 12 is a schematic structural view of a positioning device according to a seventh embodiment of the present application, based on the embodiment shown in fig. 11. As shown in fig. 12, the positioning device further includes:
the location data decryption module 406 is configured to decrypt the received encrypted data.
It should be noted that, the positioning device provided in the embodiments shown in fig. 9 to 12 may be used to perform the method provided in any of the foregoing embodiments, and the specific implementation manner and technical effects are similar, and are not repeated here.
According to embodiments of the present application, an electronic device and a readable storage medium are also provided.
Fig. 13 is a block diagram of an electronic device for implementing a positioning method of an embodiment of the present application. As shown in FIG. 13, the electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the application described and/or claimed herein.
As shown in fig. 13, the electronic device includes: one or more processors 501, memory 502, and interfaces for connecting components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 501 is illustrated in fig. 13.
Memory 502 is a non-transitory computer readable storage medium provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the positioning method provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the positioning method provided by the present application.
The memory 502 is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the positioning method in the embodiments of the present application (e.g., the positioning request acquisition module 401, the position data determination module 402, the position data processing module 403, the position data receiving module 404, the security device determination module 405, and the position data decryption module 406 shown in fig. 12). The processor 501 executes various functional applications of the server and data processing, i.e. implements the positioning method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 502.
Memory 502 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created by use of the electronic device provided according to the embodiment of the present application, and the like. In addition, memory 502 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 502 may optionally include memory located remotely from processor 501, which may be connected to the electronic devices provided in embodiments of the present application via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device provided in the embodiment of the application may further include: an input device 503 and an output device 504. The processor 501, memory 502, input devices 503 and output devices 504 may be connected by a bus or otherwise, for example in fig. 13.
The input device 503 may receive input numeric or character information and generate key signal inputs related to providing user settings and function control of the electronic device according to embodiments of the present application, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer stick, one or more mouse buttons, a track ball, a joystick, and the like. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the mapping relation between the user identification code and the position data is established by fusing the hot spot data and the call ticket data so as to generate the position database, so that when the user to be positioned is positioned, the position data of the user to be positioned can be obtained from the position database through the user identification code, the fusion of multi-source position data is realized, the source of the position data is increased, and the positioning precision is improved.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions disclosed in the present application can be achieved, and are not limited herein.
The above embodiments do not limit the scope of the application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (9)

1. A positioning method, comprising:
acquiring a positioning request, wherein the positioning request comprises a user identification code of a user to be positioned;
determining the position data of the user to be positioned according to the user identification code of the user to be positioned and a position database, wherein the position database is a database generated according to hot spot data, ticket data and application program data, the hot spot data is communication record data between a terminal and the hot spot equipment, which are acquired from hot spot equipment, the ticket data is communication record data between the terminal and a base station, which are acquired from a base station, and the application program data is record data of the terminal running the application program;
The location database comprises: a user identification code and position data corresponding to the user identification code;
the hot spot data comprise a device identification code of the terminal and position data of the hot spot device;
the call ticket data comprises the user identification code, the equipment identification code of the terminal and the number of the base station, wherein the number of the base station is used for determining the position data of the base station;
the application program data comprises the user identification code and user behavior data, and the user behavior data comprises user position data;
the ticket data and the hot spot data are in an isolated network, the application program data are in the Internet, and the isolated network is not communicated with the Internet;
before determining the location data of the user to be located according to the user identification code and the location database, the method further comprises:
and fusing the ticket data, the hot spot data and the application program data in a preset secure network to generate the position database.
2. The positioning method of claim 1, wherein the location database further comprises: time information.
3. Positioning method according to claim 2, wherein the location database comprises a history database and/or a real-time database;
the history database is used for storing the user identification code, time information and position data of the terminal at each time point;
the real-time database is used for storing the user identification code, the time information and the position data of the terminal at the latest time point.
4. A positioning method according to claim 3, wherein said determining the location data of the user to be positioned based on the user identification code of the user to be positioned and a location database comprises:
determining track data of the user to be positioned in a preset period according to the user identification code of the user to be positioned and the position database; and/or the number of the groups of groups,
and determining the current position data of the user to be positioned according to the user identification code of the user to be positioned and the position database.
5. The positioning method according to claim 1, further comprising, before said processing of data in the preset secure network:
determining that the device transmitting data to the secure network is a secure device;
And receiving the encrypted data sent by the equipment, wherein the equipment is used for storing the position data.
6. The positioning method according to claim 5, further comprising, after said receiving the encrypted data transmitted by the device:
and decrypting the received encrypted data.
7. A positioning device, comprising:
the positioning request acquisition module is used for acquiring a positioning request, wherein the positioning request comprises a user identification code of a user to be positioned;
the location data determining module is used for determining location data of the user to be located according to the user identification code of the user to be located and a location database, wherein the location database is a database generated according to hot spot data, ticket data and application program data, the hot spot data is communication record data between a terminal and the hot spot equipment, the communication record data are acquired from a base station, the ticket data are communication record data between the terminal and the base station, and the application program data are record data of the terminal running the application program;
the location database comprises: a user identification code and position data corresponding to the user identification code;
The hot spot data comprise a device identification code of the terminal and position data of the hot spot device;
the call ticket data comprises the user identification code, the equipment identification code of the terminal and the number of the base station, wherein the number of the base station is used for determining the position data of the base station;
the application program data comprises the user identification code and user behavior data, and the user behavior data comprises user position data;
the ticket data and the hot spot data are in an isolated network, the application program data are in the Internet, and the isolated network is not communicated with the Internet;
the location data determining module is further configured to, before determining the location data of the user to be located according to the user identification code and the location database, fuse the ticket data, the hotspot data, and the application data in a preset secure network, so as to generate the location database.
8. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
9. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN201910836568.XA 2019-09-05 2019-09-05 Positioning method, positioning device, electronic equipment and storage medium Active CN110519755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910836568.XA CN110519755B (en) 2019-09-05 2019-09-05 Positioning method, positioning device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910836568.XA CN110519755B (en) 2019-09-05 2019-09-05 Positioning method, positioning device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110519755A CN110519755A (en) 2019-11-29
CN110519755B true CN110519755B (en) 2023-08-08

Family

ID=68631273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910836568.XA Active CN110519755B (en) 2019-09-05 2019-09-05 Positioning method, positioning device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110519755B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083693A (en) * 2019-12-12 2020-04-28 泰斗微电子科技有限公司 Positioning data processing method, positioning terminal and positioning server
CN112784161B (en) * 2021-01-29 2022-12-09 北京三快在线科技有限公司 Information processing method, device, medium and electronic device
CN117640261A (en) * 2024-01-26 2024-03-01 宁德时代新能源科技股份有限公司 Data transmission method, data transfer device, data management equipment and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186963A (en) * 2011-12-28 2013-07-03 泰瑞数创科技(北京)有限公司 Electronic fence based on real-time geographic position
CN105142215A (en) * 2015-08-07 2015-12-09 成都亚讯星科实业有限公司 Method for locating and calculating multi-dimensional user position
CN105407156A (en) * 2015-11-23 2016-03-16 北京百度网讯科技有限公司 Method and device for positioning through client
CN106131767A (en) * 2016-06-28 2016-11-16 河南航飞光电科技有限公司 A kind of combination WiFi and the mobile phone positioning method of bluetooth
CN106792527A (en) * 2016-12-19 2017-05-31 腾云天宇科技(北京)有限公司 A kind of position data processing method, device and computing device
CN106899930A (en) * 2015-12-17 2017-06-27 阿里巴巴集团控股有限公司 Finger print data base construction method, localization method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186963A (en) * 2011-12-28 2013-07-03 泰瑞数创科技(北京)有限公司 Electronic fence based on real-time geographic position
CN105142215A (en) * 2015-08-07 2015-12-09 成都亚讯星科实业有限公司 Method for locating and calculating multi-dimensional user position
CN105407156A (en) * 2015-11-23 2016-03-16 北京百度网讯科技有限公司 Method and device for positioning through client
CN106899930A (en) * 2015-12-17 2017-06-27 阿里巴巴集团控股有限公司 Finger print data base construction method, localization method and device
CN106131767A (en) * 2016-06-28 2016-11-16 河南航飞光电科技有限公司 A kind of combination WiFi and the mobile phone positioning method of bluetooth
CN106792527A (en) * 2016-12-19 2017-05-31 腾云天宇科技(北京)有限公司 A kind of position data processing method, device and computing device

Also Published As

Publication number Publication date
CN110519755A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
US11218325B2 (en) Asset management method and apparatus, and electronic device
CN110519755B (en) Positioning method, positioning device, electronic equipment and storage medium
CN111245825B (en) Applet login method, server and electronic device
US11750396B2 (en) Private data processing method, device and medium
US11551224B2 (en) Systems and methods for identifying mobile devices
CN111666578A (en) Data management method and device, electronic equipment and computer readable storage medium
CN105516071A (en) Method for verifying safety of business operation, device, terminal and server
US20180158061A1 (en) Transaction authentication based on metadata
CN111355732B (en) Link detection method and device, electronic equipment and storage medium
CN112671778B (en) Account management method, device, equipment and storage medium for electronic equipment
CN110197075A (en) Resource access method, calculates equipment and storage medium at device
US11281761B2 (en) Method and system for using a plurality of accounts in an instant messaging application
CN111552934A (en) Database access method and device
CN111008325A (en) Data query method, device, electronic equipment and system
CN112487312A (en) Method and device for associating interest points and method and device for determining states of interest points
US10372710B2 (en) Using metadata to take action on an SMS message on a proprietary system
CN105190668A (en) Information delivery system with advertising mechanism and method of operation thereof
CN112565225B (en) Method and device for data transmission, electronic equipment and readable storage medium
CN113132304B (en) Rights and interests service processing method and device, electronic equipment and storage medium
US11741257B2 (en) Systems and methods for obtaining anonymized information derived from data obtained from external data providers
KR20160066661A (en) Method and system for achieving anonymity in location based services
CN112507249A (en) Method and device for generating interest points, electronic equipment and storage medium
CN111767585A (en) Object identification method and device, electronic equipment and storage medium
CN111767221A (en) Interface test method, device, equipment and storage medium
CN111212062B (en) Information completion method and device, storage medium and electronic equipment

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