Download - Introduction to the AllJoyn Gateway Agent

Transcript
Page 1: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 1

Introduction to Gateway Agent

Art Lancaster

CTO, Affinegy

Chair, Gateway Agent Working Group

Page 2: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 2 2

1. Background

2. Gateway Working Group Overview

3. Gateway Agent Project

4. Gateway Agent Developer Information

5. Status And Future Plans

Topics

Page 3: Introduction to the AllJoyn Gateway Agent

3

This is going to look a lot like the

Internet in the sense that everything

depends on interoperability.

Seth Frader-Thompson, EnergyHub

http://www.pcworld.com/article/2925232/want-smarthome-devices-to-get-along-get-the-industry-to-do-it-first.html

Page 4: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 4

IOT Challenges to Privacy

• Ubiquitous data collection

• Unexpected uses of consumer data that could have

adverse consequences

• Heightened security risks

Speech of FTC Chairwoman Edith Ramirez; Privacy and the IoT: Navigating Policy Issues

International Consumer Electronics Show, January 6, 2015

Key Solutions

• Security by design

• Data minimization

• Notice and choice before information shared

Page 5: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 5

Gateway Working Group

• Mission: Provide standard and secure interfaces between AllJoyn

devices in a proximal network and other IOT protocols, external

networks, remote access and cloud services

• Current Projects

– Gateway Agent Project: A standard, secure application to securely connect AllJoyn applications with external

networks and services.

– Analytics Connector Project: Provides a common API for capturing events, state, and other information, to be

collected and transmitted outside the AllJoyn proximal network

– Device System Bridge Project: Provides a bridge to connect external non-AllJoyn devices to the AllJoyn bus in a

proximal network (samples available for Z-wave and BACnet)

– Update Service Project: Provides a standard and secure interface for remotely updating AllJoyn applications

(i.e. thin clients) via another connected AllJoyn node.

Page 6: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 6

Gateway Agent Project – AllJoyn Meets Cloud / Managed Services

DVR: OK playing

My Hawaii vacation

movie

Car: OK Lights are

now OFF

TV: Fixing WiFi video quality

TV: My WiFi video

picture is poor

Fix it?

Dryer:

Laundry is ready

72°

120 80

Turn off the kitchen lights,

Set away mode.

OK changing

to away mode DVR: play

my Hawaii vacation

movie

Laundry is ready

BeFit: Congratulations goal met!

72

AllJoyn

Gateway Agent

Cloud / Managed

Services

AllJoyn local applications

AllJoyn remote applications

Page 7: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 7

AllJoyn Gateway Agent Application

• Software application ideal for an always on, connected

hardware device in the proximal network turning it into

an AllJoyn to remote services gateway

• Provides a standard and secure method for connecting

local AllJoyn devices and applications to external

services

– Works with any Internet connection

– Supports persistent remote connections without special firewall

or port settings

Page 8: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 8

Managed and Secure AllJoyn Remote Routing Node

• Filters local AllJoyn traffic from remote traffic – only traffic

needed for the user’s cloud or remote services is passed

• Filters are configured by the Gateway Agent’s remote

Service Profiles – managed by the Gateway Agent Control

API

– Enhances the user’s privacy and security

– Enables managed service privacy policies

• Supports multiple independent cloud services in one device

with modular Connector plug-ins

• Supports other local protocols (6LowPAN, ZigBee, etc.)

Page 9: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 9

Consumer Mode Operation

• User self-manages

their AllJoyn

connections to external

services

• Services provisioned

via a mobile app with

the Gateway Control

App component

– Connector Plug-in

installed

– Service Profile

managed

• Consumer must be at

home when configuring

their cloud service

using Control App

BA

SPAppConnectorPlug-in

GatewayManagement

App

Configfilepolicyenforcement

ClientLib.

AllJoynDevices

ControlApp

RemoteApp

AllJoynRouter

CloudService

AppMgmtInterface

Platformbasedinteraction

ClientLib.

GatewayAgent

PackageManager

Appinstall/upgrade/uninstallCloud<->Connector protocol

AppInstallInteraction

PkgDownloadServer

Connectorpackagedownload

Service profile

Page 10: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 10

XMPP Remote Connector

• An XMPP Cloud Services Connector plug-in for the Gateway Agent

supporting its APIs and service profiles

• Relays local AllJoyn messages, to/from a remote AllJoyn application

by wrapping these in XMPP sessions relayed via a standard XMPP

server cloud service

• Subscribers authenticate with their cloud service’s XMPP ID –

provides secure authentication and an encrypted channel for AllJoyn

remote access

• Embedded version for Linux AllSeen Open Source contribution from

Affinegy available June 2015

• Mobile app version will be available from Affinegy June 2015 as both

a helper application and an SDK.

– Helper app uses the AllJoyn bus in the mobile device to remotely enable

existing AllJoyn apps.

Page 11: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 11

Affinegy CHARIOT Connect Services

CHARIOT Connect Service (XMPP)

CHARIOT

Mobile Connector for

AllJoyn (XMPP)

AllJoyn Home

AllJoyn Apps

AllJoyn Apps

AllJoyn Remote

Turn-key enables existing AllJoyn Apps for remote services

Gateway Agent

with

AllJoyn - XMPP

Connector Plug-in

Page 12: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 12

Gateway Agent Developer Information

• Gateway Agent Project Wiki

https://wiki.allseenalliance.org/gateway/gatewayagent

– Documentation and presentations

– Open source GIT repository

– Weekly working group meetings

– Inviting contributors now for connector plug-ins for remote and

local protocols

• Released source code available now in AllSeen GIT:

– Gateway Agent management app (embedded for Linux and OpenWRT)

– Sample connector plug-in

– Sample Android control application for managing connectors and the

service profile

Page 13: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 13

Status And Future Plans

• Fully released with AllJoyn Core 14.12 and now part of the C.B.I.

– Gateway agent application

– Sample connector application (for AllJoyn to Twitter)

– Control application (Android) for managing service profiles of gateway

agent

• Plans for the coming Quarter

– XMPP AllJoyn Connector Plug-in – in beta from Affinegy today,

contributing to AllSeen GIT during June

– For AllJoyn 15.08 Core Release

• Gateway Agent Package Manager (to install, update and remove connectors)

• Support for Security Manager 2.0 of AllJoyn Core

Page 14: Introduction to the AllJoyn Gateway Agent

2 June 2015 AllSeen Alliance 14

Thank you Follow us on

For more information on AllSeen Alliance, visit us at:

allseenalliance.org & allseenalliance.org/news/blogs