Specification of Persistency, AUTOSAR R22-11, AP, No.858

Specification of Persistency, AUTOSAR 22-11, AP, No.858

AUTOSAR Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/autosar

2022/12/09日の投稿です。

AUTOSARが、今年の版、R22-11公開しました。公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

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

下記URL順次確認中です。

https://www.autosar.org/fileadmin/standards/adaptive/22-11/AUTOSAR_SWS_Persistency.pdf

間違っていたら、いいね　を押していただいて、コメント欄にご報告くださると幸いです。
編集リクエストが、構造的な変更をしている最中に、構造的な編集リクエストをしていただくと、
何をどう直したらいいかわからなくなってしまいます。自動修復ツールがつくれていません。ごめんなさい。

https://www.autosar.org/

文書は検索してダウンロードすることができます。
クラウドサービスにありがちな、あるのにないかのような検索結果が出ることがあります。

https://www.autosar.org/nc/document-search/

AUTOSAR R22-11 Qiita 記事一覧はこちらに編集中です。

https://qiita.com/kaizen_nagoya/items/11a1654e1e9ec0e4d001

<この項は書きかけです。順次追記します。>
# 用語(terms)

|Term| Description|
|:--|:--|
|FS| File Storage|
|KVS| Key-Value Storage
|Adaptive Application| Refers to the Adaptive Application defined in [1].
|Adaptive Platform| Refers to the AUTOSAR Adaptive Platform defined in [1].
|Adaptive Platform Foundation| Refers to the Adaptive Platform Foundation defined in [1].
|Element| Refers to either a key-value pair of a Key-Value Storage or a file of a File Storage. Used in the specification where something applies to all kinds of storage elements.
|Execution Manifest| Refers to the Execution Manifest defined in [1].
|File| A binary or text file to be stored in a File Storage.
|File Name| The file name uniquely identifies a file within a File Storage.
|File Storage| A set of files that are stored persistently.
|Functional Cluster| Refers to the Functional Cluster defined in [1].
|Integrity| Persistency distinguishes data integrity, which is ensured by the configured redundancy, from structural integrity, i.e. the readability of the structure of a Key-Value Storage or File Storage.
|Key| The key uniquely identifies a key-value pair within a Key- -Value Storage.
|Key-Value Pair| A key with an associated value, to be stored in a Key-Value Storage together with the type of the value.
|Key-Value Storage| A set of key-value pairs that are stored persistently.
|Persistency| The functional cluster described in this document, which handles persistent data of AUTOSAR Adaptive Applications and other functional clusters in File Storages and Key-Value Storages.
|Persistent Data| Data that is stored in the persistent memory that can be accessed by one Process. Persistency supports different mechanisms to access data in persistent memory. Concurrent access to the data by several Processes is not supported as the data is owned exclusively by one Process.
|Redundancy| Redundancy is used by Persistency to ensure the integrity of stored data. It can be configured to use replication of stored data, CRCs, or Hashes. Typically, only replication will allow to repair corrupted data.
|Service Interface| Refers to the Service Interface defined in [1].
|Software Package| Refers to the Software Package defined in [1].
|Storage| Refers to either a Key-Value Storage or a File Storage. Used in the specification where something applies to all kinds of storages.
|Value| A value of a key-value pair stored in a Key-Value Storage.|

## 英日
日本語は仮訳

