DEENESPTFRRUARHIKOZHNL

بنية ara::tsync::TimeSlaveMeasurementType

[SWS_TS_00415] Upstream: RS_TS_00034 لم يُستورد النص بعد

struct TimeSlaveMeasurementType final {...};

Structure with detailed data for validation of the Time Slave .

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Forwarding-Header#include "ara/tsync/tsync_fwd.h"
Scopenamespace ara::tsync

دليل المستخدممولَّد بالذكاء الاصطناعي

يوفر بيانات القياس الزمنية والبروتوكولية لدورة المزامنة بغرض التحقق من صحة Time Slave.
مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 8110e02020a5 المصدر أسئلة مفتوحة (2)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

يوفر بيانات القياس الزمنية والبروتوكولية لدورة المزامنة بغرض التحقق من صحة Time Slave.

تُستخدم هذه البنية لتسجيل وتوفير بيانات القياس والبروتوكول التفصيلية للتحقق المستمر من صحة سلوك المزامنة لـ Time Slave [SWS_TS_14156]. وتحقيقًا لهذه الغاية، تجمع الطوابع الزمنية الخارجية وقيم التصحيح لرسائل المزامنة المستلمة مع قيمة تأخير المسار الصالحة حاليًا بالإضافة إلى الطوابع الزمنية المرجعية المحلية [SWS_TS_14155]. ولكونه كائن بيانات غير فعال، لا يمتلك هذا النوع منطق تحكم خاصًا به، ويُرجح عادةً إنشاء مثيل له لكل دورة مزامنة وتمريره إلى مكونات تحليل عليا للتحقق من المعقولية. سؤال (مفتوح)

السياق

تُستخدم البنية ara::tsync::TimeSlaveMeasurementType ضمن Functional Cluster المسمى Time Synchronization (tsync) لتوفير بيانات قياس تفصيلية للتحقق من صحة Time Slave. وفي إطار الاتصال المتزامن زمنيًا في أنظمة AUTOSAR الموزعة، يتطلب تأمين الدقة الزمنية تحققًا موثوقًا من خطوات المزامنة. وتعمل البنية هنا كوعاء بيانات قياسي يجمع قيم القياس ذات الصلة بالبروتوكول لدورة مزامنة واحدة.

تشارك ثلاثة مكونات رئيسية في هذا التفاعل: Time Master خارجي، وTime Slave المستلم، وكيان لاحق للتحقق أو التشخيص. يستقبل Time Slave رسائل المزامنة من Master ويستخرج منها القيم المميزة الخاصة بالبروتوكول مثل رقم التسلسل sequenceId [SWS_TS_14156] لإطار Sync بالإضافة إلى قيمة التصحيح correctionField [SWS_TS_14153] ووقت الإرسال preciseOriginTimestamp [SWS_TS_14150] من إطار Follow-Up المرتبط. وبالإضافة إلى الطوابع الزمنية المحلية وقيمة تأخير المسار الحالية pDelay [SWS_TS_14155]، يتيح Time Slave هذه البيانات لكيان التحقق لتقييم جودة المزامنة.

دورة الحياة

كوعاء بيانات خالص (struct ... final)، لا يمتلك ara::tsync::TimeSlaveMeasurementType آلة حالات خاصة به ولا أطوار دورة حياة نشطة. ويُرجح عادةً إنشاء مثيلاته ككائنات قيم عابرة على مكدس العمليات (Stack) أو في مخازن مؤقتة داخلية بمجرد معالجة زوج مرتبط من إطاري Sync وFollow-Up بواسطة Time Slave. سؤال Q-d6401d9eff1764d3 (مفتوح) وخلال مرحلة التهيئة هذه، يتم ملء جميع السمات على نحو متسق، بما في ذلك الطوابع الزمنية المرجعية للجزء العام referenceGlobalTimestamp [SWS_TS_14151] والجزء المحلي الافتراضي referenceLocalTimestamp [SWS_TS_14154] بالإضافة إلى طابع وقت الوصول syncIngressTimestamp [SWS_TS_14152].

