摘要 |
<p>A method for message routing in a Peer to Peer (P2P) network includes the following steps: when a request message is routed from a source peer to a destination peer, the source peer and every intermediate peer that needs to be recorded add path information of the local peer to the request message and forward the request message to a next hop until the message arrives at the destination peer, where the path information includes a communication address of the local peer; the destination peer adds the path information in the request message to a response message obtained according to the request message; and the response message is routed from the destination peer to the source peer according to the path information. A source peer, an intermediate forwarding peer, and a destination peer as well as a message routing system are also disclosed. With the present invention, recursive message routing is implemented in a structured P2P network. Because a peer in the P2P network no longer needs to maintain a local transaction table, resources of the peer are saved and the cost of the P2P network is less.</p> |