Remote Networking Technology for IoT: Cloud...

10
Remote Networking Technology for IoT : Cloud - based Access for AllJoyn - enabled Devices Speaker : Ammar Muthanna St. Petersburg State University of Telecommunications 18th Conference of Open Innovations Association FRUCT and Seminar on Information Security and Protection of Information Technology, 2016 Presentation on: Pavel Masek, Radek Fujdiak, Krystof Zeman, Jiri Hosek, Ammar Muthanna

Transcript of Remote Networking Technology for IoT: Cloud...

Page 1: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Remote Networking Technology for IoT:

Cloud-based Access for AllJoyn-enabled Devices

Speaker:Ammar Muthanna

St. Petersburg State University of Telecommunications

18th Conference of Open Innovations Association FRUCT and Seminar on Information Security and Protection of Information Technology, 2016

Presentation on:

Pavel Masek, Radek Fujdiak, Krystof Zeman, Jiri Hosek, Ammar Muthanna

Page 2: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Introduction

- Introduction(Platforms, Frameworks , …)

- Developing universal platform(Integrating all sensors and actuators under one platform, …)

- Application frameworks(OSGI framework, AllJoyn framework )

- Implementation of remote management using AllJoyn framework(Created software bulb, Example of tweets)

- Final thoughts

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 2/10

Page 3: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Introduction to AllSeen Alliance

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 3/10

- Crucial need to develop communication platform merging majority of smart devices and so providing desired interoperability

- Provide a special AllJoyn routing node (gateway agent) for secure and manageable connections with external network devices and services in IoT domain

Page 4: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Introduction – AllJoyn application framework and Our focus

AllSeen Alliance vision for Internet of Things using the

AllJoyn framework

• we focus on the remote control system for light sources• the extension for AllJoyn Framework suitable for various

communication technologies• we expand our vision of control system on remote management,

using cloud entity• The additional requirements to provide a comprehensive package for

IoT: • type of communication (one-directional, bi-directional)• communication protocols (on application and transport layer)• security (encrypted communication) should be implemented

• IoT protocols : • Constrained Application Protocol (CoAP)• Message Queue Telemetry Transport (MQTT)• Data Distribution Service (DDS)

• Two cornerstones enabling the development of applications : • OSGi framework • AllJoyn framework

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 4/10

In-Home Displays

Cooling Systems

Heating Systems

...

Light Systems

Sensors

Home Entertainment

Security

AllJoyn

IoT

Page 5: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Frameworks and protocols

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 5/10

Frameworks and protocols categorized by communication TCP/IP layers Communication protocols supported by the studied frameworks

AllSeen Alliance offers the support of wide variety of communication protocols and it's also modular for future changes and improvements

Page 6: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Architecture of AllJoyn framework

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 6/10

• Apps and Routers:• App uses its own Router• Multiple Apps on the same device use one Router• App uses a Router on a different device

• Software architecture• Standard core (Android, iOS or Linux)• Thin core (Arduino, Intel Edison, ThreadX)

AllJoyn Standard Application

App Code

AllJoyn Standard Service Frameworks

AllJoyn Standard Core Library

AllJoyn Thin Application

App Code

AllJoyn ThinService Frameworks

AllJoyn Thin Core Library

AllJoyn Router

Non-embedded OSes(e.g., Windows, OS X)

Embedded OSes(e.g., Arduino, Edison)

App

RouterApp

Router

Router

App

App

App

App

Embedded Device

Embedded Device

Mobile App

Router

Page 7: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

AllJoyn Gateway Agent

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 7/10

• Remote access and management • Security and data privacy• Interoperability• Support for open standards

Key features the purpose of gateway agent in AllJoyn architecture

• The connector for communication between internal distributed communication bus (DBus) and remote devices located outside the home (local) network was developed

• Gateway Agent was defined as a special AllJoyn routing node for secure and manageable connections with external network devices and services

• Our own instance of Gateway Agent created –source codes are available on GitHub

The purpose of gateway agent in AllJoyn architectureAllJoyn Gateway Management App

AllJoyn Library

Profile

Configuration

AllJoyn Gateway Connector(s)

AllJoyn Library

AllJoyn Router (AllJoyn Daemon)

Lighting Controller

Service

Distributed Bus (DBus)

TP-LINK TL-WDR4300

AllJoyn GatewayAgent

Verification

User‘s Tweets

Twitter Cloud Server

Access Rights

AllJoyn Lighting Controller App

AllJoyn GatewayController App

AllJoyn LightingThin Client(SW bulb)

Remote AppTwitter

WiFi Connection

Cellular ConnectionInternal DBus Communication

SoC (ARM or MIPS architecture) running OpenWRT OS Android OS

Local Network

Public Network (Internet)

Page 8: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Application for remote control

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 8/10

The new message format for our application to meet the message length is restricted to 140 characters wascreated

Created the new message format for our application:• AllJoyn - determinates whether it is an incoming

command to get status (info) of bulb(s) (AllJoynLS) or command to change parameters (AllJoynLC)

• lampID - defines the bulb ID (uint32 t) • onOff - bulb status (i) On (1), (ii) Off (0) • hue - hue definition in range 0 to 360 • saturation - bulb saturation in percents• colorTemp - light temperature defined in Kelvin in

range 2700 to 5500.• brightness - key parameter of brightness, defined

in percents

We used one of the most popular social application Twitter

Page 9: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Lessons learned and final thoughts

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 9/10

• Number of challenges addressed, mostly due to the fact, that structure (modules and classes) of AllJoyn framework was changing frequently (development procedure on monthly basis)

• Our developed extension comprises all mentioned parts and enables possibility to build our created Gateway Agent connector with libraries provided as a part of AllJoyn framework

• To prove the functionality of developed connector software tool that simulates a lamp running the AllSeen Alliance’s Open Source AllJoyn Lighting Service Framework was created

• New message format for sending commands ”tweets” implemented

• We believe our created extension of Gateway Agent within the AllJoyn framework can be used (and modified) by community members

Page 10: Remote Networking Technology for IoT: Cloud …smartroom.cs.karelia.ru/files/muthanna/remote_networking...Remote Networking Technology for IoT: Cloud-based Access for AllJoyn-enabled

Thank you for Attention!

Ammar MUTHANNA, [email protected] Remote Networking Technology for IoT 10/10