Network time and online measurement device and method

By combining the network time receiving module and the external time module to analyze multiple timing signals and measure the delay time, the accuracy problem of the network timing system when the signal is interrupted is solved, rapid accuracy judgment and abnormality analysis are achieved, and the reliability of the network timing is guaranteed.

CN118838142BActive Publication Date: 2025-10-10NAT TIME SERVICE CENT CHINESE ACAD OF SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410890907.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2025-10-10
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The existing network timing system cannot complete timing in a timely manner when the network signal is interrupted, and cannot self-detect clock anomalies, resulting in degraded timekeeping performance and output errors, affecting accuracy and reliability.

Method used

The system uses a combination of network time receiving module, external time module and online time measurement module to analyze multiple timing signals (NTP, satellite, BPC, telephone) and measure the delay time to determine the accuracy of the network timing signal.

Benefits of technology

It achieves rapid and accurate judgment and abnormal cause analysis when the network signal is interrupted, ensures the accuracy and reliability of network timing, and has high maintainability and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118838142B_ABST
    Figure CN118838142B_ABST
Patent Text Reader

Abstract

The application discloses a network time service and online time measurement device and method, and relates to the field of electronic circuits and signal processing. The device comprises a server end and a user end. The user end comprises a network time receiving module, an external time module and an online time measurement module. The server end is used for providing an NTP time service signal. The network time receiving module is used for analyzing the NTP time service signal to obtain a network time service signal and a network 1PPS signal. The external time module is used for receiving and analyzing satellite time service signals, BPC time service signals and telephone time service signals to obtain satellite 1PPS signals, BPC_1PPS signals and telephone 1PPS signals. The online time measurement module is used for comparing the satellite 1PPS signals, the BPC_1PPS signals and the telephone 1PPS signals with the network 1PPS signal respectively, and judging whether the network time service signal is accurate according to the comparison results. The application can effectively guarantee the accuracy of the network time service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic circuits and signal processing, and in particular to a network timing and online measurement device and method. Background Art

[0002] Network timing is currently the most widely used wired timing method. It boasts a global network signal and a unified timing protocol. Requesting timing signals is simple, and receiving equipment is universal. Network timing plays a vital role in various military and civilian fields. Network timing signal transmission routes are stable, less susceptible to external interference than radio timing signals, and transmission is more reliable. Network timing is particularly effective in obstructed or enclosed environments where radio timing signals are unavailable.

[0003] In the fields of aerospace, finance, transportation, etc., there are high requirements for the accuracy and reliability of network timing. However, whether it is a wide area network or a private network, network timing depends on the network signal. When the network signal is interrupted, the network timing cannot be completed in time. Moreover, since the clock cannot perform self-detection, it cannot judge whether an abnormality has occurred by itself. The clock in the network timing is affected by environmental factors, aging, and other factors, and its time maintenance performance will also decline. It may even cause the output of incorrect time, making the accuracy and reliability of network timing low. This is unacceptable in fields with high time requirements and hinders the application of network timing.

[0004] Therefore, how to ensure the accuracy of network timing is a technical problem that needs to be solved urgently in this field. Summary of the Invention

[0005] The purpose of the present invention is to provide a network timing and online measurement device and method, which can effectively ensure the accuracy of network timing.

[0006] To achieve the above object, the present invention provides the following solutions:

[0007] In a first aspect, the present invention provides a network timing and online measurement device, which includes a server end and a user end, and the user end includes a network time receiving module, an external time module and an online time measurement module, wherein the network time receiving module is connected to the server end via a network, and the network time receiving module and the external time module are both connected to the online time measurement module.

[0008] The server is used to obtain the NTP timing signal and send the NTP timing signal to the network time receiving module.

[0009] The network time receiving module is configured to parse the NTP time signal to obtain a network time signal and a network 1PPS signal, and send the network time signal and the network 1PPS signal to the online time measuring module.

[0010] The external time module is configured to obtain satellite time signals, BPC time signals and telephone time signals, and parse the satellite time signals, the BPC time signals and the telephone time signals respectively to obtain satellite 1PPS signals, BPC_1PPS signals and telephone 1PPS signals respectively, and send the satellite 1PPS signals, the BPC_1PPS signals and the telephone 1PPS signals to the online time measuring module.

[0011] The online time measuring module is configured to measure a first delay time value between the satellite 1PPS signals and the network 1PPS signals, a second delay time value between the BPC_1PPS signals and the network 1PPS signals, and a third delay time value between the telephone 1PPS signals and the network 1PPS signals, and determine whether a network time result corresponding to the network time signal is accurate according to the first delay time value, the second delay time value, the third delay time value and a delay time threshold.

[0012] Optionally, the server end comprises a time reference module and a network time sending module.

[0013] The time reference module and the network time sending module are connected, and the network time sending module is further connected to the network time receiving module through a network.

[0014] The time reference module is configured to generate a time code signal, and send the time code signal to the network time sending module.

[0015] The network time sending module is configured to parse the time code signal to generate the NTP time signal and send the NTP time signal to the network time receiving module.

[0016] Optionally, the time reference module comprises an external time receiving unit and a time generating unit, the external time receiving unit and the time generating unit are connected, and the time generating unit is further connected to the network time sending module.

[0017] The external time receiving unit is configured to obtain a first time code signal, and send the first time code signal to the time generating unit.

