【翻译】【SOMEIP-SD】Page65 - Page66
2026/9/9 23:16:54 网站建设 项目流程

[PRS_SOMEIPSD_00406]
在Repetition Phase状态下每发送一条消息,延迟时间加倍。

[PRS_SOMEIPSD_00407]
在Repetition Phase状态Service Discovery发送的消息数量最大值为REPETITIONS_MAX规定的值。

[PRS_SOMEIPSD_00408]
当收到 Offer entry时,其对应的Find entry应停止发送,并进入Main Phase状态

[PRS_SOMEIPSD_00409]
如果REPETITIONS_MAX被设置成0,则跳过Repetition Phase阶段直接从Initial Wait Phase进入Main Phase状态。

[PRS_SOMEIPSD_00410]
在Repetition Phase之后进入Main Phase

[PRS_SOMEIPSD_00411]
进入Main Phase提供方,在发送第一个消息前,应等待1*CYCLIC_OFFER_DELAY。

[PRS_SOMEIPSD_00412]
在Main Phase状态,如果配置了CYCLIC_Offer_DELAY,则应循环发送Offer Message。

[PRS_SOMEIPSD_00413]
一个服务实例的Service Discovery在发送一个消息后,应等待1*CYCLIC_OFFER_DELAY后再发送下一个消息。

[PRS_SOMEIPSD_00415]
在Main Phase状态,Find Service and Find Eventgroup不需要循环发送。

[PRS_SOMEIPSD_00582]
Subscribe EventGroup Entry的发送应在接收到Offer entry后触发,并且应该循环发送。

[PRS_SOMEIPSD_00416]
例子:

  • Initial Wait Phase状态:
    • 等待延迟时间,延迟时间是介于(INITIAL_DELAY_MIN, _MAX)之间的随机数
    • 发送消息(Find Service and Offer Service entries)
  • Repetition Phase状态(REPETITIONS_BASE_DELAY=100ms, REPETITIONS_MAX=2):
    • 等待第一个100ms
    • 发送消息(Find Service and Offer Service entries)
    • 等待第二个100ms
    • 发送消息(Find Service and Offer Service entries)
  • Main Phase:
    • 服务端:
      • 消息处于活动状态,并且CYCLIC_OFFER_DELAY已定义
        • 等待CYCLIC_OFFER_DELAY
        • 发送消息 (Offer Service entries)
      • 客户端
        • 收到Offer Service后发送Subscribe Eventgroup消息

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询