Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions...
-
Upload
makenna-hunter -
Category
Documents
-
view
214 -
download
0
Transcript of Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions...
![Page 1: Enhancing Residential Gateways: OSGi Service Composition Consumer Electronics, IEEE Transactions /February 2007/Volume: 53, Issue: 1 /On page(s): 87-95Issue:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/1.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/2.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/3.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/4.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/5.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/6.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/7.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/8.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/9.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/10.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/11.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/12.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/13.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/14.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/15.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/16.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/17.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/18.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/19.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/20.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/21.jpg)
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:](https://reader035.fdocuments.net/reader035/viewer/2022062619/5518cc4f550346b31f8b5a9c/html5/thumbnails/22.jpg)
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.