DEENESPTFRRUARHIKOZHNL

클래스 ara::diag::ServiceValidation

[SWS_DM_00771] Upstream: RS_Diag_04199

class ServiceValidation {...};

DiagnosticServiceValidationInterface.

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

사용자 가이드AI 생성

제조업체 또는 공급업체 검사를 기반으로 Diagnostic Management에서 수신 진단 요청을 검증합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: f91c31f76f32 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

제조업체 또는 공급업체 검사를 기반으로 Diagnostic Management에서 수신 진단 요청을 검증합니다.

ara::diag::ServiceValidation 클래스는 제조업체 또는 공급업체 기준에 따라 Diagnostic Management에서 수신 UDS 진단 요청의 애플리케이션별 검증을 수행하는 역할을 합니다 [SWS_DM_00772]. 생성 후에는 서비스가 Offer()(으)로 활성화되어야 요청 데이터가 검사를 위해 비동기적으로 Validate()에 전달된 후 Confirmation()(으)로 확인됩니다 [SWS_DM_00776]. 주요 제약사항으로 인스턴스는 포트에 바인딩되며, 복사 및 이동이 모두 불가능하고 생성자를 제외하고는 스레드 안전하지 않습니다.

컨텍스트

ara::diag::ServiceValidation 클래스는 AUTOSAR Adaptive 진단 스택 내에서 모델링 요소 DiagnosticServiceValidationInterface을 위한 프로그래밍 인터페이스를 제공합니다. 애플리케이션은 이 인터페이스를 통해 수신 진단 요청에 대한 애플리케이션별 검사를 구현할 수 있습니다. 인스턴스는 Diagnostic Management(DM)와 직접 상호작용하며, DM은 수신 진단 요청을 검증 로직으로 전달하도록 인가됩니다 [SWS_DM_00776].

검증의 기능적 할당은 모델링 속성 DiagnosticServiceValidationMapping.category을 통해 제어됩니다. 이 범주에 따라 검증 메서드 Validate()은 ISO 14229-1(8.7절)에 따른 UDS 응답 규칙의 프레임워크 내에서 제조업체 검사(“Manufacturer Check”) 또는 공급업체 검사(“Supplier Check”)의 컨텍스트로 호출됩니다 [SWS_DM_00772]. DM은 유효하지 않은 요청을 조기에 필터링하기 위해 실제 서비스 실행 전에 수신 요청 메시지를 이 검증 검사에 적용할 것으로 추정됩니다. 질문 Q-d84302d27d940634 (열림)

수명 주기

생성은 시스템 모델에 정의된 PortPrototype을 참조해야 하는 ara::core::InstanceSpecifier을 지정하여 생성자를 통해 명시적으로 수행됩니다 [SWS_DM_00772]. ara::diag::ServiceValidation은 복사 불가능하고 이동 불가능한 단일 인스턴스로 설계되었습니다: 복사 생성자 [SWS_DM_01689]와 이동 생성자 [SWS_DM_01690]뿐만 아니라 복사 대입 연산자 [SWS_DM_01687] 및 이동 대입 연산자 [SWS_DM_01688]도 삭제된 것(=delete)으로 선언되어 있습니다.

초기화 후 객체는 유휴 상태에 머뭅니다. Offer()을 호출해야만 DM에서 핸들러로의 진단 요청 전달이 활성화됩니다 [SWS_DM_00776]. 런타임 중에 StopOffer()을 통해 서비스 제공을 종료할 수 있으며, 이로 인해 DM은 전달을 다시 비활성화합니다 [SWS_DM_00777]. 리소스 해제는 가상 소멸자 ~ServiceValidation()를 통해 수행됩니다 [SWS_DM_00773].

동시성과 관련하여 생성자만이 스레드 안전한 것으로 명시되어 있습니다 [SWS_DM_00772]. 메서드 Offer() [SWS_DM_00776], StopOffer() [SWS_DM_00777], Validate() [SWS_DM_00774], Confirmation() [SWS_DM_00775] 및 소멸자 [SWS_DM_00773]은 스레드 안전하지 않은 것으로 분류되지만 예외 안전성은 보장됩니다(noexcept).

