CN109379715A - A kind of localization method of positioning terminal, device and calculate equipment - Google Patents

A kind of localization method of positioning terminal, device and calculate equipment Download PDF

Info

Publication number
CN109379715A
CN109379715A CN201811275380.4A CN201811275380A CN109379715A CN 109379715 A CN109379715 A CN 109379715A CN 201811275380 A CN201811275380 A CN 201811275380A CN 109379715 A CN109379715 A CN 109379715A
Authority
CN
China
Prior art keywords
effective
positioning terminal
almanac data
server
hotspot
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.)
Pending
Application number
CN201811275380.4A
Other languages
Chinese (zh)
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.)
SHENZHEN AEROSPACE INNOTECH CO Ltd
Shenzhen Academy of Aerospace Technology
Original Assignee
SHENZHEN AEROSPACE INNOTECH CO Ltd
Shenzhen Academy of Aerospace Technology
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 SHENZHEN AEROSPACE INNOTECH CO Ltd, Shenzhen Academy of Aerospace Technology filed Critical SHENZHEN AEROSPACE INNOTECH CO Ltd
Priority to CN201811275380.4A priority Critical patent/CN109379715A/en
Publication of CN109379715A publication Critical patent/CN109379715A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention belongs to internet of things field, the localization method, device and calculating equipment of a kind of positioning terminal are provided, to realize the quick positioning to positioning terminal.The described method includes: whether the starting of Query Location terminal is cold start-up;If cold start-up, then judge whether effective from the almanac data locally obtained;If effective from the almanac data locally obtained, by the locating module of effective almanac data write-in positioning terminal;If invalid from the almanac data locally obtained, it is uploaded to server after obtaining effective Wi-Fi hotspot information, by server according to being handed down to positioning terminal after effective effective almanac data of Wi-Fi hotspot acquisition of information;Locating module positions positioning terminal according to effective almanac data.Technical solution of the present invention eliminate it is complicated search star process, to, to improve the locating speed of positioning terminal, be particularly suitable for the scene of positioning terminal cold start-up the time required to highly shortened positioning.

Description

