CN110519755A - Localization method, device, electronic equipment and storage medium - Google Patents

Localization method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110519755A
CN110519755A CN201910836568.XA CN201910836568A CN110519755A CN 110519755 A CN110519755 A CN 110519755A CN 201910836568 A CN201910836568 A CN 201910836568A CN 110519755 A CN110519755 A CN 110519755A
Authority
CN
China
Prior art keywords
data
user
identification code
position data
location database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910836568.XA
Other languages
Chinese (zh)
Other versions
CN110519755B (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

This application discloses localization method, device, electronic equipment and storage mediums, are related to data processing.Specific implementation are as follows: obtain Location Request, in the user identification code that Location Request includes user to be positioned, then, the position data of user to be positioned is determined according to the user identification code of user to be positioned and location database, wherein, location database is according to hot spot data and call bill data database generated.Localization method disclosed in the present application while increasing position data source, can also improve positioning accuracy by merging multi-source position data.

Description

Localization method, device, electronic equipment and storage medium
Technical field
The application design data processing technology field more particularly to a kind of localization method, device, electronic equipment and storage are situated between Matter.
Background technique
In security application field, the prediction of the location tracking and tracks behavior that carried out to special object is all very heavy It wants.
In the prior art, generally used is all corresponding by terminal and terminal of the carrier data to particular community User carry out location tracking.Wherein, the carrier data for being positioned is provided and generally includes call bill data and base station Information data.
However, being generally only the position where base station by location information determined by call bill data and base station information data Confidence breath, it is clear that usually still there is biggish position between identified base station location and the actually located position of user to be positioned It moves, and then cannot achieve accurate positioning.
Summary of the invention
The application provides a kind of localization method, device, electronic equipment and storage medium, to solve currently to utilize operation quotient The technical issues of according to user's position inaccurate to be positioned.
In a first aspect, this application provides a kind of localization methods, comprising:
Location Request is obtained, the Location Request includes the user identification code of user to be positioned;
The position of the user to be positioned is determined according to the user identification code of the user to be positioned and location database Data, wherein the location database is according to hot spot data and call bill data database generated, and the hot spot data is Communication record data between terminal and hotspot device, communications records number of the call bill data between the terminal and base station According to.
In the embodiment of the present application, user identification code and position are established by merging hot spot data with call bill data Set the mapping relations between data, to generate location database, thus when being positioned to user to be positioned, can by The user identification code of positioning user obtains the position data of user to be positioned from location database, to realize multi-source position data Fusion can also improve positioning accuracy while increasing position data source.
In a kind of possible design, the localization method, further includes:
First position data are determined according to the hot spot data, and the hot spot data includes the equipment mark code of the terminal And hotspot device data;
Second position data are determined according to the call bill data, and the call bill data includes user identification code, the terminal Equipment mark code and base station data;
The location database is generated according to the first position data and the second position data.
In the embodiment of the present application, pass through contained device identification jointly in first position data and second position data Code merges first position data and second position data, has mapping between user identification code and position data to generate The location database of relationship.
In a kind of possible design, the location database be according to the hot spot data, the call bill data and Application data database generated, the application data are the record number of application program described in the terminal operating According to.
In a kind of possible design, the localization method, further includes:
The third place data are determined according to the application data, and the application data includes the user identifier Code and user behavior data;
The position is generated according to the first position data, the second position data and the third place data Database.
In the embodiment of the present application, by fusion application program data, so that the data for further increasing position data are come Source, to further increase the accuracy positioned using database generated.
In a kind of possible design, the location database includes: user identification code, temporal information and positional number According to.
In the embodiment of the present application, by way of Uniform data format, the treatment effeciency of multisource data fusion is improved, and And only extract important information and stored, be conducive to the pressure for reducing database.
In a kind of possible design, the location database includes historical data base and/or real-time data base;
The historical data base is used to store terminal described in the user identification code, temporal information and various time points Position data;
The real-time data base is for terminal described in the user identification code of storage, temporal information and nearest time point Position data.
In the embodiment of the present application, using the storage characteristics of disparate databases, guaranteeing that data are deposited using historical data base While the integrality of storage, the real-time using real-time data base guarantee storing data can also be passed through.
In a kind of possible design, it is described determined according to the user identification code and location database it is described to be positioned The position data of user, comprising:
Determine that the user to be positioned exists according to the user identification code of the user to be positioned and the location database Track data in preset period of time;And/or
Determine the user's to be positioned according to the user identification code of the user to be positioned and the location database Current location data.
In the embodiment of the present application, different types of position data can be generated according to different location requirements, it is fixed to improve Position data it is rich.
In a kind of possible design, it is described determined according to the user identification code and location database it is described undetermined Before the position data of position user, further includes:
Data processing is carried out, in preset secure network to generate the location database.
In a kind of possible design, it is described in preset secure network carry out data processing before, further includes:
Determine that the equipment of the secure network transmission data be safety equipment;
The encryption data that the equipment is sent is received, the equipment is used for storage location data.
In a kind of possible design, after the encryption data for receiving the equipment transmission, further includes:
Received encryption data is decrypted.
Second aspect, the application also provide a kind of positioning device, comprising:
Location Request obtains module, and for obtaining Location Request, the Location Request includes user's mark of user to be positioned Know code;
Position data determining module, for being determined according to the user identification code and location database of the user to be positioned The position data of the user to be positioned, wherein the location database is generated with call bill data according to hot spot data Database, communication record data of the hot spot data between terminal and hotspot device, the call bill data are the terminal Communication record data between base station.
In a kind of possible design, the positioning device, further includes: position data processing module is specifically used for:
First position data are determined according to the hot spot data, and the hot spot data includes the equipment mark code of the terminal And hotspot device data;
Second position data are determined according to the call bill data, and the call bill data includes user identification code, the terminal Equipment mark code and base station data;
The location database is generated according to the first position data and the second position data.
In a kind of possible design, the location database be according to the hot spot data, the call bill data and Application data database generated, the application data are the record number of application program described in the terminal operating According to.
In a kind of possible design, the position data processing module is specifically used for:
The third place data are determined according to the application data, and the application data includes the user identifier Code and user behavior data;
The position is generated according to the first position data, the second position data and the third place data Database.
In a kind of possible design, the location database includes: user identification code, temporal information and positional number According to.
In a kind of possible design, the location database includes historical data base and/or real-time data base;
The historical data base is used to store terminal described in the user identification code, temporal information and various time points Position data;
The real-time data base is for terminal described in the user identification code of storage, temporal information and nearest time point Position data.
In a kind of possible design, the position data determining module is specifically used for:
Determine that the user to be positioned exists according to the user identification code of the user to be positioned and the location database Track data in preset period of time;And/or
Determine the user's to be positioned according to the user identification code of the user to be positioned and the location database Current location data.
In a kind of possible design, data processing is carried out in preset secure network, to generate the position data Library.
In a kind of possible design, the positioning device, further includes:
Safety equipment determining module, for determining that the equipment of the secure network transmission data be safety equipment;
Position data receiving module, the encryption data sent for receiving the equipment, the equipment are used for storage location Data.
In a kind of possible design, the positioning device, further includes:
Position data deciphering module, for received encryption data to be decrypted.
The third aspect, the application also provide a kind of electronic equipment, comprising:
Processor;And
Memory, for storing the computer program of the processor;
Wherein, the processor is configured to realizing any one in first aspect by executing the computer program Possible method.
Fourth aspect, the present invention also provides a kind of non-transitory computer-readable storage medium for being stored with computer instruction, It is stored thereon with computer program, realizes that any one in first aspect is possible when the computer program is executed by processor Method.
One embodiment in above-mentioned application has the following advantages that or the utility model has the advantages that by by hot spot data and call bill data It is merged to establish the mapping relations between user identification code and position data, to generate location database, thus treating When positioning user positions, the position data of user to be positioned can be obtained from location database by user identification code, To realize the fusion of multi-source position data, while increasing position data source, positioning accuracy can also be improved.
Other effects possessed by above-mentioned optional way are illustrated hereinafter in conjunction with specific embodiment.
Detailed description of the invention
Attached drawing does not constitute the restriction to the application for more fully understanding this programme.Wherein:
Fig. 1 is the application scenarios schematic diagram of localization method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the localization method shown in the application first embodiment;
Fig. 3 is the schematic diagram of a scenario of position data base construction method in the application second embodiment;
Fig. 4 is location database product process schematic diagram in embodiment illustrated in fig. 3;
Fig. 5 is the flow diagram of position data base construction method in embodiment illustrated in fig. 3;
Fig. 6 is the schematic diagram of a scenario of position data base construction method in the application 3rd embodiment;
Fig. 7 is location database product process schematic diagram in embodiment illustrated in fig. 6;
Fig. 8 is the flow diagram of position data base construction method in embodiment illustrated in fig. 6;
Fig. 9 is the structural schematic diagram according to the positioning device shown in the application fourth embodiment;
Figure 10 is the structural schematic diagram for implementing the positioning device exemplified according to the application the 5th;
Figure 11 is the structural schematic diagram according to the positioning device shown in the application sixth embodiment;
Figure 12 is the structural schematic diagram for implementing the positioning device exemplified according to the application the 7th;
Figure 13 is the block diagram for the electronic equipment for realizing the localization method of the embodiment of the present application.
Specific embodiment
It explains below in conjunction with exemplary embodiment of the attached drawing to the application, including the various of the embodiment of the present application Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from the scope and spirit of the present application.Together Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
It in the prior art, is all the terminal and terminal pair by carrier data to particular community used by universal The user answered carries out location tracking.Wherein, the carrier data for being positioned is provided and generally includes call bill data and base Information data of standing is generally only still base station place by location information determined by call bill data and base station information data Location information, it is clear that between identified base station location and the actually located position of user to be positioned usually still have it is larger Displacement, and then cannot achieve accurate positioning.
Or user to be positioned can also be determined to realize by carrying out triangulation location using carrier data Position, although this positioning method accurate positioning, algorithm is complicated, computationally intensive, is not suitable for large batch of user to be positioned Progress location tracking (such as: in public security system, daily location tracking is carried out for a fairly large number of suspect).
For above-mentioned each problem, the embodiment of the present invention provides a kind of localization method, can be by by hot spot number The mapping relations between user identification code and position data are established according to being merged with call bill data, to generate position data Library, so that use to be positioned can be obtained from location database by user identification code when positioning to user to be positioned The position data at family while increasing position data source, can also improve positioning to realize the fusion of multi-source position data Precision.The localization method is described in detail below by several specific implementations.
Fig. 1 is the application scenarios schematic diagram of localization method provided by the embodiments of the present application.As shown in Figure 1, the present embodiment mentions The localization method of confession can be applied to field of security guarantee, for example, for related suspect in public security system or Guoan's system Positioning.Wherein, the location database for being positioned can be set in the server with safety guarantee, thus to The privacy at family is protected.
When the related personnel (such as: law enfrocement official) inquired with permission needs to obtain the position data of case suspect When, can by inquiry terminal 200 (such as: public security system computer, public security system information are inquired plate and law enfrocement official and are pacified Full smart phone) acquisition of progress position data from security server 100.It is illustrated for convenience, in following embodiments, It is illustrated with the scene that law enfrocement official carries out the positioning of suspect position.
It is worth explanation, when law enfrocement official carries out position data inquiry to suspect, can be by inputting suspect User identification code (such as: the phone number of user to be positioned), then according to identification code from the position in security server 100 The corresponding position data of suspect is obtained in database.
Fig. 2 is the flow diagram of the localization method shown in the application first embodiment.As shown in Fig. 2, the present embodiment mentions The localization method of confession, comprising:
S101, Location Request is obtained.
Specifically, law enfrocement official initiates in inquiry terminal when needing to carry out position positioning to related user to be positioned Location Request can be the phone number of input suspect.Wherein, it is single to can be input when inquiring by law enfrocement official The phone number of suspect is also possible to input the hand of multiple suspects to carry out locating and tracking to some specific suspect Machine number, so that the suspect to batch carries out locating and tracking.
In addition, can be after law enfrocement official initiates Location Request and carry out position data in response to each Location Request Feedback, be also possible to timing (such as: every preset duration) or according to other preset Feedback Rules (such as: position occurs It is mobile) carry out position data feedback.
S102, the positional number that user to be positioned is determined according to the user identification code and location database of user to be positioned According to.
After security server receives the Location Request of law enfrocement official, according to the user identification code of user to be positioned from It is stored in the position data that user to be positioned is determined in the location database of security server.Wherein, above-mentioned location database For according to hot spot data and call bill data database generated.
Specifically, communication record data of the hot spot data between terminal and hotspot device, call bill data is terminal and base Communication record data between standing.It is worth explanation, terminal is the terminal of user to be positioned, for example, smart phone.
For above-mentioned hot spot data, the equipment mark code and hotspot device data of terminal are generally included.It is understood that, Each public hot spot equipment is required to put on record when setting up, wherein the information put on record includes the hotspot device Related data (such as: the equipment mark code of hotspot device, location information set by hotspot device).And in the terminal of user After being attached with the hotspot device, will also save connected terminal equipment mark code (such as: IMSI).
But since hot spot data is not related to the user identification code of user, it is merely able to get the terminal being attached Equipment mark code.Therefore, and in field of security guarantee, usually carry out real name registration is all by user identification code and user identity It is bound, and when buying terminal, and without the binding between terminal and user identity.For example, Zhang San needs to handle hand Machine card then needs to carry out the binding between phone number and its identity information in business hall, and Zhang San is when buying mobile phone, not Need to bind its identity information with mobile phone, after buying mobile phone, can by the mobile phone to anyone carry out using. Therefore, equipment mark code included in hot spot data can only position specific equipment, and can not be to specific to be positioned User, such as specific suspect position.
And for above-mentioned call bill data, recorded data is then the message registration data of user to be positioned, wherein usually It include the equipment mark code and base station data of user identification code, terminal.For example, user is made a phone call using mobile phone When, operator by the phone number of user, MISI, the base coded communicated and will make a phone call the time and duration is equal It is recorded in call bill data.It but is generally only base station institute by location information determined by the base coded in call bill data Location information, it is clear that between identified base station location and the actually located position of user to be positioned usually still have compared with Big displacement, and then cannot achieve accurate positioning.
Therefore, in the present embodiment by the way that above-mentioned hot spot data and call bill data are carried out data fusion with obtain can be with Obtain according to user identification code the location database of position data.Specifically, can be through the equipment in hot spot data Equipment mark code in identification code and call bill data establishes the relationship of two kinds of data, and then merges hot spot data and ticket number Data Integration is carried out according to according to preset data form, for example, can be according to user identification code, temporal information and position data Format is merged.
In the present embodiment, user identification code and positional number are established by merging hot spot data with call bill data Mapping relations between, to generate location database, thus when being positioned to user to be positioned, it can be by be positioned The user identification code of user obtains the position data of user to be positioned from location database, to realize melting for multi-source position data It closes, while increasing position data source, positioning accuracy can also be improved.
Fig. 3 is the schematic diagram of a scenario of position data base construction method in the application second embodiment, and Fig. 4 is real shown in Fig. 3 Apply location database product process schematic diagram in example.As Figure 3-Figure 4,100 in security server in positional number can be set According to library, also, location database can also include historical data base 101 and real-time data base 102.Optionally, historical data base 101 can be ES database (Elastic Search, abbreviation ES), and real-time data base 102 then can be K-V database (Key-Value, abbreviation K-V).Wherein, historical data base is for storing user identification code, temporal information and various time points Position data, and real-time data base for storage user identification code, temporal information and nearest time point terminal position Data.
And hot spot data server 300 can be connect with multiple hotspot devices 310, for obtaining each hotspot device 310 The hot spot data of upload.
Correspondingly, call bill data server 400 can be connect with multiple base station equipments 410, set for obtaining each base station Standby 410 call bill datas uploaded, wherein call bill data server 400 can be the server of each operator.
It is worth explanation, above-mentioned hot spot data server 300 and call bill data server 400 are usually all to have centainly Safeguard protection can carry out data processing in respective database respectively after obtaining the data in the two, and it is last It is transmitted in secure network and carries out data fusion, wherein secure network can be the isolation Intranet of public security system.
Fig. 5 is the flow diagram of position data base construction method in embodiment illustrated in fig. 3.As shown in figure 5, the present embodiment The location database construction step being based in the localization method of offer, comprising:
S201, first position data are determined according to hot spot data.
Specifically, determining first position data according to hot spot data, wherein hot spot data includes the equipment mark code of terminal And hotspot device data, and hotspot device data include the equipment mark code of hotspot device, position set by hotspot device Information and terminal connect the temporal information of the hotspot device.It is worth understanding, includes the equipment of terminal in the data of first position Location information set by identification code and hotspot device and connect mapping relations between the temporal information of the hotspot device.
In order to which the determination to above-mentioned first position data is specifically described, below with reference to a specific example centering The specific data of one of first position data are illustrated:
The equipment mark code of terminal can for IMSI (such as: 284011234567890), and the terminal was at 08 month 2019 13:00pm on the 01st and equipment mark code (such as: hotspot device 123456ABC) is connect, and according to the hotspot device Preset record information, the address put on record are east longitude XX degree, north latitude XX degree or the area the XX road XX Startbuck.At this point, produced Data for example can be with are as follows:
On 08 01st, 2019 13:00pm, 284011234567890, east longitude XX degree, north latitude XX degree.
As it can be seen that the position is the position of the practical hotspot device connected of user to be positioned, pass through the position data, Ke Yizhun Really user to be positioned is positioned.
S202, second position data are determined according to call bill data.
Specifically, determining second position data according to call bill data, wherein call bill data includes user identification code, terminal Equipment mark code and base station data, and base station data includes base station number, and pre- by base station number and operator If the location of the available base station number of the base station location table of comparisons.It is worth understanding, includes in the data of the second position The user identification code of terminal, terminal equipment mark code, connect between the temporal information and base station position information of the base station Mapping relations.
In order to which the determination to said second position data is specifically described, below with reference to a specific example centering The specific data of one of second position data are illustrated:
The user identification code of terminal can for phone number (such as: 139568XXXXX), the equipment mark code of terminal can be with For IMSI (such as: 284011234567890), and the terminal on 08 01st, 2019 14:00pm and base station number (such as: Base station 95621ABC) is communicated to connect, and according to the available base of the preset base station location table of comparisons of the operator The location of number of standing is east longitude YY degree, north latitude YY degree.At this point, generated data for example can be with are as follows:
On 08 01st, 2019 14:00pm, 139568XXXXX, 284011234567890, east longitude YY degree, north latitude YY degree.
S203, location database is generated according to first position data and second position data.
Specifically, due to contained in first position data and the second position data equipment mark code (such as: 284011234567890), then first position data and second position data can be merged by equipment mark code, with Generate the location database between user identification code and position data with mapping relations.
According to above-mentioned citing, location database may include: user identification code, temporal information and position data, example It such as, can be with are as follows:
On 08 01st, 2019 13:00pm, 139568XXXXX, east longitude XX degree, north latitude XX degree;
On 08 01st, 2019 14:00pm, 139568XXXXX, east longitude YY degree, north latitude YY degree.
Be worth explanation, the above-mentioned illustration for data in database be the present embodiment realize hot spot data and A kind of possible implementation that call bill data is merged, and for the specific amalgamation mode of the two, in the present embodiment not into Row is specific to be limited.
Shown in Fig. 3-Fig. 5 on the basis of location database construction step, Fig. 6 is positional number in the application 3rd embodiment According to the schematic diagram of a scenario of base construction method, Fig. 7 is location database product process schematic diagram in embodiment illustrated in fig. 6.Such as Fig. 6- Shown in Fig. 7, other than merging to hot spot data and call bill data, the data of position data are come in order to further increase Source can also access internet data.Wherein, the specific can be that types of applications program 510 is produced when running at the terminal Position data, such as: the position data got ready in wechat, QQ, Alipay and various types of games.Also, application program number According in the apps server 500 that can be stored in each manufacturer.It, can be with and for the different application of each manufacturer Data fusion is carried out in manufacturer internal, also, encryption and desensitization process can also be carried out, to prevent from divulging a secret.
Further, since internet data is more mixed and disorderly, and reliability is lower, and in internet data often there is also Trumpet logs in and the non-behavior logged in is difficult further, since the behavior of internet data is distributed in different application programs Therefrom get location information true and abundant.On the other hand, carrier data and hot spot data are typically at again In the isolation network of secrecy, and internet and it is not communicated with.In order to guarantee that the safety of data, data fusion have to the net in safety It is carried out in network.Therefore, it before the data of application database 501 are transmitted to secure network, also needs to handle it, and And it is transmitted in secure network by preset job scheduling mode and data delivering path.It is worth explanation, preset operation Scheduling mode and data transmission can be according to the determination of the communicating requirement of security server 100, for example, it may be public security system The default secure communication protocols of security server 100.Specifically, can be application data is safely transferred to every In the pre-network of off-network network, before application data is transferred to pre-network and enters target isolation network, number According to being encrypted state, to avoid the risk of leaking data.
In addition, can be with configuration isolation domain, to prevent the connection of all unauthorizeds in pre-network.Specifically, Can be in preset secure network carry out data processing before, first determine to secure network transmission data equipment whether be Safety equipment has only determined the equipment for the encryption data that after safety equipment, just meeting receiving device is sent.
Then, then after receiving data, the encryption data received is decrypted in secure network.
Fig. 8 is the flow diagram of position data base construction method in embodiment illustrated in fig. 6;
As shown in figure 8, the location database construction step being based in localization method provided in this embodiment, comprising:
S301, first position data are determined according to hot spot data.
S302, second position data are determined according to call bill data.
It is worth explanation, the implementation of S301-S302 and S201-S202 phase in embodiment illustrated in fig. 5 in the present embodiment It is similar, it is no longer repeated in the present embodiment.
S303, the third place data are determined according to application data.
Specifically, determining the third place data according to application data, wherein application data is answered for terminal operating With the record data of program, application data includes user identification code and user behavior data, and in user behavior data The temporal information generated including location data and the location data.
In order to which the determination to said second position data is specifically described, below with reference to a specific example centering The specific data of one of the third place data are illustrated:
The user identification code of terminal can for phone number (such as: 139568XXXXX), and the terminal is existed by Alipay On 08 01st, 2019 15:00pm has carried out a payment in the position for being located at east longitude ZZ degree, north latitude ZZ degree.At this point, produced Data for example can be with are as follows:
On 08 01st, 2019 15:00pm, 139568XXXXX, east longitude ZZ degree, north latitude ZZ degree.
S304, location database is generated according to first position data, second position data and the third place data.
Specifically, generating location database according to first position data, second position data and the third place data.Root According to above-mentioned citing, location database may include: user identification code, temporal information and position data, for example, can be with are as follows:
On 08 01st, 2019 13:00pm, 139568XXXXX, east longitude XX degree, north latitude XX degree;
On 08 01st, 2019 14:00pm, 139568XXXXX, east longitude YY degree, north latitude YY degree;
On 08 01st, 2019 15:00pm, 139568XXXXX, east longitude ZZ degree, north latitude ZZ degree.
On the basis of the above embodiments, in order to meet different application demands, user to be positioned can also be generated not The position data of same type, for example, the current location data with real-time update characteristic, or be that can generate preset period of time The track data of interior characterization track characteristic.
Wherein it is possible to determine user to be positioned default according to the user identification code of user to be positioned and location database Track data in period is worth explanation, can be in user identification code and historical data base according to user to be positioned The position data stored carries out the generation of track data.Wherein, historical data base can be ES database, and ES database has The big characteristic of memory capacity is advantageously used for storing a large amount of position data.
Further, it is also possible to determine working as user to be positioned according to the user identification code of user to be positioned and real-time data base Front position data.Wherein, real-time data base can be K-V database, and K-V database has the speed of service fast, real-time update Characteristic is conducive to the update iteration of real time position data, guarantees the real-time of data.
Fig. 9 is the structural schematic diagram according to the positioning device shown in the application fourth embodiment.As shown in figure 9, this implementation The positioning device 400 that example provides, comprising:
Location Request obtains module 401, and for obtaining Location Request, the Location Request includes the user of user to be positioned Identification code;
Position data determining module 402, for the user identification code and location database according to the user to be positioned Determine the position data of the user to be positioned, wherein the location database is is given birth to according to hot spot data and call bill data At database, communication record data of the hot spot data between terminal and hotspot device, the call bill data is described Communication record data between terminal and base station.
On the basis of embodiment shown in Fig. 9, Figure 10 is the knot for implementing the positioning device exemplified according to the application the 5th Structure schematic diagram.As shown in Figure 10, positioning device 400 provided in this embodiment, further includes:
Position data processing module 403, is specifically used for:
First position data are determined according to the hot spot data, and the hot spot data includes the equipment mark code of the terminal And hotspot device data;
Second position data are determined according to the call bill data, and the call bill data includes user identification code, the terminal Equipment mark code and base station data;
The location database is generated according to the first position data and the second position data.
In a kind of possible design, the location database be according to the hot spot data, the call bill data and Application data database generated, the application data are the record number of application program described in the terminal operating According to.
In a kind of possible design, the position data processing module 403 is specifically used for:
The third place data are determined according to the application data, and the application data includes the user identifier Code and user behavior data;
The position is generated according to the first position data, the second position data and the third place data Database.
In a kind of possible design, the location database includes: user identification code, temporal information and positional number According to.
In a kind of possible design, the location database includes historical data base and/or real-time data base;
The historical data base is used to store terminal described in the user identification code, temporal information and various time points Position data;
The real-time data base is for terminal described in the user identification code of storage, temporal information and nearest time point Position data.
In a kind of possible design, the position data determining module 402 is specifically used for:
Determine that the user to be positioned exists according to the user identification code of the user to be positioned and the location database Track data in preset period of time;And/or
Determine the user's to be positioned according to the user identification code of the user to be positioned and the location database Current location data.
In a kind of possible design, data processing is carried out in preset secure network, to generate the position data Library.
On the basis of embodiment illustrated in fig. 10, Figure 11 is the knot according to the positioning device shown in the application sixth embodiment Structure schematic diagram.As shown in figure 11, positioning device provided in this embodiment, further includes:
Safety equipment determining module 405, for determining that the equipment of the secure network transmission data be safety equipment;
Position data receiving module 404, the encryption data sent for receiving the equipment, the equipment is for storing position Set data.
On the basis of embodiment illustrated in fig. 11, Figure 12 is the knot for implementing the positioning device exemplified according to the application the 7th Structure schematic diagram.As shown in figure 12, the positioning device, further includes:
Position data deciphering module 406, for received encryption data to be decrypted.
It is worth explanation, the positioning device that Fig. 9-12 illustrated embodiment provides can be used for executing above-mentioned any embodiment institute The method of offer, specific implementation is similar with technical effect, is not discussed here.
According to an embodiment of the present application, present invention also provides a kind of electronic equipment and a kind of readable storage medium storing program for executing.
Figure 13 is the block diagram for the electronic equipment for realizing the localization method of the embodiment of the present application.As shown in figure 13, electronics Equipment is intended to indicate that various forms of digital computers, such as, laptop computer, desktop computer, workbench, individual digital Assistant, server, blade server, mainframe computer and other suitable computer.Electronic equipment also may indicate that various The mobile device of form, such as, personal digital assistant, cellular phone, smart phone, wearable device and other similar calculating Device.Component, their connection and relationship shown in this article and their function are merely exemplary, and are not intended to limit Make the realization of the application that is described herein and/or requiring.
As shown in figure 13, which includes: one or more processors 501, memory 502, and for connecting The interface of each component, including high-speed interface and low-speed interface.All parts are interconnected using different bus, and can be by It is mounted on public mainboard or installs in other ways as needed.Processor can instruction to executing in electronic equipment Handled, including storage in memory or on memory (such as, to be coupled to interface in external input/output device Display equipment) on show GUI graphical information instruction.In other embodiments, if desired, can be by multiple processors And/or multiple bus is used together with multiple memories with multiple memories.It is also possible to multiple electronic equipments are connected, it is each Equipment provides the necessary operation in part (for example, as server array, one group of blade server or multiprocessor system System).In Figure 13 by taking a processor 501 as an example.
Memory 502 is non-transitory computer-readable storage medium provided herein.Wherein, the memory is deposited The instruction that can be executed by least one processor is contained, so that at least one described processor executes positioning provided herein Method.The non-transitory computer-readable storage medium of the application stores computer instruction, and the computer instruction is for making computer Execute localization method provided herein.
Memory 502 is used as a kind of non-transitory computer-readable storage medium, can be used for storing non-instantaneous software program, non- Instantaneous computer executable program and module, such as the corresponding program instruction of the localization method in the embodiment of the present application/module (example Such as, Location Request shown in attached drawing 12 obtains module 401, position data determining module 402, position data processing module 403, position Set data reception module 404, safety equipment determining module 405 and position data deciphering module 406).Processor 501 passes through fortune Non-instantaneous software program, instruction and the module that row is stored in memory 502, thereby executing the various function application of server And data processing, that is, realize the localization method in above method embodiment.
Memory 502 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;Storage data area can be stored to be set according to electronics provided by the embodiments of the present application Standby uses created data etc..In addition, memory 502 may include high-speed random access memory, it can also include non- Volatile storage, for example, at least a disk memory, flush memory device or other non-instantaneous solid-state memories.Some In embodiment, it includes the memory remotely located relative to processor 501 that memory 502 is optional, these remote memories can be with Electronic equipment is provided by network connection to the embodiment of the present application.The example of above-mentioned network includes but is not limited to internet, enterprise Intranet, local area network, mobile radio communication and combinations thereof.
It can also include: input unit 503 and output device 504 that the embodiment of the present application, which provides electronic equipment,.Processor 501, memory 502, input unit 503 and output device 504 can be connected by bus or other modes, with logical in Figure 13 It crosses for bus connection.
Input unit 503 can receive the number or character information of input, and generates and provide electronics with the embodiment of the present application The related key signals input of the user setting and function control of equipment, such as touch screen, keypad, mouse, track pad, touch The input units such as plate, indicating arm, one or more mouse button, trace ball, control stick.Output device 504 may include showing Show equipment, auxiliary lighting apparatus (for example, LED) and haptic feedback devices (for example, vibrating motor) etc..The display equipment can wrap It includes but is not limited to, liquid crystal display (LCD), light emitting diode (LED) display and plasma scope.In some embodiment party In formula, display equipment can be touch screen.
The various embodiments of system and technology described herein can be in digital electronic circuitry, integrated circuit system It is realized in system, dedicated ASIC (specific integrated circuit), computer hardware, firmware, software, and/or their combination.These are various Embodiment may include: to implement in one or more computer program, which can be It executes and/or explains in programmable system containing at least one programmable processor, which can be dedicated Or general purpose programmable processors, number can be received from storage system, at least one input unit and at least one output device According to and instruction, and data and instruction is transmitted to the storage system, at least one input unit and this at least one output Device.
These calculation procedures (also referred to as program, software, software application or code) include the machine of programmable processor Instruction, and can use programming language, and/or the compilation/machine language of level process and/or object-oriented to implement these Calculation procedure.As used herein, term " machine readable media " and " computer-readable medium " are referred to for referring to machine It enables and/or data is supplied to any computer program product, equipment, and/or the device of programmable processor (for example, disk, light Disk, memory, programmable logic device (PLD)), including, receive the machine readable of the machine instruction as machine-readable signal Medium.Term " machine-readable signal " is referred to for machine instruction and/or data to be supplied to any of programmable processor Signal.
In order to provide the interaction with user, system and technology described herein, the computer can be implemented on computers The display device for showing information to user is included (for example, CRT (cathode-ray tube) or LCD (liquid crystal display) monitoring Device);And keyboard and indicator device (for example, mouse or trace ball), user can by the keyboard and the indicator device come Provide input to computer.The device of other types can be also used for providing the interaction with user;For example, being supplied to user's Feedback may be any type of sensory feedback (for example, visual feedback, audio feedback or touch feedback);And it can use Any form (including vocal input, voice input or tactile input) receives input from the user.
System described herein and technology can be implemented including the computing system of background component (for example, as data Server) or the computing system (for example, application server) including middleware component or the calculating including front end component System is (for example, the subscriber computer with graphic user interface or web browser, user can pass through graphical user circle Face or the web browser to interact with the embodiment of system described herein and technology) or including this backstage portion In any combination of computing system of part, middleware component or front end component.Any form or the number of medium can be passed through Digital data communicates (for example, communication network) and is connected with each other the component of system.The example of communication network includes: local area network (LAN), wide area network (WAN) and internet.
Computer system may include client and server.Client and server is generally off-site from each other and usually logical Communication network is crossed to interact.By being run on corresponding computer and each other with the meter of client-server relation Calculation machine program generates the relationship of client and server.
According to the technical solution of the embodiment of the present application, user is established by merging hot spot data with call bill data Mapping relations between identification code and position data, to generate location database, thus when being positioned to user to be positioned, The position data of user to be positioned can be obtained, from location database by user identification code to realize multi-source position data Fusion, while increasing position data source, can also improve positioning accuracy.
It should be understood that various forms of processes illustrated above can be used, rearrangement increases or deletes step.Example Such as, each step as described in this application can be performed in parallel or be sequentially performed the order that can also be different and execute, only It is desired as a result, being not limited herein to can be realized technical solution disclosed in the present application.
Above-mentioned specific embodiment does not constitute the limitation to the application protection scope.Those skilled in the art should be bright White, according to design requirement and other factors, various modifications can be carried out, combination, sub-portfolio and substitution.It is any in the application Spirit and principle within made modifications, equivalent substitutions and improvements etc., should be included within the application protection scope.

Claims (13)

1. a kind of localization method characterized by comprising
Location Request is obtained, the Location Request includes the user identification code of user to be positioned;
The position data of the user to be positioned is determined according to the user identification code of the user to be positioned and location database, Wherein, the location database is according to hot spot data and call bill data database generated, and the hot spot data is terminal Communication record data between hotspot device, communication record data of the call bill data between the terminal and base station.
2. localization method according to claim 1, which is characterized in that further include:
Determine first position data according to the hot spot data, the hot spot data include the terminal equipment mark code and Hotspot device data;
According to the call bill data determine second position data, the call bill data includes that user identification code, the terminal are set Standby identification code and base station data;
The location database is generated according to the first position data and the second position data.
3. localization method according to claim 2, which is characterized in that the location database is according to the hot spot number According to, the call bill data and application data database generated, the application data is the terminal operating The record data of the application program.
4. localization method according to claim 3, which is characterized in that further include:
Determine the third place data according to the application data, the application data include the user identification code with And user behavior data;
The position data is generated according to the first position data, the second position data and the third place data Library.
5. localization method described in any one of -4 according to claim 1, which is characterized in that the location database includes: User identification code, temporal information and position data.
6. localization method according to claim 5, which is characterized in that the location database include historical data base and/ Or real-time data base;
The historical data base is used to store the position of terminal described in the user identification code, temporal information and various time points Data;
Position of the real-time data base for terminal described in the user identification code of storage, temporal information and nearest time point Set data.
7. localization method according to claim 6, which is characterized in that the user identifier according to the user to be positioned Code and location database determine the position data of the user to be positioned, comprising:
Determine the user to be positioned default according to the user identification code of the user to be positioned and the location database Track data in period;And/or
Determine that the user's to be positioned is current according to the user identification code of the user to be positioned and the location database Position data.
8. localization method described in any one of -4 according to claim 1, which is characterized in that marked described according to the user Knowledge code and location database determine before the position data of the user to be positioned, further includes:
Data processing is carried out, in preset secure network to generate the location database.
9. localization method according to claim 8, which is characterized in that carry out data in preset secure network described Before processing, further includes:
Determine that the equipment of the secure network transmission data be safety equipment;
The encryption data that the equipment is sent is received, the equipment is used for storage location data.
10. localization method according to claim 9, which is characterized in that in the encryption number for receiving the equipment and sending According to later, further includes:
Received encryption data is decrypted.
11. a kind of positioning device characterized by comprising
Location Request obtains module, and for obtaining Location Request, the Location Request includes the user identification code of user to be positioned;
Position data determining module, for according to the user identification code of the user to be positioned and location database determination The position data of user to be positioned, wherein the location database is according to hot spot data and call bill data data generated Library, communication record data of the hot spot data between terminal and hotspot device, the call bill data are the terminal and base Communication record data between standing.
12. a kind of electronic equipment characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out method of any of claims 1-10.
13. a kind of non-transitory computer-readable storage medium for being stored with computer instruction, which is characterized in that the computer refers to It enables for making the computer perform claim require method described in any one of 1-10.
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 true CN110519755A (en) 2019-11-29
CN110519755B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784161A (en) * 2021-01-29 2021-05-11 北京三快在线科技有限公司 Information processing method, device, medium and electronic device
WO2021114359A1 (en) * 2019-12-12 2021-06-17 泰斗微电子科技有限公司 Positioning data processing method, terminal to be positioned, and positioning server
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021114359A1 (en) * 2019-12-12 2021-06-17 泰斗微电子科技有限公司 Positioning data processing method, terminal to be positioned, and positioning server
CN112784161A (en) * 2021-01-29 2021-05-11 北京三快在线科技有限公司 Information processing method, device, medium and electronic device
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

Also Published As

Publication number Publication date
CN110519755B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN110163004B (en) Block chain generation method, related equipment and system
CN105900396B (en) Mobile cloud service architectural framework
CN111245825B (en) Applet login method, server and electronic device
KR102146388B1 (en) Methods, devices, systems and storage media for controlling intelligent equipment
CN110519755A (en) Localization method, device, electronic equipment and storage medium
US10572685B1 (en) Protecting sensitive data
RU2704750C2 (en) Mobile device identification systems and methods
CN105516916B (en) A kind of alarm method and system of mobile device
CN105516071A (en) Method for verifying safety of business operation, device, terminal and server
CN111047321A (en) Service processing method and device, electronic equipment and storage medium
JP6440571B2 (en) SaaS data linkage support system and SaaS data linkage support method
US10410152B2 (en) System and method for automatically and efficiently monitoring software development life cycles
CN111178840A (en) Service processing method, device, system, electronic equipment and storage medium
CN105991563A (en) Method and apparatus of protecting safety of sensitive data, and third party service system
CN110197075A (en) Resource access method, calculates equipment and storage medium at device
CN104901991A (en) Methods, devices and system for transferring virtual resource
CN110138889A (en) A kind of cloud mobile phone positioning method, system, device and storage medium
CN111357255B (en) Building a trusted application common to multiple applications
CN111104425A (en) Data processing method and device
WO2015184754A1 (en) Mobile terminal and method for exchanging calling cards between mobile terminals
KR102150780B1 (en) Service processing method and apparatus
CN104426865A (en) Method, device and system for controlling presentation of application
CN114969832B (en) Private data management method and system based on server-free architecture
CN114422237B (en) Data transmission method and device, electronic equipment and medium
US20150074105A1 (en) Mobile application data storage allocation

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