[0018] The time generating unit is configured to parse the first time code signal to obtain a second time code signal and send the second time code signal to the network time sending module.

[0019] Optionally, the user terminal also includes a clock module, which is connected to the network time receiving module, the external time module and the online time measurement module respectively, and the clock module is used to provide clock reference signals for the network time receiving module, the external time module and the online time measurement module respectively.

[0020] Optionally, the clock module includes a first clock unit and a second clock unit.

[0021] The first clock unit is connected to the network time receiving module, and the first clock unit is used to provide a clock reference signal for the network time receiving module.

[0022] The second clock unit is connected to the external time module and the online time measurement module respectively, and is used to provide clock reference signals for the external time module and the online time measurement module respectively.

[0023] Optionally, the clock reference signal is a 10 MHz clock reference signal.

[0024] Optionally, the external time module includes a Beidou time generating unit, a BPC time generating unit and a telephone time generating unit, and the Beidou time generating unit, the BPC time generating unit and the telephone time generating unit are all connected to the online time measurement module.

[0025] The Beidou time generation unit is used to obtain the satellite timing signal, parse the satellite timing signal, obtain the satellite 1PPS signal and send it to the online time measurement module.

[0026] The BPC time generating unit is used to obtain the BPC timing signal, parse the BPC timing signal, obtain a BPC_1PPS signal, and send the signal to the online time measurement module.

[0027] The telephone time generating unit is used to obtain the telephone timing signal, parse the telephone timing signal, obtain the telephone IPPS signal and send it to the online time measurement module.

[0028] Optionally, the online time measurement module includes an online time measurement unit and a WEB online display unit, the online time measurement unit and the WEB online display unit are connected, and the online time measurement unit is also respectively connected to the Beidou time generation unit, the BPC time generation unit, the telephone time generation unit and the network time receiving module.

[0029] The online time measurement unit is used to measure the first delay time value, the second delay time value and the third delay time value, and determine whether the network timing result corresponding to the network timing signal is accurate based on the first delay time value, the second delay time value, the third delay time value and the delay time threshold.

[0030] The WEB online display unit is used to display the first delay time value, the second delay time value, the third delay time value, and the alarm information of the network timing signal in real time.

[0031] Optionally, the online time measurement module is used to:

[0032] When the first delay time value, the second delay time value and the third delay time value are all less than or equal to the delay time threshold, it is determined that the satellite 1PPS signal, the BPC_1PPS signal and the phone 1PPS signal are all normal, and the network timing result corresponding to the network timing signal is accurate.

[0033] When the first delay time value is greater than the delay time threshold, and the second delay time value and the third delay time value are both less than or equal to the delay time threshold, it is determined that the satellite 1PPS signal is abnormal, the BPC_1PPS signal and the phone 1PPS signal are normal, and the network timing result corresponding to the network timing signal is accurate.

[0034] When the second delay time value is greater than the delay time threshold, and the first delay time value and the third delay time value are both less than or equal to the delay time threshold, it is determined that the BPC_1PPS signal is abnormal, the satellite 1PPS signal and the phone 1PPS signal are both normal, and the network timing result corresponding to the network timing signal is accurate.

[0035] When the third delay time value is greater than the delay time threshold, and the first delay time value and the second delay time value are both less than or equal to the delay time threshold, it is determined that the telephone 1PPS signal is abnormal, the satellite 1PPS signal and the BPC_1PPS signal are normal, and the network timing result corresponding to the network timing signal is accurate.

[0036] When the first delay time value and the second delay time value are both greater than the delay time threshold, and the third delay time value is less than or equal to the delay time threshold, it is determined that the satellite 1PPS signal and the BPC_1PPS signal are both abnormal, the phone 1PPS signal is normal, and the network timing result corresponding to the network timing signal is accurate.

[0037] When the first delay time value and the third delay time value are both greater than the delay time threshold, and the second delay time value is less than or equal to the delay time threshold, it is determined that the satellite 1PPS signal and the phone 1PPS signal are both abnormal, the BPC_1PPS signal is normal, and the network timing result corresponding to the network timing signal is accurate.

[0038] When the second delay time value and the third delay time value are both greater than the delay time threshold, and the first delay time value is less than or equal to the delay time threshold, it is determined that the BPC_1PPS signal and the phone 1PPS signal are both abnormal, the satellite 1PPS signal is normal, and the network timing result corresponding to the network timing signal is accurate.

[0039] When the first delay time value, the second delay time value and the third delay time value are all greater than the delay time threshold, it is determined that the network IPPS signal is abnormal and the network timing result corresponding to the network timing signal is inaccurate.

[0040] In a second aspect, the present invention provides a network timing and online measurement method, which is applied to a network timing and online measurement device according to the first aspect, and the method comprises:

[0041] Obtain NTP timing signals, satellite timing signals, BPC timing signals and telephone timing signals.

[0042] The NTP timing signal is parsed to obtain a network timing signal and a network 1PPS signal; at the same time, the satellite timing signal, the BPC timing signal and the telephone timing signal are parsed to obtain a satellite 1PPS signal, a BPC_1PPS signal and a telephone 1PPS signal respectively.

