Design and implementation of an ITS station to bridge automotive and IoT systems
Master Thesis in Computer Science and Networking Supervisors: Prof. Piero Castoldi, Dr. Paolo Pagano Candidate: Michele Carignani
Design and implementation of an ITS station to bridge automotive and - - PowerPoint PPT Presentation
Design and implementation of an ITS station to bridge automotive and IoT systems Master Thesis in Computer Science and Networking Supervisors: Prof. Piero Castoldi, Dr. Paolo Pagano Candidate: Michele Carignani OUTLINE OUTLINE BACKGROUND
Master Thesis in Computer Science and Networking Supervisors: Prof. Piero Castoldi, Dr. Paolo Pagano Candidate: Michele Carignani
BACKGROUND
BACKGROUND
BACKGROUND
BACKGROUND
DESIGN
BACKGROUND
DESIGN
BACKGROUND
DESIGN
BACKGROUND
DESIGN
IMPLEMENTATION AND RESULTS
BACKGROUND
DESIGN
IMPLEMENTATION AND RESULTS
BACKGROUND
DESIGN
IMPLEMENTATION AND RESULTS
“A global infrastructure […] interconnecting physical and virtual things […]” (ITU-T)
“A global infrastructure […] interconnecting physical and virtual things […]” (ITU-T)
“A global infrastructure […] interconnecting physical and virtual things […]” (ITU-T)
Source: http://www.ericsson.com/mobility-report
infotainment (apps, music…)
proprietary
systems “to support transportation of goods and humans with information and communication technologies in
use the transport infrastructure and transport means (cars, trains, planes, ships)”
Release1 of the standards jointly announced by ETSI and CEN on Feb 2014 Operational deployment started based on published standards Release2 features being discussed
central, personal)
central, personal)
central, personal)
Security
central, personal)
Security
IEEE 802.11p GeoNetworking (GN) Basic Transport Protocol (BTP) IEEE 802.11p
(notably vehicles) GeoNetworking
geographical position (geobroadcast, geomulticast, unicast) Basic Transport Procotol
demultiplexing
6LoWPAN, RPL needed
within CA messages, ….
6LoWPAN, RPL needed
within CA messages, …. Currently new standard being edited by
performance, real time requirements
performance, real time requirements
involved)
performance, real time requirements
involved)
performance, real time requirements
involved)
communication protocols at any layer
SELECTED HARDWARE
SELECTED HARDWARE
SELECTED HARDWARE
DESIGNED AND DEVELOPED SOFTWARE (Thesis contribution)
ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,
<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)
…) …) …)
management
application registries
ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,
<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)
…) …) …)
management
application registries
ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,
<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)
…) …) …)
management
application registries
ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,
<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)
…) …) …)
management
application registries
ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,
<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)
…) …) …)
management
application registries
ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,
<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)
…) …) …)
management
application registries
“non-blocking I/O” in C language
asynchronous model (asynchronous handling of file descriptors, timers)
threading and sync primitives
and ItsEventInjector (event engine)
std::Function
asynchronously EVENTS API
class CanServiceInterface : public noes::StationService { public: CanServiceInterface(); CanServiceInterface(noes::ItsStation* s); virtual can_data_t get() = 0; virtual void print(can_data_t d) = 0; };
speed, odometer
OBDIIServiceImpl::OBDIIServiceImpl(noes::ItsStation *s): CanServiceInterface(s) { try { update(); this->periodically(1000, [this](int k){ this->update(); }); } catch (SerialException &e) { // … } }
API
encapsulation
ASN.1 Unaligned- PackedEncodingRules
from bytes
manage CAMs dissemination
API
encapsulation
ASN.1 Unaligned- PackedEncodingRules
from bytes
manage CAMs dissemination
Implementation details
LoadingZoneContainer ::= SEQUENCE { vin UTF8String SIZE ((18)), engineStatus EngineStatus, authorizationID AuthorizationID, cargoVolume CargoVolume }
API
encapsulation
ASN.1 Unaligned- PackedEncodingRules
from bytes
manage CAMs dissemination
Implementation details
ASN.1 DEFS ASN.1 COMP
LoadingZoneContainer ::= SEQUENCE { vin UTF8String SIZE ((18)), engineStatus EngineStatus, authorizationID AuthorizationID, cargoVolume CargoVolume }
mode
Information (PCI)
typedef struct btp_pci_s { int btp_type; int packet_type; int store_and_forward; int latitude; int longitude; int macAddr_i[6]; int dport; int sport; } btp_pci_t;
mode
Information (PCI)
typedef struct btp_pci_s { int btp_type; int packet_type; int store_and_forward; int latitude; int longitude; int macAddr_i[6]; int dport; int sport; } btp_pci_t;
BTP Gateway Facility BTP Gateway Facility Btp Gateway Btp Gateway
PCI+Data Station 11p GW 11p GW Station Data GN/BTP UDP UDP
CoAP implementations
CoAP implementations
interface (i.e. /dev/net/tun0)
CoAP implementations
interface (i.e. /dev/net/tun0)
goods to enforce good practices
discovery, booking
monitored and advertised
tracking of parking lot status with vehicle authentication
segment)
free spots advertisement via CAMs (802.11p + GeoNet)
Service Center (also notifies infringements)
IoT segment: Smart camera
IoT segment: Smart camera
Road Side ITS Station, UrbelogRSU:
IoT segment: Smart camera
Road Side ITS Station, UrbelogRSU:
Vehicular ITS Station, UrbelogOBU:
by Carignani et al. will be presented at IEEE World Forum on Internet of Things, Automotive workshop on Dec 14th 2015
WSN
WSN
WSN CAM -VANET (11.p)
WSN CAM -VANET (11.p)
Service Center
WSN CAM -VANET (11.p)
Service Center
WSN CAM -VANET (11.p)
Service Center
MQTT (3G)
Design and implementation of an ITS station to bridge automotive and IoT systems Candidate: Michele Carignani
Long haul communications
Long haul communications
Long haul communications Dedicated Short Radio Communications
Long haul communications Dedicated Short Radio Communications
ISO, IEC, and ITU-T.
describes rules and structures for