Main and standby single-disk time synchronization system for communication equipment

By employing a dynamic switching control switch between the primary and backup optical modules in the communication equipment, information of the backup optical module is obtained. Timestamps are generated using a hub and switching chip, thus solving the time drift problem caused by the interruption of the primary and backup synchronization links in the communication equipment. This achieves highly reliable time synchronization and improves system stability.

CN121966780AActive Publication Date: 2026-05-01ZHILIAN XINNENG POWER TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHILIAN XINNENG POWER TECH CO LTD
Filing Date
2026-03-30
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In existing communication equipment, interruption of the primary and backup synchronization links or equipment failure causes time drift, reducing system stability. Existing technologies cannot achieve highly reliable time synchronization while ensuring normal communication of equipment.

Method used

The main board and the dual board adopt the same structure, with built-in single-pole double-throw digital switches and CPLD modules. By dynamically switching the control switch, the optical module service information of the dual board is obtained. The HUB and switching chip are used to timestamp, and time fusion and cross-connection are completed in the main control chip to achieve time synchronization between the main and backup boards.

Benefits of technology

It achieves highly reliable master-slave time synchronization without the need for complex algorithms, reduces hardware costs, improves system reliability and fault tolerance, and is suitable for light-load and multi-channel synchronization scenarios, avoiding interference with business communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121966780A_ABST
    Figure CN121966780A_ABST
Patent Text Reader

Abstract

The invention relates to a main and standby single-disk time synchronization system for communication equipment. A local disk and a dual disk comprise a main control chip, an exchange chip, an HUB chip, an SFP optical module, a CPLD module, a single-pole double-throw digital switch SPDT1 and a single-pole double-throw digital switch SPDT2. The switching chip and the HUB chip are respectively in electric signal connection with the main control chip; the SFP optical module is in electric signal connection with the dual disc or the switching chip through the single-pole double-throw digital switch SPDT1; the HUB chip is in electric signal connection with the COM or the dual disc through a single-pole double-throw digital switch SPDT2; and the CPLD module is used for detecting the existence state of the dual disk and dynamically switching the SPDT1 and the SPDT2. According to the invention, the problems of high requirement on the computing power and large error of the algorithm are solved. The built-in single-pole double-throw digital switch can switch the control switch according to the in-place state of the dual disk, acquire service information of the optical module of the dual disk, stamp timestamps through the HUB and the switching chip, and realize main and standby time synchronization through service fusion crossing and time synchronization information issuing in the main control chip.
Need to check novelty before this filing date? Find Prior Art

Description

A primary / backup single-disk time synchronization system for communication equipment Technical Field

[0001] This invention relates to the field of network communication technology, and more specifically to a primary and backup single-disk time synchronization system for communication equipment. Background Technology

[0002] In communication network equipment, time synchronization is a key technology for ensuring data exchange, signal processing, and network collaborative operation. Most existing time synchronization devices rely on a single link to achieve primary and backup synchronization. Once the link is interrupted or the equipment fails, time drift can easily occur, reducing system stability.

[0003] Specifically, in existing communication technologies, the synchronization link between the primary control board and the backup board is fixed (e.g., a dedicated synchronization port or backplane channel); when the primary / backup roles are switched or a board is disconnected, this link needs to be re-established or manually switched; during the link switch, PTP synchronization messages are interrupted, causing system time drift.

[0004] Therefore, how to achieve highly reliable time synchronization between the primary and backup systems while ensuring normal communication between the devices has become an urgent technical problem to be solved. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide a primary and backup single-disk time synchronization system for communication equipment, so as to overcome the shortcomings of the prior art.

