International Journal of Distributed Sensor Networks (Jan 2020)

A consistency-guaranteed approach for Internet of Things

  • Yang Zhang,
  • Shixin Sun,
  • Dongwen Zhang,
  • Jing Qiu,
  • Zhihong Tian

DOI
https://doi.org/10.1177/1550147720901680
Journal volume & issue
Vol. 16

Abstract

Read online

The software architecture of Internet of Things defines the component model and interconnection topology of Internet of Things systems. Refactoring is a systematic practice of improving a software structure without altering its external behaviors. When the Internet of Things software is refactored, it is necessary to detect the correctness of Internet of Things software to ensure its security. To this end, this article proposes a novel refactoring correction detection approach to ensure software security. Control flow analysis and data flow analysis are used to detect code changes before and after refactoring, and synchronization dependency analysis is used to detect changes in synchronization dependency. Three detection algorithms are designed to detect refactoring correctness. Four real-world benchmark applications are used to evaluate our approach. The experimental results show that our proposed approach can ensure correctness of Internet of Things software refactoring.