Patent ID: 8797841

Claim:
A method for recovering a service, the method comprising: planning N band-level Forward Adjacency Label Switched Paths (FA LSPs) according to working resources of a TE link in a network, and planning N band-level shared MESH recovery paths corresponding to the N band-level FA LSPs; wherein the N is an integer greater than or equal to 1, and the N is the number of all band-level shared MESH recovery paths corresponding to the TE link; establishing the N band-level FA LSPs on the working resources of the TE link, and establishing the N band-level shared MESH recovery paths corresponding to the N band-level FA LSPs on recovery resources of the other TE links aside from the TE link in the network; flooding information of a shared MESH recovery state which indicates a state of working resources included in each of the N band-level FA LSPs into the network, wherein the information of the shared MESH recovery state is used to broadcast that a failure recovery mode of the working resources of the N band-level FA LSPs is a band-level shared MESH recovery mode; and detecting whether the TE link fails after the N band-level FA LSPs and the N band-level shared MESH recovery paths are established, and when detecting that the TE link fails, recovering a service on the working resources of the TE link by switching the N band-level FA LSPs on the TE link to the N band-level shared MESH recovery paths.