CN102981403B - Clock leap second processing method and system thereof - Google Patents

Clock leap second processing method and system thereof Download PDF

Info

Publication number
CN102981403B
CN102981403B CN201210364560.6A CN201210364560A CN102981403B CN 102981403 B CN102981403 B CN 102981403B CN 201210364560 A CN201210364560 A CN 201210364560A CN 102981403 B CN102981403 B CN 102981403B
Authority
CN
China
Prior art keywords
time
leap
value
utc
signal
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
Application number
CN201210364560.6A
Other languages
Chinese (zh)
Other versions
CN102981403A (en
Inventor
刘搏
吴浩浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong daguangxin Technology Co.,Ltd.
Original Assignee
Guangdong Dapu Telecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Dapu Telecom Technology Co Ltd filed Critical Guangdong Dapu Telecom Technology Co Ltd
Priority to CN201210364560.6A priority Critical patent/CN102981403B/en
Publication of CN102981403A publication Critical patent/CN102981403A/en
Application granted granted Critical
Publication of CN102981403B publication Critical patent/CN102981403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)

Abstract

The invention discloses a clock leap second processing method and a system of the clock leap second processing. The clock leap second processing method includes that a leap second value is stored and is initially obtained by a receiver. When the system is under normal operating condition, universal time coordinated (UTC) time is obtained through the receiver in real time. Global position system (GPS) time is obtained according to high-stability constant-temperature oscillator fractional frequency in a timing mode. When the system is reset, the UTC time is obtained through the receiver in real time. The current UTC time pluses the leap second value to be as the GPS time. The GPS time is continued to be timed according to the high-stability constant-temperature oscillator fractional frequency. And the system gets in the normal operating condition. When the system is in the normal operating condition, interruption message of a notice of adjusting the leap second is received, the UTC time changes in a smooth transition mode, and a new leap second value of the interrupt message is written in the storage. According to the clock leap second processing method and the system of the clock leap second processing, a smooth transition of technical objective directive (TOD) message in the process of the leap second changing can be achieved, the time is totally identical to the time when the leap second is adjusted, jump second do the GPS time can not occur, stable and normal operation of the system in the process of the leap second being adjusted is guaranteed.

Description