[0006] The technical solution of this invention to solve the above-mentioned technical problems is as follows: A primary and backup single-disk time synchronization system for communication equipment includes a primary disk and a dual disk with the same structure. Both the primary disk and the dual disk include a main control chip, a switching chip with a clock synchronization protocol, a HUB chip, an SFP optical module, a CPLD module, a single-pole double-throw digital switch SPDT1, and a single-pole double-throw digital switch SPDT2. The switching chip and HUB chip of the primary disk are electrically connected to the main control chip. The SFP optical module of the primary disk is connected to the switching chip of the primary disk via the single-pole double-throw digital switch SPDT1. The switching chips of the main board or the dual board are connected by electrical signals; the COM port of this board is connected by electrical signals to the HUB chip of this board or the HUB chip of the dual board through the single-pole double-throw digital switch SPDT2; the main control chip of the dual board and the main control chip of this board are connected by electrical signals through the master-slave interconnection line; the main control chips of this board and the dual board are both connected to the service board; the CPLD module of this board or the dual board is used to detect the existence status of the dual board or the main board, and dynamically switch the single-pole double-throw digital switches SPDT1 and SPDT2 according to the master-slave synchronization requirements.

[0007] The beneficial effects of this invention are: This invention eliminates the need for complex algorithms on primary and backup disks, and avoids repeated time synchronization to eliminate errors, thus solving the problems of high computational requirements and large errors associated with traditional methods. This invention features a built-in single-pole double-throw digital switch on each disk, which can switch the control switch according to the status of the paired disk, obtain the optical module service information of the paired disk, timestamp it through the HUB and switching chip, and distribute the time synchronization information in the main control chip through service fusion and cross-connection, achieving primary and backup time synchronization in one step.

[0008] Through the control of the CPLD module, the system can dynamically switch to the dual-disk link to obtain time information while ensuring normal link communication, achieving highly reliable primary and backup time synchronization. The single-pole double-throw digital switch can obtain the status of the dual-disk optical module and COM port according to the service scenario, achieving 500G cross-connect capacity locally on the primary disk. This is suitable for light-load situations, reducing the service processing requirements of the backup disk.

[0009] To ensure normal communication: the system maintains the connection between the switching chip and the local SFP optical module by default, ensuring normal data transmission and reception of network devices.

[0010] Flexible synchronization: The CPLD module switches briefly only when the dual disk exists and time synchronization is required, avoiding interference with business communication.

[0011] High reliability: The dual-disk hardware structure is symmetrical, supporting either side as the primary disk and the other as the backup disk, achieving seamless interconnection. Business data is uniformly timestamped, with time fusion and cross-correction completed in the main control chip. This realizes "business as time carrier," reducing hardware costs and improving system reliability.

[0012] Redundant links: The HUB chip can provide backup communication paths, improving the system's fault tolerance and link redundancy.

[0013] Easy to expand: Through the configuration logic of the CPLD module, it can be expanded to multi-channel synchronization or time synchronization application scenarios with different protocols.

[0014] Based on the above technical solution, the present invention can be further improved as follows.

[0015] Furthermore, the main board and the dual board each have at least two SFP optical modules, each including optical module SFP1 and optical module SFP2; the optical modules SFP1 and SFP2 of the main board are electrically connected to the switching chip of the main board or the switching chip of the dual board through single-pole double-throw digital switches SPDT1 and SPDT3, respectively.

[0016] Furthermore, the single-pole double-throw digital switches SPDT1, SPDT2, and SPDT3 are all model TS3A5018RSVR, and the enable pins of SPDT1, SPDT2, and SPDT3 are all controlled by the CPLD module.

[0017] Furthermore, the switching chip is model VSC7436, and its clock synchronization protocol is IEEE1588.

[0018] Furthermore, the switching chip and the HUB chip are electrically connected to the main control chip via SGMII serial ports.

[0019] Furthermore, the main control chip is model 98DX3258. Attached Figure Description

[0020] Figure 1 is a system structure block diagram of the present invention. Detailed Implementation

[0021] The principles and features of the present invention are described below with reference to the accompanying drawings. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.

