CN1834685A - Fast starting method of GPS receiver - Google Patents
Fast starting method of GPS receiver Download PDFInfo
- Publication number
- CN1834685A CN1834685A CNA2006100760630A CN200610076063A CN1834685A CN 1834685 A CN1834685 A CN 1834685A CN A2006100760630 A CNA2006100760630 A CN A2006100760630A CN 200610076063 A CN200610076063 A CN 200610076063A CN 1834685 A CN1834685 A CN 1834685A
- Authority
- CN
- China
- Prior art keywords
- gps receiver
- mentioned
- control system
- master control
- execution
- 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
Images
Abstract
The invention relates to a rapid starting method for GPS receiver. It includes the following steps: judging current applying main control system to warm boot or cold boot, if warm boot, do not take any operation; else checking the parameter significance tag in GPS receiver, if it is effective, picking up the location parameter and configuring into GPS receiver; if it is inefficacy, reset GPS receiver and taking cold boot, after working in normal work state, storing the location parameter into non-volatile memory and set the parameter significance tag. The invention could realize rapid boot on middle or low class GPS receiver and improve stability.
Description
Technical field
The present invention relates to the management method of the GPS receiver in GPS (Global Positioning System) (hereinafter to be referred as GPS) application system, relate in particular to the quick start method of a kind of GPS receiver in the GPS fixation application.
Background technology
Present GPS uses more and more wider in people's life, and for example GPS can provide more accurate time, positioning service; In addition, can also realize covering the synchronous of interior clock on a large scale as timing reference input.Such as TD SDMA (Time Division-Synchronous CodeDivision Multiple Access) (hereinafter to be referred as TD-SCDMA) (the 3G mobile communcations system standard of China), personnel hand system (Personal Handyphone System, be called for short PHS) wait mobile communcations system just very high to the requirement of clock synchronization, if clock is asynchronous, system interference will increase, network quality will descend, so GPS provides a kind of method of synchronization easily and accurately.The GPS receiver generally has two kinds of Starting mode, and a kind of is warm start, and a kind of is cold start-up.During cold start-up, there are not information such as year calendar, position, time, ephemeris in the GPS receiver, the using system default information is restarted search, the GPS receiver needs ceaselessly to proofread and correct according to reception information, start slow, the 3D state (at this time GPS has traced into the satellite more than 4, can provide more accurate pulse per second (PPS) to be used for timing reference input) of acquiescence generally is provided, and this time needs 10 to 20 minutes.During warm start, have more complete information such as year calendar, position, time, ephemeris in the GPS receiver, toggle speed is the fastest.For some system, such as the start-up time (entering the time of normal operation state) of the base station system in the TD-SCDMA mobile communcations system, to have a strong impact on the time that enters operation state after base station system powers on the start-up time of GPS receiver, if the start-up time of GPS receiver is long, this will have a strong impact on the time that reenters operation state behind the base station system power interruption recovering, reduce the competitiveness of product in market.
Therefore, general way is to adopt the mode of being equipped with reserve battery for the GPS receiver, make base station system GPS receiver after outage still can preserve its original parameter, base station system re-powers back GPS receiver and can enter desired operating mode very soon like this, thus the start-up time of quickening whole base station system.The conspicuous shortcoming of this way is, needs to be equipped with the high-grade GPS receiver of the parameter in the time of can preserving operate as normal for a long time on the one hand, is equipped with the equipment of special-purpose back-up source perhaps for the GPS receiver, and this certainly will increase system cost; Simultaneously also maintenance cost may be increased, battery will be regularly replaced such as some system that backup battery is installed.And still do not retrieve the technical literature of the quick start method of the relevant GPS of realization receiver up to now.
Summary of the invention
In order to address the above problem, the quick start method that the purpose of this invention is to provide a kind of practicable GPS receiver, it is under the situation that does not increase system cost, GPS application system GPS receiver after re-powering (comprising outage) can be started fast enter desired operating mode (entering the 3D pattern), thereby improved the back restorability fast of restarting of GPS application system, promptly improve the speed that the GPS receiver enters accurate time service, improved product competitiveness simultaneously.
The present invention is mainly by storing (mainly being current location information) to the basic operating conditions of GPS receiver, and in conjunction with suitable flow process control, guarantees that the GPS application system can start fast after system reset.
To achieve these goals, the quick start method of a kind of GPS receiver of the present invention comprises the steps:
After step 1:GPS receiver application master control system (for example GPS receiver master control central processing unit (Central Processing Unit) (hereinafter to be referred as CPU) system) powers on, judge that current application master control system is warm start or cold start-up, if warm start, then execution in step 5; Otherwise execution in step 2;
Step 2: above-mentioned GPS receiver is used master control system and is checked whether the parameter effective marker of GPS receiver in the nonvolatile memory is effective, if having, then execution in step 3; Otherwise, illustrate that it is to start execution in step 4 for the first time that the current GPS receiver is used master control system;
Step 3: above-mentioned GPS receiver is used master control system is taken out above-mentioned GPS receiver from above-mentioned nonvolatile memory location parameter, and it is configured in the above-mentioned GPS receiver, and the GPS receiver just can start fast like this; Execution in step 6 afterwards;
Step 4: above-mentioned GPS receiver is used the master control system above-mentioned GPS receiver that resets, carry out the cold start-up of GPS receiver, and after above-mentioned GPS receiver enters normal operating conditions, the location parameter of this GPS receiver is kept in the above-mentioned nonvolatile memory, and the parameter effective marker of this GPS receiver is set; Execution in step 6 afterwards;
Step 5: above-mentioned GPS receiver is used master control system and is not done any operation, because the normal operating conditions (3D state) that the GPS receiver should keep using master control system before resetting;
Step 6: above-mentioned GPS receiver enters normal operating conditions.
Further, in the above-mentioned steps 1:
After above-mentioned GPS receiver application master control system powered on, when the sign in the reserved memory of the system of being arranged at was initialized as constant A, then current application master control system was warm start; Otherwise current application master control system is cold start-up, and initialization simultaneously is above-mentioned to be masked as above-mentioned constant B.
Further, after above-mentioned receiver application master control system powers on for the first time,
1) sign that will be arranged in the reserved memory of system is initialized as above-mentioned constant B, for example be 0x5555AAAA, wherein this sign is used to judge that the GPS receiver uses the startup type of master control system, and the content in this reserved memory can not change during power-down rebooting in system;
2) after above-mentioned GPS receiver enters normal operating conditions, the location parameter of this receiver is kept in the above-mentioned nonvolatile memory, and the parameter effective marker that this GPS receiver is set is constant B; Wherein test shows that the location parameter of GPS receiver carries out satellite acquisition, position calculation and enters having the greatest impact of 3D working method for the GPS receiver.
Further, in above-mentioned steps 2, when the above-mentioned parameter effective marker was above-mentioned constant B, then this parameter effective marker was effective; Otherwise this parameter effective marker is invalid.
Further, before carrying out above-mentioned steps 1, also comprise:
Steps A 0: after above-mentioned GPS receiver is used master control system and powered on, the timer that duration is C is set, for example duration is the abnormal conditions that 6 minutes timer comes the monitoring GPS receiver to start; Wherein these abnormal conditions are generally that GPS receiver related hardware itself breaks down or variation (for example a GPS base station has been moved to another website from a website) has taken place in the geographic position of system.
Further, above-mentioned steps 6 comprises the steps:
Step 601: behind above-mentioned timer expiry, above-mentioned GPS receiver is used the current state that master control system is checked the GPS receiver, if this GPS receiver has entered normal operating conditions (3D state), then execution in step 602; Otherwise execution in step 603;
Step 602: above-mentioned GPS receiver is used master control system and is not done any processing; Execution in step 604 afterwards;
Step 603: above-mentioned GPS receiver is used the master control system above-mentioned receiver that resets, cold start-up when carrying out fault recovers, and when above-mentioned GPS receiver enters normal operating conditions, upgrading the operational factor of the GPS receiver in the above-mentioned nonvolatile memory, the GPS receiver rapidly starting-up of using after the master control system cold start-up for follow-up GPS receiver uses;
Step 604: finish.
Adopt quick start method of the present invention, use low-cost low and middle-grade GPS receiver just can realize the quick startup in all cases of GPS receiver, can reduce GPS application system cost, improve system performance, improve the reliability of system.
Below in conjunction with accompanying drawing, be described in further detail with the concrete enforcement of preferred embodiment to the method for the invention.For those skilled in the art that, from the detailed description to the inventive method, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Description of drawings
Fig. 1 is for judging the structural representation of GPS receiver master cpu system start-up type.
Fig. 2 is the structural representation of the parameter storage of GPS receiver.
Fig. 3 is the main schematic flow sheet of the quick start method of GPS receiver of the present invention.
Fig. 4 is the flow process control synoptic diagram of the GPS receiver rapidly starting-up of a preferred embodiment of the present invention.
Embodiment
Be described in further detail below in conjunction with the enforcement of the drawings and specific embodiments method of the present invention, but not as a limitation of the invention.
Fig. 1 is for judging the structural representation of GPS receiver master cpu system start-up type.Shown in Fig. 1 and following table 1, this structure mainly comprises a sign, uses this to indicate the startup type of judging GPS receiver master cpu system.This sign is positioned at the fixed address of the reserved memory of system, and reserved memory can not operated by the master cpu system in system's power up, so the content of system this address under not power down warm start situation will remain unchanged.Wherein, judge that the method that starts type is such, this sign is 0x5555AAAA if the master cpu system powers on the back, illustrates that this master cpu system is not power down warm start; If this sign is not 0x5555AAAA, illustrate that this master cpu system is the power down cold start-up, at this moment this is masked as constant 0x5555AAAA and is provided with the back and starts type and judge and use to want initialization.
Table 1
The territory | Length | Describe |
Start type code | 4 | Be used to indicate the startup type of GPS receiver master cpu system, the warm start of constant 0x5555AAAA sign non-power-failure, other numeric representation power down cold start-ups. |
Keep | 12 | Keep, do not use. |
Fig. 2 is the structural representation of the parameter storage of GPS receiver, this structure is arranged in nonvolatile memory (generally being FLASH or Electrically Erasable Read Only Memory (ElectricallyErasable Programmable Read-Only Memory is called for short EEPROM)).As shown in Figure 2, some parameter informations when it is mainly used to preserve the GPS receiver and enters normal mode can quicken the satellite acquisition and the position location computation of GPS receiver.Its information spinner that comprises is as shown in table 2, mainly comprises the parameter effective marker of GPS receiver and the location parameter of GPS receiver.
Wherein the parameter effective marker is used for indicating whether the parameter current memory block stores the effective GPS receiver parameters.The parameter information that system powered on and all can upgrade the GPS receiver after abnormality processing was carried out the cold start-up of GPS receiver the first time is provided with this simultaneously and is masked as constant 0x5555AAAA, comes flags parameters district information effective.Other value representation parameter region information are invalid.
Table 2
The territory | Length (byte) | Describe |
The parameter effective marker | 4 | Be used to indicate whether the parameter of GPS receiver is effective. |
Longitude information | 4 | GPS receiver longitude information |
Latitude information | 4 | GPS receiver latitude information |
Keep | 20 | Keep, do not use, be provided with the back expansion. |
Fig. 3 is the main schematic flow sheet of the quick start method of GPS receiver of the present invention.Fig. 4 is the flow process control synoptic diagram of the GPS receiver rapidly starting-up of a preferred embodiment of the present invention.Describe below in conjunction with embodiment.
Embodiments of the invention are the fixation application at GPS, and shown in Fig. 3 and 4, it specifically comprises the steps:
A duration after powering on, steps A 10:GPS receiver master cpu system be set be the abnormal conditions that 6 minutes timer comes the monitoring GPS receiver to start;
Steps A 20: the startup type of current C PU system is judged at the back that powers on by above-mentioned GPS receiver master cpu system; From reserved memory, read the electrifying startup type code, if this sign is 0x5555AAAA then does not do any operation, direct execution in step A60 (warm start), otherwise execution in step A30 (cold start-up);
Steps A 30: whether the parameter effective marker of the GPS receiver in the above-mentioned GPS receiver master cpu systems inspection nonvolatile memory is effective, if the parameter effective marker of GPS receiver is 0x5555AAAA, the parameter that the GPS receiver is described is effective, then execution in step A40; If the parameter effective marker of GPS receiver is not 0x5555AAAA, illustrate that the parameter of GPS receiver is invalid, then execution in step A50;
Steps A 40: the above-mentioned GPS receiver master cpu system GPS receiver that in GPS receiver initialization flow process, resets, carry out the cold start-up of GPS receiver, take out the location parameter of GPS receiver simultaneously and be configured in the GPS receiver and search star and position fixing process, execution in step A60 then with acceleration;
Steps A 50: the above-mentioned GPS receiver master cpu system GPS receiver that in GPS receiver initialization flow process, resets, carry out the cold start-up of GPS receiver, location parameter with the GPS receiver after the GPS receiver enters the 3D state is kept in the nonvolatile memory, and the parameter effective marker of GPS receiver is set;
Steps A 60: behind the timer expiry that steps A 10 is provided with, the current state of above-mentioned GPS receiver master cpu systems inspection GPS receiver if the GPS receiver has entered normal operating conditions, is not then done any processing; Otherwise the GPS receiver that resets, the cold start-up when carrying out fault recovers; When the GPS receiver enters normal operating conditions, upgrade the operational factor of the GPS receiver in the nonvolatile memory simultaneously, use for the quick startup of the GPS receiver after the follow-up cpu system cold start-up.
Use this method, the GPS receiver for low and middle-grade can use when warm start immediately, just can enter normal operating conditions within 3 minutes when cold start-up.
Adopt quick start method of the present invention, use low-cost low and middle-grade GPS receiver just can realize the quick startup in all cases of GPS receiver, can reduce GPS application system cost, improve system performance, the reliability of raising system, thus the competitiveness of product in market improved.
More than describe principle of work of the present invention in detail, but the example of this imagery of just lifting for the ease of understanding should not be considered to be limitation of the scope of the invention.Equally; the ordinary skill of technical field all can be according to the description of technical scheme of the present invention and preferred embodiment thereof under any; make various possible being equal to and change or replacement, but all these changes or replacement all should belong to the protection domain of claim of the present invention.
Claims (6)
1, a kind of quick start method of GPS receiver is characterized in that comprising the steps:
Step 1: after GPS receiver application master control system powers on, judge that current application master control system is warm start or cold start-up, if warm start, then execution in step 5; Otherwise execution in step 2;
Step 2: above-mentioned GPS receiver is used master control system and is checked whether the parameter effective marker of GPS receiver in the nonvolatile memory is effective, if having, then execution in step 3; Otherwise execution in step 4;
Step 3: above-mentioned GPS receiver is used master control system and take out the location parameter of above-mentioned GPS receiver from above-mentioned nonvolatile memory, and it is configured in the above-mentioned GPS receiver; Execution in step 6 afterwards;
Step 4: above-mentioned GPS receiver is used the master control system above-mentioned GPS receiver that resets, carry out the cold start-up of GPS receiver, and after above-mentioned GPS receiver enters normal operating conditions, the location parameter of this GPS receiver is kept in the above-mentioned nonvolatile memory, and the parameter effective marker of this GPS receiver is set; Execution in step 6 afterwards;
Step 5: above-mentioned GPS receiver is used master control system and is not done any operation;
Step 6: above-mentioned GPS receiver enters normal operating conditions.
2, quick start method according to claim 1 is characterized in that in above-mentioned steps 1:
After above-mentioned GPS receiver application master control system powered on, when the sign in the reserved memory of the system of being arranged at was initialized as constant A, then current application master control system was warm start; Otherwise current application master control system is cold start-up, and initialization simultaneously is above-mentioned to be masked as above-mentioned constant B.
3, quick start method according to claim 2 is characterized in that after above-mentioned GPS receiver application master control system powers on for the first time,
1) sign that will be arranged in the reserved memory of system is initialized as above-mentioned constant B;
2) after above-mentioned GPS receiver enters normal operating conditions, the location parameter of this GPS receiver is kept in the above-mentioned nonvolatile memory, and the parameter effective marker that this GPS receiver is set is constant B.
4, quick start method according to claim 3 is characterized in that in above-mentioned steps 2, and when the above-mentioned parameter effective marker was above-mentioned constant B, then this parameter effective marker was effective; Otherwise this parameter effective marker is invalid.
5, quick start method according to claim 4 is characterized in that also comprising before carrying out above-mentioned steps 1:
Steps A 0: after above-mentioned GPS receiver application master control system powers on, the timer that duration is C is set.
6, quick start method according to claim 5 is characterized in that above-mentioned steps 6 comprises the steps:
Step 601: behind above-mentioned timer expiry, above-mentioned GPS receiver is used the current state that master control system is checked GPS receiver, if this GPS receiver has entered normal operating conditions, then execution in step 602; Otherwise execution in step 603;
Step 602: above-mentioned GPS receiver is used master control system and is not done any processing; Execution in step 604 afterwards;
Step 603: above-mentioned GPS receiver is used the master control system above-mentioned GPS receiver that resets, cold start-up when carrying out fault recovers, and upgrades the operational factor of the GPS receiver in the above-mentioned nonvolatile memory when above-mentioned GPS receiver enters normal operating conditions;
Step 604: finish.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100760630A CN1834685A (en) | 2006-04-25 | 2006-04-25 | Fast starting method of GPS receiver |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100760630A CN1834685A (en) | 2006-04-25 | 2006-04-25 | Fast starting method of GPS receiver |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1834685A true CN1834685A (en) | 2006-09-20 |
Family
ID=37002506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006100760630A Pending CN1834685A (en) | 2006-04-25 | 2006-04-25 | Fast starting method of GPS receiver |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1834685A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101916201A (en) * | 2010-08-06 | 2010-12-15 | 中兴通讯股份有限公司 | Android-based mobile terminal cold-boot method and device |
CN101424732B (en) * | 2007-10-31 | 2011-08-17 | 中国科学院微电子研究所 | Receiver rapidly starting-up and positioning method in global positioning system |
CN101424731B (en) * | 2007-10-31 | 2011-11-23 | 中国科学院微电子研究所 | Rapidly recapturing and positioning method under receiver signal deletion condition of global positioning system |
CN101424736B (en) * | 2007-10-31 | 2011-11-23 | 中国科学院微电子研究所 | Receiver rapidly starting-up and positioning method in global positioning system |
CN101446635B (en) * | 2007-11-28 | 2012-01-04 | 中国科学院微电子研究所 | Super low-power-consumption low-cost GPS chip framework for mobile facility |
CN102565823A (en) * | 2011-12-15 | 2012-07-11 | 深圳市中兴移动通信有限公司 | Quick starting method of GPS (Global Position System) receiver and cooperative GPS receiver system |
CN102692632A (en) * | 2011-03-23 | 2012-09-26 | 中国科学院微电子研究所 | Method for eliminating ambiguity in satellite positioning system receiver positioning process and device thereof |
CN101493513B (en) * | 2008-01-22 | 2012-11-07 | 深圳市莱科电子技术有限公司 | Rapid positioning system based on local process of satellite information |
-
2006
- 2006-04-25 CN CNA2006100760630A patent/CN1834685A/en active Pending
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101424732B (en) * | 2007-10-31 | 2011-08-17 | 中国科学院微电子研究所 | Receiver rapidly starting-up and positioning method in global positioning system |
CN101424731B (en) * | 2007-10-31 | 2011-11-23 | 中国科学院微电子研究所 | Rapidly recapturing and positioning method under receiver signal deletion condition of global positioning system |
CN101424736B (en) * | 2007-10-31 | 2011-11-23 | 中国科学院微电子研究所 | Receiver rapidly starting-up and positioning method in global positioning system |
CN101446635B (en) * | 2007-11-28 | 2012-01-04 | 中国科学院微电子研究所 | Super low-power-consumption low-cost GPS chip framework for mobile facility |
CN101493513B (en) * | 2008-01-22 | 2012-11-07 | 深圳市莱科电子技术有限公司 | Rapid positioning system based on local process of satellite information |
CN101916201A (en) * | 2010-08-06 | 2010-12-15 | 中兴通讯股份有限公司 | Android-based mobile terminal cold-boot method and device |
WO2012016393A1 (en) * | 2010-08-06 | 2012-02-09 | 中兴通讯股份有限公司 | Method and device for cold starting android mobile terminal |
CN101916201B (en) * | 2010-08-06 | 2015-05-27 | 中兴通讯股份有限公司 | Android-based mobile terminal cold-boot method and device |
US9317299B2 (en) | 2010-08-06 | 2016-04-19 | Zte Corporation | Method and device for cold starting android mobile terminal |
CN102692632A (en) * | 2011-03-23 | 2012-09-26 | 中国科学院微电子研究所 | Method for eliminating ambiguity in satellite positioning system receiver positioning process and device thereof |
CN102565823A (en) * | 2011-12-15 | 2012-07-11 | 深圳市中兴移动通信有限公司 | Quick starting method of GPS (Global Position System) receiver and cooperative GPS receiver system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1834685A (en) | Fast starting method of GPS receiver | |
CN102024502B (en) | Flash device testing method and device as well as board and network equipment | |
EP2581826B1 (en) | Method and device for cold starting android mobile terminal | |
CN101551780B (en) | Television and data storage method and device thereof | |
DK1882310T3 (en) | VEHICLE LOCATION UNIT WITH IMPROVED POWER MANAGEMENT PROCEDURE | |
US8886870B2 (en) | Memory access table saving and restoring system and methods | |
JP5012017B2 (en) | Embedded device and control method | |
US7058755B2 (en) | EEPROM emulation in flash memory | |
CN100543693C (en) | Power-on self-detection method | |
CN1898642A (en) | Method and apparatus for remote modifcation of system configuration | |
CN102023876A (en) | Embedded system capable of upgrading software on line and online upgrading method | |
US20060098512A1 (en) | Electronic apparatus | |
CN101334751B (en) | Method and device for virtual machine monitor recognizing client operating system progress | |
CN101620460A (en) | Computer system dormancy method and computer system | |
CN104536841B (en) | A kind of android system Data subregions self-repair method and system | |
CN105279046A (en) | Method for improving reliability of embedded system | |
CN101730204A (en) | Method for controlling working state of positioning module and mobile terminal thereof | |
JP2012058879A (en) | Operating system boot management device | |
CN103460149A (en) | Radio-wave wristwatch | |
CN111767172A (en) | Self-repairing method for set top box based on watchdog and bootloader | |
CN103927145B (en) | System hibernating and awakening method and device based on hybrid memory | |
CN102880494A (en) | Local code updating method and local code updating system for micro-satellite system | |
CN110928726A (en) | Embedded system self-recovery method and system based on watchdog and PXE | |
CN115202579A (en) | Memory data storage method and system | |
EP2667309A1 (en) | Memory management method, memory management device and memory management circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20060920 |