Specification of UDP Network Management, AUTOSAR 414, R22-11, CP, 20230421

AUTOSARは自動車用OSの業界団体規格です。　
業務で利用する場合には、会員になることを条件にしています。

2002年から20年経ち、当初の狙いの段階に近づいてきました。

MATLABでモデルさえ記述すれば、あとは自動生成だけでソフトが完成するところまで、あと一歩です。
Ethernet, UNIXが生まれて20年で大衆化したのと同じように考えると分かりやすいでしょう。　

AUTOSARの上で動く、クラウド対応のミドルウェアが出て、開発も運用もクラウドになれば、一気にAUTOSARは大衆化するでしょう。

AUTOSAR Abstract Platformへの道 R22-11

https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

# 2023年4月URL変更
この項は2023年4月21日、AUTOSARの文書のURLが変更になった。
/classic/22-11/
が
/R22-11/CP/
過去記事で、URLでエラーが出たら書き換えてみてください。

/adaptive/22-11/
は　
/R22-11/AP/

/foundation/22-11/
は　
/R22-11/FO/
です。
## 2023年11月URL変更
2023年11月にもAUTOSAR文書のURLが変更になっている。
/user_upload/standards/classic/21-11/
を
/standards/R21-11/CP/
などに書き換えてください。

/user_upload/standards/adaptive/21-11/
を
/standards/R21-11/AP/

/user_upload/standards/foundation/21-11/
を
/standards/R21-11/FO/

お手数をおかけします。
１年に２度URLを変更するなんて、新しい記事が書ける。とても嬉しい。

# 一覧

AUTOSAR R22-11 Qiita記事一覧 20230421 。

https://qiita.com/kaizen_nagoya/items/81a35774f1aa3d64d3f6

この記事の表題の最後に「20230421」を加えます。

<この項は書きかけです。順次追記します。>

AUTOSARが、2022年の版、R22-11を公開しました。

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

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

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

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

https://www.autosar.org/

文書は検索してダウンロードできます。

R20-11,R21-11, R22-11の３年分だけになりました。

公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

https://qiita.com/kaizen_nagoya/items/18471d0b340480fdcd42

Classic Platform Release Overview, AUTOSAR No.0 ,R22-11, CP, 20230421

https://qiita.com/kaizen_nagoya/items/9d22c8722cbc0f42b137

Foundation Release Overview, AUTOSAR, 781, R22-11, FO, 20230421

https://qiita.com/kaizen_nagoya/items/596a7e2ec86913daa3c2

Adaptive Platform Release Overview, AUTOSAR 782, R22-11, AP, 20230421

https://qiita.com/kaizen_nagoya/items/fc8e02e8cb07411dbc2a

# 要求仕様対応(Requirement and Specification)
# Abstract Platformとの関係
Adaptive Platformと統合

<この項は書きかけです。順次追記します。>


## 文書変更(Document Change) 
>• Fixes for Partial Networking and PNC Shutdown
• Removal of obsolete requirements 
• Bug fixes and editorial changes
## 用語(terms)

|Term|Description|
|:--|:--|
|API| Application Programming Interface
|BSW |Basic Software
|CWU |Car Wakeup
|EthIf| Ethernet Interface
|DET |Default Error Tracer
|IP |Internet Protocol
|NM |Network Management
|PDU| Protocol Data Unit
|PNL| Partial Network Learning
|SDU| Service Data Unit
|TCP| Transmission Control Protocol
|TCP/IP| A family of communication protocols used in computer networks
|UDP |User Datagram Protocol
|PNI |Partial Network Information
|UdpNm |UDP Network Management
|PDU transmission ability is disabled|This means that the NM message transmission has been disabled by the optional　service UdpNm_DisableCommunication.
|Repeat Message Request Bit Indication|UdpNm_SoAdIfRxIndication finds the Repeat Message Bit set in the Control Bit　Vector of a received NM message.
|NM PDU |Refers to the payload transmitted in a packet. It contains the NM User Data as well as the Control Bit Vector and the Source Node Identifier.
|NM Packet| Refers to an Ethernet Frame containing an IP as well as a UDP header in addition to the data (PDU) transmitted by the NM in the payload section.
|NM Message |Most abstract term referring to any single information item transferred within the methodology of the NM algorithm.
|Bus-Off state |Refers to a situation where no cable is connected to the Ethernet HW.
|Top-level PNC coordinator|The top-level PNC coordinator is an ECU that acts as PNC gateway in the network and that handles at least one PNC as actively coordinated on all assigned channels. If synchronized PNC shutdown is enabled, the top-level PNC coordinator triggers for these PNCs the shutdown, if no other ECU in the network request them.
|Intermediate PNC coordinator|An intermediate PNC coordinator is an ECU that acts as PNC gateway in the network and that handles at least one PNC as passively coordinated on at least one assigned channel. If synchronized PNC shutdown is enabled, it forwards received shutdown requests for these PNCs to the corresponding actively coordinated channels and starts their shutdown accordingly.
|PNC leaf node |A PNC leaf node is an ECU that acts not as a PNC coordinator at all in the network. It processes PN shutdown message as usual NM messages.
|PN shutdown message|A top-level PNC coordinator transmit PN shutdown messages to indicate a synchronized PNC shutdown across the PN topology. A PN shutdown message is as NM message which has PNSR bit in the control bit vector and all PNCs which are indicated for a synchronized shutdown set to '1'.

