A QoS Aware Approach to Service-Oriented Communication in Future - - PowerPoint PPT Presentation

a qos aware approach to service oriented communication in
SMART_READER_LITE
LIVE PREVIEW

A QoS Aware Approach to Service-Oriented Communication in Future - - PowerPoint PPT Presentation

A QoS Aware Approach to Service-Oriented Communication in Future Automotive Networks Mehmet C akir , Timo H ackel, Sandra Reider, Philipp Meyer, Franz Korf and Thomas C. Schmidt 4 December 6 December 2019, Los Angeles, California 2019


slide-1
SLIDE 1

A QoS Aware Approach to Service-Oriented Communication in Future Automotive Networks

Mehmet C ¸akir, Timo H¨ ackel, Sandra Reider, Philipp Meyer, Franz Korf and Thomas C. Schmidt 4 December – 6 December 2019, Los Angeles, California 2019 IEEE Vehicular Networking Conference (VNC)

  • Dept. Computer Science, Hamburg University of Applied Sciences, Germany

{mehmet.cakir, timo.haeckel, sandra.reider, philipp.meyer, franz.korf, t.schmidt}@haw-hamburg.de

slide-2
SLIDE 2

Outline

  • 1. Introduction to In-Vehicle Networks
  • 2. Automotive Service Classification
  • 3. Middleware for QoS Aware Communication
  • 4. Performance Evaluation
  • 5. Conclusion & Outlook

1

slide-3
SLIDE 3

In-Vehicle Networks - State of the Art

  • Scenarios such as Autonomous driving and V2X pose new challenges on in-vehicle networks
  • Automotive services have heterogeneous communication requirements
  • Ethernet as high-bandwidth communication medium replaces legacy bus systems
  • SOME/IP introduces Service-Oriented Architecture (SOA) and promises flexibility
  • Time-Sensitive Networking (TSN) provides Quality-of-Service (QoS) with hard deadlines

2

slide-4
SLIDE 4

In-Vehicle Networks - State of the Art

  • Scenarios such as Autonomous driving and V2X pose new challenges on in-vehicle networks
  • Automotive services have heterogeneous communication requirements
  • Ethernet as high-bandwidth communication medium replaces legacy bus systems
  • SOME/IP introduces Service-Oriented Architecture (SOA) and promises flexibility
  • Time-Sensitive Networking (TSN) provides Quality-of-Service (QoS) with hard deadlines

A mechanism is missing that merges the concepts of SOA and QoS-enhanced communication for dynamically changing communication relations.

2

slide-5
SLIDE 5

Our Contributions

  • We derived four QoS classes based on automotive service requirements
  • We developed an automotive specific multi-protocol stack
  • We designed a protocol for dynamic QoS agreements
  • We evaluated the performance of our middleware in simulation

3

slide-6
SLIDE 6

Classification of Automotive Services

Examples Description Class

4

slide-7
SLIDE 7

Classification of Automotive Services

Examples Description Class

Globaly accessible high- level services Web-based Services (WS) Infotainment, Smart City 4

slide-8
SLIDE 8

Classification of Automotive Services

Examples Description Class

Globaly accessible high- level services IP-based Services (IPS) Web-based Services (WS) Infotainment, Smart City Non time-critical car control Temperature, Windows Regulator 4

slide-9
SLIDE 9

Classification of Automotive Services

Examples Description Class

Globaly accessible high- level services IP-based Services (IPS) Real-Time Services (RTS) Web-based Services (WS) Infotainment, Smart City Non time-critical car control Temperature, Windows Regulator Time-critical car control Electronic Stability Control, Rear Camera 4

slide-10
SLIDE 10

Classification of Automotive Services

Examples Description Class

Globaly accessible high- level services IP-based Services (IPS) Real-Time Services (RTS) Web-based Services (WS) Infotainment, Smart City Non time-critical car control Temperature, Windows Regulator Time-critical car control Electronic Stability Control, Rear Camera Dynamic Middleware Services 4

slide-11
SLIDE 11

Classification of Automotive Services

Examples Description Class

Globaly accessible high- level services IP-based Services (IPS) Real-Time Services (RTS) Static Real-Time Services (SRTS) Web-based Services (WS) Infotainment, Smart City Non time-critical car control Temperature, Windows Regulator Time-critical car control Electronic Stability Control, Rear Camera Safety- & time-critical car control Airbag, Brakes Dynamic Middleware Services 4

