I. Introduction
With the introduction of the Internet of Things (IoT) and Cyber Physical System (CPS) concepts in addition to the current big data and data analytics environments within industrial application scenarios, industrial automation is undergoing a tremendous change introducing as a consequence thereof the fourth industrial revolution sometimes referred to as Industry 4.0 [1]–[3]. This concept has introduced what has been called the Smart Factory, the revolutionized version of traditional factory in which CPSs communicate over the IoT to monitor the physical processes of the factory and to make decentralized decisions.