System and method for selecting opposite terminals in point-to-point network
A point-to-point network and selection system technology, applied in the field of peer selection system, can solve the problems of local area network powerlessness, difficulty in practical application, inability to guarantee correctness and comprehensiveness, etc., and achieve the effect of improving transmission performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] The peer selection system in the peer-to-peer network proposed by the present invention, its first preferred embodiment is as follows figure 1 shown, including:
[0035] A peer selection system in a peer-to-peer network, characterized in that it includes:
[0036] A routing table acquisition module, the routing table acquisition module acquires the routing table from the client to the preset server according to the routing request sent by the client to the preset server;
[0037] Routing table processing module, the routing table processing module classifies the IP address of each hop in the routing table according to the routing table of the client, and stores the client into the corresponding group according to the classification;
[0038] The peer selection module selects the closest group as the peer of the client for point-to-point transmission according to the required number of peers.
[0039] The peer selection system in the peer-to-peer network proposed by th...
Embodiment 2
[0041] The second preferred embodiment of the present invention is improved on the basis of the first preferred embodiment, that is, the routing table processing module includes:
[0042] Search submodule, the search submodule searches the routing table of the client, and judges whether the IP is routed by the national backbone network in the routing table; if there is, the routing IP of all hops after the first national backbone network routing IP is deleted , and classify according to the reserved routing IP; if not, add the provincial backbone network routing IP and the national backbone network routing IP in the routing table, and classify according to the routing IP;
[0043] Group sub-module, the group sub-module is provided with multiple groups, each group has different levels, and stores the client with the same routing IP; the client will be stored according to the routing IP of the client to the group.
[0044]The second preferred embodiment of the present invention...
Embodiment 3
[0046] The present invention proposes a peer-to-peer selection method in a peer-to-peer network, and the flow of its preferred embodiment is as follows figure 2 shown, including:
[0047] Step 1, the client sends a routing request to the preset server to obtain the routing table from the client to the preset server;
[0048] Step 2, classify according to the IP address of each hop in the routing table, and store the client in the corresponding group according to the classification;
[0049] Step 3. According to the required number of peers, find peers from the closest group as the peers of the client's point-to-point transmission.
[0050] The peer selection method in the peer-to-peer network proposed by the third preferred embodiment of the present invention can classify clients hierarchically according to the routing table. The method of the present invention can obtain the network structure where the client is located through the routing table, so that when the point-to-...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 