摘要 |
A method and apparatus for detecting and handling peer faults in a Peer-to-Peer network are disclosed. A peer in the P2P network receives a diagnosis request message; then detects whether a peer is faulty according to a preset fault detection method; and sends a diagnosis response message to a source peer that constructs the diagnosis request message or a peer specified by the diagnosis request message, where the diagnosis response message carries a detection result, and the detection result carries information about the faulty peer if the peer is detected as faulty. Through the technical solution under the present invention, the faults of the peers on the forwarding path in the P2P network can be detected.
|