An Automation Script Generation Technique for the Smart Home

被引:1
作者
Kuang, Jiayi [1 ]
Xue, Gang [1 ]
Yan, Zeming [1 ]
Liu, Jing [1 ]
机构
[1] Yunnan Univ, Sch Software, Kunming, Yunnan, Peoples R China
来源
JOURNAL OF WEB ENGINEERING | 2023年 / 22卷 / 02期
关键词
Home automation; automation script generation; first-order logic; natural language processing;
D O I
10.13052/jwe1540-9589.2222
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A home automation system means monitoring and controlling various kinds of devices in the home remotely using the Internet of things (IoT). Tech-nologies such as natural language processing techniques, user-friendly visual programming, and machine intelligence programming are already available for home automation. For such systems, the increase in the number of devices often makes users focused on the system's ability to perform complex or composing tasks. However, some existing natural language processing sys-tems can only perform simple tasks and cannot meet users' needs. Thus, it is difficult for users to develop the home automation systems they need using visual programming systems because of the large amount of programming knowledge required. Meanwhile, automatic programming without user action can only write a few lines of code and implement little functionality. There are relatively few tools available for generating home automation scripting languages. To address this problem, we propose a practical method for generating executable home automation scripts using Chinese texts. Our method includes the following steps: it extracts critical information from the command sentences in Chinese; it uses first-order logic to check the validity of the extracted information; based on the validation, the correct sentences are mapped into the intermediate language scripts, which can interface with different home platforms. We conducted experiments on Home Assistant, converted intermediate scripts to Home Assistant, and collected 600 scenario descriptions. The experimental results show that the method can automatically generate executable scripts for the Home Assistant platform, and the correct rate was 93.66%.
引用
收藏
页码:221 / 254
页数:34
相关论文
共 42 条
[1]  
Agarwal Kabita, 2019, 2019 Third International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), P629, DOI 10.1109/I-SMAC47947.2019.9032629
[2]  
AlHammadi A., 2019, 2019 28th IEEE International Conference on Robot and Human Interactive Communication, P1
[3]   Automation Framework for Test Script Generation for Android Mobile [J].
Anbunathan, R. ;
Basu, Anirban .
SOFTWARE ENGINEERING (CSI 2015), 2019, 731 :571-584
[4]  
Asadullah M, 2016, INT CONF ROBOT ARTIF, P27, DOI 10.1109/ICRAI.2016.7791223
[5]  
Baby CJ, 2017, 2017 INNOVATIONS IN POWER AND ADVANCED COMPUTING TECHNOLOGIES (I-PACT)
[6]  
Biernacka M., 2017, P 32 ANN ACMIEEE S L, P1, DOI [10.1109/LICS.2017.8005118, DOI 10.1109/LICS.2017.8005118]
[7]  
Bird S., 2005, ENGLISH, V66, P22
[8]   Matching and alpha-equivalence check for nominal terms [J].
Calves, Christophe ;
Fernandez, Maribel .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2010, 76 (05) :283-301
[9]   Automated Coding: The Quest to Develop Programs That Write Programs [J].
Campbell, Mark .
COMPUTER, 2020, 53 (02) :80-82
[10]   Universal Semantics for the Stochastic λ-Calculus [J].
de Amorim, Pedro H. Azevedo ;
Kozen, Dexter ;
Mardare, Radu ;
Panangaden, Prakash ;
Roberts, Michael .
2021 36TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2021,