DEENESPTFRRUARHIKOZHNL

स्ट्रक्चर 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

उपयोगकर्ता गाइडएआई जनित

चल रहे सॉफ़्टवेयर अपडेट पैकेज की निगरानी के लिए विस्तृत चरण, प्रगति और त्रुटि डेटा प्रदान करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 5279eba20862 उद्गम खुले प्रश्न (3)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

चल रहे सॉफ़्टवेयर अपडेट पैकेज की निगरानी के लिए विस्तृत चरण, प्रगति और त्रुटि डेटा प्रदान करता है।

संरचना ara::diag::SovdSwUpdate::UpdatePackageStatus SOVD डायग्नोस्टिक्स अनुप्रयोगों के लिए एक सॉफ़्टवेयर अपडेट प्रक्रिया की स्थिति, चरण और प्रगति की जानकारी प्रदान करती है [SWS_DM_01902]। इसे GetUpdatePackageStatus को कॉल करके प्राप्त किया जाता है और यह निष्पादन चरणों, प्रतिशत प्रगति के साथ-साथ व्यक्तिगत चरणों की निरंतर निगरानी को सक्षम बनाता है। किसी त्रुटि की स्थिति में, संरचना विफलता का संकेत देती है और वैकल्पिक त्रुटि फ़ील्ड के माध्यम से डोमेन DiagSovdErrc [SWS_DM_01909] से सटीक त्रुटि कोड स्थानांतरित करती है। एक शुद्ध डेटा ट्रांसफर ऑब्जेक्ट के रूप में, संरचना को संभवतः समवर्ती एक्सेस के मामले में अनुप्रयोग-पक्षीय सिंक्रोनाइज़ेशन की आवश्यकता होती है। प्रश्न Q-1d228b6cab1b505e (खुला)

संदर्भ

डेटा संरचना ara::diag::SovdSwUpdate::UpdatePackageStatus AUTOSAR Adaptive Platform SWS Diagnostics §8.58.5 “Struct: UpdatePackageStatus” [SWS_DM_01902] के मॉड्यूल diag का हिस्सा है। यह Service-Oriented Vehicle Diagnostics (SOVD) के ढांचे के भीतर एक सॉफ़्टवेयर अपडेट पैकेज की वर्तमान स्थिति को कैप्चर करने और प्रदान करने के लिए एक मानकीकृत सूचना वाहक के रूप में कार्य करती है। API फ़ंक्शन ara::diag::SovdSwUpdate::GetUpdatePackageStatus के माध्यम से, स्थिति ऑब्जेक्ट डायग्नोस्टिक इंटरफ़ेस द्वारा जनरेट किया जाता है और क्वेरी करने वाले इंस्टेंस को पास किया जाता है SWS Diagnostics §8.58.2.1.3.5 “GetUpdatePackageStatus” [SWS_DM_01921]।

सिस्टम आर्किटेक्चर के भीतर, संरचना निष्पादित करने वाले सेवा घटक SovdSwUpdate और बाह्य या आंतरिक डायग्नोस्टिक क्लाइंट्स के बीच एक डिकूपलिंग तत्व के रूप में कार्य करती है। जबकि सेवा वास्तविक पैकेज प्रसंस्करण और स्थापना को नियंत्रित करती है, UpdatePackageStatus प्रसंस्करण चरणों, प्रगति और संभावित त्रुटि स्थितियों के एक स्नैपशॉट को समाहित करती है [SWS_DM_01902]।

जीवनचक्र

एक शुद्ध डेटा कंटेनर (struct) के रूप में, UpdatePackageStatus का कोई अपना आंतरिक स्थिति लॉजिक नहीं होता है और यह कोई स्वतंत्र संसाधन प्रबंधन नहीं करता है SWS Diagnostics §8.58.5 “Struct: UpdatePackageStatus” [SWS_DM_01902]। GetUpdatePackageStatus के कॉल के दौरान इंस्टेंस बनाए जाते हैं, वर्तमान स्थिति मानों से भरे जाते हैं और मान द्वारा कॉलर को वापस लौटाए जाते हैं [SWS_DM_01921]। जीवनकाल प्राप्तकर्ता के स्कोप से बंधा होता है और उसके विनाश के साथ समाप्त होता है।

यद्यपि C++ ऑब्जेक्ट निष्क्रिय है, इसके सदस्य चर अंतर्निहित अद्यतन प्रक्रिया के जीवनचक्र का प्रतिनिधित्व करते हैं। SovdUpdatePhase प्रकार का फ़ील्ड phase समग्र प्रक्रिया के वर्तमान चरण का वर्णन करता है SWS Diagnostics §8.58.5.1.2 “phase” [SWS_DM_01903], जबकि SovdUpdateStatus प्रकार का चर status इस चरण की विशिष्ट स्थिति को इंगित करता है SWS Diagnostics §8.58.5.1.4 “status” [SWS_DM_01904]। चूँकि कोई आंतरिक म्यूटेक्स या सिंक्रोनाइज़ेशन तंत्र निर्दिष्ट नहीं हैं, इसलिए एक ही इंस्टेंस पर समवर्ती एक्सेस के लिए उपयोगिता द्वारा बाहरी सुरक्षा की आवश्यकता होती है।

