(Regarding the characteristics of wireless sensor networks, this article first discusses the security threats in the communication process, analyzes its security requirements and adopts security mechanisms to ensure the security of wireless communication.)