[0022] As shown in Figure 1, Embodiment 1 provides a primary / backup single-disk time synchronization system for communication equipment, comprising a primary disk and a dual disk with identical structures. Both the primary and dual disks include a master control chip, a switching chip with a clock synchronization protocol, a hub chip, an SFP optical module, a CPLD module, a single-pole double-throw (SPDT1) digital switch, and a single-pole double-throw (SPDT2) digital switch. The switching chip and hub chip of the primary disk are electrically connected to the master control chip. The SFP optical module of the primary disk is connected to the switching chip or the dual disk via the single-pole double-throw (SPDT1) digital switch. The switching chip of the disk is connected by electrical signals; the network management port COM of this disk is connected by electrical signals to the HUB chip of this disk or the HUB chip of the dual disk through a single-pole double-throw digital switch SPDT2; the main control chip of the dual disk and the main control chip of this disk are connected by electrical signals through the master-slave interconnection line, and the main control chips of both this disk and the dual disk are externally connected to the service disk; the CPLD module of this disk or the dual disk is used to detect the existence status of the dual disk or this disk, and dynamically switch the single-pole double-throw digital switch SPDT1 and the single-pole double-throw digital switch SPDT2 according to the master-slave synchronization requirements.

[0023] This invention eliminates the need for complex algorithms on primary and backup disks and repeated time synchronization to eliminate errors, thus solving the problems of high computational requirements and large errors associated with traditional methods. This invention features a single-pole double-throw digital switch built into each disk, which can switch the control switch according to the presence status of the paired disk, obtain the optical module service information of the paired disk, and timestamp it through a hub and switching chip. The main control chip then uses service fusion and cross-validation to send out time synchronization information, achieving primary and backup time synchronization in one step.

[0024] Through the control of the CPLD module, the system can dynamically switch to the dual-disk link to obtain time information while ensuring normal link communication, achieving highly reliable primary and backup time synchronization. The single-pole double-throw digital switch can obtain the status of the dual-disk optical module and COM port according to the service scenario, achieving 500G cross-connect capacity locally on the primary disk. This is suitable for light-load situations, reducing the service processing requirements of the backup disk.

[0025] Flexible synchronization: The CPLD module switches briefly only when the dual disk exists and time synchronization is required, avoiding interference with business communication.

[0026] High reliability: The dual-disk hardware structure is symmetrical, supporting either side as the primary disk and the other as the backup disk, achieving seamless interconnection. Business data is uniformly timestamped, with time fusion and cross-correction completed in the main control chip. This realizes "business as time carrier," reducing hardware costs and improving system reliability.

[0027] Redundant links: The HUB chip can provide backup communication paths, improving the system's fault tolerance and link redundancy.

[0028] Easy to expand: Through the configuration logic of the CPLD module, it can be expanded to multi-channel synchronization or time synchronization application scenarios with different protocols.

[0029] Example 2 is a further improvement on Example 1, and it is as follows: The main board and the dual board are each provided with at least two SFP optical modules, each including optical module SFP1 and optical module SFP2; the optical modules SFP1 and SFP2 of the main board are electrically connected to the switching chip of the main board or the switching chip of the dual board through single-pole double-throw digital switches SPDT1 and SPDT3, respectively.

[0030] The SFP port in the device can realize link multiplexing, and can still maintain the continuity of synchronous link in scenarios such as primary and backup disconnection, failure or redundant link.

[0031] Example 3 is a further improvement on Example 2, specifically as follows: The single-pole double-throw digital switches SPDT1, SPDT2, and SPDT3 are all model TS3A5018RSVR, and their enable pins are controlled by a CPLD module. In practice, the single-pole double-throw digital switches SPDT1, SPDT2, and SPDT3 are connected to the CPLD module via digital switch control lines.

[0032] Achieving low latency in 4G communication: Compared to using software instructions to control link switching (e.g., MCU driving multiplexers via GPIO), this solution uses CPLD hardware detection + logic judgment, with a response time in the microsecond range, without CPU involvement, achieving seamless time synchronization during automatic master / slave switching and avoiding 1588 message interruptions.

[0033] Example 4 is a further improvement on Example 1, and its specific details are as follows: the model of the switching chip is VSC7436, and the clock synchronization protocol of the switching chip is IEEE1588.

