SOME/IP-SD-Diagram

Publish/Subscribe with link loss at client (figure ignoring timings)
在这里插入图片描述
Publish/Subscribe Registration/Deregistration behavior (figure ignoring timings)
在这里插入图片描述
Publish/Subscribe with link loss at Server (figure ignoring timings)
在这里插入图片描述
Publish/Subscribe State Diagram (server behavior for unicast eventgroups)
在这里插入图片描述
Publish/Subscribe State Diagram (server behavior for multicast eventgroups
在这里插入图片描述
Publish/Subscribe State Diagram (server behavior for adaptive unicast/multicast eventgroups)
在这里插入图片描述
Publish/Subscribe Example for Endpoint Options and the usage of ports

Example

  • following Figure shows an example with the different Endpoint and a Multicast Option:
    下图展示了一个例子,使用不同的Endpoint和Multicast Option

    • The Server offers the Service Instance on Server UDP-Endpoint SU and Server TCP-Endpoint ST
      服务器提供了一个服务实例,通过UDP-Endpoint (简称SU) 和 TCP-Endpoint ST(简称ST)
    • The Client opens a TCP connection
      客户端打开一个TCP连接(Socket)
    • The Client sends a Subscribe Eventgroup entry with Client UDP-Endpoint CU (unicast) and a Client TCP-Endpoint CT
      客户端发送一个Subscribe Eventgroup entry,带有客户端UDP-Endpoint (unicast)(简称CU)和一个客户端TCP-Endpoint (简称CT)
    • The Server answers with a Subscribe Eventgroup Ack entry with Multicast MU
      服务器通过多播option(简称MU)回复一个Subscribe Eventgroup Ack entry
  • Then the following operations happen:
    接下来这么运行:

    • The Client calls a method on the Server
      客户端调用服务器端的method
    • Request is sent from CU to SU and Response from SU to CU
      Request从客户端通过UDP发给服务器端,回复消息从服务器端通过UDP发回客户端
    • For TCP this would be: Request dyn to ST and RESPONSE from ST to CT
    • The Server sends a Unicast UDP Event: SU to CU
      服务器端发送一个Unicast UDP Event:到客户端:SU到CU
    • The Server sends a Unicast TCP Event: ST to CT
      服务器端发送一个Unicast TCP Event到客户端: ST到CT.
    • The Server sends a Multicast UDP Event: SU to MU
      服务器端发送一个Multicast UDP Event到客户端:SU到MU
  • Keep in mind that Multicast Endpoints use a Multicast IP Address on the receiver side,i.e. the client, and TCP cannot be used for Multicast
    在这里插入图片描述

  • 1
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值