• No results found

A Reflective Middleware for Controlling Smart Objects from Mobile Devices. Smart Objects & Ambient Intelligence. October 12-14, 2005, Grenoble, France

N/A
N/A
Protected

Academic year: 2021

Share "A Reflective Middleware for Controlling Smart Objects from Mobile Devices. Smart Objects & Ambient Intelligence. October 12-14, 2005, Grenoble, France"

Copied!
9
0
0

Loading.... (view fulltext now)

Full text

(1)

A Reflective Middleware for Controlling

Smart Objects from Mobile Devices

Smart Objects & Ambient Intelligence

(sOc-EUSAI 2005)

October 12-14, 2005, Grenoble, France

Dr. Diego López de Ipiña, Iñaki Vázquez, Daniel García, Javier Fernández, Iván García

{dipina, ivazquez}@eside.deusto.es

Faculty of Engineering (ESIDE), University of Deusto, Bilbao, Spain

Cátedra de Telefónica Móviles Universidad de Deusto, Bilbao, SPAIN . . . .

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects Universidad de Deusto

Universidad de Deusto . . . .

sOc-EUSAI

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

Outline

• Motivation

• EMI

2

lets Platform

– Concept

– Objectives

– Software Architecture

– Applications

(2)

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects

from Mobile Devices sOc-EUSAI

Motivation

• Latest mobile devices used mainly for communication, entertainment or as electronic assistants

• However, their increasing: – Computational power – Storage

– Communications (Wi-Fi, Bluetooth, GPRS) – Multimedia capabilities (Camera, RFID reader) – Extensibility

• Ideal to act as intermediaries between us and the environment: – Aware (Sentient) Devices

– Powerful devices

– Always with us anywhere at anytime

Our mobile devices can turn into our personal butlers

Universidad de Deusto Universidad de Deusto . . . .

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

Motivation

• Our goals are to

build Smart Spaces

and

transform

mobile devices into Universal Remote

Controllers

of Anything Anywhere at Anytime

– Mobile devices equipped with Bluetooth, cameras, barcode or RFID are sentient devices

• http://www.ctme.deusto.es/mobilesense

– A Smart Space is a container, either indoors or outdoors, of Smart Objects

– A Smart Objectis an everyday object (e.g. door) or device augmented with some computational service.

(3)

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects

from Mobile Devices sOc-EUSAI

EMI

2

lets Platform I

• EMI

2

lets is a middleware to facilitate the

development and deployment of mobile

context-aware applications for AmI spaces.

• This software platform provides the

infrastructure to:

– convert physical environments into AmI spaces

• augment daily life objects with computational services

– transform mobile devices into remote controllers

of those Smart Objects

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects Universidad de Deusto

Universidad de Deusto . . . .

sOc-EUSAI

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

EMI

2

lets Platform II

• EMI

2

lets is an AmI-enabling middleware

– addresses the service discovery and interactionaspects required for active influenceon EMI2Objects

• Follows a Jini-like mechanism and Smart Client

paradigm

– once a service is discovered, a proxy of it (an EMI2let) is downloaded into the user’s device (EMI2Proxy).

– An EMI2letis a mobile component transferred from a Smart

Object to a nearby handheld device, which offers a graphical interface for the user to interact over that Smart Object

(4)

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects

from Mobile Devices sOc-EUSAI

Design Objectives

1. Transform mobile devices into remote universal controllers of Smart Objects

2. Enable local (Bluetooth, Wi-Fi) and global access (GPRS/UMTS) to Smart Objects

3. Develop middleware independent of a particular discovery or interaction mechanism.

– Abstract the programmer from the several available discovery (Bluetooth SDP or wireless UPnP discovery) and interaction mechanisms (RPC or publish/subscribe).

– Allow this middleware to easily adapt to newly emerging discovery (e.g. RFID identification) and interactions means

4. Make use of commonly available hardware and software features in mobile devices

5. Generate software representatives (proxies) of smart objects which can be run in any platform

“write once run in any device type”philosophy

Universidad de Deusto Universidad de Deusto . . . .

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

EMI

2

lets Deployment

EMI2let

Framework

Handheld device

(PDA,mobile phone)

EMI2let

EMI2let runtime EMI2let … EMI2let Player Handheld device (PDA,mobile phone) EMI2let runtime EMI2let … EMI2let Player Smart Object

EMI2let EMI2let back-end EMI2let Server Smart Object

EMI2let back-endEMI2let EMI2let Server

EMI2let EMI2let back-end … EMI2let Server EMI2let EMI2let EMI2let Server EMI2let transfer EMI2let transfer EMI2let to back-end communication

EMI2let

Designer

EMI2let

Designer

EMI2let
(5)

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects

from Mobile Devices sOc-EUSAI

EMI

2

lets Platform Deliverables

The EMI

2

lets platform consists of the following

elements:

– A programming framework

– An integrated development environment, named EMI2let Designer

