The invention relates to a method for clustering a
wireless sensor network and an in-cluster
topology control algorithm based on
backup nodes. The method for clustering the
wireless sensor network and the in-cluster
topology control algorithm based on the
backup nodes comprise the steps that the position of each cluster head and the range of each cluster are determined, wherein the clusters are divided into ring zones with the same ring
radius and are segmented into multiple sectors at the same angle amplitude, and then the transmission range of nodes in the clusters is determined; a topological structure is established in the mode that the
backup nodes and an implicit link are added to the nodes in the clusters on the basis of traditional tree topology; the generated backup nodes have the self-curing characteristic, the network can conduct automatic repair locally according to information of the nodes in the inner ring zone and the outer ring zone when a node failure occurs, and then
connectivity is ensured; a standby cluster head is selected from each cluster, energy consumed for forwarding data is used as a weight, the shortest path
algorithm is used for communication with the nodes of the outer cluster, and the information is forwarded to the aggregation node finally. The method for clustering the
wireless sensor network and the in-cluster
topology control algorithm based on the backup nodes have the advantages that
network connectivity can be achieved through the backup nodes, and
energy consumption balance is realized finally by means of controlling the hop counts of the nodes and the regional range of the clusters, setting the priority and the like.