The invention discloses a peer-to-peer network transmission neighbor node
selection method. The method includes the following steps that: connections are established between a
central node and targetnodes in a cluster which download a target file; downloaded fragments of the
central node are calculated, so that a first
bit array is obtained, fragments stored in the target nodes are calculated, sothat second bit arrays are obtained;
exclusive OR operation is performed on the first
bit array and all the second bit arrays, so that the mutually-different data amount of the
central node and eachtarget node can be obtained; and the target nodes are sequenced according to the large-to-small order of the mutually-different data amount, so that a sorted
list can be obtained, and top N target nodes in the sorted
list are selected as neighbor nodes. With the method adopted,
data transmission rate can be improved under the premise that
impact on the normal operation of a cluster task is decreased. The present invention also discloses a peer-to-peer network transmission neighbor node
selection system, a computer readable storage medium and a
server. The peer-to-peer network transmission neighbor node
selection system has the advantages as the peer-to-peer network transmission neighbor node
selection method.