بعد التعبئة، يتم تمرير الكائن إلى منطق التحقق والتقييم. وبما أن البنية لا تتضمن أي آليات مزامنة للوصول المتزامن، يجب على التطبيقات ضمان توفير مزامنة خارجية أو التمرير بالنسخ عند التمرير عبر خيوط متعددة. وبمجرد اكتمال فحص معلمات المزامنة، تنتهي دورة حياة الكائن عبر تحرير الذاكرة بصورة اعتيادية.

مسار الاستخدام

يتبع التسلسل القياسي لتسجيل وتوفير بيانات القياس تسلسل بروتوكول المزامنة:

  1. استلام إطار Sync: عند وصول إطار المزامنة، يسجل Time Slave وقت الوصول بالتوقيت المحلي الافتراضي كـ syncIngressTimestamp [SWS_TS_14152] ويعتمد sequenceId [SWS_TS_14156].
  2. استلام إطار Follow-Up: تتم قراءة وقت الإرسال preciseOriginTimestamp [SWS_TS_14150] وحقل التصحيح correctionField [SWS_TS_14153] من الرسالة اللاحقة.
  3. دمج المعلمات المحلية: يضيف Time Slave قيمة تأخير الانتشار المحددة حاليًا pDelay [SWS_TS_14155] والزوج المرتب للوقت المكون من referenceGlobalTimestamp [SWS_TS_14151] وreferenceLocalTimestamp [SWS_TS_14154] في البنية.
  4. التمرير للتحقق: يتم نقل البنية المدمجة إلى كيان التحقق، والذي يفحص البيانات بحثًا عن أي انحرافات.
تسجيل بيانات القياس وتوفيرها للتحقق من Time SlaveTime MasterTime SlaveValidierungsinstanzSync-Frame sendensyncIngressTimestamp وsequenceId erfassenFollow_Up-Frame sendenpreciseOriginTimestamp وcorrectionField auslesenpDelay وزوج SyncLocal المرتبالدمج في البنيةتمرير TimeSlaveMeasurementType

مخطط التسلسل: مسار تسجيل بيانات القياس لدى Time Slave لأغراض التحقق. المصادر: [SWS_TS_14150]، [SWS_TS_14152]، [SWS_TS_14153]، [SWS_TS_14156].

سيناريوهات الأخطاء

نظرًا لأن ara::tsync::TimeSlaveMeasurementType تمثل بنية بيانات غير فعالة خالية من الأساليب، فإنها لا تطلق استثناءات ولا تبلغ عن رموز خطأ بنفسها. وتتجلى حالات الخطأ بصورة غير مباشرة من خلال معقولية القيم الواردة بها:

  • الإطارات المفقودة أو خلل الترتيب: تشير الفجوة أو القفزة في sequenceId [SWS_TS_14156] إلى إطارات تم إسقاطها أو مشكلات في وقت التشغيل على وسيط النقل.
  • تأخير مسار قديم أو غير صالح: تؤدي القيمة غير المعقولة أو المفقودة في pDelay [SWS_TS_14155] إلى أخطاء حسابية في تعويض وقت الانتشار.
  • تناقضات الطوابع الزمنية: يشير عدم الاتساق بين syncIngressTimestamp [SWS_TS_14152] والزوج المرتب المحلي المكون من referenceGlobalTimestamp [SWS_TS_14151] وreferenceLocalTimestamp [SWS_TS_14154] إلى أخطاء في المزامنة أو انحراف في الساعة المحلية.

لذلك، يجب على الكيانات القائمة بالتقييم التحقق من اكتمال ومعقولية بنية البيانات قبل معالجتها بصورة أعمق.

يستند هذا الدليل إلى مواصفات AUTOSAR الخاصة بـ Adaptive Platform الإصدار R25-11 وقد تم إنشاؤه آليًا.

خريطة الأعضاء

مخطط الفئة

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

G nara__tsync__TimeSlaveMeasurementType161 «struct» TimeSlaveMeasurementType + correctionField + pDelay + preciseOriginTimestamp + referenceGlobalTimestamp + referenceLocalTimestamp + sequenceId + syncIngressTimestamp

عرض التفاصيل

اختر عنصرًا من المخطط.

الثوابت

correctionField متغير

correctionField taken from the received Follow_Up frame

