Abstract Internet of Things (IoT) lays the foundation for the various applications in smart cities. yet resource-constrained IoT devices are prone to suffer from devastating cyberattacks and privacy leak threats. thus are inevitability supposed as the weakest link of the systems in smart cities. Mitigating the security risks of data and the computing limitation of edge devices. https://www.popularfilm.blog/