DEENESPTFRRUARHIKOZHNL
AUTOSAR_AP_SWS_ExecutionManagement FIG-0eec1bbfd3003378 851 × 527 px 5 Release(s)

Figure 7.2: Executable Lifecycle from deployment to execution

SHA-256 Inhalts-Fingerabdruck: 0eec1bbfd3003378db5ea66c2700d54ea43a21ec6e5510d68734f1c8064e542d
✦ KI-generierte Bildanalyse & technische Beschreibung Modell: gemini-3.8-flash (via agy) · Rezept figure-series@1 · erstellt am 2026-10-08

1. Diagrammtyp & Architektur-Kontext

  • Klassifikation: Informelles Architektur- und Lebenszyklusdiagramm (Konzept- und Datenflussmodell) mit Trennung von Offboard- (Design/Integration) und Onboard-Domäne (Machine/Runtime).
  • Technischer Zweck: Spezifiziert die Transformation von AUTOSAR Adaptive Platform (AP) Software-Artefakten aus der Build- und Integrationsphase über die Paketierung (Software Package) und Installation (Update and Configuration Management / UCM) bis hin zur OS-Prozessinstanziierung und Laufzeitüberwachung durch das Execution Management (EM).
  • Systemeinordnung: Dokumentiert das Zusammenspiel zwischen statischer Modellierung (ARXML-Manifeste), dynamischer Dateisystem-Ablage und Prozessausführung gemäß AUTOSAR AP R18-03 (SWS Execution Management).

2. Komponenten, Entitäten & Schnittstellen

Offboard (Design, Development, Integration)
  • Machine Manifest: ARXML-Beschreibungsdatei für maschinenspezifische Ressourcen (Hardware-Layout, OS-Konfiguration, Network-Bindings, Prozessordefinitionen).
  • Software Package: Standardisierte Auslieferungseinheit (Deployment Unit für Update/Installation), bestehend aus:
    • executable (binary): Kompiliertes Binary (typischerweise ELF).
    • Execution Manifest: Modellierung von Prozessen, Startup-Konfigurationen (StartupConfig), Execution-Dependencies und Ressourcenlimits (ersetzt den Begriff Application Manifest).
    • Service Instance Manifest: Deployment-spezifische Service-Zuordnungen (z. B. SOME/IP-, IPC-Bindings).
Onboard (Machine)
  • Update and Configuration Management (UCM): Onboard-Komponente für Empfang, Kryptographie-/Signaturprüfung, Entpackung und persistente Installation des Software Packages.
  • installed executable: Im Dateisystem abgelegte, verifizierte Binärdatei.
  • processed manifests / data base: Durch das UCM geparste, validierte und für das EM optimierte Laufzeit-Konfigurationsdatenbank.
  • Execution Management (EM / Functional Cluster): Zentraler Lifecycle-Manager. Orchestriert OS-Parameter, steuert Start/Stop-Sequenzen anhand der aktiven Function Groups und Execution States.
  • OS (Operating System): POSIX-konformes Betriebssystem (PSE51-Subset oder erweitert, z. B. Linux/QNX), zuständig für Speicherisolation, Scheduling und Thread-Verwaltung.
  • process (loaded executable instance): Aktive Instanz eines Executables im virtuellen Adressraum des OS. Die gestapelte Darstellung verdeutlicht die 1:n-Multi-Instanziierbarkeit eines Binaries (Modelled Process).
  • other functional clusters: Standardisierte AP-Plattformdienste (z. B. ara::com, ara::per, ara::diag, ara::crypto).
Schnittstellen (APIs)
  • Execution Management API: ara::exec::ExecutionClient zur Zustandsrückmeldung durch den Prozess sowie Schnittstellen zur Zustandsverwaltung (State Management).
  • OS API: Standardisierte POSIX-C- bzw. C++-Systemschnittstellen (POSIX PSE51, Threading, Signale).
  • APIs of other functional clusters: AUTOSAR Runtime for Adaptive Applications (ARA) C++ Schnittstellen.

3. Dynamisches Verhalten & Sequenzablauf

  1. Deployment & Installation: Das Offboard gebündelte Software Package wird an das Update and Configuration Management übertragen. Dieses verifiziert Authentizität/Integrität, schreibt das installed executable in den Speicher und persistiert die extrahierten Manifeste in der data base.
  2. Plattform-Initialisierung: Nach Machine-Boot liest das Execution Management die aufbereiteten Konfigurationsdaten (processed manifests aus der data base), um Abhängigkeiten, Ressourcenlimits und Startreihenfolgen zu ermitteln.
  3. Prozessinstanziierung: Anhand der Konfiguration und der aktiven Function Groups/States weist das Execution Management das OS an, die Binärdateien (installed executable) in den Arbeitsspeicher zu laden und als Prozesse (process (loaded executable instance)) auszuführen.
  4. Laufzeit-Interaktion: Nach dem Start meldet der Prozess seinen Ausführungsstatus über die Execution Management API (ara::exec::ExecutionClient) an das Execution Management. Die Kommunikation mit anderen Plattformdiensten und dem Betriebssystem erfolgt über die jeweiligen API-Schnittstellen (OS API, APIs of other functional clusters).

