a reference architecture for iot

43
Director, Architecture A"ham Azeez A Reference Architecture for IoT

Upload: wso2

Post on 10-May-2015

4.946 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: A Reference Architecture for IoT

Director,  Architecture  A"ham  Azeez  

A  Reference  Architecture  for  IoT  

Page 2: A Reference Architecture for IoT

2  

About  the  Presenter  ๏   PMC  member  Apache  Axis,  Commi=er  

Apache  Synapse,  Web  Services  &  Apache  Stratos  

๏   Member,  Apache  SoCware  FoundaGon  

๏   Co-­‐author,  Axis2  Web  Services  

๏   Director  of  Architecture,  WSO2  Inc.  

๏  Hobbyist  (Arduino/RPi/Electronics/4x4)  

๏  Blog:  h=p://blog.a"ham.org  

Page 3: A Reference Architecture for IoT

3  

About  WSO2  ๏  Global  enterprise,  founded  in  2005  

by  acknowledged  leaders  in  XML,  web  services    technologies,  standards    and  open  source  

๏  Provides  only  open  source  pla]orm-­‐as-­‐a-­‐service  for  private,  public  and  hybrid  cloud  deployments  

๏  All  WSO2  products  are  100%  open  source  and  released  under  the  Apache  License  Version  2.0.  

๏  Is  an  AcGve  Member  of  OASIS,  Cloud  Security  Alliance,  OSGi  Alliance,  AMQP  Working  Group,  OpenID  FoundaGon  and  W3C.  

๏  Driven  by  InnovaGon  

๏  Launched  first  open  source  API  Management  soluGon  in  2012  

๏  Launched  App  Factory  in  2Q  2013  

๏  Launched  Enterprise  Store  and  first  open  source  Mobile  soluGon  in  4Q  2013  

Page 4: A Reference Architecture for IoT

4  

What  WSO2  delivers  

Page 5: A Reference Architecture for IoT
Page 6: A Reference Architecture for IoT
Page 7: A Reference Architecture for IoT

Physical  CompuGng    

building  interacGve  physical  systems  by  the  use  of  soCware  and  hardware  that  can  sense  and  respond  

to  the  analog  world  

Page 8: A Reference Architecture for IoT

Internet  of  Things?  

๏  A term coined in 1999 by Kevin Ashton

๏  Refers to uniquely identifiable objects & their virtual

representations in an Internet-like structure

Page 9: A Reference Architecture for IoT

Internet  of  Things?  

๏  Wireless Sensor Networks

๏  Internet-connected wearables

๏  Low power embedded systems

๏  RFID enabled tracking

๏  Use of mobile phones to interact with the real world

๏  Devices that connect via Bluetooth enabled mobile phones to the

Internet

๏  Smart Homes

๏  Connected Cars

๏  etc.

Page 10: A Reference Architecture for IoT

History  of  IoT  

๏  The  term  was  coined  in  1999  by  Kevin  Ashton  from  MIT  ๏  Concept  has  been  discussed  since  1991  ๏  “What  if  the  Internet  was  allowed  to  go  beyond  

connecGng  desktops  and  laptops  and  could  somehow  be  Ged  to  the  devices  around  us?”  

Page 11: A Reference Architecture for IoT

Core  Concerns  

๏  Security

๏  Power consumption/Battery life

๏  Software updates

๏  Recovering from network failures & other failures

๏  Connectivity and communications

๏  Device Management

๏  Data collection, analysis, and actuation

๏  Scalability

Page 12: A Reference Architecture for IoT

Device  Types  

๏  8-­‐bit  SOC  controllers  •  Arduino  •  No  OperaGng  System  

๏  Systems  based  on  Atheros  or  ARM  processors  •  Arduino  Yun  

๏  32/64  bit  compuGng  pla]orms  •  Raspberry  Pi/BeagleBone  

 

Page 13: A Reference Architecture for IoT

Arduino  

13  

Page 14: A Reference Architecture for IoT

Arduino  IDE  

14  

Page 15: A Reference Architecture for IoT

Arduino  Shields  

15  

Page 16: A Reference Architecture for IoT

Mini  weather  staGon  

