connected car as an iot service - eurecom · 20-jul-2016 connected car as an iot service - p 12 m2m...

78
Connected Car as an IoT Service Soumya Kanti Datta Research Engineer Communication Systems Department Email: [email protected]

Upload: others

Post on 13-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Connected Car as an IoT Service

Soumya Kanti Datta

Research EngineerCommunication Systems Department

Email: [email protected]

Page 2: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Roadmap

� Introduction

� Challenges

� Uniform Data Exchange

� Management & Discovery of Vehicular Resources

� Data Processing

� IoT Architecture & Operational Phases

� Conclusion

20-Jul-2016 Connected Car as an IoT Service - p 2

Page 3: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Connected Car

� Equipped with Internet access

� Has computing capabilities and on-board resources (sensors and actuators)

� Connect to devices, networks and services external to the car

� Other cars, infrastructures etc.

20-Jul-2016 Connected Car as an IoT Service - p 3

Page 4: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Connected Car Ecosystem

20-Jul-2016 Connected Car as an IoT Service - p 4

Page 5: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

History - Two Parallel Ecosystems

� Automotive [1]

� Auto 1.0

� Auto 2.0

� Auto 2.5

� Auto 3.0 � Present evolution

� Auto 4.0

� Internet of Things

� This is not new as you may thing

20-Jul-2016 Connected Car as an IoT Service - p 5

[1] The automotive industry as a digital business, available at - http://www.ntti3.com/wp-content/uploads/Automotive_as_a_Digital_Business_V1.03-1.pdf

Page 6: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Automotive Industry

� Auto 1.0

� Dates back to 1886 (modern production of automobile).

� Cars were novelty, expensive and time-consuming to produce.

� Auto 2.0

� Cultural and economic forces shaped the industry.

� Focus has been on performance, dealer diagnostics systems, basic

infotainment.

� Technology still is rather invisible to the consumer.

� Auto 2.5

� Cutting edge cars today belong to this category.

20-Jul-2016 Connected Car as an IoT Service - p 6

Page 7: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Auto 2.5

� Well established auto OEMs (BMW) and new entrants(Tesla) started looking at the “true” potential ofsoftware beyond the infotainment.

� BMW ConnectedDrive initiative.

� Customers can now avail OTA software updates for repairproblems, add new features without going to dealers.

� “Always connected” aspect is one of the driving forces behind theconsumer expectation.

– After all, we live in iPhone and Android era.

� From Software to Service

20-Jul-2016 Connected Car as an IoT Service - p 7

Page 8: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

� In parallel, Internet is evolving too.

20-Jul-2016 Connected Car as an IoT Service - p 8

Page 9: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Evolution of Internet

20-Jul-2016 Connected Car as an IoT Service - p 9

Page 10: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Remember …

� M2M related concepts existed in 1961

� https://www.youtube.com/watch?v=avHo0-qU8xo

20-Jul-2016 Connected Car as an IoT Service - p 10

Page 11: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Why Merge Two Ecosystems?

20-Jul-2016 Connected Car as an IoT Service - p 11

Source: http://design.avnet.com/axiom/autorama-connecting-your-car-to-the-internet-of-tomorrow

Page 12: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Benefits for Auto Industry

20-Jul-2016 Connected Car as an IoT Service - p 12

M2M

• Automatic diagnostics of cars

• Data collection from engine management system and analysis.

M2M• Infrastructure monitoring

• Structural integrity of a bridge in case of flood.

M2H

• Traffic & emergency alters to drivers.

• Driver assistance and reaction time.

• Blind spot detection and more …

Page 13: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Smart City Effect

� Deploying infrastructure for

� Better road safety

� Co-operative mobility management

� Reduce effect on environment

� Strong social impact through the “sharing based economy”

20-Jul-2016 Connected Car as an IoT Service - p 13

Page 14: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

� Auto 1.0 and Auto 2.0 can not meet the requirements due to lack of

� Powerful OBUs

� V2X tools (both software and hardware)

� Standards

� Integration with next-gen ICT

20-Jul-2016 Connected Car as an IoT Service - p 14

Page 15: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Auto Industry Response – Auto 3.0 – Take Away

� Focus of Auto 3.0

� Support Intelligent Transportation System (ITS) through V2XCommunications.

� Expose vehicular resources for data collection, processing,management and storage.

