communication management in automotive service-oriented

23
Communication Management in Automotive Service-Oriented Architectures Trista Lin , David Fernandez Blanco, Juleixis Guariguata IEEE SA Ethernet & IP @ Automotive Technology Day 2021 1 2021/11/03 Stellantis IEEE SA Ethernet & IP @ Automotive Technology Day

Upload: others

Post on 06-Feb-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Communication Management in Automotive Service-Oriented

Communication Management in Automotive Service-Oriented Architectures

Trista Lin, David Fernandez Blanco, Juleixis Guariguata

IEEE SA Ethernet & IP @ Automotive Technology Day 2021

1

2021/11/03

Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day

Page 2: Communication Management in Automotive Service-Oriented

AGENDA

E/E ARCHITECTURE OVERVIEW

SOA COMMUNICATION PROTOCOLS

TAKEAWAYS & PERSPECTIVE

2/21Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day2021/11/03

Page 3: Communication Management in Automotive Service-Oriented

AGENDA

E/E ARCHITECTURE OVERVIEW

SOA COMMUNICATION PROTOCOLS

TAKEAWAYS & PERSPECTIVE

2/21Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day2021/11/03

Page 4: Communication Management in Automotive Service-Oriented

VEHICLE DESIGN TREND

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 3/21

Sen

sors

Act

uat

ors HW

Apps

OS

Cloud

Sen

sors

Act

uat

ors HW

Apps

Car.OS(Multi OS+MW)

Cloud Hardware-definedOff the lot = Depreciation

Software-definedUpdate = Appreciation

Service Oriented Architecture

Domain → Cross-Domain → Zonal architecture

Infrastructure Virtualization

Software Services

SDK providing standard APIs

Page 5: Communication Management in Automotive Service-Oriented

WHAT ACCELERATES SOA

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 4/21

• Continuous improvement− Connectivity & OTA

• Self or cooperative driving − AD/ADAS & V2X

• Cross-domain needs− Domain overlapping between ADAS, HMI, energy,

connectivity, etc.

• In-car Marketplace− Apps and features on demand

• New vehicle ownership − Carsharing, user profiling, etc.

• Scalable car platform− Seamless integration and software modularity

• Software complexity− Decoupling, integration, versioning, variant

management, etc.

• Time to market − Reduce Complexity and facilitate integration

Connectivity

Autonomous Driving

Shared Mobility

Electrification

Page 6: Communication Management in Automotive Service-Oriented

TOWARDS SOA – TARGET

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 5/21

ECU ECU ECU

ITInfrastructure

Autosar RTOS Unix-like

App

App

App

App

App

App

App

App

App

App

App

App

Page 7: Communication Management in Automotive Service-Oriented

Virtualization

Autosar

RTOS

Unix-like

Unix-like

Autosar

Autosar

RTOS

RTOS

Unix-like

TOWARDS SOA – TARGET

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 5/21

ECU ECU ECU

ITInfrastructure

App

App

App

App

App

App

App

App

App

App

App

App

SOA communication middleware

App

App

App

App

App

App

App

App

App

App

App

App

Data-centricModularityReusabilitySimplify: • New use case adding• Data interfaces

Virtualized E/E Architecture• System (HW & OS)• Network

E/E Architecture

HW abstractionResource optimizationReconfigurabilitySimplify: - Resource management

interfaces - Service allocation

From signal to serviceService discoveryHW/SW decoupling

SOA requires a service-oriented infrastructure

Page 8: Communication Management in Automotive Service-Oriented

Virtualization

Autosar

RTOS

Unix-like

Unix-like

Autosar

Autosar

RTOS

RTOS

Unix-like

TOWARDS SOA – IMPLEMENTATION

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 6/21

ECU ECU ECU

ITInfrastructure

App

App

App

App

App

App

App

SOA communication middleware

App

App

App

App

App

App

App

App

App

App

App

App

App

ECU