std::int64_t correctionField;
pDelay متغير

currently valid pDelay value

preciseOriginTimestamp taken from the received Follow_Up frame

ara::tsync::Timestamp preciseOriginTimestamp;

SyncLocal Time Tuple (Global Time part) .

ara::tsync::Timestamp referenceGlobalTimestamp;

SyncLocal Time Tuple (Virtual Local Time part) .

std::uint64_t referenceLocalTimestamp;
sequenceId متغير

sequence Id of received Sync frame

std::uint16_t sequenceId;

ingress timestamp of Sync frame converted to Virtual Local Time

std::uint64_t syncIngressTimestamp;

توثيق الثوابت / المتغيرات

متغير correctionField [SWS_TS_14153] Upstream: RS_TS_00034 لم يُستورد النص بعد

std::int64_t correctionField;

correctionField taken from the received Follow_Up frame

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::TimeSlaveMeasurementType
SymbolcorrectionField
Typstd::int64_t

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

Record
AUTOSAR/AP/record/SWS_TS_14153
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14153@rel:R25-11#69fce4ff
Content hash
69fce4ff
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14153
Status: valid/unmigrated Version: rel:R25-11#16933053 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_TS_14153@rel:R25-11#16933053
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2bb5ffc72026-09-30
  • R19-11rel:R19-11#30c23b422026-10-14
  • R20-11rel:R20-11#8189d0922026-10-14
  • R21-11rel:R21-11#8189d0922026-10-14
  • R22-11rel:R22-11#baeff18f2026-10-14
  • R23-11rel:R23-11#169330532026-10-14
  • R24-11rel:R24-11#169330532026-10-14
  • R25-11rel:R25-11#169330532026-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

متغير pDelay [SWS_TS_14155] Upstream: RS_TS_00034 لم يُستورد النص بعد

std::uint32_t pDelay;

currently valid pDelay value

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::TimeSlaveMeasurementType
SymbolpDelay
Typstd::uint32_t

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

Record
AUTOSAR/AP/record/SWS_TS_14155
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14155@rel:R25-11#513d9735
Content hash
513d9735
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14155
Status: valid/unmigrated Version: rel:R25-11#34f610ab 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_TS_14155@rel:R25-11#34f610ab
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#832726002026-09-30
  • R19-11rel:R19-11#f4a585242026-10-14
  • R20-11rel:R20-11#7df9cc762026-10-14
  • R21-11rel:R21-11#e1a7beb32026-10-14
  • R22-11rel:R22-11#20f8a9202026-10-14
  • R23-11rel:R23-11#34f610ab2026-10-14
  • R24-11rel:R24-11#34f610ab2026-10-14
  • R25-11rel:R25-11#34f610ab2026-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

متغير preciseOriginTimestamp [SWS_TS_14150] Upstream: RS_TS_00034 لم يُستورد النص بعد

ara::tsync::Timestamp preciseOriginTimestamp;

preciseOriginTimestamp taken from the received Follow_Up frame

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::TimeSlaveMeasurementType
SymbolpreciseOriginTimestamp
Typara::tsync::Timestamp

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

Record
AUTOSAR/AP/record/SWS_TS_14150
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14150@rel:R25-11#fd81c25c
Content hash
fd81c25c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14150
Status: valid/unmigrated Version: rel:R25-11#99ab17c7 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_TS_14150@rel:R25-11#99ab17c7
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#baa131922026-09-30
  • R19-11rel:R19-11#c9dd405f2026-10-14
  • R20-11rel:R20-11#d84f69a62026-10-14
  • R21-11rel:R21-11#d84f69a62026-10-14
  • R22-11rel:R22-11#e0032b2b2026-10-14
  • R23-11rel:R23-11#99ab17c72026-10-14
  • R24-11rel:R24-11#99ab17c72026-10-14
  • R25-11rel:R25-11#99ab17c72026-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

متغير referenceGlobalTimestamp [SWS_TS_14151] Upstream: RS_TS_00034 لم يُستورد النص بعد

ara::tsync::Timestamp referenceGlobalTimestamp;

