The invention discloses a self-adaptive WSN (
wireless sensor network)
routing algorithm based on biological inspiring, and belongs to the technical field of WSN. The self-adaptive WSN
routing algorithm based on the biological inspiring solves the problems of local optimizing and routing void easily caused by the greedy method which is relied by the existing GPSR (greedy perimeter stateless routing)
algorithm. The method comprises the two basic steps of (1) sending data in the quadrant of Sink nodes in a flooding way to find a
backbone network; (2) utilizing the found
backbone network to send data. In the establishing process of the
backbone network, the forming strategy of the physarum polycephalum feeding path is simulated, namely utilizing the geological location information and embodying the path weights to establish the
route main network. In the process of sending data by nodes, the non-related nodes enter the sleeping state, the energy difference of all adjacent nodes should not be greater than Threshold, then the balance of
energy consumption is realized, and the robustness of the network
system is further improved. After the data is sent, the path information of the backbone network is remained. When the node sends the data next time, the backbone network can be continuously used, the time of researching the path is saved, the
data transmission efficiency is improved, and the
energy consumption is reduced.