사용 경로

구체적인 검증 로직은 아마도 애플리케이션이 ara::diag::ServiceValidation에서 파생되어 가상 인터페이스 메서드를 재정의함으로써 제공될 것입니다. 질문 Q-84efdab7839212b5 (열림) 일반적인 작동 절차는 다음 단계로 나뉩니다:

  1. 인스턴스화: 구성된 포트를 참조하는 InstanceSpecifier을 전달하여 인스턴스를 생성합니다 [SWS_DM_00772].
  2. 서비스 제공: DM을 통한 요청 전달을 활성화하기 위해 Offer()을 호출합니다 [SWS_DM_00776].
  3. 검증: 수신 진단 요청마다 DM은 메서드 Validate()을 호출합니다 [SWS_DM_00774]. 서비스 식별자(SID)를 포함하는 원시 데이터가 ara::core::Span<const std::uint8_t>(으)로 전달되고 요청의 MetaInfo이 [SWS_DM_00774](으)로 전달됩니다. 데이터는 반환된 ara::core::Future<void>이 충족되거나 취소 핸들러에 의해 처리가 중단될 때까지 유효하게 유지됩니다 [SWS_DM_00774].
  4. 확인: 진단 요청 처리가 완료되는 즉시 DM은 결과 상태(ConfirmationStatusType) 및 MetaInfo를 전달하면서 메서드 Confirmation()을 통해 핸들러에 알립니다 [SWS_DM_00775].
  5. 비활성화: StopOffer()을 사용하여 요청 처리를 종료합니다 [SWS_DM_00777].
진단 요청의 유효성 검사 및 확인 흐름애플리케이션ServiceValidationDiagnostic ManagementOffer()Registrierung aktivierenValidate(requestData, metaInfo)데이터 및 MetaInfo 검사altValidierung erfolgreichFuture<void> (Erfolg)Validierung fehlgeschlagenFuture<void> (DiagUdsNrcErrc)Confirmation(status, metaInfo)StopOffer()Registrierung deaktivieren

시퀀스 다이어그램: 진단 요청의 검증 및 확인을 위한 호출 순서. 출처: [SWS_DM_00772], [SWS_DM_00774], [SWS_DM_00775], [SWS_DM_00776], [SWS_DM_00777].

오류 시나리오

오류 조건은 생성 중의 정적 구성 검사뿐만 아니라 런타임에서도 발생합니다:

  • 생성 위반: 생성자는 특정 모델링 오류를 Violations로 보고합니다 [SWS_DM_00772]:
    • InstanceSpecifierMappingIntegrityViolation: 식별자를 Executable의 컨텍스트에서 해석할 수 없거나 PortPrototype을 가리키지 않습니다 [SWS_DM_00772].
    • PortInterfaceMappingViolation: 참조된 PortPrototype이 DiagnosticServiceValidationInterface(으)로 유형화되지 않았습니다 [SWS_DM_00772].
    • ProcessMappingViolation: 프로세스에 대해 일치하는 모델링된 Process이 존재하지 않습니다 [SWS_DM_00772].
    • InstanceSpecifierAlreadyInUseViolation: InstanceSpecifier이 실행 중인 프로세스에서 이미 다른 인스턴스에 의해 사용되고 있습니다 [SWS_DM_00772].
  • 서비스 제공: 서비스가 이미 활발하게 제공되고 있을 때 Offer()을 호출하면 반환값 ara::core::Result<void>이 오류 코드 DiagOfferErrc::kAlreadyOffered를 반환합니다 [SWS_DM_00776].
  • 검증 오류: 요청에 대한 내용 검사가 실패하면 애플리케이션은 DiagUdsNrcErrc을 통해 ISO 14229-1의 해당 Negative Response Code (NRC)를 설정하여 반환된 ara::core::Future<void>을 통해 거부를 알립니다 [SWS_DM_00774].

이 가이드는 diag 모듈에 대한 AUTOSAR Adaptive 사양 R25-11을 기반으로 합니다.

멤버 맵

클래스 다이어그램

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

