(This paper firstly introduces the classic routing protocols such as DD, LEACH and GEAR. Based on the comparative analysis of the functions and security of their routing algorithms, it is found that the clustering routing protocols represented by LEACH have advantages in energy consumption and security. Compare good features)