Method, device and system for message interaction in peer-to-peer network
A technology of message interaction and peer-to-peer network, applied in transmission system, digital transmission system, data exchange network, etc., can solve the problem of reducing the efficiency and success rate of message interaction processing, the number of hops in message routing, and the performance bottleneck of access nodes, etc. problems, to avoid performance bottlenecks, reduce the number of hops, and improve interaction efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0102] In this embodiment, in the process of the client joining the peer-to-peer network, the client obtains the routing table of the peer-to-peer network, and the peer obtains the address information of the client to generate a client address list. Such as image 3 As shown, the peer-to-peer network in this embodiment includes peer 1, peer 2, peer 3 and a client.
[0103] Specifically, refer to image 3 As shown, the process for a client to access a peer-to-peer network may include the following steps:
[0104] Step 301, the client selects peer 1 as its own access node, sends a request to join the peer-to-peer network to peer 1, and peer 1 obtains the address information of the client;
[0105] Specifically, the client can select its own responsible node as its own access node according to the default mode of the peer-to-peer network. In this embodiment, the responsible node of the client on the peer-to-peer network is peer 1, and the client selects Peer 1 acts as its own ...
Embodiment 2
[0116] In this example, if Figure 4 As shown, the peer-to-peer network includes peer 1, peer 2, peer 3 and clients.
[0117] Specifically, refer to Figure 4 As shown, the process for the client to address the peer-to-peer network may include the following steps:
[0118] Step 401, the client successfully joins the peer-to-peer network;
[0119] Step 402, the client needs to communicate with the peer 3 in the peer-to-peer network;
[0120] Step 403, the client inquires whether there is the address information of the peer 3 from the peer-to-peer network routing table saved by itself, if yes, then proceed to step 404, otherwise, proceed to step 405;
[0121] Step 404, the client directly sends a message to the peer 3 according to the queried address information of the peer 3;
[0122] Step 405, according to the routing algorithm, the client determines that peer 2 is the closest to the peer 3 in the peer-to-peer network routing table saved by itself, and then queries the add...
Embodiment 3
[0128] In this example, if Figure 5 As shown, the peer-to-peer network includes peer 1, peer 2, peer 3 and clients.
[0129] Specifically, refer to Figure 5 As shown, the process of a peer addressing a client in a peer-to-peer network may include the following steps:
[0130] Step 501, the client successfully joins the peer-to-peer network;
[0131] Step 502, the peer 3 in the peer-to-peer network needs to communicate with the client;
[0132] Step 503, the peer 3 queries the local client list, whether the address information of the client is included, if yes, then proceed to step 504, otherwise, proceed to step 505;
[0133] Step 504, the peer 3 directly sends a message to the client according to the address information of the client in the local client list, and ends the current process.
[0134] Step 505, the peer 3 sends the message sent to the client to the peer 2 closest to the client in the local routing table according to the peer-to-peer network routing algorith...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