slide-12
SLIDE 12

Classification of Automotive Services

Examples Description Class

Globaly accessible high- level services IP-based Services (IPS) Real-Time Services (RTS) Static Real-Time Services (SRTS) Web-based Services (WS) Infotainment, Smart City Non time-critical car control Temperature, Windows Regulator Time-critical car control Electronic Stability Control, Rear Camera Safety- & time-critical car control Airbag, Brakes Dynamic Middleware Services Static Non-Middleware Services

An in−depth explanation can be found in the paper.

4

slide-13
SLIDE 13

Multiprotocol Approach

7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link Services QoS Middleware

WS IPS S/RTS

HTTP SOME/IP

(optional)

HTTP SOME/IP

(optional)

TCP UDP IP IP Time-Sensitive Networking enabled Ethernet Time-Sensitive Networking enabled Ethernet

5

slide-14
SLIDE 14

QoS-Negotiation Protocol

Subscriber Side Subscriber Side Publisher Side Publisher Side

Stage 2: Connection Stage 2: Connection Stage 1: Handshake Stage 1: Handshake register register

Publisher Application Subscriber Application Middleware Middleware 6

slide-15
SLIDE 15

QoS-Negotiation Protocol

Subscriber Side Subscriber Side Publisher Side Publisher Side start

Stage 2: Connection Stage 2: Connection Stage 1: Handshake Stage 1: Handshake register register register register

Publisher Application Subscriber Application Middleware Middleware 6

slide-16
SLIDE 16

QoS-Negotiation Protocol

Subscriber Side Subscriber Side Publisher Side Publisher Side start QoSRequest Check Request

Stage 2: Connection Stage 2: Connection

QoSResponse

Stage 1: Handshake [Service exists] Stage 1: Handshake [Service exists] register register register register

Publisher Application Subscriber Application Middleware Middleware

negotiate negotiate

6

slide-17
SLIDE 17

QoS-Negotiation Protocol

Subscriber Side Subscriber Side Publisher Side Publisher Side start QoSRequest Check Request Create Endpoint

Stage 2: Connection [Stage1 Success] Stage 2: Connection [Stage1 Success]

QoSResponse ConnectionRequest

Stage 1: Handshake [Service exists] Stage 1: Handshake [Service exists] register register deliver deliver register register

Publisher Application Subscriber Application Middleware Middleware Endpoint

negotiate negotiate

6

slide-18
SLIDE 18

QoS-Negotiation Protocol

Subscriber Side Subscriber Side Publisher Side Publisher Side start QoSRequest Check Request Create Endpoint ConnectionResponse

Stage 2: Connection [Stage1 Success] Stage 2: Connection [Stage1 Success]

Create Endpoint QoSResponse ConnectionRequest

Stage 1: Handshake [Service exists] Stage 1: Handshake [Service exists] register register deliver deliver register register deliver deliver

Publisher Application Subscriber Application Middleware Middleware Endpoint Endpoint

negotiate negotiate

6

slide-19
SLIDE 19

QoS-Negotiation Protocol

Subscriber Side Subscriber Side Publisher Side Publisher Side start QoSRequest Check Request Create Endpoint ConnectionResponse

Stage 2: Connection [Stage1 Success] Stage 2: Connection [Stage1 Success]

Create Endpoint Finished QoSResponse ConnectionRequest

Stage 1: Handshake [Service exists] Stage 1: Handshake [Service exists] register register deliver deliver register register deliver deliver

Publisher Application Subscriber Application Middleware Middleware Endpoint Endpoint

negotiate negotiate publish publish

6

slide-20
SLIDE 20

Performance Evaluation

  • Impact of cross-traffic on the latency of different QoS classes
  • Scaling of setup time in relation to the number of services
  • Setup time in a realistic automotive network with cross-traffic

7

slide-21
SLIDE 21

Latency Behaviour of Mixing Different QoS Classes

Publisher Node RTSSubscriber CT Node 1 CT Node 2 Critical Link IPSSubscriber Switch 1 Switch 2 Cross Traffic ≈ 950Mbit/s Linkspeed: 1Gbit/s

8

slide-22
SLIDE 22

Latency Behaviour of Mixing Different QoS Classes