A kind of localization method of positioning terminal, device and calculate equipment
Technical field
The invention belongs to internet of things field more particularly to a kind of localization method of positioning terminal, device and calculate equipment.
Background technique
Internet of Things (Internet of Things, IoT) refers to through various information sensing devices, acquires any need in real time The information of the various needs such as the object monitor, connect, interacted or process, the huge network formed in conjunction with internet. The purpose is to realize object and object, object and people, the connection of all articles and network facilitates identification, manages and controls.Obviously, right The positioning of article is a very important link in IoT, only realizes quick, accurate positioning to object, is just able to achieve the mesh of IoT Mark.
Article in IoT has all been attached to positioning terminal, and the big positioning system in the whole world four including GPS can pass through Positioning terminal realizes positioning of the IoT to article.However, common GPS positioning speed is slow, it can not meet the high field of real-time Scape, especially in the case of positioning terminal is cold start-up, existing localization method is just slower.
Summary of the invention
The purpose of the present invention is to provide a kind of localization method of positioning terminal, device and equipment is calculated, to realize to fixed The quick positioning of position terminal.
First aspect present invention provides a kind of localization method of positioning terminal, which comprises
Whether the starting of Query Location terminal is cold start-up;
If cold start-up, then judge whether effective from the almanac data locally obtained;
If described effective from the almanac data locally obtained, the positioning terminal is written into effective almanac data Locating module;
If described invalid from the almanac data locally obtained, it is uploaded to server after obtaining effective Wi-Fi hotspot information, By the server according to being handed down to the positioning terminal after effective effective almanac data of Wi-Fi hotspot acquisition of information;
The locating module positions the positioning terminal according to effective almanac data.
Second aspect of the present invention provides a kind of localization method of positioning terminal, which comprises
Server receives effective Wi-Fi hotspot information that positioning terminal uploads, and effective Wi-Fi hotspot information is described fixed Position terminal passes through in a cold-start situation scans the Wi-Fi hotspot information that the Wi-Fi hotspot around the positioning terminal obtains;
The server is according to effective effective almanac data of Wi-Fi hotspot acquisition of information;
Effective almanac data is handed down to the positioning terminal by the server, as the positioning terminal according to Effective almanac data positions the positioning terminal.
Third aspect present invention provides a kind of positioning device of positioning terminal, is applied to positioning terminal, the positioning terminal Including enquiry module, judgment module, Data write. module, obtain module and locating module;
The enquiry module, whether the starting for Query Location terminal is cold start-up;
The judgment module, for if cold start-up, then judging whether effective from the almanac data locally obtained;
The Data write. module, if for described effective from the almanac data locally obtained, by effective ephemeris The locating module of the positioning terminal is written in data;
The acquisition module, if obtaining effective Wi-Fi hotspot letter for described invalid from the almanac data locally obtained Server is uploaded to after breath, by the server according to being handed down to after effective effective almanac data of Wi-Fi hotspot acquisition of information The positioning terminal;
The locating module, for being positioned according to effective almanac data to the positioning terminal.
Fourth aspect present invention provides a kind of calculating equipment, including memory, processor and is stored in the memory In and the computer program that can run on the processor, the processor realize such as lower section when executing the computer program The step of method:
Whether the starting of Query Location terminal is cold start-up;
If cold start-up, then judge whether effective from the almanac data locally obtained;
If described effective from the almanac data locally obtained, the positioning terminal is written into effective almanac data Locating module;
If described invalid from the almanac data locally obtained, it is uploaded to server after obtaining effective Wi-Fi hotspot information, By the server according to being handed down to the positioning terminal after effective effective almanac data of Wi-Fi hotspot acquisition of information;
The locating module positions the positioning terminal according to effective almanac data.
Fifth aspect present invention provides a kind of calculating equipment, including memory, processor and is stored in the memory In and the computer program that can run on the processor, the processor realize such as lower section when executing the computer program The step of method:
Server receives effective Wi-Fi hotspot information that positioning terminal uploads, and effective Wi-Fi hotspot information is described fixed Position terminal passes through in a cold-start situation scans the Wi-Fi hotspot information that the Wi-Fi hotspot around the positioning terminal obtains;
The server is according to effective effective almanac data of Wi-Fi hotspot acquisition of information;
Effective almanac data is handed down to the positioning terminal by the server, as the positioning terminal according to Effective almanac data positions the positioning terminal.
Sixth aspect present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has The step of computer program, the computer program realizes following method when being executed by processor:
Whether the starting of Query Location terminal is cold start-up;
If cold start-up, then judge whether effective from the almanac data locally obtained;
If described effective from the almanac data locally obtained, the positioning terminal is written into effective almanac data Locating module;
If described invalid from the almanac data locally obtained, it is uploaded to server after obtaining effective Wi-Fi hotspot information, By the server according to being handed down to the positioning terminal after effective effective almanac data of Wi-Fi hotspot acquisition of information;
The locating module positions the positioning terminal according to effective almanac data.
Seventh aspect present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has The step of computer program, the computer program realizes following method when being executed by processor:
Server receives effective Wi-Fi hotspot information that positioning terminal uploads, and effective Wi-Fi hotspot information is described fixed Position terminal passes through in a cold-start situation scans the Wi-Fi hotspot information that the Wi-Fi hotspot around the positioning terminal obtains;
The server is according to effective effective almanac data of Wi-Fi hotspot acquisition of information;
Effective almanac data is handed down to the positioning terminal by the server, as the positioning terminal according to Effective almanac data positions the positioning terminal.
From aforementioned present invention technical solution it is found that in the case where positioning terminal cold start-up, if can be obtained effectively from local Almanac data, then by the locating module of effective almanac data write-in positioning terminal, if from the almanac data locally obtained it is invalid or Effective almanac data can not be obtained from local, then by obtaining effective effective almanac data of Wi-Fi hotspot acquisition of information, due to nothing Effective almanac data is directly acquired still by effective effective almanac data of Wi-Fi hotspot acquisition of information by from local, is all eliminated Complicated searches star process, thus the time required to highly shortened positioning, to improve the locating speed of positioning terminal, especially It is suitble to the scene of positioning terminal cold start-up.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram of the localization method of positioning terminal provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides positioning terminal localization method implementation process schematic diagram;
Fig. 3 is the structural schematic diagram of the positioning device of positioning terminal provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides positioning terminal positioning device structural schematic diagram;
Fig. 5 is the structural schematic diagram provided in an embodiment of the present invention for calculating equipment.
Specific embodiment
In order to which the purpose of the present invention, technical solution and beneficial effect is more clearly understood, below in conjunction with attached drawing and implementation Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair It is bright, it is not intended to limit the present invention.
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
Attached drawing 1 is the implementation process schematic diagram of the localization method of positioning terminal provided in an embodiment of the present invention, and this method can It is completed by positioning terminal, mainly includes the following steps that S101 to S105, described further below:
Whether the starting of S101, Query Location terminal are cold start-up.
In embodiments of the present invention, so-called positioning terminal can be the device for having acquisition position information, such as vehicle-mounted The wearable locator etc. that the groups such as positioning device or old man, children, special population, pet use.The cold start-up of positioning terminal, Refer to that positioning terminal starts again after shut down.
Whether S102 judges effective from the almanac data locally obtained if the starting of positioning terminal is cold start-up.
Specifically, whether judge effectively can be with S1021 as follows to S1023 reality from the almanac data locally obtained It is existing:
S1021, it is determined whether almanac data can be obtained from local cache.
So-called local cache refers to the buffer zone of this side of positioning terminal.If there is existing star in local cache region It counts evidence one by one, then can obtain existing almanac data from local cache.
S1022, if almanac data can be obtained from local cache, it is determined that whether the almanac data obtained from local cache For newest almanac data.
In embodiments of the present invention, almanac data whether be newest almanac data can from these almanac datas whether It is updated in preset time.If updated in preset time, such as in 2 hours, then illustrate that these almanac datas are newest acquisitions I.e. newest almanac data, conversely, then illustrating these almanac datas not is newest ephemeris for example, not updating more than 2 hours Data.
S1023, if the almanac data from local cache acquisition is newest almanac data, it is determined that from the star locally obtained It counts one by one according to effectively.
Almanac data can be obtained from local cache, and the almanac data obtained is newest almanac data, then it can be true It is fixed effective from the almanac data locally obtained.
S103, if effective from the almanac data locally obtained, by the positioning mould of effective almanac data write-in positioning terminal Block.
The locating module of effective almanac data write-in positioning terminal, then locating module can be according to these effective almanac datas Positioning terminal is positioned.
S104 is uploaded to server after obtaining effective Wi-Fi hotspot information if invalid from the almanac data locally obtained, By server according to being handed down to positioning terminal after effective effective almanac data of Wi-Fi hotspot acquisition of information.
In embodiments of the present invention, so-called effective Wi-Fi hotspot information can be the Wi-Fi hotspot quantity around positioning terminal More than or equal to received signal strength indicator (the Received Signal Strength of preset quantity and these Wi-Fi hotspots Indication, RSSI) value more than preset threshold when, the media access control (Media of Wi-Fi hotspot AccessControl, MAC) address and RSSI value, for example, if there is 3 or 3 or more Wi-Fi hotspots around positioning terminal, And the value of the RSSI of these Wi-Fi hotspots is more than preset threshold, then the value of the MAC Address and RSSI of these Wi-Fi hotspots can be with Referred to as effective Wi-Fi hotspot information.
Specifically, it is uploaded to server after obtaining effective Wi-Fi hotspot information, is believed by server according to effective Wi-Fi hotspot Positioning terminal is handed down to after the effective almanac data of breath acquisition S1041 and S1042 to be realized as follows:
S1041 starts Wi-Fi hotspot scanning function.
S1042, if the Wi-Fi hotspot quantity scanned is greater than or equal to preset quantity and the value of the RSSI of Wi-Fi hotspot exists More than preset threshold, then the value of the MAC Address of the Wi-Fi hotspot scanned and RSSI is uploaded to server, from server to Tripartite's location server obtains the current latitude and longitude information of positioning terminal, and according to the current latitude and longitude information of positioning terminal, to The server of positioning chip manufacturer obtains newest almanac data as being handed down to positioning terminal after effective almanac data.
In embodiments of the present invention, server in the MAC Address that gets the Wi-Fi hotspot that positioning terminal scans and After the value of RSSI, the first interface for calling third party's location server to provide obtains the current latitude and longitude information of positioning terminal, so Afterwards, server obtains newest according to the current latitude and longitude information of the positioning terminal of acquisition to the server of positioning chip manufacturer Almanac data be handed down to positioning terminal as effective almanac data.
S105, locating module position positioning terminal according to effective almanac data.
It should be noted that in the embodiments of the present invention, if effective Wi-Fi hotspot information, server can not be obtained It can obtain and make to the server of positioning chip manufacturer according to the newest latitude and longitude information of local positioning terminal is stored in It is handed down to positioning terminal for effective almanac data, positioning terminal receives this newest almanac data and deposits as effective almanac data It is stored in the buffer zone of positioning terminal.
It should be noted that positioning chip is to Global Navigation Satellite System in the embodiments of the present invention The general designation of the positioning chip of (Global Navigation Satellite System, GNSS) function, can refer to GPS, Europe Continent Galileo (Galileo) global positioning system, Russian Glonass (GLONASS) and Chinese Beidou global positioning system etc. Positioning chip in any positioning system, such as UBLOX chip, and the server of chip manufacturer is positioned either fixed Position chip manufacturer is specified, trustship server, can also be the server that ownership belongs to the manufacturer, the present invention to this not It is limited.
It should also be noted that, it is contemplated that it is based on cellular narrowband Internet of Things (Narrow Band-Internet of Things, NB-IoT) deployment be not also it is perfect, there may be NB-IoT signal difference or there is no NB-IoT signal in some regions A possibility that, therefore, in embodiments of the present invention, the communication module of positioning terminal supports CatM, NB-IoT and the whole world mobile logical The multiple networks standards, i.e. positioning terminal such as letter system (Global System for Mobile communications, GSM) It can switch between multiple network standard, to adapt to the communication environment of various complexity.Specifically, it opens or needs in positioning terminal When wanting reported data, the state that can access network is judged, the accessible network includes being based on cellular narrowband Internet of Things NB- IoT, CatM network or global system for mobile communications GSM network;If the state of NB-IoT, CatM network or GSM network is normal, Then access the NB-IoT network;If the abnormal state of the NB-IoT, the CatM network or GSM network are accessed;If institute It is all abnormal to state NB-IoT network, CatM or GSM network, radio-frequency module is closed, system enters suspend mode, in the preset time Inside radio-frequency module is opened again, checks network state, selects suitable network insertion.Above-mentioned positioning terminal is in multiple network standard Between the mechanism that switches over, not only ensure that positioning terminal is smoothly networked under complex communication environment, but also power consumption can be saved, This is because existing positioning terminal often only supports a kind of network formats, cannot be switched between different network formats, Which results in existing positioning terminals to devote a tremendous amount of time in the accessible network of scanning, and equipment can for a long time or always In this scanning mode, and for a long time or it is constantly in scanning mode power consumption disappearance is caused to be exceedingly fast.And positioning of the invention is whole It holds due to supporting the switching between NB-IoT, CatM network or GSM network, can be accessed in these networks in very short time Any one illustrates that communication environment is really excessively at this time if cannot access any one in these networks in the predetermined time Badly, then can temporary close scan can access network function, i.e., pause scan can access network, radio-frequency module is closed, is System enters suspend mode, again opens radio-frequency module within the preset time, checks network state, suitable network is selected to connect Enter.
From the localization method of the exemplary positioning terminal of above-mentioned attached drawing 1 it is found that in the case where positioning terminal cold start-up, if energy From local effective almanac data is obtained, then by the locating module of effective almanac data write-in positioning terminal, if from locally obtaining Almanac data is invalid or can not obtain effective almanac data from local, then by obtaining effective effective star of Wi-Fi hotspot acquisition of information Evidence is counted one by one, due to no matter from local directly acquiring effective almanac data or by effective effective ephemeris of Wi-Fi hotspot acquisition of information Data, all eliminate complexity searches star process, thus the time required to highly shortened positioning, to improve positioning terminal Locating speed is particularly suitable for the scene of positioning terminal cold start-up.
Fig. 2 be another embodiment of the present invention provides positioning terminal localization method implementation process schematic diagram, it is main to wrap Following steps S201 to S203 is included, described further below:
S201, server receive effective Wi-Fi hotspot information that positioning terminal uploads.
Effective Wi-Fi hotspot information that so-called positioning terminal uploads, can be positioning terminal in a cold-start situation, fixed The MAC Address of Wi-Fi hotspot of the position terminal surrounding quantity more than or equal to preset quantity and when the value of RSSI is more than preset threshold There is the value of the RSSI of 4 Wi-Fi hotspots around positioning terminal for example, positioning terminal is in a cold-start situation with the value of RSSI More than preset threshold, then the MAC Address of this 4 Wi-Fi hotspots and the value of RSSI are exactly effective Wi-Fi hotspot information.As for The acquisition of effective Wi-Fi hotspot information, can refer to the associated description of previous embodiment, is not repeated herein.
S202, server is according to effective effective almanac data of Wi-Fi hotspot acquisition of information.
Specifically, server according to effective effective almanac data of Wi-Fi hotspot acquisition of information may is that server according to The first interface that Wi-Fi hotspot information calls third party's location server to provide, obtains the current latitude and longitude information of positioning terminal, Then, server obtains newest star to the server of positioning chip manufacturer according to the current latitude and longitude information of positioning terminal It counts one by one according to as effective almanac data.
Effective almanac data is handed down to positioning terminal by S203, server, by positioning terminal according to effective almanac data pair Positioning terminal is positioned.
It should be noted that if for some reason, positioning terminal is caused to upload effective Wi-Fi hotspot without normal direction server Information, then server is obtained according to the newest latitude and longitude information of local terminal is stored in the server of positioning chip manufacturer Effective almanac data of the newest almanac data as positioning terminal.
In the embodiments of the present invention, positioning chip is to Global Navigation Satellite System (Global Navigation Satellite System, GNSS) function positioning chip general designation, can refer to GPS, European galileo (Galileo) global positioning system, Russian Glonass (GLONASS) and Chinese Beidou global positioning system etc. are any Positioning chip in positioning system, such as UBLOX chip, and the server of chip manufacturer is positioned either positioning chip system It makes that quotient is specified, server of trustship, can also be the server that ownership belongs to the manufacturer, the present invention is without limitation.
From the exemplary technical solution of the present invention of attached drawing 2 it is found that either server is newest according to local terminal is stored in Latitude and longitude information obtains effective almanac data with both modes, all can serve as end according further to effective Wi-Fi hotspot information The current most possible candidate almanac data in end.Positioning terminal selectively searches star according to acquired candidate almanac data, and It is not that traversal searches star completely, again.Therefore terminal eliminate it is complicated search star process, directly search star in candidate constellation, these times Satellite constellation is selected greatly to may determine terminal positional information, to substantially reduce the positioning time of positioning terminal.
Fig. 3 is the schematic diagram of the positioning device of positioning terminal provided in an embodiment of the present invention.For ease of description, only show The necessary part of device is gone out.The exemplary device of Fig. 3 is applied to positioning terminal, and the device mainly includes enquiry modules 301, judgement Module 302, obtains module 304 and locating module 305 at Data write. module 303, and detailed description are as follows:
Enquiry module 301, whether the starting for Query Location terminal is cold start-up;
Judgment module 302, for if cold start-up, then judging whether effective from the almanac data locally obtained;
Data write. module 303, if it is fixed that effective almanac data is written for effective from the almanac data locally obtained The locating module 305 of position terminal;
Module 304 is obtained, if obtaining on after effective Wi-Fi hotspot information for invalid from the almanac data locally obtained Server is reached, by server according to being handed down to positioning terminal after effective effective almanac data of Wi-Fi hotspot acquisition of information;
Locating module 305, for being positioned according to effective almanac data to positioning terminal.
It should be noted that device provided in an embodiment of the present invention, due to being based on corresponding embodiment of the present invention method Same design, bring technical effect is identical as corresponding embodiment of the present invention method, and particular content can be found in present invention side Narration in method embodiment, details are not described herein again.
Further, the exemplary judgment module 302 of above-mentioned attached drawing 3 may include the first determination unit, the second determination unit With third determination unit, in which:
First determination unit is used to determine whether that almanac data can be obtained from local cache;
Second determination unit, if for almanac data can be obtained from local cache, it is determined that obtained from local cache Whether almanac data is newest almanac data;
Third determination unit, if the almanac data for obtaining from local cache is newest almanac data, it is determined that from The almanac data locally obtained is effective.
Further, the exemplary acquisition module 304 of above-mentioned attached drawing 3 may include scanning element and uploading unit, in which:
Scanning element, for starting Wi-Fi hotspot scanning function;
Uploading unit, if the Wi-Fi hotspot quantity for scanning is greater than or equal to the reception of preset quantity and Wi-Fi hotspot Signal strength indicates the value of RSSI more than preset threshold, then by the MAC address of the Wi-Fi hotspot scanned It is uploaded to server with the value of RSSI, the current longitude and latitude letter of positioning terminal is obtained from server to third party's location server Breath, and according to the current latitude and longitude information of positioning terminal, newest almanac data is obtained to the server of positioning chip manufacturer As being handed down to positioning terminal after effective almanac data.
The positioning device of the positioning terminal of above-described embodiment further includes receiving module, if for that can not obtain effective WiFi heat Point information is then received by server according to the newest latitude and longitude information of local positioning terminal is stored in, to positioning chip manufacturer Server obtain and be handed down to as effective almanac data the newest almanac data of positioning terminal.
Fig. 4 be another embodiment of the present invention provides positioning terminal positioning device schematic diagram.For ease of description, only Illustrate only the necessary part of device.The exemplary device of Fig. 4 is applied to server, and the device mainly includes Wi-Fi hotspot information to connect Module 401, effective almanac data acquisition module 402 and data distributing module 403 are received, detailed description are as follows:
Wi-Fi hotspot information receiving module 401, for receiving effective Wi-Fi hotspot information of positioning terminal upload;
Effective almanac data obtains module 402, for according to the received effective WiFi of Wi-Fi hotspot information receiving module 401 Hot information obtains effective almanac data;
Data distributing module 403, for effective almanac data to be handed down to positioning terminal, by positioning terminal according to effective star Evidence is counted one by one to position positioning terminal.
It should be noted that device provided in an embodiment of the present invention, due to being based on corresponding embodiment of the present invention method Same design, bring technical effect is identical as corresponding embodiment of the present invention method, and particular content can be found in present invention side Narration in method embodiment, details are not described herein again.
Further, the received effective Wi-Fi hotspot information of Wi-Fi hotspot information receiving module 401 includes that positioning terminal exists In the case of cold start-up, when quantity is greater than or equal to the value of preset quantity and RSSI more than preset threshold around positioning terminal The MAC Address of Wi-Fi hotspot and the value of RSSI, correspondingly, Wi-Fi hotspot information receiving module 401 include first acquisition unit and Second acquisition unit, in which:
First acquisition unit, the first interface for calling third party's location server to provide according to Wi-Fi hotspot information, Obtain the current latitude and longitude information of positioning terminal;
Second acquisition unit, the service for the current latitude and longitude information according to positioning terminal, to positioning chip manufacturer Device obtains newest almanac data as effective almanac data.
Further, the exemplary device of above-mentioned Fig. 4 further includes calling module, if for positioning terminal without normal direction server Effective Wi-Fi hotspot information is passed, then server is manufactured according to the newest latitude and longitude information of local terminal is stored in positioning chip The server of quotient obtains newest almanac data.Fig. 5 is the structural schematic diagram for the calculating equipment 5 that one embodiment of the invention provides. As shown in figure 5, the calculating equipment 5 of the embodiment includes: processor 50, memory 51 and is stored in memory 51 and can be The computer program 52 run on processor 50, for example, positioning terminal localization method program.Processor 50 executes computer The step in the localization method embodiment of above-mentioned positioning terminal, such as Fig. 1 or attached step shown in Fig. 2 are realized when program 52, or Person, processor 50 realize the function of each module/unit in above-mentioned each Installation practice, such as Fig. 3 when executing computer program 52 Or the function of module shown in attached drawing 4.
Illustratively, the computer program 52 of the localization method of positioning terminal specifically includes that the starting of Query Location terminal It whether is cold start-up;If the starting of positioning terminal is cold start-up, judge whether effective from the almanac data locally obtained;If from The almanac data locally obtained is effective, then by the locating module of effective almanac data write-in positioning terminal;If from what is locally obtained Almanac data is invalid, then is uploaded to server after obtaining effective Wi-Fi hotspot information, is believed by server according to effective Wi-Fi hotspot Breath is handed down to positioning terminal after obtaining effective almanac data;Locating module determines positioning terminal according to effective almanac data Position;Alternatively, the computer program 52 of the localization method of positioning terminal specifically includes that server receives the effective of positioning terminal upload Wi-Fi hotspot information;Server is according to effective effective almanac data of Wi-Fi hotspot acquisition of information;Server is by effective almanac data It is handed down to positioning terminal, positioning terminal is positioned according to effective almanac data by positioning terminal.Computer program 52 can be with It is divided into one or more module/units, one or more module/unit is stored in memory 51, and by handling Device 50 executes, to complete the present invention.One or more module/units can be the series of computation machine that can complete specific function Program instruction section, the instruction segment are used to describe computer program 52 and are calculating the implementation procedure in equipment 5.For example, computer journey Sequence 52 can be divided into enquiry module 301, judgment module 302, Data write. module 303, obtain module 304 and locating module The function of 305 (modules in virtual bench), alternatively, computer program 52 can be divided into Wi-Fi hotspot information receiving module 401, effective almanac data obtains the function of module 402 and data distributing module 402 (module in virtual bench), each module tool Body function is as follows: enquiry module 301, and whether the starting for Query Location terminal is cold start-up;Judgment module 302, if for For cold start-up, then judge whether effective from the almanac data locally obtained;Data write. module 303, if being used for from local acquisition Almanac data it is effective, then by effective almanac data write-in positioning terminal locating module 305;Obtain module 304, if for from The almanac data locally obtained is invalid, then is uploaded to server after obtaining effective Wi-Fi hotspot information, by server according to effectively Positioning terminal is handed down to after the effective almanac data of Wi-Fi hotspot acquisition of information;Locating module 305, for according to effective almanac data Positioning terminal is positioned;Wi-Fi hotspot information receiving module 401, for receiving effective Wi-Fi hotspot of positioning terminal upload Information;Effective almanac data obtains module 402, for according to the received effective WiFi heat of Wi-Fi hotspot information receiving module 401 The point effective almanac data of acquisition of information;Data distributing module 402, for effective almanac data to be handed down to positioning terminal, by fixed Position terminal positions positioning terminal according to effective almanac data.
Calculating equipment 5 may include, but are not limited to processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 The example for only calculating equipment 5, does not constitute the restriction to equipment 5 is calculated, and may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as calculating equipment can also connect including input-output equipment, network Enter equipment, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
Memory 51 can be the internal storage unit for calculating equipment 5, such as calculate the hard disk or memory of equipment 5.Storage Device 51 is also possible to calculate the External memory equipment of equipment 5, such as calculates the plug-in type hard disk being equipped in equipment 5, intelligent storage Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc.. Further, memory 51 can also both include calculating the internal storage unit of equipment 5 or including External memory equipment.Memory 51 for other programs and data needed for storing computer program and calculating equipment.Memory 51 can be also used for temporarily Store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of device are divided into different functional unit or module, to complete above description All or part of function.Each functional unit in embodiment, module can integrate in one processing unit, be also possible to Each unit physically exists alone, and can also be integrated in one unit with two or more units, above-mentioned integrated unit Both it can take the form of hardware realization, can also realize in the form of software functional units.In addition, each functional unit, mould The specific name of block is also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.It is single in above system Member, the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/calculating device and method, it can be with It realizes by another way.For example, device described above/calculating apparatus embodiments are only schematical, for example, mould The division of block or unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple Unit or assembly can be combined or can be integrated into another system, or some features can be ignored or not executed.It is another Point, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device or The INDIRECT COUPLING or communication connection of unit can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If integrated module/unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete by computer program, and positioning terminal is determined The computer program of position method can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method, that is, whether the starting of Query Location terminal is cold start-up;If positioning is eventually Whether the starting at end is cold start-up, then judge effective from the almanac data locally obtained;If having from the almanac data locally obtained Effect, then by the locating module of effective almanac data write-in positioning terminal;If invalid from the almanac data locally obtained, acquisition has It is uploaded to server after effect Wi-Fi hotspot information, by server according under after effective effective almanac data of Wi-Fi hotspot acquisition of information Issue positioning terminal;Locating module positions positioning terminal according to effective almanac data;Alternatively, the computer program is in quilt When processor executes, it can be achieved that the step of above-mentioned each embodiment of the method, that is, server receive positioning terminal upload it is effective Wi-Fi hotspot information;Server is according to effective effective almanac data of Wi-Fi hotspot acquisition of information;Server is by effective almanac data It is handed down to positioning terminal, positioning terminal is positioned according to effective almanac data by positioning terminal.Wherein, computer program packet Computer program code is included, computer program code can be source code form, object identification code form, executable file or certain Intermediate form etc..Computer-readable medium may include: any entity or device, record that can carry computer program code Medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), with Machine access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc.. It should be noted that the content that computer-readable medium includes can be according to the requirement made laws in jurisdiction with patent practice Increase and decrease appropriate is carried out, such as does not include electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Carrier signal and telecommunication signal.The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although reference Invention is explained in detail for previous embodiment, those skilled in the art should understand that: it still can be right Technical solution documented by foregoing embodiments is modified or equivalent replacement of some of the technical features;And this It modifies or replaces, the spirit and model of technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution It encloses, should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of localization method of positioning terminal, which is characterized in that the described method includes:
Whether the starting of Query Location terminal is cold start-up;
If cold start-up, then judge whether effective from the almanac data locally obtained;
If described effective from the almanac data locally obtained, effective almanac data is written to the positioning of the positioning terminal Module;
If described invalid from the almanac data locally obtained, it is uploaded to server after obtaining effective Wi-Fi hotspot information, by institute Server is stated according to being handed down to the positioning terminal after effective effective almanac data of Wi-Fi hotspot acquisition of information;
The locating module positions the positioning terminal according to effective almanac data.
2. the localization method of positioning terminal as described in claim 1, which is characterized in that described to judge from the ephemeris locally obtained Data whether effectively include:
Determine whether that almanac data can be obtained from local cache;
If can from the local cache obtain almanac data, it is determined that it is described from local cache obtain almanac data whether be Newest almanac data;
If the almanac data obtained from local cache is newest almanac data, it is determined that from the almanac data locally obtained Effectively.
3. the localization method of positioning terminal as described in claim 1, which is characterized in that described to obtain effective Wi-Fi hotspot information After be uploaded to server, by the server according to being handed down to institute after effective effective almanac data of Wi-Fi hotspot acquisition of information Stating positioning terminal includes:
Start Wi-Fi hotspot scanning function;
If the Wi-Fi hotspot quantity scanned is greater than or equal to the received signal strength indicator of preset quantity and the Wi-Fi hotspot The value of RSSI is more than preset threshold, then by the MAC address of the Wi-Fi hotspot scanned and described The value of RSSI is uploaded to the server, obtains the current of the positioning terminal from the server to third party's location server Latitude and longitude information, and according to the current latitude and longitude information of the positioning terminal, it is obtained most to the server of positioning chip manufacturer New almanac data is as being handed down to the positioning terminal after effective almanac data.
4. the localization method of the positioning terminal as described in claims 1 to 3 any one, which is characterized in that the method is also wrapped It includes:
If effective Wi-Fi hotspot information can not be obtained, receive newest according to local positioning terminal is stored in by the server Latitude and longitude information obtains to the server of positioning chip manufacturer and is handed down to the positioning terminal as effective almanac data Newest almanac data.
5. a kind of localization method of positioning terminal, which is characterized in that the described method includes:
Server receives effective Wi-Fi hotspot information that positioning terminal uploads;
The server is according to effective effective almanac data of Wi-Fi hotspot acquisition of information;
Effective almanac data is handed down to the positioning terminal by the server, by the positioning terminal according to described effective Almanac data positions the positioning terminal.
6. the localization method of positioning terminal as claimed in claim 5, which is characterized in that effective Wi-Fi hotspot information includes In a cold-start situation, quantity is greater than or equal to preset quantity and receives signal the positioning terminal around the positioning terminal Intensity indicates the MAC address and the RSSI of the Wi-Fi hotspot when value of RSSI is more than preset threshold Value, the server include: according to effective effective almanac data of Wi-Fi hotspot acquisition of information
The first interface that the server calls third party's location server to provide according to the Wi-Fi hotspot information, described in acquisition The current latitude and longitude information of positioning terminal;
The server obtains most according to the current latitude and longitude information of the positioning terminal to the server of positioning chip manufacturer New almanac data is as effective almanac data.
7. such as the localization method of positioning terminal described in claim 5 or 6, which is characterized in that the method also includes:
If the positioning terminal uploads effective Wi-Fi hotspot information without server described in normal direction, the server is according to being stored in The local newest latitude and longitude information of terminal obtains newest almanac data to the server of positioning chip manufacturer.
8. a kind of positioning device of positioning terminal is applied to positioning terminal, which is characterized in that the positioning terminal includes inquiry mould Block, Data write. module, obtains module and locating module at judgment module;
The enquiry module, whether the starting for Query Location terminal is cold start-up;
The judgment module, for if cold start-up, then judging whether effective from the almanac data locally obtained;
The Data write. module, if for described effective from the almanac data locally obtained, by effective almanac data The locating module of the positioning terminal is written;
The acquisition module, if for described invalid from the almanac data locally obtained, after obtaining effective Wi-Fi hotspot information It is uploaded to server, it is according to being handed down to after effective effective almanac data of Wi-Fi hotspot acquisition of information by the server Positioning terminal;
The locating module, for being positioned according to effective almanac data to the positioning terminal.
9. a kind of calculating equipment, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as Claims 1-4 when executing the computer program The step of any one or claim 5 to 7 any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization such as Claims 1-4 any one or claim 5 to 7 are any one when the computer program is executed by processor The step of item the method.
CN201811275380.4A 2018-10-30 2018-10-30 A kind of localization method of positioning terminal, device and calculate equipment Pending CN109379715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811275380.4A CN109379715A (en) 2018-10-30 2018-10-30 A kind of localization method of positioning terminal, device and calculate equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811275380.4A CN109379715A (en) 2018-10-30 2018-10-30 A kind of localization method of positioning terminal, device and calculate equipment

