Clock synchronization method and system

Dongqin Feng,Han Zhang,Jian Chu,Jianxiang Jin
2012-01-01
Abstract:The embodiment of the invention provides a clock synchronization method and a system. The clock synchronization method comprises the following steps: acquiring synchronism deviation between a master clock and a slave clock sent from a clock, and acquiring a synchronism deviation reference value between the master clock and the slave clock according to the synchronism deviation between the master clock and the slave clock; acquiring a synchronism deviation reference value between the master clock and the slave clock in unit time according to the synchronism deviation reference value between the master clock and the slave clock; acquiring the maximum synchronism deviation allowed between the master clock and the slave clock according to the synchronism accuracy requirement between the master clock and the slave clock; calculating the minimum value of synchronization frequency between the master clock and the slave clock according to the synchronism deviation reference value between the master clock and the slave clock in the unit time and the maximum synchronism deviation allowed between the master clock and the slave clock; and taking a value not less than the minimum value of the synchronization frequency between the master clock and the slave clock as a synchronization frequency value of the master clock, and carrying out clock synchronization. The embodiment of the inventionreduce the synchronism deviation between the master clock and the slave clock and make the synchronism deviation between the master clock and the slave clock meet the accuracy requirement between themaster clock and the slave clock of the system.
What problem does this paper attempt to address?