DEENESPTFRRUARHIKOZHNL

struct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor

[SWS_DM_01830] Upstream: RS_Diag_04266

struct BulkDataMetaDataDescriptor {...};

Definition of bulk data Meta Data Descriptor.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopeclass ara::diag::SovdBulkData

User GuideAI-GENERATED

Provides metadata and integrity information for diagnostic bulk data during SOVD communication.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 7c22095f2f08 Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Provides metadata and integrity information for diagnostic bulk data during SOVD communication.

The structure ara::diag::SovdBulkData::BulkDataMetaDataDescriptor serves as a data transfer object for describing bulk data for SOVD diagnostic communication in AUTOSAR Adaptive ([SWS_DM_01830]). It bundles identification, localization, and type information such as id, file_name, and mimetype as well as checksums and optional size specifications (SWS Diagnostics §8.53.2 “Struct: BulkDataMetaDataDescriptor”). The instance is populated with metadata by the providing diagnostic application and passed to the SOVD subsystem. As a passive C++ structure without internal synchronization, concurrent write accesses must be protected externally by the calling application.

Context

The data structure ara::diag::SovdBulkData::BulkDataMetaDataDescriptor is part of the module diag of the AUTOSAR Adaptive Platform and is provided via the header #include "ara/diag/sovd_bulk_data.h" ([SWS_DM_01830]). It defines the metadata descriptor for diagnostic bulk data transferred within the scope of SOVD (Service-Oriented Vehicle Diagnostics) (SWS Diagnostics §8.53.2 “Struct: BulkDataMetaDataDescriptor”). In diagnostic scenarios such as reading extensive log files, trace buffers, or update packages, diagnostic clients require structured accompanying information in addition to the binary data stream. The structure bundles this metadata for unique identification, interpretation, and integrity checking.

In the interaction between the diagnostic application, the runtime system ara::diag, and external diagnostic testers, the structure acts as a passive data transfer object (DTO). The field id specifies the unique identifier of the bulk data ([SWS_DM_01831]). For naming purposes, file_name is available for the file name ([SWS_DM_01836]), name for the logical designation ([SWS_DM_01833]), and translation_id for localization purposes ([SWS_DM_01834]). The media type is declared by mimetype ([SWS_DM_01832]). Integrity assurance is provided by hash ([SWS_DM_01839]) and hash_algorithm ([SWS_DM_01840]), while creation_date ([SWS_DM_01837]) and last_modified ([SWS_DM_01838]) define the temporal categorization (SWS Diagnostics §8.53.2.1 “Public Member Variables”).

Lifecycle

As a C++ structure, BulkDataMetaDataDescriptor features purely public attributes without proprietary business logic constructors ([SWS_DM_01830]). Interpretation: The structure is likely to be instantiated and populated primarily by the data-providing diagnostic application as a value object on the stack or heap, in order to subsequently be passed to the SOVD subsystem. Question Q-4a0434afda63d047 (open) The lifetime follows the regular rules for C++ objects; contained members of type ara::core::String as well as the optional size field ara::core::Optional<std::uint64_t> are deterministically released upon destruction of the instance ([SWS_DM_01835]).

The structure itself has no internal states or state transitions. In multithreading environments, concurrent reading of an instance is non-critical; however, write accesses to the public variables must be synchronized externally by the calling application, since no integrated protection mechanisms exist.

Usage Path

The typical call sequence for using the metadata descriptor within an SOVD bulk transfer is divided into the following steps:

  1. Instantiation: The diagnostic application creates an instance of BulkDataMetaDataDescriptor ([SWS_DM_01830]).
  2. Assign identification and naming: The bulk data object is described via id ([SWS_DM_01831]), name ([SWS_DM_01833]), and file_name ([SWS_DM_01836]). If required, translation_id is stored ([SWS_DM_01834]).
  3. Populate MIME type and timestamps: The format is specified by means of mimetype ([SWS_DM_01832]). In practice, the date specifications creation_date ([SWS_DM_01837]) and last_modified ([SWS_DM_01838]) are likely to be formatted as ISO-8601-compliant timestamp strings. Question Q-fa352dc221e9452a (open)
  4. Record check values and byte size: After payload generation, the checksum is entered in hash ([SWS_DM_01839]) and the algorithm in hash_algorithm ([SWS_DM_01840]). If the byte count is known in advance, size is populated ([SWS_DM_01835]); if the optional field remains empty, this presumably signals a file size that is still variable at the time of provision. Question Q-03f717e53701c9c0 (open)
  5. Handoff to the SOVD subsystem: The initialized descriptor is passed to ara::diag so that external SOVD clients can retrieve the metadata.