[0034] Hardware and software collaboration for 1588 time synchronization: The VSC7436 features hardware 1588 synchronization, working in conjunction with switchable links to achieve stable IEEE 1588 time synchronization at the physical layer.

[0035] Example 5 is a further improvement on Example 1, and its specific details are as follows: the switching chip and the HUB chip are electrically connected to the main control chip through the SGMII serial port.

[0036] The SGMII interface has an embedded clock recovery mechanism, which can reduce the impact of clock deviation on data transmission. It plays a positive role in achieving accurate synchronization between the main control board and the daughter board (such as 1588 time synchronization). The interface is compatible with various switching chips and HUB chip models, which facilitates system upgrades and interconnection with devices from different manufacturers.

[0037] Example 6 is a further improvement based on Example 1, and its specific details are as follows: the main control chip model is 98DX3258.

[0038] The main control chip uses the 98DX3258 high-performance Ethernet switching and processing chip. The main control chip integrates multiple high-speed Ethernet interfaces to enable multi-channel communication between the main control board and individual service boards, thereby improving the system's data forwarding capability and overall throughput without adding additional processors or programmable logic devices.

[0039] The main control chip natively supports the IEEE 1588v2 Precision Time Protocol (PTP) and a hardware-based data packet timestamp mechanism, enabling the acquisition of timestamps related to time synchronization to be completed at the hardware level. This achieves nanosecond-level time synchronization accuracy between the main control board and the service single board, significantly improving the clock consistency between various functional units of the system.

[0040] In addition, the main control chip integrates switching functions and network protocol processing capabilities to uniformly complete business data forwarding and time synchronization message processing, reducing reliance on external auxiliary logic or field-programmable gate arrays, making the system structure more compact, and helping to reduce system power consumption and improve overall reliability.

[0041] This invention uses the high-performance Ethernet switching and processing chip 98DX3258 as the main control chip. It utilizes its integrated multi-channel high-speed Ethernet interface to realize multi-channel communication between the main control board and the service single board. Without adding additional processors or programmable logic devices, it improves the system's data forwarding capability and overall throughput, and is suitable for communication scenarios with multiple services running concurrently.

[0042] This invention fully utilizes the native support of the 98DX3258 for the IEEE 1588 precision time protocol, and pushes the timestamp acquisition process of the time synchronization message down to the hardware layer. This avoids the uncertainty and error accumulation problems caused by the software timestamp method, thereby achieving nanosecond-level time synchronization accuracy between the main control board and the service single board, and significantly improving the clock consistency between various functional units of the system.

[0043] This invention reduces reliance on external auxiliary logic or field-programmable gate arrays by unifying the processing of service data forwarding and time synchronization messages on the main control chip, making the system structure more compact, which helps to reduce system power consumption and improve the overall reliability and stability of the system.

[0044] By combining the dynamic sensing of the dual disk's in-place status with the primary / backup control mechanism, this invention can automatically switch the time synchronization role between the primary and backup disks and smooth the time adjustment during the switching process, avoiding sudden time changes caused by disk switching or communication path changes, thereby further improving the continuity and reliability of system time synchronization.