G nara__diag__ServiceValidation871 ServiceValidation + ServiceValidation() + operator=() + ~ServiceValidation() + Confirmation() + Offer() + StopOffer() + Validate()

상세 보기

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

생성자 및 소멸자

Constructor of ServiceValidation. Depending on value of attribute DiagnosticServiceValidationMapping.category, the Validate is either called in the context of the NRC sequence in chapter 8.7 response implementation rules from UDS ISO 14229-1 as a Manufacturer or a Supplier Check.

오버로드 ServiceValidation 3
explicit ServiceValidation (const ara::core::InstanceSpecifier &specifier) noexcept; SWS_DM_00772
ServiceValidation (ServiceValidation &)=delete; SWS_DM_01689
ServiceValidation (ServiceValidation &&)=delete; SWS_DM_01690

Destructor of ServiceValidation .

virtual ~ServiceValidation () noexcept;

메서드

This method is called, when a diagnostic request has been finished, to notify about the outcome.

virtual void Confirmation (ConfirmationStatusType status, const Meta Info &metaInfo) noexcept;
Offer 함수

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

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

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

void StopOffer () noexcept;
Validate 함수

Called for any request message.

virtual ara::core::Future< void > Validate (ara::core::Span< const std::uint8_t > requestData, const MetaInfo &metaInfo) noexcept;

연산자

operator= 함수 2

ServiceValidation shall be a single not assignable instance.

오버로드 = 2

메서드 문서

함수 Confirmation [SWS_DM_00775] Upstream: RS_AP_00138, RS_Diag_04170, RS_Diag_04199

virtual void Confirmation (ConfirmationStatusType status, const Meta Info &metaInfo) noexcept;

This method is called, when a diagnostic request has been finished, to notify about the outcome.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 9b9a34095329 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

인터페이스 ara::diag::ServiceValidation의 메서드 Confirmation([SWS_DM_00775], ara/diag/service_validation.h에 선언됨)는 이전에 처리된 진단 요청의 완료 및 결과에 대한 알림 역할을 합니다.

사용법 및 의미론

가상 콜백 함수는 요청 처리가 완료되는 즉시 Diagnostic Management에 의해 동기식으로 호출됩니다. 반환값은 없으며(void), 두 개의 전달 매개변수를 받습니다([SWS_DM_00775]):

  • status(ConfirmationStatusType): 서비스 처리의 최종 상태 또는 결과를 나타냅니다([SWS_DM_00775]).
  • metaInfo(const Meta Info &): 진단 요청의 관련 메타 정보를 포함합니다([SWS_DM_00775]).

오류 처리 및 동시성

이 함수는 예외 안전(exception safe)으로 명시되어 있으며 식별자 noexcept(으)로 선언되어 있습니다([SWS_DM_00775]). 따라서 애플리케이션 측의 오버라이드는 외부로 예외를 전파해서는 안 됩니다. DET 또는 DEM 메시지와 같은 특정 오류 코드는 이 메서드에 대해 정의되어 있지 않습니다. 동시성과 관련하여 Confirmation은(는) 스레드 안전하지 않은 것(not thread-safe)으로 분류되어 있으며([SWS_DM_00775]), 병렬 실행 시 콜백 내에서 애플리케이션 내부 상태에 접근하려면 적절한 동기화가 필요합니다.

상호 작용

알림 트리거는 진단 요청의 수명 주기 종료와 결합되어 있습니다([SWS_DM_00775]). 이 주기는 긍정 또는 부정 응답이 전송되거나 억제되는 즉시 완료됩니다(AUTOSAR_AP_SWS_Diagnostics §7.3.2.1.2 “Life-cycle of a Diagnostic Conversation”). 해석: 모듈 레벨에서 Diagnostic Management는 TransmitConfirmation 및 결과 kTransmitOk 또는 kTransmitFailed을(를) 통해 전송 계층에서 전송이 확인된 후에만 콜백 Confirmation을(를) 시작할 것으로 보입니다([SWS_DM_00307], [SWS_DM_00351]). 질문 Q-97c38586ef5e3704 (열림)

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

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

Parameter (in)