Usage sequence of BulkDataMetaDataDescriptor in the SOVD contextApplicationBulkDataMetaDataDescriptorara::diag (SOVD)SOVD-ClientUse Case: Creation and population of the metadata descriptorInstanziierungSetzen von id, name, file_name, mimetypeBerechnung & Setzen von hash, hash_algorithmSetzen von creation_date, last_modified, sizeUse Case: Registration in the SOVD subsystemPass descriptorConfirmationUse Case: Abfrage durch externen Diagnose-ClientMetadaten anfordern (SOVD)Return descriptor metadata

Sequence diagram: Typical sequence of creation, population, and provision of BulkDataMetaDataDescriptor in the SOVD diagnostics context. Sources: SWS Diagnostics §8.53.2 “Struct: BulkDataMetaDataDescriptor”, [SWS_DM_01830].

Error Scenarios

Since BulkDataMetaDataDescriptor is a passive data structure, no error codes are returned directly by the structure. Errors manifest during subsequent processing by ara::diag or the client:

  • Checksum discrepancy: If the hash specified in hash ([SWS_DM_01839]) does not match the actual content or if hash_algorithm ([SWS_DM_01840]) is unknown, verification at the client fails.
  • Deviating byte size: If the optional field size ([SWS_DM_01835]) is set and differs from the number of bytes actually received, the receiver reports a transmission error.
  • Invalid media type: An erroneous or empty mimetype ([SWS_DM_01832]) leads to interpretation errors in the client tool.
  • Missing mandatory identification: If id ([SWS_DM_01831]) or file_name ([SWS_DM_01836]) are not populated, the data record cannot be uniquely addressed within the SOVD framework.

This guide is based on the AUTOSAR Adaptive Platform Release R25-11 specification and was generated automatically.

Member map

Class diagram

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

G nara__diag__SovdBulkData__BulkDataMetaDataDescriptor441 «struct» BulkDataMetaDataDescriptor + creation_date + file_name + hash + hash_algorithm + id + last_modified + mimetype + name … 2 weitere

Detail view

Select an entry in the outline.

Constants

creation_date variable

Specifies the bulk data creation_date.

ara::core::String creation_date;
file_name variable

Specifies the filename.

hash variable

Specifies the bulk data hash.

Specifies the bulk data hash_algorithm.

ara::core::String hash_algorithm;
id variable

Specifies the bulk data id.

last_modified variable

Specifies the bulk data last_modified.

ara::core::String last_modified;
mimetype variable

Specifies the bulk data mimetype.

name variable

Specifies the bulk data name.

size variable

Specifies the bulk data size in Byte.

Specifies the bulk data translation_id.

ara::core::String translation_id;

Documentation of constants / variables

variable creation_date [SWS_DM_01837] Upstream: RS_Diag_04266

ara::core::String creation_date;

Specifies the bulk data creation_date.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbolcreation_date
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01837
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01837@rel:R25-11#ddc10bf0
Content hash
ddc10bf0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01837
Status: valid/unmigrated Version: rel:R25-11#fe9a952c 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_01837@rel:R25-11#fe9a952c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#ddc10bf02026-09-30
  • R23-11rel:R23-11#fe9a952c2026-10-14
  • R24-11rel:R24-11#fe9a952c2026-10-14
  • R25-11rel:R25-11#fe9a952c2026-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 file_name [SWS_DM_01836] Upstream: RS_Diag_04266

ara::core::String file_name;

Specifies the filename.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbolfile_name
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01836
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01836@rel:R25-11#a0303a3c
Content hash
a0303a3c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01836
Status: valid/unmigrated Version: rel:R25-11#107d83ae 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_01836@rel:R25-11#107d83ae
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#a0303a3c2026-09-30
  • R23-11rel:R23-11#107d83ae2026-10-14
  • R24-11rel:R24-11#107d83ae2026-10-14
  • R25-11rel:R25-11#107d83ae2026-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 hash [SWS_DM_01839] Upstream: RS_Diag_04266

ara::core::String hash;

Specifies the bulk data hash.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbolhash
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01839
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01839@rel:R25-11#a4c638e6
Content hash
a4c638e6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01839
Status: valid/unmigrated Version: rel:R25-11#50072dc6 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_01839@rel:R25-11#50072dc6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#a4c638e62026-09-30
  • R23-11rel:R23-11#50072dc62026-10-14
  • R24-11rel:R24-11#50072dc62026-10-14
  • R25-11rel:R25-11#50072dc62026-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 hash_algorithm [SWS_DM_01840] Upstream: RS_Diag_04266