Autosar

App

App

App

Protocol & OS independent

Protocol & OS dependent

HW independent

HW dependent

Key points:

• Heterogeneity

• Coexistence

• Boundary

• Standardization

Legacy ECU Zonal ECU Central ECU

SOA

App

App

OB

JO

BJ

OB

JO

BJ

OB

JO

BJ

OB

JO

BJ

OB

JO

BJ

OB

JO

BJ

OB

J

OB

J

OB

J

OB

JO

BJ

OB

JO

BJ

OB

JO

BJ

OB

JO

BJ

OB

JO

BJ

OB

JO

BJ

OB

JO

BJData modeling / API

OB

J

OB

J

OB

J

OB

J

OB

J

OB

J

Page 9: Communication Management in Automotive Service-Oriented

AGENDA

E/E ARCHITECTURE OVERVIEW

SOA COMMUNICATION PROTOCOLS

TAKEAWAYS & PERSPECTIVE

7/21Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day2021/11/03

Page 10: Communication Management in Automotive Service-Oriented

TURNING POINTS IN THE E/E ARCHITECTURE EVOLUTION

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 8/21

Ethernet & IP enable the deployment of centralized architecture

Standardization of protocol deployment: - Data model definition- Data version evolution- Software stack evolution- Non-functional variant management

SOA architecture style seems to be the solution for reducing the actual complexity

(Source: C. Buckl et al., "The software car: Building ICT architectures for future electric vehicles," IEEE International Electric Vehicle Conference, 2012)

Automotive E/E Architecture Evolution Cycles

Page 11: Communication Management in Automotive Service-Oriented

SOA CONCEPT

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 9/21

Why communication management?

Service Registry

Service Consumer

Service Provider

Register

Bind, Execute

Find

Service Provider

Data logging

Network monitoring

Orchestration

StatisticsError

handling

Auto-scaling

Load balancing

Self-Healing

Service Consumer

Service Consumer

Service Provider

Service Provider

Service Consumer

Control services

Service Registry

Service Consumer

Service Bus

Service Provider

Virtualized E/E Infrastructure

A service is:

- A software service

- Self-contained

- A black box to service consumers

- May be composed of other services

- Independently deployable

- Independently updatable

Page 12: Communication Management in Automotive Service-Oriented

SOA PRINCIPLES

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 10/21

Service Bus

Virtualized E/E Infrastructure

Modularity

Application Abstraction

Granularity

Service Composition

Reusability

Infrastructure Virtualization

Scalability

Loose coupling

Fault Tolerance

Flexibility

Orchestration

Open Standards

Standardization

Interoperability

Simplicity

Reduced Complexity

Data logging

Network monitoring

Orchestration

StatisticsError

handling

Auto-scaling

Self-Healing

Control services

ClientImplementation

ServiceImplementation

Stub/proxy Skeleton

ServiceInterfacedefinition

Load balancing

Service scheduling

APIService

allocation

Interface evolution

SOA = Software + Network + Business process

Page 13: Communication Management in Automotive Service-Oriented

TimeSpace EXISTING NOW FUTURE

Off

boar

dIn

fras

truc

ture

Onb

oard

Infr

astr

uctu

reA

utom

otiv

eSo

ftw

are

SOA FOR CAR PLATFORM EVOLUTION

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 11/21

ECU

RTE

ECU

RTE

ECU

OSIT

ECU ECU ECUIT

Car OS

ECU

RTE

ECU ECU ECU ECU IT

Virtualization

ECU ECU ActuatorSensor

Page 14: Communication Management in Automotive Service-Oriented

SOA COMMUNICATIONS

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 12/21

HW HW HW HW HW

Virtualization

Middleware

SW SW SW SW SW SW SW SW SW

Process Process

Memory

Shared memory (mapped)

Shared memory (mapped)

Process(child process)

Process(child process)

Kernel(parent process)

