With the development of the power Internet of Things (IoTs), more and more edge devices with computing, storage, and communication capabilities are connected to the IoT Management Platform (ITMP) through the MQTT protocol. Currently, one of the problems faced by the platform is that the online status of the device displayed on the platform does not match its real status. The main reason for this is that the online information uploaded by the device is inaccurate. The current solution is to repeatedly extract data through the platform to verify whether the device is online. Due to the huge number of devices, this solution needs to consume a large amount of bandwidth and computing power. We design an active secondary check method (ASCM) to solve the above problem. The core idea of ASCM is to verify the true state of the device by actively initiating multiple check topics when the state of the device changes, so as to ensure the accuracy of the device state switching. The experimental results show that the ASCM can effectively ensure the accuracy of device state switching, thereby improving the accuracy and effectiveness of collecting business data.