ara::core::String hash_algorithm;

Specifies the bulk data hash_algorithm.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbolhash_algorithm
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01840
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01840@rel:R25-11#9d8542fe
Content hash
9d8542fe
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01840
Status: valid/unmigrated Version: rel:R25-11#07f9e3c6 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_01840@rel:R25-11#07f9e3c6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#9d8542fe2026-09-30
  • R23-11rel:R23-11#57d5bb732026-10-14
  • R24-11rel:R24-11#07f9e3c62026-10-14
  • R25-11rel:R25-11#07f9e3c62026-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 id [SWS_DM_01831] Upstream: RS_Diag_04266

ara::core::String id;

Specifies the bulk data id.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbolid
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01831
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01831@rel:R25-11#21916d5c
Content hash
21916d5c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01831
Status: valid/unmigrated Version: rel:R25-11#2b83fa43 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_01831@rel:R25-11#2b83fa43
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#21916d5c2026-09-30
  • R23-11rel:R23-11#2b83fa432026-10-14
  • R24-11rel:R24-11#2b83fa432026-10-14
  • R25-11rel:R25-11#2b83fa432026-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 last_modified [SWS_DM_01838] Upstream: RS_Diag_04266

ara::core::String last_modified;

Specifies the bulk data last_modified.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbollast_modified
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01838
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01838@rel:R25-11#76b51c77
Content hash
76b51c77
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01838
Status: valid/unmigrated Version: rel:R25-11#b9d12c4f 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_01838@rel:R25-11#b9d12c4f
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#76b51c772026-09-30
  • R23-11rel:R23-11#b9d12c4f2026-10-14
  • R24-11rel:R24-11#b9d12c4f2026-10-14
  • R25-11rel:R25-11#b9d12c4f2026-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 mimetype [SWS_DM_01832] Upstream: RS_Diag_04266

ara::core::String mimetype;

Specifies the bulk data mimetype.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbolmimetype
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01832
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01832@rel:R25-11#d2996946
Content hash
d2996946
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01832
Status: valid/unmigrated Version: rel:R25-11#e4287897 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_01832@rel:R25-11#e4287897
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#d29969462026-09-30
  • R23-11rel:R23-11#e42878972026-10-14
  • R24-11rel:R24-11#e42878972026-10-14
  • R25-11rel:R25-11#e42878972026-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 name [SWS_DM_01833] Upstream: RS_Diag_04266

ara::core::String name;

Specifies the bulk data name.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbolname
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01833
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01833@rel:R25-11#45585149
Content hash
45585149
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01833
Status: valid/unmigrated Version: rel:R25-11#d70aea98 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_01833@rel:R25-11#d70aea98
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#455851492026-09-30
  • R23-11rel:R23-11#bebe3d4c2026-10-14
  • R24-11rel:R24-11#d70aea982026-10-14
  • R25-11rel:R25-11#d70aea982026-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 size [SWS_DM_01835] Upstream: RS_Diag_04266

ara::core::Optional<std::uint64_t> size;

Specifies the bulk data size in Byte.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symbolsize
Typara::core::Optional< std::uint64_t >

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

Record
AUTOSAR/AP/record/SWS_DM_01835
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01835@rel:R25-11#72475b62
Content hash
72475b62
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01835
Status: valid/unmigrated Version: rel:R25-11#e28cf75f 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_01835@rel:R25-11#e28cf75f
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#72475b622026-09-30
  • R23-11rel:R23-11#e28cf75f2026-10-14
  • R24-11rel:R24-11#e28cf75f2026-10-14
  • R25-11rel:R25-11#e28cf75f2026-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 translation_id [SWS_DM_01834] Upstream: RS_Diag_04266

ara::core::String translation_id;

Specifies the bulk data translation_id.

Header-Datei#include "ara/diag/sovd_bulk_data.h"
Scopestruct ara::diag::SovdBulkData::BulkDataMetaDataDescriptor
Symboltranslation_id
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01834
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01834@rel:R25-11#5e3aa2d8
Content hash
5e3aa2d8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01834
Status: valid/unmigrated Version: rel:R25-11#613e06f5 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_01834@rel:R25-11#613e06f5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5e3aa2d82026-09-30
  • R23-11rel:R23-11#613e06f52026-10-14
  • R24-11rel:R24-11#613e06f52026-10-14
  • R25-11rel:R25-11#613e06f52026-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