Specification of Service Discovery, AUTOSAR 616, R23-11, CP


AUTOSARが2023年版、R(Release)23-11を公開しました。
https://www.autosar.org/fileadmin/standards/R23-11/CP/AUTOSAR_CP_SWS_ServiceDiscovery.pdf

R22-11
https://www.autosar.org/fileadmin/standards/R22-11/CP/AUTOSAR_SWS_ServiceDiscovery.pdf

R21-11
https://www.autosar.org/fileadmin/standards/R21-11/CP/AUTOSAR_SWS_ServiceDiscovery.pdf

R20-11
https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_ServiceDiscovery.pdf

R19-11
https://www.autosar.org/fileadmin/standards/R19-11/CP/AUTOSAR_SWS_ServiceDiscovery.pdf

文書は検索してダウンロードできます。
https://www.autosar.org/


<この項は書きかけです。順次追記します。>
This article is not completed. I will add some words in order.

# Release Overviews
AUTOSARには現在3つの分類があります。Foundation, CAN OSEK/VDXのClassic Platform, Ethernet/TCP/IP POSIXのAdaptive Platform.

Foundation Release Overview, AUTOSAR 781, R23-11, FO
https://qiita.com/kaizen_nagoya/items/f249bdb8c313d8bff883

Classic Platform Release Overview, AUTOSAR No.0 ,R23-11, CP
https://qiita.com/kaizen_nagoya/items/9d22c8722cbc0f42b137

Adaptive Platform Release Overview, AUTOSAR 782, R23-11, AP
https://qiita.com/kaizen_nagoya/items/13a104606a34fe24fcf7

# Qiita 記事一覧
Autosar Foundation R23-11 一覧
https://qiita.com/kaizen_nagoya/items/c30674cb2dac2fcbbd04

AUTOSAR Adaptive Platform R23-11一覧
https://qiita.com/kaizen_nagoya/items/1dece8799a730367b0dc

Autosar Classic Platform R23-11 一覧
https://qiita.com/kaizen_nagoya/items/f770f6c2906e1dcbf180


# 文書変更(Document Change) 
>• Added Secure SOME/IP-ACL
• Minor bugfixes and editorial changes
# 用語(terms)

|term|Description|
|:--|:--|
|BswM| Basis software manager
|ECU| Electronic Control Unit
|DEM |Diagnostic Event Manager
|DE|T Default Error Tracer
|SD| Service Discovery
|Sd| Service Discovery Module in AUTOSAR
|SoAd |Socket Adaptor
|SOME/IP| Scalable service-Oriented MiddlwarE over IP
|SOME/IP-SD| SOME/IP Service Discovery
|Service| A functional entity that offers an interface
|Service Instance |A single instance of the Service
|Offer |A message entry that offers a Service Instance
|Stop Offer| A message that stops offering a Service Instance
|Find| A message entry used to find a Service Instance
|Event |A message sent by an ECU implementing a Service Instance to an ECU using this Service Instance.
|Eventgroup |A logical grouping of 1 or more events. An Eventgroup is part of a Service.
|Server Service| Provide a service
|Client Service |Consumes a service
|Server |A ECU which host ServerServices
|Client| A ECU which host ClientServices
|Endpoint Option |Endpoint Options are used to announce a tuple of unicast address and port
|Multicast Option| Multicast Options are used to announce a tuple of multicast address and port
|Unicast event |Events which are transmitted to a unicast endpoint by the ECU which host an SdServerService. The unicast endpoint is provided by a particular SdClientService which has subscribed to this SdServerService within the Endpoint Option referenced by a SubscribeEventgroup entry (see Consumed Eventgroup unicast endpoint)
|Multicast event| Events which are transmitted to a multicast endpoint by the ECU which host an SdServerService. A multicast endpoint could be provided by the SdServerService (see Eventhandler multicast endpoint) and SdClientService (see Consumed Eventgroup multicast endpoint).
|Eventhandler multicast endpoint| Term to describe the tuple of multicast address and port, which is pre-configured for a SdServerService per Eventhandler. If the threshold for subscribed Clients with different endpoint information has been reached, then the Server sends the corresponding events to this pre-configured multicast address and port. The Eventhandler multicast endpoint is announced via a Multicast option referenced by a SubscribeEventgroupAck entry
|Consumed Eventgroup unicast endpoint| Term to describe the tuple of unicast address and port, which is pre-configured for a SdClientService per Consumed Eventgroup. A SdClientService which subscribes with this unicast address and port, indicates the SdServer to which endpoint, the cooresponding events shall be sent. The Consumed Eventgroup unicast endpoint is announced via a Endpoint option referenced by a SubscribeEventgroup or StopSubscribeEventgroup entry
|Consumed Eventgroup multicast endpoint| Term to describe the tuple of multicast address and port, which is pre-configured for a SdClientService per Consumed Eventgroup. A SdClientService which subscribe with this multicast address and port, indicates the SdServer to which endpoint the corresponding events shall be sent. The Consumed Eventgroup multicast endpoint is announced via a Multicast option referenced by a SubscribeEventgroup or StopSubscribeEventgroup
|Eventhandler multicast connection |Term to describe the usage of an established socket connection if a SdServerService provides the Multicast events via the configured Eventhandler multicast endpoint
|Consumed Eventgroup unicast connection |Term to describe the usage of an established socket connection if a SdClientService receives the events via a Consumed Eventgroup unicast endpoint
|Consumed Eventgroup multicast connection |Term to describe the usage of an established socket connection if a SdClientService receives the events via a Consumed Eventgroup multicast endpoint

