Upload
wso2-inc
View
738
Download
0
Embed Size (px)
Citation preview
**
IoT Platform ChallengesDevice Registration & Management
Integration
Security - Data
ScalabilityEvent Management
App/Firmware Management
Security – Device Access
WSO2 IoT Platform - Target Market● Device Manufacturers
○ Looking for software processing platform for new devices
○ Registering new device types
○ Device enrolment for device owners
○ Personalized dashboard for devices (device owners)
○ App building for device control
● Architects
○ Device Integration to existing solution architectures
● Part of WSO2 Cloud (App, API, Integration, Device - cloud)
○ http://cloud.wso2.com
WSO2 IoT Server
● Implementation of WSO2 Reference Architecture for IoT
● Offering WSO2 IoT Platform as a single distribution pack
● 1.0.0 GA - 2016 Q2
Device Management Challenges
● Manufacturing Phase
● Deployment Phase
● Management / Usage Phase
● Troubleshooting Phase
**
Structure of Device Plugin● Plugin to CDMF
■ Currently an OSGI bundle● Controller API
■ API to send/receive control signals to device● Analytics Scripts
● UI component
**
IoT Device
● Piece of hardware● Built for a purpose● Capable of a limited functionality● Control interface● Input/output● Consumes power● Constrained Environment
Characteristics
Summary● Functional Capabilities (Actuators)● Administration Capabilities (Management)● Monitoring Capabilities (Sensor Data)
**
Modeling Device as an API
● eg : HTTP API (not limited to)○ Lock
■ GET http://{ip}/{locationid}/sensors/door1lock/staus■ POST http://{ip}/{locationid}/sensors/door1lock/lock
○ Temperature Sensor■ GET http://{ip}/{locationid}/sensors/temperature1
○ Motor■ POST http://{ip}/{locationid}/actuators/motor1/rotate/{turns}/{direction}
■ GET http://{ip}/{locationid}/actuators/motor1/status
**
Advantages - Devices as APIs● APIs - Standard Integration Pattern
○ Heterogenous devices■ protocols, access control mechanisms, data formats
● App Developers - Already familiar programming paradigm
● Seamless Integration with existing systems● Ability to re-user known patterns for securing, hardening
APIs● API Economy
Different modes of enrolment/registration
● COPE, BYOD
● Multifactor enrolment
● Dumb vs intelligent devices
● Self enrolment vs user enrolment vs bulk enrolment
**
Supported Protocols
● MQTT
○ Topic per device instance
○ Single topic for IoT Server
● XMPP
○ Jabber account per device instance
● Web sockets
○ Device -> Event Listener -> CEP Output Adaptor (Web
Sockets)
● HTTP
○ HTTP server @ device gateway end
○ CoAP like
Security
● Token based authorization (OAuth2)
● Sharing (UMA)
■ Device owner sharing his device with someone
else
● Sharing device data
● Multi tenancy
IoT Analytics
● How fast do you results?
● How much data to keep?
● Hindsight, insight, foresight
● Acting on data/events
How enterprises can use IoT Platform?
● Device Management
● On boarding new device types with custom
transport/protocol needs
● Performing Analytics on existing device data streams
● Device to middleware integration
● Device to Application lifecycle management via APIs