CN102098121B - Method and device for monitoring time synchronization - Google Patents

Method and device for monitoring time synchronization Download PDF

Info

Publication number
CN102098121B
CN102098121B CN201010612514.4A CN201010612514A CN102098121B CN 102098121 B CN102098121 B CN 102098121B CN 201010612514 A CN201010612514 A CN 201010612514A CN 102098121 B CN102098121 B CN 102098121B
Authority
CN
China
Prior art keywords
time
interval clock
precision interval
satellite
clock agreement
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
CN201010612514.4A
Other languages
Chinese (zh)
Other versions
CN102098121A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010612514.4A priority Critical patent/CN102098121B/en
Publication of CN102098121A publication Critical patent/CN102098121A/en
Priority to PCT/CN2011/080086 priority patent/WO2012088931A1/en
Application granted granted Critical
Publication of CN102098121B publication Critical patent/CN102098121B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0644External master-clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/14Monitoring arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and device for monitoring time synchronization, relating to a communication technology and being invented for solving the problem that the prior art can not be used for monitoring the time synchronization in real time. The technical scheme provided by the embodiment of the invention comprises the steps of: receiving a precision interval clock protocol 1588v2 time signal, and obtaining a precision interval clock protocol 1588v2 time stamp of the precision interval clock protocol 1588v2 time signal; carrying out frequency locking and phase locking on the precision interval clock protocol 1588v2 time stamp to obtain a precision interval clock protocol 1588v2 pulse per second (PPS) of the precision interval clock protocol 1588v2 time signal; carrying out phase discrimination on the precision interval clock protocol 1588v2 PPS and a satellite PPS of a satellite signal to obtain a decimal part of a precision interval clock protocol 1588v2 time deviation of a base station; and reporting the decimal part of the precision interval clock protocol 1588v2 time deviation. The embodiment of the invention can be applied to the industrial automation, measurement and communication processes.

Description

