摘要 |
<p>A method and apparatus for enabling automatic time and frequency synchronization over an asynchronous network (e.g., an Ethernet network) provide increased clock synchronization accuracy, reduce clock synchronization traffic, and decrease the processing load of a network processor. In some embodiments, a method for implementing synchronization comprises obtaining a plurality of timestamps from messages exchanged between a master device and a slave device; determining one or more time differences between a clock of the master device and a clock of the slave device based on the plurality of timestamps; determining a synchronization index indicating a degree of synchronization between the clock of the master device and the clock of the slave device based on the one or more time differences; and synchronizing a frequency of the clock of the slave device with a frequency of the clock of the master device based on the synchronization index.</p> |