## 英日単語帳
日本語は仮訳

T.B.D.

## 参考(reference)

Glossary も　参考に入れましょう。
https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_TR_Glossary.pdf

[1] Layered Software Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[2] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[3] Requirements on Network Management
AUTOSAR_SRS_NetworkManagement.pdf
[4] Specification of Ethernet Interface
AUTOSAR_SWS_EthernetInterface.pdf
[5] Specification of FlexRay Network Management
AUTOSAR_SWS_FlexRayNetworkManagement.pdf
[6] Specification of Communication Stack Types
AUTOSAR_SWS_CommunicationStackTypes.pdf
[7] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[8] Specification of BSW Scheduler
AUTOSAR_SWS_BSW_Scheduler.pdf
[9] Specification of Generic Network Management Interface
AUTOSAR_SWS_NetworkManagementInterface.pdf
[10] Specification of Communication Manager
AUTOSAR_SWS_ComManager.pdf
[11] Specification of ECU State Manager
AUTOSAR_SWS_ECUStateManager.pdf
[12] Specification of Operating System
AUTOSAR_SWS_OS.pdf
[13] Specification of Default Error Tracer
AUTOSAR_SWS_Default ErrorTracer.pdf
[14] Specification of Standard Types
AUTOSAR_SWS_StandardTypes.pdf
[15] Specification of Platform Types
AUTOSAR_SWS_PlatformTypes.pdf
[16] Specification of Compiler Abstraction
AUTOSAR_SWS_CompilerAbstraction.pdf
[17] Basic Software Module Description Template
AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[18] Specification of Socket Adaptor
AUTOSAR_SWS_SocketAdaptor.pdf
[19] Requirements on Ethernet
AUTOSAR_SRS_Ethernet.pdf
[20] List of Basic Software Modules
AUTOSAR_TR_BSWModuleList
[21] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
[22] Specification of the AUTOSAR Network Management Protocol
AUTOSAR_PRS_NetworkManagementProtocol.pdf
[23] Specification of SystemTemplate
AUTOSAR_TPS_SystemTemplate
### [24] IEEE http://www.opengroup.org/onlinepubs/000095399/

>Download a Personal-Use Copy of the Standard

### [25] ISO 14229 Road Vehicles – Unified Diagnostic Services (UDS)

AUTOSAR References to ISO, IEC, ITU, IEEE, RFC and SEA etc.

https://qiita.com/kaizen_nagoya/private/d7d252211e10a79516df

see 4 Requirements on Diagnostics, [1]

# 関連文書(Related document)

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

CAN(controller area network) 

https://qiita.com/kaizen_nagoya/items/e8c0bd7bfb2827b83de9

「はじめてのCAN/CANFD 」 ベクタージャパン ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/1fee270be00ef90ca4ec


三方良し　Udemy 車載LAN入門講座 CAN通信編

https://qiita.com/kaizen_nagoya/items/bed038c52510fea72c0a


詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(1) 著者　 ＜エンジニア夏休み企画 読書感想文＞

https://qiita.com/kaizen_nagoya/items/e9971698a108c3dba794

詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(2)参考文献 ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/e156cbdd5fce9263776e

詳解 車載ネットワーク CAN、CAN FD、LIN、CXPI、Ethernetの仕組みと設計のために

https://qiita.com/kaizen_nagoya/items/44a9e6b0f5363b4a5b35

# R23-11
https://qiita.com/kaizen_nagoya/items/02fc998a35ee415a878d

 ＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞

# 文書履歴(document history)
ver. 0.01初稿　　20230618

### 最後までおよみいただきありがとうございました。

いいね　💚、フォローをお願いします。

####  Thank you very much for reading to the last sentence.

Please press the like icon 💚　and follow me for your happy life.