The monitoring method of time synchronized and device
Technical field
The present invention relates to the communication technology, relate in particular to a kind of monitoring method and device of time synchronized.
Background technology
Along with communication network is more and more higher to the requirement of time synchronized, satellite synchronization technology is replaced by precision interval clock agreement 1588v2 Time synchronization technique gradually.Precision interval clock agreement 1588v2 is a kind of simultaneous techniques standard transmitting based on packet, it adopts time stamp mechanism and master-salve clock scheme, to the time transmission of encoding, utilize symmetry and the latency measurement technology of network link simultaneously, realize the synchronous of master-salve clock frequency and time.Precision interval clock agreement 1588v2 is the standard of general lifting network system Timing Synchronization ability, makes distributed communication network have strict time synchronized, can be applied in the fields such as communication, industrial automation.
In order to guarantee the time synchronized of communication network, need to monitor precision interval clock agreement 1588v2 time synchronized.The method of prior art monitoring precision interval clock agreement 1588v2 time synchronized is: in beginning and examination, and wireless traffic is while going wrong (as call drop, service exception etc.), staff's deviation service time survey tool (as time series analysis instrument) is measured the time deviation of each base station, judges whether the time synchronized of base station goes wrong by time deviation.
State in realization in the process of monitoring of time synchronized, inventor finds that in prior art, at least there are the following problems: when beginning and examination, need to monitor the time synchronized of each base station, now staff's deviation service time survey tool is measured the time deviation of each base station, expend a large amount of manpower and materials, cost is higher, and measuring period is longer, is difficult to guarantee that engineering pays on time; In network operation process, only at the wireless traffic Shi Caihui that goes wrong, consider the quality of time synchronized, now need staff to measure the time deviation of each base station, and then find problem base station debugging, cost is higher, and the positioning difficulty of problem base station is large, locating periodically is longer, the critical sales index of wireless traffic (Key PerformanceIndicators during measurement, KPI) degradation, may there are serious problems in wireless traffic.
Summary of the invention
Embodiments of the invention provide a kind of monitoring method and device of time synchronized, monitoring precision interval clock agreement 1588v2 time synchronized that can be real-time, thus guarantee the stability of wireless traffic.
On the one hand, provide a kind of monitoring method of time synchronized, having comprised: receive precision interval clock agreement 1588v2 time signal, described precision interval clock agreement 1588v2 time signal has been the time signal after synchronously processing according to precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal; Described precision interval clock agreement 1588v2 time stamp is carried out to frequency locking phase-locked, obtain the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of described precision interval clock agreement 1588v2 time signal; Satellite PPS to described precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite-signal carries out phase demodulation, obtains the fractional part of the precision interval clock agreement 1588v2 time deviation of described base station; Report the fractional part of described precision interval clock agreement 1588v2 time deviation.
On the other hand, provide a kind of monitoring device of time synchronized, having comprised:
Time stamp acquisition module, for receiving precision interval clock agreement 1588v2 time signal, described precision interval clock agreement 1588v2 time signal is the time signal after synchronously processing according to precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
Precision interval clock agreement 1588v2PPS acquisition module, carries out frequency locking for the precision interval clock agreement 1588v2 time stamp that described time stamp acquisition module is obtained phase-locked, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of described precision interval clock agreement 1588v2 time signal;
Nanosecond deviation acquisition module, for precision interval clock agreement 1588v2 pulse per second (PPS) PPS that described precision interval clock agreement 1588v2PPS acquisition module is obtained and the satellite PPS of satellite-signal, carry out phase demodulation, obtain the fractional part of the precision interval clock agreement 1588v2 time deviation of described base station;
Nanosecond deviation reporting module, for reporting the fractional part of described nanosecond precision interval clock agreement 1588v2 time deviation of obtaining of deviation acquisition module.
The monitoring method of the time synchronized that the embodiment of the present invention provides and device, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal is processed, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out to phase demodulation, can obtain precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.The embodiment of the present invention has solved in prior art, needs the problems such as staff's deviation service time survey tool is measured the time deviation of each base station, and measuring period is long, cost is high, the positioning difficulty of problem base station is large.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of the monitoring method of the time synchronized that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the monitoring method of the time synchronized that Fig. 2 provides for another embodiment of the present invention;
The flow chart of the monitoring method of the time synchronized that Fig. 3 provides for further embodiment of this invention;
The structural representation one of the monitoring device of the time synchronized that Fig. 4 provides for yet another embodiment of the invention;
The structural representation two of the monitoring device of the time synchronized that Fig. 5 provides for yet another embodiment of the invention;
The structural representation three of the monitoring device of the time synchronized that Fig. 6 provides for yet another embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For solve in prior art can not Real-Time Monitoring time synchronized problem, the embodiment of the present invention provides a kind of monitoring method and device of time synchronized.
As shown in Figure 1, the monitoring method of the time synchronized that the embodiment of the present invention provides, comprising:
Step 101, receives precision interval clock agreement 1588v2 time signal, and described precision interval clock agreement 1588v2 time signal is the time signal after synchronously processing according to precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of precision interval clock agreement 1588v2 time signal.
In the present embodiment, step 101 can directly be used precision interval clock agreement 1588v2 port to receive precision interval clock agreement 1588v2 time signal.Step 101 pair precision interval clock agreement 1588v2 time signal process is beaten timestamp, best master clock (Best Master Clock, BMC) algorithm selects source and decision-making port status etc., obtains precision interval clock agreement 1588v2 time stamp.
Step 102, carries out frequency locking to precision interval clock agreement 1588v2 time stamp phase-locked, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of precision interval clock agreement 1588v2 time signal.
In the present embodiment, step 102 is according to precision interval clock agreement 1588v2 time stamp is carried out to filtering to precision interval clock agreement 1588v2 time signal, the processing of the phase-locked grade of frequency locking, obtain Direct Digital Synthesizer (Direct Digital Synthesis, DDS) frequency control word and precision interval clock agreement 1588v2 time deviation, described frequency control word can be controlled the clock frequency that DDS output synchronizes with precision interval clock agreement 1588v2 time signal and frequency control word be processed through DDS again, obtain clock frequency, Real time clock of system (Real Time Clock, RTC) according to clock frequency and precision interval clock agreement 1588v2 time deviation, can obtain the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of synchronizeing with precision interval clock agreement 1588v2 time signal.
Step 103, carries out phase demodulation to the satellite PPS of precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite-signal, obtains the fractional part of the precision interval clock agreement 1588v2 time deviation of base station.
In the present embodiment, step 103 can be by obtaining satellite-signal, and this satellite-signal is carried out to the processing such as filtering, obtains satellite PPS.Step 103 couple satellite PPS and precision interval clock agreement 1588v2 pulse per second (PPS) PPS carry out phase demodulation, obtain the phase deviation of two PPS, and this phase deviation is the fractional part of precision interval clock agreement 1588v2 time deviation.
Step 104, reports the fractional part of this precision interval clock agreement 1588v2 time deviation.
In the present embodiment, in step 104, report the method for precision interval clock agreement 1588v2 time deviation, can have a variety of, for example: use main frame to encapsulate this precision interval clock agreement 1588v2 time deviation, monitoring system is used webmastering software to call QX interface, make monitoring system obtain this precision interval clock agreement 1588v2 time deviation, thereby show in the webmaster terminal of monitoring system.The method that shows precision interval clock agreement 1588v2 time deviation, except said method, can also have additive method, and this is no longer going to repeat them.
In the present embodiment, step 104 can report the monitoring systems such as maintenance terminal or webmaster terminal by precision interval clock agreement 1588v2 time deviation.When the absolute value of the precision interval clock agreement 1588v2 time deviation of the base station showing in monitoring system is greater than 1.5 microsecond, this base station is problem base station, and staff compensates this problem base station, can guarantee the stability of wireless traffic.
The monitoring method of the time synchronized that the present embodiment provides, can be used in the fields such as communication and industrial automation, and then control synchronizeing with the temporal frequency of master clock from clock of this base station, field.Precision interval clock agreement 1588v2 Time synchronization technique is detected and is proofreaied and correct the 1588v2 time signal of base station by master clock, realize the synchronous of master-salve clock frequency and time, and this master clock can be the satellite clock of former base station, can be also other precision clocks.This Time synchronization technique is more more stable and accurate than the Time synchronization technique of satellite time transfer.
The monitoring method of the time synchronized that the embodiment of the present invention provides, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal is processed, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out to phase demodulation, can obtain the fractional part of precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.The embodiment of the present invention has solved in prior art, needs the problems such as staff's deviation service time survey tool is measured the time deviation of each base station, and measuring period is long, cost is high, the positioning difficulty of problem base station is large.
As shown in Figure 2, the monitoring method of the time synchronized that another embodiment of the present invention provides, comprising:
Step 201 and step 202, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS.In concrete acquisition process and Fig. 1, step 101 and step 102 are identical, repeat no more here.
Step 203, obtains satellite-signal.
In the present embodiment, step 203 can be used the device receiving satellite signals such as receiver, feeder line, amplifier and lightning arrester.
Step 204, carries out analog-to-digital conversion to satellite-signal, obtains initial satellite PPS.
In the present embodiment, step 204 can be used star card to carry out analog-to-digital conversion to satellite-signal, and satellite-signal is converted to digital signal by analog signal, obtains containing noisy initial p PS.
Step 205, to initial satellite PPS filtering shake, obtains the satellite PPS of satellite-signal.
In the present embodiment, the process of in step 205, initial p PS being processed can comprise: according to satellite-signal, initial p PS is carried out to phase demodulation, obtain PPS and differ; By this PPS differ after filtering, the phase-locked scheduling algorithm of frequency locking, obtain satellite frequency control word and satellite time deviation; Described satellite frequency control word can be controlled the clock frequency that DDS output is synchronizeed with satellite-signal, according to this clock frequency and satellite time deviation, and the satellite PPS that obtains filtering shake and synchronize for a long time with satellite-signal.
Step 206 and step 207, obtain and report the fractional part of precision interval clock agreement 1588v2 time deviation.The concrete process that reports can be with reference to step 103 and step 104 in figure 1.
In the present embodiment, described satellite-signal can be gps satellite signal, can be also Big Dipper satellite signal, can also be the satellite-signal that other can time service, and this is no longer going to repeat them.
The monitoring method of the time synchronized that the present embodiment provides, can be used in the fields such as communication and industrial automation, and then control synchronizeing with the temporal frequency of master clock from clock of this base station, field.Precision interval clock agreement 1588v2 Time synchronization technique is detected and is proofreaied and correct the 1588v2 time signal of base station by master clock, realize the synchronous of master-salve clock frequency and time, and this master clock can be the satellite clock of former base station, can be also other precision clocks.This Time synchronization technique is more more stable and accurate than the Time synchronization technique of satellite time transfer.
The monitoring method of the time synchronized that the embodiment of the present invention provides, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal is processed, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out to phase demodulation, can obtain the fractional part of precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.The embodiment of the present invention has solved in prior art, needs the problems such as staff's deviation service time survey tool is measured the time deviation of each base station, and measuring period is long, cost is high, the positioning difficulty of problem base station is large.
As shown in Figure 3, the monitoring method of the time synchronized that further embodiment of this invention provides, comprising:
The fractional part of precision interval clock agreement 1588v2 time deviation is obtained and reported to step 301, to step 304.The concrete process that reports can be with reference in figure 1, step 101 is to step 104, and this is no longer going to repeat them.
Step 305, the precision interval clock agreement 1588v2 Precision Time Protocol PTP time of obtaining precision interval clock agreement 1588v2 time signal.
In the present embodiment, step 305 is obtained the detailed process of precision interval clock agreement 1588v2 Precision Time Protocol PTP time and can be comprised:
First, obtain the precision interval clock agreement 1588v2 time stamp of precision interval clock agreement 1588v2 time signal.
In the present embodiment, to precision interval clock agreement 1588v2 time signal through beating timestamp, best master clock (Best Master Clock, BMC) algorithm selects source and decision-making port status etc., obtains precision interval clock agreement 1588v2 time stamp.
Secondly, precision interval clock agreement 1588v2 time stamp is carried out to frequency locking phase-locked, obtain the precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
In the present embodiment, precision interval clock agreement 1588v2 time stamp is carried out to filtering, the processing of the phase-locked grade of frequency locking, obtain Direct Digital Synthesizer (Direct Digital Synthesis, DDS) frequency control word and precision interval clock agreement 1588v2 time deviation, described frequency control word can be controlled the clock frequency that DDS output is synchronizeed with precision interval clock agreement 1588v2 time signal, Real time clock of system (Real Time Clock, RTC) according to this clock frequency and precision interval clock agreement 1588v2 time deviation, can obtain the precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
Step 306, the satellite PTP time of obtaining satellite-signal.
In the present embodiment, step 306 is obtained the detailed process of satellite PTP time and can be comprised:
One, satellite-signal is carried out to analog-to-digital conversion, obtain Time of Day TOD.
In the present embodiment, can use star card to carry out analog-to-digital conversion to satellite-signal, satellite-signal is converted to digital signal by analog signal, obtain containing noisy initial p PS.
Two, Time of Day TOD is carried out to time conversion, obtain the satellite PTP time.
In the present embodiment, the gps time elapsed time in this TOD is transformed, can be converted into the satellite PTP time.
Step 307, compares calculating to precision interval clock agreement 1588v2 Precision Time Protocol PTP time and satellite PTP time, obtains the integer part of the precision interval clock agreement 1588v2 time deviation of base station.
In the present embodiment, the precision interval clock agreement 1588v2 Precision Time Protocol PTP time that the satellite PTP time that step 307 can obtain step 306 and step 305 obtain compares calculating, obtains a second value deviation.
Step 308, reports the integer part of this precision interval clock agreement 1588v2 time deviation.
In the present embodiment, step 308 reports the integer part of precision interval clock agreement 1588v2 time deviation, reports the similar process of the fractional part of precision interval clock agreement 1588v2 time deviation with step 104 in Fig. 1, and this is no longer going to repeat them.
The detection method of the time synchronized that the present embodiment provides, the fractional part of precision interval clock agreement 1588v2 time deviation that can not only monitoring base station, when the precision interval clock agreement 1588v2 of base station time deviation is larger, can also measure the integer part of the precision interval clock agreement 1588v2 time deviation of base station, thereby avoid the monitoring mistake of base station.
In the present embodiment, described satellite-signal can be gps satellite signal, can be also Big Dipper satellite signal, can also be the satellite-signal that other can time service, and this is no longer going to repeat them.
The monitoring method of the time synchronized that the present embodiment provides, can be used in the fields such as communication and industrial automation, and then control synchronizeing with the temporal frequency of master clock from clock of this base station, field.Precision interval clock agreement 1588v2 Time synchronization technique is detected and is proofreaied and correct the 1588v2 time signal of base station by master clock, realize the synchronous of master-salve clock frequency and time, and this master clock can be the satellite clock of former base station, can be also other precision clocks.This Time synchronization technique is more more stable and accurate than the Time synchronization technique of satellite time transfer.
The monitoring method of the time synchronized that the embodiment of the present invention provides, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal is processed, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out to phase demodulation, relatively calculate precision interval clock agreement 1588v2 PTP time and satellite PTP time simultaneously, can obtain precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.The embodiment of the present invention has solved in prior art, needs the problems such as staff's deviation service time survey tool is measured the time deviation of each base station, and measuring period is long, cost is high, the positioning difficulty of problem base station is large.
As shown in Figure 4, the monitoring device of the time synchronized that yet another embodiment of the invention provides, comprising:
Time stamp acquisition module 401, for receiving precision interval clock agreement 1588v2 time signal, described precision interval clock agreement 1588v2 time signal is the time signal after synchronously processing according to precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of precision interval clock agreement 1588v2 time signal.
In the present embodiment, time stamp acquisition module 401 can directly be used precision interval clock agreement 1588v2 port to receive precision interval clock agreement 1588v2 time signal.401 pairs of precision interval clock agreement 1588v2 time signals processes of time stamp acquisition module are beaten timestamp, best master clock (BestMaster Clock, BMC) algorithm selects source and decision-making port status etc., obtains precision interval clock agreement 1588v2 time stamp.
Precision interval clock agreement 1588v2 PPS acquisition module 402, carries out frequency locking for the precision interval clock agreement 1588v2 time stamp that time stamp acquisition module is obtained phase-locked, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of precision interval clock agreement 1588v2 time signal.
In the present embodiment, 402 pairs of precision interval clock agreement 1588v2 time stamps of precision interval clock agreement 1588v2 PPS acquisition module carry out filtering, the processing of the phase-locked grade of frequency locking, obtain Direct Digital Synthesizer (Direct Digital Synthesis, DDS) frequency control word and precision interval clock agreement 1588v2 time deviation, described frequency control word can be controlled the clock frequency that DDS output is synchronizeed with precision interval clock agreement 1588v2 time signal, Real time clock of system (Real Time Clock, RTC) according to this clock frequency and precision interval clock agreement 1588v2 time deviation, can obtain the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of synchronizeing with precision interval clock agreement 1588v2 time signal.
Nanosecond deviation acquisition module 403, for precision interval clock agreement 1588v2 pulse per second (PPS) PPS that precision interval clock agreement 1588v2 PPS acquisition module is obtained and the satellite PPS of satellite-signal, carry out phase demodulation, obtain the fractional part of the precision interval clock agreement 1588v2 time deviation of base station.
In the present embodiment, nanosecond deviation acquisition module 403 can be by obtaining satellite-signal, and this satellite-signal is carried out to the processing such as filtering, obtain satellite PPS.403 couples of satellite PPS of nanosecond deviation acquisition module and precision interval clock agreement 1588v2 pulse per second (PPS) PPS carry out phase demodulation, obtain the phase deviation of two PPS, and this phase deviation is the fractional part of precision interval clock agreement 1588v2 time deviation.
Nanosecond deviation reporting module 404, for reporting the fractional part of the nanosecond precision interval clock agreement 1588v2 time deviation obtained of deviation acquisition module.
In the present embodiment, in nanosecond deviation reporting module 404, report the method for precision interval clock agreement 1588v2 time deviation, can have a variety of, for example: use main frame to encapsulate this precision interval clock agreement 1588v2 time deviation, monitoring system is used webmastering software to call QX interface, make monitoring system obtain this precision interval clock agreement 1588v2 time deviation, thereby show in the webmaster terminal of monitoring system.The method that shows precision interval clock agreement 1588v2 time deviation, except said method, can also have additive method, and this is no longer going to repeat them.
In the present embodiment, deviation reporting module 404 can report the monitoring systems such as maintenance terminal or webmaster terminal by precision interval clock agreement 1588v2 time deviation nanosecond.When the absolute value of the precision interval clock agreement 1588v2 time deviation of the base station showing in monitoring system is greater than 1.5 microsecond, this base station is problem base station, and staff compensates this problem base station, can guarantee the stability of wireless traffic.
Further, as shown in Figure 5, the monitoring device of time synchronized in the present embodiment, can also comprise:
Satellite-signal acquisition module 405, for obtaining satellite-signal.
In the present embodiment, satellite-signal acquisition module 405 can be used the device receiving satellite signals such as receiver, feeder line, amplifier and lightning arrester.
Initial satellite PPS acquisition module 406, carries out analog-to-digital conversion for the satellite-signal that satellite-signal acquisition module is obtained, and obtains initial satellite PPS.
In the present embodiment, initial satellite PPS acquisition module 406 can be used star card to carry out analog-to-digital conversion to satellite-signal, and satellite-signal is converted to digital signal by analog signal, obtains containing noisy initial p PS.
Satellite PPS acquisition module 407, for the initial satellite PPS filtering shake that initial satellite PPS acquisition module is obtained, obtains the satellite PPS of satellite-signal.
In the present embodiment, the process of in satellite PPS acquisition module 407, initial p PS being processed can comprise: according to satellite-signal, initial p PS is carried out to phase demodulation, obtain PPS and differ; By this PPS differ after filtering, the phase-locked scheduling algorithm of frequency locking, obtain satellite frequency control word and satellite time deviation; Described satellite frequency control word can be controlled the clock frequency that DDS output is synchronizeed with satellite-signal, according to this clock frequency and satellite time deviation, and the satellite PPS that obtains filtering shake and synchronize for a long time with satellite-signal.
Further, as shown in Figure 6, the monitoring device of time synchronized in the present embodiment, can also comprise:
Precision interval clock agreement 1588v2PTP acquisition module 408, for the precision interval clock agreement 1588v2 Precision Time Protocol PTP time of obtaining precision interval clock agreement 1588v2 time signal, wherein said precision interval clock agreement 1588v2 time signal is the time signal after synchronously processing according to precision interval clock agreement.
In the present embodiment, precision interval clock agreement 1588v2PTP acquisition module 408 can also comprise: time stamp obtains submodule and precision interval clock agreement 1588v2 obtains submodule.Wherein: time stamp obtains submodule, for obtaining the precision interval clock agreement 1588v2 time stamp of precision interval clock agreement 1588v2 time signal; Precision interval clock agreement 1588v2 obtains submodule, and for time stamp being obtained to precision interval clock agreement 1588v2 time stamp that submodule obtains, to carry out frequency locking phase-locked, obtains the precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
In the present embodiment, time stamp obtains submodule can be to precision interval clock agreement 1588v2 time signal through beating timestamp, best master clock (Best Master Clock, BMC) algorithm selects source and decision-making port status etc., obtains precision interval clock agreement 1588v2 time stamp.Precision interval clock agreement 1588v2 obtains submodule precision interval clock agreement 1588v2 time stamp is carried out to filtering, the processing of the phase-locked grade of frequency locking, obtain Direct Digital Synthesizer (Direct Digital Synthesis, DDS) frequency control word and precision interval clock agreement 1588v2 time deviation, described frequency control word can be controlled the clock frequency that DDS output is synchronizeed with precision interval clock agreement 1588v2 time signal, Real time clock of system (Real Time Clock, RTC) according to this clock frequency and precision interval clock agreement 1588v2 time deviation, can obtain the precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
Satellite PTP acquisition module 409, for obtaining the satellite PTP time of satellite-signal.
In the present embodiment, satellite PTP acquisition module 409 can also comprise: TOD obtains submodule and satellite obtains submodule.Wherein: TOD obtains submodule, for satellite-signal is carried out to analog-to-digital conversion, obtain Time of Day TOD; Satellite obtains submodule, for TOD being obtained to the Time of Day TOD that submodule obtains, carries out time conversion, obtains the satellite PTP time.
In the present embodiment, TOD obtains submodule and can use star card to carry out analog-to-digital conversion to satellite-signal, and satellite-signal is converted to digital signal by analog signal, obtains containing noisy initial p PS.Satellite obtains submodule the gps time elapsed time in this TOD is transformed, and can be converted into the satellite PTP time.
Second, deviation acquisition module 410, the satellite PTP time of obtaining for precision interval clock agreement 1588v2 Precision Time Protocol PTP time that precision interval clock agreement 1588v2PTP acquisition module is obtained and satellite PTP acquisition module compares calculating, obtains the integer part of the precision interval clock agreement 1588v2 time deviation of base station.
Second deviation reporting module 411, for reporting the integer part of the precision interval clock agreement 1588v2 time deviation that second deviation acquisition module obtains.
In the present embodiment, second deviation reporting module 411 reports the integer part of precision interval clock agreement 1588v2 time deviation, can with reference to nanosecond deviation reporting module 404 report the process of the fractional part of precision interval clock agreement 1588v2 time deviation, this is no longer going to repeat them.
In the present embodiment, described satellite-signal can be gps satellite signal, can be also Big Dipper satellite signal, can also be the satellite-signal that other can time service, and this is no longer going to repeat them.
The monitoring device of the time synchronized that the present embodiment provides, can use in the fields such as communication and industrial automation, and then control synchronizeing with the temporal frequency of master clock from clock of this base station, field.Precision interval clock agreement 1588v2 Time synchronization technique is detected and is proofreaied and correct the 1588v2 time signal of base station by master clock, realize the synchronous of master-salve clock frequency and time, and this master clock can be the satellite clock of former base station, can be also other precision clocks.This Time synchronization technique is more more stable and accurate than the Time synchronization technique of satellite time transfer.
The monitoring device of the time synchronized that the embodiment of the present invention provides, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal is processed, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out to phase demodulation, can obtain precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.The embodiment of the present invention has solved in prior art, needs the problems such as staff's deviation service time survey tool is measured the time deviation of each base station, and measuring period is long, cost is high, the positioning difficulty of problem base station is large.
Method for supervising and the device of the precision interval clock agreement 1588v2 time synchronized performance that the embodiment of the present invention provides, can be applied in industrial automation, measurement and communication process, solved the problem that needs repeatedly lower station to measure in beginning and the course of receiving, improve the maintainability of precision interval clock agreement 1588v2 time synchronized performance, reduced implementation cost and the maintenance cost of engineering.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection range with claim.