One clock leap second disposal route and system thereof
Technical field
The present invention relates to the Time synchronization technique field of time service, relate in particular to a kind of clock leap second disposal route and system thereof.
Background technology
Due to slower velocity of the earth's rotation, atomic time and universal time time error are greater than 0.9 second, according to the rotational velocity of the earth, International Bureau of Wieghts and Measurements can be regularly the end of the year, year in or end of the season the Coordinated Universal Time(UTC) is increased to a second, can synchronize with earth rotation.This can let us gradually move towards sunset and occurs in the morning time, be that computer system need to be added one second in clock, but therefore the underaction of system own cannot process this additional second but may bring problem, reason in computer system.
High-resolution timer is the subsystem being used in the time of an application " sleep ", and it can wait for that operating system completes some other task.In some cases, high-resolution timer can, for the application settings one alarm clock in these sleeps, be beaten can process other work in the operating system time of costing a lot of money time.The content of issuing mail tabulation from Si Tuerci judges, in the time that leap second occurs, these high-resolution timers can become suddenly than kernel operating system and shift to an earlier date one second, therefore will start to beat those alarm clocks, thereby wake the application in countless sleeps simultaneously up, cause the central processing unit overload of server.
In January, 2009, cause the solaris operating system of Sun Microsystems and the software package of the inscriptions on bones or tortoise shells all to occur problem leap second.Since two thousand five one have three leap seconds generations, respectively, the end of the year 2008 and present 2012 in 2005, when leap second will occur next time, how soon have depending on the rotational velocity of the earth---this speed had both likely slowed down also and likely to have accelerated, specifically will be depending on morning and evening tides, weather and molten metal flowing at barysphere.
In order to tackle the generation of leap second, there are at present two kinds of solutions, the common scheme of the first: be made as definite value constant leap second, when this scheme was adjusted in leap second, there will be jump second problem, the TOD(Time of Data obtaining, real-time time constant) message is wrong, must again change leap second value, downloading recent program could use, shortcoming is, hardware a period of time cisco unity malfunction serious even there will be whole system paralysis; The common scheme of the second: manually push leap second, this scheme is in the time of design hardware, reserve interface, make when leap second adjust time can by artificial mode tell hardware leap second value, thereby need not again download recent program, shortcoming is that this mode is intelligent not, all needs labor intensive when leap second is adjusted at every turn.
Along with the develop rapidly of the cyber-net communication technology, thermal process automation of fossil power plant is system digitalized, the epoch of networking arrive.This is on the one hand for the exchanges data between each control and infosystem, analysis and application provide better platform, on the other hand various accuracys real-time and historical data time tag also had higher requirement.
Gps time server is the high-tech product while carrying out school for computing machine, control device etc. in automated system; it obtains the time signal of standard from time service satellite clock source; these information exchanges are crossed to various interface type and be transferred to the equipment that needs temporal information in automated system; as computing machine, protective device, fault oscillograph, sequence of events recording device, automatic safety device, telemechanical RTU etc., so just can reach the time synchronized of whole system.
Summary of the invention
The object of the invention is to propose a kind of clock leap second disposal route and system thereof, can realize TOD message in the time that leap second changes and seamlessly transit, the time when making its time and adjusting leap second is in full accord.For reaching this object, the present invention by the following technical solutions:
One clock leap second disposal route, comprising:
Use memory stores leap second value, obliterated data not when described storer power down, be worth leap second of the present invention for UTC (Universal Time Coordinated, Coordinated Universal Time(UTC)) the integer number of seconds that differs of time and gps time, described leap second value initially obtained by time service satellite-signal by receiver;
In the time that system is restarted, receive the UTC time of time service satellite-signal real-time acquisition system by receiver; From described storer, read leap second value, the UTC time current system is added to the above value as the current gps time of system leap second, the current gps time of system continues timing according to high stability crystal oscillator frequency division; System enters normal operating condition;
When system is during in normal operating condition, receive the UTC time of time service satellite-signal real-time acquisition system by receiver; According to high steady constant temperature crystal frequency division, the gps time of system is obtained in timing;
When system is received the interrupt message of adjusting leap second notice during in normal operating condition, the UTC time that makes system changes according to 23:59:59,23:59:60,00:00:00,00:00:01, by described interrupt message new leap second value write described storer.
Further, in the time of system loss time service satellite-signal, the UTC time is continued timing according to high stability crystal oscillator frequency division, until time service satellite-signal uses receiver to obtain the time of UTC by time service satellite-signal while recovering good, system enters normal operating condition.
Further, describedly continue timing according to high stability crystal oscillator frequency division and be specially: add a timing by local zone time function is automatically per second, the time interval per second carries out frequency division by built-in high steady constant temperature crystal and obtains.
Further, described storer is single-chip microcomputer FLASH storer.
The invention allows for a kind of clock leap second disposal system, comprise,
Leap second value memory module: for using memory stores leap second value, obliterated data not when described storer power down, described leap second the integer number of seconds that differs for UTC time and gps time of value, described leap second value initially obtained by time service satellite-signal by receiver; For receiving leap second new leap second value of sending of interruption processing module, by this new leap second value replace and be worth described storer Central Plains leap second; Be used to initialization module provide leap second value;
Initialization module: in the time that system is restarted, for receiving the time service satellite-signal Real-time Obtaining UTC time by receiver, from described storer, read leap second value, the current UTC time is added to the above value as current gps time leap second, current gps time is continued to timing according to high stability crystal oscillator frequency division; Make system enter described normal operation module for after initialization;
Normal operation module: when system is during in normal operating condition, for receive the UTC time of time service satellite-signal real-time acquisition system by receiver, the gps time of system is obtained in timing according to high steady constant temperature crystal frequency division; When system is during in normal operating condition, adjust the interrupt message of leap second notice during if receive, for making system enter leap second interruption processing module;
Leap second interruption processing module: when system is received the interrupt message of adjusting leap second notice during in normal operation module, be used for making the UTC time to change according to 23:59:59,23:59:60,00:00:00,00:00:01, by described interrupt message new leap second value send to described leap second value memory module; Interrupt making system enter described normal operation module after processing for leap second.
Further, described clock leap second disposal system also comprises time service satellite-signal loss reply module: in the time of system loss time service satellite-signal, be used for making system to continue timing according to high stability crystal oscillator frequency division and obtain the UTC time, until time service satellite-signal uses receiver to obtain the time of UTC by time service satellite-signal while recovering good; Lose after reply is disposed and make system enter described normal operation module for time service satellite-signal.
Further, describedly continue timing according to high stability crystal oscillator frequency division and be specially: add a timing by local zone time function is automatically per second, the time interval per second carries out frequency division by built-in high steady constant temperature crystal and obtains.
Further, storer described in leap second value memory module is single-chip microcomputer FLASH storer.
Treatment technology scheme can realize TOD message in the time that leap second changes and seamlessly transitted leap second of the present invention, time when its time and adjustment leap second is in full accord, be the UTC time to there will be 23:59:58,23:59:59,23:59:60,00:00:00,00:00:01 ... variation, and gps time also there will not be jump second, the stable normal operation of system can guarantee to adjust in leap second time.
Accompanying drawing explanation
Figure mono-be described in the specific embodiment of the invention one clock leap second disposal route method flow diagram;
Figure bis-be described in the specific embodiment of the invention two clock leap second disposal system structural representation.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with accompanying drawing and by embodiment.
Embodiment mono-
Figure mono-be described in the present embodiment clock leap second disposal route method flow diagram, as shown in figure mono-, the clock leap second disposal route described in the present embodiment comprises:
S101, system are restarted;
S102, judge whether receiver obtains the UTC time, if so, perform step S106, otherwise repeat this step;
It is a time-continuing process that receiver obtains the UTC time by time service satellite-signal, with step S103 without sequencing.
After system is restarted receiver always continuous firing read time service satellite-signal, after system successfully starts, while entering normal operating condition, if in the time that receiver receives the failure of time service satellite-signal, send message to system, tell system loss time service satellite-signal, system continues as UTC timing by high stability crystal oscillator frequency division 1PPS timing temporarily, in the time that reception time service satellite-signal recovers normal, system reverts to by time service satellite-signal and obtains the UTC time.
S103, judge whether FLASH has leap second information, if perform step S105, otherwise execution step S104;
The present invention uses memory stores leap second value, and obliterated data not when described storer power down, can be single-chip microcomputer FLASH storer.
Described leap second the integer number of seconds that differs for UTC time and gps time of value.As, before within 2012, adjusting leap second, UTC time and gps time differ 15 seconds.
Described leap second, value initially obtained by time service satellite-signal by receiver, after obtaining for the first time, obliterated data not during due to described storer power down, after system can directly from described storer, read while restarting.
In S104, Preset Time threshold value, get leap second value and deposit FLASH in, return to step S103;
When obtaining for the first time leap second when value, read time service satellite-signal Frame the inside by receiver and include leap second information.Obliterated data not during due to FLASH power down, so, restart by receiver and read leap second information except system for the first time, after system only need while restarting directly to read this information from FLASH leap second.This, information upgraded by system after leap second adjustment automatically carrying out at every turn leap second, after adjusting each leap second new leap second value than former leap second value increase by one second.
Since leap second, value can directly read by receiver, why also to use memory stores? because be worth leap second general receiver in cold start-up, to get leap second information conventionally will be through the longer time, within approximately 12.5 minutes, if being used on the clock module of gps time server to cause start-up time excessively slow, the performance of clock module of whole gps time server will be had influence on, and although the warm start of receiver has leap second information, but need battery to realize, this clock module for gps time server is inapplicable, because the clock module of gps time server is encapsulated in a shell, if with battery, battery cannot be changed, and may bring the hidden danger such as battery corrosion, be unfavorable for clock module stable of gps time server.To deposit single-chip microcomputer FLASH leap second in can well address this problem, because leap second is just to adjust once even for many years half a year, and current leap second is known, can first write FLASH, in the time that zebra time, tissue was adjusted leap second, program can realize in FLASH leap second value along with variation, thereby correct leap second value of having got back in the time that power on next time at that time.
Described Preset Time threshold value can be receiver in cold start-up, to get leap second informational needs wait for time, as 12.5 minutes.
After this step is finished, time leap second of reading is deposited in storer, deposit in the FLASH storer described in the present embodiment.
S105, read leap second value;
Read the leap second value in FLASH storer, before 30 days June in 2012 after on January 1st, 2009, described leap second value be 15.
S106, gps time=UTC time+leap second;
When system is restarted, the UTC time that gps time initial time obtains for step S102 adds time leap second that step S105 obtains.
S107, system are normally moved, the timing of UTC time tracking receiver, and gps time is according to high stability crystal oscillator frequency division 1PPS timing; When system is normally moved, the UTC time is to obtain according to the track receiver time signal that reads in real time per second; The initial time of gps time when restarting initialization is basis, on initial time basis, add a timing by current gps time by local zone time function is automatically per second, the time interval per second carries out frequency division by built-in high steady constant temperature crystal and obtains, and has very high degree of accuracy.
When system is normally moved, system continues the running status of this step always, until enter step S108 while receiving the interrupt message of adjusting leap second notice, or enters step S109 while losing time service satellite-signal.
S108, in the time receiving the interrupt message of adjusting leap second notice, the UTC time of system is changed according to 23:59:59,23:59:60,00:00:00,00:00:01, new leap second is write in FLASH, after this step is finished, return to step S107;
Zebra time tissue adjust when leap second, the present invention, in the time processing UTC time, adopts real-time processing scheme, in the effective situation of time service satellite time signal out, the temporal information that all can read per second, the UTC time and then changes.The UTC time can be according to 23:59:58,23:59:59,23:59:60,00:00:00,00:00:01 ... change, and because the UTC time is that the temporal information that reads in real time per second is obtained, so as long as that moment time service satellite-signal is good, the UTC time can synchronous change.
Now gps time is still according to high stability crystal oscillator frequency division 1PPS timing, and gps time there will not be jump second.The time of current communication system is not allow to occur jump second, and jump second may cause the paralysis of whole communication system.Therefore the gps time that the clock module of gps time server provides is not allow to occur jump second, due to " gps time=UTC time+leap second ", the clock module time treatment technology of current gps time server gets after the UTC time accurately powering on, greatly in 3 minutes, just can by the UTC time and leap second number determine gps time, then, only otherwise power down, gps time be all according to the function of time of own program in timing, can not change always, just can not produce jump second yet.
New leap second is write in FLASH, now in FLASH new leap second value than being worth former leap second large one second.As adjusted after leap second on June 30th, 2012, the leap second in FLASH changed 16 seconds into by original 15 seconds.
S109, in the time losing time service satellite-signal, UTC time, gps time are according to high stability crystal oscillator frequency division 1PPS timing;
In the time that time service satellite-signal is lost, the UTC time adds 1 timing by local zone time function is automatically per second, and the time interval of each second is to carry out frequency division by the built-in high steady constant temperature crystal of the clock module of gps time server to obtain, so just can make the clock module of gps time server lose after time service satellite-signal, the time still can keep very high precision.
UTC time, gps time be all according to high stability crystal oscillator frequency division 1PPS timing herein, until time service satellite-signal uses receiver to obtain the time of UTC by time service satellite-signal while recovering good, system enters normal operating condition.
S110, judge that receiver receives time service satellite-signal and whether recovers normally, to add step S107 if return, otherwise return to step S109.
Embodiment bis-
Figure bis-be described in the present embodiment clock leap second disposal system structural representation, as shown in Figure 2, disposal system comprised leap second value memory module 201, initialization module 202, normally moved module 203, leap second interruption processing module 204 this clock leap second, further, system also can comprise time service satellite-signal loss reply module 205.
The function of each module that makes introductions all round below and implementation:
Leap second value memory module 201: for using memory stores leap second value, obliterated data not when described storer power down, described leap second the integer number of seconds that differs for UTC time and gps time of value, described leap second value initially obtained by time service satellite-signal by receiver; For receiving leap second new leap second value of sending of interruption processing module 204, by this new leap second value replace and be worth described storer Central Plains leap second; Be used to initialization module 202 provide leap second value;
The present invention uses memory stores leap second value, and obliterated data not when described storer power down, can select single-chip microcomputer FLASH storer.
When obtaining for the first time leap second when value, read time service satellite-signal Frame the inside by receiver and include leap second information, described leap second value be the integer number of seconds that UTC time and gps time differ.As, before within 2012, adjusting leap second, UTC time and gps time differ 15 seconds.Obtain for the first time after leap second value, time leap second of reading is deposited in storer, deposit in the FLASH storer described in the present embodiment.
Obliterated data not during due to FLASH power down, so, restart by receiver and read leap second information except system for the first time, after system only need while restarting directly to read this information from FLASH leap second.This, information upgraded by system after leap second adjustment automatically carrying out at every turn leap second, after adjusting each leap second new leap second value than former leap second value increase by one second.
Since leap second, value can directly read by receiver, why also to use memory stores? because be worth leap second general receiver in cold start-up, to get leap second information conventionally will be through the longer time, within approximately 12.5 minutes, if being used on the clock module of gps time server to cause start-up time excessively slow, the performance of clock module of whole gps time server will be had influence on, and although the warm start of receiver has leap second information, but need battery to realize, this clock module for gps time server is inapplicable, because the clock module of gps time server is encapsulated in a shell, if with battery, battery cannot be changed, and may bring the hidden danger such as battery corrosion, be unfavorable for clock module stable of gps time server.To deposit single-chip microcomputer FLASH leap second in can well address this problem, because leap second is just to adjust once even for many years half a year, and current leap second is known, can first write FLASH, in the time that zebra time, tissue was adjusted leap second, program can realize in FLASH leap second value along with variation, thereby correct leap second value of having got back in the time that power on next time at that time.
Initialization module 202: in the time that system is restarted, for receiving the time service satellite-signal Real-time Obtaining UTC time by receiver, from described storer, read leap second value, the current UTC time is added to the above value as current gps time leap second, current gps time is continued to timing according to high stability crystal oscillator frequency division; Make system enter described normal operation module 203 for after initialization;
When system is restarted, read the leap second value in FLASH storer, before 30 days June in 2012 after on January 1st, 2009, described leap second value be 15.
When system is restarted, judge whether receiver obtains the UTC time, continue judgement if do not obtain, until successfully obtain the current UTC time.
Now, the UTC time that gps time initial time obtains for step S102 adds time leap second that step S105 obtains.
That is: gps time=UTC time+leap second
Obtain after gps time initial time, on initial time basis, current gps time adds a timing by local zone time function is automatically per second, and the time interval per second carries out frequency division by built-in high steady constant temperature crystal and obtains, and has very high degree of accuracy.
After initialization completes, system enters normal operating condition.
Normal operation module 203: when system is during in normal operating condition, for receive the UTC time of time service satellite-signal real-time acquisition system by receiver, the gps time of system is obtained in timing according to high steady constant temperature crystal frequency division; When system is during in normal operating condition, adjust the interrupt message of leap second notice during if receive, for making system enter leap second interruption processing module 204;
System is normally moved, the timing of UTC time tracking receiver, and gps time is according to high stability crystal oscillator frequency division 1PPS timing; When system is normally moved, the UTC time is to obtain according to the track receiver time signal that reads in real time per second; The initial time of gps time when restarting initialization is basis, on initial time basis, add a timing by current gps time by local zone time function is automatically per second, the time interval per second carries out frequency division by built-in high steady constant temperature crystal and obtains, and has very high degree of accuracy.
When system is normally moved, system continues this running status always, until receive the interrupt message of adjusting leap second notice, or till while losing time service satellite-signal.
Leap second interruption processing module 204: when system is received the interrupt message of adjusting leap second notice during in normal operation module 203, be used for making the UTC time to change according to 23:59:59,23:59:60,00:00:00,00:00:01, by described interrupt message new leap second value send to described leap second value memory module 201; Interrupt making system enter described normal operation module 203 after processing for leap second;
Zebra time tissue adjust when leap second, the present invention, in the time processing UTC time, adopts real-time processing scheme, in the effective situation of time service satellite time signal out, the temporal information that all can read per second, the UTC time and then changes.The UTC time can be according to 23:59:58,23:59:59,23:59:60,00:00:00,00:00:01 ... change, and because the UTC time is that the temporal information that reads in real time per second is obtained, so as long as that moment time service satellite-signal is good, the UTC time can synchronous change.
Now gps time is still according to high stability crystal oscillator frequency division 1PPS timing, and gps time there will not be jump second.The time of current communication system is not allow to occur jump second, and jump second may cause the paralysis of whole communication system.Therefore the gps time that the clock module of gps time server provides is not allow to occur jump second, due to " gps time=UTC time+leap second ", the clock module time treatment technology of current gps time server gets after the UTC time accurately powering on, greatly in 3 minutes, just can by the UTC time and leap second number determine gps time, then, only otherwise power down, gps time be all according to the function of time of own program in timing, can not change always, just can not produce jump second yet.
New leap second is write in FLASH, now in FLASH new leap second value than being worth former leap second large one second.As adjusted after leap second on June 30th, 2012, the leap second in FLASH changed 16 seconds into by original 15 seconds.
Time service satellite-signal is lost reply module 205: in the time of system loss time service satellite-signal, be used for making system to continue timing according to high stability crystal oscillator frequency division and obtain the UTC time, until time service satellite-signal uses receiver to obtain the time of UTC by time service satellite-signal while recovering good; Lose after reply is disposed and make system enter described normal operation module 203 for time service satellite-signal.
In the time that time service satellite-signal is lost, the UTC time adds 1 timing by local zone time function is automatically per second, and the time interval of each second is to carry out frequency division by the built-in high steady constant temperature crystal of the clock module of gps time server to obtain, so just can make the clock module of gps time server lose after time service satellite-signal, the time still can keep very high precision.
UTC time, gps time be all according to high stability crystal oscillator frequency division 1PPS timing herein, until time service satellite-signal uses receiver to obtain the time of UTC by time service satellite-signal while recovering good, system enters normal operating condition.Treatment technology scheme can realize TOD message in the time that leap second changes and seamlessly transitted leap second of the present invention, time when its time and adjustment leap second is in full accord, be the UTC time to there will be 23:59:58,23:59:59,23:59:60,00:00:00,00:00:01 ... variation, and gps time also there will not be jump second, the stable normal operation of system can guarantee to adjust in leap second time.
All or part of content in the technical scheme that above embodiment provides can realize by software programming, and its software program is stored in the storage medium can read, storage medium for example: hard disk, CD or floppy disk in computing machine.
Above are only preferred embodiment of the present invention and institute's application technology principle, any be familiar with those skilled in the art the present invention disclose technical scope in, the variation that can expect easily or replacement, all should be encompassed in protection scope of the present invention.

