71

Click here to load reader

Smart, Secure and Efficient Data Sharing in IoT

Embed Size (px)

Citation preview

Page 1: Smart, Secure and Efficient Data Sharing in IoT

Smart, Secure and Efficient Data Sharing in IoT

Angelo  Corsaro,  PhD  Chief  Technology  Officer  

[email protected]

Page 2: Smart, Secure and Efficient Data Sharing in IoT

HYPE CYCLE 2015

GARTNER

Page 3: Smart, Secure and Efficient Data Sharing in IoT

HYPE CYCLE 2015

GARTNER

Page 4: Smart, Secure and Efficient Data Sharing in IoT

HYPE CYCLE 2015

GARTNER

Page 5: Smart, Secure and Efficient Data Sharing in IoT

What is IoT all About?

Page 6: Smart, Secure and Efficient Data Sharing in IoT

IoT is about extracting value through the insights derived from the real-time and historical data produced by a cyber-physical system

— Data is the currency of IoT —

Page 7: Smart, Secure and Efficient Data Sharing in IoT

the buzZ digital humanism

CIoT

Page 8: Smart, Secure and Efficient Data Sharing in IoT

smartcollar

Page 9: Smart, Secure and Efficient Data Sharing in IoT

connected f0rk

Page 10: Smart, Secure and Efficient Data Sharing in IoT

smart socks

Page 11: Smart, Secure and Efficient Data Sharing in IoT

Smart Lightbulbs

Page 12: Smart, Secure and Efficient Data Sharing in IoT

the ValueIIoT

Page 13: Smart, Secure and Efficient Data Sharing in IoT

While consumer applications such as fitness monitors and self-driving cars attract the most attention and can create significant value, we estimate that B2B/Industrial applications can generate nearly 70 percent of potential value enabled by IoT.

THE INTERNET OF THINGS:

MAPPING THE VALUE BEYOND THE HYPE Mc Kinsey, June 2015

Page 14: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

4

Smart Factory0.5 TB of data

produced per day

Page 15: Smart, Secure and Efficient Data Sharing in IoT
Page 16: Smart, Secure and Efficient Data Sharing in IoT

Autonomous Vehicles

coordination of fast moving autonomous vehicles

intermittent connectivity

dynamic pairing of devices

Page 17: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

4

Smart-Grid20ms deadline for phase

alignment data

Interoperability

Page 18: Smart, Secure and Efficient Data Sharing in IoT

Oil Rig 30000 data pointsonly 1% of available data

used today

Page 19: Smart, Secure and Efficient Data Sharing in IoT

Smart Lightbulbs96Kbytes Memory

Connected Medical Devices

12 msec period for pleath data

Peer-to-Peer connectivity

Page 20: Smart, Secure and Efficient Data Sharing in IoT

smart cities

Page 21: Smart, Secure and Efficient Data Sharing in IoT

Connected Aircrafts

10 TB of data every 30m of flight

Page 22: Smart, Secure and Efficient Data Sharing in IoT

Launch System80K+ data points with aggregate updates

rate of ~400K msgs/sec

Page 23: Smart, Secure and Efficient Data Sharing in IoT

ESA Extremely Large & SMART Telescope (ELT)

1750 computing nodes

100.000 mirrors whose position is

adjusted 100 times per second!

ELT will allow astronomers to probe the earliest stages

of the formation of planetary systems and to detect water and organic

molecules in proto-planetary discs around

stars in the making

Page 24: Smart, Secure and Efficient Data Sharing in IoT

CIoT / IIoT Differences

Page 25: Smart, Secure and Efficient Data Sharing in IoT

IIoT is concerned with reactive cyber-physical systems IIoT is about interacting with the physical world

Page 26: Smart, Secure and Efficient Data Sharing in IoT

Cloud-centric architectures centred around device-to-cloud communication are not

applicable/sufficient for IIoT applications because of performance, connectivity and

resource constraints

Page 27: Smart, Secure and Efficient Data Sharing in IoT

This subtle but essential difference introduces a series of requirements for

IIoT platform that are not addressed by device-2-cloud centric IoT platforms

Page 28: Smart, Secure and Efficient Data Sharing in IoT

Data SharingIIoT

needs

Page 29: Smart, Secure and Efficient Data Sharing in IoT

Location Transparency

Data should flow where needed transparently and independently from the location its source so to allow for analytics to be deployed/migrate where it makes the most sense, i.e. edge, cloud, etc.

