Aiming at the maximum lifespan problem of multiple source and base stations in Wireless Sensor Network(WSN),this paper proposes a communication model based on optimization theory.It establishes integer nonlinear programming model according to the WSN data flow restrictions and energy conservation principle,with the maximum lifespan network for the best goal,makes energy and bandwidth as a limitation on the constraint conditions,uses optimization technology of distributed algorithm to solve the model.Simulat...