ParameterBeschreibung
statusstatus/outcome of the service processing.
metaInfoMetaInfo of the request.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00775
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00775@rel:R25-11#7a1a4299
Content hash
7a1a4299
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00775
Status: valid/unmigrated Version: rel:R25-11#bbcfd2e3 Versionshistorie & Revisions (1 transition, 8 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_00775@rel:R25-11#bbcfd2e3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#044090102026-09-30
  • R19-11rel:R19-11#20a5939d2026-10-14
  • R20-11rel:R20-11#761e125d2026-10-14
  • R21-11rel:R21-11#761e125d2026-10-14
  • R22-11rel:R22-11#991a58222026-10-14
  • R23-11rel:R23-11#a506b4142026-10-14
  • R24-11rel:R24-11#5339f3712026-10-14
  • R25-11rel:R25-11#bbcfd2e32026-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_00776] Upstream: RS_AP_00119, RS_AP_00139, RS_Diag_04199

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

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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 90f000c47eb7 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

ara::diag::ServiceValidation 클래스의 Offer 멤버 함수(헤더 ara/diag/service_validation.h)는 Diagnostic Manager(DM)가 수신된 진단 요청을 이 특정 유효성 검사 핸들러로 전달하는 것을 활성화합니다 [SWS_DM_00776]. 호출은 시그니처 ara::core::Result<void> Offer() noexcept;를 통해 전달 매개변수 없이 동기식으로 수행됩니다 [SWS_DM_00776]. 반환값으로는 ara::core::Result<void>가 사용되며, 이는 성공 시 비어 있거나 오류 발생 시 발생한 오류 코드를 캡슐화합니다 [SWS_DM_00776].

오류 처리

등록에 실패하면 메서드는 오류가 발생한 Result을 반환합니다. 해당 인스턴스에 대해 서비스가 이미 이전에 제공된 경우, 오류 코드 DiagOfferErrc::kAlreadyOffered이 반환됩니다 [SWS_DM_00776]. 이때 롤백 시맨틱이 적용되므로 인스턴스의 이전 상태는 변경되지 않고 그대로 유지됩니다 [SWS_DM_00776].

동시성 및 제약사항

이 함수는 예외 안전(exception safe)으로 지정되어 있지만 명시적으로 스레드 안전하지 않은 것(not thread-safe)으로 지정되어 있습니다 [SWS_DM_00776]. 동일한 인스턴스에 대한 병렬 접근은 호출 애플리케이션에 의해 조정되어야 합니다. 순서와 관련하여, Diagnostic Manager가 유효성 검사를 위해 서비스 요청을 전달할 수 있으려면 먼저 Offer이 호출되어야 합니다 [SWS_DM_00776].

상호 작용

Offer을 통한 인터페이스 제공은 AUTOSAR Adaptive 진단의 일관된 설계 패턴이며, 루틴([SWS_DM_00557], [SWS_DM_00594]), 일반 UDS 서비스([SWS_DM_00619]), DoIP 기능([SWS_DM_00725], [SWS_DM_00735]) 및 보안 접근([SWS_DM_00766]) 등에서도 유사하게 사용됩니다. 인터페이스가 Offer을 통해 제공되지 않는 한, DM은 요청을 폐기하거나 정의된 대체 값으로 대체합니다([SWS_DM_01525], [SWS_DM_01527]). ara::com과의 개념적 유사성은 기능적 동기에서 비롯된 것이지만 진단의 독자적인 구현을 나타냅니다(AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”).

본 사용 지침은 AUTOSAR Adaptive R25-11 명세를 기반으로 자동 작성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Rückgabewert

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

Fehler

FehlercodeBeschreibung
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_00776
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00776@rel:R25-11#228987d8
Content hash
228987d8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00776
Status: valid/unmigrated Version: rel:R25-11#98f79358 Versionshistorie & Revisions (1 transition, 8 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_00776@rel:R25-11#98f79358
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f679147c2026-09-30
  • R19-11rel:R19-11#1c84ea4d2026-10-14
  • R20-11rel:R20-11#cea448532026-10-14
  • R21-11rel:R21-11#bcd37d0f2026-10-14
  • R22-11rel:R22-11#c7eb78232026-10-14
  • R23-11rel:R23-11#3732217c2026-10-14
  • R24-11rel:R24-11#d9522beb2026-10-14
  • R25-11rel:R25-11#98f793582026-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

