Date post: | 22-Jun-2015 |
Category: |
Technology |
Upload: | giuseppe-la-torre |
View: | 138 times |
Download: | 1 times |
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
Social Context
IoT Revolution
In a few years, everyday’s objects will be connected
to the Internet
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)
Mobile/Web Applications
Users are able to use mobile applications immediately after the installation.
Menu, gestures, UI
N Apps – Same UX
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
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
Heterogeneity
Virtualization Different Hardware Different Communication Protocols Smart Objects could be constrained
SmartObject
SmartObject
APPS
APIs
VirtualizationLayer
V.O.
V.O.
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
Cloud Platforms for Sensors
Cosm, Thingspeak, …
REST APIs
Limited to sensors
Limited interaction
Security
IPv6 Public IP
Sensors: Sensitive data
Actuators: Unauthorized actions
Security issues may turn into Safety issues
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
Personal Zone - Enrollment
Personal Zone
Multi-Device
Personal Zone Hub
Enrollment
Intra/Inter zone communication
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
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
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
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);
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.
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
A Smart Lamp
Future Work
Replacing QR codes identification by integrating AR framework “Vuforia” by Qualcomms.
Thank You for the Attention
Questions
?