Professional Documents
Culture Documents
7.Semantic-Based Enhancement of ISOIEC 14543-3 Ruta M
7.Semantic-Based Enhancement of ISOIEC 14543-3 Ruta M
Abstract—Current technologies for Home and Building Au- still require explicit interaction with the user and are basically
tomation (HBA) basically require an explicit interaction with tied to static operational scenarios set during implementation.
the user and allow a static set of operational scenarios defined In order to enable novel and intelligent HBA infrastructures,
during system implementation. On the contrary, novel HBA
solutions should enable so-called ambient intelligence, deriving able to adapt and autonomously control building appliances,
from a flexible and automatic control of appliances and sub- smart environments have to be conceived according to results
systems dipped into an environment. To this aim, this paper coming from pervasive and mobile computing, artificial intelli-
proposes backward-compatible enhancements to one of the most gence theory and agent-based software design [3]. A dynamic
widespread domotic standards, i.e., EIB/KNX ISO/IEC 14543-3, management of information about users, devices and services
able to support advanced, knowledge-based and context-aware
functionalities, grounded on the semantic annotation of both user in a given context is needed. Consequently, AmI research is
profiles and device capabilities. Such an approach enables novel closely related to studies for effective discovery and coordi-
resource discovery, matchmaking, and decision support features nation in volatile and resource-constrained scenarios. This
in HBA. Main benefits are in: (i) determining the most suitable paper proposes to overcome restrictions of common domotic
services/functionalities according to implicit and explicit user appliances through the exploitation of Knowledge Represen-
needs and (ii) allowing device-driven interaction for autonomous
adaptation of the environment to context modification. A case tation (KR) technologies and automated reasoning techniques,
study is presented to better clarify the proposed framework also originally conceived for the Semantic Web. An enhancement to
highlighting main characteristics, while performance evaluation ISO/IEC 14543-3 EIB/KNX standard [4] has been devised in
is provided to assess its effectiveness. a knowledge-based and context-aware computing framework
Index Terms—Ambient intelligence, building automation, EIB/ for building automation, supporting semantic annotation of
KNX, semantic web, service/resource discovery. both user profiles (i.e., needs, moods, features) and device
capabilities (i.e., services/resources home appliances offer).
The integration of a semantic microlayer within KNX protocol
I. INTRODUCTION
stack enables novel resource discovery and decision support
(Section IV-B) and experiments carried out (Section IV-C), also a theoretical ontology-based framework for the integration of
reporting on performance evaluation. Final remarks and future different HBA protocols at application level. In [20], Bonino
work are in Section V. et al. presented the first self-contained prototype which in-
cludes a reasoning module able to manage and coordinate
heterogeneous devices by means of logic rules processing.
II. RELATED WORK In [21], the use of intelligent agents, designed according to
Although several technological issues related to the imple- the Belief-Desire-Intention (BDI) model, was proposed to
mentation of ad-hoc networks with a large number of sensors automate service composition tasks, so providing transparency
and actuators have been solved (many of them exploiting IEEE from the user’s standpoint. Nevertheless, a very basic ontology
802.15.4/ZigBee standard protocol [8], [9]), open questions was derived from attribute-based service descriptions in UPnP
still remain about high-level discovery and coordination as and Bluetooth service discovery protocols. As a consequence,
well as user interaction. Many proposals can be found in the approach lacks adequate expressiveness of user, device and
literature for improving flexibility of HBA systems. Some ap- service profiles; furthermore, the proposed case study is quite
proaches (see, for example, [9] and [10]) allow more advanced simplistic and experimental evidences are absent.
and user-friendly device management w.r.t. current standard An open issue of the above approaches is that classical
technologies. Nevertheless, they still rely only on direct com- rule-based inferences are not enough in heterogeneous and
mand-based user interaction, through local or network-based dynamic AmI contexts. In order to execute a rule, conditions
interfaces. Intelligent multiagent paradigms [11], wherein each it imposes must be fully matched by the current system state.
software agent is able to interact with peers to achieve its Unfortunately, experience shows that full matches are quite
goals, have been exploited for designing and modeling smarter unlikely—and different descriptions can even be partially in
environments. In fact, Multi-Agent Systems (MAS), are lever- conflict—in real-life scenarios. Semantic-based matchmaking
aged in AmI to represent meaningful entities such as rooms, frameworks as the one in [22], which exploits standard and
devices or people. In early approaches [12], machine learning nonstandard inference services and allows to match requests
techniques were exploited for smart building automation in a and resources based on the meaning of their descriptions (also
simulated campus dorm environment. Agents were located on providing classification and logic-based ranking), are more
small embedded computers and adopted simple fuzzy logic effective. Beyond obviously good matches, such as exact or full
rules, learned through observation of inhabitants’ behavior. ones, they enable so-called potential or intersection matches
Improvements in agent learning capability were achieved in (i.e., those matches where requests and supplied resources
industrial automation settings by supporting the temporal have something in common and no conflicting characteristics)
evolution of critical model parameters [13]. and partial or disjoint matches (i.e., cases where requests and
In order to achieve greater interoperability, a major goal is to supplies have some conflicting features) which can also be
provide a unified view of the home environment and a flexible considered useful in scenarios when nothing better exists.
application model. Traditionally, limited integration of domotic
subnetworks based on different technologies was achieved by III. SEMANTIC ENHANCEMENTS TO EIB/KNX STANDARD
means of custom gateways. Several proposals [14]–[16] adopt
Web Service technologies as unified abstraction layer to inte- In order to grant feasibility and leverage industry support, the
grate various communication protocols and mobile service dis- proposed approach is based on one of the most widespread HBA
covery in automation contexts. Standard Web Service descrip- standards, introducing a semantic enhancement for advanced
tion and orchestration languages based on XML are adopted, management of user profiles and device properties/services. A
only allowing syntactic match between users’ needs and ser- self-adapting framework has been devised exploiting KR tech-
vice/resource attributes, lacking semantic characterization. As niques and reasoning. In particular, KNX was chosen as refer-
a consequence, the improvement in service discovery and com- ence protocol, but the application of the above enhancements to
position capabilities w.r.t. basic HBA protocols is not so rele- other widespread domotic protocols is also under investigation,
vant to justify the increased architectural complexity. Similarly, for possible semantic-based cross-protocol interactions. KNX
proposals for service composition targeted to distributed sys- is an open international standard deriving from the convergence
tems take into account real-time requirements and fault toler- of existing European Installation Bus (EIB), European Home
ance [17], but they are based on merit figures and utility func- Systems (EHS) and BatiBus protocols into the specification of
tions, which must be modeled case-by-case. KNX Association [4]. Basically, KNX is a backward compat-
Knowledge representation technologies allow greater gen- ible evolution of EIB, hence the name EIB/KNX. Several phys-
erality and more flexible reuse of models, because ontologies ical communication media are supported: from twisted pair (TP)
provide a conceptual framework to express and share formal wiring to power line (PL), radio frequency (RF), and Ethernet,
and structured descriptions of services and appliances, while complying with KNXnet/IP protocol. KNX networks have a hi-
general-purpose reasoning procedures can be used for se- erarchical topology and an addressing structure used to unam-
mantic-based service composition in different HBA scenarios. biguously identify and access domains and devices. In the pro-
DomoML [18] was the first specific proposal of a building au- posed approach, all devices share the same domain address be-
tomation ontology suite. Reinisch et al. [19] acknowledged the cause they are supposed to belong to the same installation. KNX
relevance of semantic-enhanced approaches upon current HBA also supports an additional multicast address space available for
standards, for cost and efficiency motivations; they introduced groups. Multiple devices, or multiple functionalities of different
RUTA et al.: SEMANTIC-BASED ENHANCEMENT OF ISO/IEC 14543-3 EIB/KNX STANDARD FOR BUILDING AUTOMATION 733
“ ” ”
“ ”
Fig. 2. Framework architecture.
The type attribute describes the device class: “A” for actu-
ators, “S” for sensors and “I” (as “intelligent”) for smart de-
vices. Description is a label which references the SPD inter-
face object containing the semantic annotation of the service,
so that it can be accessed from the device. Each service is asso-
ciated to a standard KNX data point via the value field, which
is sent to the device when the service must be enabled. The
proposed structure permits the high-level user-oriented repre-
sentation of each service/resource to be anyway triggered by
low-level device-oriented parameters for service/resource ex-
ecution. Parsed data referred to network topology (including
group address, data types and provided functionalities for each
device) are then stored into a database, acting as simple device
cache. SQLite (http://www.sqlite.org), a lightweight embedded
SQL database engine, was adopted for this purpose. During
Fig. 3. Central unit modules. startup phase, the semantic description of each available ser-
vice/resource is also retrieved from its provider and cached into
the DB, in order to reduce network congestions and response
software component, namely, Central Unit (CU), which per- latency. Nevertheless, it is useful to point out that the exploita-
forms network configuration and monitoring, service/resource tion of both configuration file and device database is a mean to
discovery and device remote control. The CU could be hosted by improve system performance: the addition/removal of devices
any home device able to provide minimum computational capa- and services to/from the network is performed through standard
bilities and memory availability. It is composed by seven mod- KNX protocol primitives, and cached information is updated
ules, organized in three architectural layers, as depicted in Fig. 3. accordingly.
Purpose and function of each of them is analyzed hereafter. DomoLogic: This module implements the automated rea-
Graphical User Interface (GUI): A simple touchscreen inter- soning functions of the CU by means of an embedded semantic
face (not shown here due to lack of space) is provided allowing matchmaker, leveraging algorithm and approach in [26]. Stan-
users to interact with the system. A virtual button panel enables dard and nonstandard inference procedures in Descrip-
basic building profiles described through semantic annotations, tion Logics (Attributive Language with unqualified Number re-
view devices status and show the content of received requests strictions) are used to carry out a matchmaking process between
along with corresponding replies. a semantic request and a set of resource/service annotations. An
Client Manager: This module interconnects users to the CU algorithm based on the solution of Concept Covering Problem
by means of a mobile client, e.g., a smartphone, for checking (CCoP) [27] has been also implemented to cover (i.e., satisfy)
the status of the building environment and to submit profiles. features expressed in a request as much as possible, through the
Basically, a profile consists of a semantically annotated descrip- conjunction of services available in the environment (seen as el-
tion—w.r.t. a reference ontology—that may include user fea- ementary building blocks). A request from a user or device starts
tures such as age, gender, physical status, mood as well as re- the interaction sequence shown in Fig. 5. Performed steps are:
quests for specific service categories or home resources. Com- 1) Query the DB, retrieve all services coming from available
munication between clients and the CU occurs via either IEEE devices and associate to them a device address (cache is pop-
802.11 or Bluetooth wireless technologies. A basic client was ulated at boot time and exploited to reduce latency). 2) Read
developed for Android smartphones to test the module (not de- the status of each service, through a specific function of KNX
scribed here as outside the scope of the paper). Manager module (described afterwards). Such status can be rep-
DB Manager: At CU startup, this module parses the XML resented by a string, a numerical or a boolean value according to
document generated by ETS3 (Engineering Tools Software, the associated data type. 3) Extract semantic annotations from
a manufacturer-independent software tool provided by KNX the DB, using the pair as a key, and separate
RUTA et al.: SEMANTIC-BASED ENHANCEMENT OF ISO/IEC 14543-3 EIB/KNX STANDARD FOR BUILDING AUTOMATION 735
Fig. 6. Prototypical testbed. (a) Testbed. (b) Main panel. (c) Alarm. (d) Camera.
(e) Weather station.
TABLE I
DEVICES LIST
[16] T. Cucinotta, A. Mancina, G. Anastasi, G. Lipari, L. Mangeruca, R. Floriano Scioscia received the M.S. degree in infor-
Checcozzo, and F. Rusina, “A real-time service-oriented architecture mation technology engineering and the Ph.D. degree
for industrial automation,” IEEE Trans. Ind. Informat., vol. 5, no. 3, pp. in information engineering from Politecnico di Bari
267–277, Aug. 2009. (Technical University of Bari), Bari, Italy, in 2006
[17] I. Estévez-Ayres, P. Basanta-Val, M. García-Valls, J. Fisteus, and and 2010, respectively. His thesis received the annual
L. Almeida, “QoS-aware real-time composition algorithms for ser- Marco Cadoli Award for the best Ph.D. thesis in ar-
vice-based applications,” IEEE Trans. Ind. Informat., vol. 5, no. 3, pp. tificial intelligence from the Italian Association for
278–288, Aug. 2009. Artificial Intelligence (AI*IA) in 2011.
[18] L. Sommaruga, A. Perri, and F. Furfari, “DomoML-env: An ontology He is currently a Postdoctoral Research Fellow
for human home interaction,” in Proc. 2nd Italian Semantic Web Work- at the Information Systems Laboratory (SisInfLab),
shop, CEUR Workshop , SWAP’05, Trento, Italy, Dec. 14–16, 2005, pp. Technical University of Bari. His research interests
249–255. include pervasive computing and the Internet of Things, knowledge represen-
[19] C. Reinisch, W. Granzer, F. Praus, and W. Kastner, “Integration of tation systems and applications for wireless ad hoc networks and ubiquitous
heterogeneous building automation systems using ontologies,” in Proc. contexts. He coauthored about 30 papers in international edited books, journals.
34th Annu. Conf. Ind. Electron., IECON’08, 2008, pp. 2736–2741. and conferences.
[20] D. Bonino, E. Castellina, and F. Corno, “The DOG gateway: Enabling Dr. Scioscia received the Best Paper Award at the ICEC-2007 Conference
ontology-based intelligent domotic environments,” IEEE Trans. Con- and the SEMAPRO-2010 Conference.
sumer Electron., vol. 54, no. 4, pp. 1656–1664, Nov. 2008.
[21] M. Santofimia, F. Moya, F. Villanueva, D. Villa, and J. Lopez, “Intelli-
gent agents for automatic service composition in ambient intelligence,”
in Web Intelligence and Intelligent Agents, Z. Usmani, Ed. Rijeka, Eugenio Di Sciascio received the M.S. degree
Croatia: InTech, 2010, pp. 411–428. (Hons) from the University of Bari, Bari, Italy,
[22] T. Di Noia, E. Di Sciascio, and F. Donini, “Semantic matchmaking and the Ph.D. from Politecnico di Bari (Technical
as non-monotonic reasoning: A description logic approach,” J. Artif. University of Bari).
Intell. Res., vol. 29, pp. 269–307, 2007. He is currently a Full Professor of Information
[23] R. De Virgilio, E. Di Sciascio, M. Ruta, F. Scioscia, and R. Torlone, Technology Engineering at Technical University of
“Semantic-based RFID data management,” in Unique Radio Innova- Bari, and leads the research group of SisInfLab, the
tion for the 21st Century: Building Scalable and Global RFID Net- Information Systems Laboratory of Technical Uni-
works, D. Ranasinghe, Q. Sheng, and S. Zeadally, Eds. New York: versity of Bari. Formerly, he has been an Assistant
Springer, 2010, pp. 111–142. Professor at the University of Lecce and Associate
[24] T. Di Noia, E. Di Sciascio, F. M. Donini, M. Ruta, F. Scioscia, and Professor at the Technical University of Bari. His
E. Tinelli, “Semantic-based bluetooth-RFID interaction for advanced research interests include multimedia information retrieval, knowledge repre-
resource discovery in pervasive contexts,” Int. J. Semantic Web and sentation, and e-commerce technologies. He is involved in several national and
Inform. Syst., vol. 4, no. 1, pp. 50–74, 2008. European research projects related to his research interests. He
[25] F. Heiny, Y. Kyselytsya, and T. Weinzierl, “Virtual KNX/EIB devices Dr. Di Sciascio has coauthored papers that received awards at the ICEC-2004,
in IP networks,” in Proc. KNX Sci. Conf., FH Deggendorf, Germany, IEEE CEC-EEE-2006, ICEC-2007, ESTC 2008, SEMAPRO-2010, and ICWE
2004. 2010 Conferences.
[26] M. Ruta, F. Scioscia, T. Di Noia, and E. Di Sciascio, “Reasoning in
pervasive environments: An implementation of concept abduction with
mobile OODBMS,” in IEEE/WIC/ACM Int. Conf. Web Intell., 2009, pp.
145–148.
[27] A. Ragone, T. Di Noia, E. Di Sciascio, F. M. Donini, S. Colucci, and Giuseppe Loseto received the M.S. degree in in-
F. Colasuonno, “Fully automated web services discovery and compo- formation technology engineering from Politecnico
sition through concept covering and concept abduction,” Int. J. Web di Bari (Technical University of Bari), Bari, Italy,
Services Res., vol. 4, no. 3, pp. 85–112, 2007. in 2009. Currently, he is working towards the Ph.D.
[28] B. Malinowsky, G. Neugschwandtner, and W. Kastner, “Calimero: degree in information engineering at the Technical
Next generation,” in Proc. KNX Sci. Conf., 2007, pp. 271–284. University of Bari.
His research interests include pervasive computing
and the Internet of Things, knowledge representation
Michele Ruta received the Laurea degree in elec-
tronics engineering and the Ph.D. degree in computer systems and applications for home and building au-
science from the Technical University of Bari, Bari, tomation and ubiquitous smart environments.
Italy, in 2002 and 2007, respectively.
He is currently an Assistant Professor at the
Technical University of Bari. His research interests
include pervasive computing and ubiquitous web,
mobile e-commerce applications, knowledge repre-
sentation systems and applications for wireless ad
hoc contexts. On these topics, he has coauthored
papers in international journals and conferences. He
is involved in various research projects related to his research interests.
Dr. Ruta has coauthored papers that received the Best Paper Award at the
ICEC-2007 Conference and the SEMAPRO-2010 Conference, and has been
Program Committee member of several international conferences and work-
shops in areas related to his research interests.