0.5 0.55 0.6 0.65 0.7 0.75 0.8 20 30 40 50 Simulation time [s] LEnd2End [µs]

Publisher Node RTSSubscriber CT Node 1 CT Node 2 Critical Link IPSSubscriber Switch 1 Switch 2 Cross Traffic ≈ 950Mbit/s Linkspeed: 1Gbit/s

9

slide-23
SLIDE 23

Latency Behaviour of Mixing Different QoS Classes

0.5 0.55 0.6 0.65 0.7 0.75 0.8 20 30 40 50 Simulation time [s] LEnd2End [µs]

IPS

Publisher Node RTSSubscriber CT Node 1 CT Node 2 Critical Link IPSSubscriber Switch 1 Switch 2 Cross Traffic ≈ 950Mbit/s Linkspeed: 1Gbit/s

9

slide-24
SLIDE 24

Latency Behaviour of Mixing Different QoS Classes

0.5 0.55 0.6 0.65 0.7 0.75 0.8 20 30 40 50 LAVBMAX Simulation time [s] LEnd2End [µs]

IPS

Publisher Node RTSSubscriber CT Node 1 CT Node 2 Critical Link IPSSubscriber Switch 1 Switch 2 Cross Traffic ≈ 950Mbit/s Linkspeed: 1Gbit/s

LAVBmax = tMTU + 3 · tAVBFrame + 2 · tSwitchdelay + IPG + 2 · tNodedelay

9

slide-25
SLIDE 25

Latency Behaviour of Mixing Different QoS Classes

0.5 0.55 0.6 0.65 0.7 0.75 0.8 20 30 40 50 LAVBMAX Simulation time [s] LEnd2End [µs]

IPS RTS

Publisher Node RTSSubscriber CT Node 1 CT Node 2 Critical Link IPSSubscriber Switch 1 Switch 2 Cross Traffic ≈ 950Mbit/s Linkspeed: 1Gbit/s

LAVBmax = tMTU + 3 · tAVBFrame + 2 · tSwitchdelay + IPG + 2 · tNodedelay

9

slide-26
SLIDE 26

Latency Behaviour of Mixing Different QoS Classes

0.5 0.55 0.6 0.65 0.7 0.75 0.8 20 30 40 50 LAVBMAX Simulation time [s] LEnd2End [µs]

IPS RTS

Publisher Node RTSSubscriber CT Node 1 CT Node 2 Critical Link IPSSubscriber Switch 1 Switch 2 Cross Traffic ≈ 950Mbit/s Linkspeed: 1Gbit/s

LAVBmax = tMTU + 3 · tAVBFrame + 2 · tSwitchdelay + IPG + 2 · tNodedelay Result: QoS can be guaranteed for heterogeneous client requirements

9

slide-27
SLIDE 27

Setup Times with Increasing Numbers of Nodes

Publisher Node 1 10 . . . Switch 1 Switch 2 IPSSubscriber Linkspeed: 100Mbit/s

10

slide-28
SLIDE 28

Setup Times with Increasing Count of Nodes

2 4 6 8 10 50 100 150 200

  • No. of Subscriber Nodes

Setup Time [µs]

  • No. of Publisher Services

1

Publisher Node 1 10 . . . Switch 1 Switch 2 IPSSubscriber Linkspeed: 100Mbit/s

11

slide-29
SLIDE 29

Setup Times with Increasing Count of Nodes

2 4 6 8 10 50 100 150 200

  • No. of Subscriber Nodes

Setup Time [µs]

  • No. of Publisher Services

1 2

Publisher Node 1 10 . . . Switch 1 Switch 2 IPSSubscriber Linkspeed: 100Mbit/s

11

slide-30
SLIDE 30

Setup Times with Increasing Count of Nodes

2 4 6 8 10 50 100 150 200

  • No. of Subscriber Nodes

Setup Time [µs]

  • No. of Publisher Services

1 2 3 4 5 6 7 8 9 10

Publisher Node 1 10 . . . Switch 1 Switch 2 IPSSubscriber Linkspeed: 100Mbit/s

Result: The behaviour of the setup time is linear with the number of negotiations

11

slide-31
SLIDE 31

Setup Times with Increasing Count of Nodes

2 4 6 8 10 50 100 150 200

  • No. of Subscriber Nodes

