Description: Proposed a modified particle swarm algorithm based on wireless sensor network clustering routing algorithm to optimize the clustering process. Cluster head node, considering the selection of the candidate node and the neighbor node state information