� Seamless communication and information exchange amongvehicular gateways, edge & cloud platforms and consumer devices.

� Seamless interoperability among vehicles, external computingplatforms and consumers.

20-Jul-2016 Connected Car as an IoT Service - p 15

Page 16: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Auto 3.0 and IoT – Take Away

� The technological evolution leading to Auto 3.0 enables

� Automatic vehicle information discovery and exchange with computing systems and other vehicles.

� Enhanced access and core networking

� Computing on vehicular sensor data

� As a result

� Vehicles are becoming resources for IoT ecosystem [1].

� Advantage

� Use on-board sensors for pollution monitoring, traffic flow management, road intersection management.

� No need to deploy additional sensors in smart cities.

20-Jul-2016 Connected Car as an IoT Service - p 16

[1] S. Abdelhamid, H. S. Hassanein, and G. Takahara. Vehicle as a resource (vaar). IEEE Network, 29(1):12–17, Jan

2015.

Page 17: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Combined Ecosystem – Take Away

� Integrates

� Vehicular resources (sensors, actuators).

� ITS & V2X technologies.

� Edge and cloud computing platforms with big data.

� Consumer centric services.

� Target

� Improve complex network systems and vehicular information flow.

� Ultimately reach a collaborative awareness and cognition among consumers, vehicles, things and computing platforms.

� Leads to

� Connected vehicles as an IoT service.

– Frequently called as “Automotive IoT”

20-Jul-2016 Connected Car as an IoT Service - p 17

Page 18: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Connected Car as a Service – Take Away

� For smart city stakeholders (municipalities etc.)

� No need to deploy city wide sensors

� Instead use vehicular sensors to perceive city environments

� Enterprises

� Real time asset or fleet monitoring and management

� How DHL utilizes IoT (Joint study between Cisco and DHL)

– IoT and logistics [2]

� Consumers

� Find and reserve parking spot in a (new) city while traveling and save fuel.

� Analysis of vehicle health and alert when maintenance is necessary.

� Autonomous vehicles

� Passenger experience

20-Jul-2016 Connected Car as an IoT Service - p 18

[2] http://www.dhl.com/content/dam/Local_Images/g0/New_aboutus/innovation/DHLTrendReport_Internet_of_things.pdf

Page 19: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Roadmap

� Introduction

� Challenges

� Uniform Data Exchange

� Management & Discovery of Vehicular Resources

� Data Processing

� IoT Architecture & Operational Phases

� Conclusion

20-Jul-2016 Connected Car as an IoT Service - p 19

Page 20: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Three Fundamental Operations

20-Jul-2016 Connected Car as an IoT Service - p 20

� Generation and collection of data

� Vehicular sensors

� External sensors (smartphone, environmental etc.)

� Analysis of data

� Processing, management and storage

� Control

� Through actuation

� E.g. automatically switching on fog lamp in a vehicle when fog is detected

Page 21: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

IoT Data Cycle

20-Jul-2016 Connected Car as an IoT Service - p 21

Page 22: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Wait, it is not so simple

� Heterogeneity at sensors and actuators

� Domain of operation, type & frequency of measurement, communication technology

� Management of vehicle and its resources

� Concerns due to high mobility

� Automatic naming, addressing and discovery of addresses

� Choice of communication network

� Cellular network or DSRC

� Processing

� Utilizing semantic web technologies

� Cloud platform or edge/Fog platform?

� Data Dissemination

� A mechanism that is independent of vehicle mobility

� Interoperability

� Avoid creating data silos and fragmented market

� Standardization efforts

� W3C Automotive Working Group and Web of Things Interest Group

� Efforts from oneM2M

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 22

Page 23: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Summary of Challenges – Take Away

� Uniform data and configuration exchange among vehicularresources, computing platforms and consumers.

� Data-driven approach

� Currently focus is on infrastructure, network and protocols.

� No cross domain solutions

� Interoperability among cloud platforms

� Closed interfaces and individualized solutions.

� Co-existence of edge and cloud

� Very important for semi/high autonomous vehicles.

� Data management and repository

� No widely followed guidelines.

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 23

Page 24: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Roadmap

� Introduction

� Challenges

� Uniform Data Exchange

� Management & Discovery of Vehicular Resources

� Data Processing

� IoT Architecture & Operational Phases

� Conclusion

20-Jul-2016 Connected Car as an IoT Service - p 24

