As a new type of wireless ad hoc network, sensor network has a broad applied prospect in many fields, such as military monitoring, earthquake and whether forecasting. Based on the idea of square grid partition, a directional algorithm of wireless sensor is put forward. In this new algorithm, the sink node first divides the target area into square grid, then spreads the divided information to all the sensor nodes in the network, and constructs the approximately minimal connected cover set in the target area, and then the node which is closest to the sink node is identified in this algorithm, an...