To the problems of threat to routing security and limited energy of the nodes in sensor network
this paper presents a secure routing algorithm based on energy optimization (EOSR).The algorithms takes energy optimization
improvements of secure routing
and shorten of transmission delay as its design targets.With the multi-pile policy nodes with more energy storages will undertake more tasks of data switching
which can obtain optimal routing and prolong network lifetime.Security of routing is also efficiently improved through pre-distribution of public and private key pair.Detailed process of routing finding
routing choosing and routing deleting are given in this paper.The affectivity of this algorithm is proved with emulative experiment.