DEENESPTFRRUARHIKOZHNL

클래스 ara::diag::SovdServiceValidation

[SWS_DM_01822] Upstream: RS_Diag_04256

class SovdServiceValidation {...};

Class to implement manufacturer-/supplier-specific checks for SOVD in the application.

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

사용자 가이드AI 생성

애플리케이션에서 수신되는 SOVD 서비스 요청에 대한 접근 권한 및 사전 조건을 검증합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 91ac3d210255 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

애플리케이션에서 수신되는 SOVD 서비스 요청에 대한 접근 권한 및 사전 조건을 검증합니다.

ara::diag::SovdServiceValidation 클래스는 수신되는 SOVD 서비스 요청([SWS_DM_01822])에서 접근 권한 및 사전 조건의 애플리케이션별 검사에 사용됩니다. 포트 인스턴스화 및 Offer()을(를) 통한 명시적 활성화 후, Diagnostic Management는 요청된 각 리소스에 대해 비동기 유효성 검사 메서드 Validate()을(를) 호출합니다([SWS_DM_01827]). 유효성 검사가 단 하나의 하위 리소스에 대해서라도 오류 값을 반환하면, 시스템은 전체 처리를 즉시 중단하고 클라이언트 요청을 거부합니다. 인스턴스화는 스레드 안전하지만 Offer() 및 StopOffer()과(와) 같은 메서드는 호출자가 동기화해야 합니다.

컨텍스트

ara::diag::SovdServiceValidation 클래스는 Adaptive Platform에서 진단 애플리케이션 내의 Service-Oriented Vehicle Diagnostics (SOVD)를 위한 제조업체 및 공급업체 특화 검사를 제공하는 데 사용됩니다([SWS_DM_01822]). 표준화된 사전 조건 및 환경 조건은 SOVD 프로토콜 프레임워크 내에서 메서드 실행 전에 Diagnostic Management(DM)에 의해 평가되는 반면([SWS_DM_01468]), 이 인터페이스는 사용자 정의 유효성 검사 로직을 적응형 애플리케이션으로 직접 이전합니다.

서비스 유효성 검사에는 세 가지 핵심 파트너가 참여합니다:

SovdServiceValidationKontext client SOVD-Client dm Diagnostic Management (Diagnostic Server) client->dm SOVD-Request dm->client SOVD-Response handler ara::diag::SovdServiceValidation (Anwendungs-Handler) dm->handler Validate(requestMethod, metaInfo) handler->dm Future<void> (Ergebnis)

컨텍스트 다이어그램: SOVD 서비스 유효성 검사 시 컴포넌트 및 인터페이스 관계. 출처: [SWS_DM_01822], [SWS_DM_01823], SWS Diagnostics §7.3.3.2.3 “SOVD – Validation of Environmental Conditions”

수명 주기

유효성 검사 핸들러의 인스턴스화는 SovdServiceValidation의 생성자를 통해 수행되며, 이는 ara::core::InstanceSpecifier을(를) 통해 매니페스트에 모델링된 PortPrototype에 바인딩됩니다([SWS_DM_01823]). 이때 해당 포트는 DiagnosticSovdServiceValidationInterface(으)로 형식화되어야 합니다([SWS_DM_01823]). 애플리케이션은 매개변수 ConcurrencyType을(를) 통해 자체 구현이 동시 호출을 지원하도록 설계되었는지(kConcurrent), 아니면 비동시적으로 처리되어야 하는지(kNotConcurrent) 구속력 있게 정의합니다([SWS_DM_01823]).

