Rerouting method and device in fault network

The invention discloses a rerouting method in a fault network. The rerouting method comprises the steps of acquiring fault link information, acquiring target autonomous system (AS) information and fault link initial point AS information of an affected data packet on the fault link, rebuilding a connection relation mathematic model of every two ASs in the same administrative domain according to the fault link information, determining N protection paths from a fault line initial point AS to a target AS, and selecting a practical path from the N protection paths to serve as a protection tunnel, wherein N is a positive integer. The invention further discloses a rerouting device in the fault network.