[0043] According to the satellite 1PPS signal, the BPC_1PPS signal, the telephone 1PPS signal and the network 1PPS signal, a first delay time value between the satellite 1PPS signal and the network 1PPS signal, a second delay time value between the BPC_1PPS signal and the network 1PPS signal, and a third delay time value between the telephone 1PPS signal and the network 1PPS signal are determined.

[0044] Whether a network timing result corresponding to the network timing signal is accurate is determined according to the first delay time value, the second delay time value, the third delay time value and the delay time threshold.

[0045] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0046] The present invention parses an NTP timing signal through a network time receiving module to obtain a network timing signal and a network 1PPS signal, and sends the signals to an online time measurement module. Simultaneously, an external time module parses a satellite timing signal, a BPC timing signal, and a telephone timing signal to obtain a satellite 1PPS signal, a BPC_1PPS signal, and a telephone 1PPS signal, respectively, and sends the signals to the online time measurement module. Thus, after the online time measurement module simultaneously receives multiple signals such as the network timing signal, the network 1PPS signal, the satellite 1PPS signal, the BPC_1PPS signal, and the telephone 1PPS signal, the satellite 1PPS signal, the BPC_1PPS signal, and the telephone 1PPS signal are compared with the network 1PPS signal to determine the delay time between the various signals, thereby determining whether the network timing result corresponding to the network timing signal is accurate. By comparing the time of three external time sources (i.e., satellite time source, BPC time source, and telephone time source) with the time of the network 1PPS signal, the timing signals corresponding to the three external time sources (i.e., satellite timing signal, BPC timing signal, and telephone timing signal) are used as references to determine the accuracy of the network timing signal. This can ensure the validity of the monitoring data, and can quickly determine whether the network timing signal is abnormal and the cause of the abnormality, effectively ensuring the accuracy and reliability of the network timing, which is of great significance to ensuring the normal operation of the equipment. It adopts a modular and unitized design and has high maintainability and scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0048] Figure 1 A schematic diagram of the overall structure of a network timing and online measurement device provided in Example 1 of the present invention;

[0049] Figure 2 A schematic diagram of the specific structure of a network timing and online measurement device provided in Example 1 of the present invention;

[0050] Figure 3 A schematic diagram of the measurement principle of a network timing and online measurement device provided in Example 1 of the present invention;

[0051] Figure 4 A schematic diagram of the circuit structure of a network timing and online measurement device provided in Example 1 of the present invention;

[0052] Figure 5This is a flow chart of a network timing and online measurement method provided in Example 2 of the present invention. DETAILED DESCRIPTION

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0054] The purpose of the present invention is to provide a network timing and online measurement device and method, which can effectively ensure the accuracy of network timing.

[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0056] Example 1

[0057] like Figure 1 As shown, a network timing and online measurement device in this embodiment mainly includes a server end and a user end. The user end includes a network time receiving module, an external time module and an online time measurement module. The network time receiving module is connected to the server end via a network, and the network time receiving module and the external time module are both connected to the online time measurement module.

[0058] In this embodiment, the server is used to obtain an NTP (Network Time Protocol) timing signal and send the NTP timing signal to the network time receiving module.

[0059] In this embodiment, the network time receiving module is used to parse the NTP timing signal to obtain a network timing signal and a network 1PPS (1 Pulse Per Second) signal, which are then sent to the online time measurement module. The 1PPS signal refers to a pulse per second signal, where 1PPS = 1 Hz = 1 time per second. The 1PPS signal plays a crucial role in the GPS (Global Positioning System). GPS receivers determine their location and precise time by receiving signals sent by satellites. The 1PPS signal enables the GPS receiver to synchronize its internal clock to the precise time signal provided by the satellite, thereby ensuring that the received location information is highly accurate and reliable. Furthermore, the 1PPS signal is used to synchronize the precise time of a clock server. Accurate time synchronization is crucial in various fields, particularly for applications and systems that require precise time, such as communication networks. The 1PPS signal, by providing an electronic pulse once per second, can help clock servers maintain precise time synchronization. In clock servers, the 1PPS signal is typically generated using GPS or other similar positioning systems. These positioning systems utilize highly accurate atomic clocks and can provide very accurate time information. Clock servers receive signals from positioning systems like GPS and synchronize their local clocks using the 1PPS signal, ensuring that the server's time is always consistent with global standard time. 1PPS signals are typically transmitted in pulses, with each pulse corresponding to a precise unit of time, typically in the millisecond or nanosecond range. Clock servers continuously adjust their clocks based on the received 1PPS signal to ensure synchronization with global standard time. The 1PPS signal plays a crucial role in synchronizing precise time within clock servers. By comparing and adjusting with global standard time, the server's time is ensured to be accurate and reliable.

[0060] In the present embodiment, the external time module is used to obtain satellite timing signal, BPC timing signal and telephone timing signal, and the satellite timing signal, the BPC timing signal and the telephone timing signal are respectively parsed to obtain satellite IPPS signal, BPC_IPPS signal and telephone IPPS signal respectively, and send them to the online time measurement module. Wherein, BPC refers to a low-frequency timing code, which is a time standard service. BPC is broadcast in the form of a low-frequency signal by the National Time Service Center (National Time Service Center), covering the whole country. The frequency of the BPC signal is 10kHz, and the period is 0.1 second. It contains the time information and calibration signal of high-precision UTC (Coordinated Universal Time, CUT, Coordinated Universal Time, because the abbreviations of English CUT and French TUC are different, unified abbreviation UTC), which can provide very accurate time reference.