Page 25: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Sensors in Vehicles

20-Jul-2016 Connected Car as an IoT Service - p 25

Source: http://blogs.intel.com/iot/2015/09/02/intelligent-driving-experience-a-ride-with-intel-internet-of-things

Page 26: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Sensors in Vehicles

20-Jul-2016 Connected Car as an IoT Service - p 26

Source: http://blogs.intel.com/iot/2015/09/02/intelligent-driving-experience-a-ride-with-intel-internet-of-things

Page 27: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Uniform Data Exchange

� Requirement from a vehicular perspective

� Heterogeneous and multimodal things

� Can not have one API per thing to exchange data

– Need a uniform data exchange mechanism

� Sensor measurement alone has no value

– Need additional side information like unit, timestamp, type of sensor

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 27

Page 28: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Sensor Markup Language (SenML)

� Uniform way to exchange sensor “metadata”.

� Represents simple sensor measurements and device parameters.

� Sensor measurement, name, id, unit, timestamp etc.

� Implementation using JSON/CBOR/XML/EXI.

� Server can parse several SenML metadata at the same time.

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things

Source: Media Types for Sensor Markup Language (SENML) draft-jennings-core-senml-02

https://tools.ietf.org/pdf/draft-jennings-core-senml-02.pdf

- p 28

Page 29: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

SenML Extensions for Actuators

� No markup language for actuators

� Extend capabilities of SenML for actuators

� Uniform way to exchange actuator “metadata” [3]

� Used to send commands to actuators

� Switch on/off a light, reduce the speed of motor etc.

� Advantage

� Uniform mechanism to interact with both sensors and actuators.

15-Nov-2015

[3] Datta, S.K.; Bonnet, C.; Nikaein, N., "CCT: Connect and Control Things: A novel mobile application to manage M2M

devices and endpoints," Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP), 2014 IEEE Ninth

International Conference on, pp.1,6, 21-24 April 2014

2015 IEEE Winter Academy on Internet of Things - p 29

Page 30: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Roadmap

� Introduction

� Challenges

� Uniform Data Exchange

� Management & Discovery of Vehicular Resources

� Data Processing

� IoT Architecture & Operational Phases

� Conclusion

20-Jul-2016 Connected Car as an IoT Service - p 30

Page 31: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Managing Connected Vehicle Resources – Take Away

� Why do we need it?� Due to Machine-to-Machine nature of operation, it is necessary to manage

vehicular resources.

� Enables discovery of resources (sensors, actuators and associated

services).

� What exactly is managed?

� Description and configuration of the vehicles and their resources.

� Application

� Useful for cloud based fleet or asset management services.

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 31

Page 32: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Managing Connected Vehicle Resources

� Objective

� Ensuring flexibility, scalability and dynamicity of the overall framework.

� Lightweight and simple description.

� Automatic management framework.

� Available solutions (developed by EURECOM)

� Representation of objects for efficient management [4]

– Both smart and legacy ones.

– Utilize CoRE Link Format or JSON-LD

� Generic framework for connected things management

– Applicable to vehicular domain also.

� OMA LwM2M Technical Specifications based API

15-Nov-2015

[4] Datta, Soumya Kanti; Bonnet, Christian, “Smart M2M Gateway Based Architecture for M2M Device and Endpoint

Management," IEEE International Conference on Internet of Things 2014, Taipei, Taiwan, 1-3 September 2014.

2015 IEEE Winter Academy on Internet of Things - p 32

Page 33: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Connected Object Management Framework

15-Nov-2015

Source: Datta, S.K.; Bonnet, C., "A lightweight framework for efficient M2M device management in oneM2M

architecture," in Recent Advances in Internet of Things (RIoT), 2015 International Conference on, pp.1-6, 7-9 April 2015.

2015 IEEE Winter Academy on Internet of Things - p 33

Deployed in

Cloud or

Edge

Platform

Vehicular

Things

Consumer

Application

Page 34: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Description of Layers

� Layers and their functionalities are implemented as RESTful web services.

� Perception layer

� Contains the real M2M devices containing sensors, actuators or RFID tags as

endpoints.

� Proxy Layer –

� Unique & novel aspect of the framework to allow management of legacy M2M devices

� Current standardization efforts do not consider such scenarios but inclusion of legacy

devices into IoT ecosystems is crucial.

� The proxy layer is composed of two RESTful web services – proxy-in and proxy-out to

