美文网首页PTPv2
PTP message types

PTP message types

作者: SnC_ | 来源:发表于2021-02-26 15:56 被阅读0次

PTP中定义了event和general两种message。
event message在发送以及接收时都需要打上时间戳。
general message不需要打时间戳。

区分event msg和general msg的关键不在于msg中是否带有时间戳,而是msg在发送与接收的时候是否都需要生成时间戳。

event message包括:

  • sync
  • delay_req
  • pdelay_req
  • pdelay_resp

general message包括:

  • announce
  • follow_up
  • delay_resp
  • pdelay_resp_follow_up
  • management
  • signaling

announce message用于建立synchronization hierarchy。
management message用于query、update clock中的dataSet。这些message也被用于配置PTP system的initialization和fault management。Management messages用在management nodes和clocks之间。
signaling message用于clocks之间关于所有其他事务的沟通。比如,unicast的negotiation。

所有以上的message都可以通过TLV来扩展。

只有master状态下的port会发送announce msg。slave状态下的port不会。(详见9.5.8)
master clock之所以周期性地发送announce,是要向新加入的clock通知它的存在。

根据6.5.3,boundary clock不会转发与synchronization, establishing the master−slave hierarchy, 以及signaling有关的msg。

相关文章

网友评论

    本文标题:PTP message types

    本文链接:https://www.haomeiwen.com/subject/tonmfltx.html