Research on how to transform the working modes of working and sleeping nodes has great signification, as the energy of sensor nodes are hard to supplement under unfavorable environment. Based on holistic exchange algorithm, data exchange algorithm is put forward. This new algorithm takes the methodology of square partition to divide the information collecting area and data exchange is carried out when the energy of grid nodds is used out. The theoretical analysis and simulation experiment show that this algorithm can effectively prolong the lifespan of the whole sensor network and is more adva...