성공적인 생성 후 인스턴스는 초기화된 상태에 있게 됩니다. DM에 의한 요청 전달은 Offer() 호출을 통해 명시적으로 활성화되어야 합니다([SWS_DM_01825]). 전달을 중단하거나 종료해야 하는 경우, 애플리케이션은 StopOffer()을(를) 통해 이를 비활성화합니다([SWS_DM_01826]). 가상 소멸자 ~SovdServiceValidation()은(는) 핸들러의 수명 주기를 정상적으로 종료합니다([SWS_DM_01824]). 생성자 자체는 스레드 안전하도록 명시되어 있는 반면, Offer(), StopOffer() 및 소멸자는 스레드 안전하지 않으며 동시에 호출해서는 안 됩니다([SWS_DM_01823], [SWS_DM_01824], [SWS_DM_01825], [SWS_DM_01826]).

사용 경로

유효성 검사의 일반적인 흐름은 다음 단계로 나뉩니다:

  1. 초기화 및 등록: 애플리케이션이 특수화된 클래스를 인스턴스화하고 Offer()을(를) 사용하여 DM용 서비스를 활성화합니다([SWS_DM_01823], [SWS_DM_01825]). 해석: 이는 일반적으로 애플리케이션의 진단 기능이 시작될 때 수행됩니다. 질문 (열림)
  2. 요청 처리: Diagnostic Server에 SOVD 메시지가 도착하면, 진단 서버는 DiagnosticServiceValidationConfiguration에 구성된 각 포트 매핑에 대해 정해진 순서대로 Validate 메서드를 호출합니다(SWS Diagnostics §7.3.3.2.3 “SOVD – Validation of Environmental Conditions”).
  3. 리소스 검사: 호출이 리소스 모음(Resource Collection)과 관련된 경우, DM은 Validate을(를) 여러 번 호출합니다. 즉, 모음 자체에 대해 정확히 한 번 호출한 후, 모음에 포함된 각 리소스에 대해 한 번씩 호출합니다([SWS_DM_01827]). 현재 검사 중인 리소스의 경로는 매번 ara::diag::MetaInfo에 전달됩니다(SWS Diagnostics §7.3.3.2.3 “SOVD – Validation of Environmental Conditions”).
  4. 비동기 결과: 이 메서드는 ara::core::Future<void>을(를) 반환합니다([SWS_DM_01827]). 검사가 성공하면 Future는 오류 값 없이 확인(resolve)되고 DM은 요청 처리를 계속합니다(SWS Diagnostics §7.3.3.2.3 “SOVD – Validation of Environmental Conditions”).
  5. 서비스 비활성화: 종료 전 또는 구성 변경 시 애플리케이션은 StopOffer()을(를) 호출합니다([SWS_DM_01826]).
SOVD 서비스 유효성 검사 흐름SOVD-ClientDiagnostic ManagementSovdServiceValidationOffer()Result<void> (Erfolg)SOVD-Request (Ressource / Collection)loopCollection 및 포함된 각 리소스 대상Validate(requestMethod, metaInfo)제조사별 검사Future<void> (결과: OK 또는 DiagSovdErrc)altValidierung aller Ressourcen erfolgreichSOVD-Response (Erfolg)최소 하나 이상의 유효성 검사 실패SOVD-Error-Response (Sofortiger Abbruch)

시퀀스 다이어그램: 리소스 반복 및 오류 처리를 포함한 Validate를 통한 SOVD 요청 검사 흐름. 출처: [SWS_DM_01827], SWS Diagnostics §7.3.3.2.3 “SOVD – Validation of Environmental Conditions”

오류 시나리오

