(In this paper, about the protection defects of GEAR routing algorithm, a new security routing algorithm R-GEAR is designed. By introducing a secure bootstrap scheme suitable for sensor networks and a promise evaluation mechanism on the GEAR routing algorithm, it can obtain better security functions. . Perform security analysis on R-GEAR and use NS2 simulation tool to conduct simulation experiments)