NEXT GENERATION WIRELESS PRODUCTS AND SOLUTIONS
OpenSource IoT Middleware Frameworks
Siji Sunny
MOBILE EMBEDDED LABS PVT.LTD
USE CASE-1
Humidity and Temperature Monitoring using Arduino
(Ref: Electronics For You, Feb, 2017)
Page 2 Of 19
DHT-11
Sensor Network ShieldArduino UNO
Micro Controller
Cloud
Monitoring
WORK FLOW
Serial Receiver EtherNetServer
Page 3 Of 19
WHY OPENSOURCE MIDDLEWARE ?
To avoid – “Isolated Internet Of Things”
To build interoperability between various devices/protocols, regardless of
vendor, OS, hardware, etc.
Page 4 Of 19
Device Discovery
Data Processing
Application
Interfaces
Data
Interfaces
Device
Management
Communicatio
n
Interfaces
Security – Access management/Authentication
User/Admin Applications
Services
Page 5 Of 19
OpenSource IoT Middleware frameworks
Page 6 Of 19
IOTVITY
l
Open source framework and SDK for building IoT Applications
l
Hosted by LIUNX FOUNDATION & FUNDED by Open Connectivty Foundation (OCF)
l
Apche 2.0 License
l
In 2016 Alljoyn merged with Iotvity
l
Written in C , C++ and API's are available in C , C++, & Java
OS Support
l
Linux - Debian, Ubunttu, Fedora, Centos
l
Debian ARM
l
Android & IoS
l
Windows
l
Tizen
l
Yocto
l
Openwrt
Protocol Support
l
Constrained Application Protocol (CoAP)
l
Wi-Fi Direct
l
Bluetooth low energy
l
Bluetooth
l
ANT+
l
Zigbee & Z-Wave
Page 7 Of 19Page 7 Of 19
OCF SPECIFICATION
Defiens core architecture, core features, and protocols to enable OCF profiles
implementation for Internet of Things (IoT) usages and ecosystems.
The OCF architecture is based on the Resource Orientated REST architectural
style
Bridging specification specifies a framework for translation between devices in
OCF and non-OCF ecosystems.
The OCF offers Resource to AllJoyn Interface Mapping specification provides
detailed mapping information to provide equivalency between AllJoyn defined
Interfaces and OCF defined Resources
Page 8 Of 19
IOTVITY FUNCTIONAL ARCHITECTURE
Connectivity Abstraction
Secure Resource Manager
JAVA API's
C ++ API's
C API's
Services Layer
Resource Model
User Application
Page 9 Of 19
OCF RESOURCES
Functionality Fixed URI
Discovery /oic/res
Device /oic/d
Platform /oic/p
Security /oic/sec/*
Page 10 Of 19
OCF RESOURCES -COLLECTION URI
rt: Resource Type
if: Resource Interface
p: Resource Properties
n: Resource Name
links: [Other resource URI]
Page 11 Of 19
OCF PROTOCOLS
l
Messaging protocol: CoAP (RFC 7252)
l
Data model: CBOR (RFC 7049) encoding of OCF payloads
l
Security model: DTLS-based authentication, encryption and access control
l
Transport: UDP/IP; being adapted to Bluetooth
Page 12 Of 19
USE CASE-2
LIGHT CONTROL -IoTVity(OCF)
Page 13 Of 19
RESOURCE DISCOVERY
Page 14 Of 19
GET / PUT REQUEST
Page 15 Of 19
OBSERVER / NOTIFY
Page 16 Of 19
KAA PROJECT
Page 17 Of 19
KURA ECLIPSE
open source Java and Application Framework for M2M Service
Gateways in the Eclipse IOT Working Group.
It provides
• Cohesive and integrated app environment
• Modular software components
• HW abstraction layer
• Field protocol libraries
• Cloud connectivity
• Remote app and device management
• Local app and device management
• Built-in Security
• Development tools
Page 18 Of 19
THANK YOU
Page 19 Of 19
Contact- siji@melabs.in
Twitter - siji_sunny

OpenSource IoT Middleware Frameworks

  • 1.
    NEXT GENERATION WIRELESSPRODUCTS AND SOLUTIONS OpenSource IoT Middleware Frameworks Siji Sunny MOBILE EMBEDDED LABS PVT.LTD
  • 2.
    USE CASE-1 Humidity andTemperature Monitoring using Arduino (Ref: Electronics For You, Feb, 2017) Page 2 Of 19
  • 3.
    DHT-11 Sensor Network ShieldArduinoUNO Micro Controller Cloud Monitoring WORK FLOW Serial Receiver EtherNetServer Page 3 Of 19
  • 4.
    WHY OPENSOURCE MIDDLEWARE? To avoid – “Isolated Internet Of Things” To build interoperability between various devices/protocols, regardless of vendor, OS, hardware, etc. Page 4 Of 19
  • 5.
    Device Discovery Data Processing Application Interfaces Data Interfaces Device Management Communicatio n Interfaces Security– Access management/Authentication User/Admin Applications Services Page 5 Of 19
  • 6.
    OpenSource IoT Middlewareframeworks Page 6 Of 19
  • 7.
    IOTVITY l Open source frameworkand SDK for building IoT Applications l Hosted by LIUNX FOUNDATION & FUNDED by Open Connectivty Foundation (OCF) l Apche 2.0 License l In 2016 Alljoyn merged with Iotvity l Written in C , C++ and API's are available in C , C++, & Java OS Support l Linux - Debian, Ubunttu, Fedora, Centos l Debian ARM l Android & IoS l Windows l Tizen l Yocto l Openwrt Protocol Support l Constrained Application Protocol (CoAP) l Wi-Fi Direct l Bluetooth low energy l Bluetooth l ANT+ l Zigbee & Z-Wave Page 7 Of 19Page 7 Of 19
  • 8.
    OCF SPECIFICATION Defiens corearchitecture, core features, and protocols to enable OCF profiles implementation for Internet of Things (IoT) usages and ecosystems. The OCF architecture is based on the Resource Orientated REST architectural style Bridging specification specifies a framework for translation between devices in OCF and non-OCF ecosystems. The OCF offers Resource to AllJoyn Interface Mapping specification provides detailed mapping information to provide equivalency between AllJoyn defined Interfaces and OCF defined Resources Page 8 Of 19
  • 9.
    IOTVITY FUNCTIONAL ARCHITECTURE ConnectivityAbstraction Secure Resource Manager JAVA API's C ++ API's C API's Services Layer Resource Model User Application Page 9 Of 19
  • 10.
    OCF RESOURCES Functionality FixedURI Discovery /oic/res Device /oic/d Platform /oic/p Security /oic/sec/* Page 10 Of 19
  • 11.
    OCF RESOURCES -COLLECTIONURI rt: Resource Type if: Resource Interface p: Resource Properties n: Resource Name links: [Other resource URI] Page 11 Of 19
  • 12.
    OCF PROTOCOLS l Messaging protocol:CoAP (RFC 7252) l Data model: CBOR (RFC 7049) encoding of OCF payloads l Security model: DTLS-based authentication, encryption and access control l Transport: UDP/IP; being adapted to Bluetooth Page 12 Of 19
  • 13.
    USE CASE-2 LIGHT CONTROL-IoTVity(OCF) Page 13 Of 19
  • 14.
  • 15.
    GET / PUTREQUEST Page 15 Of 19
  • 16.
  • 17.
  • 18.
    KURA ECLIPSE open sourceJava and Application Framework for M2M Service Gateways in the Eclipse IOT Working Group. It provides • Cohesive and integrated app environment • Modular software components • HW abstraction layer • Field protocol libraries • Cloud connectivity • Remote app and device management • Local app and device management • Built-in Security • Development tools Page 18 Of 19
  • 19.
    THANK YOU Page 19Of 19 Contact- siji@melabs.in Twitter - siji_sunny