ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

someip35

2022-07-21 16:31:51  阅读:161  来源: 互联网

标签:IP SOME TCP someip35 reliability communication once


Communication Errors and Handling of Communication Errors   When considering the transport of RPC messages different reliability semantics exist: 通信错误和通信错误的处理在考虑RPC消息的传输时,存在不同的可靠性语义: • Maybe — the message might reach the communication partner   也许 – 消息可能会传达给通信伙伴 • At least once — the message reaches the communication partner at least once 至少一次 – 消息至少到达通信伙伴一次 • Exactly once — the message reaches the communication partner exactly once 恰好一次 – 消息恰好一次到达通信伙伴 When using these terms in regard to Request/Response the term applies to both messages (i.e. request and response or error). 在请求/响应方面使用这些术语时,该术语适用于两种消息(即请求和响应或错误)。 While different implementations may implement different approaches, SOME/IP currently achieves “maybe” reliability when using the UDP binding and “exactly once” reliability when using the TCP binding. Further error handling is left to the application. 虽然不同的实现可以使用不同的方法,但是当使用UDP绑定时SOME / IP当前实现“可能”可靠性并且在使用TCP绑定时“完全一次”可靠性。 进一步的错误处理留给应用程序。 For “maybe” reliability, only a single timeout is needed, when using request/response communication in combination of UDP as transport protocol. Following figure shows the state machines for “maybe” reliability. The client’s SOME/IP implementation has to wait for the response for a specified timeout. If the timeout occurs SOME/IP shall signal E_TIMEOUT to the client application. 对于“可能”的可靠性,当使用UDP作为传输协议的请求/响应通信时,仅需要单个超时。 下图显示了“可能”可靠性的状态机。客户端的SOME / IP实现必须等待指定超时的响应。 如果发生超时,SOME / IP将向客户端应用程序发送E_TIMEOUT信号。

For “exactly once” reliability the TCP binding may be used, since TCP was defined to allow for reliable communication.

对于“恰好一次”可靠性,可以使用TCP绑定,因为TCP被定义为允许可靠的通信。

Additional mechanisms to reach higher reliability may be implemented in the application or in a SOME/IP implementation. Keep in mind that the communication does not have to implement these features. Following slide describes such optional reliability mechanisms.

可以在应用程序或SOME / IP实现中实现达到更高可靠性的其他机制。 请记住,通信不必实现这些功能。 下一页描述了这种可选的可靠性机制。

标签:IP,SOME,TCP,someip35,reliability,communication,once
来源: https://www.cnblogs.com/blinker/p/16502396.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有