Signal Shared MemoryFileMemory-mapped file

TCPIP

Process Process

socket

D-BusRemotingNGSocket…

Inter-process communication (IPC) protocol(same machine)

Communication protocols(machine-free)

TCPIP

Process Process

HTTPMQTTWebSocketSOME/IPDDSRPC…..IPC over TCP

Socket-based communication

• IPC (inter-process communication)

• Communication protocols

Page 15: Communication Management in Automotive Service-Oriented

AUTOMOTIVE SOA COMMUNICATION ARCHITECTURE

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 13/21

C-ECUZ-ECU T-Box

Safety island Virtualization

Z-ECU

Virtualization

ClassicAutosar

ClassicAutosar

AdaptiveAutosar

Unix-like

Unix-likeClassic

Autosar Cloud Infrastructure

HTTP/Rest

SOME/IP (-SD)

DDS

MQTT

HTTP/Rest

DDS

OPC UA

WebSocket

CoAP

AMQPSoAd / TCP or UDP based

Urban Infrastructure

Factory AutomationInfrastructure

Page 16: Communication Management in Automotive Service-Oriented

SOA PROTOCOL COMPARISON

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 14/21

SOA Criteria AMQP MQTT DDS SOME/IP OPC UA CoAP HTTP/REST WebSocket

Communication Paradigm P/S P/S P/S P/S | R/R P/S | R/R P/S | R/R R/R R/R

Topology N-1-N or 1-1 N-1-N N-N 1-N | N-1 N-1 | N-1-N or N-N N-1 | N-1-N N-1 N-1

OS Available L, A L, A, ~AA L, A, AA L, ~A, CA, AA L, A, ~AA L, A, ~AA L, A, ~AA L, A, ~AA

IDL - Franca* OMG Franca OMG - REST, Franca* WEB, Franca*

Discovery ✘ ✘ Data Service Server ✘ ✘ ✘

Asynchronous available ✓ ✓ ✓ ✓ ✓ ✓ ✘ ✓

Broker-based ✓ | ✘ ✓ ✘ ✘ ✓ | ✘ ✘ ✘ ✘

QoS Awareness Availability Reliability ✓ ✘ ✘ ✘ ✘ ✘

TLS / DTLS TLS TLS TLS/DTLS TLS/DTLS TLS/DTLS DTLS TLS TLS

Extra Security in the protocol

Session authentication Session authenticationSession authentication

Operation access controlData authenticationData confidentiality

Session authenticationData confidentiality

Operation access control(Separated study) (Separated study)

(Separated study)Session authentication

Application CloudCar-Cloud & In-

VehicleIn-Vehicle In-Vehicle Car-Cloud Car-Cloud

Car-Cloud & In-Vehicle

Car-Cloud & In-Vehicle

R/R = Request/Response; P/S = Publish/Subscribe. L = Linux; CA= Classic Autosar; AA= Adaptive Autosar; A= Android.* Require extra convertor to use FrancaIDL.

Page 17: Communication Management in Automotive Service-Oriented

SOA PROTOCOLS

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 15/21

SOME/IPDDS OPC UA

Data addressingNon-legacy ECU communicationApp abstraction thru named network dataData discovery / Location transparence

Interoperability

Data modelingNon-legacy ECU communicationProtocol abstraction thru common data modelsServer discovery (host/session discovery)

Service interfaceLegacy ECU communicationService discovery

Automotive SOA

Shared service

Data-centric

Databus

(Source: omg.org/spec/DDS)

(Source: autosar.org)

(Source: opcfoundation.org)

Page 18: Communication Management in Automotive Service-Oriented

AUTOMOTIVE SOA CHALLENGES

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 16/21

• Ensure the solution is compatible with the multiple ecosystems existing in the car (Classic and Adaptive Autosar, Android, Linux, etc)

• Define and comply with standards and the global deployment pipelinesHeterogeneity