Page 30: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

4

Smart Factory0.5 TB of data

produced per day

Page 31: Smart, Secure and Efficient Data Sharing in IoT

Device-2-Devicecommunication

Device-2-Cloud connectivity is not always possible due to connectivity challenges, response time or data volumes

Page 32: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

4

Smart Factory0.5 TB of data

produced per day

Page 33: Smart, Secure and Efficient Data Sharing in IoT

Cloud + FogComputing

Cloud and Fog computing architectures should be transparently supported to allow for data to be processed wherever makes the most sense

Page 34: Smart, Secure and Efficient Data Sharing in IoT

Autonomous Vehicles

coordination of fast moving autonomous vehicles

intermittent connectivity

dynamic pairing of devices

Page 35: Smart, Secure and Efficient Data Sharing in IoT

DurabilityAlong with real-time data, historical data should be available for query and non-real-time analytics

Page 36: Smart, Secure and Efficient Data Sharing in IoT

Oil Rig 30000 data pointsonly 1% of available data

used today

Page 37: Smart, Secure and Efficient Data Sharing in IoT

Interoperability

Data sharing standard are a pre-prerequisite for IoT.

Without standards there is not interoperability, without interoperability there is not IoT

Page 38: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

4

Smart-Grid20ms deadline for phase

alignment data

Interoperability

Page 39: Smart, Secure and Efficient Data Sharing in IoT

SecurityData-Level security should be provided to simplify the deployment of secure IoT systems

Page 40: Smart, Secure and Efficient Data Sharing in IoT

Smart Lightbulbs96Kbytes Memory

Connected Medical Devices

12 msec period for pleath data

Peer-to-Peer connectivity

Page 41: Smart, Secure and Efficient Data Sharing in IoT

The (I)IoT Data SharingDDS

Standard

Page 42: Smart, Secure and Efficient Data Sharing in IoT

DDS is a standard technology for efficient, ubiquitous, interoperable, secure, and platform independent data sharing across network connected devices

DDS in131 Characters

Page 43: Smart, Secure and Efficient Data Sharing in IoT

The DDS Standard

Page 44: Smart, Secure and Efficient Data Sharing in IoT

Standard

Page 45: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

Proven in Defence / Aerospace

Integrated Modular Vetronics Training & Simulation Systems Naval Combat Systems

Air Traffic Control & Management Unmanned Air Vehicles Aerospace Applications

Page 46: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

Broad Commercial Applications

Agricultural Vehicle Systems

Train Control Systems Complex Medical Devices

Smart CitiesLarge Scale SCADA Systems

High Frequency Auto-Trading

Page 48: Smart, Secure and Efficient Data Sharing in IoT

Grasping the Idea

Page 50: Smart, Secure and Efficient Data Sharing in IoT

Conceptual Model

DDS Global Data Space

...

Data Writer

Data Writer

Data Writer

Data Reader

Data Reader

Data Reader

Data Reader

Data Writer

TopicAQoS

TopicBQoS

TopicCQoS

TopicDQoS

Page 51: Smart, Secure and Efficient Data Sharing in IoT

Conceptual Model Actual Implementation

Data Writer

Data Writer

Data Writer

Data Reader

Data Reader

Data Reader

Data Writer

TopicAQoS

TopicBQoS

TopicCQoS

TopicDQoS

TopicDQoS

TopicDQoS

TopicAQoS

DDS Global Data Space

...

Data Writer

Data Writer

Data Writer

Data Reader

Data Reader

Data Reader

Data Reader

Data Writer

TopicAQoS

TopicBQoS

TopicCQoS

TopicDQoS

Page 52: Smart, Secure and Efficient Data Sharing in IoT

The  communication  between  the  DataWriter  and  matching  DataReaders  can  be  peer-­‐to-­‐peer  exploiting  UDP/IP  (Unicast  and  Multicast)or  TCP/IP

Data Writer

Data Writer

Data Writer

Data Reader

Data Reader

Data Reader

Data Writer

TopicAQoS

TopicBQoS

TopicCQoS

TopicDQoS

TopicDQoS

TopicDQoS

TopicAQoS

The  communication  between  the  DataWriter  and  matching  DataReaders  can  be  “brokered”  but  still  exploiting  UDP/IP  (Unicast  and  Multicast)or  TCP/IP

Page 54: Smart, Secure and Efficient Data Sharing in IoT