उपयोग पथ

विशिष्ट उपयोग पथ में डायग्नोस्टिक क्लाइंट द्वारा पैकेज अद्यतन की चक्रीय या घटना-आधारित निगरानी शामिल है:

  • स्थिति क्वेरी: क्लाइंट इंटरफ़ेस SovdSwUpdate पर विधि GetUpdatePackageStatus को कॉल करता है SWS Diagnostics §8.58.2.1.3.5 “GetUpdatePackageStatus” [SWS_DM_01921]।
  • चरण और स्थिति मूल्यांकन: ऑब्जेक्ट [SWS_DM_01902] प्राप्त करने के बाद, क्लाइंट यह निर्धारित करने के लिए चर phase [SWS_DM_01903] और status [SWS_DM_01904] की जाँच करता है कि प्रक्रिया सामान्य रूप से आगे बढ़ रही है या पूर्ण हो चुकी है।
  • प्रगति विश्लेषण: यदि कोई समग्र प्रतिशत प्रगति उपलब्ध है, तो वैकल्पिक सदस्य progress के माध्यम से इसका मूल्यांकन किया जाता है SWS Diagnostics §8.58.5.1.3 “progress” [SWS_DM_01905]। अतिरिक्त उप-चरणों को वेक्टर subprogress के माध्यम से देखा जा सकता है [SWS_DM_01906]।
  • चरण प्रदर्शन: लॉगिंग या उपयोगकर्ता मार्गदर्शन के लिए, पाठ्य चरण नाम step [SWS_DM_01907] और स्थानीयकरण कुंजी step_translation_id का उपयोग किया जाता है [SWS_DM_01908]।
UpdatePackageStatus की क्वेरी और मूल्यांकनClientSovdSwUpdateUpdatePackageStatusGetUpdatePackageStatus()बनाया और भरा गयाUpdatePackageStatusaltstatus == failederror (DiagSovdErrc) का मूल्यांकन करता हैstatus != failedphase, progress और step पढ़ता है

अनुक्रम आरेख: UpdatePackageStatus के सदस्य चरों की स्थिति क्वेरी और मूल्यांकन के लिए कॉल अनुक्रम। स्रोत: [SWS_DM_01921], [SWS_DM_01902], [SWS_DM_01904], [SWS_DM_01909]।

त्रुटि परिदृश्य

अद्यतन प्रवाह में त्रुटियों को डेटा संरचना की विशिष्ट विशेषताओं के माध्यम से पारदर्शी बनाया जाता है:

  • विफल स्थिति: यदि प्रक्रिया में कोई समस्या आती है, तो फ़ील्ड status “failed” स्थिति ग्रहण कर लेता है [SWS_DM_01904]।
  • त्रुटि विवरण: इस त्रुटि मामले में, ara::core::Optional<ara::diag::DiagSovdErrc> प्रकार का फ़ील्ड error उत्पन्न त्रुटि कोड निर्दिष्ट करता है SWS Diagnostics §8.58.5.1.1 “error” [SWS_DM_01909]।
  • नियमित प्रवाह: यदि कोई त्रुटि नहीं है, तो वैकल्पिक फ़ील्ड error अप्रयुक्त रहना चाहिए, क्योंकि विनिर्देश के अनुसार यह स्पष्ट रूप से “failed” स्थिति से जुड़ा हुआ है [SWS_DM_01909]। प्रश्न Q-c26d1c1d25d7e938 (खुला)
  • इंटरफ़ेस त्रुटि: यदि प्लेटफ़ॉर्म स्तर पर API कॉल GetUpdatePackageStatus विफल हो जाता है, तो संभवतः स्थिति ऑब्जेक्ट के स्थान पर एक प्लेटफ़ॉर्म-विशिष्ट त्रुटि स्थिति वापस की जाएगी [SWS_DM_01921]। प्रश्न Q-b029f911ee738cb1 (खुला)

यह मार्गदर्शिका AUTOSAR Adaptive Platform रिलीज़ R25-11 के विनिर्देश पर आधारित है।

सदस्य मानचित्र

क्लास आरेख

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

विवरण दृश्य

रूपरेखा में कोई प्रविष्टि चुनें।

स्थिरांक

error चर

Specifies the error if status is failed.

phase चर

Specifies the Update Status phase.

progress चर

Specifies the progress of the Update phase in percentage.

status चर

Specifies the status of the Update phase.

step चर

Specifies the current step of the Update.

Specifies the step_translation_id.

ara::core::String step_translation_id;

Specifies the progress of the Update phase in percent.

स्थिरांकों / चरों का प्रलेखन

चर 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#9133f7b1
Content hash
9133f7b1
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

चर 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#14b1a7b3
Content hash
14b1a7b3
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

चर 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#f7fa25e0
Content hash
f7fa25e0
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

चर 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#33839da8
Content hash
33839da8
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

चर 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#0e125267
Content hash
0e125267
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

चर 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#be3bf559
Content hash
be3bf559
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

चर 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#b2591c35
Content hash
b2591c35
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