D2.1\Tspecification of the Amigo Abstract Middleware
Total Page:16
File Type:pdf, Size:1020Kb
IST Amigo Project Deliverable D2.1 Specification of the Amigo Abstract Middleware Architecture Public April 2005 Public Project Number : IST-004182 Project Title : Amigo Deliverable Type : Report Deliverable Number : D2.1 Title of Deliverable : Specification of the Amigo Abstract Middleware Architecture Nature of Deliverable : RE Internal Document Number : Amigo_WP2_D2.1_v10 final.doc Contractual Delivery Date : 28 February 2005 Actual Delivery Date : 11 April 2005 Contributing WPs : WP2 Editor : INRIA: Nikolaos Georgantas Author(s) : INRIA: Sonia Ben Mokhtar, Yérom-David Bromberg, Nikolaos Georgantas, Valérie Issarny, Laurent Réveillère, Daniele Sacchetti, Ferda Tartanoglu FT: Anne Gerodolle, Gilles Privat, Fano Ramparany, Mathieu Vallée Ikerlan: Jorge Parra IMS: Marco Ahler, Viktor Grinewitschus, Christian Ressel Microsoft: Ron Mevissen Philips: Harmke de Groot, Michael van Hartskamp, Peter van der Stok, Bram van der Wal TELIN: Tom Broens, Henk Eertink, Aart van Halteren, Remco Poortinga, Maarten Wegdam TID: Sara Carro Martinez, José María Miranda, Johan Zuidweg VTT: Jarmo Kalaoja, Julia Kantorovitch, Jiehan Zhou Amigo IST-2004-004182 3/227 April 2005 Public Abstract This report elaborates the design of the Amigo abstract architecture focusing on the middleware architecture. The key Amigo property addressed is interoperability and integration of the four application domains of the networked Amigo home, namely, the mobile, personal computing, consumer electronics and home automation domains. Interoperability is pursued: first, by adopting service-orientation as the essential architectural paradigm to enable ad hoc coupling between services; second, by specifying an abstract service-oriented architecture subject to limited technology-specific restrictions to enable representation of the heterogeneous domains and of the diverse related technologies; and, third, by elaborating appropriate interoperability methods within the abstract architecture. Interoperability methods are based on the abstraction of common architectural, including behavioral, features of existing service infrastructures, and on the semantic modeling of these features for making them machine-interpretable. Concrete interoperability methods are elaborated for service composition at application level, and for service discovery and interaction at middleware level. Our elaboration initially draws from the personal computing and mobile domains, where there exist already mature service-oriented architecture paradigms. Nevertheless, the consumer electronics and home automation domains are, then, effectively integrated building on the introduced Amigo abstract architecture. The particularity of these two domains leads as: for the former, to adopt the DLNA guidelines, which establish a number of standard technologies for interoperability targeting the – very demanding in performance – multimedia streaming; and for the latter, to introduce dedicated, low-level, interoperability mechanisms. Finally, within the Amigo abstract architecture, security and privacy is addressed as a principal requirement for the Amigo home. Keyword list ambient intelligence, networked home system, mobile/personal computing/consumer electronics/home automation domain, interoperability, service-oriented architecture, semantic modeling, middleware, service discovery protocols, service composition, context-awareness, quality of service, multimedia streaming, security, privacy. Amigo IST-2004-004182 4/227 April 2005 Public Table of Contents Table of Contents .....................................................................................5 Figures ....................................................................................................11 Tables......................................................................................................14 1 Introduction.......................................................................................15 1.1 Middleware-related properties for the networked home system......................... 15 1.1.1 Interoperability .................................................................................................... 16 1.1.2 Security, privacy and safety................................................................................ 17 1.1.3 Mobility................................................................................................................ 17 1.1.4 Context-awareness............................................................................................. 18 1.1.5 Quality of service ................................................................................................ 20 1.2 Document structure................................................................................................. 20 2 Service-orientation for Amigo .........................................................23 2.1 Service-Oriented Architecture (SOA)..................................................................... 24 2.1.1 Service-oriented architectural style..................................................................... 24 2.1.1.1 Key properties of service-orientation.......................................................................................... 26 2.1.1.2 Reference service-oriented architecture .................................................................................... 27 2.1.1.3 SOA and Web Services ............................................................................................................. 28 2.1.2 Semantic Web and Semantic Web Services ...................................................... 30 2.2 Modeling services for Amigo.................................................................................. 32 2.2.1 Modeling components......................................................................................... 33 2.2.1.1 Example..................................................................................................................................... 35 2.2.2 Modeling connectors........................................................................................... 37 2.2.2.1 Example..................................................................................................................................... 39 2.3 Semantics-based service interoperability ............................................................. 40 2.3.1 Interoperability at connector/middleware level.................................................... 41 2.3.1.1 Conformance relation................................................................................................................. 41 2.3.1.2 Interoperability method .............................................................................................................. 41 2.3.1.3 Example..................................................................................................................................... 42 2.3.2 Interoperability at component/application level................................................... 45 2.3.2.1 Conformance relation................................................................................................................. 45 2.3.2.2 Interoperability method .............................................................................................................. 46 2.3.2.3 Example..................................................................................................................................... 47 2.4 Related work............................................................................................................. 48 2.5 Discussion................................................................................................................ 50 3 Amigo abstract reference service architecture..............................53 3.1 Amigo application layer .......................................................................................... 55 3.1.1 QoS-aware services ........................................................................................... 56 Amigo IST-2004-004182 5/227 April 2005 Public 3.1.2 Context-aware services ...................................................................................... 56 3.2 Amigo middleware layer.......................................................................................... 58 3.2.1 Amigo service discovery ..................................................................................... 59 3.2.1.1 Amigo enhanced service discovery............................................................................................ 63 3.2.1.2 Amigo interoperable service discovery ...................................................................................... 65 3.2.1.3 Mapping between enriched service description and legacy SDPs ............................................. 67 3.2.1.4 Security and privacy for service discovery ................................................................................. 69 3.3 Amigo platform layer ............................................................................................... 69 3.4 Discussion................................................................................................................ 70 4 Application-layer interoperability methods....................................71 4.1 Ad hoc composition of services............................................................................. 72 4.1.1 Abstract composition description ........................................................................ 72 4.1.2 Modeling