没有合适的资源?快使用搜索试试~ 我知道了~
首页AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol.pdf
资源详情
资源评论
资源推荐

SOME/IP Service Discovery Protocol Specification
AUTOSAR FO Release 1.0.0
Document Title
SOME/IP Service Discovery
Protocol Specification
Document Owner AUTOSAR
Document Responsibility AUTOSAR
Document Identification No 802
Document Classification Standard
Document Status Final
Part of AUTOSAR Standard Foundation
Part of Standard Release 1.0.0
Document Change History
Date Release Changed by
Description
2016-11-30 1.0.0
AUTOSAR
Release
Management
Initial Release
1 of 74
— AUTOSAR CONFIDENTIAL —
Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol

SOME/IP Service Discovery Protocol Specification
AUTOSAR FO Release 1.0.0
Disclaimer
This specification 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 specification.
The material contained in this specification is protected by copyright and other types of
Intellectual Property Rights. The commercial exploitation of the material contained in
this specification requires a license to such Intellectual Property Rights.
This specification 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 specification may be utilized or reproduced, in any form or by any means, without
permission in writing from the publisher.
The AUTOSAR specifications have been developed for automotive applications only.
They have neither been developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
Advice for users
AUTOSAR specifications may contain exemplary items (exemplary reference models,
"use cases", and/or references to exemplary technical solutions, devices, processes or
software).
Any such exemplary items are contained in the specifications for illustration purposes
only, and they themselves are not part of the AUTOSAR Standard. Neither their pres-
ence in such specifications, nor any later documentation of AUTOSAR conformance of
products actually implementing such exemplary items, imply that intellectual property
rights covering such exemplary items are licensed under the same rules as applicable
to the AUTOSAR Standard.
2 of 74
— AUTOSAR CONFIDENTIAL —
Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol

SOME/IP Service Discovery Protocol Specification
AUTOSAR FO Release 1.0.0
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3.1 Dependencies to other protocol layers . . . . . . . . . . . . . 5
2 Protocol Requirements 7
2.1 Requirements Traceability . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Acronyms and Abbreviations 15
4 Protocol specification 17
4.1 SOME/IP Service Discovery (SOME/IP-SD) . . . . . . . . . . . . . . . 17
4.1.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.1.1.1 Terms and Definitions . . . . . . . . . . . . . . . . . 17
4.1.2 SOME/IP-SD Message Format . . . . . . . . . . . . . . . . . 17
4.1.2.1 General Requirements . . . . . . . . . . . . . . . . . 17
4.1.2.2 SOME/IP-SD Header . . . . . . . . . . . . . . . . . . 20
4.1.2.3 Entry Format . . . . . . . . . . . . . . . . . . . . . . 23
4.1.2.4 Options Format . . . . . . . . . . . . . . . . . . . . . 25
4.1.3 Service Discovery Messages . . . . . . . . . . . . . . . . . . 36
4.1.3.1 Service Entries . . . . . . . . . . . . . . . . . . . . . 36
4.1.3.2 Eventgroup Entry . . . . . . . . . . . . . . . . . . . . 39
4.1.4 Service Discovery Communication Behavior . . . . . . . . . 41
4.1.4.1 Startup Behavior . . . . . . . . . . . . . . . . . . . . 42
4.1.4.2 Server Answer Behavior . . . . . . . . . . . . . . . . 44
4.1.4.3 Shutdown Behavior . . . . . . . . . . . . . . . . . . . 45
4.1.4.4 State Machines . . . . . . . . . . . . . . . . . . . . . 46
4.1.4.5 SOME/IP-SD Mechanisms and Errors . . . . . . . . 48
4.1.4.6 Error Handling . . . . . . . . . . . . . . . . . . . . . 50
4.1.5 Announcing non-SOME/IP protocols with SOME/IP-SD . . . 52
4.1.6 Publish/Subscribe with SOME/IP and SOME/IP-SD . . . . . 54
4.1.7 Endpoint Handling for Services and Events . . . . . . . . . . 63
4.1.7.1 Service Endpoints . . . . . . . . . . . . . . . . . . . 63
4.1.7.2 Eventgroup Endpoints . . . . . . . . . . . . . . . . . 64
4.1.8 Reserved and special identifiers for SOME/IP and SOME/IP-
SD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
5 Configuration Parameters 68
6 Protocol usage and guidelines 69
6.1 Security Considerations for SOME/IP-SD Options . . . . . . . . . . . . 69
6.2 Referencing Options from Entries . . . . . . . . . . . . . . . . . . . . . 69
3 of 74
— AUTOSAR CONFIDENTIAL —
Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol

SOME/IP Service Discovery Protocol Specification
AUTOSAR FO Release 1.0.0
6.3 Mandatory Feature Set and Basic Behavior . . . . . . . . . . . . . . . 70
6.4 Migration and Compatibility . . . . . . . . . . . . . . . . . . . . . . . . 73
6.4.1 Supporting multiple versions of the same service. . . . . . . 73
7 References 74
4 of 74
— AUTOSAR CONFIDENTIAL —
Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol

SOME/IP Service Discovery Protocol Specification
AUTOSAR FO Release 1.0.0
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
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
Currently SOME/IP-SD supports only IP based communication.
1.3 Dependencies
1.3.1 Dependencies to other protocol layers
SOME/IP-SD depends on SOME/IP. SOME/IP itself supports both TCP and UDP
communications but SOME/IP SD is constraint to use SOME/IP only over UDP (See
[PRS_SOMEIPSD_00220]).
5 of 74
— AUTOSAR CONFIDENTIAL —
Document ID 802: AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol
剩余73页未读,继续阅读
















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0