Publications (1)

Publication Number Publication Date
CN109379715A true CN109379715A (en) 2019-02-22

Family

ID=65390402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811275380.4A Pending CN109379715A (en) 2018-10-30 2018-10-30 A kind of localization method of positioning terminal, device and calculate equipment

Country Status (1)

Country Link
CN (1) CN109379715A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324780A (en) * 2019-06-24 2019-10-11 诺领科技(南京)有限公司 GNSS localization method and device is simplified for internet-of-things terminal
CN110366233A (en) * 2019-06-24 2019-10-22 诺领科技(南京)有限公司 A kind of low power targeting methods and device for Internet of Things
CN111132031A (en) * 2019-12-27 2020-05-08 永安行科技股份有限公司 Equipment scanning method and device
CN111132308A (en) * 2019-12-19 2020-05-08 杭州数梦工场科技有限公司 Mobile terminal positioning method and device
CN111447546A (en) * 2019-03-01 2020-07-24 维沃移动通信有限公司 Control method and communication unit for location service
CN111756927A (en) * 2020-06-23 2020-10-09 广东小天才科技有限公司 Output method of positioning information, terminal equipment and storage medium
CN112285743A (en) * 2020-12-28 2021-01-29 诺领科技(南京)有限公司 Cloud positioning system and method based on NB-IoT and Beidou
CN112292615A (en) * 2019-10-29 2021-01-29 深圳市大疆创新科技有限公司 Positioning method and device of movable platform and movable platform
CN112492520A (en) * 2020-12-15 2021-03-12 北京百度网讯科技有限公司 Positioning method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566678A (en) * 2009-05-27 2009-10-28 刘建 Method and system for updating ephemeris
US20130099966A1 (en) * 2010-02-19 2013-04-25 Broadcom Corporation Method and system for propagating gnss assistance data among communication devices
CN103675877A (en) * 2012-09-21 2014-03-26 东莞市泰斗微电子科技有限公司 Scenic spot navigation system
CN104581931A (en) * 2013-10-21 2015-04-29 中兴通讯股份有限公司 Positioning method, device and terminal
CN105334497A (en) * 2014-06-30 2016-02-17 奇点新源国际技术开发(北京)有限公司 Three-dimensional positioning method and device
CN105578404A (en) * 2014-10-17 2016-05-11 中兴通讯股份有限公司 Positioning method and corresponding terminal and system
CN106535325A (en) * 2016-11-22 2017-03-22 广东小天才科技有限公司 Positioning method and device and information processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566678A (en) * 2009-05-27 2009-10-28 刘建 Method and system for updating ephemeris
US20130099966A1 (en) * 2010-02-19 2013-04-25 Broadcom Corporation Method and system for propagating gnss assistance data among communication devices
CN103675877A (en) * 2012-09-21 2014-03-26 东莞市泰斗微电子科技有限公司 Scenic spot navigation system
CN104581931A (en) * 2013-10-21 2015-04-29 中兴通讯股份有限公司 Positioning method, device and terminal
CN105334497A (en) * 2014-06-30 2016-02-17 奇点新源国际技术开发(北京)有限公司 Three-dimensional positioning method and device
CN105578404A (en) * 2014-10-17 2016-05-11 中兴通讯股份有限公司 Positioning method and corresponding terminal and system
CN106535325A (en) * 2016-11-22 2017-03-22 广东小天才科技有限公司 Positioning method and device and information processing method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447546A (en) * 2019-03-01 2020-07-24 维沃移动通信有限公司 Control method and communication unit for location service
CN110324780A (en) * 2019-06-24 2019-10-11 诺领科技(南京)有限公司 GNSS localization method and device is simplified for internet-of-things terminal
CN110366233A (en) * 2019-06-24 2019-10-22 诺领科技(南京)有限公司 A kind of low power targeting methods and device for Internet of Things
CN110324780B (en) * 2019-06-24 2021-07-13 诺领科技(南京)有限公司 Simplified GNSS positioning method and device for terminal of Internet of things
CN112292615A (en) * 2019-10-29 2021-01-29 深圳市大疆创新科技有限公司 Positioning method and device of movable platform and movable platform
WO2021081773A1 (en) * 2019-10-29 2021-05-06 深圳市大疆创新科技有限公司 Movable platform positioning method and device, and movable platform
CN111132308A (en) * 2019-12-19 2020-05-08 杭州数梦工场科技有限公司 Mobile terminal positioning method and device
CN111132031A (en) * 2019-12-27 2020-05-08 永安行科技股份有限公司 Equipment scanning method and device
CN111756927A (en) * 2020-06-23 2020-10-09 广东小天才科技有限公司 Output method of positioning information, terminal equipment and storage medium
CN112492520A (en) * 2020-12-15 2021-03-12 北京百度网讯科技有限公司 Positioning method, device, equipment and storage medium
CN112285743A (en) * 2020-12-28 2021-01-29 诺领科技(南京)有限公司 Cloud positioning system and method based on NB-IoT and Beidou

