Controlling Smart Objects from Web Applications using the webinos Platform

21
S Controlling Smart Objects from Web Applications using the webinos Platform Vincenzo Catania, Giuseppe La Torre , Daniela Ventura PhD Student University of Catania, Italy Smart SysTech 2014 Dortmund, 1-2 July 2014

description

In the era of the Internet of Things, a new proposal to remotely control everyday objects using augmented reality and web technologies.

Transcript of Controlling Smart Objects from Web Applications using the webinos Platform

Page 1: Controlling Smart Objects from Web Applications using the webinos Platform

S

Controlling Smart Objects from Web Applications using

the webinos PlatformVincenzo Catania, Giuseppe La Torre, Daniela Ventura

PhD StudentUniversity of Catania, Italy

Smart SysTech 2014Dortmund, 1-2 July 2014

Page 2: Controlling Smart Objects from Web Applications using the webinos Platform

Social Context

IoT Revolution

In a few years, everyday’s objects will be connected

to the Internet

Page 3: Controlling Smart Objects from Web Applications using the webinos Platform

Everyday’s objects

Several objects, brands: they require user manuals

Several user Interfaces (touch screen, remote control)

Problem: Lack of a common User-Experience (UX)

Page 4: Controlling Smart Objects from Web Applications using the webinos Platform

Mobile/Web Applications

Users are able to use mobile applications immediately after the installation.

Menu, gestures, UI

N Apps – Same UX

Page 5: Controlling Smart Objects from Web Applications using the webinos Platform

Smart Objects

Main features Can be uniquely identified Have Sensing/Actuating capabilities Expose services in the form of APIs which can be

remotely reached through Web protocols Can make decisions

Not only sensors: ovens, washing machines, air conditioners

Page 6: Controlling Smart Objects from Web Applications using the webinos Platform

Web Of Things

The Web of Things (WoT) concept proposes the integration of smart things and their services and counterparts on the web, which can be seen as an enhanced IoT concept. As such, the WoT concept, increases the need for intelligence that will enable connectivity, inter-networking, interoperability and relevance between the physical world and the corresponding virtual world resources.

Two main issues Heterogeneity: virtualization, APIs Security

Page 7: Controlling Smart Objects from Web Applications using the webinos Platform

Heterogeneity

Virtualization Different Hardware Different Communication Protocols Smart Objects could be constrained

SmartObject

SmartObject

APPS

APIs

VirtualizationLayer

V.O.

V.O.

Page 8: Controlling Smart Objects from Web Applications using the webinos Platform

APIs: The REST approach

Objects capabilities as Web Services

SOAP vs REST XML vs JSON

The use of standard IP and Web technologies will ensure that device costs are driven down and that application development and use will be significantly simplified.

URIs to identify objects

Page 9: Controlling Smart Objects from Web Applications using the webinos Platform

Cloud Platforms for Sensors

Cosm, Thingspeak, …

REST APIs

Limited to sensors

Limited interaction

Page 10: Controlling Smart Objects from Web Applications using the webinos Platform

Security

IPv6 Public IP

Sensors: Sensitive data

Actuators: Unauthorized actions

Security issues may turn into Safety issues

Page 11: Controlling Smart Objects from Web Applications using the webinos Platform

webinos

EU FP7 Project Sep 2011 – Dec 2013 Web Site: www.webinos.org

A web based application platform that allows a developer to access device’s native capabilities through JavaScript APIs

A set of interoperable protocols allowing a device to remotely use the services of another device

A security framework that protects applications running on all device types, and designed for cross device, inter person sharing

Page 12: Controlling Smart Objects from Web Applications using the webinos Platform

Personal Zone - Enrollment

Personal Zone

Multi-Device

Personal Zone Hub

Enrollment

Intra/Inter zone communication

Page 13: Controlling Smart Objects from Web Applications using the webinos Platform

Webinos – zoom in

Each webinos device has two components: PZP, WRT

Personal Zone Proxy Capability as a

Service (JSON-RPC) Device and user

identity management Enforcement point for

User Defined Policies

Page 14: Controlling Smart Objects from Web Applications using the webinos Platform

Smart Object API

Objects should be able to describe themselves!

Our Contribution

Smart Object API. Consists of 3 methods GetMethods CallMethod CallAsyncMethod

S.O. APIPrivate Impl.

Oven

S.O. APIPrivate Impl.

DVD Rec

Webinos

PZH

Page 15: Controlling Smart Objects from Web Applications using the webinos Platform

Object Description‘A Calculator’

{ name: "moduloMath", description : "Finds the remainder of division of one number by another", inputs : [ { name : "dividend", displayName : "The dividend number", description : "The dividend element of the modulo operation", type : "number" }, … ], output : { results: [ moduleResult : { displayName : "Result", description : "The result of the modulo operation", type : "number" } ] } }

JSON object returned by the getMethods

Page 16: Controlling Smart Objects from Web Applications using the webinos Platform

Smart Object Discovery and Utilization

DISCOVERY

var sType = new ServiceType('http://webinos.org/api/smartobject/*’, {id:XXXX});

webinos.discovery.findServices(sType, onFound, errorCB);

GET ALL METHODS

function onFound(smart_object){var methods = smart_object.getMethods();

}

CALL METHOD

var params = {dividend: 5, divisor : 2}; calculator.callMethod(’moduloMath’, params);

Page 17: Controlling Smart Objects from Web Applications using the webinos Platform

The proposed App

The app generates an ad-hoc UI for the specific object based on the methods’ description

The aim is to provide a “continuity” in the way users interact with real objects.

Page 18: Controlling Smart Objects from Web Applications using the webinos Platform

How to identify an object?

• Not directional• Not available on

smartphones

• Available on smartphones

• Directional• Very short distance

• Doesn’t require specific hardware

• Available on smartphones

• Directional• Low Cost

Page 19: Controlling Smart Objects from Web Applications using the webinos Platform

A Smart Lamp

Page 20: Controlling Smart Objects from Web Applications using the webinos Platform

Future Work

Replacing QR codes identification by integrating AR framework “Vuforia” by Qualcomms.

Page 21: Controlling Smart Objects from Web Applications using the webinos Platform

Thank You for the Attention

Questions

?