함수 ServiceValidation [SWS_DM_00772] Upstream: RS_AP_00137, RS_Diag_04199, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

explicit ServiceValidation (const ara::core::InstanceSpecifier &specifier) noexcept;

Constructor of ServiceValidation. Depending on value of attribute DiagnosticServiceValidationMapping.category, the Validate is either called in the context of the NRC sequence in chapter 8.7 response implementation rules from UDS ISO 14229-1 as a Manufacturer or a Supplier Check.

Header-Datei#include "ara/diag/service_validation.h"
Scopeclass ara::diag::ServiceValidation
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 DiagnosticServiceValidationMapping needs to be typed by a DiagnosticServiceValidationInterface. 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
specifierInstanceSpecifier to a PortPrototype of a DiagnosticServiceValidationInterface

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

Record
AUTOSAR/AP/record/SWS_DM_00772
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00772@rel:R25-11#6dcb7836
Content hash
6dcb7836
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00772
Status: valid/unmigrated Version: rel:R25-11#551e2d84 Versionshistorie & Revisions (1 transition, 8 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_00772@rel:R25-11#551e2d84
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#db1a817b2026-09-30
  • R19-11rel:R19-11#8ba9fe932026-10-14
  • R20-11rel:R20-11#12b557df2026-10-14
  • R21-11rel:R21-11#1f0371f52026-10-14
  • R22-11rel:R22-11#f49056232026-10-14
  • R23-11rel:R23-11#6c563b032026-10-14
  • R24-11rel:R24-11#f8f0ab112026-10-14
  • R25-11rel:R25-11#551e2d842026-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

함수 ServiceValidation [SWS_DM_01689] Upstream: RS_AP_00147

ServiceValidation (ServiceValidation &)=delete;

ServiceValidation shall be a single not copy-able instance.

Header-Datei#include "ara/diag/service_validation.h"
Scopeclass ara::diag::ServiceValidation

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

Record
AUTOSAR/AP/record/SWS_DM_01689
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01689@rel:R25-11#cdcb5534
Content hash
cdcb5534
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01689
Status: valid/unmigrated Version: rel:R25-11#d48785a6 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_01689@rel:R25-11#d48785a6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#614925122026-09-30
  • R23-11rel:R23-11#428fd8c92026-10-14
  • R24-11rel:R24-11#d48785a62026-10-14
  • R25-11rel:R25-11#d48785a62026-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

함수 ServiceValidation [SWS_DM_01690] Upstream: RS_AP_00147

ServiceValidation (ServiceValidation &&)=delete;

Move constructor of ServiceValidation.

Header-Datei#include "ara/diag/service_validation.h"
Scopeclass ara::diag::ServiceValidation

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

Record
AUTOSAR/AP/record/SWS_DM_01690
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01690@rel:R25-11#6fe41aec
Content hash
6fe41aec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01690
Status: valid/unmigrated Version: rel:R25-11#e4fdb290 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_01690@rel:R25-11#e4fdb290
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#52b974e02026-09-30
  • R23-11rel:R23-11#646ef28b2026-10-14
  • R24-11rel:R24-11#e4fdb2902026-10-14
  • R25-11rel:R25-11#e4fdb2902026-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_00777] Upstream: RS_Diag_04199

void StopOffer () noexcept;

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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 9db9d30bd6c8 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

클래스 ara::diag::ServiceValidation의 메소드 StopOffer()(헤더 파일 ara/diag/service_validation.h)은(는) Diagnostic Management (DM)의 인바운드 요청 메시지가 서비스 유효성 검사 인스턴스로 전달되는 것을 비활성화하는 데 사용됩니다[SWS_DM_00777]. 호출은 동기식으로 수행되며, 전달 매개변수를 받지 않고 반환값도 제공하지 않습니다[SWS_DM_00777].

오류 처리 및 동시성