16  

Page 17: A Reference Architecture for IoT

17  

Page 18: A Reference Architecture for IoT

Raspberry  Pi  

18  

Page 19: A Reference Architecture for IoT

Arduino  Yún  

19  

Page 20: A Reference Architecture for IoT

Arduino  Yún  

20  

Page 21: A Reference Architecture for IoT

CommunicaGon  

๏  Direct  Ethernet/Wi-­‐Fi/3G  –  Long  range  

๏  Bluetooth  Low  Energy  (BLE)  )  –  low  range  

๏  RFID/Near  Field  CommunicaGon  (NFC)  –  low  range  

๏  Zigbee  or  other  mesh  radio  networks  –  medium  range  

21  

Page 22: A Reference Architecture for IoT

22  

Page 23: A Reference Architecture for IoT

CommunicaGon  Protocols  

๏  HTTP  

๏  MQTT  (MQ  Telemetry  Transport)  

๏  CoAP  (Constrained  ApplicaGon  Protocol)  

23  

Page 24: A Reference Architecture for IoT

MQTT  ๏  M2M/IoT connectivity protocol

๏  Extremely lightweight pub/sub messaging transport

๏  Useful for connections with remote locations where a small

code footprint is required and/or network bandwidth is at a

premium

๏  Low latency, assured messaging over fragile networks and

efficient distribution to one or many receivers.

๏  Focuses on

•  minimising the amount of bytes flowing over the wire

•  low power usage

๏  Better at a high volume of low size messages

๏  Provides a two-way communication channel

Page 25: A Reference Architecture for IoT

MQTT  vs  HTTP  

Source https://www.ibm.com/developerworks/community/blogs/c565c720-fe84-4f63-873f-607d87787327/entry/tc_overview?lang=en

Page 26: A Reference Architecture for IoT

Zigbee  

Page 27: A Reference Architecture for IoT

XBee  Shield  

Page 28: A Reference Architecture for IoT

Motes  

See: Waspmote

Page 29: A Reference Architecture for IoT

Core  Concerns  

๏  Connectivity and communications

๏  Device Management

๏  Data collection, analysis, and actuation

๏  Scalability

๏  Security

Page 30: A Reference Architecture for IoT

Why  do  we  need  a  Ref.  Architecture?  

๏  IoT devices are inherently connected. We need a way to interact with them.

๏  There are billions of these devices. We need a scalable architecture that is highly available and allows Disaster recovery

๏  Management of devices - automatic updates, remote management

๏  Security is a concern since these devices collect sensitive data

๏  Provides a starting point for architects looking to create IoT solutions as well as a strong basis for further development

Page 31: A Reference Architecture for IoT
Page 32: A Reference Architecture for IoT
Page 33: A Reference Architecture for IoT

Example  ImplementaAon  

DHT11

Page 34: A Reference Architecture for IoT

Example  ImplementaAon  

Page 35: A Reference Architecture for IoT

Example  ImplementaAon  

Page 36: A Reference Architecture for IoT
Page 37: A Reference Architecture for IoT
Page 38: A Reference Architecture for IoT

RFID  ADendance  Tracker  

GSpread

Device Manager

Mobile App

UserReg App

Conference App

Page 39: A Reference Architecture for IoT

RFID    Reade

r  Agent  

Page 40: A Reference Architecture for IoT

Summary  

๏  Fundamentals  of  IoT    

๏  Why  a  reference  architecture  is  valuable    

๏  The  requirements  on  the  RA    

๏  The  instanGaGon  of  the  RA  and  how  it  meets  those  requirements    

๏  A  mapping  of  that  RA  into  the  WSO2  pla]orm    

Page 41: A Reference Architecture for IoT

References  

๏  A reference architecture for the Internet of Things http://wso2.com/whitepapers/a-reference-architecture-for-the-internet-of-things/

๏  MQTT https://www.ibm.com/developerworks/community/blogs/c565c720-fe84-4f63-873f-607d87787327/entry/tc_overview?lang=en

Page 42: A Reference Architecture for IoT

42  

Business  Model  

Page 43: A Reference Architecture for IoT

Contact  us  !