manage sensors and actuators respectively.

� The proxy layer creates the CoRE Link based configurations and is responsible for

registering and un-registering legacy devices.

� The proxies are dependent on the communication protocol used by the legacy devices.

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 34

Page 35: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Description of Layers

� Configuration Storage Layer� Contains “Configuration Storage API”.

� The smart devices directly connect to this API during the bootstrap phase

� It extracts the resource descriptions from the devices or (proxies in case of

legacy devices).

� The layer houses a database and stores the device, endpoint and

configuration resources in separate tables.

� The API translates the CoRE Link based descriptions to appropriate

storage format. This layer also keeps track of the configuration “lifetime”

attribute.

� During that period, if it does not receive an announcement that the device is

still present or configuration update, it will delete that device configuration.

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 35

Page 36: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Description of Layers

� Service Enablement Layer –

� Allows the end users to

– Read, write & update configurations

– Enable device discovery

– Receive notification

– Implement proper access control.

� These capabilities correspond to OMA LwM2M TechnicalSpecifications

� Allow remote management of M2M devices from mobile devices ofend users.

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 36

Page 37: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Different Phases of Operation

� Bootstrap phase

� Perform necessary provisioning

� Client registration phase

� Registration of objects to the framework

� Service enablement phase

� Enables M2M device management

� Allows end users to discover configurations

� Configuration(s) update

� Information reporting phase

� Enable observe, notify functions for selected M2M devices

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 37

Page 38: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Registration Phase

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 38

Page 39: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Roadmap

� Introduction

� Challenges

� Uniform Data Exchange

� Management & Discovery of Vehicular Resources

� Data Processing

� IoT Architecture & Operational Phases

� Conclusion

20-Jul-2016 Connected Car as an IoT Service - p 39

Page 40: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Discovery

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 40

� Search functionalities provided to Humans

�Google

�Yahoo

�Bing

� Search Engine for things?

Source : www.iotdex.com

Page 41: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Discovery Categories

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 41

� Scenarios� Search around “ME”

– UriBeacon, NFC

– Discover sensors from a smartphone

� Search in the network

– mDNS, SSDP

� Search in a directory (can be used in vehicular domain)

– CoAP

� Search across peers

– DHT based

� Search for metadata

� Semantic based search

Source - https://w3c.github.io/wot/landscape.html

Page 42: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Search Engine Based Discovery Framework

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 42

Source: S. K. Datta, R. P. F. Da Costa and C. Bonnet, "Resource discovery in Internet of Things: Current trends and future

standardization aspects," Internet of Things (WF-IoT), 2015 IEEE 2nd World Forum on, Milan, 2015, pp. 542-547.

Page 43: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

The Three Layers (1/2)

� Proxy layer

� Enable discovery and interaction with smart and legacy things regardless of

communication technology and protocols.

� Discovery layer

� Configuration registry: manages registration, un-registration of things and

provides storage of configurations.

� Indexing API: registered things are indexed to expedite the search

operation.

� Search engine

– Receives the discovery request (keywords/parameters) from clients

– Extracts indices

– Provides look up facility (discovers the matching things)

– Ranks the results based on relevance, availability, access control policies.

� Lifetime: A time period through which resources remain discoverable

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 43

Page 44: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

The Three Layers (2/2)

� Service enablement layer

� Exposes discovery layer functionalities through RESTful web services.

� Enforces strict access control policies.

� Provides subscription and notification facilities.

� Includes semantic components for discovery.

� Incorporate security mechanisms

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 44

Page 45: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Roadmap

� Introduction

� Challenges

� Uniform Data Exchange

� Management & Discovery of Vehicular Resources

� Data Processing

� IoT Architecture & Operational Phases

� Conclusion

20-Jul-2016 Connected Car as an IoT Service - p 45

Page 46: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Data Processing

� Same sensor can be used in

� Different contexts

� Across different domains

� E.g. – Accelerometer in smartphones can be used to judge road conditions as well as determining earthquakes

� IoT ecosystem comprises of several domains

� There are rules associated with the knowledge of the each domain

� What if you want to build automotive applications combining several domains

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 46

Page 47: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Semantic Reasoning

� Use of semantic reasoning to enrich M2M data

� First step – SenML to add some side information creating metadata

� Second step – decorate the metadata with additional semanticreasoning

