CN109239749A - Localization method, terminal and computer readable storage medium - Google Patents
Localization method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109239749A CN109239749A CN201810965732.2A CN201810965732A CN109239749A CN 109239749 A CN109239749 A CN 109239749A CN 201810965732 A CN201810965732 A CN 201810965732A CN 109239749 A CN109239749 A CN 109239749A
- Authority
- CN
- China
- Prior art keywords
- positioning
- duration
- noise ratio
- signal
- satellite
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000004807 localization Effects 0.000 title claims abstract description 41
- 238000007619 statistical method Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 7
- 230000000875 corresponding effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000005611 electricity Effects 0.000 description 4
- 239000002699 waste material Substances 0.000 description 3
- 230000002596 correlated effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/42—Determining position
Abstract
The invention discloses a kind of localization method, terminal and computer readable storage mediums.For localization method comprising steps of in no-fix success, acquisition has positioned duration, and judges to have positioned whether duration is greater than or equal to the first preset duration;When having positioned duration more than or equal to the first preset duration, the signal-to-noise ratio of the satellite found is obtained;Judge whether signal-to-noise ratio is greater than or equal to predetermined number greater than the number of satellites of preset threshold;When the number of satellites that signal-to-noise ratio is greater than preset threshold is less than predetermined number, terminate positioning.In technical solution of the present invention, by when positioning time reaching the success of the first preset duration no-fix, signal-to-noise ratio is judged greater than whether the number of satellites of preset threshold is greater than or equal to predetermined number to determine whether to terminate positioning, when the number of satellites that signal-to-noise ratio is greater than preset threshold is less than predetermined number, terminate positioning, avoiding long-time from positioning unsuccessful power consumption excessively causes terminal short cruise duration.
Description
Technical field
The present invention relates to GPS positioning field more particularly to a kind of localization methods, terminal and computer readable storage medium.
Background technique
Conventional positioners are directed to the scene of GPS positioning, and in position fixing process, a fixed time-out time is usually arranged,
Terminate to position when positioning time being more than time-out time.This meeting is so that under certain conditions, due to dtr signal, positioning is successful
Possibility very little, but be still always maintained at positioning just terminates to position up to reaching time-out time, wastes the electricity of GPS locator
Amount, causes GPS locator short cruise duration.
Summary of the invention
The main purpose of the present invention is to provide a kind of localization method, terminal and computer readable storage medium and computers
Readable storage medium storing program for executing, it is intended to solve to position unsuccessful power consumption for a long time excessively and cause short technical problem in locator cruise duration.
To achieve the above object, the present invention provides a kind of localization method, comprising steps of
In no-fix success, the positioning duration of this positioning is obtained, and judges to have positioned whether duration is greater than or waits
In the first preset duration;
It is described positioned duration more than or equal to the first preset duration when, obtain the signal-to-noise ratio of the satellite found;
Judge whether signal-to-noise ratio is greater than or equal to predetermined number greater than the number of satellites of preset threshold;
When the number of satellites that the signal-to-noise ratio is greater than the preset threshold is less than the predetermined number, terminate positioning.
Preferably, it is described judge signal-to-noise ratio be greater than preset threshold number of satellites whether be greater than or equal to predetermined number it
Before, the localization method further comprises the steps of:
It obtains the current power consumption level of the terminal and the current power consumption level is uploaded to server;
The server is received according to the pre- of the current power consumption level, continuation of the journey duration and first preset duration determination
If threshold value and predetermined number.
Preferably, before the step of signal-to-noise ratio for obtaining the satellite found, the localization method is further comprised the steps of:
Receive the first preset duration that server is determined according to default continuation of the journey duration.
Preferably, the localization method further comprises the steps of:
When the number of satellites that the signal-to-noise ratio is greater than the preset threshold is greater than or equal to the predetermined number, it is fixed to continue
Position.
Preferably, after described the step of continuing positioning, the localization method is further comprised the steps of:
Judge whether to position successfully;
If not positioning success, reacquires and positioned duration and judged to have positioned whether duration is greater than or equal to second
Preset duration, second preset duration are greater than first preset duration;
When having positioned duration more than or equal to second preset duration, terminate positioning.
Preferably, the localization method further comprises the steps of:
On the signal-to-noise ratio for the satellite found that each history is positioned, the positioning result and positioning time of each history positioning
Server is reached, so that the relationship between the signal-to-noise ratio for the satellite that server analysis is found, positioning time and positioning result.
Preferably, the positioning result that the signal-to-noise ratio of the satellite found that each history is positioned, each history position
It is uploaded to server with positioning time, so that the signal-to-noise ratio for the satellite that server analysis is found, positioning time and positioning result
Between relationship the step of include:
On the signal-to-noise ratio for the satellite found that each history is positioned, the positioning result and positioning time of each history positioning
Server is reached, so that the server passes through statistics according to the signal-to-noise ratio of the satellite found in multiple bearing, positioning time
Method obtains the successful probability of positioning corresponding with the signal-to-noise ratio of satellite and positioning time that find.
Preferably, described in no-fix success, the positioning duration of this positioning is obtained, and judge that having positioned duration is
Before no the step of being greater than or equal to the first preset duration, the localization method is further comprised the steps of:
Downloading auxiliary global satellite positioning system ephemeris and the longitude and latitude for obtaining current city;
The location information of search and orientation satellite and the satellite found with acquisition;
According to the auxiliary global satellite positioning system ephemeris, the current city longitude and latitude and it is described found defend
The location information of star is positioned.
The present invention also provides a kind of terminal, the terminal includes processor, memory and is stored on the memory
And the finder that can be executed by the processor, wherein realization is such as taken up an official post when the finder is executed by the processor
The step of localization method described in one.
The present invention also provides a kind of computer readable storage medium, positioning is stored on the computer readable storage medium
Program, wherein realizing the step of as above described in any item family end locating methods when family end finder is executed by processor
Suddenly.
In technical solution of the present invention, in no-fix success, the positioning duration of this positioning is obtained, and judge to have positioned
Whether duration is greater than or equal to the first preset duration;It is described positioned duration more than or equal to the first preset duration when, obtain
The signal-to-noise ratio of the satellite found;Judge whether signal-to-noise ratio is greater than or equal to predetermined number greater than the number of satellites of preset threshold;
When the number of satellites that the signal-to-noise ratio is greater than preset threshold is less than predetermined number, terminate positioning.By being reached in positioning time
When the first preset duration, judge signal-to-noise ratio is greater than whether the number of satellites of preset threshold is greater than or equal to predetermined number to determine
No end positioning, when the number of satellites that signal-to-noise ratio is greater than preset threshold is less than predetermined number, it is lower to position successful probability, knot
Shu Dingwei, avoiding long-time from positioning unsuccessful power consumption excessively causes terminal short cruise duration.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of terminal involved in the embodiment of the present invention;
Fig. 2 is the flow diagram of localization method first embodiment of the present invention;
Fig. 3 is the flow diagram of localization method second embodiment of the present invention;
Fig. 4 is the flow diagram of localization method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to localization method be mainly used in terminal, which can be PC, portable computer, shifting
Dynamic terminal etc. has the terminal of display and processing function.
Referring to Fig.1, Fig. 1 is terminal structure schematic diagram involved in the embodiment of the present invention.In the embodiment of the present invention, eventually
End may include processor 1001 (such as CPU), communication bus 1002, user interface 1003, network interface 1004, memory
1005.Wherein, communication bus 1002 is for realizing the connection communication between these components;User interface 1003 may include display
Shield (Display), input unit such as keyboard (Keyboard);Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface);Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage, memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of hardware configuration shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of computer readable storage medium may include operation system
System, network communication module and finder.
In Fig. 1, network communication module is mainly used for connecting server, carries out data communication with server;And processor
1001 can call the finder stored in memory 1005, and execute following operation:
In no-fix success, the positioning duration of this positioning is obtained, and judges to have positioned whether duration is greater than or waits
In the first preset duration;
When having positioned duration more than or equal to the first preset duration, the signal-to-noise ratio of the satellite found is obtained;
Judge whether signal-to-noise ratio is greater than or equal to predetermined number greater than the number of satellites of preset threshold;
When the number of satellites that signal-to-noise ratio is greater than preset threshold is less than predetermined number, terminate positioning.
Further, judge whether signal-to-noise ratio is greater than or equal to before predetermined number greater than the number of satellites of preset threshold,
Processor 1001 can call the finder stored in memory 1005, and execute following operation: obtain the current function of terminal
Current power consumption level is simultaneously uploaded to server by consumption grade;
Receive the preset threshold and preset that server is determined according to current power consumption level, continuation of the journey duration and the first preset duration
Number.
Further, before the step of obtaining the signal-to-noise ratio of the satellite found, processor 1001 can call memory
The finder stored in 1005, and execute following operation:
Receive the first preset duration that server is determined according to default continuation of the journey duration.
Further, processor 1001 can call the finder stored in memory 1005, and execute following operation:
When the number of satellites that signal-to-noise ratio is greater than preset threshold is greater than or equal to predetermined number, continue to position.
Further, after the step of continuing positioning, processor 1001 can call the positioning stored in memory 1005
Program, and execute following operation:
Judge whether to position successfully;
If not positioning success, reacquires and positioned duration and judged to have positioned whether duration is greater than or equal to second
Preset duration, the second preset duration are greater than the first preset duration;
When having positioned duration more than or equal to the second preset duration, terminate positioning.
Further, processor 1001 can call the finder stored in memory 1005, and execute following operation:
On the signal-to-noise ratio for the satellite found that each history is positioned, the positioning result and positioning time of each history positioning
Server is reached, so that the relationship between the signal-to-noise ratio for the satellite that server analysis is found, positioning time and positioning result.
Further, the signal-to-noise ratio of the satellite found each history positioned, the positioning of each history positioning result and
Positioning time is uploaded to server so that the signal-to-noise ratio for the satellite that server analysis is found, positioning time and positioning result it
Between relationship the step of include:
On the signal-to-noise ratio for the satellite found that each history is positioned, the positioning result and positioning time of each history positioning
Server is reached, so that server passes through statistical method according to the signal-to-noise ratio of the satellite found in multiple bearing, positioning time
Obtain the successful probability of positioning corresponding with the signal-to-noise ratio of satellite and positioning time that find.
Further, in no-fix success, the positioning duration of this positioning is obtained, and judge whether positioned duration
Before the step of more than or equal to the first preset duration, processor 1001 can call the positioning journey stored in memory 1005
Sequence, and execute following operation:
Downloading auxiliary global satellite positioning system ephemeris and the longitude and latitude for obtaining current city;
The location information of search and orientation satellite and the satellite found with acquisition;
According to auxiliary global satellite positioning system ephemeris, the location information of the longitude and latitude of current city and the satellite found
It is positioned.
Based on the hardware configuration of above-mentioned terminal, each embodiment of localization method of the present invention is proposed.
The present invention provides a kind of localization method.
Referring to Fig. 2, in an embodiment of the present invention, localization method the following steps are included:
S101: in no-fix success, the positioning duration of this positioning is obtained, and judges to have positioned whether duration is greater than
Or it is equal to the first preset duration;
Localization method of the invention can be executed by terminal, and for positioning, terminal is positioned the terminal by GPS.Terminal
It can be but not limited to independent locator, positioning bracelet, mobile phone, tablet computer, laptop etc..Terminal and server it
Between can communicate.In position fixing process, terminal is to position fixing process timing, in no-fix success, real time monitoring positioning duration, and judgement
Whether positioning duration is greater than or equal to the first preset duration.
S102: when having positioned duration more than or equal to the first preset duration, the signal-to-noise ratio of the satellite found is obtained;
The signal-to-noise ratio of each satellite can reflect the signal strength of each satellite.It, can be every by obtaining in no-fix success
The signal-to-noise ratio of a satellite found, determines the signal strength for the satellite that terminal has currently been found, can also be according to terminal currently
The signal-to-noise ratio of the satellite found obtains the successful probability of terminal positioning.
When having positioned duration less than the success of the first preset duration no-fix, continue to position.
S103: judge whether signal-to-noise ratio is greater than or equal to predetermined number greater than the number of satellites of preset threshold;
Preset threshold and predetermined number can be determined by server according to the current power consumption level of terminal.Step S103 it
Before, obtain the current power consumption level of terminal and current power consumption level be uploaded to server, server according to current power consumption level,
Continuation of the journey duration and the first preset duration determine preset threshold and predetermined number, and then terminal receives server according to current power consumption etc.
The preset threshold and predetermined number that grade, continuation of the journey duration and the first preset duration determine.Signal-to-noise ratio is greater than the satellite of preset threshold
Number reactive terminal positions successful probability.Since preset threshold and predetermined number are true according to cruise duration and current power consumption level
It is fixed, when the number of satellites that signal-to-noise ratio is greater than preset threshold is less than predetermined number, then illustrate the successful probability of terminal positioning compared with
It is low, it therefore, executes step S104: terminating positioning, avoid waste terminal power, guarantee the cruise duration of terminal.When signal-to-noise ratio is big
When the number of satellites of preset threshold is greater than or equal to predetermined number, the successful probability of terminal positioning is larger, meets cruise duration
Requirement, then follow the steps S105: continuing to position.
Preset threshold is bigger, predetermined number is more, then it represents that condition is more harsh, and terminal meets signal-to-noise ratio greater than preset threshold
Number of satellites be greater than or equal to predetermined number condition when, the successful probability of terminal positioning is bigger.When continuation of the journey duration it is longer and/
Or the corresponding power consumption of current power consumption level it is lower when, the larger value need to be set by preset threshold, predetermined number is arranged relatively
It is more.In this way terminal meet signal-to-noise ratio greater than preset threshold number of satellites be in or equal to predetermined number condition when, positioning
Successful probability is larger, and terminal is unsatisfactory for signal-to-noise ratio and whether is greater than or equal to predetermined number greater than the number of satellites of preset threshold
When condition, it is smaller to position successful probability, terminates positioning, unsuccessful causes power consumption larger when avoiding terminal from positioning for a long time in this way
Influence cruise duration.
Such as when cruise duration is 10 days, and current power consumption level is battery saving mode, it can set larger for preset threshold
Value, is arranged relatively more, such as set 20 for preset threshold by predetermined number, and predetermined number is set as 5, when terminal electricity
The position time is more than or equal to the success of the first preset time no-fix, and number of satellites of the signal-to-noise ratio found greater than 20 is less than 5
When a, terminate positioning, so that the cruise duration of terminal reaches requirement.Certainly, in other embodiments, preset threshold is not limited to
20, predetermined number is not limited to 5.
It should be noted that being possible to be positioned to when due to only having satellite of the signal-to-noise ratio greater than 10 to be greater than or equal to 4
Function, therefore, preset threshold are greater than or equal to 10, and predetermined number is greater than or equal to 4.
Further, the first preset duration can be set by the user, and can also be determined by server according to continuation of the journey duration, eventually
End receives the first preset duration determined by server according to continuation of the journey duration.Continuation of the journey duration can be set by the user.Continuation of the journey duration is got over
Long, the first preset duration is shorter, that is, the first preset duration and continuation of the journey duration are negatively correlated.When user setting continuation of the journey duration compared with
When long, terminal must reach the continuation of the journey duration of user setting by reducing power consumption, and terminal is to reach first in advance in positioning time
If passing through step S103 when the success of duration no-fix: judging whether signal-to-noise ratio is greater than or waits greater than the number of satellites of preset threshold
In predetermined number come determine whether terminate positioning, therefore, continuation of the journey duration it is longer, the first preset duration is shorter, to execute step in advance
Rapid S103.
In above-mentioned technical proposal, in no-fix success, when obtaining the positioning duration of this positioning, and judging to have positioned
It is long whether to be greater than or equal to the first preset duration;When having positioned duration more than or equal to the first preset duration, acquisition has been found
Satellite signal-to-noise ratio;Judge whether signal-to-noise ratio is greater than or equal to predetermined number greater than the number of satellites of preset threshold;Signal-to-noise ratio
When number of satellites greater than preset threshold is less than predetermined number, terminate positioning.By when positioning time arrival first is default
When long, signal-to-noise ratio is judged greater than whether the number of satellites of preset threshold is greater than or equal to predetermined number to determine whether to terminate to determine
Position, when the number of satellites that signal-to-noise ratio is greater than preset threshold is less than predetermined number, it is lower to position successful probability, terminates positioning,
Avoiding long-time from positioning unsuccessful power consumption excessively causes terminal short cruise duration.
Based on the above embodiment, localization method further comprises the steps of:
On the signal-to-noise ratio for the satellite found that each history is positioned, the positioning result and positioning time of each history positioning
Server is reached, so that the relationship between the signal-to-noise ratio for the satellite that server analysis is found, positioning time and positioning result.
It is corresponding that each history can periodically each of be positioned the signal-to-noise ratio of the satellite found, the positioning of each history by terminal
Positioning result and positioning time are uploaded to server, such as upload once daily, do not need to upload data in real time in this way, reduce eventually
Number of communications between end and server saves electricity, extends cruise duration.Server is according to the satellite found in multiple bearing
Signal-to-noise ratio, positioning time position successfully corresponding with the signal-to-noise ratio of satellite and positioning time found obtained by statistical method
Probability.It can calculate every time when positioning successfully, the summation of the signal-to-noise ratio of the satellite found obtains signal-to-noise ratio summation s, positioning time
For t, the function of s=f (t) is then obtained by statistics,Corresponding positioning when as positioning time t=T
Successful probability.Can be first according to cruise duration, determination meets the successful probability of positioning that cruise duration need to meet, then according to general
Rate passes throughDetermine the first preset duration T1;Further according to successful probability is positioned, pass through s=f (T1) determine
Signal-to-noise ratio summation s determines preset threshold according to the relationship of the degree of reliability of the signal-to-noise ratio of signal and signal, further according to preset threshold
Predetermined number is determined with signal-to-noise ratio summation.
Referring to Fig. 3, based on the above embodiment, localization method further comprises the steps of:
S106: judge whether to position successfully;
Step S106 is executed after step S105.Namely positioning time is greater than or equal to after the first preset duration, after
Continuous positioning, obtains positioning states, judges whether to position successfully.
If positioning successfully, S104 is thened follow the steps: terminating positioning.
S107: it if not positioning success, reacquires and has positioned duration and judged to have positioned whether duration is greater than or waits
In the second preset duration, the second preset duration is greater than the first preset duration;
Although by judging whether signal-to-noise ratio is greater than or equal to predetermined number greater than the number of satellites of preset threshold, to judge
It positions that successful probability obtains the result is that meeting the requirement in load cruise duration, but may also occur positioning for a long time still
Unsuccessful situation is positioned, therefore sets the second preset duration, when positioning duration more than or equal to the second preset duration, is executed
Step S104: terminate positioning.Lead to waste electricity to avoid positioning for a long time unsuccessful, influences to continue a journey.It is small when positioning time
When the second preset duration, continue to position.
Incorporated by reference to Fig. 1 and Fig. 4, based on the above embodiment, before step S101, localization method is further comprised the steps of:
S108: downloading auxiliary global satellite positioning system ephemeris and the longitude and latitude for obtaining current city;
The location information for the satellite that S109: searching and locating satellite and has found with acquisition;
S110: according to the position of auxiliary global satellite positioning system ephemeris, the longitude and latitude of current city and the satellite found
Confidence breath is positioned.
In this way, terminal can realize positioning.Specifically, step S108 is executed before step S101, step S109 and step
Execution can be repeated several times in S110 in position fixing process.
In addition, the present invention also provides a kind of computer readable storage mediums.
Finder is stored on computer readable storage medium of the present invention, it is fixed to be stored on computer readable storage medium
Position program, when wherein finder is executed by processor, realize as above-mentioned any embodiment localization method the step of.
Wherein, finder, which is performed realized method, can refer to each embodiment of localization method of the present invention, this
Place repeats no more.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of localization method is used for terminal positioning, which is characterized in that comprising steps of
In no-fix success, the positioning duration of this positioning is obtained, and judges to have positioned whether duration is greater than or equal to the
One preset duration;
It is described positioned duration more than or equal to the first preset duration when, obtain the signal-to-noise ratio of the satellite found;
Judge whether signal-to-noise ratio is greater than or equal to predetermined number greater than the number of satellites of preset threshold;
When the number of satellites that the signal-to-noise ratio is greater than the preset threshold is less than the predetermined number, terminate positioning.
2. localization method according to claim 1, which is characterized in that the judgement signal-to-noise ratio is greater than the satellite of preset threshold
Whether number is greater than or equal to before predetermined number, and the localization method further comprises the steps of:
It obtains the current power consumption level of the terminal and the current power consumption level is uploaded to server;
Receive the default threshold that the server is determined according to the current power consumption level, continuation of the journey duration and first preset duration
Value and predetermined number.
3. localization method according to claim 2, which is characterized in that the step of the signal-to-noise ratio for obtaining the satellite found
Before rapid, the localization method is further comprised the steps of:
Receive the first preset duration that server is determined according to default continuation of the journey duration.
4. localization method according to claim 1, which is characterized in that the localization method further comprises the steps of:
When the number of satellites that the signal-to-noise ratio is greater than the preset threshold is greater than or equal to the predetermined number, continue to position.
5. localization method according to claim 4, which is characterized in that after described the step of continuing positioning, the positioning
Method further comprises the steps of:
Judge whether to position successfully;
If not positioning success, reacquires and positioned duration and judging and positioned duration whether to be greater than or equal to second default
Duration, second preset duration are greater than first preset duration;
When having positioned duration more than or equal to second preset duration, terminate positioning.
6. localization method according to claim 1-5, which is characterized in that the localization method further comprises the steps of:
The signal-to-noise ratio for the satellite that the positioning of each history is found, the positioning result of each history positioning and positioning time are uploaded to clothes
Business device, so that the relationship between the signal-to-noise ratio for the satellite that server analysis is found, positioning time and positioning result.
7. localization method according to claim 6, which is characterized in that the satellite found for positioning each history
Signal-to-noise ratio, the positioning result of each history positioning and positioning time are uploaded to server, so that defending of finding of server analysis
The step of relationship between the signal-to-noise ratio of star, positioning time and positioning result includes:
The signal-to-noise ratio for the satellite found that each history positions, the positioning result of each history positioning and positioning time are uploaded to
Server, so that the server passes through statistical method according to the signal-to-noise ratio of the satellite found in multiple bearing, positioning time
Obtain the successful probability of positioning corresponding with the signal-to-noise ratio of satellite and positioning time that find.
8. localization method according to claim 1, which is characterized in that it is described in no-fix success, obtain this positioning
Positioning duration, and judge positioned the step of whether duration is greater than or equal to the first preset duration before, the positioning side
Method further comprises the steps of:
Downloading auxiliary global satellite positioning system ephemeris and the longitude and latitude for obtaining current city;
The location information of search and orientation satellite and the satellite found with acquisition;
According to the auxiliary global satellite positioning system ephemeris, the longitude and latitude of the current city and the satellite found
Location information is positioned.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and is stored on the memory simultaneously
The finder that can be executed by the processor, wherein realizing claim 1 when the finder is executed by the processor
The step of to localization method described in any one of 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with positioning journey on the computer readable storage medium
Sequence, wherein realizing the step of localization method described in any item of the claim 1 to 8 when the finder is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810965732.2A CN109239749A (en) | 2018-08-22 | 2018-08-22 | Localization method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810965732.2A CN109239749A (en) | 2018-08-22 | 2018-08-22 | Localization method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109239749A true CN109239749A (en) | 2019-01-18 |
Family
ID=65069195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810965732.2A Pending CN109239749A (en) | 2018-08-22 | 2018-08-22 | Localization method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109239749A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110174691A (en) * | 2019-06-27 | 2019-08-27 | 江苏芯盛智能科技有限公司 | A kind of positioning device, method and computer readable storage medium |
CN111148031A (en) * | 2019-04-24 | 2020-05-12 | 广东小天才科技有限公司 | Method for saving GPS positioning power consumption and wearable device |
CN112046784A (en) * | 2020-09-16 | 2020-12-08 | 南方电网数字电网研究院有限公司 | Unmanned aerial vehicle positioner endurance time analysis method and device and unmanned aerial vehicle positioner |
CN112381126A (en) * | 2020-11-02 | 2021-02-19 | 安徽华米智能科技有限公司 | Indoor and outdoor scene recognition method and device, electronic equipment and storage medium |
CN113534202A (en) * | 2020-04-21 | 2021-10-22 | 深圳市万普拉斯科技有限公司 | Satellite positioning system detection method, device, computer equipment and storage medium |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090102713A1 (en) * | 2006-03-31 | 2009-04-23 | Qinetiq Limited | Geolocation Methods and Apparatus |
CN101598568A (en) * | 2008-06-06 | 2009-12-09 | 佛山市顺德区顺达电脑厂有限公司 | Power control system and method thereof |
CN101999083A (en) * | 2008-05-12 | 2011-03-30 | 高通股份有限公司 | GPS power savings using low power sensors |
US20110309977A1 (en) * | 2010-06-18 | 2011-12-22 | Enfora, Inc. | Power reduction in wireless applications |
CN102368093A (en) * | 2010-06-30 | 2012-03-07 | 株式会社建伍 | Method and apparatus for detecting position |
CN103235323A (en) * | 2013-05-15 | 2013-08-07 | 易讯思创(北京)科技发展有限公司 | Method for reducing power consumption of GPS (Global Positioning System) |
CN104062666A (en) * | 2014-06-25 | 2014-09-24 | 广东欧珀移动通信有限公司 | Method for testing mobile terminal GPS function and device thereof |
CN104822133A (en) * | 2015-04-22 | 2015-08-05 | 广东欧珀移动通信有限公司 | Method and device for controlling positioning mode of intelligent terminal |
CN105142213A (en) * | 2015-07-15 | 2015-12-09 | 腾讯科技(深圳)有限公司 | Positioning method and device |
CN106546999A (en) * | 2016-10-20 | 2017-03-29 | 宇龙计算机通信科技(深圳)有限公司 | The control method of GPS module, control device and terminal |
CN107589822A (en) * | 2017-08-23 | 2018-01-16 | 深圳市沃特沃德股份有限公司 | Electricity-saving control method, device and mobile terminal |
CN108008429A (en) * | 2017-11-22 | 2018-05-08 | 上海斐讯数据通信技术有限公司 | The localization method and system of a kind of intelligent wearable device |
CN108135027A (en) * | 2017-12-22 | 2018-06-08 | 深圳市航天华拓科技有限公司 | Reduce the method and wearable device of wearable device power consumption |
CN108156650A (en) * | 2017-12-13 | 2018-06-12 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and the terminal of locating module |
CN108169775A (en) * | 2017-12-13 | 2018-06-15 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and mobile terminal based on locating module |
WO2018126884A1 (en) * | 2017-01-04 | 2018-07-12 | 中兴通讯股份有限公司 | Power saving method for terminal device and terminal device |
CN108363082A (en) * | 2018-02-02 | 2018-08-03 | 上海康斐信息技术有限公司 | A kind of method and device reducing GPS positioning power consumption |
-
2018
- 2018-08-22 CN CN201810965732.2A patent/CN109239749A/en active Pending
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090102713A1 (en) * | 2006-03-31 | 2009-04-23 | Qinetiq Limited | Geolocation Methods and Apparatus |
CN101999083A (en) * | 2008-05-12 | 2011-03-30 | 高通股份有限公司 | GPS power savings using low power sensors |
CN101598568A (en) * | 2008-06-06 | 2009-12-09 | 佛山市顺德区顺达电脑厂有限公司 | Power control system and method thereof |
US20110309977A1 (en) * | 2010-06-18 | 2011-12-22 | Enfora, Inc. | Power reduction in wireless applications |
CN102368093A (en) * | 2010-06-30 | 2012-03-07 | 株式会社建伍 | Method and apparatus for detecting position |
CN103235323A (en) * | 2013-05-15 | 2013-08-07 | 易讯思创(北京)科技发展有限公司 | Method for reducing power consumption of GPS (Global Positioning System) |
CN104062666A (en) * | 2014-06-25 | 2014-09-24 | 广东欧珀移动通信有限公司 | Method for testing mobile terminal GPS function and device thereof |
CN104822133A (en) * | 2015-04-22 | 2015-08-05 | 广东欧珀移动通信有限公司 | Method and device for controlling positioning mode of intelligent terminal |
CN105142213A (en) * | 2015-07-15 | 2015-12-09 | 腾讯科技(深圳)有限公司 | Positioning method and device |
CN106546999A (en) * | 2016-10-20 | 2017-03-29 | 宇龙计算机通信科技(深圳)有限公司 | The control method of GPS module, control device and terminal |
WO2018072260A1 (en) * | 2016-10-20 | 2018-04-26 | 宇龙计算机通信科技(深圳)有限公司 | Gps module control method and control device, and terminal |
WO2018126884A1 (en) * | 2017-01-04 | 2018-07-12 | 中兴通讯股份有限公司 | Power saving method for terminal device and terminal device |
CN107589822A (en) * | 2017-08-23 | 2018-01-16 | 深圳市沃特沃德股份有限公司 | Electricity-saving control method, device and mobile terminal |
CN108008429A (en) * | 2017-11-22 | 2018-05-08 | 上海斐讯数据通信技术有限公司 | The localization method and system of a kind of intelligent wearable device |
CN108156650A (en) * | 2017-12-13 | 2018-06-12 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and the terminal of locating module |
CN108169775A (en) * | 2017-12-13 | 2018-06-15 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and mobile terminal based on locating module |
CN108135027A (en) * | 2017-12-22 | 2018-06-08 | 深圳市航天华拓科技有限公司 | Reduce the method and wearable device of wearable device power consumption |
CN108363082A (en) * | 2018-02-02 | 2018-08-03 | 上海康斐信息技术有限公司 | A kind of method and device reducing GPS positioning power consumption |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111148031A (en) * | 2019-04-24 | 2020-05-12 | 广东小天才科技有限公司 | Method for saving GPS positioning power consumption and wearable device |
CN111148031B (en) * | 2019-04-24 | 2022-05-03 | 广东小天才科技有限公司 | Method for saving GPS positioning power consumption and wearable device |
CN110174691A (en) * | 2019-06-27 | 2019-08-27 | 江苏芯盛智能科技有限公司 | A kind of positioning device, method and computer readable storage medium |
CN113534202A (en) * | 2020-04-21 | 2021-10-22 | 深圳市万普拉斯科技有限公司 | Satellite positioning system detection method, device, computer equipment and storage medium |
CN112046784A (en) * | 2020-09-16 | 2020-12-08 | 南方电网数字电网研究院有限公司 | Unmanned aerial vehicle positioner endurance time analysis method and device and unmanned aerial vehicle positioner |
CN112046784B (en) * | 2020-09-16 | 2022-04-08 | 南方电网数字电网研究院有限公司 | Unmanned aerial vehicle positioner endurance time analysis method and device and unmanned aerial vehicle positioner |
CN112381126A (en) * | 2020-11-02 | 2021-02-19 | 安徽华米智能科技有限公司 | Indoor and outdoor scene recognition method and device, electronic equipment and storage medium |
CN112381126B (en) * | 2020-11-02 | 2023-11-17 | 安徽华米健康科技有限公司 | Indoor and outdoor scene recognition method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109239749A (en) | Localization method, terminal and computer readable storage medium | |
KR102058947B1 (en) | Mobile terminal and gps engine control method therof | |
CN105718027B (en) | The management method and mobile terminal of background application | |
CN105099870B (en) | A kind of information push method and device | |
CN107678045B (en) | Global positioning system starting method, user terminal and related medium product | |
CN105391562B (en) | Group chat device, method and mobile terminal | |
US8032154B2 (en) | Wireless device | |
EP3598726A1 (en) | Method for adjusting precision level of positioning, device, storage medium and electronic device | |
CN105979095A (en) | Mobile terminal and application power consumption control method | |
CN107066290B (en) | Method and device for starting application according to associated policy | |
CN105306457B (en) | Data buffer storage device and method | |
CN109219953B (en) | Alarm clock reminding method, electronic equipment and computer readable storage medium | |
CN107466008B (en) | Message presentation method of mobile terminal and mobile terminal | |
CN106506858B (en) | Star orbital prediction technique and device | |
CN105843478B (en) | The icon display control method and device of rapid switch | |
CN105897995B (en) | A kind of method and apparatus for adding contact information | |
CN105246023A (en) | Driving assistant starting device and method | |
CN106034069A (en) | Method for controlling push message display and mobile terminal | |
CN105764085A (en) | Abnormal electricity consumption detection method and terminal | |
CN106447741A (en) | Picture automatic synthesis method and system | |
US10088575B2 (en) | Positioning system, positioning apparatus, storage apparatus, and positioning method | |
CN106412255A (en) | Terminal and display method | |
JP2003052064A (en) | Radio communication terminal, computer program and method for transmitting position related information | |
CN106325537A (en) | Information inputting method and device | |
CN105898843B (en) | Network search method and system |
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 | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20231201 |