OS will provide POSIX PSE51 interfaces to the application but Adaptive Platform will require further features
Platform Health Management
Alive Supervision
Execution Management
Lifecycle management of platform (machine) and application (process) incl. privileges of access control and machine states
Communication Management SOME/IP based including serialization and service discovery. publish/subscribe mechanism for intra- and inter-ECU communication.
Diagnostics
Event memory management and diagnostic service handling.
Update and Configure Management
UCM is responsible for updating, installing, deleting and saving software records on the adaptive platform
State Management
Mainly responsible for the state switching of the entire machine state and its functional groups, and notify the EM to perform related state switching.
RESTful
It is a design style and development method of web application, based on HTTP, can use XML format definition or JSON format definition.
ldentity and Access Management
Introduces separation of privileges for adaptive applications and prevents privilege escalation during attacks
Log And Truce
Use AUTOSAR standard protocol DLT, function similar to Glog(google).
Time Synchronization
For time synchronization between different systems, the accuracy can reach sub-microsecond level
Cryptography
Provides APIS for common encryption operations and security key management.
Signal to Service
can总线是以信号为基础的
COnversion from data signal to service
1.Execution Management与State Management的关系
2.Service-oriented communication
SW components executed on the adaptive platform will use service-oriented communication.
Communication paths can be established at design- and at run-time.
Transport layer Security/TLS (1)TLS报文:LS是在SSL的基础上标准化的产物,目前SSL3.0与TLS1.0保持一致,二者是并列关系。SSL/TLS位于传输层和应用层之间,应用层数据不再直接传递给传输层,而是传递给TLS层,TLS层对从应用层收到的数据进行加密,并增加自己的TLS头。 (2)实验六 TLS协议报文解析
Design and Implementation
Code Generation
Service Discovery finds all local and remote Service Instances in the System.
Available Service Instances are represented by Proxies (P1…P3) to the Application.
Application can choose which Service Instance(s) to use.
2.Diagnostic Management
Feature:
ISO 14229-5(UDSon IP)
including fault-memory(DTL)handing
including transport layers(ie.DoIP - ISO 13400-x)
ARA service: Uses ara::com interface
3.Persistency
In AUTOSAR Adaptive the Persistency cluster provides a library based implementation to access non-volatile memory to Adaptive Applications so that data can be stored non volatilely.
Key-Value Storage
Multiple values stored in one storage location
Addressing of single values by using a key as idefier
Multiple storage locations/databases can be used
Database format not specified by AUTOSAR
Stream Storage
Raw access to storage locations/files
Used for access to files in any format
API derived from C++ Standard Library std::fstream classes
4.Log and Trace
The AUTOSAR Adaptive Platform Logging provides interfaces for Applications to initialize a Logging framework, forwarding logging information and to convert decimal values into the hexadecimal or binary system.
There are three main storage media for this function :Terminal, File. and Remote Client.
Main Tasks
Provide interfaces for Adaptive applications to forward logging data.
Provide interfaces for data conversion (Hex, Dec, Bin).