Autonomous Vehicles

coordination of fast moving autonomous vehicles

intermittent connectivity

dynamic pairing of devices

Page 56: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

A Topic defines a domain-wide information’s class

A Topic is defined by means of a (name, type, qos) tuple, where

• name: identifies the topic within the domain

• type: is the programming language type associated with the topic. Types are extensible and evolvable

• qos: is a collection of policies that express the non-functional properties of this topic, e.g. reliability, persistence, etc.

Topic

TopicTypeName

QoS

struct  TemperatureSensor  {        @key        long  sid;        float  temp;        float  hum;  }    

Page 58: Smart, Secure and Efficient Data Sharing in IoT

Oil Rig 30000 data pointsonly 1% of available data

used today

Page 60: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

For data to flow from a DataWriter (DW) to one or many DataReader (DR) a few conditions have to apply:

The DR and DW domain participants have to be in the same domain

The partition expression of the DR’s Subscriber and the DW’s Publisher should match (in terms of regular expression match)

The QoS Policies offered by the DW should exceed or match those requested by the DR

Quality of ServiceDomain

Participant

DURABILITY

OWENERSHIP

DEADLINE

LATENCY BUDGET

LIVELINESS

RELIABILITY

DEST. ORDER

Publisher

DataWriter

PARTITION

DataReader

Subscriber

DomainParticipant

offered QoS

Topicwrites reads

Domain Idjoins joins

produces-in consumes-from

RxO QoS Policies

requested QoS

Page 61: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

4

Smart-Grid20ms deadline for phase

alignment data

Interoperability

Page 62: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

Support for fine grained access control

Support for Symmetric and Asymmetric Authentication

Standard Authentication, Access Control, Crypto, and Logging plug-in API

Security

Arthur Dent

Arthur Dent

Ford Prerfect

Zaphod Beeblebrox

Marvin

Trillian

A(r,w), B(r)

A(r,w), B(r,w), X(r)

*(r,w)

*(r)

A(r,w), B(r,w), C(r,w)

Ford Prerfect

Zaphod Beeblebrox

Trillian

Marvin

A

B

A,BX

*

*

A,B,C

Identity Access RightsSessions are authenticated and communication is encrypted

Only the Topic included as part of the access rights are visible and accessible

Page 64: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

Authentication X.509 Public Key Infrastructure (PKI) with pre-configured shared Certificate Authority (CA) Digital Signature Algorithm (DSA) with Diffie-Hellman and RSA for authentication and key exchange

Access Control Access Control List file signed by a shared Certificate Authority Police access to join Domains and Partitions and read/write Topics as well as instances

Cryptography Protected key distribution AES128 and AES256 for encryption HMAC-SHA1 and HMAC-SHA256 for MAC

Default Plugins

Page 65: Smart, Secure and Efficient Data Sharing in IoT

Smart Lightbulbs96Kbytes Memory

Connected Medical Devices

12 msec period for pleath data

Peer-to-Peer connectivity

Page 66: Smart, Secure and Efficient Data Sharing in IoT

Your First DDS App!

Page 68: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

Writing Data in Python

import dds import timeif __name__ == '__main__': topic = dds.Topic("SmartMeter", "Meter") dw = dds.Writer(topic) while True: m = readMeter() dw.write(m) time.sleep(0.1)

         enum  UtilityKind  {            ELECTRICITY,            GAS,            WATER              };                            struct  Meter  {            string  sn;            UtilityKind  utility;            float  reading;            float  error;              };                                      #pragma  keylist  Meter  sn  

Page 69: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

Reading Data in Pythonimport ddsimport sys def readData(dr): samples = dds.range(dr.read()) for s in samples: sys.stdout.write(str(s.getData())) if __name__ == '__main__': t = dds.Topic("SmartMeter", "Meter") dr = dds.Reader(t) dr.onDataAvailable = readData

         enum  UtilityKind  {            ELECTRICITY,            GAS,            WATER              };                            struct  Meter  {            string  sn;            UtilityKind  utility;            float  reading;            float  error;              };                                      #pragma  keylist  Meter  sn  

Page 70: Smart, Secure and Efficient Data Sharing in IoT

DDS enables Smart, Secure and Efficient Data Sharing in IoT

In Summary

Page 71: Smart, Secure and Efficient Data Sharing in IoT

Cop

yrig

ht P

rism

Tech

, 201

5

slides available at http://bit.ly/seed-iot