• Deploy dynamic services from stateful to stateless in terms of security certifications, capacities, etc.

• Reduce service complexity (towards fine-grained services)

• Respect the latency limits required by actual and new applicationsDynamicity

• Develop new interface and network standards and all the control layer services

• Evolve the development and testing process of new software requirements

• Transform or repackage the legacy applications for new SW contexts

Development Process

• Maintain lightweight consumption for the control-plane services and SOA related mechanisms

• Handle simultaneously different types of communication protocols (pub/sub, req/resp…) and different QoS levels

Resource Consumption

• Handle compatibility vulnerabilities of onboard/offboard heterogeneous SW contexts.

• Rethink and adapt the current failover mechanisms to meet safety requirements

• Deploy security mechanisms to prohibit the unauthorized access to the local/remote attack surface

RAMS & Cybersecurity

Page 19: Communication Management in Automotive Service-Oriented

AGENDA

E/E ARCHITECTURE OVERVIEW

SOA COMMUNICATION PROTOCOLS

TAKEAWAYS & PERSPECTIVE

17/21Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day2021/11/03

Page 20: Communication Management in Automotive Service-Oriented

IMPORTANCE OF CONTROL PLANE IN SOA ARCHITECTURE

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 18/21

Data plane

SOA

The EE infrastructure is transparent for services thanks to the control plane

Network access control

Load balancing

Network virtualization

Network diagnosis

Data optimization

Dynamic flow mapping

QoS management

Lifecycle management

Vehicle state management

Service monitoring

Control plane

. . .

New services in SOA-compatible EE Architecture

Some services may stay in control plane

EE

Architecture

OS/Container/RTE OS/Container/RTE

Hardware drivers

Hypervisor

OS/Container

/RTEOS/Container/RTE OS/Container/RTE

Hardware drivers

Hypervisor

OS/Containe

r/RTE

OS/Contai

ner/RTE

Hardware

drivers

OS/Container/

RTE

Hardware

drivers

Hypervisor Cloud

Orchestration in control plane- Task Assignment

- Network Supervision

- Error Handling

- Dynamic Reconfiguration

SOA Middleware / API

Serv

ice 1

Serv

ice 2

Serv

ice 3

Serv

ice N

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

SOA SOA SOA SOA

SOTA/FOTA/AOTA update

OBJ OBJ OBJ OBJ

Page 21: Communication Management in Automotive Service-Oriented

SOA requires the communication management and the service-oriented infrastructure

Standardization is the key to reduce the actual complexity

Different protocols aim at solving different problems, i.e., legacy vs interoperability vs data-centric

Complicated to unify communication protocols, but easier to unify data/information models

Data abstraction interface is essential for SOA deployment, i.e., API

Both data interface and software components are updatable and require branching and merging strategies

Explicit service design policy for data and control planes, respectively

HW/SW decoupling thanks to control plane

TAKEAWAYS

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 19/21

Page 22: Communication Management in Automotive Service-Oriented

TOWARDS DATA-CENTRIC

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day 20/21

While looking at the evolution of…

From TCP/IP to information-centric network

From 5G to 6G

(Source: named-data.net)

(Source: M. Giordani et al "Toward 6G Networks: Use Cases and Technologies," in IEEE Communications Magazine, vol. 58, no. 3, pp. 55-61, March 2020)

The trend is towards Data-centric

Data modeling Data addressing, i.e., topic or named data

Neither data producer nor data consumer is permanent. Apps are short-lived, constantly added/updated/removed.

Few programming effortScalable software architecture

ECU ECU ECU IT

Virtualization

ECU ECU ActuatorSensor

Page 23: Communication Management in Automotive Service-Oriented

Q&A Time

21/21

Q&A TIME

1990’s 2000’s

2010’s ?

Evolution of Software Architecture

(Source: techtarget.com)

2021/11/03 Stellantis ─ IEEE SA Ethernet & IP @ Automotive Technology Day