• Aucun résultat trouvé

D. Donsez, CCNC 2007

N/A
N/A
Protected

Academic year: 2022

Partager "D. Donsez, CCNC 2007"

Copied!
17
0
0

Texte intégral

(1)

On-Demand Component Deployment in the UPnP Device Architecture

Didier DONSEZ

University Joseph Fourier IMAG - LSR –ADELE Team Grenoble, France

didier.donsez@imag.fr, didier.donsez@ieee.org

(2)

Donsez, CCNC 2007

Outline

Our context : the connected SOHO Motivations

Our component model Trading algorithm

Examples

Implementation details

Conclusion & Perspectives

(3)

CCNC 2007

Our Context: The connected SOHO

JINI, UPnP, DLNA, IGRS,

DPWS, and so on

(4)

Donsez, CCNC 2007

Nodes in a SOHO network

Device

• provide services

set/get state variables

execute actions

• notify state changing

Control point

• invoke actions

• react to notified state changes

(5)

CCNC 2007

Motivations #1

Small Office Home Office (SOHO)

• Proliferation of networked (home) appliances

• Proliferation of their controllers

“One for all” remote controller(s)

Problem:

Find and install the program on this terminal

if it exists !

(6)

Donsez, CCNC 2007

IEEE1394

Motivation #2

A SOHO network of networks

IP Home

Network Bridge

FireWire-UPnP

WWW

Bridge

X10-UPnP

Web

Non-IP Micro-World

Non-IP Micro-World

ON ON

Same Problem:

Find and install the program on this bridge

if it exists ! OFF

(7)

CCNC 2007

Case study

the UPnP Device metamodel

Device

*

0..1

parent

child

Action

*

name invoke

StateVariable

*

type sendEvent

Service

*

id type

id, type manufacturer, model

icons

devices

can be composed of sub-devices

“interested” control points can be notified

of state changing

standards and proprietary

types

standards et extensions

propriétaires

standards

(mandatory/optional) and proprietary

extensions

(8)

Donsez, CCNC 2007

Our proposition

A component model for SOHO CP and bridge

Isomorphic with the UPnP device metamodel Component types

Controllet for control points

Bridglet for bridges

Common features

• Hierarchical composition

• Dedicated or generic

• Deployment on device detection

• Component trading according to

device properties (brand, model, type …)

and execution environment constraints (GUI Tk … )

(9)

CCNC 2007

Dedicated vs Generic components

Dedicated

• to a device id

• to a device model

• to a device type

• to a service type

Generic

• defined for a datatype

min/max, allowed value, …

Ch 5

Vol 10

(10)

Donsez, CCNC 2007

Generic

Control Point (PDA, Wall panel)

Micro-world gateway

Bridglet

for Dimmable

Light

Bridglet

for Dimmable

Light

Controllet

Controllet ControlletControllet

Component repositories of appliances manufacturers Framework

Framework FrameworkFramework

Trading + Deployment

SOHO UPnP network

WWW

upnp device upnp control point

model manufacturer type

UPnP AV Media Renderer

model manufacturer type

Trading and deployment

(11)

CCNC 2007

Trading algorithm

Trig on device detection

Lookup for a component representing a device

• Refinement [id] [manufacturer+model] [type]

• Lookup for sub-components of embedded devices

Else for each service of the device

• Lookup for a component representing a service

Refinement [id] [type]

If not found

use a generic component using datatypes

(12)

Donsez, CCNC 2007

Trading algorithm : Example

urn:schemas-upnp-org:service:SwitchPower:1

urn:schemas-adele-imag-fr:service:ChannelSelector:1 urn:schemas-adele-imag-fr:service:VolumeSelector:1

(13)

CCNC 2007

A generic control point

for PDA and controllets

(14)

Donsez, CCNC 2007

More controllets

(15)

CCNC 2007

Implementation details

Controllets

• Java-based (J2ME/CDC/PBP)

• Prototype limited to the AWT for the moment (eSWT, MIDP, …)

OSGi technology

• UPnP Base Driver

• Dynamic Deployment (install, activate, update, uninstall)

Deployment with OBR v1 + extra metadata

describing the [id],[model],[type] supported by the controllet/brigdlet

Extra : S tubs and Skeleton generator

• Several real devices

WebCam USB, GPS receiver, Thermocron iButton, RFID reader,

(16)

Donsez, CCNC 2007

Conclusion and Perspectives

Emerging problem

• MicroSoft Vista Sideshow

• DPWS (Device Profile for Web Services)

Extensions

• Context-aware deployment

• User-preferences aware deployment

• Stateful components (user session history)

• Model-Driven Engineering (MDE)

Physical control point association

phydgetlet for phydget (dimmer, …) [Greenberg2001&2002].

(17)

Q & A

Visit us at the

demonstration session

Références

Documents relatifs

Connecting the two ports implies passing the reference of the shared data from the shares component to the accesses component. The shared data was previously allocated and associated

idier Donsez, 2002-2005, Systèmes d'exploitation pour l'embarqué. Outillage

In this section, we present an overview of C ODEWAN (COmponent DEployment in Wireless Ad hoc Networks), a platform we designed in order to support the deployment of

In this context, demand grows by 1.3% per year until 2010, and 1.0% over the following decade, in the new baseline scenario used for the Generation Adequacy Report, leading to

We present here the security manager, a component dedicated to manage and enforce security policies, and an elementary secu- rity tool, a software-based memory isolation mech-

UPnP Device Architecture Defined UPnP Forum Working Commitee Defined. UPnP

In this work we inves- tigate sulfate aerosol formation in the marine troposphere from neutral and charged binary nucleation, compare the potential of different regions and processes

On the other hand, deploy- ment solutions addressing the non component-based software applications, such as the DEB and RPM projects as well as the .NET framework can not be used in