# References

[1] Glossary AUTOSAR_FO_TR_Glossary
https://www.autosar.org/fileadmin/standards/R23-11/FO/AUTOSAR_FO_TR_Glossary.pdf
[2] General Specification of Basic Software Modules AUTOSAR_CP_SWS_BSWGeneral
[3] General Requirements on Basic Software Modules AUTOSAR_CP_SRS_BSWGeneral
[4] Layered Software Architecture AUTOSAR_CP_EXP_LayeredSoftwareArchitecture
[5] Requirements on SOME/IP Service Discovery Protocol AUTOSAR_FO_RS_SOMEIPServiceDiscoveryProtocol
[6] SOME/IP Service Discovery Protocol Specification AUTOSAR_FO_PRS_SOMEIPServiceDiscoveryProtocol
[7] Specification of Basic Software Mode Manager AUTOSAR_CP_SWS_BSWModeManager
[8] Specification of Socket Adaptor AUTOSAR_CP_SWS_SocketAdaptor




## 補足資料（Additions）
祝休日・謹賀新年：2024年の目標
https://qiita.com/kaizen_nagoya/items/b659d922327a7dcdc898

2023 Countdown Calendar 主催・参加一覧
https://qiita.com/kaizen_nagoya/items/c4c2f08ac97f38d08543

CountDownCalendar月間　いいねをいただいた記事群　views　順
https://qiita.com/kaizen_nagoya/items/583c5cbc225dac23398a

Countdown Calendar 2023, 百記事目を書くにあたって。
https://qiita.com/kaizen_nagoya/items/45185a04cfd88b71256a

1年間をまとめた「振り返りページ」＠２０２３
https://qiita.com/kaizen_nagoya/items/bcd1ebd49d3a9e8c7a90

AUTOSAR 文書番号
https://qiita.com/kaizen_nagoya/items/8b894228a0b76c2265c7

AUTOSAR R23-11 記憶の記録
https://qiita.com/kaizen_nagoya/items/701bc800b5f137e51a36

AUTOSAR Countdown Calendar 2023
https://qiita.com/advent-calendar/2023/autosar

AUTOSAR Abstract Platformへの道 R22-11
https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

自動車　記事　１００
https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

Basic principles, ボッシュ自動車handbook(英語)11版まとめ<2>
https://qiita.com/kaizen_nagoya/items/24a1ba5da3d09b2a95d1

JAXA/IPA クリティカルソフトウェアワークショップ WOCS言語関連発表(改定版)
https://qiita.com/kaizen_nagoya/items/4789832baf494cb74626

＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.


# 文書履歴(document history)
ver. 0.01 初稿 　20240122
### 最後までおよみいただきありがとうございました。
いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.
Please press the like icon 💚　and follow me for your happy life.