IEEE1588ContentsIEEE1588PTP1.1PTP1SYNCDelay_ReqPdelay_ReqPdlR1.2ABC1.3¾DelayRequest-ResponseMechanism¾PeerDelayMechanism1SyncDelay_ReqFollow_UpDelay_RespPTPmeanPathDelay()()214321432143()2()2ttDelayOffsetttDelayOffsetDelayttttOffsettttt−=+−=−=−+−=−−−offsetDelayOffsetOffset2Pdelay_ReqPdelay_RespPdelay_Resp_Follow_Upmasterslave()2143()2meanPathDelaytttt=−+−1.451Oridinaryclock2Boundaryclock3End-to-endtransparentclock4Peer-to-Peertransparentclock5Managementnode1PTPProtocolengine1PTP234slavePTPMasterLocalclockslavemasterfreerun212localclock33End-to-EndPTPPTPcorrectionFieldaRCRateControlmasterb)RERateEstimationSyncFollow_UpsyncFollow_Up4Peer_to_PeerEnd_to_EndPTPblockblockPdelay_ReqPdelay_RespPdelay_Resp_Follow_Up5abPTPc1.5121.5.1PTPMasterSlavePassive12¾1priority12clockClassTAI3clockAccuracy4offsetScaledLogVariance5Priority26clockIdentityPTPheaderbodysuffix2.12.1.1transportSpecificNibble2.1.2MessageTypeEnumeration42.1.3versionPTPUInteger4portDS.versionNumber2.1.5domainNumberUInteger8domainNumber2.1.6flagFieldOcet[2]2.1.7correctionFieldInteger64ns2162.5ns0x00000000000280002.1.8sourcePortIdentityPortIdentitysourcePortIdentiyportDS.portIdentity2.1.9sequenceIdUInteger16Follow_UpDelay_RespPdelay_RespPdelay_Resp_Follow_UpmanagementsequenceIdsequenceId12.1.10controlFieldUInteger8V12.1.11logMessageInterval(Integer8)2.2Announce2.2.1originTimestampTimestampAnnounce01s2.2.2currentUtcOffset2.2.3grandmasterPriority1UInteger8parentDS.grandmasterPriority12.3.4grandmasterClockQualityClockQualityparentDS.grandmasterClockQuality2.3.5grandmasterPriority2UInteger8parentDS.grandmasterPriority22.3.6grandmasterIdentityClockIdentityparentDS.grandmasterIdentity2.3.7stepsRemovedUInteger16currentDS.stepsRemoved2.3SyncDelay_Req2.3.1originTimestampTimestampSyncOne-stepOriginTimestampSyncSyncEventEgressTimestampnsSynccorrectionFieldoriginTimestampSyncEventEgressTimestampTwo-steporiginTimestampSyncEventEgressTimestampnscorrectionField0Follow_Up2.4Follow_Up2.4.1preciseOriginTimestampTimestampFollow_UppreciseOriginTimestampSyncsyncEventEgressTimestampFollow_UpSynccorrectionFieldpreciseOriginTimestamp2.5Delay_Resp2.6Pdelay_ReqreservedPdelay_ReqPdelay_Resp2.7Pdelay_Resp2.92.9.1domainNumberoftheheaderdomainNumberdomain2.9.2sequenceIdoftheheadermanagementsequenceIdsequenceId2.9.4startingBoundaryHopsUInteger8startingBoundaryHopsstartingBoundaryHopsboundaryHops2.9.5boundaryHopsUInteger82.9.6actionFiledEnumeration45FReserved4ACKNOWLEDGE3COMMOND2RESPONSE1SET0GETValuehexAction1defaultDS2currentDS3parentDS4timePropertiesDS5portDS1transparentClockDefaultDS2transparentClockPortDSstaticdynamic3.1defaultDSdefaultDS--defaultDS.twostepFlag--defaultDS.clockIdentity--defaultDS.numberPorts--defaultDS.clockQuality--defaultDS.priority1--defaultDS.priority2--defaultDS.domainNumber--defaultDS.slaveOnlydefaultDS.clockQuality1defaultDS.clockQuality.clockClass2defaultDS.clockQuality.ClockAccuracy3defaultDS.clockQuality.offsetScaledLogVariance3.2currentDS1currentDS.stepsRemovedgrandmaster2currentDS.offsetFromMasteroffsetFromMaster=TsTm3currentDS.meanPathDelay3.3parentDSparentDSdefaultDS1parentDS.parentPortIdentitySyncMasterPortIdentityaparentDS.parentPortIdentity.clockIdentitydefaultDS.clockIdentitybparentDS.portNumber02parentDS.parentStatsSlaveparentDS.observedParentOffsetScaledLogVarianceparentDSobservedParentClockPhaseChangeRate4parentDS.observedParentClockPhaseChangeRateparentparentslave7FFFFFFFPTP5parentDS.grandmasterIdentitygrandmasterclockIdentitydefaultDS.clockIdentity6parentDS.grandmasterClockQuality7parentDS.grandmasterPriority18parentDS.grandmasterPriority25678grandmaster3.4timePropertiesDStimePropertiesDS1timeProtertiesDS.currentUtcOffset2timeProtertiesDS.currentUtcOffsetValid3timeProtertiesDS.leap594timeProtertiesDS.leap615timeProtertiesDS.timeTraceable6timeProtertiesDS.frequencyTraceable7timeProtertiesDS.ptpTimescale8timeProtertiesDS.timeSourcecurrentDStimeProtertiesDS.ptpTimescale3.5portDSdefaultDS.numberPorts1portDS.portIdentityPortIdentity1portDS.portState2portDS.logMinDelayReqIntervalDelay_ReqslavemastermasterDelay_Req3portDS.peerMeanPathDelaypeer-to-peer1portDS.logAnnounceIntervalAnnouce2portDS.announceReceiptTimeoutportDS.announceReceiptTimeoutANNOUNCE_RECEIPT_TIMEOUT_EXPIRESAnnounce3portDS.logSyncIntervalSync4.14.21TimeIntervalstructTimeInterval{Interger64scaledNanoseconds//2-16ns}2TimestampstructTimestamp{UInteger48secondsUInteger32nanoseconds}3ClockIdentitytypedefOctet[8]ClockIdentity4PortIdentitystructPortIdentity{ClockIdentityclockIdentity5PortAddressPTPStructPortAddress{Enumeration16networkProtocol;UInteger16addressLength;Octet[addressLength]addressField;}6structClockQuality{UInteger8clockClassEnumeration8clockAccuraccyInteger16offsetScalelogVariance}7TLVstructTLV{8PTPTextPTPStructPTPText{UInteger8lengthField;Octet[lengthField]textField;}9FaultRecord{UInteger16faultRecordLength;TimestampfaultTime;Enumeration8severityCode;PTPTextfaultName;PTPTextfaultValue;PTPTextfaultDescription;}BackBackBackBackBack