SYNCHRONIZATION METHOD AND APPARATUS, DEVICE, AND STORAGE MEDIUM
This application discloses a synchronization method, apparatus, and device, and a storage medium. The method includes: obtaining a first timestamp difference of a packet on a target link, where the first timestamp difference is a difference between a sending timestamp and a receiving timestamp of th...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This application discloses a synchronization method, apparatus, and device, and a storage medium. The method includes: obtaining a first timestamp difference of a packet on a target link, where the first timestamp difference is a difference between a sending timestamp and a receiving timestamp of the packet at a first moment; performing packet selection based on the first timestamp difference to obtain a second timestamp difference; obtaining a delay prediction value of the target link at the first moment, compensating for the second timestamp difference based on the delay prediction value to obtain a compensated timestamp difference; and performing time and/or clock synchronization based on the compensated timestamp difference. The second timestamp difference is compensated for based on the delay prediction value, that is, PDV noise introduced to the target link is compensated for. In this way, the PDV noise is reduced, and the compensated timestamp difference more directly reflects frequency offset and phase offset information of a crystal oscillator relative to a frequency reference source, thereby improving synchronization precision and improving synchronization performance. |
---|