4. Normative Relevanz & Entwickler-Hinweise

  • Deterministisches State Reporting: Jeder als Modelled Process definierte Prozess muss zwingend ReportExecutionState(kRunning) absetzen. Bleibt dieser Aufruf aus oder überschreitet die Startup-Dauer das im Manifest konfigurierte Timeout, greift der Recovery-Mechanismus des EM (Prozessabbruch / Safe State).
  • Multi-Instantiation & Reentrancy: Ein Executable kann über separate Application Manifests mehrfach als eigenständiger Prozess instanziiert werden. Entwickler dürfen keine statischen, globalen Ressourcen (z. B. feste Socket-Pfade, hardcodierte POSIX Shared Memory IDs oder statische Dateipfade) verwenden; alle Instanzressourcen müssen über das Manifest oder Port-Mapping parametriert werden.
  • Self-Contained Threading: Das EM startet ausschließlich den Primärprozess (main()). Die Erzeugung weiterer Threads, deren Scheduling-Attribute und Überwachung liegen innerhalb des Prozesses über OS-APIs bzw. AUTOSAR OS-Wrapper.
  • Prozess-Isolation: Prozesse besitzen keinen direkten Speicherzugriff untereinander; Interprozesskommunikation (IPC) darf architektonisch ausschließlich über ara::com oder dedizierte Functional Clusters erfolgen.

Versionsvergleich KI-generiert · gemini-3.8-flash (via agy)

R19-03 → R19-11 keine inhaltliche Änderung Vorgänger: FIG-08ee15546d787f7c

Keine inhaltlichen Änderungen erkennbar.

R23-11 → R24-11 redaktionell Nachfolger: FIG-79c932aa03f3433d
  • Software Package / SoftwareCluster: Die Offboard-Auslieferungseinheit Software Package wurde wieder in SoftwareCluster umbenannt.
  • Execution Manifest / Application Manifest: Das innerhalb des Containers liegende Manifest Execution Manifest wurde wieder in Application Manifest umbenannt.
  • Update and Configuration Management / SW Configuration Management: Der Onboard-Funktionscluster Update and Configuration Management wurde wieder in SW Configuration Management umbenannt.
  • Rahmenstil des Onboard-Management-Blocks: Die Umrandung des Blocks SW Configuration Management wurde von einer durchgezogenen Linie wieder in eine gestrichelte Linie geändert.

Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Aus dem Dokument extrahierter Text & Kontext

Beschriftungen im Schaubild:

functional | cluster | API | function | cluster | API | application process | Software Package | offboard | machine | OS | installed executable process (loaded executable instance) | API | Update and Configuration | Management | deployment, authentication, | installation Execution Management | startup, configure OS, | shutdown, … | API | other functional | clusters | API | data base | application | manifest | processed | manifests | Execution | Manifest executable | (binary) Machine Manifest | design, development, integration | Service Instance Manifest

Begleitender Spezifikationstext:

Specification of Execution Management AUTOSAR AP R23-11 Deployment and Removal Binary installed on the target Machine. Previous version (if any) removed. Processed Manifests, stored in a platform-specific format which is efficiently readable at Machine startup. Execution process started as instance of the binary. The Execution Management uses contents of the processed Manifests to start up and configure each process individually. Table 7.1: Executable Lifecycle Executables which belong to the same Adaptive Application might need to be deployed to different Machines, e.g. to one high performance Machine and one high safety Machine. Figure 7.2 shows the lifecycle of an Executable from deployment to execution. functional cluster API function cluster API application process Software Package offboard machine OS installed executable process (loaded executable instance) API Update and Configuration Management deployment, authentication, installation Execution Management startup, configure OS, shutdown, … API other functional clusters API data base application manifest processed manifests Execution Manifest executable (binary) Machine Manifest design, development, integration Service Instance Manifest Figure 7.2: Executable Lifecycle from deployment to execution 7.2.4 Modelled Process A Modelled Process is an instance of an Executable. On the AUTOSAR Adaptive Platform, a Modelled Process is realized at run-time as an OS process. For details on how Execution Management starts and stop

Vorkommen in AUTOSAR-Releases (9)

Release Dokument Seite Nr. Bildunterschrift im Dokument
R19-11 AUTOSAR_SWS_ExecutionManagement S. 25 7.2 Figure 7.2: Executable Lifecycle from deployment to execution
R19-11 AUTOSAR_SWS_ExecutionManagement S. 25 7.2 Figure 7.2: Executable Lifecycle from deployment to execution
R20-11 AUTOSAR_SWS_ExecutionManagement S. 26 7.2 Figure 7.2: Executable Lifecycle from deployment to execution
R20-11 AUTOSAR_SWS_ExecutionManagement S. 26 7.2 Figure 7.2: Executable Lifecycle from deployment to execution
R21-11 AUTOSAR_SWS_ExecutionManagement S. 28 7.2 Figure 7.2: Executable Lifecycle from deployment to execution
R21-11 AUTOSAR_SWS_ExecutionManagement S. 28 7.2 Figure 7.2: Executable Lifecycle from deployment to execution
R22-11 AUTOSAR_SWS_ExecutionManagement S. 28 7.2 Figure 7.2: Executable Lifecycle from deployment to execution
R23-11 AUTOSAR_AP_SWS_ExecutionManagement S. 32 7.2 Figure 7.2: Executable Lifecycle from deployment to execution
R23-11 AUTOSAR_AP_SWS_ExecutionManagement S. 32 7.2 Figure 7.2: Executable Lifecycle from deployment to execution