Software-Defined Vehicles · Software architecture
Service-Oriented ArchitectureSOA
Also known as service-oriented communication, service-based architecture
A software architecture in which functions are offered as services with defined interfaces that clients discover and use at runtime, instead of through fixed, design-time signal routing between specific ECUs.
Explanation
In automotive software, SOA contrasts with classic signal-based communication, where each CAN signal's sender, receivers and timing are fixed in a network description at design time. AUTOSAR defines service-oriented communication as communication whose partners are generally not fixed at design time but discovered and bound at runtime, and its Adaptive Platform is built around this model.
A service bundles methods (request/response calls), events (notifications) and fields (values with getters, setters and change notification). Transport is typically SOME/IP or DDS over automotive Ethernet, with service discovery announcing which instance is available where. Gateways translate between services and legacy signals so CAN- and LIN-based ECUs remain usable.
SOA makes it easier to add, move or update functions, but dynamic binding complicates timing analysis, safety arguments and security: services need authentication and access control, and worst-case latency must still be verified for time-critical paths.
How it works
A provider implements a service interface and offers an instance, which service discovery announces on the network. A consumer finds the service, subscribes to events or calls methods through generated proxy code; the provider implements the matching skeleton. Middleware serialises data, selects a transport (shared memory locally, SOME/IP or DDS over Ethernet remotely) and enforces configured access rights. Versioned interfaces let providers and consumers evolve separately.
Automotive applications
- AUTOSAR Adaptive applications on HPCs
- Cross-domain functions in zonal architectures
- Exposing vehicle functions to apps and cloud services
- Relocating functions between ECUs
Example
A seat-heating service on a zone controller offers a SetLevel method and a CurrentLevel field. The infotainment app and a remote-climate cloud function both discover the service and call SetLevel; neither needs to know which ECU hosts it or how the heater is wired.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- Glossary (AUTOSAR_FO_TR_Glossary, Document ID 55), Release R24-11 (opens in a new tab)
“Communication, for which communication partners are generally not defined during design time, but dynamically discovered and bound during runtime.”
- Adaptive Platform (opens in a new tab)
“The AUTOSAR Adaptive Platform standard specifies a runtime environment for automotive applications on µ-processor systems.”
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.