오류는 초기화 및 실행의 다양한 단계에서 발생할 수 있습니다:

  • 생성 위반: 모델에서 InstanceSpecifier을(를) 확인할 수 없거나 PortPrototype을(를) 가리키지 않는 경우 InstanceSpecifierMappingIntegrityViolation이(가) 보고됩니다([SWS_DM_01823]). 포트가 인터페이스 DiagnosticSovdServiceValidationInterface와(과) 일치하지 않으면 PortInterfaceMappingViolation이(가) 발생합니다([SWS_DM_01823]). 프로세스 매핑이 누락된 경우 ProcessMappingViolation이(가) 발생하며, 동일한 식별자가 중복 사용되면 InstanceSpecifierAlreadyInUseViolation이(가) 뒤따릅니다([SWS_DM_01823]).
  • Offer 시 등록 오류: 서비스가 이미 활성 상태로 제공된 경우, Offer()은(는) 오류 DiagOfferErrc::kAlreadyOffered을(를) 반환합니다([SWS_DM_01825]). 구성이 DEXT 모델링과 일치하지 않으면 오류 DiagOfferErrc::kConfigurationMismatch이(가) 발생합니다([SWS_DM_01825]).
  • 기능적 유효성 검사 오류: Validate 메서드는 DiagSovdErrc의 오류 코드를 통해 부적격성을 보고합니다([SWS_DM_01827]). 여기에는 클라이언트 권한이 부족한 경우의 DiagSovdErrc::kInsufficientAccessRights, 사전 조건이 충족되지 않은 경우의 DiagSovdErrc::kPreconditionNotFulfilled, 일시적으로 사용할 수 없는 경우(예: 온라인 토큰 유효성 검사 누락)의 DiagSovdErrc::kTemporarilyNotAvailable, 또는 구성에 오류가 있는 경우의 DiagSovdErrc::kSovdServerMisconfigured이(가) 포함됩니다([SWS_DM_01827]).
  • 하위 리소스 오류 시 즉각적인 중단: 리소스 모음에 포함된 단 하나의 리소스에 대해서라도 유효성 검사가 실패하면, DM은 전체 요청 처리를 즉시 중단하고 클라이언트에 오류 메시지를 직접 반환합니다(SWS Diagnostics §7.3.3.2.3 “SOVD – Validation of Environmental Conditions”).

이 가이드는 diag 모듈에 대한 AUTOSAR 사양 R25-11만을 기반으로 하며 자동으로 생성되었습니다.

멤버 맵

클래스 다이어그램

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

G nara__diag__SovdServiceValidation102 SovdServiceValidation + ~SovdServiceValidation() + SovdServiceValidation() + Offer() + StopOffer() + Validate()

상세 보기

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

생성자 및 소멸자

Constructs the port for SovdServiceValidation interface.

explicit SovdServiceValidation (ara::core::InstanceSpecifier instance Specifier, ConcurrencyType concurrencyType) noexcept;

Destructor of SovdServiceValidation.

virtual ~SovdServiceValidation () noexcept;

메서드

Offer 함수

Enable the DM to forward request messages to this handler.

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

Disable the forwarding of request messages from DM.

void StopOffer () noexcept;
Validate 함수

Called for every SOVD request message. Will be called multiple times if the request is for a resource collection: • once for the resource collection, • once for each resource in the resource collection.

virtual ara::core::Future< void > Validate (SovdRequestMethod request Method, const MetaInfo &metaInfo) noexcept;

메서드 문서

함수 Offer [SWS_DM_01825] Upstream: RS_Diag_04256

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

Enable the DM to forward request messages to this handler.

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

Adaptive Application은 ara::diag::SovdServiceValidation 클래스의 동기 메서드 Offer()을(를) 사용하여 Diagnostic Management(DM)에서 등록된 핸들러로 들어오는 검증 요청의 전달을 활성화합니다 [SWS_DM_01825]. 호출은 전달 매개변수 없이 수행되며, DM에 대해 핸들러 인스턴스의 수신 준비 상태를 알립니다.

이 메서드는 ara::core::Result<void>을(를) 반환합니다 [SWS_DM_01825]. 오류가 발생할 경우 롤백 시맨틱이 적용되며 다음 오류 코드 중 하나가 반환됩니다:

  • DiagOfferErrc::kAlreadyOffered: 이 인스턴스에 대해 서비스가 이미 이전에 제공되었습니다 [SWS_DM_01825].
  • DiagOfferErrc::kConfigurationMismatch: 구성이 진단 추출(DEXT)과 일치하지 않습니다 [SWS_DM_01825].