이 함수는 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)으로 간주되므로 실행 시 C++ 예외가 발생하지 않습니다[SWS_DM_00777]. 이 호출에 대해 특정 오류 코드나 오류 관리 시스템으로의 피드백은 정의되어 있지 않습니다[SWS_DM_00777].

동시성과 관련하여 이 메소드는 스레드 안전하지 않은 것(not thread-safe)(으)로 지정되어 있습니다[SWS_DM_00777]. 해석: 데이터 불일치를 방지하기 위해 호출 애플리케이션은 StopOffer()의 동일한 인스턴스에 대한 경합 호출이 동기화되도록 보장해야 합니다. 질문 Q-dde3c015d30a9db1 (열림)

상호 작용

Offer() 및 StopOffer()을(를) 통한 인터페이스 제공 및 철회는 ara::com의 익숙한 시맨틱을 따르지만, 진단 영역에서는 독자적인 기능을 나타냅니다AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”. DM으로부터의 요청 전달을 비활성화하는 이 패턴은 인증 서비스[SWS_DM_01131], 통신 제어[SWS_DM_00810], 다운로드 서비스[SWS_DM_00793] 및 ECU 리셋 요청[SWS_DM_01017]과(와) 같은 다른 진단 핸들러에 대해 표준에서 일관되게 사용됩니다.

이 사용 지침은 AUTOSAR 사양 R25-11을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

Header-Datei#include "ara/diag/service_validation.h"
Scopeclass ara::diag::ServiceValidation
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_00777
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00777@rel:R25-11#2ad9179e
Content hash
2ad9179e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00777
Status: valid/unmigrated Version: rel:R25-11#809ce59e Versionshistorie & Revisions (1 transition, 8 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_00777@rel:R25-11#809ce59e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ecbd75f12026-09-30
  • R19-11rel:R19-11#988e9cc52026-10-14
  • R20-11rel:R20-11#556e7ce62026-10-14
  • R21-11rel:R21-11#ee572f802026-10-14
  • R22-11rel:R22-11#db0a3b992026-10-14
  • R23-11rel:R23-11#c1a089312026-10-14
  • R24-11rel:R24-11#1b0c9f462026-10-14
  • R25-11rel:R25-11#809ce59e2026-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

함수 Validate [SWS_DM_00774] Upstream: RS_AP_00138, RS_Diag_04170, RS_Diag_04199, RS_AP_00119

virtual ara::core::Future< void > Validate (ara::core::Span< const std::uint8_t > requestData, const MetaInfo &metaInfo) noexcept;

Called for any request message.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: ef5e4c6cdd97 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

가상 메소드 ara::diag::ServiceValidation::Validate은(는) 수신되는 각 진단 요청 메시지에 대해 호출됩니다[SWS_DM_00774]. Diagnostic Server (DM)는 이를 통해 ISO 14229-1에 따른 구성된 제조업체별 [SWS_DM_01252] 및 공급업체별 서비스 검사[SWS_DM_01253]을(를) 수행합니다. 제조업체 또는 공급업체 검사로서의 할당은 생성자의 모델링에 따릅니다[SWS_DM_00772].

이 함수는 requestData을(를) 통해 Service Identifier (SID)를 포함한 진단 데이터를, metaInfo을(를) 통해 메타 정보를 수신합니다[SWS_DM_00774]. 버퍼 requestData은(는) 반환된 ara::core::Future<void>이(가) 연관된 Promise를 통해 충족되거나 실행이 취소될 때까지 유효하게 유지됩니다[SWS_DM_00774]. 유효성 검사가 오류 없이 성공적으로 완료되면 Diagnostic Server는 ISO 14229-1에 따라 요청 처리를 계속합니다[SWS_DM_01254].

오류 처리 및 제약 조건

검사에 실패하면 DiagUdsNrcErrc을(를) 사용하여 ISO 14229-1에 따른 적절한 NRC를 반환해야 합니다[SWS_DM_00774]. Validate이(가) 오류 kNoProcessingNoResponse을(를) 반환하면, Diagnostic Server 인스턴스는 추가 응답 없이 메시지를 폐기합니다[SWS_DM_00860].

