DEENESPTFRRUARHIKOZHNL

구조체 ara::diag::DataIdentifierConcurrencyType

[SWS_DM_00936] Upstream: RS_Diag_04166

struct DataIdentifierConcurrencyType {...};

Specifies the Concurrency type of a DataIdentifier related port.

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

사용자 가이드AI 생성

데이터 식별자 포트에서 읽기 및 쓰기 액세스에 허용되는 동시성을 구성합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: ec523fe189be 출처 열린 질문 (3)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

데이터 식별자 포트에서 읽기 및 쓰기 액세스에 허용되는 동시성을 구성합니다.

구조체 ara::diag::DataIdentifierConcurrencyType은(는) 데이터 식별자(Data Identifier)와 연결된 진단 포트에 허용되는 동시성 동작을 지정합니다 [SWS_DM_00936]. 애플리케이션은 멤버 변수 read, write 및 readWrite을(를) 통해 Diagnostic Management(DM)가 읽기 및 쓰기 호출을 어느 정도까지 병렬로 실행할 수 있는지를 정의합니다. 중요한 경계 조건으로서, 모든 필드는 기본적으로 ConcurrencyType::kNotConcurrent(으)로 방어적으로 사전 초기화되어 있으므로, kConcurrent(으)로 명시적으로 설정해야만 비로소 동시 실행이 활성화됩니다 [SWS_DM_00939].

컨텍스트

C++ 구조체 ara::diag::DataIdentifierConcurrencyType은(는) AUTOSAR Adaptive Platform에서 진단 데이터 식별자(Data Identifier, DID)와 연결된 포트의 동시성 동작을 지정하는 데 사용됩니다 [SWS_DM_00936]. 이는 애플리케이션 소프트웨어가 진단 런타임 시스템에 대해 병렬 처리 기능을 선언하는 표준화된 구성 데이터 타입 역할을 합니다(AUTOSAR_AP_SWS_Diagnostics §8.8.2 “Struct: DataIdentifierConcurrencyType”). 이 구조체는 모듈 diag의 인터페이스 정의의 일부입니다(AUTOSAR_AP_SWS_Diagnostics 79쪽).

주요 상호작용 파트너는 Diagnostic Management(DM)입니다. 들어오는 진단 요청은 DM에 의해 수신되어 DataIdentifier 포트의 해당 메서드로 전달됩니다. DataIdentifierConcurrencyType에 저장된 값을 기반으로 DM은 읽기 및 쓰기 작업을 동시에 호출할 수 있는지, 아니면 순차적으로 직렬화해야 하는지 결정합니다 [SWS_DM_00939].

수명 주기

이 구조체는 헤더 파일 ara/diag/concurrency.h을(를) 통해 포함되며 순수 C++ 데이터 객체(struct)(으)로 인스턴스화됩니다 [SWS_DM_00936]. 생성 시 포함된 모든 멤버 변수는 기본값 ConcurrencyType::kNotConcurrent(으)로 방어적으로 초기화됩니다 [SWS_DM_00937]. 이를 통해 애플리케이션의 명시적인 허용 없이는 DM에 의한 병렬 호출이 발생하지 않도록 보장합니다.

구조체 구성의 수명은 일반적으로 연관된 DataIdentifier 포트의 초기화에 바인딩됩니다. 애플리케이션은 객체를 생성하고 원하는 동시성 수준을 설정한 후 구성을 포트에 전달합니다. 이후의 활성 진단 작업 중에는 설정이 변경되지 않고 유지되므로 Diagnostic Management가 메서드 호출을 결정론적으로 디스패치할 수 있습니다(AUTOSAR_AP_SWS_Diagnostics §8.8.2.1 “Public Member Variables”).

이 구조체는 동시성을 세 가지 직교하는 구성 필드로 세분화합니다:

  • read: 순수 읽기 액세스(Reads)에 대한 동시성 타입을 정의합니다 [SWS_DM_00937].
  • write: 쓰기 액세스(Writes)에 대한 동시성 타입을 정의합니다 [SWS_DM_00938].
  • readWrite: 읽기 및 쓰기 메서드의 동시 병렬 호출 시의 동작을 정의합니다 [SWS_DM_00939].

사용 경로

일반적인 사용 경로는 어댑티브 애플리케이션이 진단 서비스를 제공하는 것으로 시작됩니다. 포트의 내부 구현이 스레드 안전한 경우, 애플리케이션은 읽기 및 쓰기 액세스의 병렬 실행을 허용할 수 있습니다. 이를 위해 DataIdentifierConcurrencyType의 인스턴스를 생성하고 readWrite 필드를 ConcurrencyType::kConcurrent(으)로 설정합니다 [SWS_DM_00939]. 마찬가지로 read 및 write도 필요에 따라 구성할 수 있습니다 [SWS_DM_00937], [SWS_DM_00938].

DataIdentifier 포트가 DM에 등록되면 DM은 외부 진단 명령을 수신하여 전달합니다(AUTOSAR_AP_SWS_Diagnostics 1115쪽). kConcurrent이(가) 설정된 경우 DM은 들어오는 읽기 및 쓰기 호출을 동시에 실행할 수 있으므로 처리량과 지연 시간이 최적화됩니다 [SWS_DM_00939]. 구성이 기본값 kNotConcurrent(으)로 유지되면 DM은 호출을 직렬화합니다.

