E2E 是End to End的简称,是黑盒测试的一种。
编写测试用例,模拟用户操作,确保组件(或零件)间通信正常,数据流传递如逾期。
E2E的目的是提高SWC间通信的安全性。预防通信错误。
参考:4.3.1\Communication.zip\Communication\AUTOSAR_SRS_E2E.pdf
To provide a safe End-to-End communication between SWCs, a solution shall be integrated within the AUTOSAR methodology which does require no or low additional non-standard code (like wrappers above RTE).
The functionality of End-to-End communication protection is to be supported by the following AUTOSAR modules:
E2E Library
E2E Transformer
The E2E transformer provides
Abstraction of communication in conformance to RTE API
Protection of the serialized exchange of information that is exchanged by COM stack via RTE independent of RTE implementation and RTE internal data types
Interface to E2E library
The E2E library provides
The definition of profiles 1, 2, 4,5, 6, 7, 11 and 22 including check and protect functions.
A state machine describing the logical algorithm of E2E monitoring independent of the used profile.
If these modules are used for communication protection RTE, Transformer, E2E Transformer, E2E Library, CRC Library, OS context switch and scheduling are assumed to be safety-related modules. Therefore, in a mixed ASIL environment, it has to be shown by a safety analysis, that QM or low ASIL software has no access to the E2E buffer so that freedom from interference can be ensured.