Aiming at the impact of wormhole attack on node localization in wireless sensor networks( WSNs)
an improved DV-Hop security localization algorithm is proposed to resist wormhole attack. By improving the method of establishing conflict set
the most appropriate beacon nodes are selected to broadcast sleep information
as far as possible to reduce the number of nodes go into sleep state
to further improve the success rate of wormhole detection and localization precision. The algorithm is compared with the label-based DV-Hop localization against wormhole attacks( LBDV) algorithm. The simulation results show that the performance of the security localization algorithm described in this paper is better than that of the LBDV algorithm.