실행 안전성과 관련하여 이 메서드는 exception safe 및 noexcept(으)로 정의되어 있으나, 명시적으로 스레드 안전하지 않은 것(not thread-safe)(으)로 간주됩니다 [SWS_DM_01825]. 해석: 동일한 인스턴스에 대한 병렬 호출은 경합하는 스레드로부터 보호되지 않은 채 발생해서는 안 되며, 애플리케이션에 의해 동기화되어야 합니다. 질문 Q-b07b7c8bb8852378 (열림)

이러한 절차는 예를 들어 ara::diag::ServiceValidation [SWS_DM_00776] 또는 ara::diag::CommunicationControl [SWS_DM_00809]에도 적용되는 어댑티브 진단 핸들러의 표준화된 인터페이스 패턴을 따릅니다. 제공이 성공적으로 완료되지 않는 한, 아직 제공되지 않은 서비스가 표준 응답 또는 대체 값으로 이어지는 인터페이스와 유사하게 DM은 해당 인스턴스로 요청을 전달하지 않습니다 [SWS_DM_01825] [SWS_DM_01525]. 또한 규격에서는 이것이 순수 DM 전용 등록이며 통신 관리의 서비스 제공과 혼동해서는 안 된다는 점을 명확히 하고 있습니다 AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”.

이 텍스트는 AI에 의해 생성되었습니다.

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

Header-Datei#include "ara/diag/sovd_service_validation.h"
Scopeclass ara::diag::SovdServiceValidation
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.
DiagOfferErrc::kConfigurationMismatchrollback_semantics monitor configuration does not match DEXT

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

Record
AUTOSAR/AP/record/SWS_DM_01825
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01825@rel:R25-11#12e293ee
Content hash
12e293ee
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01825
Status: valid/unmigrated Version: rel:R25-11#d1affa7c 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_01825@rel:R25-11#d1affa7c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#8e8c1df32026-09-30
  • R23-11rel:R23-11#9d51b0512026-10-14
  • R24-11rel:R24-11#05dd235d2026-10-14
  • R25-11rel:R25-11#d1affa7c2026-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

함수 SovdServiceValidation [SWS_DM_01823] Upstream: RS_Diag_04256, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

explicit SovdServiceValidation (ara::core::InstanceSpecifier instance Specifier, ConcurrencyType concurrencyType) noexcept;

Constructs the port for SovdServiceValidation interface.

Header-Datei#include "ara/diag/sovd_service_validation.h"
Scopeclass ara::diag::SovdServiceValidation
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 DiagnosticSovdServiceValidationPortMapping needs to be typed by a DiagnosticSovdServiceValidationInterface. 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 DiagnosticSovdServiceValidationInterface 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_01823
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01823@rel:R25-11#255cd0b1
Content hash
255cd0b1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01823
Status: valid/unmigrated Version: rel:R25-11#8b66cc5b 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_01823@rel:R25-11#8b66cc5b
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6acbfc822026-09-30
  • R23-11rel:R23-11#e82e8d482026-10-14
  • R24-11rel:R24-11#76e3ab032026-10-14
  • R25-11rel:R25-11#8b66cc5b2026-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_01826] Upstream: RS_Diag_04256

void StopOffer () noexcept;

Disable the forwarding of request messages from DM.

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

사용

ara::diag::SovdServiceValidation 클래스([SWS_DM_01826], 헤더 파일 ara/diag/sovd_service_validation.h)의 StopOffer 메서드는 Diagnostic Management(DM)로부터의 요청 메시지(request messages)가 검증 인스턴스로 전달되는 것을 비활성화합니다. 전달 매개변수를 받지 않으며 반환값을 제공하지 않습니다([SWS_DM_01826]). 명명 방식은 ara::com의 비활성화 시맨틱을 지향하지만 ara::diag 내에서 독립적인 구현을 나타내는 AUTOSAR Adaptive 진단 인터페이스의 표준화된 패턴을 따릅니다(AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”).

오류 처리 및 예외 안전성

