DEENESPTFRRUARHIKOZHNL

struct ara::diag::SovdSwUpdate::UpdatePackageStatus

[SWS_DM_01902] Upstream: RS_Diag_04265

struct UpdatePackageStatus {...};

Definition of Update Status.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopeclass ara::diag::SovdSwUpdate

User GuideKI-GENERIERT

Liefert detaillierte Phasen-, Fortschritts- und Fehlerdaten zur Überwachung eines laufenden Software-Update-Pakets.
KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 5279eba20862 Herkunft Offene Fragen (3)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Liefert detaillierte Phasen-, Fortschritts- und Fehlerdaten zur Überwachung eines laufenden Software-Update-Pakets.

Die Struktur ara::diag::SovdSwUpdate::UpdatePackageStatus stellt Status-, Phasen- und Fortschrittsinformationen eines Software-Aktualisierungsprozesses für SOVD-Diagnoseanwendungen bereit [SWS_DM_01902]. Sie wird durch den Aufruf von GetUpdatePackageStatus bezogen und ermöglicht die kontinuierliche Überwachung von Ausführungsphasen, prozentualen Fortschritten sowie Einzelschritten. Im Falle eines Fehlers signalisiert die Struktur den Fehlschlag und transportiert über das optionale Fehlerfeld den genauen Fehlercode aus der Domäne DiagSovdErrc [SWS_DM_01909]. Als reines Datenübertragungsobjekt erfordert die Struktur vermutlich eine anwendungsseitige Synchronisation bei nebenläufigem Zugriff. Frage Q-1d228b6cab1b505e (offen)

Kontext

Die Datenstruktur ara::diag::SovdSwUpdate::UpdatePackageStatus ist Bestandteil des Moduls diag der AUTOSAR Adaptive Platform SWS Diagnostics §8.58.5 „Struct: UpdatePackageStatus“ [SWS_DM_01902]. Sie fungiert im Rahmen von Service-Oriented Vehicle Diagnostics (SOVD) als standardisierter Informationsträger zur Erfassung und Bereitstellung des aktuellen Zustands eines Software-Aktualisierungspakets. Über die API-Funktion ara::diag::SovdSwUpdate::GetUpdatePackageStatus wird das Statusobjekt von der Diagnoseschnittstelle generiert und an abfragende Instanzen übergeben SWS Diagnostics §8.58.2.1.3.5 „GetUpdatePackageStatus“ [SWS_DM_01921].

Innerhalb der Systemarchitektur dient die Struktur als Entkopplungselement zwischen der ausführenden Service-Komponente SovdSwUpdate und externen oder internen Diagnose-Clients. Während der Service die eigentliche Paketverarbeitung und Installation steuert, kapselt UpdatePackageStatus eine Momentaufnahme über Verarbeitungsphasen, Fortschritte und eventuelle Fehlerzustände [SWS_DM_01902].

Lebenszyklus

Als reiner Datenbehälter (struct) besitzt UpdatePackageStatus keine eigene interne Zustandslogik und betreibt kein eigenständiges Ressourcenmanagement SWS Diagnostics §8.58.5 „Struct: UpdatePackageStatus“ [SWS_DM_01902]. Instanzen werden im Zuge des Aufrufs von GetUpdatePackageStatus erzeugt, mit den aktuellen Statuswerten befüllt und per Wert an den Aufrufer zurückgeliefert [SWS_DM_01921]. Die Lebensdauer ist an den Scope des Empfängers gebunden und endet mit dessen Zerstörung.

Obwohl das C++-Objekt passiv ist, repräsentieren seine Member-Variablen den Lebenszyklus des zugrunde liegenden Aktualisierungsprozesses. Das Feld phase vom Typ SovdUpdatePhase beschreibt die aktuelle Phase des Gesamtprozesses SWS Diagnostics §8.58.5.1.2 „phase“ [SWS_DM_01903], während die Variable status vom Typ SovdUpdateStatus den konkreten Zustand dieser Phase angibt SWS Diagnostics §8.58.5.1.4 „status“ [SWS_DM_01904]. Da keine internen Mutexe oder Synchronisationsmechanismen spezifiziert sind, erfordert ein nebenläufiger Zugriff auf dieselbe Instanz eine externe Absicherung durch den Verwender.

Nutzungspfad

Der typische Nutzungspfad umfasst die zyklische oder anlassbezogene Überwachung einer Paketaktualisierung durch einen Diagnose-Client:

Abfrage und Auswertung von UpdatePackageStatusClientSovdSwUpdateUpdatePackageStatusGetUpdatePackageStatus()erzeugt und befülltUpdatePackageStatusaltstatus == failedwertet error (DiagSovdErrc) ausstatus != failedliest phase, progress und step aus

Sequenzdiagramm: Aufrufabfolge zur Statusabfrage und Auswertung der Member-Variablen eines UpdatePackageStatus. Quellen: [SWS_DM_01921], [SWS_DM_01902], [SWS_DM_01904], [SWS_DM_01909].

Fehlerszenarien

Fehler im Update-Ablauf werden über spezifische Attribute der Datenstruktur transparent gemacht:

Dieser Leitfaden basiert auf der Spezifikation AUTOSAR Adaptive Platform Release R25-11.

Mitgliederkarte

Klassendiagramm

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__SovdSwUpdate__UpdatePackageStatus558 «struct» UpdatePackageStatus + error + phase + progress + status + step + step_translation_id + subprogress

Detailansicht

