Lifetime estimation of wireless sensor network with resourceful data acquisition and energy consumption oriented routing