� Link the data with the meaning

� From the point of view of different domains

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 47

Page 48: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

M3 Approach

� The M3 (Machine to Machine Measurement) approach

� Enrich M2M data with semantic web technologies [5]

� The M3 ontology: A hub for cross-domain ontologies and datasets

– e-Health: weather, recipe, health

– Smart city: weather, home automation, transport, vacation

– STAC (security): sensor, cellular, web, mobile phone

� LOR (Linked Open Rules): share and reuse domain rules

� M3 integrated in a semantic-based M2M architecture

� Prototype: http://sensormeasurement.appspot.com/

[5] Gyrard, A.; Bonnet, C.; Boudaoud, K., "Enrich machine-to-machine data with semantic web technologies for

cross-domain applications," Internet of Things (WF-IoT), 2014 IEEE World Forum on, pp.559,564, 6-8 March 2014

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 48

Page 49: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Architecture of M3 Framework

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 49

Page 50: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Combining Cross Domain IoT Data – Take Away

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 50

Page 51: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

IoT Application Template Generation

� A template is generated based on

� Type of sensor (e.g. engine temperature)

� Associated domain

– Automotive for engine temperature

� Template contains

� Ontologies, datasets, rules and generic SPARQL query necessary for semantic computing.

� Eases generation of high level abstraction from raw sensor data.

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 51

Page 52: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Cloud Deployment

� Cloud based approach

� A cloud computing platform stores all the templates needed to build various

kinds of applications for IoT.

� Developed using Apache Jena framework.

� Currently running in Google Cloud Platform

� Challenge

� Raw metadata must be transported to cloud for processing

� Inferred information must be again transported to consumer devices for

dissemination.

� Not suitable for latency sensitive automotive applications.

15-Nov-2015 2015 IEEE Winter Academy on Internet of Things - p 52

Page 53: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Edge/Distributed Deployment – Take Away

� Mobile application / Gateway (Fog approach)

� A lightweight version of the M3 is implemented into Android powered smart

devices.

– The Jena Framework can not be directly integrated into smart devices.

AndroJena is used instead.

– The requirements for the smart devices is different where only one

application template is required and can be easily downloaded from the

cloud.

– The smart devices need not have the entire set of IoT application

templates.

� Advantage

� Distributed computing approach

� Single hop from vehicles

� Higher fault tolerance

20-Jul-2016 Connected Car as an IoT Service - p 53

Page 54: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Roadmap

� Introduction

� Challenges

� Uniform Data Exchange

� Management & Discovery of Vehicular Resources

� Data Processing

� IoT Architecture & Operational Phases

� Conclusion

20-Jul-2016 Connected Car as an IoT Service - p 54

Page 55: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

� IoT architecture integrating vehicles as resources

20-Jul-2016 Connected Car as an IoT Service - p 55

Page 56: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

IoT Architecture – Take Away

20-Jul-2016 Connected Car as an IoT Service - p 56

Page 57: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Generation Subsystem

� Data generation

� Sensor Markup Language (SenML) is used to create vehicularsensor metadata.

� SenML extensions for data exchange with vehicular actuators.

� Local configuration

� CoRE Link Format is used to describe the vehicular resources.

� RESTful interfaces

� Communicates sensor configuration and metadata.

� Supports HTTP (GET, POST) and CoAP (GET, PUT).

20-Jul-2016 Connected Car as an IoT Service - p 57

Page 58: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Network Subsystem

20-Jul-2016 Connected Car as an IoT Service - p 58

Page 59: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Processing and Storage Subsystem

� Its elements

� Collection proxies.

� Data processing.

� Data storage.

� Resource discovery and naming.

� Configuration management of generation subsystem.

20-Jul-2016 Connected Car as an IoT Service - p 59

For details: S. K. Datta, C. Bonnet, R. P. F. Da Costa and J. Haerri, “DataTweet: An Architecture Enabling Data-Centric IoT Service”, Region 10 Symposium (Tensymp), IEEE, Bali, 2016.

Page 60: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Consumer Subsystem

� Its elements

� Resource discovery.

� Consume data

– Both raw data and high level abstraction.

� Actuation

– Supports SenML extensions for actuators.

20-Jul-2016 Connected Car as an IoT Service - p 60

Page 61: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Administration Subsystem

� There may be an administration subsystem attached tothe IoT architecture.

� Assigns naming and addressing schemes to the other subsystems.