[0061] In this embodiment, the online time measurement module is used to measure the first delay time value between the satellite 1PPS signal and the network 1PPS signal, the second delay time value between the BPC_1PPS signal and the network 1PPS signal, and the third delay time value between the telephone 1PPS signal and the network 1PPS signal, and judge whether the network timing result corresponding to the network timing signal is accurate based on the first delay time value, the second delay time value, the third delay time value and the delay time threshold.

[0062] In this embodiment, the server includes a time reference module and a network time sending module. The time reference module is connected to the network time sending module, which is also connected to the network time receiving module via a network. The time reference module is configured to obtain a time code signal and send it to the network time sending module. The network time sending module is configured to parse the time code signal, generate the NTP timing signal, and send it to the network time receiving module.

[0063] like Figure 2 As shown, in this embodiment, the time reference module includes an external time receiving unit and a time generating unit. The external time receiving unit is connected to the time generating unit, which is also connected to the network time sending module. The external time receiving unit is configured to obtain a first time code signal and send the first time code signal to the time generating unit. The time generating unit is configured to parse the first time code signal to obtain a second time code signal and send the second time code signal to the network time sending module.

[0064] In this embodiment, the user terminal also includes a clock module, which is connected to the network time receiving module, the external time module and the online time measurement module respectively, and is used to provide clock reference signals for the network time receiving module, the external time module and the online time measurement module respectively.

[0065] In this embodiment, the clock module includes a first clock unit and a second clock unit. The first clock unit is connected to the network time receiving module and is configured to provide a clock reference signal to the network time receiving module. The second clock unit is connected to the external time module and the online time measurement module, respectively, and is configured to provide clock reference signals to the external time module and the online time measurement module, respectively.

[0066] In this embodiment, the clock reference signal is a 10 MHz clock reference signal. Two independent 10 MHz clock reference signals are used to make the clocks of the network signal receiving module and the external time module independent of each other. The 10 MHz clock reference signal is used to control the synchronous transmission of the signal, avoiding failures caused by clock abnormalities and effectively improving the stability and reliability of the system.

[0067] In this embodiment, the satellite is preferably a Beidou satellite, the external time module receives the Beidou satellite timing signal sent by the Beidou satellite, and the satellite 1PPS signal is the Beidou 1PPS signal.

[0068] In this embodiment, the external time module includes a Beidou time generation unit, a BPC time generation unit, and a telephone time generation unit, and the Beidou time generation unit, the BPC time generation unit, and the telephone time generation unit are all connected to the online time measurement module. The Beidou time generation unit is used to obtain the satellite timing signal, parse the satellite timing signal, obtain the satellite 1PPS signal, and send it to the online time measurement module. The BPC time generation unit is used to obtain the BPC timing signal, parse the BPC timing signal, obtain the BPC_1PPS signal, and send it to the online time measurement module. The telephone time generation unit is used to obtain the telephone timing signal, parse the telephone timing signal, obtain the telephone 1PPS signal, and send it to the online time measurement module.

[0069] In this embodiment, the online time measurement module includes an online time measurement unit and a WEB online display unit. The online time measurement unit is connected to the WEB online display unit, and the online time measurement unit is also connected to the Beidou time generation unit, the BPC time generation unit, the telephone time generation unit, and the network time receiving module. The online time measurement unit is used to measure the first delay time value, the second delay time value, and the third delay time value, and judge whether the network timing result corresponding to the network timing signal is accurate based on the first delay time value, the second delay time value, the third delay time value, and the delay time threshold. The WEB online display unit is used to display the first delay time value, the second delay time value, and the third delay time value, as well as the alarm information of the network timing signal in real time.

[0070] In this embodiment, the server side includes a time reference module and a network time transmission module. The time reference module provides time codes for the network time transmission module, which is the transmitter of NTP timing. The client side is divided into a network time receiving module, an external time module, an online time measurement module, and a clock module. The network time receiving module receives and parses NTP timing signals and outputs network timing signals and network 1PPS signals. The external time module receives external satellite time, BPC time, and telephone time, parses and outputs the corresponding three-way 1PPS signals. The online time measurement module compares the network 1PPS signal with the three-way 1PPS signals, outputs the comparison results to a web page, and determines whether to issue an alarm based on the monitored values. The clock module is divided into a first clock unit (i.e., clock 1) and a second clock unit (i.e., clock 2), which respectively provide frequency signals to the network time receiving module, the external time module, and the online time measurement module.

[0071] like Figure 2As shown, in this embodiment, the server receives external time through an external time receiving unit and outputs a first time code signal (real-time code 1) containing the year, month, day, and tenths of seconds, as well as a corresponding 1PPS signal. The time generation unit generates a second time code signal (real-time code 2) containing the year, month, day, tenths of seconds, milliseconds, and microseconds based on the first time code signal and the corresponding 1PPS. The network time sending module responds to the user's timing request signal and transmits the NTP timing signal to the user via a wide area network or a private network. The user receives the timing signal through the network time receiving module, parses and outputs the NTP timing signal, and generates a 1PPS signal in cooperation with the ARM and FPGA. The user's time source consists of a Beidou time generation unit, a BPC time generation unit, and a telephone time generation unit, which sequentially output Beidou 1PPS, BPC_1PPS, and telephone 1PPS. The online time measurement unit measures and outputs three measurement values. The web online display unit displays the measurement values ​​and determines data alarm information. Clock 1 provides a frequency signal to the network time receiving module, and clock 2 provides a frequency signal to the time generation unit and time measurement unit.