Claims (10)

1. a monitoring method for time synchronized, is characterized in that, comprising:
Receive precision interval clock agreement 1588v2 time signal, described precision interval clock agreement 1588v2 time signal is the time signal after synchronously processing according to precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
Described precision interval clock agreement 1588v2 time stamp is carried out to frequency locking phase-locked, obtain the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of described precision interval clock agreement 1588v2 time signal;
Described precision interval clock agreement 1588v2 pulse per second (PPS) PPS and the satellite PPS of the satellite-signal obtaining are carried out to phase demodulation, obtain the fractional part of the precision interval clock agreement 1588v2 time deviation of base station;
Report the fractional part of described precision interval clock agreement 1588v2 time deviation.
2. the monitoring method of time synchronized according to claim 1, is characterized in that, also comprises:
Obtain described satellite-signal;
Described satellite-signal is carried out to analog-to-digital conversion, obtain initial satellite PPS;
To described initial satellite PPS filtering shake, obtain the satellite PPS of described satellite-signal.
3. the monitoring method of time synchronized according to claim 1, is characterized in that, also comprises:
Obtain the precision interval clock agreement 1588v2 Precision Time Protocol PTP time of described precision interval clock agreement 1588v2 time signal;
Obtain the satellite PTP time of described satellite-signal;
Described precision interval clock agreement 1588v2 Precision Time Protocol PTP time and described satellite PTP time are compared to calculating, obtain the integer part of the precision interval clock agreement 1588v2 time deviation of described base station;
Report the integer part of described precision interval clock agreement 1588v2 time deviation.
4. the monitoring method of time synchronized according to claim 3, is characterized in that, described in obtain described precision interval clock agreement 1588v2 time signal the precision interval clock agreement 1588v2 Precision Time Protocol PTP time, comprising:
Obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
Described precision interval clock agreement 1588v2 time stamp is carried out to frequency locking phase-locked, obtain the described precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
5. the monitoring method of time synchronized according to claim 3, is characterized in that, described in obtain described satellite-signal the satellite PTP time, comprising:
Described satellite-signal is carried out to analog-to-digital conversion, obtain Time of Day TOD;
Described Time of Day TOD is carried out to time conversion, obtain the described satellite PTP time.
6. a monitoring device for time synchronized, is characterized in that, comprising:
Time stamp acquisition module, for receiving precision interval clock agreement 1588v2 time signal, described precision interval clock agreement 1588v2 time signal is the time signal after synchronously processing according to precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
Precision interval clock agreement 1588v2 PPS acquisition module, carries out frequency locking for the precision interval clock agreement 1588v2 time stamp that described time stamp acquisition module is obtained phase-locked, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of described precision interval clock agreement 1588v2 time signal;
Nanosecond deviation acquisition module, satellite PPS for the precision interval clock agreement 1588v2 pulse per second (PPS) PPS that described precision interval clock agreement 1588v2 PPS acquisition module is obtained and the satellite-signal obtaining carries out phase demodulation, obtains the fractional part of the precision interval clock agreement 1588v2 time deviation of base station;
Nanosecond deviation reporting module, for reporting the fractional part of described nanosecond precision interval clock agreement 1588v2 time deviation of obtaining of deviation acquisition module.
7. the monitoring device of time synchronized according to claim 6, is characterized in that, also comprises:
Satellite-signal acquisition module, for obtaining described satellite-signal;
Initial satellite PPS acquisition module, carries out analog-to-digital conversion for the satellite-signal that described satellite-signal acquisition module is obtained, and obtains initial satellite PPS;
Satellite PPS acquisition module, for the initial satellite PPS filtering shake that described initial satellite PPS acquisition module is obtained, obtains the satellite PPS of described satellite-signal.
8. the monitoring device of time synchronized according to claim 6, is characterized in that, also comprises:
Precision interval clock agreement 1588v2 PTP acquisition module, for obtaining the precision interval clock agreement 1588v2 Precision Time Protocol PTP time of described precision interval clock agreement 1588v2 time signal;
Satellite PTP acquisition module, for obtaining the satellite PTP time of described satellite-signal;
Second deviation acquisition module, the satellite PTP time of obtaining for precision interval clock agreement 1588v2 Precision Time Protocol PTP time that described precision interval clock agreement 1588v2 PTP acquisition module is obtained and described satellite PTP acquisition module compares calculating, obtains the integer part of the precision interval clock agreement 1588v2 time deviation of described base station;
Second deviation reporting module, for reporting the integer part of the precision interval clock agreement 1588v2 time deviation that described second deviation acquisition module obtain.
9. the monitoring device of time synchronized according to claim 8, is characterized in that, described precision interval clock agreement 1588v2 PTP acquisition module, comprising:
Time stamp obtains submodule, for obtaining the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
Precision interval clock agreement 1588v2 obtains submodule, and for described time stamp being obtained to precision interval clock agreement 1588v2 time stamp that submodule obtains, to carry out frequency locking phase-locked, obtains the described precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
10. the monitoring device of time synchronized according to claim 8, is characterized in that, described satellite PTP acquisition module, comprising:
TOD obtains submodule, for described satellite-signal is carried out to analog-to-digital conversion, obtains Time of Day TOD;
Satellite obtains submodule, for described TOD being obtained to the Time of Day TOD that submodule obtains, carries out time conversion, obtains the described satellite PTP time.
CN201010612514.4A 2010-12-29 2010-12-29 Method and device for monitoring time synchronization Active CN102098121B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010612514.4A CN102098121B (en) 2010-12-29 2010-12-29 Method and device for monitoring time synchronization
PCT/CN2011/080086 WO2012088931A1 (en) 2010-12-29 2011-09-23 Method and device for monitoring time synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010612514.4A CN102098121B (en) 2010-12-29 2010-12-29 Method and device for monitoring time synchronization

