Font Size: a A A

Software Design And Implementation Of The Precision Time Protocol

Posted on:2013-02-14Degree:MasterType:Thesis
Country:ChinaCandidate:W D WangFull Text:PDF
GTID:2268330392467967Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of computer technology and network techniques, our life has been improved greatly.In this kind of backdrop, fields like space technology industrial automation have witnessed impressive development,in these areas,time synchronization is one basic and crucial technology, scientist have devoted themselves into the the technology of computer and network hoping to find feasible methods of this problem, therefore comes the synchronization protocol like NTP, PTP. Compared with NTP, first in PTP, the topology of network environment changes, best master clock algorithm can realize reconfiguration automatically in some degree; second,PTP possess more precision. This thesis is to develop a clock synchronization software which can realize self-configuration in LAN and run in Pv4and IPv6.In the beginning of this thesis,we introduce some background knowledge and relative theory about time synchronization, give the reader a basic understanding of time synchronization conceptually, then, we present IEEE1588protocol, elaborate on the characters of PTP,synchronization principle and network system constructure and device type of PTP system. In the end, we develop a PTP synchronization software using software time stamp. In the forth part of this thesis,we give description of component design details in six parts: protocol engine,best master clock algorithm,software time stamp, clock server PTP message process, and Net Layer process.This thesis presents some new methods:we generate software time stamp in application layer and with improving the algorithm of time synchronization and filtering filtrating noises produced by software time stamp when going through protocol stack and network,which lead to high precision. In the end,we test the functionality and performance of PTP software respectively in LAN. We can see that best master clock algorithm can realize clock self-reconfiguration,and the PTP software we develop can reach hundred-microseconds,even surpass milliseconds of NTP.
Keywords/Search Tags:Time Sychronization, IEEE1588, PTP, Software Timestamping
PDF Full Text Request
Related items