Approach to Modeling and Executing Context-aware Services of Smart Home at Runtime
Author:
Affiliation:

Clc Number:

TP311

Fund Project:

National Key Research and Development Program of China (2018YFB1004800); Talent Program for Distinguished Young Scholars in Higher Education of Fujian Province; Guiding Project of Fujian Province (2018H0017)

  • Article
  • | |
  • Metrics
  • |
  • Reference [32]
  • |
  • Related [20]
  • |
  • Cited by
  • | |
  • Comments
    Abstract:

    As the infrastructure supporting smart home evolves, smart home has entered a new stage featured by intelligent services. A large number of complex and heterogeneous smart devices cooperate with each other, and make up plenty of intelligent and integrated smart home applications, in which context-aware services can be regarded as typical representatives. The context-aware services aim to provide accurate services to users according to their contexts. Developers usually design and develop these services based on scenario, and face huge challenges from device and demand variations. They first have to be familiar with the APIs provided by smart devices and then build the program upon them according to functional and nonfunctional requirements of services. In order to customize and develop these services more efficiently, this study proposes an approach to model and execute context-aware services at runtime, which introduces the knowledge graph into development process. First, concepts and relations of context-aware services are defined in the concept model of knowledge map. Second, runtime instances of concepts and relations in knowledge map are used to represent the knowledge of user's context. Third, knowledge reasoning based on the runtime knowledge map is implemented to perform device functions automatically. The proposed framework is evaluated on a prototype system, and the results show that the proposed approach can model and execute context-aware services at runtime and LOC (lines of code) is reduced by 90%.

    Reference
    [1] Xu K, Wang XL, Wei W, Song HB, Mao B. Toward software defined smart home. IEEE Communications Magazine, 2016,54(5):116-122.[doi:10.1109/MCOM.2016.7470945]
    [2] Atzori L, Iera A, Morabito G. The Internet of things:A survey. Computer Networks, 2010,54(15):2787-2805.[doi:10.1016/j.comnet.2010.05.010]
    [3] Dixon C, Mahajan R, Agarwal S, Brush AJ, Lee B, Saroiu S, Bahl P. An operating system for the home. In:Proc. of the Usenix Conf. on Networked Systems Design and Implementation. Berkeley:USENIX Association, 2012.25-25.
    [4] Singhal A. Instroducing the knowledge graph:Things, not string, offical blog, of Google. 2012. http://goo.gl/zivFV
    [5] Liu Q, Li Y, Duan H, Liu Y, Qin ZG. Knowledge graph construction techniques. Journal of Computer Research and Development, 2016,53(3):582-600(in Chinese with English abstract).[doi:10.7544/issn1000-1239.2016.20148228]
    [6] Guan SP, Jin XL, Jia YT, Wang YZ, Cheng XQ. Knowledge graph oriented knowledge inference method:A survey. Ruan Jian Xue Bao/Journal of Software, 2018,29(10):2966-2994(in Chinese with English abstract). http://www.jos.org.cn/1000-9825/5551.htm[doi:10.13328/j.cnki.jos.005551]
    [7] Huang G, Song H, Mei H. SM@RT:Towards architecture-based runtime management of Internetware systems. In:Proc. of the Asia-Pacific Symp. on Internetware. ACM, 2009.1-10.[doi:10.1145/1640206.1640215]
    [8] Song H, Huang G, Chauvel F, Xiong YF, Hu ZJ, Sun YC, Mei H. Supporting runtime software architecture:A bidirectional-transformation-based approach. Journal of Systems & Software, 2011,84(5):711-723.[doi:10.1016/j.jss.2010.12.009]
    [9] Chen X, Li AP, Zeng XE, Guo WZ, Huang G. Runtime model based approach to IoT application development. Frontiers of Computer Science, 2015,9(4):540-553.[doi:10.1007/s11704-015-4362-0]
    [10] Peking University. SM@RT:Supporting models at run-time. 2009. http://code.google.com/p/smatrt/
    [11] Mottola L, Picco GP. Programming wireless sensor networks:Fundamental concepts and state of the art. ACM Computing Surveys, 2011,43(3):1-51.[doi:10.1145/1922649.1922656]
    [12] Vlacheas P, Giaffreda R, Stavroulaki V, Kelaidonis D, Foteinos V, Poulios G, Demestichas P, Somov A, Biswas RB, Moessner K. Enabling smart cities through a cognitive management framework for the internet of things. IEEE Communications Magazine, 2013, 51(6):102-111.[doi:10.1109/MCOM.2013.6525602]
    [13] Chen X, Zhang W, Huang G, Li AP, Guo WZ, Chen GL. Management approach of wireless sensor networks based on runtime model. Ruan Jian Xue Bao/Journal of Software, 2014,25(8):1696-1712(in Chinese with English abstract). http://www.jos.org.cn/1000-9825/4665.htm[doi:10.13328/j.cnki.jos.004665]
    [14] Cano J, Rutten E, Benazzouz Y, Gurgen L. ECA rules for iot environment:A case study in safe design. In:Proc. of the IEEE 8th Int'l Conf. on Self-adaptive and Self-organizing Systems Workshops. Piscataway:IEEE, 2014.116-121.[doi:10.1109/SASOW. 2014.32]
    [15] Chen YT, Chen CC, Chang HY, Lin HS, Chang HT. Constructing ECA rule for IoT application through a novel S2RG process:The exemplary ECA rules for smarter energy applications. In:Proc. of the Int'l Computer Symp. Piscataway:IEEE, 2017.549-554.[doi:10.1109/ICS.2016.0114]
    [16] Guan GY, Dong W, Gao Y, Fu KB, Chen ZH. TinyLink:A holistic system for rapid development of IoT applications. In:Proc. of the Int'l Conf. on Mobile Computing and Networking. New York:ACM Press, 2017.383-395.[doi:10.1145/3117811.3117825]
    [17] Spiess P, Karnouskos S, Guinard D, Savio D, Baecker O, Souza LMSD, Trifa V. SOA-based integration of the Internet of things in enterprise services. In:Proc. of the IEEE Int'l Conf. on Web Services. Piscataway:IEEE, 2009.968-975.[doi:10.1109/ICWS. 2009.98]
    [18] Janowicz K, Bröring A, Stasch C, Sachade S, Everding T, Llaves A. A RESTful proxy and data model for linked sensor data. Int'l Journal of Digital Earth, 2013,6(3):233-254.[doi:10.1080/17538947.2011.614698]
    [19] Google physical Web. 2018. http://google.github.io/physical-web/
    [20] Sheth A, Henson C, Sahoo SS. Semantic sensor Web. IEEE Internet Computing, 2008,12(4):78-83.[doi:10.1109/MIC.2008.87]
    [21] Web ontology language (OWL). 2004. http://www.w3.org/TR/owl-ref/
    [22] Nambi SNAU, Sarkar C, Prasad RV, Rahim A. A unified semantic knowledge base for IoT. In:Proc. of the Internet of Things. Piscataway:IEEE, 2014.575-580.[doi:10.1109/WF-IoT.2014.6803232]
    [23] Ma M, Wang P, Chu CH. Ontology-based semantic modeling and evaluation for Internet of things applications. In:Proc. of the Internet of Things. Piscataway:IEEE, 2014.24-30.[doi:10.1109/iThings.2014.13]
    [24] Huang G, Mei H, Yang FQ. Runtime recovery and manipulation of software architecture of component-based systems. Automated Software Engineering, 2006,13(2):257-281.[doi:10.1007/s10515-006-7738-4]
    [25] Mei H, Huang G, Lan L, Li JG. A software architecture centric self-adaptation approach for Internetware. Science China Information Sciences, 2008,51(6):722-742.[doi:10.1007/s11432-008-0052-y]
    [26] Song H, Xiong YF, Chauvel F, Huang G, Hu ZJ, Mei H. Generating synchronization engines between running systems and their model-based views. In:Proc. of the Int'l Conf. on MODELS in Software Engineering. Berlin:Springer-Verlag, 2009.140-154.
    [27] Zhang PC, Muccini H, Li BX. A classification and comparison of model checking software architecture techniques. Journal of Systems & Software, 2010,83(5):723-744.[doi:10.1016/j.jss.2009.11.709]
    [28] He X, Chen X, Cai S, Zhang Y, Huang G. Testing bidirectional model transformation using metamorphic testing. Information and Software Technology, 2018,104:109-129.
    附中文参考文献:
    [5] 刘峤,李杨,段宏,刘瑶,秦志光.知识图谱构建技术综述.计算机研究与发展,2016,53(3):582-600.[doi:10.7544/issn1000-1239.2016.20148228]
    [6] 官赛萍,靳小龙,贾岩涛,王元卓,程学旗.面向知识图谱的知识推理研究进展.软件学报,2018,29(10):2966-2994. http://www.jos.org.cn/1000-9825/5551.htm[doi:10.13328/j.cnki.jos.005551]
    [13] 陈星,张伟,黄罡,李隘鹏,郭文忠,陈国龙.基于运行时模型的无线传感网管理方法.软件学报,2014,25(8):1696-1712. http://www.jos.org.cn/1000-9825/4665.htm[doi:10.13328/j.cnki.jos.004665]
    Cited by
Get Citation

陈星,黄志明,叶心舒,马郓,陈艺燕,郭文忠.智能家居情境感知服务的运行时建模与执行方法.软件学报,2019,30(11):3297-3312

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:July 16,2018
  • Revised:September 20,2018
  • Online: November 06,2019
You are the first2032397Visitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-4
Address:4# South Fourth Street, Zhong Guan Cun, Beijing 100190,Postal Code:100190
Phone:010-62562563 Fax:010-62562533 Email:jos@iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063