The Cyber-Physical Systems (CPS) and Internet-of-Things (IoT) have become essential technology in our daily life. The cyber-physical systems and internet-of-things are in principle connection between the physical and the global technology (cyber) environment which run mostly autonomous without any user interaction. They collect information from the physical environment through sensors or change it through actuators and thus usually stand in direct contact with human beings