Font Size: a A A

The Design And Implementation Of A High Resolution Network Clock Synchronization System Based On PTP Protocol

Posted on:2013-12-18Degree:MasterType:Thesis
Country:ChinaCandidate:H L LiFull Text:PDF
GTID:2268330392470940Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Network time synchronization is used for network nodes to synchronize theirclock to a stable, high-precision time source, achieving clock synchronization ofentire system. PTP protocol is a precision time protocol defined by IEEE-1588, and itcan achieve sub-microsecond synchronization accuracy. With the rapid developmentof network technology and extensive use of distributed system, more and moreindustry fields require consistent, stable system time. Many fields, such as financial,telecommunication, electric power, aerospace, require more accurate time precisionand demand for microsecond time synchronization precision.Current network clock synchronization systems usually use NTP protocol, it canonly reach millisecond precision and can’t meet the needs of high-precisionapplication. In contrast, PTP protocol effectively improves synchronization precisionby confirming the time stamp and recording the MAC layer timestamp. However,influenced by the factors of transmission delay on physical link, NIC cache of datapackets, low precision of local clock and uncertain schedule time of process, thesynchronization precision of PTP is still not high.In order to implement high precision network time synchronization system, thispaper analysis the influencing factors deeply in Windows operating system, and raisesa data filter and fitting algorithms, achieves message confirmation mechanism,constructs high-precision local clock, increases the priority of synchronization process,effectively enhances the synchronize accuracy of PTP synchronization system, andgets a high accuracy local clock.Finally, this paper constructs a test program, verifying the accuracy of the PTPsynchronization system. The test result shows that the synchronization system caneffectively regulate local clock, reaching microsecond-level synchronization accuracy.
Keywords/Search Tags:PTP protocol, NTP protocol, time synchronization, synchronization precision
PDF Full Text Request
Related items