Patent ID: 11860689
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Telecommunications (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 0:
1. A time synchronization method, comprising:
after clock board times between service boards are synchronized, obtaining, by a service board of the service boards, a central processing unit (CPU) time and a clock board time of the service board according to a preset periodicity, wherein the CPU time is based on a clock signal generated by a crystal oscillator corresponding to a CPU of the service board, and the clock board time is based on a clock signal generated by a clock board of the service board;
recording, by the service board, the obtained CPU time and the obtained clock board time;
for performing CPU time synchronization between the service boards, obtaining, by the service board, a current CPU time of the service board, and calculating a synchronization time of the CPU based on the current CPU time, a last recorded CPU time, and a last recorded clock board time; and
adjusting, by the service board, the CPU time of the service board to the synchronization time.