Wähle in der Gliederung einen Eintrag aus.

Konstanten

error variable

Specifies the error if status is failed.

phase variable

Specifies the Update Status phase.

progress variable

Specifies the progress of the Update phase in percentage.

status variable

Specifies the status of the Update phase.

step variable

Specifies the current step of the Update.

Specifies the step_translation_id.

ara::core::String step_translation_id;
subprogress variable

Specifies the progress of the Update phase in percent.

Dokumentation der Konstanten / Variablen

variable error [SWS_DM_01909] Upstream: RS_Diag_04265

ara::core::Optional<ara::diag::DiagSovdErrc> error;

Specifies the error if status is failed.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopestruct ara::diag::SovdSwUpdate::UpdatePackageStatus
Symbolerror
Typara::core::Optional< ara::diag::DiagSovdErrc >

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01909
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01909@rel:R25-11#4a4c2651
Content hash
4a4c2651
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01909
Status: valid/unmigrated Version: rel:R25-11#cfd3d293 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01909@rel:R25-11#cfd3d293
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#4a4c26512026-09-30
  • R23-11rel:R23-11#cfd3d2932026-10-14
  • R24-11rel:R24-11#cfd3d2932026-10-14
  • R25-11rel:R25-11#cfd3d2932026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

variable phase [SWS_DM_01903] Upstream: RS_Diag_04265

SovdUpdatePhase phase;

Specifies the Update Status phase.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopestruct ara::diag::SovdSwUpdate::UpdatePackageStatus
Symbolphase
TypSovdUpdatePhase

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01903
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01903@rel:R25-11#308e0d2b
Content hash
308e0d2b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01903
Status: valid/unmigrated Version: rel:R25-11#a843f38b Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01903@rel:R25-11#a843f38b
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#308e0d2b2026-09-30
  • R23-11rel:R23-11#a843f38b2026-10-14
  • R24-11rel:R24-11#a843f38b2026-10-14
  • R25-11rel:R25-11#a843f38b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

variable progress [SWS_DM_01905] Upstream: RS_Diag_04265

ara::core::Optional<std::uint8_t> progress;

Specifies the progress of the Update phase in percentage.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopestruct ara::diag::SovdSwUpdate::UpdatePackageStatus
Symbolprogress
Typara::core::Optional< std::uint8_t >

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01905
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01905@rel:R25-11#34e3e47e
Content hash
34e3e47e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01905
Status: valid/unmigrated Version: rel:R25-11#33e52ed5 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01905@rel:R25-11#33e52ed5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#34e3e47e2026-09-30
  • R23-11rel:R23-11#33e52ed52026-10-14
  • R24-11rel:R24-11#33e52ed52026-10-14
  • R25-11rel:R25-11#33e52ed52026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

variable status [SWS_DM_01904] Upstream: RS_Diag_04265

SovdUpdateStatus status;

Specifies the status of the Update phase.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopestruct ara::diag::SovdSwUpdate::UpdatePackageStatus
Symbolstatus
TypSovdUpdateStatus

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01904
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01904@rel:R25-11#685ed700
Content hash
685ed700
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01904
Status: valid/unmigrated Version: rel:R25-11#c3381562 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01904@rel:R25-11#c3381562
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#685ed7002026-09-30
  • R23-11rel:R23-11#c33815622026-10-14
  • R24-11rel:R24-11#c33815622026-10-14
  • R25-11rel:R25-11#c33815622026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

variable step [SWS_DM_01907] Upstream: RS_Diag_04265

ara::core::String step;

Specifies the current step of the Update.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopestruct ara::diag::SovdSwUpdate::UpdatePackageStatus
Symbolstep
Typara::core::String

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01907
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01907@rel:R25-11#19d1f039
Content hash
19d1f039
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01907
Status: valid/unmigrated Version: rel:R25-11#5eacde13 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01907@rel:R25-11#5eacde13
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#19d1f0392026-09-30
  • R23-11rel:R23-11#5eacde132026-10-14
  • R24-11rel:R24-11#5eacde132026-10-14
  • R25-11rel:R25-11#5eacde132026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

variable step_translation_id [SWS_DM_01908] Upstream: RS_Diag_04265

ara::core::String step_translation_id;

Specifies the step_translation_id.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopestruct ara::diag::SovdSwUpdate::UpdatePackageStatus
Symbolstep_translation_id
Typara::core::String

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01908
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01908@rel:R25-11#6b35d3a1
Content hash
6b35d3a1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01908
Status: valid/unmigrated Version: rel:R25-11#f97411b0 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01908@rel:R25-11#f97411b0
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6b35d3a12026-09-30
  • R23-11rel:R23-11#f97411b02026-10-14
  • R24-11rel:R24-11#f97411b02026-10-14
  • R25-11rel:R25-11#f97411b02026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

variable subprogress [SWS_DM_01906] Upstream: RS_Diag_04265

ara::core::Vector<SubProgress> subprogress;

Specifies the progress of the Update phase in percent.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopestruct ara::diag::SovdSwUpdate::UpdatePackageStatus
Symbolsubprogress
Typara::core::Vector< SubProgress >

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01906
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01906@rel:R25-11#5034457c
Content hash
5034457c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01906
Status: valid/unmigrated Version: rel:R25-11#51179198 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01906@rel:R25-11#51179198
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5034457c2026-09-30
  • R23-11rel:R23-11#511791982026-10-14
  • R24-11rel:R24-11#511791982026-10-14
  • R25-11rel:R25-11#511791982026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill