The invention relates to a node
privacy protection method based on directional random routing in a
wireless sensor network. The method comprises the following six steps: establishment of grids, establishment of rings, determination of the grid, where a node locates, in the network, determination of the ring, where the node locates, in the network, routing of a real data packet and routing of
confusion data packets. The
confusion data packets are introduced to each direction of the network to prevent direction
attack of an attacker, and network traffic is equalized; ring-based routing is introduced at the start position of a data packet to prolong the safety period of the network; through a time-domain
confusion mechanism, the attacker cannot continue tracing after tracing back to the last node; and the directional routing policy of the real data packet increases diversity of the routing, and improves
attack difficulty of the attacker. The node
privacy protection method based on the directional random routing in the
wireless sensor network can protect a source node and a
base station node simultaneously through the design of grid and ring based routing, is suitable for the case of mobile source nodes and multisource nodes, and has good expansibility.