文章目录
-
-
-
-
- [5.1.3.1.2 Stop Subscribe Eventgroup Entry](#5.1.3.1.2 Stop Subscribe Eventgroup Entry)
- [5.1.3.1.3 Subscribe Eventgroup Acknowledgement (Subscribe Eventgroup Ack) Entry](#5.1.3.1.3 Subscribe Eventgroup Acknowledgement (Subscribe Eventgroup Ack) Entry)
- [5.1.3.1.4 Subscribe Eventgroup Negative Acknowledgement (Subscribe Event group Nack) Entry](#5.1.3.1.4 Subscribe Eventgroup Negative Acknowledgement (Subscribe Event group Nack) Entry)
-
-
-
5.1.3.1.2 Stop Subscribe Eventgroup Entry
PRS_SOMEIPSD_00388
Stop Subscribe Eventgroup Entry用于停止订阅Event Group
PRS_SOMEIPSD_00389
Stop Subscribe Eventgroup Entry的各字段设置与 Subscribe Eventgroup Entry一致。除了TTL设置成0x000000
PRS_SOMEIPSD_00574
Stop Subscribe Eventgroup Entry 应该引用与其对应的Subscribe Eventgroup Entry 引用用Option
5.1.3.1.3 Subscribe Eventgroup Acknowledgement (Subscribe Eventgroup Ack) Entry
PRS_SOMEIPSD_00390
Subscribe Eventgroup Acknowledgment Entry 用于指示Subscribe Eventgroup Entry已被接收。
PRS_SOMEIPSD_00391
Subscribe Eventgroup Acknowledgment Entry的字段设置应满足:
- Type 固定设置成0x07
- Service ID, Instance ID, Major Version, Eventgroup ID, TTL, Reserved, Counter 这些字段的值直接用Subscribe Eventgroup Entry中的值。
PRS_SOMEIPSD_00392
Subscribe Eventgroup Ack Entry 关联的Event和Notification Event如果是通过组播传送的。Subscribe Eventgroup Ack Entry 应该引用一个IPv4 Multicast Option 或 IPv6 Multicast Option。Multicast Option规定了Event和Notification Event将被发送到的组播地址。
PRS_SOMEIPSD_00829
当接收到SubscribeEventgroupAck 或 SubscribeEventgroupNack 是应该严格校验 Service ID, Instance ID, Eventgroup ID, Major Version 这些字段的指与SubscribeEventgroup Entry 中的值一致。
5.1.3.1.4 Subscribe Eventgroup Negative Acknowledgement (Subscribe Event group Nack) Entry
PRS_SOMEIPSD_00393
Subscribe Eventgroup Negative Acknowledgment 用于表示Subscribe Eventgroup Entry没有被接受
PRS_SOMEIPSD_00394
Subscribe Eventgroup Negative Acknowledgment 各字段设置应满足如下要求
- Type 设置成0x07
- Service ID, Instance ID, Major Version, Eventgroup ID, Counter, Reserved这些字段的值与应答的Subscribe Eventgroup Entry中的值一致。
- TTL 设置成0x000000
PRS_SOMEIPSD_00566
Subscribe Eventgroup被拒绝的原因如下(但不限于以下原因)
- Service ID, Instance ID, Eventgroup ID, Major Version 的组合未知(不能确认一个Event Group)
- 客户端没有打开必要的TCP连接
- 引用选项出现问题
- 服务端的资源出问题
- 安全关联未建立
PRS_SOMEIPSD_00527
当客户端接收到TCP类型的SubscribeEventgroupNack时,应该检查TCP链接并在必要时重新创建TCP链接。
PRS_SOMEIPSD_00527 中设计网络安全协议的检查。
原因:
服务端可能丢失了TCP链接,但客户端没有。
检查TCP链接的流程包括:
- 是否接收到该TCP链接的其他EventGroup的数据
- 发送一个 Magic Cookie消息并等待 TCP ACK。
- 重新建立TCP链接
PRS_SOMEIPSD_00842
目前支持的Entry类型概览
