SD-MTMA: Integrating Static and Dynamic Methods for Detecting Multi-Trigger Multi-Action Rule Conflicts in Smart Homes
Smart homes are a key application of the Internet of Things, where users employ Trigger-Action Programming rules for personalized control. However, as the number of rules increases, conflicts arise, disrupting system operations. This study proposes a novel method to automatically detect these conflicts by combining static and dynamic approaches. The static method detects and resolves rule conflicts, while dynamic detection is performed across multiple scenarios generated from user-defined rules, enhancing accuracy. For conflicts involving device impacts, this study proposes the “opposing function extraction method,” and uses cosine similarity to calculate environmental impacts, minimizing manual intervention. A dataset of 20,537 complex rules was constructed for validation. Experimental results show that the method achieves a precision of 0.95, recall of 0.81, and F1-score of 0.88. Compared with UTEA, CDAM, and KGIBE, this approach significantly reduces manual annotation needs and improves conflict detection, CPU usage, and memory efficiency.
Authors
- Jianfeng Gu (ORCID: https://orcid.org/0000-0002-0762-6976)
- Lingling Zhang (ORCID: https://orcid.org/0009-0002-6588-7039)
- Xinyi Li (ORCID: https://orcid.org/0000-0002-5389-4859)
Institutions
- Chang'an University (CN)
Publication Details
- Published
- 2024-09-27
- DOI
- https://doi.org/10.1109/ichci63580.2024.10808005
- Primary Topic
- Advanced Software Engineering Methodologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00