Routing protocols of wireless sensor networks(WSNs)is studied.Directional diffusion routing is taken as object of study.Restricted diffusion multi-level energy routing(RDMER) algorithm is presented.In the phase of the establishment of routing
we utilize the idea of clustering to limit the diffusion of the interests and exploratory data between clusters and borders;during the process of setting up gradient
we take full account of the node’s sending consumption and remaining energy
establish routing based on the priority of energy.OMNeT++ simulation show that this algorithm reduces the average energy consumption more effectively than directed diffusion and increases significantly the survival time of the network.