Conflict Detection of Device Linkage Rules in Smart Home Systems
Ye Fu, Daojuan Zhang, Chonghua Wang, Xi Luo, Wenxin Liu, Tianjie Luo, Fuyang Fang · 2020
With the increasing types and functions of smart home devices, due to the lack of experience of users, they may cause unexpected errors and risks when configuring a large number of device linkage rules.In response to the above problems, in this paper, we propose an efficient conflict detection method to avoid unexpected situations.First, to reduce the complexity of subsequent rule conflict detection, we divide each rule into five categories according to its functions and characteristics. At the same time, we configure the priority, user rights, and execution area for each rule. Second, we filter out the rules of the same priority, user rights, and execution area. Third, we define five types of rule conflicts. Finally, the conflict detection algorithm is used to determine whether the filtered rules conflict with the rules in the corresponding database. We have created 379 non-conflicting rules in each type of rule storage database to detect whether the newly created rules conflict with them. Through experimental comparison, we find that our approach has more advantages than previous work in terms of performance and conflict detection types.