Clock synchronization setting method and device, and storage medium
A technology of clock synchronization and storage media, applied in time division multiplexing systems, electrical components, generation/distribution signals, etc., can solve problems such as network device system time synchronization, and achieve the effect of solving system time synchronization problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] See figure 1 , figure 1 It is a flow chart of the clock synchronization setting method in the preferred embodiment of the present invention.
[0047] Such as figure 1 As shown, in an implementation manner of the embodiment of the present invention, the clock synchronization setting method includes the following steps:
[0048] Step S100, setting a custom command through the IIC protocol, and performing timing for the service board according to the custom command.
[0049] In this embodiment, the clock synchronization setting method is applied to network equipment, so as to set the system time of each service board in the network device to the same time, and realize the synchronization between the system time of each business board and the main control Board system time synchronization; Among the network equipment, at least one main control board and a plurality of service single boards are included; an MPU (Microprocessor Unit, microprocessor) is arranged inside the ...
Embodiment 2
[0115] See Figure 5 , Figure 5 It is a functional schematic diagram of the clock synchronization setting device of the present invention.
[0116] Such as Figure 5 As shown, this embodiment provides a clock synchronization setting device, which includes: a main control board 10 and a service single board 20, and the main control board 10 is connected to the service single board 20;
[0117] The service single board 20 is used to receive the synchronous read command sent by the main control board 10, and send the current time of the service single board 20 to the main control board 10; The timing write command sent by 10 sets the system time of the service single board 20 to be synchronized with the system time of the main control board 10;
[0118] The main control board 10 is used to set a custom command through the IIC protocol, and perform time service to the service single board 20 according to the custom command, so that the system time of the service single board 2...
Embodiment 3
[0121] This embodiment provides a storage medium, wherein the storage medium stores a clock synchronization setting program, and when the clock synchronization setting program is executed by a processor, it is used to implement the clock synchronization setting method as described in Embodiment 1; Specifically as above.
[0122] In summary, the present invention sets a custom command through the IIC protocol, so that the main control board can use the synchronous read command in the custom command to read the current time of each business single board, and use the timing write command to write to each The service board performs time service; in addition, the data transmission delay between the main control board and each service board is obtained through calculation, so that each service board can synchronize its own system time according to the system time and transmission delay of the main control board . The present invention sets custom commands through the IIC protocol t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com