Abstract: |
Characters are as following: first, a control server is configured for peer-to-peer network to manage states of global nodes, implement adding, updating, and detecting nodes etc, communication with each client, and defines data structure of dynamic information of storage node next, according to C segment of IP address, the network is divided into sections unique comparable ID is built for sections, and node table is built according to descending sort of ID moreover, using first addresses of C segment as a IDs builds a table of first address according to IP address using method of reducing by half to look up table of first address to implement adding, quitting, updating, and to maintain a table of neighbor nodes finally, based on time of holding activation message, the method determines whether node is disabled according to threshold. The invention carries out periodic detection to assure performance between optimized nodes, and prevents local detached island in network. |