LoginSignup
0
0

Specification of State Management, AUTOSAR 908, R23-11, AP

Last updated at Posted at 2024-01-02

AUTOSARが2023年版、R23-11を公開しました。

R22-11
https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_SWS_StateManagement.pdf

R21-11
https://www.autosar.org/fileadmin/standards/R21-11/AP/AUTOSAR_SWS_StateManagement.pdf

R20-11
https://www.autosar.org/fileadmin/standards/R20-11/AP/AUTOSAR_SWS_StateManagement.pdf

R19-11
https://www.autosar.org/fileadmin/standards/R19-11/AP/AUTOSAR_SWS_StateManagement.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)

• Add Update and Configuration Management support to StateMachine approach
• Add Network Management support to StateMachine approach
• Add Controller/Agent StateMachine approach
• Add UpdateAllowed service interface
• Extend StartStartMachine feature of StateMachine approach
• Replace Network Management service Interface by C++ API

用語(terms)

Terms Description
State Management The element defining modes of operation for AUTOSAR Adaptive Platform. It allows flexible definition of functions which are active on the platform at any given time.
Execution Management [3] The element of the AUTOSAR Adaptive Platform responsible for the ordered startup and shutdown of the AUTOSAR Adaptive Platform and Adaptive Applications.
Platform Health Management [4] A Functional Cluster within the Adaptive Platform Foundation
Communication Management[1] A Functional Cluster within the Adaptive Platform Foundation
Network Management [5] A Functional Cluster within the Adaptive Platform Services. Part of Communication Management.
Diagnostic Management [6] A Functional Cluster within the Adaptive Platform Services
Update And Configuration Management [7] A Functional Cluster within the Adaptive Platform Services
Network Handle Network Handles are provided by Network Management. A handle represents a set of (partial) networks.
process A process refers to the OS concept of a running process. Attention: process is not equal to Modelled Process (see below). Hence each Modelled Process has at some time a related (OS) process but a process may not always have a related Modelled Process.
Modelled Process A Modelled Process is an instance of an Executable to be executed on a Machine and has a 1:1 association with the ARXML/Meta-Model element Modelled Process. This document also uses the term process (without the “modelled” prefix) to refer to the OS concept of a running process.
Function Group A Function Group is a set of coherent Modelled Processes which need to be controlled consistently. Depending on the state of the Function Group, processes (related to the Modelled Processes) are started or terminated. Modelled Processes can belong to more than one Function Group State (but at exactly one Function Group). "MachineFG" is a Function Group with a predefined name, which is mainly used to control Machine lifecycle and processes of platform level Applications. Other Function Groups are sort of general purpose tools used (for example) to control processes of user level Applications.
Function Group State The element of State Management that characterizes the current status of a set of (functionally coherent) user-level Applications. The set of Function Groups and their Function Group States is machine specific and are configured in the Machine Manifest [8].
Machine State The state of Function Group "MachineFG" with some predefined states (Startup/Shutdown/Restart).
Execution Manifest Manifest file to configure execution of an Adaptive Application.
Machine Manifest Manifest file to configure a Machine. The Machine Manifest holds all configuration information which cannot be assigned to a specific Executable or process.
StateMachine Identifiable entity which consists of at least two StateMa- chine States.StateMachine is modeled as a ModeDecla- rationGroupPrototype
StateMachine State State of a StateMachine, which is referenced by an Action- List. StateMachine State is represented by meta-class ModeDeclaration
InitialState StateMachine State of a State Machine,which is automatically entered, when a StateMachine starts/ is instantiated.
FinalState StateMachine State o f aState Machine,which is automatically entered, when a StateMachine stops/ is destroyed.
ActionList Entity which references a StateMachine State of a StateMachine. Contains an arbitrary number of ActionLis- tItems. Entity is represented by meta-class StateManage- mentActionList
ActionListItem Item of an ActionList. Items will be executed when a StateMachine State is entered. Entity is represented by meta-class StateManagementActionItem
Transition Request Table Table which defines next StateMachine State, depending on current StateMachine State and on value passed via StateMachineService interface.
StateMachine error notification Notification towards a StateMachine triggered by Platform Health Management or Execution Management to inform StateMachine about a problem in a Function Group. Notifi- cation will lead to a change in StateMachine State.
ErrorRecoveryTable TablewhichdefinesnextStateMachine State,dependingon ErrorEvent value passed in StateMachine error notification.
SMControlApplication Project-specific Adaptive Application(s) which evaluates information from the system to request StateMachine State changes from a StateMachine via StateMachineService interface.
ErrorRecoveryOngoing StateMachine internal flag, which is set, when it receives error notification from Platform Health Management or Execu- tion Management. Flag is reset, when all Actions to recover from this situation are successfully done.
Controller StateMachine with the role Controller (also known as Master). Exists only once in an Adaptive machine (when StateMachine is configured). The Controller is the main StateMachine which is responsible for the machine life-cycle.
Agent StateMachine with the role Agent (also known as Slave). Op- tional StateMachines (beside Controller). Life-cycle of Agents is managed by Controller. Caring about set of Function Groups.

References

[1] Specification of Communication Management AUTOSAR_AP_SWS_CommunicationManagement
[2] Glossary AUTOSAR_FO_TR_Glossary
https://www.autosar.org/fileadmin/standards/R23-11/FO/AUTOSAR_FO_TR_Glossary.pdf
[3] Specification of Execution Management AUTOSAR_AP_SWS_ExecutionManagement
[4] Specification of Platform Health Management AUTOSAR_AP_SWS_PlatformHealthManagement
[5] Specification of Network Management AUTOSAR_AP_SWS_NetworkManagement
[6] Specification of Diagnostics AUTOSAR_AP_SWS_Diagnostics
[7] Specification of Update and Configuration Management AUTOSAR_AP_SWS_UpdateAndConfigurationManagement
[8] Specification of Manifest AUTOSAR_AP_TPS_ManifestSpecification
[9] Explanation of Adaptive Platform Software Architecture AUTOSAR_AP_EXP_SWArchitecture
[10] Requirements of State Management AUTOSAR_AP_RS_StateManagement

補足資料(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年間をまとめた「振り返りページ」@2023
https://qiita.com/kaizen_nagoya/items/bcd1ebd49d3a9e8c7a90

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

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

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

自動車 記事 100
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 初稿  20240102

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

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

Thank you very much for reading to the last sentence.

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

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0