I. Introduction
Wireless sensor networks combines modern sensor technology, micro electronics technology, wireless communication technology, embedded computing and distributed processing technology, WSNs is composed by a large amount of micro sensor nodes distributed in monitored area [1]. Every sensor node can transmit and process information, these sensor nodes compose a multi-hop and self-organize network system through wireless communication. The purpose of building WSNs is to collaboratively sense, collect and process the information of the objects detected in the monitored area, and then sends it to the observer [2]. The applications of WSN s are very extensive, for example, military application, environmental monitoring, health info, Smart home.