|no.|count|word|日本語|
|:----|:----|:----|:----|
|1|2367|the|その|
|2|2182|sws_per_|sws_per_|
|3|1316|of|の|
|4|956|file|紙ばさみ|
|5|941|storage|記録|
|6|766|ara|AUTOSAR Runtime for Adaptive Applications(短縮名)|
|7|712|a|一つの|
|8|707|persistency|永続性|
|9|654|value|価値|
|10|628|to|に|
|11|569|key|鍵|
|12|549|is|です|
|13|537|rs_ap_|rs_ap_|
|14|505|in|の|
|15|482|per|あたり|
|16|423|rs_per_|rs_per_|
|17|390|and|と|
|18|383|if|もしも|
|19|366|be|です|
|20|358|or|また|
|21|322|data|与件|
|22|314|core|芯|
|23|306|this|これ|
|24|288|returned|戻ってきた|
|25|273|for|にとって|
|26|270|c|c|
|27|256|autosar|AUTomotive Open System Architecture(短縮名)|
|28|253|pererrc|persistency error code(短縮名)|
|29|253|shall|しなければならない|
|30|239|an|と|
|31|232|class|級|
|32|228|by|に|
|33|212|atp|AUTOSAR template profile(短縮名)|
|34|209|no|いいえ|
|35|209|specification|仕様|
|36|207|d|d|
|37|198|handle|取り持つ|
|38|190|document|資料|
|39|189|r|r|
|40|186|read|読む|
|41|182|draft|下書き|
|42|180|error|誤り|
|43|171|safety|安全性|
|44|167|except|それ外|
|45|165|result|結果|
|46|163|id|identifier, 識別子(短縮名）|
|47|163|kind|親切|
|48|161|ap|adaptive platform(短縮名)|
|49|161|autosar_sws_persistency|autosar_sws_persistency|
|50|156|with|と|
|51|148|scope|範囲|
|52|147|status|状態|
|53|147|tags|札|
|54|146|description|説明|
|55|146|it|それ|
|56|146|not|ない|
|57|141|stored|保存|
|58|136|type|型|
|59|134|application|応用|
|60|134|as|なので|
|61|128|function|関数|
|62|127|header|見出し|
|63|127|include|含む|
|64|126|h|h|
|65|126|symbol|像|
|66|126|that|それ|
|67|125|name|名前|
|68|125|syntax|構文|
|69|124|update|更新|
|70|122|element|要素|
|71|122|return|戻る|
|72|121|deployment|展開|
|73|120|accessor|接続子|
|74|115|errors|誤り|
|75|115|position|位置|
|76|108|port|港|
|77|106|interface|界面|
|78|106|thread|より糸|
|79|103|when|いつ|
|80|102|operator|捜査員|
|81|99|defined|定義済み|
|82|99|exception|例外|
|83|98|string|文字列|
|84|97|case|場合|
|85|97|current|現在|
|86|96|unique|唯一の|
|87|95|any|どれか|
|88|95|fails|失敗する|
| |95|from|から|
|89|93|access|接続|
|90|91|adaptive|適応|
|91|91|will|意思|
|92|86|used|使用済み|
|93|85|attribute|属性|
|94|85|contains|含む|
|95|85|platform|土台|
|96|84|package|小包|
|97|83|const|constant(定数：短縮名）|
|98|83|note|覚書|
|99|81|shared|共有|
|100|78|can|できる|
|101|77|persistent|持続的|


## 誤植の可能性

8.3.8 FileCreationState [SWS_PER_00435] 

|Values:| kCreatedDuringInstallion = 1| The file was created by Persistency after installation of the application or after ResetPersistency|
|:--|:--|:--|

Installionは、Installationの誤植かも。

# 参照(reference)
[1] Glossary, AUTOSAR_TR_Glossary
https://www.autosar.org/fileadmin/standards/foundation/22-11/AUTOSAR_TR_Glossary.pdf
[2] Specification of Adaptive Platform Core, AUTOSAR_SWS_AdaptivePlatformCore
[3] Specification of Manifest, AUTOSAR_TPS_ManifestSpecification
[4] Specification of Execution Management, AUTOSAR_SWS_ExecutionManagement
[5] Specification of Cryptography, AUTOSAR_SWS_Cryptography
[6] Specification of Update and Configuration Management, AUTOSAR_SWS_UpdateAndConfigurationManagement
[7] Requirements on Persistency, AUTOSAR_RS_Persistency
[8] General Requirements specific to Adaptive Platform, AUTOSAR_RS_General
[9] Explanation of Adaptive Platform Design, AUTOSAR_EXP_PlatformDesign
[10] Specification of Platform Types for Adaptive Platform, AUTOSAR_SWS_AdaptivePlatformTypes


# Countdown Calendar 2022

今年企画した6つのCountdown Calendarと、それぞれの記事一つをご紹介します。

AUTOSAR Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/autosar

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

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

Automotive Handbook Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/automotivehandbook

Basic principles, ボッシュ自動車handbook(英語)11版まとめ<2>

https://qiita.com/kaizen_nagoya/items/24a1ba5da3d09b2a95d1


2022 いいねをいただいた記事ランキング(O.K.版) Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/goods

2022年１月下旬　いいねをいただいた記事　16

https://qiita.com/kaizen_nagoya/items/0ee589a8edaeab24fd2a

CDCale(O.K.) Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/adventcalendar2022

「会議は15分未満」に。小耳にはさんだ話。

https://qiita.com/kaizen_nagoya/items/510c47c5d1e8d03145db

ABC language (O.K.版） Advent Calendar 2022

https://qiita.com/advent-calendar/2022/abc_ok

LLVMソースコードのコンパイルをしようと思ってハマった罠とそこから脱出するための努力

https://qiita.com/kaizen_nagoya/items/16f270e42b947756ced3

ABC maker(O.K版） Advent Calendar 2022

https://qiita.com/advent-calendar/2022/abcmaker

JAXA/IPA クリティカルソフトウェアワークショップ WOCS言語関連発表(改定版)

https://qiita.com/kaizen_nagoya/items/4789832baf494cb74626


CountdownCalendar2022 報告

https://qiita.com/kaizen_nagoya/items/5b4b99cb9ad571f4094b


# 関連文書(Related document)

AUTOSAR Abstract Platformへの道（詳細編）

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

2023年1月　記事数一覧

https://qiita.com/kaizen_nagoya/items/78153968c5de76a7fd83

年末100記事を30点に仕上げる。

https://qiita.com/kaizen_nagoya/items/3ffdc82caee3a325d1d7

2023 書き初め

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

「はじめての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

AUTOSAR Abstract Platform User Group Weekly Report(1) 2022.1.8

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

AUTOSAR Abstract Platform User Group Weekly Report(2) 2022.1.15

https://qiita.com/kaizen_nagoya/items/6f1168a36e795976a906

# 更新資料　Abstract Platform, Vehicle Modelへの対応版
Specification of Persistency,No.858, AP, AUTOSAR R22-11 新

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

# 文書履歴(document history)
ver. 0.01 初稿 20221212
ver. 0.02 URL追記　20230204