Claims (8)

  1. Clock leap second a disposal route, it is characterized in that:
    Use memory stores leap second value, obliterated data not when described storer power down, described leap second value be the integer number of seconds that UTC time and gps time differ, described leap second value initially obtained by time service satellite-signal by receiver;
    In the time that system is restarted, receive the UTC time of time service satellite-signal real-time acquisition system by receiver; From described storer, read leap second value, the UTC time current system is added to the above value as the current gps time of system leap second, system enters normal operating condition;
    When system is during in normal operating condition, receive the UTC time of time service satellite-signal real-time acquisition system by receiver; According to high steady constant temperature crystal frequency division, the gps time of system is obtained in timing;
    If when system is received the interrupt message of adjusting leap second notice during in normal operating condition, the UTC time that makes system changes according to 23:59:59,23:59:60,00:00:00,00:00:01, by described interrupt message new leap second value write described storer.
  2. Clock leap second as claimed in claim 1 disposal route, it is characterized in that, if when system system loss time service satellite-signal during in normal operating condition, the UTC time is continued timing according to high stability crystal oscillator frequency division, until time service satellite-signal uses receiver to obtain the UTC time by time service satellite-signal while recovering good, system reenters normal operating condition.
  3. Clock leap second as claimed in claim 2 disposal route, it is characterized in that, describedly continue timing according to high stability crystal oscillator frequency division and be specially: add a timing by local zone time function is automatically per second, the time interval per second carries out frequency division by built-in high steady constant temperature crystal and obtains.
  4. Clock leap second as claimed in claim 3 disposal route, it is characterized in that, described storer is single-chip microcomputer FLASH storer.
  5. Clock leap second a disposal system, it is characterized in that, comprise,
    Leap second value memory module: for using memory stores leap second value, obliterated data not when described storer power down, described leap second the integer number of seconds that differs for UTC time and gps time of value, described leap second value initially obtained by time service satellite-signal by receiver; For receiving leap second new leap second value of sending of interruption processing module, by being worth former leap second of replacing in described storer of value this new leap second; Be used to initialization module provide leap second value;
    Initialization module: in the time that system is restarted, for receiving the time service satellite-signal Real-time Obtaining UTC time by receiver, from described storer, read leap second value, the current UTC time is added to the above value as current gps time leap second, current gps time is continued to timing according to high stability crystal oscillator frequency division; Make system enter normal operation module for after initialization;
    Normal operation module: when system is during in normal operating condition, for receive the UTC time of time service satellite-signal real-time acquisition system by receiver, the gps time of system is obtained in timing according to high steady constant temperature crystal frequency division; When system is during in normal operating condition, adjust the interrupt message of leap second notice during if receive, for making system enter leap second interruption processing module;
    Leap second interruption processing module: when system is received the interrupt message of adjusting leap second notice during in normal operation module, be used for making the UTC time to change according to 23:59:59,23:59:60,00:00:00,00:00:01, by described interrupt message new leap second value send to described leap second value memory module; Interrupt making system enter described normal operation module after processing for leap second.
  6. Clock leap second as claimed in claim 5 disposal system, it is characterized in that, described clock leap second disposal system also comprises that time service satellite-signal loses reply module: if when system system loss time service satellite-signal during in normal operating condition, be used for making system to continue timing according to high stability crystal oscillator frequency division and obtain the UTC time, until time service satellite-signal uses receiver to obtain the time of UTC by time service satellite-signal while recovering good; Lose after reply is disposed and make system reenter described normal operation module for time service satellite-signal.
  7. Clock leap second as claimed in claim 6 disposal system, it is characterized in that, describedly continue timing according to high stability crystal oscillator frequency division and be specially: add a timing by local zone time function is automatically per second, the time interval per second carries out frequency division by built-in high steady constant temperature crystal and obtains.
  8. Clock leap second as claimed in claim 7 disposal system, it is characterized in that, described in leap second value memory module, storer is single-chip microcomputer FLASH storer.