[0072] In this embodiment, the clock module includes a first clock unit (i.e., clock 1) and a second clock unit, and provides frequency signals to the network time receiving module, the time generating unit, and the time measuring unit respectively through two independent clocks (clock 1 and clock 2). The two independent clocks indicate that there are two crystal oscillators. If there is only one clock, the time in the device will depend on this one clock, and the function of monitoring the network timing signal cannot be realized. Therefore, this embodiment can ensure the validity of the monitoring data and guarantee the accuracy and reliability of the network timing by providing frequency signals simultaneously by two independent clocks.

[0073] like Figure 3 As shown, in this embodiment, the rising edge of the network 1PPS signal is the door opening signal, and the rising edges of the satellite 1PPS signal (i.e., Beidou 1PPS signal), BPC_1PPS signal, and telephone 1PPS signal are respectively used as the door closing signals.

[0074] In this embodiment, the online time measurement unit in the online time measurement module determines whether the network timing result corresponding to the network timing signal is accurate based on the first delay time value, the second delay time value, the third delay time value, and the delay time threshold, specifically including the following situations:

[0075] (1) When the first delay time value, the second delay time value and the third delay time value are all less than or equal to the delay time threshold, it is determined that the satellite 1PPS signal, the BPC_1PPS signal and the telephone 1PPS signal are all normal, and the network timing result corresponding to the network timing signal is accurate.

[0076] (2) When the first delay time value is greater than the delay time threshold value, and the second delay time value and the third delay time value are both less than or equal to the delay time threshold value, it is determined that the satellite 1PPS signal is abnormal, the BPC_1PPS signal and the telephone 1PPS signal are both normal, and the network time signal corresponds to an accurate network time result.

[0077] (3) When the second delay time value is greater than the delay time threshold value, and the first delay time value and the third delay time value are both less than or equal to the delay time threshold value, it is determined that the BPC_1PPS signal is abnormal, the satellite 1PPS signal and the telephone 1PPS signal are both normal, and the network time signal corresponds to an accurate network time result.

[0078] (4) When the third delay time value is greater than the delay time threshold value, and the first delay time value and the second delay time value are both less than or equal to the delay time threshold value, it is determined that the telephone 1PPS signal is abnormal, the satellite 1PPS signal and the BPC_1PPS signal are both normal, and the network time signal corresponds to an accurate network time result.

[0079] (5) When the first delay time value and the second delay time value are both greater than the delay time threshold value, and the third delay time value is less than or equal to the delay time threshold value, it is determined that the satellite 1PPS signal and the BPC_1PPS signal are both abnormal, the telephone 1PPS signal is normal, and the network time signal corresponds to an accurate network time result.

[0080] (6) When the first delay time value and the third delay time value are both greater than the delay time threshold value, and the second delay time value is less than or equal to the delay time threshold value, it is determined that the satellite 1PPS signal and the telephone 1PPS signal are both abnormal, the BPC_1PPS signal is normal, and the network time signal corresponds to an accurate network time result.

[0081] (7) When the second delay time value and the third delay time value are both greater than the delay time threshold value, and the first delay time value is less than or equal to the delay time threshold value, it is determined that the BPC_1PPS signal and the telephone 1PPS signal are both abnormal, the satellite 1PPS signal is normal, and the network time signal corresponds to an accurate network time result.

[0082] (8) When the first delay time value, the second delay time value, and the third delay time value are all greater than the delay time threshold value, it is determined that the network 1PPS signal is abnormal, and the network time signal corresponds to an inaccurate network time result.

[0083] In this embodiment, the delay time threshold is 50ms.

[0084] In simple terms, Figure 3 The effect of the display is similar to the process of stopwatch timing. The network 1PPS signal starts timing. Once the following three 1PPS signals, namely the Beidou 1PPS signal, the BPC_1PPS signal and the phone 1PPS signal, appear, the stopwatch timing is stopped respectively, thereby obtaining three measurement values, namely measurement value 1, measurement value 2 and measurement value 3, which correspond to the first delay time value, the second delay time value and the third delay time value respectively. Measurement value 1, measurement value 2 and measurement value 3 are the results of the three external 1PPS signals, respectively representing the delay time values ​​between the Beidou 1PPS signal, the BPC_1PPS signal, the phone 1PPS signal and the network 1PPS signal. This embodiment takes the delay time threshold of 50ms as an example for illustration. There are the following situations:

[0085] Case 1: All three measurement values ​​are ≤50ms. That is, measurement value 1 ≤ 50ms, measurement value 2 ≤ 50ms, and measurement value 3 ≤ 50ms, indicating that the network timing device is working normally and the network timing result is accurate.

[0086] The second case is when one measurement value is greater than 50ms and the other two measurement values ​​are less than or equal to 50ms. For example, if measurement value 1 is greater than 50ms, measurement value 2 is less than or equal to 50ms, and measurement value 3 is less than or equal to 50ms, this indicates that the Beidou 1PPS signal is abnormal, the BPC_1PPS signal is normal, the phone 1PPS signal is normal, the network timing device is operating normally, and the network timing result is accurate.

