Time service device
By configuring an optical splitter, a hot standby redundant switching module and at least two signal source processing modules in the timing device, redundant switching and stable output of the clock signal are achieved, which solves the problem of unstable and redundant clock signal output in the existing technology. It solves the problem of insufficient performance and ensures fast switching and stable timing of the device when the external clock source is lost.
Patent Information
- Application Number
- CN202410825853.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
AI Technical Summary
Existing timing devices cannot achieve stable and redundant output of time signals, especially in the NTP protocol and the IRIG-B code serial port protocol. The downstream equipment takes a long time to switch to the backup source after losing the clock source, and the IRIG-B code It is one-way and the clock source can no longer be obtained.
A timing device including an external source receiving module, at least two signal source processing modules and a hot standby redundant switching module is designed. The clock source optical signal is transmitted to the signal source processing module through an optical splitter. The processing module generates NTP network services. And the electrical signal output is realized through the hot standby redundant switching module to ensure the redundant switching and stable output of the clock signal.
It realizes the redundant switching and stable timing of the timing device, ensuring that it can quickly switch to the backup source when the external clock source is lost, providing stable NTP network service output, and avoiding the long synchronization cycle of the equipment after losing the clock source.
Smart Images

Figure CN118631377A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of time service, and in particular to a time service device. Background Art
[0002] The time obtained by the timing device from the external clock source enables itself to obtain a high-precision and stable time, and provides timing services to downstream devices through standard protocols. Under normal conditions, the timing device provides time to downstream devices through the NTP protocol and the IRIG-B code serial port protocol.
[0003] For NTP protocol timing, the timing device provides NTP service. Downstream devices access the NTP service through the NTP client to obtain time and gradually adjust their own crystal frequency to reduce the time deviation between the local time and the timing device, and finally achieve time synchronization. However, when using the NTP protocol for time synchronization, the synchronization period between the downstream device and the timing device is relatively long, generally 16s. Therefore, after the downstream device loses the NTP service of the timing device, it takes a long time to switch to the backup NTP service source.
[0004] For IRIG-B code serial port protocol timing, the downstream device obtains unidirectional IRIG-B code serial port data from the timing device, decodes the serial port data, obtains the local time, and gradually adjusts its own crystal oscillator frequency to reduce the time deviation between the local time and the timing device, and finally achieves time synchronization; however, since the IRIG-B code is unidirectional, when the IRIG-B code signal of the timing device is lost, the downstream device can no longer obtain the clock source. Summary of the invention
[0005] The technical problem to be solved by the present disclosure is to provide a time service device to overcome the defect that the time service device in the prior art cannot achieve stable and redundant output of time signals.
[0006] The present invention solves the above technical problems through the following technical solutions:
[0007] A first aspect of the present disclosure provides a timing device, comprising an external source receiving module, at least two signal source processing modules and a hot standby redundant switching module, wherein the external source receiving module comprises an optical splitter;
[0008] The optical splitter is used to transmit the acquired clock source optical signal to the at least two signal source processing modules;
[0009] The at least two signal source processing modules are used to process the clock source optical signal to obtain the NTP network service, and transmit the NTP network service and the operation data of each signal source processing module to the hot standby redundant switching module;
[0010] The hot standby redundant switching module is used to output the NTP network service of the signal source processing module corresponding to the normal operating data in the form of an electrical signal.
[0011] Preferably, the clock source optical signal includes a satellite source optical signal, and the external source receiving module further includes a coaxial cable signal optical conversion unit;
[0012] The coaxial cable signal optical conversion unit is used to convert the satellite data obtained from the satellite antenna into a satellite source optical signal, and transmit the satellite source optical signal to the optical splitter.
[0013] Preferably, the clock source optical signal includes a satellite source optical signal and a B code source optical signal, each signal source processing module includes a signal processing MCU unit, and the signal processing MCU unit includes a satellite signal processing MCU and an IRIG-B code processing MCU;
[0014] The optical splitter is used to transmit the acquired satellite source optical signal to the satellite signal processing MCU and to transmit the acquired B code source optical signal to the IRIG-B code processing MCU;
[0015] The signal processing MCU unit is used to select the satellite source optical signal or the B code source optical signal as a timing signal source according to the priority, and process the timing signal source to obtain the NTP network service.
[0016] Preferably, each signal source processing module includes a signal processing MCU unit and a fault monitoring unit;
[0017] The fault monitoring unit is used to monitor the status information of the signal processing MCU unit and obtain the operation data of each signal source processing module based on the status information.
[0018] Preferably, the fault monitoring unit is used to determine that the signal source processing module is operating normally when it detects that the status information of the signal processing MCU unit is fault data, and transmit the normal operating data to the hot standby redundant switching module.
[0019] Preferably, the fault monitoring unit is further used to determine that the signal source processing module is operating abnormally when it is detected that the status information of the signal processing MCU unit is non-fault data, and transmit the abnormal operation data to the hot standby redundant switching module.
[0020] Preferably, the hot standby redundant switching module includes a redundant switching judgment unit and a selection switch;
[0021] The redundant switching judgment unit is used to send a switching signal to the signal receiving end of the selection switch according to the operation data of each signal source processing module when the hot standby redundant switching module is normally powered on;
[0022] The selection switch is used to switch the selection switch to the port connected to the signal source processing corresponding to the normal operating data according to the received switching signal.
[0023] Preferably, the hot standby redundant switching module further includes a RAM and a radio frequency switch;
[0024] The RAM is used to send different radio frequency frequencies to the radio frequency switch according to the operation data of each signal source processing module when the hot standby redundant switching module loses power abnormally;
[0025] The radio frequency switch is used to switch the radio frequency switch to the port connected to the signal source processing corresponding to the normal operating data according to the received radio frequency.
[0026] Preferably, the RAM comprises a capacitor;
[0027] The capacitor is used to supply power to the hot standby redundant switching module when the hot standby redundant switching module loses power abnormally.
[0028] Preferably, the RAM further comprises a radio frequency transmitter;
[0029] The radio frequency transmitter is used to send radio frequency.
[0030] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.
[0031] The positive and progressive effects of this disclosure are:
[0032] The present invention configures an optical splitter, a hot standby redundant switching module and at least two signal source processing modules in a timing device. The at least two signal source processing modules simultaneously obtain the same external clock source optical signal, and simultaneously process the external clock source optical signal to obtain NTP network services. The NTP network service and the operation data of each signal source processing module are transmitted to the hot standby redundant switching module. The hot standby redundant switching module is used to realize the stable output of the hot standby redundant NTP network service, thereby realizing redundant switching and stable timing of the timing device. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic diagram of the structure of a timing device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.
[0035] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
[0036] In the embodiments of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0037] Figure 1 A timing device provided by an exemplary embodiment of the present disclosure includes an external source receiving module 1, at least two signal source processing modules (for example, Figure 1 As shown, taking two signal source processing modules as an example, namely a first signal source processing module 21 and a second signal source processing module 22) and a hot standby redundant switching module 3, the external source receiving module 1 includes a splitter 12;
[0038] An optical splitter 12, used for transmitting the acquired clock source optical signal to at least two signal source processing modules;
[0039] At least two signal source processing modules, used for processing the clock source optical signal to obtain NTP network service, and transmitting the NTP network service and the operation data of each signal source processing module to the hot standby redundant switching module 3;
[0040] The hot standby redundant switching module 3 is used to output the NTP network service of the signal source processing module corresponding to the normal operating data in the form of an electrical signal.
[0041] In this embodiment, for example, taking two signal source processing modules as an example, two signal source processing modules are configured in the timing device, the two signal source processing modules simultaneously obtain the same external clock source signal, and the two signal source processing modules simultaneously process the external clock source signal and output NTP network services simultaneously. A hot standby redundant switching module is configured in this timing device, and hot standby redundant NTP network service output is realized by processing the electrical signal of the NTP network service.
[0042] In this embodiment, an optical splitter, a hot standby redundant switching module and at least two signal source processing modules are configured in the timing device. The at least two signal source processing modules simultaneously obtain the same external clock source optical signal, and simultaneously process the external clock source optical signal to obtain the NTP network service. The NTP network service and the operation data of each signal source processing module are transmitted to the hot standby redundant switching module. The hot standby redundant switching module is used to realize the stable output of the hot standby redundant NTP network service, thereby realizing the redundant switching and stable timing of the timing device.
[0043] In an optional embodiment, the clock source optical signal includes a satellite source optical signal, and the external source receiving module 1 further includes a coaxial cable signal optical conversion unit 11;
[0044] The coaxial cable signal optical conversion unit 11 is used to convert the satellite data obtained from the satellite antenna into a satellite source optical signal, and transmit the satellite source optical signal to the optical splitter.
[0045] In an optional embodiment, the clock source optical signal includes a satellite source optical signal and a B code source optical signal, and each signal source processing module includes a signal processing MCU unit (for example, Figure 1 As shown, the first signal source processing module 21 includes a first signal processing MCU unit 211, the second signal source processing module 22 includes a second signal processing MCU unit 221), and the signal processing MCU unit includes a satellite signal processing MCU and an IRIG-B code processing MCU;
[0046] An optical splitter, used to transmit the acquired satellite source optical signal to the satellite signal processing MCU and to transmit the acquired B code source optical signal to the IRIG-B code processing MCU;
[0047] The signal processing MCU unit is used to select the satellite source optical signal or the B-code source optical signal as the timing signal source according to the priority, and process the timing signal source to obtain the NTP network service.
[0048] In the specific implementation process, for the external signal source, in order to realize the redundancy function, it is necessary to realize the single input and dual output of the external clock source optical signal, so that the two redundant signal source processing modules can obtain the same external clock source optical signal. The simplest and most stable way to realize the single input and dual output of the clock source optical signal is to use a splitter to divide one optical signal into two optical signals, and the two optical signals are respectively transmitted to two redundant signal source processing modules for signal processing. Since the data after the satellite antenna obtains the GPS / BDS satellite signal uses the analog electrical signal transmitted by the coaxial cable signal conversion unit, a coaxial cable signal conversion unit 11 is added to the external receiving source module 1. The optical signal output by the coaxial cable signal conversion unit 11 divides the acquired satellite data signal into two output signal sources through the splitter 12; similarly, the IRIG-B code optical signal received by the external receiving source module 1 is divided into two output signal sources through the splitter 12.
[0049] After the external receiving source module 1 divides the two external time source signals into two external clock source optical signals, the first signal source processing module 21 and the second signal source processing module 22 with the same functions respectively receive one of the clock source optical signals. Figure 1 As shown, the first signal source processing module 21 and the second signal source processing module 22 respectively obtain the same satellite source optical signal and B code source optical signal. The satellite source optical signal obtained at the same time is connected to the satellite signal processing MCU, and the B code source optical signal is connected to the IRIG-B code processing MCU. The satellite signal processing MCU and the IRIG-B code processing MCU both belong to the first signal processing MCU unit 211 and the second signal processing MCU unit 221.
[0050] Under normal conditions, the first signal processing MCU unit 211 and the second signal processing MCU unit 221 will select the satellite source optical signal or the B code source optical signal as the timing signal source according to the configuration priority, and output a stable NTP network service through its own time synchronization function.
[0051] In this embodiment, the timing device first needs to obtain an external time signal. Under normal conditions, the timing device obtains GPS satellite or Beidou satellite signals through a satellite antenna to obtain standard time; or other timing devices provide IRIG-B code serial port signals to obtain standard time. After the timing device obtains the standard time, it adjusts its own crystal oscillator frequency to ensure a standard and stable local time. Under normal conditions, the crystal oscillator of the timing device itself is a constant temperature crystal oscillator or a rubidium atomic clock, which has strong accuracy and stability, and can usually achieve an accuracy of more than 12ns / 24h, ensuring that the timing device has a strong timekeeping function when the external source is lost.
[0052] In an optional embodiment, each signal source processing module includes a signal processing MCU unit and a fault monitoring unit (for example, Figure 1 As shown, a first fault monitoring unit 212 and a second fault monitoring unit 222);
[0053] The fault monitoring unit is used to monitor the status information of the signal processing MCU unit and obtain the operation data of each signal source processing module based on the status information.
[0054] In an optional embodiment, the fault monitoring unit is used to determine that the signal source processing module is operating normally when the status information of the signal processing MCU unit is detected as fault data, and transmit the normal operating data to the hot standby redundant switching module.
[0055] In an optional embodiment, the fault monitoring unit is further used to determine that the signal source processing module is operating abnormally when the status information of the signal processing MCU unit is detected as non-fault data, and transmit the abnormal operation data to the hot standby redundant switching module.
[0056] In an optional embodiment, the hot standby redundant switching module 3 includes a redundant switching judgment unit 31 and a selection switch 32;
[0057] The redundant switching judgment unit 31 is used to send a switching signal to the signal receiving end of the selection switch according to the operation data of each signal source processing module when the hot standby redundant switching module is normally powered on;
[0058] The selection switch 32 is used to switch the selection switch to the port connected to the signal source processing corresponding to the normal operating data according to the received switching signal.
[0059] In a specific implementation, the fault monitoring unit (for example, Figure 1 As shown, the first fault monitoring unit 212 and the second fault monitoring unit 222) will monitor the status information of the first signal processing MCU unit 211 and the second signal processing MCU unit 221 in real time through the SNMP protocol. If the signal processing MCU unit has crystal oscillator accuracy drift, external source loss, external output port failure, or the signal processing MCU unit crashes and loses power, the signal processing MCU unit will send the fault data to the fault monitoring unit through the SNMP protocol.
[0060] When the fault monitoring unit does not obtain the fault code of the signal processing MCU unit, the fault detection unit will output normal operation data (including the signal processing MCU unit identity information) to the redundant switching judgment unit 31 in the hot standby redundant switching module 3, otherwise it will obtain abnormal operation data (including the signal processing MCU unit identity information).
[0061] Specifically, Figure 1 As shown, for example, when the first signal source processing module 21 and the second signal source processing module 22 operate normally, the redundant switching judgment unit 31 will obtain two output normal operation data; or when the first signal source processing module 21 operates normally and the second signal source processing module 22 operates abnormally, the redundant switching judgment unit 31 will obtain the input of the normal operation data output by the first signal source processing module 21 and the abnormal operation data output by the second signal source processing module 22. At this time, the redundant switching judgment unit 31 will send a switching signal to the signal receiving port 321 of the selection switch 32, and the selection switch 32 will switch to the port 322, as shown in FIG. Figure 1 As shown, the NTP network service output of the first signal processing MCU unit 211 will pass through the circuit through the port 322 of the selection switch 32 to the port 323, and then to the NTP output port, so as to provide time synchronization to the NTP client LAN.
[0062] When the second signal source processing module 22 operates normally and the first signal source processing module 21 operates abnormally, the redundant switching judgment unit 31 obtains the input of the normal operation data output by the second signal source processing module 22 and the abnormal operation data output by the first signal source processing module 21. At this time, the redundant switching judgment unit 31 sends a switching signal to the signal receiving port 321 of the selection switch 32, and the selection switch 32 switches the switch to the port 324. Figure 1 As shown, the NTP network service output of the second signal processing MCU unit 221 will pass through the circuit through the port 324 of the selection switch 32 to the port 323, and then to the NTP output port, so as to provide time synchronization to the NTP client LAN.
[0063] In an optional embodiment, the hot standby redundant switching module 3 further includes a RAM 33 and a radio frequency switch 34;
[0064] RAM33, used to send different RF frequencies to the RF switch according to the operation data of each signal source processing module when the hot standby redundant switching module loses power abnormally;
[0065] The radio frequency switch 34 is used to switch the radio frequency switch to the port connected to the signal source processing corresponding to the normal operating data according to the received radio frequency.
[0066] In an alternative embodiment, the RAM includes a capacitor;
[0067] The capacitor is used to supply power to the hot standby redundant switching module when the hot standby redundant switching module loses power abnormally.
[0068] In an optional embodiment, the RAM further comprises a radio frequency transmitter;
[0069] RF transmitter, used to send RF frequencies.
[0070] In this embodiment, Figure 1 As shown, RAM33 is added to the hot standby redundant switching module 3, and the redundant switching judgment unit 31 obtains the status information of the signal processing MCU unit, that is, updates the operating status of the two signal processing MCU units in real time. At the same time, this RAM contains a capacitor as a backup power supply and a small RF transmitter.
[0071] When the hot standby redundant switching module 3 loses power abnormally, under the power supply of the capacitor, the RAM sends different radio frequencies to the radio frequency switch 34 according to the current signal processing MCU unit status information, and the selection switch 32 does not perform any port switching due to power failure;
[0072] Specifically, Figure 1 As shown, for example, when both the first signal source processing module 21 and the second signal source processing module 22 are normal or the first signal source processing module 21 is normal and the second signal source processing module 22 is abnormal, the RF frequency sent by the RAM will cause the RF switch 34 to switch to port 341, so as shown in the above figure, the NTP network service output of the first signal processing MCU unit 211 will pass through the circuit through port 341 of the RF switch 34 to port 342, and then to the NTP output port, thereby providing time synchronization to the NTP client LAN.
[0073] When the second signal source processing module 22 is normal and the first signal source processing module 21 is abnormal, the RF frequency sent by the RAM will cause the RF switch 34 to switch to the port 343, such as Figure 1 As shown, the NTP network service output of the second signal processing MCU unit 221 will pass through the circuit through the port 343 of the RF switch 34 to the port 342, and then to the NTP output port, so as to provide time synchronization to the NTP client LAN.
[0074] The present disclosure is designed from the timing device itself, and proposes a method of using at least two sets of signal source processing modules for hot standby redundant switching to achieve stable output of the NTP network service of the timing device; starting from the network electrical port principle of the NTP network service output, the fast switching of redundant hot standby is achieved through circuit switching; at the same time, in order to prevent the power failure of the redundant switching judgment part from affecting the redundant switching and timing of the timing module, the redundant switching and timing of the timing device are achieved through peripheral electrical and storage devices.
Claims
1. A timing device, characterized in that: It includes an external source receiving module, at least two signal source processing modules and a hot standby redundant switching module, wherein the external source receiving module includes an optical splitter; The optical splitter is used to transmit the acquired clock source optical signal to the at least two signal source processing modules; The at least two signal source processing modules are used to process the clock source optical signal to obtain the NTP network service, and transmit the NTP network service and the operation data of each signal source processing module to the hot standby redundant switching module; The hot standby redundant switching module is used to output the NTP network service of the signal source processing module corresponding to the normal operating data in the form of an electrical signal.
2. The timing device according to claim 1, characterized in that: The clock source optical signal includes a satellite source optical signal, and the external source receiving module also includes a coaxial cable signal optical conversion unit; The coaxial cable signal optical conversion unit is used to convert the satellite data obtained from the satellite antenna into a satellite source optical signal, and transmit the satellite source optical signal to the optical splitter.
3. The timing device according to claim 1, characterized in that: The clock source optical signal includes a satellite source optical signal and a B code source optical signal, each signal source processing module includes a signal processing MCU unit, and the signal processing MCU unit includes a satellite signal processing MCU and an IRIG-B code processing MCU; The optical splitter is used to transmit the acquired satellite source optical signal to the satellite signal processing MCU and to transmit the acquired B code source optical signal to the IRIG-B code processing MCU; The signal processing MCU unit is used to select the satellite source optical signal or the B code source optical signal as a timing signal source according to the priority, and process the timing signal source to obtain the NTP network service.
4. The timing device according to claim 1, characterized in that: Each signal source processing module includes a signal processing MCU unit and a fault monitoring unit; The fault monitoring unit is used to monitor the status information of the signal processing MCU unit and obtain the operation data of each signal source processing module based on the status information.
5. The timing device according to claim 4, characterized in that: The fault monitoring unit is used to determine that the signal source processing module is operating normally when the status information of the signal processing MCU unit is detected as fault data, and transmit the normal operating data to the hot standby redundant switching module.
6. The timing device according to claim 4, characterized in that: The fault monitoring unit is further used to determine that the signal source processing module is operating abnormally when the status information of the signal processing MCU unit is detected to be non-fault data, and transmit the abnormal operation data to the hot standby redundant switching module.
7. The timing device according to claim 1, characterized in that: The hot standby redundant switching module includes a redundant switching judgment unit and a selection switch; The redundant switching judgment unit is used to send a switching signal to the signal receiving end of the selection switch according to the operation data of each signal source processing module when the hot standby redundant switching module is normally powered on; The selection switch is used to switch the selection switch to the port connected to the signal source processing corresponding to the normal operating data according to the received switching signal.
8. The timing device according to claim 7, characterized in that: The hot standby redundant switching module also includes a RAM and a radio frequency switch; The RAM is used to send different radio frequency frequencies to the radio frequency switch according to the operation data of each signal source processing module when the hot standby redundant switching module loses power abnormally; The radio frequency switch is used to switch the radio frequency switch to the port connected to the signal source processing corresponding to the normal operating data according to the received radio frequency.
9. The timing device according to claim 8, characterized in that: The RAM includes a capacitor; The capacitor is used to supply power to the hot standby redundant switching module when the hot standby redundant switching module loses power abnormally.
10. The timing device according to claim 8, characterized in that: The RAM also includes a radio frequency transmitter; The radio frequency transmitter is used to send radio frequency.
