Invention content
An embodiment of the present invention provides a kind of satellite navigation message processing method and GPS receiver, solve the prior art
The frame synchronization time is longer during middle receiver obtains satellite navigation message, to make time of reception complete satellite almanac compared with
It is long, cause the latency issue of the primary positioning time of GPS receiver, the present invention to effectively increase satellite navigation message frame synchronization
Speed, to accelerate the speed of satellite ephemeris parsing.
A kind of satellite navigation message processing method provided in an embodiment of the present invention, including:
S1:Complete frame synchronization process is carried out to the first satellite that acquisition and tracking arrives;
S2:Word verification alignment frame synchronization process is carried out to the satellite that subsequent captured traces into;
S3:To it is described carry out complete frame synchronization process and the frame word got after verification frame synchronization process into
Row parses and obtains coordinate information.
Preferably,
Further include before the step S1:
The start-up mode for judging the receiver then carries out first satellite successively if cold start-up according to No. PRN
Acquisition and tracking, if warm startup, then according to almanac information to visible first satellite into row major acquisition and tracking.
Preferably,
The complete frame synchronization process is that 8 bit synchronization codes and navigation message word are scanned in the navigation bit received
Checking treatment.
Preferably,
The step S2 is specifically included:
The verification frame that the navigation bit of the satellite traced into subsequent captured scans for the verification of text word successively is same
Step processing;
First satellite or the institute of frame word and the completion complete frame synchronization process to navigation bit described in each
State being handled according to preset text alignment thereof for the satellite of verification frame synchronization process.
Preferably,
The frame word to navigation bit described in each and first satellite for completing the complete frame synchronization process
Or being handled according to preset text alignment thereof for the satellite of the verification frame synchronization process specifically includes:
First satellite for completing the complete frame synchronization process or the verification frame synchronization are determined by modulo operation
The frame word location of the satellite of processing;
Rollback processing is carried out by word according to navigation bit number to the frame word location, the navigation bit number is to complete
The navigation bit number of first satellite of the complete frame synchronization process or the satellite of the verification frame synchronization process.
Preferably,
The step S3 is specifically included:
It is correct to the complete frame synchronization process of the progress and the verification got after verification frame synchronization process
Frame word parsed successively and obtain coordinate information.
A kind of GPS receiver provided in the embodiment of the present invention, including:
First synchronization unit, the first satellite for being arrived to acquisition and tracking carry out complete frame synchronization process;
Second synchronization unit, the satellite for being traced into subsequent captured carry out verification frame synchronization process;
Resolution unit, for carrying out complete frame synchronization process and the acquisition after carrying out verification frame synchronization process to described
To the correct frame word of verification parsed successively and obtain coordinate information.
Preferably,
The GPS receiver further includes:
Pattern determining unit, the start-up mode for judging the receiver, if cold start-up, then successively according to No. PRN
The acquisition and tracking for carrying out first satellite, if warm startup, then according to almanac information to visible first satellite
Into row major acquisition and tracking.
Preferably,
Second synchronization unit specifically includes:
Second synchronizes subelement, and the navigation bit of the satellite traced into subsequent captured for the receiver carries out successively
Search for the verification frame synchronization process of text word verification;
It is aligned subelement, the institute for frame word and the completion complete frame synchronization process to navigation bit described in each
State the first satellite or it is described verification frame synchronization process the satellite according to preset text alignment thereof handle.
Preferably,
The alignment subelement specifically includes:
Computing module, for determining first satellite or the institute that complete the complete frame synchronization process by modulo operation
State the frame word location of the satellite of verification frame synchronization process;
Determining module, for carrying out rollback processing according to navigation bit number word to the frame word location, and determination is worked as
Previous frame word location, the navigation bit number are first satellite for completing the complete frame synchronization process or the verification frame
The navigation bit number of the satellite of synchronization process.
A kind of satellite navigation message processing method and GPS receiver, wherein method provided in the embodiment of the present invention include:
S1:Complete frame synchronization process is carried out to the first satellite that acquisition and tracking arrives;S2:The satellite that subsequent captured traces into is verified
Frame synchronization process;S3:The frame word for carrying out complete frame synchronization process and got after verification frame synchronization process is solved
It analyses and obtains coordinate information.In the present embodiment, by only carrying out complete frame synchronization process to the satellite that first acquisition and tracking arrives,
Again to acquisition and tracking later to satellite carry out verification frame synchronization process, then parse verification it is correct after frame word obtain coordinate information
Design, it is the positioning for the first time for completing GPS receiver to solve in the prior art, at least needs to track and 4 satellites and has carried out
The ephemeris that could start parsing satellite after whole frame synchronization process, so as to cause the delay of the primary positioning time of GPS receiver
Problem, the present invention can accelerate the speed of satellite ephemeris parsing.
Specific implementation mode
PRN is the abbreviation of Pseudo-Random Noise Code (pseudo random noise code), and C/A codes and P codes are pseudo-code,
Ranging code is also known as in GPS navigation system, the pseudo-noise code used in satellite navigation, is the Successful Practice of communication,noise.
An embodiment of the present invention provides a kind of satellite navigation message processing method and GPS receiver, solve the prior art
The frame synchronization time is longer during middle receiver obtains satellite navigation message, to make time of reception complete satellite almanac compared with
It is long, cause the latency issue of the primary positioning time of GPS receiver, the present invention to effectively increase satellite navigation message frame synchronization
Speed, to accelerate the speed of satellite ephemeris parsing.
Referring to Fig. 1, a kind of first embodiment of satellite message processing method in the embodiment of the present invention includes:
S1:Complete frame synchronization process is carried out to the first satellite that acquisition and tracking arrives;
Originally it is in embodiment, when needing to navigate to determine coordinate position to booting, it is necessary first to acquisition and tracking
The first satellite arrived carries out complete frame synchronization process, it should be noted that the complete frame synchronization process of progress above-mentioned can be pair
First satellite that acquisition and tracking arrives is completed in the navigation bit received in the way of searching for 8 bit synchronization codes and word verification
Normal frame synchronization.Acquisition and tracking to first satellite refer to receiver since powering on after traced into working condition
Satellite.
S2:Verification frame synchronization process is carried out to the satellite that subsequent captured traces into;
After the first satellite for arriving acquisition and tracking carries out complete frame synchronization process, need to trace into subsequent captured
Satellite carries out verification frame synchronization process, it is to be understood that the verification frame synchronization process above-mentioned that carries out is to be tracked in subsequent captured
To satellite do frame synchronization when, navigation message word is directly searched in the navigation bit received and carries out the verification of continuous two words,
And the correct position of verification.
S3:The frame word for carrying out complete frame synchronization process and got after verification frame synchronization process is parsed simultaneously
Obtain coordinate information.
After the satellite traced into subsequent captured carries out verification frame synchronization process, need to carrying out at complete frame synchronization
The frame word for managing and carrying out to get after verification frame synchronization process is parsed and obtains coordinate information.
It should be noted that the embodiment of the present invention can be applied to GPS navigation system, it can also equally be applied to China north
The Global Navigation Satellite System (GNSS) such as (BeiDou) system of bucket, Galileo (Galileo) system and GLONASS.
In the present embodiment, by the complete frame synchronization process of satellite progress only arrived to first acquisition and tracking, then to later
Acquisition and tracking to satellite carry out verification frame synchronization process, then parse verification it is correct after frame word obtain the design of coordinate information,
The frame synchronization time is longer during solving receiver acquisition satellite navigation message in the prior art, to make reception complete satellite
The time of ephemeris is longer, and the latency issue of the primary positioning time of GPS receiver, the present invention is caused to effectively increase satellite navigation
The speed of text frame synchronization, to accelerate the speed of satellite ephemeris parsing.
The above is that the process of navigation message processing method is described in detail, and will be traced into below to subsequent captured
The process that satellite carries out verification frame synchronization process is described in detail, referring to Fig. 2, a kind of satellite in the embodiment of the present invention
The second embodiment of navigation message processing method includes:
201, the start-up mode for judging receiver thens follow the steps 202 if cold start-up, if warm startup, then executes step
Rapid 203;
In the present embodiment, when needing to navigate to determine coordinate position to booting, it is necessary first to judge receiver
Start-up mode thens follow the steps 202 if cold start-up, if warm startup, thens follow the steps 203.
202, the acquisition and tracking of satellite is carried out successively according to No. PRN;
When the start-up mode for judging receiver is cold start-up, then the acquisition and tracking of satellite is carried out successively according to No. PRN, it can
With understanding, No. PRN above-mentioned can be for cold start-up due to no any prior information, and GPS receiver for example can be with
It is captured successively from No. PRN for 1 to 32 satellite.
203, according to almanac information to visible satellite into row major acquisition and tracking;
When the start-up mode for judging receiver is warm starts, then according to almanac information to visible satellite into row major
Acquisition and tracking, it should be noted that warm Starting mode since the rough position of satellite can be calculated using almanac information,
It needs to visible satellite into row major acquisition and tracking.
204, complete frame synchronization process is carried out to the first satellite that acquisition and tracking arrives;
In the present embodiment, after the carry out acquisition and tracking of step 202 and 203 pairs of first satellites, it is necessary first to catching
It obtains the first satellite traced into and carries out complete frame synchronization process, it should be noted that the complete frame synchronization process of progress above-mentioned can
To be first satellite arrived to acquisition and tracking, by 8 bit synchronization codes of search and the side of word verification in the navigation bit received
Formula completes normal frame synchronization.Acquisition and tracking to first satellite refer to receiver since powering on after enter working condition institute with
The satellite that track arrives.
It is understood that the blind pattern of catching above-mentioned will be described in detail in subsequent embodiment, it is this time specific
It repeats no more.
205, the navigation bit of the satellite traced into subsequent captured scans for the verification of navigation message word verification successively
Frame synchronization process;
After the first satellite for arriving acquisition and tracking carries out complete frame synchronization process, need to trace into subsequent captured
Satellite carries out verification frame synchronization process, it is to be understood that the verification frame synchronization process above-mentioned that carries out is to be tracked in subsequent captured
To satellite do frame synchronization when, navigation message word is directly searched in the navigation bit received and carries out the verification of continuous two words,
And the correct position of verification.
206, to the first satellite or verification frame synchronization of the frame word of each navigation bit and the complete frame synchronization process of completion
The satellite of processing is handled according to preset text alignment thereof;
After the satellite traced into subsequent captured carries out verification frame synchronization process, need to each navigation bit
Frame word and the first satellite for completing complete frame synchronization process or the satellite for verifying frame synchronization process according to the preset text side of alignment
Formula processing, it should be noted that after navigation message word above-mentioned carries out continuous two words verification, and verification is correct, search
After word verifies correct position, the navigation bit word with the satellite for having completed frame synchronization is needed to be aligned analysis, and determination is worked as
The frame word location of preceding satellite navigation message is to complete frame synchronization, it is to be understood that if currently without the satellite for completing frame synchronization,
204 are thened follow the steps according to complete frame synchronization process, that is, the mode for searching for 8 bit synchronization codes and verification is completed at normal frame synchronization
Reason.
It should be noted that please referring to shown in Fig. 3, preset text alignment thereof processing procedure above-mentioned is as follows:
A) the first satellite above-mentioned for completing complete frame synchronization process or the satellite of verification frame synchronization process, it is assumed that receiver
The subframe numbers of some current satellite that frame synchronization process is completed are F, and font size is W, the navigation bit number of reception in subframe
For M, 30 navigation bits in GPS navigation message are a word, wherein each subframe includes 10 words, and therefore, which works as
Preceding frame word location calculating process is as follows:
A, W=W+M/30;
B, F=F+W/10;
C, W=W%10;
D, F=F%5;
Modulo operation is done in % expressions above-mentioned ,/indicate division arithmetic, the integer part (similarly hereinafter) of quotient is only taken here.
B it) is determined according to the frame word location of some satellite that frame synchronization process is completed and currently needs to carry out frame synchronization
The frame word specific location of satellite emits synchronism principle, it may be determined that currently wait for frame synchronization satellite institute according to satellite navigation message
Frame word location be 1. in F the and W values that are calculated.
C) calculating currently needs the satellite word for carrying out frame synchronization to verify the frame word specific location correctly put.Assuming that currently from
One word verifies correct position and starts, and receiver has received that N number of navigation bit, then complete word number can indicate
For:
N=N/30;
Therefore, the N number of word of F and W values rollback calculated from A, as currently needs frame synchronization satellite word to verify correct point
Frame word where specific location, frame synchronizing process complete.
207, the frame word for carrying out complete frame synchronization process and got after verification frame synchronization process is parsed
And obtain coordinate information.
After the satellite traced into subsequent captured carries out verification frame synchronization process, need to carrying out at complete frame synchronization
The frame word for managing and carrying out to get after verification frame synchronization process is parsed and obtains coordinate information.
It should be noted that this embodiment of the present invention can be applied to GPS navigation system, it can also equally be applied to China
The Global Navigation Satellite System (GNSS) such as the Big Dipper (BeiDou) system, Galileo (Galileo) system and GLONASS.
In the present embodiment, by the complete frame synchronization process of satellite progress only arrived to first acquisition and tracking, then to later
It obtains the satellite traced into and carries out verification frame synchronization process, and operation is carried out to the frame word location of subsequent satellite and obtains accurate location
Information, then the design that the frame word after verification correctly obtains coordinate information is parsed, it solves receiver in the prior art and obtains satellite
The frame synchronization time is longer during navigation message, to keep the time of reception complete satellite almanac longer, leads to GPS receiver
The latency issue of primary positioning time, the present invention effectively increase the speed of satellite navigation message frame synchronization, are defended to accelerate
Star goes through the speed of parsing.
Referring to Fig. 4, a kind of one embodiment of the GPS receiver provided in the embodiment of the present invention includes:
First synchronization unit 401, the first satellite for being arrived to acquisition and tracking carry out complete frame synchronization process;
Second synchronization unit 402, the satellite for being traced into subsequent captured carry out verification frame synchronization process;
Resolution unit 403, for carrying out complete frame synchronization process and carrying out what verification frame synchronization process was got later
Correct frame word is verified to be parsed successively and obtain coordinate information.
In the present embodiment, it is same that whole frame is only carried out to the satellite that first acquisition and tracking arrives by the first synchronization unit 401
Step processing, the second synchronization unit 402 carry out verification frame synchronization process to obtaining the satellite traced into later again, and resolution unit 403 is again
Frame word after parsing verification is correct obtains the design of coordinate information, solves receiver in the prior art and obtains satellite navigation message
The frame synchronization time is longer in the process, to keep the time of reception complete satellite almanac longer, leads to the positioning for the first time of GPS receiver
The latency issue of time, the present invention effectively increase the speed of satellite navigation message frame synchronization, to accelerate satellite ephemeris solution
The speed of analysis.
The above is that each unit of GPS receiver is described in detail, below will be to each of the second synchronization unit
Subelement is described in detail, referring to Fig. 5, a kind of one embodiment of the GPS receiver provided in the embodiment of the present invention
Including:
Pattern determining unit 501, the start-up mode for judging receiver, if cold start-up, then according to No. PRN successively into
The acquisition and tracking of first satellite of row, if warm startup, then according to almanac information to visible first satellite into row major
Acquisition and tracking.
First synchronization unit 502, the first satellite for being arrived to acquisition and tracking carry out complete frame synchronization process;
Second synchronization unit 503, the satellite for being traced into subsequent captured carry out verification frame synchronization process;
Wherein, the second synchronization unit 503 can further include:
Second synchronizes subelement 5031, and the navigation bit of the satellite traced into subsequent captured for receiver carries out successively
Search for the verification frame synchronization process of text word verification;
It is aligned subelement 5032, is defended with the first of the complete frame synchronization process of completion for the frame word to each navigation bit
Star or verify frame synchronization process satellite according to preset text alignment thereof handle;
Alignment subelement 5032 can further include:
Computing module 5032a, for determining the first satellite or the verification of completing complete frame synchronization process by modulo operation
The frame word location of the satellite of frame synchronization process;
Determining module 5032b, for carrying out rollback processing according to navigation bit number word to frame word location, and determination is worked as
Previous frame word location, navigation bit number are the first satellite for completing complete frame synchronization process or the satellite for verifying frame synchronization process
Navigation bit number.
Resolution unit 504, for carrying out complete frame synchronization process and carrying out what verification frame synchronization process was got later
Correct frame word is verified to be parsed successively and obtain coordinate information.
In the present embodiment, it is same that whole frame is only carried out to the satellite that first acquisition and tracking arrives by the first synchronization unit 502
Step processing, the second synchronization subelement 5031 carry out verification frame synchronization process to obtaining the satellite traced into later again, are aligned subelement
5032 and to the frame word location of subsequent satellite carry out operation obtain accurate location information, resolution unit 504 parsing again verification just
Frame word after really obtains the design of coordinate information, and frame is same during solving receiver acquisition satellite navigation message in the prior art
The step time is longer, to keep the time of reception complete satellite almanac longer, leads to the delay of the primary positioning time of GPS receiver
Problem, the present invention effectively increase the speed of satellite navigation message frame synchronization, to accelerate the speed of satellite ephemeris parsing.
The professional technician of fields can be understood that, for convenience and simplicity of description, foregoing description
The specific work process of system, apparatus, and unit, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous herein
It states.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit,
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be with
In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, and be shown as unit
Component may or may not be physical unit, you can be located at a place, or may be distributed over multiple networks
On unit.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product
To be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention substantially or
Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products
Out, which is stored in a storage medium, including some instructions are used so that a computer equipment
(can be personal computer, server-side or the network equipment etc.) executes all or part of each embodiment method of the present invention
Step.And storage medium above-mentioned includes:It is USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random
Access various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic disc or CD
Matter.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
Invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each implementation
Technical solution recorded in example is modified or equivalent replacement of some of the technical features;And these modification or
It replaces, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.