CN112235006B - Week counting method and receiving device for overcoming zero return of GPS/Beidou week number - Google Patents
Week counting method and receiving device for overcoming zero return of GPS/Beidou week number Download PDFInfo
- Publication number
- CN112235006B CN112235006B CN202010913171.9A CN202010913171A CN112235006B CN 112235006 B CN112235006 B CN 112235006B CN 202010913171 A CN202010913171 A CN 202010913171A CN 112235006 B CN112235006 B CN 112235006B
- Authority
- CN
- China
- Prior art keywords
- week
- zero
- stored
- time
- count value
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Astronomy & Astrophysics (AREA)
- Aviation & Aerospace Engineering (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The embodiment of the invention discloses a method and a receiving device for overcoming zero return of GPS/Beidou week number, which are characterized by comprising the following steps: s1, storing a week count value and the number of times of week anti-zero according to the last received ephemeris parameters of the navigation messages; s3, initializing the anti-zero times of the week number, and storing; s5, receiving the latest navigation message ephemeris parameters from the satellite, comparing the 'week number' in the navigation message ephemeris parameters with the stored week count value, if the 'week number' is less than the stored week count value, adding 1 to the zero-returning number of the stored week number; and S7, updating the stored week counting value into the week number in the ephemeris parameters of the navigation messages.
Description
The present invention relates to the field of satellite communications. And more particularly, to a week counting method, a receiving device, a storage medium, and a computer device for overcoming the return to zero of GPS/beidou week counts.
Background
The GPS time, the Beidou time signal and the telegraph text information formats are all continuous time systems based on atomic time and special for satellite systems. The time is usually expressed by a combination of seconds in the week, week count (number of weeks), and number of weeks returning to zero. The time of the week is gradually increased from 0 at the time of every saturday midnight zero of the UTC time, and the time of the week returns to 0 after one week (namely 604800s), and the week number is added by 1; the week number is accumulated to the corresponding maximum value (GPS: 1023, Beidou: 8191), and the zero number of the week number is added with 1 while the zero number is returned. The second and week count in the week can be obtained through satellite signals and telegraph text information, and the zero return times of the week number can only be set and maintained by the GPS/Beidou receiving equipment.
The origin of the GPS time is zero at 1 month and 6 days 1980 (sunday) of UTC time, and the origin of the beidou time is zero at 1 month and 1 day 2006 (sunday) of UTC time.
Both GPS and beidou satellites inform the receiver of the "week count" (representing the current week count) and the second count in the week by issuing a message. The GPS/beidou receiving device can accordingly derive a second count within the number of times each week returns to zero. In the GPS context, the week count is represented by a 10-bit binary number, with a valid range of 0-1023. At the saturday midnight zero of UTC time, the week count value is incremented by 1 as the seconds count in the week is cleared. If the week count is increased to 1 when the maximum value is 1023, the week count is returned to 0 and the number of GPS weeks is returned to zero and increased by 1. The last week zeroing event occurred at 1999 day 8/22 of UTC time, and a new week zeroing event would occur at 2019 day 4/7.
In the Beidou message, the cycle count is represented by a 13-bit binary number, and the effective range is 0-8191. As with the GPS week count, at the saturday midnight zero of each UTC time, the week count value is incremented by 1 while the seconds count is cleared in the week. The beidou weekly count starts at 0 weeks at 1 month 1 zero day 2006. The first return to zero of the big dipper week occurs at 1 month and 2 day zero in 2163.
Since the message broadcast by the satellite does not contain the information of the number of zero-returning times of the week number, the fixed number of zero-returning times of the week number used by the GPS/Beidou receiving equipment can cause the timing error when the actual number of zero-returning times of the week number changes.
Disclosure of Invention
The first embodiment of the invention provides a week counting method for overcoming zero return of GPS/Beidou week number, which comprises the following steps:
s1, storing a week count value and the number of times of week anti-zero according to the last received ephemeris parameters of the navigation messages;
s3, initializing the anti-zero times of the week number, and storing;
s5, receiving the latest navigation message ephemeris parameters from the satellite by the receiving equipment, comparing the 'week number' in the navigation message ephemeris parameters with the stored week count value, and if the 'week number' is less than the stored week count value, adding 1 to the stored week number;
and S7, updating the stored week counting value into the week number in the navigation message ephemeris parameters.
In a specific embodiment, the S1 includes: and determining according to the time difference between the UTC time when the last week number returns to zero and the corresponding GPS time or the UTC time of the Beidou time starting epoch.
A second embodiment of the present invention provides a receiving apparatus for overcoming the week count of the return to zero of the GPS/beidou week number, including: the device comprises a receiving unit, a storage unit, a comparison unit and a control unit, wherein the receiving unit is used for receiving navigation message ephemeris parameters from satellites;
the storage unit is used for storing the number of the week counter zero and the week count value;
the control unit is used for controlling the initialization of the number of the weeks in the anti-zero order and storing the number in the storage unit;
the comparison unit is used for comparing the 'week number' in the navigation message ephemeris parameters with the stored week count value;
the control unit controls the anti-zero times of the week number and the stored week count value in the storage unit to be updated.
In a specific embodiment, the device further comprises a power supply unit.
A third embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the method according to the first embodiment.
A fourth embodiment of the present invention provides a computing device comprising a processor, wherein the processor executes a program to implement the method according to the first embodiment.
The invention has the following beneficial effects:
the invention solves the problem that the GPS/Beidou receiving equipment is wrong in timing because the week count obtained by the GPS/Beidou satellite signal and the telegraph text information returns to zero after 1024/8192 weeks.
Drawings
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
FIG. 1 shows a flow diagram of a method of overcoming the return to zero of the GPS/Beidou days worth of weeks, according to one embodiment of the present invention.
Fig. 2 shows a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the invention, the invention is further described below with reference to preferred embodiments and the accompanying drawings. It is to be understood by persons skilled in the art that the following detailed description is illustrative and not restrictive, and is not to be taken as limiting the scope of the invention.
The invention uses the principle that the week counting value stored locally in the GPS/Beidou receiving equipment is smaller than the current receiving week counting value in one week counting period, and when the local cache week counting value is judged to be larger than the current receiving week counting value, the number of times of returning the locally stored week to zero is added with 1, thereby ensuring that the GPS/Beidou receiving equipment is normally timed.
Example 1
As shown in fig. 1, a week counting method for overcoming zero return of GPS/beidou week number includes:
s1, storing a week count value and the number of times of week anti-zero according to the last received ephemeris parameters of the navigation messages;
s3, initializing the anti-zero times of the week number, and storing;
the initialization value is determined according to the time difference between the UTC time when the last week number returns to zero and the corresponding GPS time or the UTC time of the Beidou time starting epoch.
In one example, the origin of GPS time is UTC time at 1/6 (Sunday) 1980, the first week zeroing event of GPS occurs at 22/8/1999, and the new week zeroing occurs at 7/4/2019. The GPS receiving equipment initializes the stored number of weeks to zero to 1 between the time zero of 22/1999 month 8 and 7/2019 month 4 of UTC time, and adds 1 to the initialized value of the stored number of weeks to zero every 1024 weeks.
The origin of the Beidou time is 1 month 1 day 2006 (Sunday) zero of UTC time. The beidou weekly count starts at 0 weeks at 1 month 1 zero day 2006. The first time of return to zero of the number of weeks of the Beidou can occur at the time of zero of 1 month and 2 days of 2163 years. And initializing the number of stored weeks to zero to 0 by the Beidou receiving equipment between 1 month and 1 day zero of 2006 and 2 months and 2163 and 2 day zero of 216C time. The stored day of the week is returned every 8192 weeks thereafter to the zero number initialization value plus 1.
S5, the receiving device receives the navigation message ephemeris parameters from the satellite, compares the 'week number' in the navigation message ephemeris parameters with the stored week count value, and if the 'week number' is less than the stored week count value, the stored week number returns to zero times and is added with 1.
In the week counting period, the week counting value stored locally in the GPS/Beidou receiving equipment is smaller than the current received week number, and the current received week number is smaller than the locally stored week counting value, which indicates that a new week counting period is started.
And S7, updating the stored week counting value into the week number in the navigation message ephemeris parameters.
Example 2
A week counting assembly for overcoming GPS/Beidou week number zero return, comprising:
a receiving unit, a storage unit, a comparison unit and a control unit, wherein
The receiving unit is used for receiving navigation message ephemeris parameters from satellites;
the storage unit is used for storing the number of the week counter zero and the week count value;
the control unit is used for controlling the initialization of the number of the weeks in the anti-zero order and storing the number in the storage unit;
the comparison unit is used for comparing the 'week number' in the ephemeris parameters of the navigation messages with the stored week count value;
the control unit controls the anti-zero times of the week number and the stored week count value in the storage unit to be updated.
The device also includes a power supply unit.
Example 3
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the method of embodiment 1.
In practice, the computer-readable storage medium may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Example 4
As shown in fig. 2, another embodiment of the present invention provides a schematic structural diagram of a computer device. The computer device 12 shown in FIG. 2 is only an example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 2, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 2, and commonly referred to as a "hard drive"). Although not shown in FIG. 2, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described.
The processor unit 16 executes programs stored in the system memory 28 to perform various functional applications and data processing, such as implementing a method for overcoming GPS/beidou week number return zero provided by embodiments of the present invention.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention, and it will be obvious to those skilled in the art that other variations or modifications may be made on the basis of the above description, and all embodiments may not be exhaustive, and all obvious variations or modifications may be included within the scope of the present invention.
Claims (6)
1. A week counting method for overcoming zero return of GPS/Beidou week number is characterized by comprising the following steps:
s1, storing a week count value and the number of times of week zero return according to the ephemeris parameters of the navigation messages received last time;
s3, initializing the number of times of returning to zero of the week number, and storing;
s5, receiving the latest navigation message ephemeris parameters from the satellite, comparing the 'week number' in the navigation message ephemeris parameters with the stored week count value, and if the 'week number' is less than the stored week count value, adding 1 to the stored week number;
and S7, updating the stored week counting value into the week number in the navigation message ephemeris parameters.
2. The method according to claim 1, wherein the S3 includes: and when the time between the UTC time when the last week number returns to zero and the UTC time when the last week number returns to zero is initialized, calculating the week number returning to zero according to the time difference between the current time and the corresponding GPS time or the UTC time of the Beidou time starting epoch.
3. A week count receiving device using the method of any of claims 1-2, comprising: the device comprises a receiving unit, a storage unit, a comparison unit and a control unit, wherein the receiving unit is used for receiving navigation message ephemeris parameters from satellites;
the storage unit is used for storing the number of times of returning to zero of the week number and the week count value;
the control unit is used for controlling the week number to be initialized by returning to zero and storing the week number in the storage unit;
the comparison unit is used for comparing the 'week number' in the navigation message ephemeris parameters with the stored week count value;
the control unit controls the number of times of zero return of the week number and the stored week count value in the storage unit to be updated.
4. The device of claim 3, further comprising a power supply unit.
5. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-2.
6. A computing device comprising a processor, wherein the processor when executing a program implements the method of any of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010913171.9A CN112235006B (en) | 2020-09-03 | 2020-09-03 | Week counting method and receiving device for overcoming zero return of GPS/Beidou week number |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010913171.9A CN112235006B (en) | 2020-09-03 | 2020-09-03 | Week counting method and receiving device for overcoming zero return of GPS/Beidou week number |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112235006A CN112235006A (en) | 2021-01-15 |
CN112235006B true CN112235006B (en) | 2022-08-19 |
Family
ID=74115913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010913171.9A Active CN112235006B (en) | 2020-09-03 | 2020-09-03 | Week counting method and receiving device for overcoming zero return of GPS/Beidou week number |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112235006B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642797A (en) * | 2002-03-28 | 2005-07-20 | 摩托罗拉公司(在特拉华州注册的公司) | Time determination in satellite positioning system receivers and methods therefor |
CN101420259A (en) * | 2007-10-22 | 2009-04-29 | 那微微电子科技(上海)有限公司 | Frame synchronization method and device |
CN104280747A (en) * | 2013-07-09 | 2015-01-14 | 安凯(广州)微电子技术有限公司 | Satellite navigation message fault-tolerant method and device |
CN104749947A (en) * | 2013-12-26 | 2015-07-01 | 卡西欧计算机株式会社 | Electronic Device And Date And Time Information Obtaining Method |
CN105955012A (en) * | 2015-03-09 | 2016-09-21 | 精工爱普生株式会社 | Electronic Device and Time Correction Method |
CN110927749A (en) * | 2019-12-03 | 2020-03-27 | 中国电子科技集团公司第五十四研究所 | Rapid frame synchronization method for GPS navigation message |
CN111007712A (en) * | 2019-03-25 | 2020-04-14 | 和芯星通科技(北京)有限公司 | Leap second estimation method and device and computer-readable storage medium |
JP2020098133A (en) * | 2018-12-18 | 2020-06-25 | Necプラットフォームズ株式会社 | Receiving apparatus, date and time calculation method and date and time calculation program |
-
2020
- 2020-09-03 CN CN202010913171.9A patent/CN112235006B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642797A (en) * | 2002-03-28 | 2005-07-20 | 摩托罗拉公司(在特拉华州注册的公司) | Time determination in satellite positioning system receivers and methods therefor |
CN101420259A (en) * | 2007-10-22 | 2009-04-29 | 那微微电子科技(上海)有限公司 | Frame synchronization method and device |
CN104280747A (en) * | 2013-07-09 | 2015-01-14 | 安凯(广州)微电子技术有限公司 | Satellite navigation message fault-tolerant method and device |
CN104749947A (en) * | 2013-12-26 | 2015-07-01 | 卡西欧计算机株式会社 | Electronic Device And Date And Time Information Obtaining Method |
CN105955012A (en) * | 2015-03-09 | 2016-09-21 | 精工爱普生株式会社 | Electronic Device and Time Correction Method |
JP2020098133A (en) * | 2018-12-18 | 2020-06-25 | Necプラットフォームズ株式会社 | Receiving apparatus, date and time calculation method and date and time calculation program |
CN111007712A (en) * | 2019-03-25 | 2020-04-14 | 和芯星通科技(北京)有限公司 | Leap second estimation method and device and computer-readable storage medium |
CN110927749A (en) * | 2019-12-03 | 2020-03-27 | 中国电子科技集团公司第五十四研究所 | Rapid frame synchronization method for GPS navigation message |
Also Published As
Publication number | Publication date |
---|---|
CN112235006A (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110351572B (en) | Method, device and equipment for updating live broadcast room information and storage medium | |
CN109960541B (en) | Method, apparatus and computer storage medium for starting an applet | |
CN110287146B (en) | Method, device and computer storage medium for downloading application | |
CN110955640B (en) | Cross-system data file processing method, device, server and storage medium | |
CN111028074B (en) | Method, system, server and storage medium for updating and inquiring overdue bill | |
US8230252B2 (en) | Time of day response | |
CN112235006B (en) | Week counting method and receiving device for overcoming zero return of GPS/Beidou week number | |
CN113093516A (en) | Time calibration method, device, equipment and storage medium for unmanned aerial vehicle battery | |
CN111681008B (en) | Risk control method, apparatus, device and storage medium | |
CN107168776B (en) | Event statistical method, device, equipment and storage medium | |
CN111882413B (en) | Batch updating method and device for overdue rules of bills, server and storage medium | |
CN109257648B (en) | Method, device, terminal and storage medium for correcting similarity between live broadcasts | |
CN114509791A (en) | Satellite positioning error analysis method and device capable of reducing storage | |
CN114978852A (en) | GNSS data receiving and multi-channel parallel transmission method based on 4G network | |
CN113407102A (en) | Virtual key display method, device, system and storage medium | |
CN113837569A (en) | IT service personnel matching method, system, electronic device and medium | |
CN111399806B (en) | Component management method and device, electronic equipment and storage medium | |
CN111562974A (en) | Method, device and equipment for acquiring offline data and storage medium | |
CN110688610A (en) | Weight calculation method and device for graph data and electronic equipment | |
CN110706091A (en) | Early warning method for abnormal behaviors of preset position and related device | |
CN112951392B (en) | Resource information pushing method and device, electronic equipment and storage medium | |
CN113922908B (en) | GPS timing precision improvement and synchronous playing method, storage medium and equipment thereof | |
CN114721797A (en) | Timing method, device, equipment and medium based on unit timer | |
CN110377229B (en) | Data analysis method, device, computer equipment and storage medium | |
CN117787448A (en) | Flight route state updating method, device, medium and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |