DEENESPTFRRUARHIKOZHNL

क्लास ara::diag::SovdSwUpdate

[SWS_DM_01874] Upstream: RS_Diag_04265

class SovdSwUpdate {...};

Class to implement the SovdSwUpdate interface.

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

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

AUTOSAR डायग्नोस्टिक्स सर्वर में ASAM-SOVD प्रोटोकॉल के माध्यम से सॉफ़्टवेयर अपडेट को संभालने के लिए एक इंटरफ़ेस के रूप में कार्य करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 0456e379cc70 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

AUTOSAR डायग्नोस्टिक्स सर्वर में ASAM-SOVD प्रोटोकॉल के माध्यम से सॉफ़्टवेयर अपडेट को संभालने के लिए एक इंटरफ़ेस के रूप में कार्य करता है।

यह क्लास ASAM SOVD के अनुसार SOVD प्रोटोकॉल के माध्यम से मानकीकृत सॉफ़्टवेयर अपडेट को संभालने के लिए एप्लिकेशन-साइड इंटरफ़ेस प्रदान करती है [SWS_DM_01796]। इंस्टेंसिएशन के बाद, एप्लिकेशन विधि Offer() [SWS_DM_01924] के माध्यम से विशिष्ट अपडेट हैंडलर्स को डायग्नोस्टिक अनुरोधों के अग्रेषण को सक्रिय करता है। एसिंक्रोनस विधियों के माध्यम से पैकेजों को पंजीकृत, तैयार, स्वचालित रूप से या मैन्युअल रूप से स्थापित और फिर से हटाया जाता है। डेटा ट्रांसफ़र और लाइफसाइकिल से संबंधित सभी प्रक्रियाओं को फ़्यूचर्स के माध्यम से गैर-अवरोधक तरीके से संसाधित किया जाता है।

संदर्भ

क्लास ara::diag::SovdSwUpdate AUTOSAR Adaptive Platform [SWS_DM_01874] के भीतर ASAM SOVD के अनुसार मानकीकृत सॉफ़्टवेयर अपडेट के कार्यान्वयन के लिए इंटरफ़ेस को परिभाषित करती है। चूँकि सॉफ़्टवेयर अपडेट का वास्तविक व्यावसायिक तर्क फ़ंक्शन क्लस्टर Diagnostic Management (DM) में स्थित नहीं है, इसलिए निष्पादन संबंधित एप्लिकेशन के पास रहता है, जबकि ara::diag::SovdSwUpdate अंतर्निहित SOVD प्रोटोकॉल AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept” के मानक-अनुरूप प्रबंधन पर केंद्रित है। अपडेट फ़ाइलों को अपलोड करने के लिए, उन स्थानांतरण रणनीतियों का उपयोग किया जाता है जैसा कि UDS सेवा 0x38 (RequestFileTransfer) के लिए निर्दिष्ट हैं AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept”, [SWS_DM_01923]।

इन प्रक्रियाओं में तीन प्रमुख घटक शामिल हैं: बाहरी SOVD क्लाइंट, प्रोटोकॉल और रूट प्रबंधन के लिए Diagnostic Server (DM) का इंस्टेंस, तथा ara::diag::SovdSwUpdate का अनुप्रयोग-विशिष्ट हैंडलर कार्यान्वयन [SWS_DM_01796], [SWS_DM_01924]।

SovdSwUpdateContext client SOVD-Client dm Diagnostic Server (DM) client->dm SOVD-Protokoll (ASAM SOVD) handler ara::diag::SovdSwUpdate (Anwendungs-Handler) dm->handler Methodenaufrufe (z. B. Prepare/Execute) handler->dm ara::core::Future

संदर्भ आरेख: SOVD क्लाइंट, Diagnostic Server (DM) और ara::diag::SovdSwUpdate का परस्पर प्रभाव। स्रोत: [SWS_DM_01796], [SWS_DM_01924], AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept”

जीवनचक्र

ara::diag::SovdSwUpdate का इंस्टैंसिएशन कंस्ट्रक्टर के माध्यम से एक ara::core::InstanceSpecifier निर्दिष्ट करके किया जाता है, जो किसी मॉडल्ड DiagnosticSovdUpdateInterface के पोर्ट प्रोटोटाइप को संदर्भित करता है, साथ ही एक समवर्ती मोड (ConcurrencyType: kConcurrent या kNotConcurrent) [SWS_DM_01910] भी निर्दिष्ट किया जाता है। कंस्ट्रक्टर को थ्रेड-सुरक्षित और अपवाद-सुरक्षित निर्दिष्ट किया गया है [SWS_DM_01910]। एक अद्वितीय इंटरफ़ेस इंस्टेंस के प्रतिनिधि के रूप में, कॉपी कंस्ट्रक्टर और कॉपी असाइनमेंट ऑपरेटर हटा दिए गए हैं (=delete) और संरक्षित हैं [SWS_DM_01912], [SWS_DM_01914]। मूव कंस्ट्रक्शन और मूव असाइनमेंट संरक्षित रूप से उपलब्ध हैं, लेकिन थ्रेड-सुरक्षित नहीं हैं [SWS_DM_01913], [SWS_DM_01915]।

ऑब्जेक्ट का विनाश वर्चुअल डिस्ट्रक्टर ~SovdSwUpdate() के माध्यम से प्रबंधित किया जाता है, जिसे थ्रेड-सुरक्षित नहीं माना जाता है [SWS_DM_01911]। क्लास की वर्चुअल कॉलबैक विधियों को समवर्ती रूप से निष्पादित किया जाना चाहिए या नहीं, यह सीधे कंस्ट्रक्टर में पास किए गए ConcurrencyType पर निर्भर करता है [SWS_DM_01910], [SWS_DM_01916]।

उपयोग पथ

Interpretation: चूंकि प्रदान की गई इंटरफ़ेस विधियों को विशुद्ध रूप से वर्चुअल (=0) घोषित किया गया है, इसलिए एक व्युत्पन्न अनुप्रयोग क्लास को वास्तविक अपडेट निष्पादन करने के लिए इन्हें कार्यान्वित करना चाहिए, जबकि बेस क्लास प्लेटफ़ॉर्म कनेक्शन को नियंत्रित करती है। प्रश्न Q-10500d9fc58503ea (खुला)

नियमित प्रक्रिया निम्नलिखित चरणों में विभाजित है:

  • प्रावधान: ऑब्जेक्ट निर्माण के बाद, अनुप्रयोग Offer() को कॉल करता है ताकि Diagnostic Management आने वाले SOVD संदेशों को इस इंस्टेंस पर अग्रेषित कर सके [SWS_DM_01924]।
  • सूचना और पंजीकरण: GetAllUpdates() के माध्यम से मौजूदा अपडेट पैकेजों के बारे में जानकारी प्राप्त की जा सकती है [SWS_DM_01797], [SWS_DM_01916]। यदि कोई नया पैकेज प्रेषित किया जाना है, तो Diagnostic Server RequestUpdatePackageRegistration() के माध्यम से पंजीकरण का अनुरोध करता है, जो अपडेट पैकेज ID के साथ अतुल्यकालिक रूप से एक लेखन सत्र (DataTransferWriteSession) प्रदान करता है [SWS_DM_01923]। विवरण और स्थिति GetUpdatePackageDetails() और GetUpdatePackageStatus() के माध्यम से निर्धारित की जाती है [SWS_DM_01802], [SWS_DM_01917], [SWS_DM_01921]।
  • इंस्टॉलेशन या विलोपन: इंस्टॉलेशन को या तो PutUpdatePackageAutomated() का उपयोग करके स्वचालित रूप से ट्रिगर किया जा सकता है [SWS_DM_01799], [SWS_DM_01918] या दो चरणों में PrepareUpdatePackage() [SWS_DM_01800], [SWS_DM_01919] के बाद ExecuteUpdatePackage() [SWS_DM_01801], [SWS_DM_01920] द्वारा किया जा सकता है। जिन पैकेजों की अब आवश्यकता नहीं है, उन्हें DeleteUpdatePackage() के माध्यम से हटा दिया जाता है [SWS_DM_01922]।
  • समाप्ति: शटडाउन से पहले, अनुप्रयोग StopOffer() को कॉल करके संदेश अग्रेषण को निष्क्रिय कर देता है [SWS_DM_01925]।
SOVD के माध्यम से सॉफ़्टवेयर अपडेट का अनुक्रमSOVD-ClientDiagnostic ServerSovdSwUpdateUse Case: DienstfreigabeOffer()Result<void>Use Case: अपडेट पैकेज का पंजीकरणSOVD: Register UpdateRequestUpdatePackageRegistration(metaInfo, expectedSize, cancellationHandler)Future<tuple<DataTransferWriteSession, updatePackageId>>SOVD Response (Session & Package-ID)Use Case: तैयारी और संस्थापनSOVD: Prepare InstallationPrepareUpdatePackage(updatePackageId, metaInfo, cancellationHandler)Future<void>SOVD ResponseSOVD: Execute InstallationExecuteUpdatePackage(updatePackageId, metaInfo, cancellationHandler)Future<void>SOVD Response

अनुक्रम आरेख: SOVD के माध्यम से पैकेज पंजीकरण और इंस्टॉलेशन की विशिष्ट प्रक्रिया। स्रोत: [SWS_DM_01799], [SWS_DM_01800], [SWS_DM_01801], [SWS_DM_01919], [SWS_DM_01920], [SWS_DM_01923], [SWS_DM_01924]

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

Offer() के माध्यम से सेवाओं की पेशकश करते समय, रिटर्न प्रकार ara::core::Result<void> में विशिष्ट त्रुटियां हो सकती हैं: DiagOfferErrc::kAlreadyOffered, यदि इंस्टेंस पहले से ही पेश किया जा चुका है, साथ ही DiagOfferErrc::kConfigurationMismatch, यदि कॉन्फ़िगरेशन डायग्नोस्टिक एक्सट्रैक्ट (DEXT) से मेल नहीं खाता है [SWS_DM_01924]।

यदि कंस्ट्रक्टर को किसी त्रुटिपूर्ण मॉडल स्थिति के साथ कॉल किया जाता है, तो आर्किटेक्चर उल्लंघनों की सूचना दी जाती है, जिसमें InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation या InstanceSpecifierAlreadyInUseViolation शामिल हैं [SWS_DM_01910]।

सभी कार्यात्मक अपडेट ऑपरेशन एक ara::core::Future लौटाते हैं, जो त्रुटि की स्थिति में ASAM SOVD 1.1 या ISO 17978-3 के अनुसार त्रुटि कोड स्थानांतरित करता है [SWS_DM_01917], [SWS_DM_01919], [SWS_DM_01920], [SWS_DM_01923]। इसके अतिरिक्त, सभी अतुल्यकालिक विधियां एक CancellationHandler प्राप्त करती हैं, जिसके माध्यम से चल रहे डायग्नोस्टिक कनेक्शन के समयपूर्व निरस्तीकरण का संकेत दिया जाता है [SWS_DM_01916], [SWS_DM_01919], [SWS_DM_01923]।

यह मार्गदर्शिका AUTOSAR Adaptive R25-11 विनिर्देश पर आधारित है और स्वचालित रूप से बनाई गई थी।

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

क्लास आरेख

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

G nara__diag__SovdSwUpdate737 SovdSwUpdate + ~SovdSwUpdate() + SovdSwUpdate() + DeleteUpdatePackage() + ExecuteUpdatePackage() + GetAllUpdates() + GetUpdatePackageDetails() + GetUpdatePackageStatus() + Offer() + PrepareUpdatePackage() + PutUpdatePackageAutomated() + RequestUpdatePackageRegistration() + StopOffer() + operator=()

विवरण दृश्य

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

कंस्ट्रक्टर और डिस्ट्रक्टर

SovdSwUpdate फ़ंक्शन 3

Constructor for SovdSwUpdate.

ओवरलोड SovdSwUpdate 3
SovdSwUpdate (ara::core::InstanceSpecifier const &instanceSpecifier, ConcurrencyType concurrencyType) noexcept; SWS_DM_01910
SovdSwUpdate (SovdSwUpdate const &)=delete; SWS_DM_01912
SovdSwUpdate (SovdSwUpdate &&other) noexcept; SWS_DM_01913
~SovdSwUpdate फ़ंक्शन

Destructor of class SovdSwUpdate.

virtual ~SovdSwUpdate () noexcept;

मेथड

DeleteUpdatePackage फ़ंक्शन

Called for SOVD method "Delete Update Package from an SOVD Server".

virtual ara::core::Future< void > DeleteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
ExecuteUpdatePackage फ़ंक्शन

Called for SOVD method "Execute Installation of an Update".

virtual ara::core::Future< void > ExecuteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
GetAllUpdates फ़ंक्शन

Called for SOVD method "Retrieve List of All Updates".

virtual ara::core::Future< ara::core::Vector< ara::core::String > > GetAllUpdates (ara::core::String targetVersion, ara::core::String origin, MetaInfo const &metaInfo, CancellationHandler cancellation Handler) noexcept=0;
GetUpdatePackageDetails फ़ंक्शन

Called for SOVD method "Get Details of Update".