SyncLocal Time Tuple (Global Time part) .

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::TimeSlaveMeasurementType
SymbolreferenceGlobalTimestamp
Typara::tsync::Timestamp

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

Record
AUTOSAR/AP/record/SWS_TS_14151
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14151@rel:R25-11#69a8bff8
Content hash
69a8bff8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14151
Status: valid/unmigrated Version: rel:R25-11#c53a9209 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_TS_14151@rel:R25-11#c53a9209
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5664d0692026-09-30
  • R19-11rel:R19-11#b00927ac2026-10-14
  • R20-11rel:R20-11#696b6c522026-10-14
  • R21-11rel:R21-11#0a28fd072026-10-14
  • R22-11rel:R22-11#a11a71142026-10-14
  • R23-11rel:R23-11#c53a92092026-10-14
  • R24-11rel:R24-11#c53a92092026-10-14
  • R25-11rel:R25-11#c53a92092026-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

متغير referenceLocalTimestamp [SWS_TS_14154] Upstream: RS_TS_00034 لم يُستورد النص بعد

std::uint64_t referenceLocalTimestamp;

SyncLocal Time Tuple (Virtual Local Time part) .

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::TimeSlaveMeasurementType
SymbolreferenceLocalTimestamp
Typstd::uint64_t

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

Record
AUTOSAR/AP/record/SWS_TS_14154
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14154@rel:R25-11#0dd0c781
Content hash
0dd0c781
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14154
Status: valid/unmigrated Version: rel:R25-11#da430f0c 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_TS_14154@rel:R25-11#da430f0c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0b0854ad2026-09-30
  • R19-11rel:R19-11#b6c4a6472026-10-14
  • R20-11rel:R20-11#b93801742026-10-14
  • R21-11rel:R21-11#b93801742026-10-14
  • R22-11rel:R22-11#d180e00f2026-10-14
  • R23-11rel:R23-11#da430f0c2026-10-14
  • R24-11rel:R24-11#da430f0c2026-10-14
  • R25-11rel:R25-11#da430f0c2026-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

متغير sequenceId [SWS_TS_14156] Upstream: RS_TS_00034 لم يُستورد النص بعد

std::uint16_t sequenceId;

sequence Id of received Sync frame

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::TimeSlaveMeasurementType
SymbolsequenceId
Typstd::uint16_t

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

Record
AUTOSAR/AP/record/SWS_TS_14156
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14156@rel:R25-11#fb266a68
Content hash
fb266a68
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14156
Status: valid/unmigrated Version: rel:R25-11#27161e6e 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_TS_14156@rel:R25-11#27161e6e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8321eb9d2026-09-30
  • R19-11rel:R19-11#6ad719fc2026-10-14
  • R20-11rel:R20-11#f0b0073f2026-10-14
  • R21-11rel:R21-11#9ba16c842026-10-14
  • R22-11rel:R22-11#50aef0842026-10-14
  • R23-11rel:R23-11#27161e6e2026-10-14
  • R24-11rel:R24-11#27161e6e2026-10-14
  • R25-11rel:R25-11#27161e6e2026-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

متغير syncIngressTimestamp [SWS_TS_14152] Upstream: RS_TS_00034 لم يُستورد النص بعد

std::uint64_t syncIngressTimestamp;

ingress timestamp of Sync frame converted to Virtual Local Time

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::TimeSlaveMeasurementType
SymbolsyncIngressTimestamp
Typstd::uint64_t

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

Record
AUTOSAR/AP/record/SWS_TS_14152
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14152@rel:R25-11#d6dfcc96
Content hash
d6dfcc96
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14152
Status: valid/unmigrated Version: rel:R25-11#9d3bb4cc 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_TS_14152@rel:R25-11#9d3bb4cc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#065d46272026-09-30
  • R19-11rel:R19-11#193785b32026-10-14
  • R20-11rel:R20-11#af2c02ee2026-10-14
  • R21-11rel:R21-11#2f5930572026-10-14
  • R22-11rel:R22-11#9762a2132026-10-14
  • R23-11rel:R23-11#9d3bb4cc2026-10-14
  • R24-11rel:R24-11#9d3bb4cc2026-10-14
  • R25-11rel:R25-11#9d3bb4cc2026-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