CN201210364560.6A 2012-09-26 2012-09-26 Clock leap second processing method and system thereof Active CN102981403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210364560.6A CN102981403B (en) 2012-09-26 2012-09-26 Clock leap second processing method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210364560.6A CN102981403B (en) 2012-09-26 2012-09-26 Clock leap second processing method and system thereof

Publications (2)

Publication Number Publication Date
CN102981403A CN102981403A (en) 2013-03-20
CN102981403B true CN102981403B (en) 2014-05-21

Family

ID=47855562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210364560.6A Active CN102981403B (en) 2012-09-26 2012-09-26 Clock leap second processing method and system thereof

Country Status (1)

Country Link
CN (1) CN102981403B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9645244B2 (en) 2012-07-24 2017-05-09 Qualcomm Incorporated UTC time offset estimation at a GNSS receiver
JP5842908B2 (en) * 2013-12-26 2016-01-13 カシオ計算機株式会社 Radio clock
WO2016079946A1 (en) * 2014-11-20 2016-05-26 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Transmission method, reception method, transmission device, and reception device
CN105764132A (en) * 2014-12-16 2016-07-13 中兴通讯股份有限公司 Time service method, device and system
CN105846937B (en) * 2015-01-12 2019-07-23 中兴通讯股份有限公司 Time processing method and device
CN106160909A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 The processing method and processing device of leap second saltus step
JP6508103B2 (en) * 2016-03-24 2019-05-08 カシオ計算機株式会社 Radio wave clock, leap second correction information acquisition method, and program
CN107294635A (en) * 2017-06-28 2017-10-24 中国银行股份有限公司 Information processing method, device and server
CN111007712A (en) * 2019-03-25 2020-04-14 和芯星通科技(北京)有限公司 Leap second estimation method and device and computer-readable storage medium
CN110971330B (en) * 2019-11-20 2021-01-26 京信通信系统(中国)有限公司 Time service server system and leap second automatic adjustment method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3943870B2 (en) * 2001-06-21 2007-07-11 株式会社デンソー Navigation system
CN102281114A (en) * 2010-06-10 2011-12-14 郑州威科姆科技股份有限公司 Service time leap second processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002365385A (en) * 2001-06-07 2002-12-18 Nec Corp Time information supply device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3943870B2 (en) * 2001-06-21 2007-07-11 株式会社デンソー Navigation system
CN102281114A (en) * 2010-06-10 2011-12-14 郑州威科姆科技股份有限公司 Service time leap second processing method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
GPS定时及其应用;刘基余;《数字通信世界》;20120831(第8期);53-58 *
JP特开2002-365385A 2002.12.18
JP特许第3943870号B2 2007.07.11
刘基余.GPS定时及其应用.《数字通信世界》.2012,(第8期),53-58.

