没有合适的资源?快使用搜索试试~ 我知道了~
AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol.pdf
需积分: 4 7 下载量 183 浏览量
2022-10-07
17:34:56
上传
评论
收藏 1.78MB PDF 举报
温馨提示
《SOME/IP服务发现协议规范》是AUTOSAR(汽车开放系统架构)组织发布的一份技术文档,专注于SOME/IP(简单对象交换协议/互联网协议)服务发现协议的详细规格。该规范是AUTOSAR标准的组成部分,属于基础部分,并在R21-11版本中进行了更新。 SOME/IP服务发现协议旨在解决汽车电子系统中的服务自动发现问题,使得车载模块和软件组件能够动态识别并连接到提供所需服务的其他节点。这一功能对于现代汽车的模块化和可扩展性至关重要。 在R21-11版本中,协议进行了以下主要改进: 1. 移除了显式初始数据控制标志和初始数据请求标志,简化了通信过程。 2. 引入了可选功能,允许客户端订阅由服务预定义的多播地址,增强了服务的可获取性。 3. 考虑了安全关联的连接状态,对客户端和服务端都做了改进,确保了安全通信的有效性。 4. 将CPSWS服务发现规范的部分内容合并到FO PRS中,统一了服务发现的规范描述。 之前的版本变更历史中,也涉及了多个方面,例如: - 清晰化启动行为,如随机值生成,服务版本在VLAN中的处理,负载均衡选项的行为,以及重新启动检测机制。 - 添加了事件组订阅的最大重试计数器,增强了错误处理能力。 - 修正了矛盾的要求,提高了规范的一致性。 - 去除了冗余要求,优化了文档结构和编辑。 - 添加了配置参数SD_PORT和SD_MULTICAST_IP,规定了关于选项的顺序。 SOME/IP服务发现协议通过不断的修订和完善,旨在提供更高效、安全、灵活的服务发现机制,适应汽车电子系统日益复杂的需求。这一规范的实施有助于提高车载网络的互操作性和可靠性,促进汽车软件的标准化和模块化。
资源推荐
资源详情
资源评论
SOME/IP Service Discovery Protocol Specification
AUTOSAR FO R21-11
Document Title
SOME/IP Service Discovery
Protocol Specification
Document Owner AUTOSAR
Document Responsibility AUTOSAR
Document Identification No 802
Document Status published
Part of AUTOSAR Standard Foundation
Part of Standard Release R21-11
Document Change History
Date Release Changed by
Description
2021-11-25 R21-11
AUTOSAR
Release
Management
• Removal of Explicit Initial Data
Control Flag and Initial Data
Requested Flag
• Introduced optional functionality to
subscribe to a multicast address
pre-defined by a ClientService
• Consideration of the connection
status of a security associations for
clients and servers was added
• Moved specification item from CP
SWS ServiceDiscovery to FO PRS
SOMEIPServiceDiscoveryProtocol
based on harmonization activities of
both documents
2020-11-30 R20-11
AUTOSAR
Release
Management
• Contradicting requirements improved
• Editorial changes
1 of 95 Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol
SOME/IP Service Discovery Protocol Specification
AUTOSAR FO R21-11
2019-11-28 R19-11
AUTOSAR
Release
Management
• Clarify:
– Startup Behavior (random
value)
– Service Versioning in VLAN
– Load Balancing option behavior
– Re-boot Detection
• Introduce retry max counter for
subscription of Eventgroup
• Contradicting requirements improved
• Editorial changes
• Changed Document Status from
Final to published
2019-03-29 1.5.1
AUTOSAR
Release
Management
• Editorial changes
2018-10-31 1.5.0
AUTOSAR
Release
Management
• Clarify load balancing option usage
• Contradicting requirements improved
• Redundant requirements removed
2018-03-29 1.4.0
AUTOSAR
Release
Management
• No content changes
2017-12-08 1.3.0
AUTOSAR
Release
Management
• minor changes
2017-10-27 1.2.0
AUTOSAR
Release
Management
• Editorial changes
2017-03-31 1.1.0
AUTOSAR
Release
Management
• Configuration Parameters SD_PORT
and SD_MULTICAST_IP are added
and defined
• Rules relating to Options are
reordered
2016-11-30 1.0.0
AUTOSAR
Release
Management
Initial Release
2 of 95 Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol
SOME/IP Service Discovery Protocol Specification
AUTOSAR FO R21-11
Disclaimer
This work (specification and/or software implementation) and the material contained in
it, as released by AUTOSAR, is for the purpose of information only. AUTOSAR and the
companies that have contributed to it shall not be liable for any use of the work.
The material contained in this work is protected by copyright and other types of intel-
lectual property rights. The commercial exploitation of the material contained in this
work requires a license to such intellectual property rights.
This work may be utilized or reproduced without any modification, in any form or by
any means, for informational purposes only. For any other purpose, no part of the work
may be utilized or reproduced, in any form or by any means, without permission in
writing from the publisher.
The work has been developed for automotive applications only. It has neither been
developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
3 of 95 Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol
SOME/IP Service Discovery Protocol Specification
AUTOSAR FO R21-11
Table of Contents
1 Introduction and overview 5
1.1 Protocol purpose and objectives . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Applicability of the protocol . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.1 Constraints and assumptions . . . . . . . . . . . . . . . . . . 5
1.3 Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3.1 Dependencies to other protocol layers . . . . . . . . . . . . . 6
2 Protocol Requirements 7
2.1 Requirements Traceability . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Acronyms and Abbreviations 16
4 Protocol specification 18
4.1 SOME/IP Service Discovery (SOME/IP-SD) . . . . . . . . . . . . . . . 18
4.1.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.1.1 Terms and Definitions . . . . . . . . . . . . . . . . . 18
4.1.2 SOME/IP-SD Message Format . . . . . . . . . . . . . . . . . 18
4.1.2.1 General Requirements . . . . . . . . . . . . . . . . . 18
4.1.2.2 SOME/IP-SD Header . . . . . . . . . . . . . . . . . . 21
4.1.2.3 Entry Format . . . . . . . . . . . . . . . . . . . . . . 24
4.1.2.4 Options Format . . . . . . . . . . . . . . . . . . . . . 27
4.1.2.5 Service Entries . . . . . . . . . . . . . . . . . . . . . 40
4.1.2.6 Endpoint Handling for Services and Events . . . . . 43
4.1.3 Service Discovery Messages . . . . . . . . . . . . . . . . . . 46
4.1.3.1 Eventgroup Entry . . . . . . . . . . . . . . . . . . . . 46
4.1.4 Service Discovery Communication Behavior . . . . . . . . . 50
4.1.4.1 Startup Behavior . . . . . . . . . . . . . . . . . . . . 50
4.1.4.2 Server Answer Behavior . . . . . . . . . . . . . . . . 53
4.1.4.3 Shutdown Behavior . . . . . . . . . . . . . . . . . . . 53
4.1.4.4 State Machines . . . . . . . . . . . . . . . . . . . . . 54
4.1.4.5 SOME/IP-SD Mechanisms and Errors . . . . . . . . 63
4.1.4.6 Error Handling . . . . . . . . . . . . . . . . . . . . . 65
4.1.5 Non-SOME/IP protocols with SOME/IP-SD . . . . . . . . . . 68
4.1.6 Publish/Subscribe with SOME/IP and SOME/IP-SD . . . . . 70
4.1.7 Reserved and special identifiers for SOME/IP and SOME/IP-
SD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5 Configuration Parameters 89
6 Protocol Usage 90
6.1 Mandatory Feature Set and Basic Behavior . . . . . . . . . . . . . . . 90
6.2 Migration and Compatibility . . . . . . . . . . . . . . . . . . . . . . . . 93
6.2.1 Supporting multiple versions of the same service. . . . . . . 93
7 References 95
4 of 95 Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol
SOME/IP Service Discovery Protocol Specification
AUTOSAR FO R21-11
1 Introduction and overview
This protocol specification specifies the format, message sequences and semantics of
the Protocol SOME/IP Service Discovery (SOME/IP-SD).
The main tasks of the Service Discovery Protocol are communicating the availability of
functional entities called services in the in-vehicle communication as well as controlling
the send behavior of event messages. This allows sending only event messages to re-
ceivers requiring them (Publish/Subscribe). The solution described here is also known
as SOME/IP-SD (Scalable service-Oriented MiddlewarE over IP - Service Discovery).
1.1 Protocol purpose and objectives
SOME/IP-SD is used to
• Locate service instances.
• Detect if service instances are running.
• Implement the Publish/Subscribe handling.
1.2 Applicability of the protocol
SOME/IP SD can be used for service discovery in automotive vehicle networks.
1.2.1 Constraints and assumptions
The SOME/IP-SD has the following constraints:
• SOME/IP-SD supports only IP based communication.
• The network communication design has to consider the following limitations, if a
client service subscribes with an client service multicast endpoint announced via
a Multicast option:
– Communication which is based on a point to point connection may not be
working properly (e.g. End to end related communication, IPsec communi-
cation)
– Initial events have to be used carefully, because all client services sub-
scribed with the same multicast endpoint to the same server service, receive
the initial events every time a new client service is subscr ibed with the same
multicast endpoint to the same server service
5 of 95 Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol
剩余94页未读,继续阅读
资源评论
水无声风无痕
- 粉丝: 76
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- NOI 全国青少年信息学奥林匹克竞赛(官网)-2024.11.05.pdf
- 【Unity抢劫和犯罪题材的低多边形3D资源包】POLYGON Heist - Low Poly 3D Art
- 网络安全是一个广泛的领域,涉及的知识和技能非常多样.docx
- 用Python实现,PySide构建GUI界面的“井字棋”游戏 具备学习功能(源码)
- 系统测试报告模板 测试目的、测试依据、测试准备、测试内容、测试结果及分析、总结
- 雷柏2.4G无线鼠标键盘对码软件V3.1
- Python基础入门-待办事项列表.pdf
- 240301031刘炳炎咖啡网站导航.psd
- 数据集【YOLO目标检测】道路油污检测数据集 170 张,YOLO/VOC格式标注!
- 基于Robot FrameWork框架的自动化测试
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功