DataIdentifier 작업의 동시성 제어 시퀀스애플리케이션DataIdentifierPortDiagnosticManagementDataIdentifierConcurrencyType으로 포트 초기화(readWrite = kConcurrent)Use Case: 런타임 중 동시 실행Parallel: Read-AnforderungParallel: Write-AnforderungDM이 읽기 및 쓰기 작업을 동시에 실행함진단 결과 반환

시퀀스 다이어그램: Diagnostic Management(DM)에 의한 구성 및 동시 호출 제어의 일반적인 흐름. 출처: [SWS_DM_00936], [SWS_DM_00939].

이 가이드는 AUTOSAR Adaptive R25-11의 ara::diag::DataIdentifierConcurrencyType 사양을 요약합니다.

멤버 맵

클래스 다이어그램

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

G nara__diag__DataIdentifierConcurrencyType801 «struct» DataIdentifierConcurrencyType + read + readWrite + write

상세 보기

개요에서 항목을 선택하세요.

상수

read 변수

Concurrency type for Reads.

ConcurrencyType read {ConcurrencyType::kNotConcurrent};
readWrite 변수

Concurrency type for calling Read and Write methods in a concurrent way. If set to kConcurrent the DM can call Read and Write APIs concurrently.

ConcurrencyType readWrite {ConcurrencyType::kNotConcurrent};
write 변수

Concurrency type for Writes.

ConcurrencyType write {ConcurrencyType::kNotConcurrent};

상수 / 변수 문서

변수 read [SWS_DM_00937] Upstream: RS_Diag_04166

ConcurrencyType read {ConcurrencyType::kNotConcurrent};

Concurrency type for Reads.

Header-Datei#include "ara/diag/concurrency.h"
Scopestruct ara::diag::DataIdentifierConcurrencyType
Symbolread
TypConcurrencyType

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

Record
AUTOSAR/AP/record/SWS_DM_00937
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00937@rel:R25-11#e120ce17
Content hash
e120ce17
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00937
Status: valid/unmigrated Version: rel:R25-11#6141acdc Versionshistorie & Revisions (1 transition, 7 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_00937@rel:R25-11#6141acdc
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#3c1c4dec2026-09-30
  • R20-11rel:R20-11#9009bca82026-10-14
  • R21-11rel:R21-11#ec706c302026-10-14
  • R22-11rel:R22-11#0ca959552026-10-14
  • R23-11rel:R23-11#118b9bf82026-10-14
  • R24-11rel:R24-11#f88189a32026-10-14
  • R25-11rel:R25-11#6141acdc2026-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

변수 readWrite [SWS_DM_00939] Upstream: RS_Diag_04166

ConcurrencyType readWrite {ConcurrencyType::kNotConcurrent};

Concurrency type for calling Read and Write methods in a concurrent way. If set to kConcurrent the DM can call Read and Write APIs concurrently.

Header-Datei#include "ara/diag/concurrency.h"
Scopestruct ara::diag::DataIdentifierConcurrencyType
SymbolreadWrite
TypConcurrencyType

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

Record
AUTOSAR/AP/record/SWS_DM_00939
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00939@rel:R25-11#8e890032
Content hash
8e890032
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00939
Status: valid/unmigrated Version: rel:R25-11#80d4f512 Versionshistorie & Revisions (1 transition, 7 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_00939@rel:R25-11#80d4f512
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#43af52902026-09-30
  • R20-11rel:R20-11#69af7aee2026-10-14
  • R21-11rel:R21-11#69af7aee2026-10-14
  • R22-11rel:R22-11#fd1bb1452026-10-14
  • R23-11rel:R23-11#a12ac9ea2026-10-14
  • R24-11rel:R24-11#a3dd99472026-10-14
  • R25-11rel:R25-11#80d4f5122026-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

변수 write [SWS_DM_00938] Upstream: RS_Diag_04166

ConcurrencyType write {ConcurrencyType::kNotConcurrent};

Concurrency type for Writes.

Header-Datei#include "ara/diag/concurrency.h"
Scopestruct ara::diag::DataIdentifierConcurrencyType
Symbolwrite
TypConcurrencyType

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

Record
AUTOSAR/AP/record/SWS_DM_00938
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00938@rel:R25-11#a2222899
Content hash
a2222899
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00938
Status: valid/unmigrated Version: rel:R25-11#86878457 Versionshistorie & Revisions (1 transition, 7 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_00938@rel:R25-11#86878457
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#ea0307702026-09-30
  • R20-11rel:R20-11#8ad3ad6d2026-10-14
  • R21-11rel:R21-11#b2fe6f282026-10-14
  • R22-11rel:R22-11#9c2e39fa2026-10-14
  • R23-11rel:R23-11#57d6f6de2026-10-14
  • R24-11rel:R24-11#345bb9642026-10-14
  • R25-11rel:R25-11#868784572026-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