Setup Time [µs]

  • No. of Publisher Services

1 2 3 4 5 6 7 8 9 10

Publisher Node 1 10 . . . Switch 1 Switch 2 IPSSubscriber Linkspeed: 100Mbit/s

From 40 simultaneous negotiations the maximum bandwidth of 100 Mbit/s is exceeded and the network traffic be- comes congested. Result: The behaviour of the setup time is linear with the number of negotiations

11

slide-32
SLIDE 32

Setup Times in a Realistic Automotive Network with Cross-Traffic

Legend: Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 6 11 4 5 3 1 8 12

slide-33
SLIDE 33

Setup Times in a Realistic Automotive Network with Cross-Traffic

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 13

slide-34
SLIDE 34

Setup Times in a Realistic Automotive Network with Cross-Traffic

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6

Linkspeed: 1Gbit/s 13

slide-35
SLIDE 35

Setup Times in a Realistic Automotive Network with Cross-Traffic

200 400 600 800 1,000 50 100 150 200 Cross Traffic [MBit/s] Setup Time [ms]

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 Linkspeed: 1Gbit/s

14

slide-36
SLIDE 36

Setup Times in a Realistic Automotive Network with Cross-Traffic

200 400 600 800 1,000 50 100 150 200 Cross Traffic [MBit/s] Setup Time [ms]

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 Linkspeed: 1Gbit/s

Maximum system setup time in cars is ≈ 150 ms to 200 ms.

14

slide-37
SLIDE 37

Setup Times in a Realistic Automotive Network with Cross-Traffic

200 400 600 800 1,000 50 100 150 200 Cross Traffic [MBit/s] Setup Time [ms]

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 Linkspeed: 1Gbit/s

The measured setup time is well below the requirements.

14

slide-38
SLIDE 38

Setup Times in a Realistic Automotive Network with Cross-Traffic

200 400 600 800 1,000 1 2 3 4 Cross Traffic [MBit/s] Setup Time [ms]

Min Mean Max

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 Linkspeed: 1Gbit/s

15

slide-39
SLIDE 39

Setup Times in a Realistic Automotive Network with Cross-Traffic

200 400 600 800 1,000 1 2 3 4 Cross Traffic [MBit/s] Setup Time [ms]

Min Mean Max

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 Linkspeed: 1Gbit/s

With cross-traffic of around 300 Mbit/s the setup time takes ≈ 1 ms.

15

slide-40
SLIDE 40

Setup Times in a Realistic Automotive Network with Cross-Traffic

200 400 600 800 1,000 1 2 3 4 Cross Traffic [MBit/s] Setup Time [ms]

Min Mean Max

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 Linkspeed: 1Gbit/s

From cross-traffic of around 700 Mbit/s the setup time rises exponentially and negotiations might not finish in time.

15

slide-41
SLIDE 41

Setup Times in a Realistic Automotive Network with Cross-Traffic

200 400 600 800 1,000 1 2 3 4 Cross Traffic [MBit/s] Setup Time [ms]

Min Mean Max

Legend: 1 1 1 1 1 2 7 1 2 1 2 1 1 1 1 1 6 1 1 1 3 1 Gateway CAN0 Switch CAN1 CAN2 CAN3 CAN4 CAN5 CAN6 Linkspeed: 1Gbit/s

From cross-traffic of around 700 Mbit/s the setup time rises exponentially and negotiations might not finish in time. Result: The setup time complies with automotive requirements of ≈ 150 ms to 200 ms

15

slide-42
SLIDE 42

Conclusion & Outlook

Summary

  • Introduced four QoS classes with a multi-protocol stack
  • Presented a dynamic QoS negotiation protocol
  • Showed successful support of mixed-critical communication
  • Achieved acceptable setup-times in a realistic automotive network
  • Implemented and evaluated with OMNeT++ Discrete Event Simulator

Sourcecode available at: https://github.com/CoRE-RG/SOQoSMW Future Work

  • Determine real-world runtime delays with real car components

16

slide-43
SLIDE 43

A QoS Aware Approach to Service-Oriented Communication in Future Automotive Networks

Contact: Mehmet C ¸akir mehmet.cakir@haw-hamburg.de

  • Dept. Computer Science, Hamburg University of Applied Sciences, Germany

Sposored by the