[0045] Specific implementation process: (1) After the two main control boards are inserted into the main control slots, after power-on, the first main board starts and transmits the main and backup information through the CPLD main and backup inter-transmission line. The main control board in the other slot is set as the dual board. The hardware framework of the dual board is the same as that of the main board, both containing two optical modules and three single-pole double-throw switches. When the device does not receive the main and backup 1588 time synchronization requirement: (2) Optical modules SFP1 and SFP2 send the service flow information to the switching chip VSC7436 through the high-speed SERDES port. The switching chip VSC7436 timestamps the service flow information for time synchronization call; (3) The network management port COM is connected to the main control chip 98DX3258 (the service cross-connect chip of this board) through the HUB chip. The main control chip 98DX3258 realizes service fusion cross-connection, transmits the timestamp, and transmits the synchronization information to the other end dual board in a timely manner; when the network management sends the main and backup 1588 After the time synchronization command: (4) The CPLD module first checks the status of the dual disk. If it is in place, the CPLD module checks whether the heartbeat signal of the dual disk is normal; (5) If the CPLD module detects that the heartbeat signal of the dual disk is normal, it executes the switching command to switch the single-pole double-throw digital switches SPDT1, SPDT2 and SPDT3. At this time, the optical modules SFP1, SFP2 and COM port are switched to the dual disk. The master and backup transmission line transmits the time information of the local disk to the dual disk in a timely manner. The dual disk completes the 1588 master and backup time synchronization according to the reported information. At this time, the dual disk is upgraded to the master disk; Table 1 Switching truth table Line sequence SPDT1 control line SPDT2 control line SPDT3 control line Connect to local disk 000 Connect to dual disk 111 Table (6) When this disk needs to receive information from optical module SFP1 and optical module SFP2, that is, when it needs to be upgraded to the master disk, the original dual disk re-executes steps (3) and (4), this disk is upgraded to the master disk, and the original dual disk is downgraded to the backup disk, which can stably realize the 1588 time synchronization of the master and backup single disks.

[0046] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A primary / backup single-disk time synchronization system for communication equipment, characterized in that, This includes a main board and a dual board with the same structure. Each main board and dual board includes a main control chip, a switching chip with a clock synchronization protocol, a hub chip, an SFP optical module, a CPLD module, a single-pole double-throw (SPDT1) digital switch, and a single-pole double-throw (SPDT2) digital switch. The switching chip and hub chip of the main board are electrically connected to the main control chip. The SFP optical module of the main board is electrically connected to the switching chip of the main board or the switching chip of the dual board via the SPDT1 digital switch. The main board has a network management port (CO). M is electrically connected to the HUB chip of the local disk or the HUB chip of the dual disk via the single-pole double-throw digital switch SPDT2; the main control chip of the dual disk and the main control chip of the local disk are electrically connected via a master-slave interconnection line, and the main control chips of both the local disk and the dual disk are externally connected to service disks; the CPLD module of the local disk or the dual disk is used to detect the existence status of the dual disk or the local disk, and dynamically switch the respective single-pole double-throw digital switches SPDT1 and SPDT2 according to the master-slave synchronization requirements.

2. The primary / backup single-disk time synchronization system for communication equipment according to claim 1, characterized in that, The main disk and the dual disk are each provided with at least two SFP optical modules, each including optical module SFP1 and optical module SFP2; the optical modules SFP1 and SFP2 of the main disk are respectively electrically connected to the switching chip of the main disk or the switching chip of the dual disk through the single-pole double-throw digital switch SPDT1 and the single-pole double-throw digital switch SPDT3.

3. A primary / backup single-disk time synchronization system for communication equipment according to claim 2, characterized in that, The single-pole double-throw digital switches SPDT1, SPDT2, and SPDT3 are all model TS3A5018RSVR, and the enable pins of SPDT1, SPDT2, and SPDT3 are all controlled by the CPLD module.

4. A primary / backup single-disk time synchronization system for communication equipment according to claim 1, characterized in that, The switching chip is model VSC7436, and the clock synchronization protocol of the switching chip is IEEE1588.

5. A primary / backup single-disk time synchronization system for communication equipment according to claim 1, characterized in that, The switching chip and the HUB chip are respectively connected to the main control chip via SGMII serial ports.

6. A primary / backup single-disk time synchronization system for communication equipment according to claim 1, characterized in that, The main control chip is model 98DX3258.

Citation Information

Patent Citations

  • Packet transport network (PTN) device and method for realizing time synchronization protection switching (PS) by using main cross disk and spare cross disk of PTN device

    CN102123046A

  • Clock synchronization method and clock management interface board

    CN102497245A

  • Device in distributed system and synchronization method thereof

    CN105553595A

  • High-speed switch board based on VPX standard, and control method

    CN109672631A

  • Method and device for realizing rapid recovery of main / standby switching service in PON access system

    CN111586505A