The invention relates to a rechargeable 
wireless sensor network immune routing 
repair method, k disjoint routes are established between the source node and the sink node, one of the routes is used by the network, and the other k-1 are 
backup routes, which will be used by the nodes  The routing failure caused by the energy-depleted node is used as an 
antigen, and the corresponding repair routing is used as an 
antibody; the corresponding detection module, response and learning module, and 
memory module are used to simulate the working mechanism of the 
immune system to eliminate antigens.  In the learning module, a 
clonal selection algorithm is used.  The 
cloning and 
mutation mechanism has been improved based on the 
hormone regulation mechanism of the 
endocrine system.  By simulating the 
cooperative work of various modules of the 
immune system, ISRRA can effectively provide a repair strategy for faulty routes, especially suitable for the situation where the same faulty 
route occurs multiple times in EH‑WSNs.  In addition, in the process of repairing the faulty 
route, ISRRA also evaluates the quality of the 
backup route and judges whether to replace the 
backup route, so as to ensure the quality of the route.