Similar Documents

Publication Publication Date Title
CN109379715A (en) A kind of localization method of positioning terminal, device and calculate equipment
EP3028059B1 (en) Method and apparatus for determining quality of radio maps
CN104604198B (en) A kind of method and apparatus for being used to provide location Based service
CN109379776A (en) A kind of Internet of Things localization method, device and calculate equipment
US9369931B2 (en) Method and radio access node for incorporating a moving cell in a wireless communication network
CN105431747B (en) The method and apparatus classified to the access point in radio map
CN102929669B (en) A kind of embedded software upgrade method, system and device
KR20150060840A (en) Techniques for faster time-to-first-fix
CN105391506B (en) Onboard wireless communicating terminal emulation test method and system
EP3028060B1 (en) Method and apparatus for updating radio maps
US20170126556A1 (en) Information transmission method and apparatus, device and storage medium
CN104869019A (en) Feedback method and apparatus for positioning faults, and server
CN103969670A (en) Mobile terminal satellite positioning method and mobile network terminal
CN103024717B (en) There is wireless location system and the searching method thereof of active searching function
WO2022085315A1 (en) Radio map generation device, radio map provision device, radio map acquisition and utilization device, and probe information transmission device
CN114786192A (en) Beam selection method, access network equipment and storage medium
CN106165507B (en) Positioning method and device
CN105408761B (en) The method and apparatus for effectively reducing number of access point in radio map
CN105843635A (en) Application localized installation method and apparatus of Android device
JP2019135817A (en) Information processing device and program
WO2015010976A1 (en) Method and apparatus for associating information with access points with compressed identifiers
JP4876140B2 (en) Wireless communication terminal and cell list creation method
CN110708657A (en) Wireless access point connection method and device for mobile terminal
CN106339797A (en) Point inspection data processing method and device
CN110248371A (en) A kind of data processing method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190222