Publications (2)

Publication Number Publication Date
CN102098121A CN102098121A (en) 2011-06-15
CN102098121B true CN102098121B (en) 2014-09-03

Family

ID=44131005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010612514.4A Active CN102098121B (en) 2010-12-29 2010-12-29 Method and device for monitoring time synchronization

Country Status (2)

Country Link
CN (1) CN102098121B (en)
WO (1) WO2012088931A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098121B (en) * 2010-12-29 2014-09-03 华为技术有限公司 Method and device for monitoring time synchronization
CA2843201C (en) 2011-09-09 2015-12-15 Huawei Technologies Co., Ltd. Time synchronization method and system, and node device
CN103036857A (en) * 2011-09-29 2013-04-10 中兴通讯股份有限公司 Remote simulation method and device for checking and accepting broadband access
CN102710359B (en) * 2012-06-27 2014-12-24 北京东土科技股份有限公司 Accurate clock frequency synchronizing method and device based on IEEE1588 (institute of electrical and electronics engineers)
CN104486017B (en) * 2014-11-07 2017-02-15 中国电子科技集团公司第二十八研究所 Satellite time service multi-node synchronization monitoring method based on IP light transmission
CN106330375B (en) * 2016-08-24 2018-04-06 郑州威科姆科技股份有限公司 Electric power cyclic waves clock synchronization system and its method for synchronizing time
CN108075826B (en) * 2016-11-14 2020-10-27 上海微小卫星工程中心 Method and system for realizing satellite-ground time synchronization of satellite semi-physical simulation test
CN107947848B (en) * 2017-11-16 2020-10-23 北京卫星信息工程研究所 Satellite communication ground synchronous simulation system based on IEEE1588v2 and application method
CN109765583B (en) * 2019-03-04 2021-06-15 华通信安(北京)科技发展有限公司 Clock synchronization method based on GNSS receiver second pulse
CN113541846B (en) * 2021-09-17 2021-11-26 电信科学技术第五研究所有限公司 Method and system for monitoring network time synchronization performance

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447861A (en) * 2008-12-29 2009-06-03 中兴通讯股份有限公司 IEEE 1588 time synchronization system and implementation method thereof
CN101771487A (en) * 2008-12-31 2010-07-07 郑州威科姆科技股份有限公司 Equipment for network time service precision detection and detection method using the detection equipment
CN101841736A (en) * 2009-03-20 2010-09-22 中兴通讯股份有限公司 Method and system for transferring time in passive optical network (PON)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098121B (en) * 2010-12-29 2014-09-03 华为技术有限公司 Method and device for monitoring time synchronization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447861A (en) * 2008-12-29 2009-06-03 中兴通讯股份有限公司 IEEE 1588 time synchronization system and implementation method thereof
CN101771487A (en) * 2008-12-31 2010-07-07 郑州威科姆科技股份有限公司 Equipment for network time service precision detection and detection method using the detection equipment
CN101841736A (en) * 2009-03-20 2010-09-22 中兴通讯股份有限公司 Method and system for transferring time in passive optical network (PON)

