A method of preventing a failure processing delay, comprising: receiving, by a processor, a Bidirectional Forwarding Detection, BFD, session event, wherein the BFD session event carries a BFD session identifier and an event type identifier; obtaining, by the processor, an equivalence class set identifier from a basic information entry matching the BFD session identifier, wherein the equivalence class set identifier indicates an equivalence class set to which a BFD session corresponding to the BFD session identifier belongs, and BFD sessions carried by a same public network path belong to a same equivalence class set; and when the event type identifier indicates a Down event, adding, by the processor, a queue element corresponding to the BFD session identifier to an equivalence class time-window queue corresponding to the equivalence class set identifier such that the equivalence class time-window queue includes at least one queue element, determining, by the processor, whether a number of the at least one queue element in the equivalence class time-window queue reaches a set threshold in a set time-window, and reporting by the processor, a Down event for each BFD session in the equivalence class set corresponding to the equivalence class set identifier when the number of the at least one queue element in the equivalence class time-window queue reaches the set threshold in the set time-window. receiving, by a processor, a Bidirectional Forwarding Detection, BFD, session event, wherein the BFD session event carries a BFD session identifier and an event type identifier; obtaining, by the processor, an equivalence class set identifier from a basic information entry matching the BFD session identifier, wherein the equivalence class set identifier indicates an equivalence class set to which a BFD session corresponding to the BFD session identifier belongs, and BFD sessions carried by a same public network path belong to a same equivalence class set; and when the event type identifier indicates a Down event, adding, by the processor, a queue element corresponding to the BFD session identifier to an equivalence class time-window queue corresponding to the equivalence class set identifier such that the equivalence class time-window queue includes at least one queue element, determining, by the processor, whether a number of the at least one queue element in the equivalence class time-window queue reaches a set threshold in a set time-window, and reporting by the processor, a Down event for each BFD session in the equivalence class set corresponding to the equivalence class set identifier when the number of the at least one queue element in the equivalence class time-window queue reaches the set threshold in the set time-window. adding, by the processor, a queue element corresponding to the BFD session identifier to an equivalence class time-window queue corresponding to the equivalence class set identifier such that the equivalence class time-window queue includes at least one queue element, determining, by the processor, whether a number of the at least one queue element in the equivalence class time-window queue reaches a set threshold in a set time-window, and reporting by the processor, a Down event for each BFD session in the equivalence class set corresponding to the equivalence class set identifier when the number of the at least one queue element in the equivalence class time-window queue reaches the set threshold in the set time-window.