Also Published As

Publication number Publication date
CN102981403A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102981403B (en) Clock leap second processing method and system thereof
JP3789556B2 (en) Electronic clock and clock timing adjustment method
CN102291169B (en) Onboard high-accuracy time synchronization method for satellite
EP3791192B1 (en) Device and method for data preservation and power loss recovery in an electric meter
CN107655475A (en) Synchronization pulse acquisition methods, navigation data synchronization processing method and system
CN202008583U (en) Clock source of synchronous phasor measuring device
JP6327183B2 (en) Radio wave receiver, radio wave clock, signal acquisition method and program
JP2007521483A (en) Method and apparatus for real time clock (RTC) brownout detection
CN102412957B (en) High-precision synchronous clock adjusting method
CN2909277Y (en) Adoptic PMU satellite synchronous clock time keeping device
CN105589085A (en) Low-power consumption Beidou positioning communication device and control method
CN108957494A (en) A kind of satellite-based high-precision continuous time acquisition methods
CN105242974A (en) Time acquiring method and apparatus
CN109633710B (en) Millisecond ambiguity estimation method for warm start of Beidou receiver
CN102081400B (en) Sequence of event (SOE) recording module and adjusting method thereof
CN109039515A (en) A kind of high-precision real-time time source generation method that B code is synchronous
CN110187237B (en) Power grid synchronous acquisition method and device for detecting and adjusting crystal oscillator output frequency in real time
CN1964352A (en) A method and device to improve clock precision
CN114124280B (en) Time synchronization and time synchronization method and system among multiple systems based on CPT atomic clock
CN109001769B (en) DCLS time deviation monitoring method and system based on Beidou satellite
JP4297400B2 (en) Intermittent satellite signal positioning system
CN207742506U (en) Punctual circuit
CN109861779A (en) A kind of multisource high precision synchronizing device based on avionics fiber optic network
Froehlich et al. Achieving precise coordinated cluster time in a cluster environment
WO2012141711A1 (en) A clock signal generating apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 523000 Room 401 and 402, building 5, No. 24, industrial East Road, Songshanhu Park, Dongguan City, Guangdong Province

Patentee after: Guangdong daguangxin Technology Co.,Ltd.

Address before: 523808 buildings 13-16, small and medium-sized science and technology enterprise entrepreneurship Park, northern industrial city, Songshanhu science and Technology Industrial Park, Dongguan City, Guangdong Province

Patentee before: Guangdong Dapu Telecom Technology Co.,Ltd.