Non-hopping time synchronization method based on NTP
The invention discloses a non-hopping time synchronization method based on NTP, which relates to the technical field of electronic information, and comprises the following steps: S1, a client obtains an address and a time difference threshold value of an NTP time server; s2, the client generates an...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
31.01.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a non-hopping time synchronization method based on NTP, which relates to the technical field of electronic information, and comprises the following steps: S1, a client obtains an address and a time difference threshold value of an NTP time server; s2, the client generates an NTP request message and sends the NTP request message to an NTP time server; s3, the NTP time server generates an NTP return message according to the NTP request message and sends the NTP return message to the client; s4, analyzing the time difference O between the client and the NTP time server; s5, judging whether O is greater than a time difference threshold value or not, if so, entering S6, and otherwise, ending; s6, determining an adjustment parameter C, and calculating a compensation duration L; s7, performing periodic adjustment until the execution of the L is completed, and returning to the S2; client software is installed on a server, a desk computer or a cloud platform needing to be synchronized, the clie |
---|---|
Bibliography: | Application Number: CN202211313514 |