이 작업은 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)하도록 지정되어 있습니다([SWS_DM_01826]). 반환값이 존재하지 않으므로 반환 코드나 C++ 예외를 통해서도 오류가 전달되지 않습니다([SWS_DM_01826]).

동시성 및 제약사항

호출 컨텍스트와 관련하여 StopOffer은(는) 스레드 안전하지 않음(not thread-safe)으로 분류됩니다([SWS_DM_01826]). 따라서 ara::diag::SovdServiceValidation의 동일한 인스턴스에 대한 동시 호출은 애플리케이션 측에서 동기화되어야 합니다. 해석: StopOffer은(는) 일반적으로 컴포넌트 종료 시 또는 SoVD 검증 루틴을 일시적으로 사용할 수 없을 때 호출되는 것으로 간주할 수 있습니다. 질문 Q-2bb0abf30ae69829 (열림)

상호 작용

이 동작은 Diagnostic Management의 표준화된 제공 패턴과 일치합니다. 기존 서비스 검증 ara::diag::ServiceValidation::StopOffer([SWS_DM_00777]), 모니터 포트([SWS_DM_01089]) 또는 인증([SWS_DM_01131])에서와 마찬가지로, StopOffer은(는) 추가적인 수신 요청을 전달할 수 있는 권한을 DM으로부터 회수합니다.

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

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

Header-Datei#include "ara/diag/sovd_service_validation.h"
Scopeclass ara::diag::SovdServiceValidation
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_01826
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01826@rel:R25-11#25c231d2
Content hash
25c231d2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01826
Status: valid/unmigrated Version: rel:R25-11#86e867c3 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_01826@rel:R25-11#86e867c3
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#27731bd22026-09-30
  • R23-11rel:R23-11#2f946d222026-10-14
  • R24-11rel:R24-11#3542c6992026-10-14
  • R25-11rel:R25-11#86e867c32026-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_01827] Upstream: RS_Diag_04256, RS_Diag_04273

virtual ara::core::Future< void > Validate (SovdRequestMethod request Method, const MetaInfo &metaInfo) noexcept;

Called for every SOVD request message. Will be called multiple times if the request is for a resource collection: • once for the resource collection, • once for each resource in the resource collection.

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

사용

ara::diag::SovdServiceValidation::Validate 메서드는 수신되는 각 SOVD 요청 메시지에 대해 Diagnostic Management (DM)에 의해 호출됩니다([SWS_DM_01827]). 리소스 컬렉션에 대한 요청인 경우 호출이 여러 번 발생합니다. 즉, 컬렉션 자체에 대해 한 번 호출된 후 포함된 각 개별 리소스에 대해 호출됩니다([SWS_DM_01827]). DM은 구성된 모든 DiagnosticSovdServiceValidationPortMapping 인스턴스에 대해 정해진 순서대로 호출을 수행하며, 이때 각 리소스 경로는 매개변수 metaInfo을(를) 통해 전달됩니다(AUTOSAR_AP_SWS_Diagnostics §7.3.3.2.4 “SOVD – Service Validation of Requests”). 이 함수는 metaInfo 외에도 HTTP 메서드 requestMethod을(를) 전달받습니다([SWS_DM_01827]). 실행은 비동기식으로 이루어지며, 유효성 검증을 확인하거나 오류를 전달하는 ara::core::Future<void>을(를) 반환합니다([SWS_DM_01827]).

오류 처리

어떤 리소스에 대해 Validate 호출이 오류를 반환하면, DM은 추가적인 요청 처리를 즉시 중단하고 지체 없이 SOVD 클라이언트에 오류를 보고합니다(AUTOSAR_AP_SWS_Diagnostics §7.3.3.2.4 “SOVD – Service Validation of Requests”). DiagSovdErrc의 특정 오류 코드에는 잘못된 서버 구성 시 kSovdServerMisconfigured, 전제 조건 위반 시 kPreconditionNotFulfilled, 일시적 사용 불가 시 kTemporarilyNotAvailable, 그리고 권한 부재 시 kInsufficientAccessRights이(가) 포함됩니다([SWS_DM_01827]). 해석: 보고된 오류는 서버에 의해 클라이언트를 위한 해당 HTTP 오류 상태 코드로 변환될 것으로 추정됩니다. 질문 Q-2734018f9a543b51 (열림)

