The document proposes a Fast Fault Node Recovery algorithm to enhance the lifetime of a wireless sensor network when sensor nodes fail. The algorithm is based on rerouting using grade diffusion combined with a genetic algorithm. It aims to reduce the number of replaced sensor nodes and reuse more routing paths. Simulation results show the algorithm increases active nodes by up to 8.7 times, reduces data loss by 98.8%, and reduces energy consumption by 31.1%.