[0087] If the measurement value 2 is greater than 50ms, the measurement value 1 is less than or equal to 50ms, and the measurement value 3 is less than or equal to 50ms, it means that the BPC_1PPS signal is wrong, the Beidou 1PPS signal is normal, the phone 1PPS signal is normal, the network timing device can work normally, and the network timing result is accurate.

[0088] If the measurement value 3 is greater than 50ms, the measurement value 1 is less than or equal to 50ms, and the measurement value 2 is less than or equal to 50ms, it means that the phone 1PPS signal is wrong, the Beidou 1PPS signal is normal, and the BPC_1PPS signal is normal. At this time, the network timing device can work normally and the network timing result is accurate.

[0089] The third case: Two measurement values ​​are greater than 50ms, and one measurement value is less than or equal to 50ms. For example, if measurement value 1 is greater than 50ms, measurement value 2 is greater than 50ms, and measurement value 3 is less than or equal to 50ms, this indicates that the Beidou 1PPS signal and the BPC_1PPS signal are abnormal, but the phone 1PPS signal is normal. The network timing device is operating normally, and the network timing result is relatively accurate. This probability is low.

[0090] If measurement value 1 is greater than 50ms, measurement value 3 is greater than 50ms, and measurement value 2 is less than or equal to 50ms, it indicates that the Beidou 1PPS signal is abnormal, the phone 1PPS signal is abnormal, the BPC_1PPS signal is normal, the network timing device can work normally, and the network timing result is relatively accurate. The probability of this happening is low.

[0091] If measurement value 2 is greater than 50ms, measurement value 3 is greater than 50ms, and measurement value 1 is less than or equal to 50ms, it indicates that the BPC_1PPS signal is abnormal, the phone 1PPS signal is abnormal, the Beidou 1PPS signal is normal, the network timing equipment can work normally, and the network timing result is relatively accurate. This probability is low.

[0092] The fourth case: All three measurement values ​​are >50ms. That is, if measurement 1 is >50ms, measurement 2 is >50ms, and measurement 3 is >50ms, it can be determined that the network 1PPS signal is abnormal. The timing connection should be disconnected, an alarm should be issued immediately, and the cause should be investigated. It could also be due to a malfunction in the network timing device, an abnormal network connection, or an abnormal server-side time source. An abnormality in the network 1PPS signal indicates an abnormality in the network timing output, and therefore, the network timing result is inaccurate.

[0093] In this embodiment, the 10MHz signal of the second clock unit (i.e., clock 2) is used to measure multiple 1PPS signals, generating three measurement values, namely measurement value 1, measurement value 2, and measurement value 3. The WEB online display unit judges and alarms the above measurement values, which means that the delay time threshold is set to 50ms. When one measurement value is greater than 50ms, a second-level alarm signal is output. When the number of second-level alarm signals is greater than two, it is determined to output a first-level alarm signal.

[0094] like Figure 4 As shown, this embodiment uses a unified circuit design for both the server and client sides. The circuit structure primarily includes a BeiDou timing receiver, a BPC timing receiver, an oven-controlled crystal oscillator, an ARM, an FPGA, memory, a comparator, a driver, a telephone communication unit, and a network control chip. The BeiDou timing receiver on the server side provides a time reference signal, while the BeiDou timing receiver on the client side outputs a 1PPS signal as an external time signal. The BPC timing receiver outputs a BPC_1PPS signal. The telephone timing signal is acquired via the telephone communication unit, generating a telephone 1PPS signal within the FPGA. The network timing signal is received by the ARM and output to the FPGA, generating a network 1PPS signal within the FPGA. The FPGA uses a comparator to compare the delay time between each external 1PPS signal and the network 1PPS signal, obtaining a measured value and outputting it to the ARM. The ARM displays these measured values ​​on a web page. Two 10MHz crystal oscillators provide the FPGA with two time and frequency signals.

[0095] In this embodiment, the Beidou timing receiver adopts the T303-3 receiver of Taidou Company.

[0096] In this embodiment, the 10 MHz constant temperature crystal oscillator adopts the JKOC36A crystal oscillator produced by Jinko Yuantong Company.

[0097] In this embodiment, the ARM chip is AT91SAM9X25 produced by ATMEL.

[0098] In this embodiment, the FPGA adopts the Cyclone series EP3C25E144I7 chip of Altera Corporation.

[0099] In this embodiment, the comparator adopts the MAX961 chip produced by MAXIM.

[0100] In this embodiment, the chip used by the telephone communication unit is CX06833-44 produced by Conexant.

[0101] In this embodiment, the network control chip used is DM9161 produced by DAVICOM.

[0102] The external time module of this embodiment includes three time sources: satellite, BPC and telephone. The user end uses NTP timing to synchronize the local time with the server end. After receiving the timing signal, the network time receiving module outputs a 1PPS signal, which is compared with the three 1PPS signals of the external time module respectively. The comparison value is displayed in real time on the WEB page through the online time measurement module and the WEB online display unit. The network timing signal can be measured and monitored online in real time, thereby ensuring the accuracy and reliability of the network timing.