동시성 및 제약사항

이 함수는 noexcept(으)로 선언되어 있으므로 예외로부터 안전합니다([SWS_DM_01827]). 스레드 안전성은 조건부(conditional)로 명시되어 있습니다. 구현이 스레드 안전하게 설계되어야 하는지 여부는 인스턴스화 시 전달된 ConcurrencyType이(가) 결정합니다([SWS_DM_01827]).

상호 작용

이 함수는 제조업체 및 공급업체 콜아웃([SWS_DM_01252], [SWS_DM_01253])을 위한 UDS 기반 유효성 검증 ara::diag::ServiceValidation::Validate([SWS_DM_00774])과 구분됩니다. 마찬가지로 ara::diag::SovdAuthorization::ValidateAuthorization을(를) 통해 수행되는 권한 부여 검사([SWS_DM_01483], [SWS_DM_01470])와도 분리되어 있습니다. 메서드 호출 전에 DM은 추가로 환경 조건([SWS_DM_01468])을 검사하며, 이를 충족하지 못하면 HTTP 상태 503으로 응답합니다([SWS_DM_01466]).

이 참고 사항은 AUTOSAR 사양 R25-11을 기반으로 AI에 의해 생성되었습니다.

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

Header-Datei#include "ara/diag/sovd_service_validation.h"
Scopeclass ara::diag::SovdServiceValidation
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
requestMethodThe HTTP method used in the SOVD request message.
metaInfoMetaInfo of the request (includes the path of the requested resource or resource collection).

Rückgabewert

TypBeschreibung
ara::core::Future< void >Value if the request is allowed, or an error.

Fehler

FehlercodeBeschreibung
DiagSovdErrc::kSovdServerMisconfiguredrollback_semantics The SOVD server is not configured correctly, e.g. required configuration files or other data is missing.
DiagSovdErrc::kPreconditionNotFulfilledrollback_semantics The preconditions to execute the method are not fulfilled.
DiagSovdErrc::kTemporarilyNotAvailablerollback_semantics The request currently can’t be served, e.g. in case the access token currently can’t be verified (e.g. because online verification is needed and the authentication server can’t be reached).
DiagSovdErrc::kInsufficientAccessRightsrollback_semantics The SOVD client does not have the right to access the resource.
Hinweise: Or any other DiagSovdErrc for an SOVD-specific error message.

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

Record
AUTOSAR/AP/record/SWS_DM_01827
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01827@rel:R25-11#73213bd2
Content hash
73213bd2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01827
Status: valid/unmigrated Version: rel:R25-11#50e04e48 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_01827@rel:R25-11#50e04e48
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#c71bec3d2026-09-30
  • R23-11rel:R23-11#5053aa042026-10-14
  • R24-11rel:R24-11#51fa3be32026-10-14
  • R25-11rel:R25-11#50e04e482026-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

함수 ~SovdServiceValidation [SWS_DM_01824] Upstream: RS_Diag_04256

virtual ~SovdServiceValidation () noexcept;

Destructor of SovdServiceValidation.

Header-Datei#include "ara/diag/sovd_service_validation.h"
Scopeclass ara::diag::SovdServiceValidation
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_01824
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01824@rel:R25-11#b4d01a0f
Content hash
b4d01a0f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01824
Status: valid/unmigrated Version: rel:R25-11#1ba0bac6 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_01824@rel:R25-11#1ba0bac6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#b0aca7212026-09-30
  • R23-11rel:R23-11#de0994492026-10-14
  • R24-11rel:R24-11#229651762026-10-14
  • R25-11rel:R25-11#1ba0bac62026-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