gies and provides a Web API for the rule manage-
ment, which allows user agents to create and remove
rules, but also to modify the content of existing rules
in the rule engine. These with an XML based descrip-
tion format are compatible with Semantic Web tech-
niques and allow us to add a new semantic layer on
top of the system in the future, and integrate MASs
with the smart home systems to further build intelli-
gence with semantic reasoning.
9 CONCLUSION
We presented a logic layer interoperability solution
for distributed smart home systems. The system was
based on requirements that ensure the support for
features that contribute to the interoperability on the
logic layer and enable it on the semantic layer. The
implementation considered a rule engine able to ob-
serve and control devices through standard Web ser-
vices interface. Similarly, the rule engine offered a
Web services interface for the rule management fol-
lowing the same building automation guideline. The
implemented system was functional, fulfilled the re-
quirements, and proved the applicability of the ap-
proach. However, the system does not offer all the
needed functionalities at the moment. Proper meth-
ods are needed for security, authentication, authoriza-
tion as well as managing conflicts in the logic. As the
system is using RESTful Web services, it can partly
exploit same well-known techniques that are used in
the traditional Web applications to overcome some of
the challenges.
We believe that Web services based control sys-
tems can offer solutions to gain better interoperability
in smart home environments. The interoperability in
the system is not achieved by offering a single man-
ner to control the system. It is a joint effort of multi-
ple control systems offering their services openly for
managing the logic. Individual control systems can
concentrate on their main functions and exploit ser-
vices from each other, shaping the smart home to a
fully functional ecosystem where every service does
its own part and interacts with the others.
ACKNOWLEDGEMENTS
Part of the work was done as part of TIVIT De-
vices and Interoperability Ecosystem (DIEM) project
Building Automation work package and supported by
The Doctoral Programme in the Built Environment
(RYM-TO) funded through the Academy of Finland
and the Ministry of Education and Culture.
REFERENCES
Bailey, J., Poulovassilis, A., and Wood, P. (2002). An event-
condition-action language for xml. In Proceedings of
the 11th international conference on World Wide Web,
pages 486–495. ACM.
Bernauer, M., Kappel, G., and Kramler, G. (2004). Com-
posite events for xml. In Proceedings of the 13th inter-
national conference on World Wide Web, pages 175–
183. ACM.
Boley, H., Tabet, S., and Wagner, G. (2001). Design ratio-
nale for ruleml: A markup language for semantic web
rules. In SWWS, volume 1, pages 381–401.
Bonifati, A., Braga, D., Campi, A., and Ceri, S. (2002).
Active xquery. In Data Engineering, 2002. Proceed-
ings. 18th International Conference on, pages 403–
412. IEEE.
Bonifati, A., Ceri, S., and Paraboschi, S. (2001). Active
rules for xml: A new paradigm for e-services. The
VLDB Journal, 10(1):39–47.
Chakravarthy, S. and Adaikkalavan, R. (2007). Ubiqui-
tous nature of event-driven approaches: A retrospec-
tive view.
Considine, T. and Ehrlich, P. (2006). Open building infor-
mation exchange (oBIX).
Felser, M. and Sauter, T. (2002). The fieldbus war: History
or short break between battles? In IEEE WFCS, pages
73–80.
Guinard, D. and Trifa, V. (2009). Towards the web of things:
Web mashups for embedded devices. In Workshop on
Mashups, Enterprise Mashups and Lightweight Com-
position on the Web (MEM 2009), in proceedings of
WWW (International World Wide Web Conferences),
Madrid, Spain.
J¨arvinen, H., Litvinov, A., and Vuorimaa, P. (2011). In-
tegration platform for home and building automation
systems. In Consumer Communications and Network-
ing Conference (CCNC), 2011 IEEE, pages 292–296.
IEEE.
J¨arvinen, H. and Vuorimaa, P. (2012). Anticipatory lighting
in smart building. In Consumer Communications and
Networking Conference (CCNC), 2012 IEEE, pages
390–394. IEEE.
Kay, M. (2007). Xsl transformations (xslt) version 2.0.
W3C Recommendation, 23.
Leong, C., Ramli, A., and Perumal, T. (2009). A rule-
based framework for heterogeneous subsystems man-
agement in smart home environment. Consumer Elec-
tronics, IEEE Transactions on, 55(3):1208–1213.
Lloyd, J. (1994). Practical advantages of declarative pro-
gramming. In Joint Conference on Declarative Pro-
gramming, GULP-PRODE, volume 94, page 94.
Maile, T., Fischer, M., and Huijbregts, R. (2007). The vision
of integrated IP-based building systems. Journal of
Corporate Real Estate, 9(2):125–137.
Mozer, M. (1998). The neural network house: An envi-
ronment hat adapts to its inhabitants. In Proc. AAAI
Spring Symp. Intelligent Environments.
Padgham, L. and Winikoff, M. (2004). Developing intelli-
gent agent systems: a practical guide, volume 1. Wi-
ley.
WEBIST2014-InternationalConferenceonWebInformationSystemsandTechnologies
102