AUTOSAR E2E
E2E通信保护协议机制
考虑到E2E通信保护协议需要涵盖各种大小的交换数据和不同类型的物理总线介质,AUTOSAR 提供了一系列的 E2E Profiles(配置文件?不知道怎么翻译...)。每一个 Profile 提供了一套数据保护机制。虽然每个 E2E Profile 都有不同的算法,但都是以下数据保护机制的子集(或者说组合):
CRC:循环冗余校验
Sequence Counter(顺序计数器): A Sequence Counter is incremented at every transmission request, and the value is checked at the receiver side for correct incrementation;
Alive Counter(活动计数器): An Alive Counter is incremented at every transmission request, the value is checked at the receiver side if it changes at all, but correct incrementation is not checked;
Date ID: A specific ID for every port data element sent over a port or a specific ID for every message group (global to the system, where the system may contain potentially several ECUs);
Timeout detection:① Receiver communication timeout;② Sender acknowledgment timeout;
通过不同的数据保护机制组合,实现不同的通讯故障诊断要求(detectable communication faults)。
以 E2E Profile4 为例,其可以检测的通讯故障为:
Detectable communication faults using Profile 4
备注:
1. E2E 是一种信息传输保护协议或者叫机制,而 CRC 只是数据校验的一种方法。CRC 校验只是 E2E 保护机制中的一种。E2E 选择 CRC 校验方法,可能是考虑这种校验方式失效模式整体覆盖率较高的缘故[4]。
2. 数据校验方式有很多种,包括奇偶校验,CRC循环冗余校验,md5校验和数字签名,Checksum总和校验等。

浙公网安备 33010602011771号