[0103] In order to overcome the shortcomings of traditional timing technologies such as telephones, this embodiment proposes a network timing and online monitoring device, which uses three external sources, two wireless timing signals and one wired timing signal, to monitor the network timing signals. The two wireless timing signals refer to satellite signals and BPC signals, and the one wired timing signal refers to a telephone signal. This allows for detection of network communication anomalies. The clocks of the network signal receiving module and the external time module are independent of each other, avoiding failures caused by clock anomalies. Both of the above situations can be judged based on the results of network monitoring to determine whether the network timing signal is abnormal, and timely alarms can be issued if an anomaly occurs.

[0104] In this embodiment, the NTP timing signal is parsed by the network time receiving module to obtain the network timing signal and the network IPPS signal, which are then sent to the online time measurement module. The satellite timing signal, the BPC timing signal, and the telephone timing signal are received and parsed by the external time module to obtain the satellite IPPS signal, the BPC_IPPS signal, and the telephone IPPS signal, which are then sent to the online time measurement module. After the online time measurement module simultaneously receives multiple signals such as the network timing signal, the network IPPS signal, the satellite IPPS signal, the BPC_IPPS signal, and the telephone IPPS signal, the satellite IPPS signal, the BPC_IPPS signal, and the telephone IPPS signal are compared with the network IPPS signal, and based on the comparison results, it is quickly determined whether the network timing signal is accurate. By comparing the time of three external time sources with the network timing signal and providing frequency signals with two independent clocks, the validity of the monitoring data is guaranteed. It can quickly determine whether the network timing signal is abnormal and the cause of the abnormality, effectively ensuring the accuracy and reliability of the network timing, which is of great significance to ensuring the normal operation of the equipment. It adopts a modular and unitized design with high maintainability and scalability.

[0105] Example 2

[0106] like Figure 5 As shown, this embodiment provides a network timing and online measurement method, which is applied to a network timing and online measurement device as described in Example 1. The method includes the following steps:

[0107] Step S1: Obtain NTP timing signal, satellite timing signal, BPC timing signal and telephone timing signal.

[0108] Step S2: parse the NTP timing signal to obtain a network timing signal and a network 1PPS signal; at the same time, parse the satellite timing signal, the BPC timing signal, and the telephone timing signal to obtain a satellite 1PPS signal, a BPC_1PPS signal, and a telephone 1PPS signal, respectively.

[0109] Step S3: Determine a first delay time value between the satellite 1PPS signal and the network 1PPS signal, a second delay time value between the BPC_1PPS signal and the network 1PPS signal, and a third delay time value between the telephone 1PPS signal and the network 1PPS signal based on the satellite 1PPS signal, the BPC_1PPS signal, the telephone 1PPS signal, and the network 1PPS signal.

[0110] Step S4: Determine whether the network timing result corresponding to the network timing signal is accurate based on the first delay time value, the second delay time value, the third delay time value, and the delay time threshold. The specific determination process is the same as in Example 1.

[0111] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.

[0112] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0113] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only intended to help understand the method and core concept of the present invention. At the same time, those skilled in the art will find that the specific implementation methods and application scopes may vary based on the concept of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims

1. A network timing and online measurement device, characterized in that: The device includes a server end and a user end, the user end includes a network time receiving module, an external time module and an online time measurement module, wherein the network time receiving module is connected to the server end via a network, and the network time receiving module and the external time module are both connected to the online time measurement module; The server is used to generate an NTP timing signal and send the NTP timing signal to the network time receiving module; The network time receiving module is used to parse the NTP timing signal, obtain the network timing signal and the network IPPS signal, and send them to the online time measurement module; The external time module is used to obtain satellite timing signals, BPC timing signals and telephone timing signals, and parse the satellite timing signals, the BPC timing signals and the telephone timing signals respectively to obtain satellite 1PPS signals, BPC_1PPS signals and telephone 1PPS signals, and send them to the online time measurement module; The online time measurement module is used to measure the first delay time value between the satellite 1PPS signal and the network 1PPS signal, the second delay time value between the BPC_1PPS signal and the network 1PPS signal, and the third delay time value between the telephone 1PPS signal and the network 1PPS signal, and judge whether the network timing result corresponding to the network timing signal is accurate based on the first delay time value, the second delay time value, the third delay time value and the delay time threshold; when the first delay time value, the second delay time value and the third delay time value are all greater than the delay time threshold, it is determined that the network 1PPS signal is abnormal and the network timing result corresponding to the network timing signal is inaccurate.

2. A network timing and online measurement device according to claim 1, characterized in that: The server side includes a time reference module and a network time sending module; The time reference module is connected to the network time sending module, and the network time sending module is also connected to the network time receiving module via a network; The time reference module is used to generate a time code signal and send the time code signal to the network time sending module; The network time sending module is used to parse the time code signal, generate the NTP timing signal and send it to the network time receiving module.

3. A network timing and online measurement device according to claim 2, characterized in that: The time reference module includes an external time receiving unit and a time generating unit, wherein the external time receiving unit is connected to the time generating unit, and the time generating unit is also connected to the network time sending module; The external time receiving unit is used to obtain a first time code signal and send the first time code signal to the time generating unit; The time generating unit is used to parse the first time code signal, obtain a second time code signal, and send the second time code signal to the network time sending module.

4. A network timing and online measurement device according to claim 1, characterized in that: The user terminal also includes a clock module, which is connected to the network time receiving module, the external time module and the online time measurement module respectively, and is used to provide clock reference signals to the network time receiving module, the external time module and the online time measurement module respectively.