– A runtime environment installed on EMI2let-aware devices for executing downloaded code.

– An EMI2let Player to discover, download, verify and control the execution life of a downloaded EMI2let.

– An EMI2let Server which acts as repository of EMI2lets and as running environment of EMI2lets server-sides

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects Universidad de Deusto

Universidad de Deusto . . . .

sOc-EUSAI

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

How does it work?

GPRS

Development Discover Reproduction

Download Interact Upload to the

(6)

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects

from Mobile Devices sOc-EUSAI

EMI

2

lets Internal Architecture

EMI2let Abstract Programming Model API

Abstract-to-Concrete Mapping

EMI2Protocol over Bluetooth RFCOMM

SOAP over Wi-Fi, GPRS/UMTS or Internet TRIP-based Service Discovery UPnP Service Discovery RFID-based Service Discovery Bluetooth Service Discovery (SDP) Interaction Mapping Discovery Mapping Presentation Mapping Persistence Mapping Universidad de Deusto Universidad de Deusto . . . .

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

EMI

2

Internals

• 3-tier software architecture

• EMI

2

framework defines

4 programming

abstractions

:

– Discovery – Communication – Presentation – Persistency

• An

EMI2let plug-in

= abstraction implementation

– Common plug-ins: Bluetooth, Wi-Fi, UPnP

– Special purpose: TRIP (Target Recognition using Image Processing)

(7)

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects

from Mobile Devices sOc-EUSAI

EMI

2

lets Implementation

• Reflection is used to verify that the code arriving as part of an EMI2let complies with the EMI2lets framework and can be trusted.

• The EMI2letbase class defines a set of methods that rule the

life cycle of an EMI2let:

– Start, Pause, Destroy, NotifyDisconnected • ... and its metadata:

– GetUUDI

– SetProperty/GetProperty – GetAddresses

• The binary code downloaded is linked dynamically (late bound) with the runtime installed in the target device

• Our first implementation has been done in .NET available for PC, PDA and Mobile Phone

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects Universidad de Deusto

Universidad de Deusto . . . .

sOc-EUSAI

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

TRIP EMI

2

let Plug-in

n 2-D barcode with ternary code

(http://www.ctme.deusto.es/trip)

n 4 20 bit code encoding rings:

– 1 sector synchronisation – 2 for even parity checking

– 1517 = 98526125335693359375 = 266codes

n

Applied to:

– Encode 48 bit BLUETOOTH_ADDR – 8 character http://tinyurl.com addresses – http://tinyurl.com/8ggaj <-->

(8)

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects

from Mobile Devices sOc-EUSAI

EMI

2

lets Applications

• We have created EMI2lets for different

application domains:

– Accessibility: blind (bus stop), deaf

(conference)

– Home/office automation: comfort (lights),

entertainment (WMP), surveillance

(camera)

– Industry: robot

– Public spaces: restaurant, parking, airport

Universidad de Deusto Universidad de Deusto . . . .

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

Conclusion

EMI

2

lets = middleware providing universal active

influence to mobile devices over Smart Objects:

– Transforms mobile devices into universal remote controllers. – Enables both local and global access to those Smart Objects

(anywhere/anytime).

– Independent and extensible to the underlying service discovery and interaction, graphical representation and persistence mechanisms.

– Enables AmI spaces using conventional readily-available hardware and software.

(9)

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects

from Mobile Devices sOc-EUSAI

Questions

?

López de Ipiña et al. A Reflective Middleware for Controlling Smart Objects Universidad de Deusto

Universidad de Deusto . . . .

sOc-EUSAI

Cátedra de Telefónica Móviles Universidad de Deusto . . . .

EMI

2

lets Applications

• We have created EMI2lets for different

application domains:

– Accessibility: blind (bus stop), deaf

(conference)

– Home/office automation: comfort (lights),

entertainment (WMP), surveillance

(camera)

– Industry: robot

References

Related documents

South African Heritage Resources Agency (SAHRA). Full cognisance is taken of this Act in making recommendations in this report. - With reference to the evaluation of

If the Insured has not complied with the Policy and the Agreements of the Insured contained herein: subject to the Maximum Enhanced Payment Amount, the amount paid by Ex-Im Bank will

National Semiconductor Corporation (“National”) is pleased to be a contributing member of the IEEE 802.3 Working Group responsible for developing an autodetection standard based

The finding of the research will help students to learn in better way and urge teacher to choose appropriate teaching methodology which accommodate students’ learning

The numerical procedure combines a finite-difference solution of the laminar boundary- layer equations with a DBD force field model and linear stability analysis, enabling

If he was really Jayavarman II, the latter began his political activity with a claim to kingship in the Southeast of Cambodia in 770, united his own domain with §ambhupura in

When lurking was defined as ‘no messages during a three month period’, 48% and 84% of community members in 77 online health and 21 online technical support communities

LaGuardia’s Small Business Development Center provides a range of support services, from writing business plans to securing financing, and is especially knowledge- able about