virtual ara::core::Future< UpdatePackageDetails > GetUpdatePackage Details (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
GetUpdatePackageStatus फ़ंक्शन

Called for SOVD method "Get Status of an Update".

virtual ara::core::Future< UpdatePackageStatus > GetUpdatePackage Status (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
Offer फ़ंक्शन

This Offer will enable the DM to forward request messages to this handler.

ara::core::Result< void > Offer () noexcept;
PrepareUpdatePackage फ़ंक्शन

Called for SOVD method "Prepare Installation of an Update".

virtual ara::core::Future< void > PrepareUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
PutUpdatePackageAutomated फ़ंक्शन

Called for SOVD method "Automated Installation of an Update".

virtual ara::core::Future< void > PutUpdatePackageAutomated (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
RequestUpdatePackageRegistration फ़ंक्शन

Called for SOVD method "Register an Update at the SOVD Server".

virtual ara::core::Future< std::tuple< DataTransferWriteSession, ara::core::String > > RequestUpdatePackageRegistration (MetaInfo const &metaInfo, ara::core::Optional< uint64_t > expectedSize, Cancellation Handler cancellationHandler) noexcept=0;
StopOffer फ़ंक्शन

This StopOffer will disable the forwarding of request messages from DM.

void StopOffer () const noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

SovdSwUpdate shall be a single not assignable instance.

ओवरलोड = 2
SovdSwUpdate & operator= (SovdSwUpdate const &)=delete; SWS_DM_01914
SovdSwUpdate & operator= (SovdSwUpdate &&other) & noexcept; SWS_DM_01915

नेस्टेड टाइप

SubProgress क्लास
UpdatePackageDetails क्लास
UpdatePackageStatus क्लास

मेथड का प्रलेखन

फ़ंक्शन DeleteUpdatePackage [SWS_DM_01922] Upstream: RS_Diag_04265

virtual ara::core::Future< void > DeleteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Delete Update Package from an SOVD Server".

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 8b58fd563e10 उद्गम
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::SovdSwUpdate के प्योर वर्चुअल फ़ंक्शन DeleteUpdatePackage को [SWS_DM_01803] के अनुसार Diagnostic Server के इंस्टेंस द्वारा कॉल किया जाता है, जब SOVD मेथड “Delete Update Package from an SOVD Server” को निष्पादित किया जाना हो ([SWS_DM_01922])। यह अपडेट पैकेज को सर्वर-साइड हटाने की प्रक्रिया शुरू करता है।

कॉल एसिंक्रोनस रूप से होता है और एक ara::core::Future<void> लौटाता है, जो सफल समापन को इंगित करता है या एक त्रुटि ऑब्जेक्ट प्रदान करता है [SWS_DM_01922]। हस्ताक्षर निम्नलिखित इनपुट पैरामीटर की मांग करता है:

  • updatePackageId: ara::core::String के रूप में हटाए जाने वाले अपडेट पैकेज की विशिष्ट ID को नामित करता है।
  • metaInfo: MetaInfo const& के रूप में अनुरोध की अतिरिक्त संदर्भ जानकारी पास करता है।
  • cancellationHandler: प्रकार CancellationHandler का एक ऑब्जेक्ट प्रेषित करता है, जो सूचित करता है कि क्या वर्तमान बातचीत निरस्त हो गई है।

यदि प्रसंस्करण के दौरान कोई त्रुटि होती है, तो Future को संबंधित SOVD त्रुटि सौंपी जाती है। विनिर्देश इसके लिए ASAM SOVD 1.1 या ISO 17978-3 से उपयुक्त त्रुटि कोड के उपयोग का आदेश देता है [SWS_DM_01922]।

समवर्तीता के संबंध में, मेथड को सशर्त रूप से थ्रेड-सुरक्षित के रूप में परिभाषित किया गया है: कार्यान्वयन को थ्रेड-सुरक्षित या गैर-थ्रेड-सुरक्षित रूप से निष्पादित किया जाना चाहिए या नहीं, यह कंस्ट्रक्टर में पास किए गए ConcurrencyType द्वारा निर्धारित किया जाता है [SWS_DM_01922]। इसके अलावा, फ़ंक्शन को noexcept और अपवाद-सुरक्षित घोषित किया गया है, जिसके कारण कोई भी अपवाद बाहर नहीं निकलना चाहिए।

यह उपयोग नोट AUTOSAR Adaptive R25-11 विनिर्देश पर आधारित है और एक AI द्वारा उत्पन्न किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id to be deleted
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive results or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01922
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01922@rel:R25-11#577dad2c
Content hash
577dad2c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01922
Status: valid/unmigrated Version: rel:R25-11#3e5d5362 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_01922@rel:R25-11#3e5d5362
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6203bff42026-09-30
  • R23-11rel:R23-11#af1834882026-10-14
  • R24-11rel:R24-11#113a04fa2026-10-14
  • R25-11rel:R25-11#3e5d53622026-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

फ़ंक्शन ExecuteUpdatePackage [SWS_DM_01920] Upstream: RS_Diag_04265

virtual ara::core::Future< void > ExecuteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Execute Installation of an Update".

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: df9b45c15e08 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

इंटरफ़ेस ara::diag::SovdSwUpdate की pure-virtual-मेथड ExecuteUpdatePackage SOVD मेथड “Execute Installation of an Update” के निष्पादन के लिए कार्य करती है [SWS_DM_01920]। घोषणा हेडर ara/diag/sovd_sw_update.h में पाई जाती है AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.2 “ExecuteUpdatePackage”। इनपुट पैरामीटर के रूप में अपडेट पैकेज का पहचानकर्ता (updatePackageId) और साथ ही अनुरोध डेटा (metaInfo) पास किए जाते हैं [SWS_DM_01920]। इसके अतिरिक्त ऑब्जेक्ट cancellationHandler सूचित करता है कि क्या चल रही बातचीत निरस्त हो गई है [SWS_DM_01920]। कॉल एसिंक्रोनस रूप से होता है और एक ara::core::Future<void> लौटाता है, जो एक सकारात्मक परिणाम प्रदान करता है या एक SOVD त्रुटि की रिपोर्ट करता है [SWS_DM_01920]।

त्रुटि प्रबंधन

इंटरफ़ेस को noexcept और अपवाद-सुरक्षित (“exception safe”) के रूप में निर्दिष्ट किया गया है [SWS_DM_01920]। निष्पादन के दौरान त्रुटियों को इसलिए C++ अपवादों के माध्यम से नहीं फेंका जाना चाहिए, बल्कि ASAM SOVD 1.1 या ISO 17978-3 से लागू त्रुटि कोड के साथ ara::core::Future के माध्यम से एसिंक्रोनस रूप से लौटाया जाना चाहिए [SWS_DM_01920]।

समवर्तीता और सीमांत शर्तें

थ्रेड-सुरक्षा के संबंध में एक सशर्त आवश्यकता (“conditional”) है: फ़ंक्शन को थ्रेड-सुरक्षित या गैर-थ्रेड-सुरक्षित रूप से कार्यान्वित किया जाना चाहिए या नहीं, यह पैरामीटर ConcurrencyType द्वारा निर्धारित होता है जो कंस्ट्रक्टर को पास किया गया था [SWS_DM_01920]। बातचीत के निरस्त होने पर पैकेज इंस्टॉलेशन को व्यवस्थित रूप से समाप्त करने के लिए कार्यान्वयन को cancellationHandler का मूल्यांकन करना चाहिए [SWS_DM_01920]। प्रश्न Q-8fe6950e8f5a168c (खुला)

यह पाठ AI द्वारा जनरेट किया गया था और यह केवल मार्गदर्शन के रूप में कार्य करता है। केवल आधिकारिक AUTOSAR विनिर्देश ही बाध्यकारी हैं।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of the update to be executed
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive results or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01920
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01920@rel:R25-11#3993b996
Content hash
3993b996
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01920
Status: valid/unmigrated Version: rel:R25-11#250ba828 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_01920@rel:R25-11#250ba828
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#da8394102026-09-30
  • R23-11rel:R23-11#c3f2b7802026-10-14
  • R24-11rel:R24-11#f4456b492026-10-14
  • R25-11rel:R25-11#250ba8282026-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

फ़ंक्शन GetAllUpdates [SWS_DM_01916] Upstream: RS_Diag_04265

virtual ara::core::Future< ara::core::Vector< ara::core::String > > GetAllUpdates (ara::core::String targetVersion, ara::core::String origin, MetaInfo const &metaInfo, CancellationHandler cancellation Handler) noexcept=0;

Called for SOVD method "Retrieve List of All Updates".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
targetVersionOptional parameter to be used if the target-version query parameter is used in the request. If the parameter is not set the String shall be left empty. set in the request the String shall be left empty
originOptional parameter to be used if the origin query parameter is used in the request. If the parameter is not set the String shall be left empty
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<ara::core::Vector<ara::core::String > >A future with a span of all update package ids. The span shall not be modified until the releaseHandler is called.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_DM_01916
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01916@rel:R25-11#33783732
Content hash
33783732
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01916
Status: valid/unmigrated Version: rel:R25-11#fa31eee5 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_01916@rel:R25-11#fa31eee5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cfb37af32026-09-30
  • R23-11rel:R23-11#1313500b2026-10-14
  • R24-11rel:R24-11#2fff52ce2026-10-14
  • R25-11rel:R25-11#fa31eee52026-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

फ़ंक्शन GetUpdatePackageDetails [SWS_DM_01917] Upstream: RS_Diag_04265

virtual ara::core::Future< UpdatePackageDetails > GetUpdatePackage Details (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Get Details of Update".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of the update to be read
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<UpdatePackageDetails >A future with the details of the requested update package or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01917
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01917@rel:R25-11#4a1aa28e
Content hash
4a1aa28e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01917
Status: valid/unmigrated Version: rel:R25-11#08879f75 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_01917@rel:R25-11#08879f75
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5194b7fa2026-09-30
  • R23-11rel:R23-11#bed00f3c2026-10-14
  • R24-11rel:R24-11#71be4b722026-10-14
  • R25-11rel:R25-11#08879f752026-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

फ़ंक्शन GetUpdatePackageStatus [SWS_DM_01921] Upstream: RS_Diag_04265

virtual ara::core::Future< UpdatePackageStatus > GetUpdatePackage Status (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Get Status of an Update".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of which the status shall be read
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<UpdatePackageStatus >A future with either the current UpdatePackageStatus or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01921
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01921@rel:R25-11#d81709cf
Content hash
d81709cf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01921
Status: valid/unmigrated Version: rel:R25-11#a8720fc8 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_01921@rel:R25-11#a8720fc8
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6c5291e82026-09-30
  • R23-11rel:R23-11#6a27c4202026-10-14
  • R24-11rel:R24-11#f41bfa0b2026-10-14
  • R25-11rel:R25-11#a8720fc82026-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

फ़ंक्शन Offer [SWS_DM_01924] Upstream: RS_Diag_04265

ara::core::Result< void > Offer () noexcept;

This Offer will enable the DM to forward request messages to this handler.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 5d09bdcb924c उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

एलिमेंट फ़ंक्शन ara::diag::SovdSwUpdate::Offer हैंडलर को आने वाले अनुरोध संदेशों को अग्रेषित करने में सक्षम बनाने के लिए SOVD सॉफ़्टवेयर अपडेट के हैंडलर को Diagnostic Management (DM) के पास पंजीकृत करता है [SWS_DM_01924]। कॉल हेडर ara/diag/sovd_sw_update.h के माध्यम से सिंक्रोनस और पैरामीटर-रहित रूप से किया जाता है तथा noexcept के अनुसार कोई C++ अपवाद ट्रिगर नहीं करता है [SWS_DM_01924]।

ऑपरेशन का परिणाम ara::core::Result<void> के रूप में लौटाया जाता है [SWS_DM_01924]। यदि प्रावधान विफल हो जाता है, तो फ़ंक्शन रोलबैक सिमेंटिक्स के साथ एक त्रुटि देता है [SWS_DM_01924]:

  • DiagOfferErrc::kAlreadyOffered: यह सेवा इस हैंडलर के लिए पहले ही सफलतापूर्वक प्रस्तुत (offered) की जा चुकी है [SWS_DM_01924]।
  • DiagOfferErrc::kConfigurationMismatch: मॉनिटर कॉन्फ़िगरेशन DEXT कॉन्फ़िगरेशन से मेल नहीं खाता है [SWS_DM_01924]।

समवर्तीता (concurrency) के संबंध में, मेथड को exception safe, लेकिन स्पष्ट रूप से थ्रेड-सुरक्षित नहीं (not thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_01924]। व्याख्या: एकाधिक थ्रेड्स से एक्सेस के दौरान संभवतः एक बाहरी, एप्लिकेशन-स्तरीय सिंक्रोनाइज़ेशन आवश्यक हो सकता है। प्रश्न Q-4636ad27701d59df (खुला) Offer के माध्यम से प्रावधान का सिद्धांत [SWS_DM_00557] या [SWS_DM_00735] जैसे डायग्नोस्टिक हैंडलर के लिए सामान्य स्कीमा से मेल खाता है, जिसमें DM केवल तभी अनुरोधों को अग्रेषित कर सकता है जब संबंधित इंटरफ़ेस सक्रिय रूप से प्रस्तुत किया गया हो [SWS_DM_01525]।

यह उपयोग नोट AUTOSAR Adaptive R25-11 के विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kConfigurationMismatchrollback_semantics monitor configuration does not match DEXT
DiagOfferErrc::kAlreadyOfferedrollback_semantics The service is already offered.

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

Record
AUTOSAR/AP/record/SWS_DM_01924
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01924@rel:R25-11#5b52208b
Content hash
5b52208b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01924
Status: valid/unmigrated Version: rel:R25-11#1b6fc58c 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_01924@rel:R25-11#1b6fc58c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#4434cb652026-09-30
  • R23-11rel:R23-11#032ce7bb2026-10-14
  • R24-11rel:R24-11#438685592026-10-14
  • R25-11rel:R25-11#1b6fc58c2026-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

फ़ंक्शन PrepareUpdatePackage [SWS_DM_01919] Upstream: RS_Diag_04265

virtual ara::core::Future< void > PrepareUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Prepare Installation of an Update".

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 90a902e7c6d4 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

इंटरफ़ेस ara::diag::SovdSwUpdate की प्योर वर्चुअल मेथड PrepareUpdatePackage [SWS_DM_01919] (AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.7 “PrepareUpdatePackage”) के अनुसार SOVD मेथड “Prepare Installation of an Update” के हिस्से के रूप में एक सॉफ़्टवेयर अपडेट पैकेज की स्थापना तैयार करने का काम करती है।

कॉल और पैरामीटर

फ़ंक्शन हेडर ara/diag/sovd_sw_update.h के माध्यम से प्रदान किया जाता है और निम्नलिखित पैरामीटर स्वीकार करता है:

  • updatePackageId: तैयार किए जाने वाले अपडेट पैकेज का पहचानकर्ता (ara::core::String)।
  • metaInfo: इनकमिंग SOVD अनुरोध के लिए मेटाडेटा (MetaInfo const&)।
  • cancellationHandler: निगरानी ऑब्जेक्ट (CancellationHandler), जो वर्तमान बातचीत के निरस्तीकरण के बारे में सूचित करता है।

कॉल को noexcept के रूप में निर्दिष्ट किया गया है और यह exception-safe व्यवहार करता है। एसिंक्रोनस परिणाम एक ara::core::Future<void> के माध्यम से प्रदान किया जाता है, जो या तो सफल समाप्ति का संकेत देता है या एक त्रुटि प्रदान करता है [SWS_DM_01919]।

त्रुटि हैंडलिंग और समवर्तीता

यदि तैयारी के दौरान कोई त्रुटि होती है, तो Future में ASAM SOVD 1.1 या ISO 17978-3 के अनुसार एक उपयुक्त त्रुटि कोड लौटाया जाना चाहिए [SWS_DM_01919]। थ्रेड-सुरक्षा के संबंध में एक सशर्त आवश्यकता लागू होती है (conditional): फ़ंक्शन को थ्रेड-सुरक्षित रूप से कार्यान्वित किया जाना चाहिए या नहीं, यह इंस्टेंसिएशन के समय कंस्ट्रक्टर में निर्दिष्ट ConcurrencyType द्वारा निर्धारित होता है [SWS_DM_01919]। ऑब्जेक्ट cancellationHandler के माध्यम से, एप्लिकेशन लंबी तैयारी के चरणों को निरस्त करने में सक्षम होना चाहिए यदि अनुरोध समय से पहले समाप्त हो जाता है। प्रश्न Q-be4c53d9a0427ed5 (खुला)

यह पाठ AUTOSAR विनिर्देश के आधार पर एक AI द्वारा तैयार किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of the update to be prepared
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive result or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01919
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01919@rel:R25-11#d63b25ed
Content hash
d63b25ed
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01919
Status: valid/unmigrated Version: rel:R25-11#7bdc8dcb 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_01919@rel:R25-11#7bdc8dcb
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#d529788a2026-09-30
  • R23-11rel:R23-11#cb96813b2026-10-14
  • R24-11rel:R24-11#124b85892026-10-14
  • R25-11rel:R25-11#7bdc8dcb2026-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

फ़ंक्शन PutUpdatePackageAutomated [SWS_DM_01918] Upstream: RS_Diag_04265

virtual ara::core::Future< void > PutUpdatePackageAutomated (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Automated Installation of an Update".

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: a14ff9457ed9 उद्गम
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

प्योर वर्चुअल मेथड PutUpdatePackageAutomated को SOVD मेथड “Automated Installation of an Update” के संदर्भ में कॉल किया जाता है [SWS_DM_01918]। यह क्लास ara::diag::SovdSwUpdate के भीतर हेडर ara/diag/sovd_sw_update.h में घोषित है AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.8 “PutUpdatePackageAutomated”। यह फ़ंक्शन अपने पहचानकर्ता द्वारा निर्दिष्ट अपडेट पैकेज को स्वचालित रूप से स्थापित करने का काम करता है।

इंटरफ़ेस निम्नलिखित इनपुट पैरामीटर की अपेक्षा करता है:

  • updatePackageId (ara::core::String): अपडेट पैकेज का पहचानकर्ता जिसे स्वचालित इंस्टॉलेशन को सौंपा जाना है [SWS_DM_01918]।
  • metaInfo (MetaInfo const &): इनकमिंग सेवा अनुरोध की मेटा-जानकारी [SWS_DM_01918]।
  • cancellationHandler (CancellationHandler): ऑपरेशन को सूचित करता है कि क्या चल रही बातचीत निरस्त हो गई है [SWS_DM_01918]।

कॉल में एसिंक्रोनस सेमांटिक्स है। रिटर्न मान के रूप में एक ara::core::Future<void> कार्य करता है, जो पूरा होने के बाद या तो सफल निष्पादन को इंगित करता है या एक त्रुटि स्थिति रखता है [SWS_DM_01918]।

त्रुटि हैंडलिंग और समवर्तीता

त्रुटि की स्थिति में, फ्यूचर के माध्यम से ASAM SOVD 1.1 या ISO 17978-3 से एक लागू त्रुटि कोड लौटाया जाना चाहिए [SWS_DM_01918]। मेथड को अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है और एक noexcept-फ़ंक्शन के रूप में यह कोई C++ अपवाद नहीं फेंकता है AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.8 “PutUpdatePackageAutomated”।

मेथड की थ्रेड-सुरक्षा सशर्त है (conditional): कार्यान्वयन को थ्रेड-सुरक्षित या गैर-थ्रेड-सुरक्षित निष्पादित किया जाना चाहिए या नहीं, यह कंस्ट्रक्टर कॉल में पास किए गए ConcurrencyType द्वारा निर्धारित होता है [SWS_DM_01918]।

यह उपयोग नोट रिलीज़ R25-11 के लिए AUTOSAR विनिर्देश के आधार पर स्वचालित रूप से तैयार किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of the update to be put to automated
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive result or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01918
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01918@rel:R25-11#cc7b2c7a
Content hash
cc7b2c7a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01918
Status: valid/unmigrated Version: rel:R25-11#befb20e2 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_01918@rel:R25-11#befb20e2
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cde948f42026-09-30
  • R23-11rel:R23-11#97eae9312026-10-14
  • R24-11rel:R24-11#0f5da9f52026-10-14
  • R25-11rel:R25-11#befb20e22026-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

फ़ंक्शन RequestUpdatePackageRegistration [SWS_DM_01923] Upstream: RS_Diag_04265

virtual ara::core::Future< std::tuple< DataTransferWriteSession, ara::core::String > > RequestUpdatePackageRegistration (MetaInfo const &metaInfo, ara::core::Optional< uint64_t > expectedSize, Cancellation Handler cancellationHandler) noexcept=0;

Called for SOVD method "Register an Update at the SOVD Server".

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: bf978796d20b उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::SovdSwUpdate का प्योर वर्चुअल फ़ंक्शन RequestUpdatePackageRegistration SOVD मेथड “Register an Update at the SOVD Server” की सेवा करता है [SWS_DM_01923]। यह सर्वर पर एक अपडेट पैकेज के पंजीकरण की शुरुआत करता है और संबंधित ट्रांसमिशन सत्र को आरंभ करता है AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.9 “RequestUpdatePackageRegistration”।

कॉल एसिंक्रोनस रूप से होता है और एक ara::core::Future लौटाता है, जिसमें सफलता की स्थिति में एक DataTransferWriteSession और अपडेट पैकेज ID वाली एक ara::core::String शामिल टपल होती है [SWS_DM_01923]। कॉल किए जाने पर निम्नलिखित पैरामीटर पास किए जाते हैं:

  • metaInfo: इनकमिंग अनुरोध की मेटा-जानकारी।
  • expectedSize: पैकेज का वैकल्पिक अपेक्षित कुल आकार (ara::core::Optional<uint64_t>), यदि अनुरोध में घोषित किया गया हो।
  • cancellationHandler: संकेत देता है यदि वर्तमान बातचीत निरस्त हो जाती है।

मेथड को noexcept के रूप में परिभाषित किया गया है और यह अपवाद-सुरक्षित है [SWS_DM_01923]। इसलिए त्रुटियों को C++ अपवादों के माध्यम से रिपोर्ट नहीं किया जाता है, बल्कि फ्यूचर के माध्यम से एसिंक्रोनस रूप से प्रदान किया जाता है; इसके लिए ASAM SOVD 1.1 या ISO 17978-3 से संबंधित त्रुटि कोड का उपयोग किया जाना चाहिए [SWS_DM_01923]।

थ्रेड-सुरक्षा सशर्त (“conditional”) है: क्या मेथड को थ्रेड-सुरक्षित रूप से कार्यान्वित किया जाना चाहिए, यह कंस्ट्रक्टर में निर्दिष्ट ConcurrencyType के माध्यम से निर्धारित होता है [SWS_DM_01923]। इसलिए ठोस कार्यान्वयन के लिए संभवतः इंस्टैंशिएशन के आधार पर अपने स्वयं के सिंक्रोनाइज़ेशन तंत्रों की आवश्यकता हो सकती है। प्रश्न Q-7e80e557bdd7627a (खुला)

यह पाठ एक AI द्वारा तैयार किया गया था और API तत्व के उपयोग में सहायता प्रदान करने के लिए है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
metaInfoMetaInfo of the request.
expectedSizeSpecifies the expected size if available in the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<std::tuple< DataTransferWriteSession, ara::core::String > >A future with either an instance of a "SOVD file writing session" with the corresponding update package id or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01923
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01923@rel:R25-11#57df1141
Content hash
57df1141
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01923
Status: valid/unmigrated Version: rel:R25-11#b092f8d8 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_01923@rel:R25-11#b092f8d8
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#0245e3c02026-09-30
  • R23-11rel:R23-11#c6f57bb12026-10-14
  • R24-11rel:R24-11#5e5e1b832026-10-14
  • R25-11rel:R25-11#b092f8d82026-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

फ़ंक्शन SovdSwUpdate [SWS_DM_01910] Upstream: RS_Diag_04265, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

SovdSwUpdate (ara::core::InstanceSpecifier const &instanceSpecifier, ConcurrencyType concurrencyType) noexcept;

Constructor for SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is referenced by a pingViolation DiagnosticSovdUpdatePortMapping needs to be typed by a DiagnosticSovdUpdateInterface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.

Parameter (in)

ParameterBeschreibung
instanceSpecifierInstanceSpecifier to a PortPrototype of a DiagnosticSovdUpdateInterface service instance in the manifest.
concurrencyTypeSpecifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent).

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

Record
AUTOSAR/AP/record/SWS_DM_01910
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01910@rel:R25-11#6a820a93
Content hash
6a820a93
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01910
Status: valid/unmigrated Version: rel:R25-11#39b10a70 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_01910@rel:R25-11#39b10a70
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5bc9aa6d2026-09-30
  • R23-11rel:R23-11#cb3f1d3a2026-10-14
  • R24-11rel:R24-11#71a1ee492026-10-14
  • R25-11rel:R25-11#39b10a702026-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

फ़ंक्शन SovdSwUpdate [SWS_DM_01912] Upstream: RS_Diag_04265

SovdSwUpdate (SovdSwUpdate const &)=delete;

SovdSwUpdate shall be a single not copy-able instance.

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

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

Record
AUTOSAR/AP/record/SWS_DM_01912
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01912@rel:R25-11#ea94aa64
Content hash
ea94aa64
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01912
Status: valid/unmigrated Version: rel:R25-11#a9b2eed0 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_01912@rel:R25-11#a9b2eed0
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#29457c012026-09-30
  • R23-11rel:R23-11#920c2b292026-10-14
  • R24-11rel:R24-11#a9b2eed02026-10-14
  • R25-11rel:R25-11#a9b2eed02026-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

फ़ंक्शन SovdSwUpdate [SWS_DM_01913] Upstream: RS_Diag_04265

SovdSwUpdate (SovdSwUpdate &&other) noexcept;

Move constructs an instance of SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitunsafe
Sichtbarkeitprotected

Parameter (out)

ParameterBeschreibung
otherThe other object

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

Record
AUTOSAR/AP/record/SWS_DM_01913
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01913@rel:R25-11#5d3e3ad6
Content hash
5d3e3ad6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01913
Status: valid/unmigrated Version: rel:R25-11#4c757859 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_01913@rel:R25-11#4c757859
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#662a98ac2026-09-30
  • R23-11rel:R23-11#2175e3ea2026-10-14
  • R24-11rel:R24-11#4c7578592026-10-14
  • R25-11rel:R25-11#4c7578592026-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

फ़ंक्शन StopOffer [SWS_DM_01925] Upstream: RS_Diag_04265

void StopOffer () const noexcept;

This StopOffer will disable the forwarding of request messages from DM.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: dee04ad7b94a उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

मेथड ara::diag::SovdSwUpdate::StopOffer सेवा की पेशकश को समाप्त करती है और Diagnostic Management (DM) से सॉफ़्टवेयर अपडेट घटक को आने वाले अनुरोध संदेशों के अग्रेषण को निष्क्रिय करती है [SWS_DM_01925]। कॉल ara/diag/sovd_sw_update.h के इंटरफ़ेस के माध्यम से होता है, यह पैरामीटर-रहित है और कोई रिटर्न मान नहीं देता है [SWS_DM_01925]। सेवा प्रावधान को समाप्त करना सिंक्रोनस रूप से होता है और AUTOSAR Adaptive में डायग्नोस्टिक कार्यात्मकताओं के वैचारिक निष्क्रियकरण के अनुरूप है AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”।

त्रुटि हैंडलिंग और समवर्तीता

फ़ंक्शन में विनिर्देश noexcept है और इस प्रकार यह अपवाद-सुरक्षित है; अपवादों या त्रुटि कोड के माध्यम से त्रुटि स्थितियाँ प्रदान नहीं की गई हैं [SWS_DM_01925]। कॉल संदर्भ के लिए, फ़ंक्शन को थ्रेड-सुरक्षित नहीं (“not thread-safe”) के रूप में परिभाषित किया गया है [SWS_DM_01925]। उसी इंस्टेंस पर समानांतर कॉल को एप्लिकेशन पक्ष पर सिंक्रनाइज़ किया जाना चाहिए। व्याख्या: पहले से निष्क्रिय स्थिति में StopOffer का बार-बार कॉल संभवतः त्रुटि प्रभाव के बिना रहेगा, क्योंकि कोई त्रुटि प्रबंधन मौजूद नहीं है। प्रश्न Q-efaccde5507eb444 (खुला)

इंटरैक्शन

समग्र प्रणाली में, फ़ंक्शन DM सेवा जीवनचक्र के एकीकृत स्कीमा में फिट बैठता है। यह सेवा की पेशकश का कार्यात्मक समकक्ष बनता है और अन्य डायग्नोस्टिक सेवाओं जैसे कि ara::diag::DownloadService [SWS_DM_00793], ara::diag::GenericUDSService [SWS_DM_00620] तथा ara::diag::EcuResetRequest [SWS_DM_01017] के निष्क्रियकरण ऑपरेशनों के अनुरूप व्यवहार करता है।

यह पाठ AUTOSAR R25-11 विनिर्देश के आधार पर एक AI द्वारा जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_01925
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01925@rel:R25-11#f535d1b6
Content hash
f535d1b6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01925
Status: valid/unmigrated Version: rel:R25-11#b5890de5 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_01925@rel:R25-11#b5890de5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#60438b2c2026-09-30
  • R23-11rel:R23-11#aac09bc62026-10-14
  • R24-11rel:R24-11#b5890de52026-10-14
  • R25-11rel:R25-11#b5890de52026-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

फ़ंक्शन operator= [SWS_DM_01914] Upstream: RS_Diag_04265

SovdSwUpdate & operator= (SovdSwUpdate const &)=delete;

SovdSwUpdate shall be a single not assignable instance.

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

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

Record
AUTOSAR/AP/record/SWS_DM_01914
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01914@rel:R25-11#5d689fb5
Content hash
5d689fb5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01914
Status: valid/unmigrated Version: rel:R25-11#193efe55 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_01914@rel:R25-11#193efe55
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#f93349172026-09-30
  • R23-11rel:R23-11#bd4a8b212026-10-14
  • R24-11rel:R24-11#193efe552026-10-14
  • R25-11rel:R25-11#193efe552026-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

फ़ंक्शन operator= [SWS_DM_01915] Upstream: RS_Diag_04265

SovdSwUpdate & operator= (SovdSwUpdate &&other) & noexcept;

Move assigns an instance of SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Sichtbarkeitprotected

Parameter (out)

ParameterBeschreibung
otherThe other object

Rückgabewert

TypBeschreibung
SovdSwUpdate &Reference to self

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

Record
AUTOSAR/AP/record/SWS_DM_01915
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01915@rel:R25-11#71f6c79e
Content hash
71f6c79e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01915
Status: valid/unmigrated Version: rel:R25-11#1ed1cfe6 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_01915@rel:R25-11#1ed1cfe6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#9f73c1222026-09-30
  • R23-11rel:R23-11#7eb86d6a2026-10-14
  • R24-11rel:R24-11#1ed1cfe62026-10-14
  • R25-11rel:R25-11#1ed1cfe62026-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

फ़ंक्शन ~SovdSwUpdate [SWS_DM_01911] Upstream: RS_Diag_04265

virtual ~SovdSwUpdate () noexcept;

Destructor of class SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_01911
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01911@rel:R25-11#69241938
Content hash
69241938
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01911
Status: valid/unmigrated Version: rel:R25-11#2b411c6a 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_01911@rel:R25-11#2b411c6a
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#7b4f357a2026-09-30
  • R23-11rel:R23-11#0a7ddd152026-10-14
  • R24-11rel:R24-11#5ddc97882026-10-14
  • R25-11rel:R25-11#2b411c6a2026-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