� Determines and enforces the access control policies at theprocessing and storage subsystem.

20-Jul-2016 Connected Car as an IoT Service - p 61

Page 62: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Mapping of Elements

20-Jul-2016 Connected Car as an IoT Service - p 62

Page 63: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

� Operational Phases of the IoT architecture

20-Jul-2016 Connected Car as an IoT Service - p 63

Page 64: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Our Framework – Take Away

20-Jul-2016 Connected Car as an IoT Service - p 64

Page 65: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Discovery Phase

20-Jul-2016 Connected Car as an IoT Service - p 65

Page 66: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Provisioning Phase

� Prepares the system for

� Data processing, management and storage

� Provisioning info used are

� Resource type and domain of operation

� Obtained from SenML metadata and resource descriptions

� Result

� Downloads resources necessary for semantic computing from a cloud platform.

– Ontologies, rules, datasets

21-Jun-2016 Integrating Connected Vehicles in Internet of Things Ecosystems: Challenges and Solutions

66

Page 67: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Data Processing and Fusion

20-Jul-2016 Connected Car as an IoT Service - p 67

Page 68: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Data Dissemination

20-Jul-2016 Connected Car as an IoT Service - p 68

Page 69: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Actuation Phase

� Respond to the environment

� Send command to actuators.

� Example

� If there is fog in the driving environment of an autonomous vehicle

– Actuation command: reduce vehicle speed.

– Actuation command: turn on fog lamps.

20-Jul-2016 Connected Car as an IoT Service - p 69

Page 70: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

IoT Architecture Prototype

� Connected car as an IoT service

20-Jul-2016 Connected Car as an IoT Service - p 70

Page 71: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Prototyping Scenario

14-Apr-2016 Web of Things for Connected Vehicles - p 71

Agent

Data

Generation

OBU RSU

Collection

Proxy

M2M GW

Lightweight

Web of Things

Server

ITS-G5

Android App

Consumer

Resource

Discovery

Registration

Measurements

Discovery

MeasurementsDiscovery

Page 72: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Components (1/2)

� Hardware� Nexcomm VTC-6201 – 1x OBU (vehicle) and 1x RSU (base-station)

– IEEE 802.11p radio (5.9GHz), GPS, Wi-Fi and Ethernet.

– ITS-G5 stack protocols embedded.

� Raspberry Pi acting as M2M gateway

– Supports Discovery, Registration and Data Collection

� Android phone acting as client.

14-Apr-2016 Web of Things for Connected Vehicles - p 72

Page 73: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Components (2/2)

� Software

� OBU and RSU

– Ubuntu 12.04 with ITS-G5 stack protocols and DSRC logic interface.

– Gpsd and ntpd for GPS data manipulation.

– Data generation, Proxy and Agent modules implemented in C.

� M2M Gateway running Lightweight WoT server

– SQLite database for sensor data storage.

– Python language for developing the web services.

� Android Application

– Consumer application

14-Apr-2016 Web of Things for Connected Vehicles - p 73

Page 74: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Demonstration

20-Jul-2016 Connected Car as an IoT Service - p 74

Page 75: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Roadmap

� Introduction

� Challenges

� Uniform Data Exchange

� Management & Discovery of Vehicular Resources

� Communication Networks

� Data Processing

� IoT Architecture & Operational Phases

� Conclusion

20-Jul-2016 Connected Car as an IoT Service - p 75

Page 76: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Conclusion

� Next phase in auto industry evolution will be defined by smart city and consumer centric requirements.

� Automotive IoT

� Both vehicle and smartphone sensors will participate and generate tons of

data.

� OEMs will need to collect them and process to derive intelligence.

� Deliver ‘value’ to consumers through the modern “sharing based” economy.

� Seamless interoperation among vehicular resources, computing platforms and consumer devices will be the key.

20-Jul-2016 Connected Car as an IoT Service - p 76

Page 77: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

20-Jul-2016 Connected Car as an IoT Service 77

Page 78: Connected Car as an IoT Service - Eurecom · 20-Jul-2016 Connected Car as an IoT Service - p 12 M2M • Automatic diagnostics of cars • Data collection from engine management system

Thank you!

- p 78

� Email: [email protected]

� Twitter: @skdatta2010

� Website: https://iot.eurecom.fr

20-Jul-2016 Connected Car as an IoT Service