5. A network timing and online measurement device according to claim 4, characterized in that: The clock module includes a first clock unit and a second clock unit; The first clock unit is connected to the network time receiving module, and the first clock unit is used to provide a clock reference signal for the network time receiving module; The second clock unit is connected to the external time module and the online time measurement module respectively, and is used to provide clock reference signals for the external time module and the online time measurement module respectively.

6. A network timing and online measurement device according to claim 4 or 5, characterized in that: The clock reference signal is a 10 MHz clock reference signal.

7. A network timing and online measurement device according to claim 1, characterized in that: The external time module includes a Beidou time generating unit, a BPC time generating unit and a telephone time generating unit, and the Beidou time generating unit, the BPC time generating unit and the telephone time generating unit are all connected to the online time measurement module; The Beidou time generation unit is used to obtain the satellite timing signal, parse the satellite timing signal, obtain the satellite IPPS signal and send it to the online time measurement module; The BPC time generating unit is used to obtain the BPC timing signal, parse the BPC timing signal, obtain the BPC_1PPS signal and send it to the online time measurement module; The telephone time generating unit is used to obtain the telephone timing signal, parse the telephone timing signal, obtain the telephone IPPS signal and send it to the online time measurement module.

8. A network timing and online measurement device according to claim 7, characterized in that: The online time measurement module includes an online time measurement unit and a WEB online display unit, the online time measurement unit is connected to the WEB online display unit, and the online time measurement unit is also connected to the Beidou time generation unit, the BPC time generation unit, the telephone time generation unit and the network time receiving module respectively; The online time measurement unit is used to measure the first delay time value, the second delay time value, and the third delay time value, and determine whether the network timing result corresponding to the network timing signal is accurate according to the first delay time value, the second delay time value, the third delay time value, and the delay time threshold; The WEB online display unit is used to display the first delay time value, the second delay time value, the third delay time value, and the alarm information of the network timing signal in real time.

9. A network timing and online measurement device according to claim 1, characterized in that: The online time measurement module is used to: When the first delay time value, the second delay time value, and the third delay time value are all less than or equal to the delay time threshold, it is determined that the satellite 1PPS signal, the BPC_1PPS signal, and the phone 1PPS signal are all normal, and the network timing result corresponding to the network timing signal is accurate; When the first delay time value is greater than the delay time threshold, and the second delay time value and the third delay time value are both less than or equal to the delay time threshold, it is determined that the satellite 1PPS signal is abnormal, the BPC_1PPS signal and the phone 1PPS signal are normal, and the network timing result corresponding to the network timing signal is accurate; When the second delay time value is greater than the delay time threshold, and the first delay time value and the third delay time value are both less than or equal to the delay time threshold, it is determined that the BPC_1PPS signal is abnormal, the satellite 1PPS signal and the phone 1PPS signal are normal, and the network timing result corresponding to the network timing signal is accurate; When the third delay time value is greater than the delay time threshold, and the first delay time value and the second delay time value are both less than or equal to the delay time threshold, it is determined that the phone 1PPS signal is abnormal, the satellite 1PPS signal and the BPC_1PPS signal are normal, and the network timing result corresponding to the network timing signal is accurate; When the first delay time value and the second delay time value are both greater than the delay time threshold, and the third delay time value is less than or equal to the delay time threshold, it is determined that the satellite 1PPS signal and the BPC_1PPS signal are both abnormal, the phone 1PPS signal is normal, and the network timing result corresponding to the network timing signal is accurate; When the first delay time value and the third delay time value are both greater than the delay time threshold, and the second delay time value is less than or equal to the delay time threshold, it is determined that both the satellite 1PPS signal and the phone 1PPS signal are abnormal, the BPC_1PPS signal is normal, and the network timing result corresponding to the network timing signal is accurate; When the second delay time value and the third delay time value are both greater than the delay time threshold, and the first delay time value is less than or equal to the delay time threshold, it is determined that the BPC_1PPS signal and the phone 1PPS signal are both abnormal, the satellite 1PPS signal is normal, and the network timing result corresponding to the network timing signal is accurate.

10. A network timing and online measurement method, characterized in that: The method is applied to a network timing and online measurement device according to any one of claims 1 to 9, and the method comprises: Obtain NTP timing signals, satellite timing signals, BPC timing signals and telephone timing signals; Parsing the NTP timing signal to obtain a network timing signal and a network 1PPS signal; at the same time, parsing the satellite timing signal, the BPC timing signal, and the telephone timing signal to obtain a satellite 1PPS signal, a BPC_1PPS signal, and a telephone 1PPS signal, respectively; Determining, based on the satellite 1PPS signal, the BPC_1PPS signal, the phone 1PPS signal, and the network 1PPS signal, a first delay time value between the satellite 1PPS signal and the network 1PPS signal, a second delay time value between the BPC_1PPS signal and the network 1PPS signal, and a third delay time value between the phone 1PPS signal and the network 1PPS signal; Whether a network timing result corresponding to the network timing signal is accurate is determined according to the first delay time value, the second delay time value, the third delay time value and the delay time threshold.

Citation Information

Patent Citations

  • Double-time-source network time server

    CN209014929U

  • Apparatus and method for generating time-frequency reference based on satellite timing and CPT atomic clock punctuality

    WO2022095552A1