Also Published As

Publication number Publication date
CN102098121A (en) 2011-06-15
WO2012088931A1 (en) 2012-07-05

Similar Documents

Publication Publication Date Title
CN102098121B (en) Method and device for monitoring time synchronization
US9671761B2 (en) Method, time consumer system, and computer program product for maintaining accurate time on an ideal clock
KR101340752B1 (en) High-precision synchronisation method and system
CN100461721C (en) System, method and apparatus for testing long-distance frame time delay
EP3009897B1 (en) Distribution device, distribution system, and distribution method
CN101465686B (en) Method and apparatus for implementing TD-SCDMA base station synchronization
CN102006159B (en) Multi-slave clock sampling value multi-interface synchronizing system based on IEEE1588
CN101895385B (en) Time-setting clock system of merging unit for realizing clock switching
CN106603183B (en) A kind of timestamp filter method and device
CN107026702A (en) The punctual method and apparatus of high accuracy
CN103563287A (en) Synchronization device and synchronization method
US9341701B2 (en) Method for synchronizing time measurements carried out in a radio communication network for geolocation purposes
CN102004441B (en) Adaptive crystal oscillator frequency timekeeping method
CN103592843A (en) Timestamp circuit and implement method
CN111431650B (en) Satellite signal real-time service method and system based on FPGA
CN202475769U (en) High-precision network clock server of LTE (Long Term Evolution) system
CN110912635B (en) Method and device based on high-precision time synchronization
CN107809295A (en) A kind of cross-platform time synchronism apparatus and method
CN113014345A (en) Clock synchronization early warning method, device and system
CN104683088A (en) Multi-reference synchronization method, device and system
CN207884639U (en) A kind of network node, temporal noise transmission characteristic measuring device and synchronous communication network
CN107300849A (en) The measuring method and on-line monitoring system of a kind of precision clock
CN106254182B (en) A kind of time synchronism apparatus of IP network tester
CN102710359A (en) Accurate clock frequency synchronizing method and device based on IEEE1588 (institute of electrical and electronics engineers)
CN104935394A (en) Time signal generator and time tester

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