동시성과 관련하여 Validate은(는) 예외 안전(exception safe)이지만 스레드 안전하지 않은 것(not thread-safe)(으)로 지정되어 있습니다[SWS_DM_00774]. 해석: 이 함수는 스레드 안전하지 않으므로 Diagnostic Server는 동일한 인스턴스에 대한 호출을 직렬화하거나 경합하는 액세스를 배제해야 할 것으로 보입니다. 질문 Q-e150c15ad709602c (열림) 호출 컨텍스트는 실제 서비스 실행 전 ISO 14229-1의 NRC 시퀀스에 의해 정의됩니다[SWS_DM_00772].

이 사용 지침은 AUTOSAR Adaptive 사양 R25-11을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
requestDataDiagnostic request data (including SID). Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.

Rückgabewert

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

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_00774
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00774@rel:R25-11#f62f0bbc
Content hash
f62f0bbc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00774
Status: valid/unmigrated Version: rel:R25-11#697b56ca Versionshistorie & Revisions (1 transition, 8 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_00774@rel:R25-11#697b56ca
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#97b264c92026-09-30
  • R19-11rel:R19-11#7333f5562026-10-14
  • R20-11rel:R20-11#5a132c282026-10-14
  • R21-11rel:R21-11#59f85a3b2026-10-14
  • R22-11rel:R22-11#43a758b42026-10-14
  • R23-11rel:R23-11#05e1af662026-10-14
  • R24-11rel:R24-11#8a3b62802026-10-14
  • R25-11rel:R25-11#697b56ca2026-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_01687] Upstream: RS_AP_00147

ServiceValidation & operator= (ServiceValidation &)=delete;

ServiceValidation shall be a single not assignable instance.

Header-Datei#include "ara/diag/service_validation.h"
Scopeclass ara::diag::ServiceValidation

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

Record
AUTOSAR/AP/record/SWS_DM_01687
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01687@rel:R25-11#f526390b
Content hash
f526390b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01687
Status: valid/unmigrated Version: rel:R25-11#4d0e8e99 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_01687@rel:R25-11#4d0e8e99
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cca774bf2026-09-30
  • R23-11rel:R23-11#b0b3cfec2026-10-14
  • R24-11rel:R24-11#4d0e8e992026-10-14
  • R25-11rel:R25-11#4d0e8e992026-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_01688] Upstream: RS_AP_00147

ServiceValidation & operator= (ServiceValidation &&)=delete;

Move assignment operator of ServiceValidation.

Header-Datei#include "ara/diag/service_validation.h"
Scopeclass ara::diag::ServiceValidation

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

Record
AUTOSAR/AP/record/SWS_DM_01688
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01688@rel:R25-11#64a1f42b
Content hash
64a1f42b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01688
Status: valid/unmigrated Version: rel:R25-11#1b73524b 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_01688@rel:R25-11#1b73524b
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#070b54192026-09-30
  • R23-11rel:R23-11#451c17372026-10-14
  • R24-11rel:R24-11#1b73524b2026-10-14
  • R25-11rel:R25-11#1b73524b2026-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

함수 ~ServiceValidation [SWS_DM_00773] Upstream: RS_AP_00134, RS_Diag_04199

virtual ~ServiceValidation () noexcept;

Destructor of ServiceValidation .

Header-Datei#include "ara/diag/service_validation.h"
Scopeclass ara::diag::ServiceValidation
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_00773
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00773@rel:R25-11#d4d1f72c
Content hash
d4d1f72c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00773
Status: valid/unmigrated Version: rel:R25-11#ef75a44c Versionshistorie & Revisions (1 transition, 8 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_00773@rel:R25-11#ef75a44c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#6c06b72e2026-09-30
  • R19-11rel:R19-11#7fc7f8282026-10-14
  • R20-11rel:R20-11#c80e4a8e2026-10-14
  • R21-11rel:R21-11#c80e4a8e2026-10-14
  • R22-11rel:R22-11#af4050602026-10-14
  • R23-11rel:R23-11#bfb288b52026-10-14
  • R24-11rel:R24-11#ef75a44c2026-10-14
  • R25-11rel:R25-11#ef75a44c2026-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