enhancing residential gateways: osgi service composition consumer electronics, ieee transactions...

22
Enhancing Residential Gateways: OSGi Servic e Composition Consumer Electronics, IEEE Transactions /Feb ruary 2007/Volume: 53, Issue: 1 /On page(s): 87-95 學學 :69621045 學學 : 學學學

Upload: makenna-hunter

Post on 30-Mar-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

Enhancing Residential Gateways: OSGi Service Composition

Consumer Electronics, IEEE Transactions /February 2007/Volume: 53,  Issue: 1 /On page(s): 87-95

學號 :69621045學生 :康郁伶

Page 2: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

Outline-1

I. INTRODUCTION II. AN OSGI OVERVIEW III. COMPOSITION SCENARIO IV. SPECIFYING OSGI SERVICE

COMPOSITION: A BPEL STYLE SOLUTION

Page 3: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

Outline-2

V. PROBLEMS REVEALED: A SEMANTIC SOLUTION

VI. THE OWL-OS/OSGI FRAMEWORK VII. A SEMANTIC SOLUTION FOR

AUTOMATIC SEMANTICOSGI SERVICE COMPOSITION

VIII. DISCUSSION

Page 4: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

I. INTRODUCTION

(i) the communication among all devices in home is easy because it supports different widespread protocols

(ii) it defines a cooperative model where applications can dynamically discover and use services provided by others

(iii) it is possible a flexible remote management of these applications and the services they provide

Page 5: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

II. AN OSGI OVERVIEW

Page 6: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

III. COMPOSITION SCENARIO-1 “At John's house, equipped with fire and intru

sion detectors, there is a Home Security service. (i) In case of fire, the service triggers the ringing al

arm, unlocks the doors, calls the fire station and informs John by using the most appropriate device (mobile phone, car navigator, etc.)

(ii) In case of intrusion, the service locks the doors, calls the police station and also informs John.”

Page 7: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

III. COMPOSITION SCENARIO-2

Page 8: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

IV. SPECIFYING OSGI SERVICE COMPOSITION: A BPEL STYLE SOLUTION A. Overview of BPEL B. Our proposal: a syntactic approach C. Registering a OSGi composite service D. Invoking a OSGi composite service E. BPEL definition

Page 9: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

A. Overview of BPEL

Page 10: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

B. Our proposal: a syntactic approach This composite service is registered in the fra

mework not needing to be implemented by any bundle, i.e. it could be considered a virtual bundle.

a particularized BPEL Composition Engine is responsible for registering and executing OSGi composite services.

Page 11: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

C. Registering a OSGi composite service

Page 12: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

D. Invoking a OSGi composite service

Page 13: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

E. BPEL definition-1

Page 14: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

E. BPEL definition-2

Page 15: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

V. PROBLEMS REVEALED: A SEMANTIC SOLUTION current OSGi specification is not enough to su

pport the required flexibility: (i) to find the most appropriate services and (ii) to know how to interact with them automatically

at run-time.

defined a semantic OSGi framework, coined OWL-OS/OSGi framework

Page 16: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

VI. THE OWL-OS/OSGI FRAMEWORK

Page 17: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

VI. THE OWL-OS/OSGI FRAMEWORK

A. Registering semantic OSGi services B. Semantic discovery of OSGi services C. Invoking OSGi services

allows the requester bundle to discover the name of the public method and the parameters in order to construct the invoking primitive

Page 18: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

VI. THE OWL-OS/OSGI FRAMEWORK

Page 19: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

VII. A SEMANTIC SOLUTION FOR AUTOMATIC SEMANTICOSGI SERVICE COMPOSITION

Page 20: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

VII. A SEMANTIC SOLUTION FOR AUTOMATIC SEMANTICOSGI SERVICE COMPOSITION A. Semantic BPEL

Page 21: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

VIII. DISCUSSION-1

Implement Platform- OSCAR ActiveBPEL engine Protégé OWL API

We have implemented a semantic version of the OSCAR registry

Use Jess and JessTab plug-in

Page 22: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:

VIII. DISCUSSION-2

propose enriching the OSGi Service Registry with semantic descriptions, i.e. turning OSGi into a Semantic OSGi platform and allowing the semantic composition of service

With a semantic description of contexts, the system not only can react to that contexts in a better way, but we can also provide reasoning over contexts which improves the quality of the reacting activities.