Method for measuring proximity of network node
暂无分享,去创建一个
The invention discloses a method used for measuring the proximity of network nodes, which comprises the steps as follows: 1) nodes of client ends send logging request to servers in the server list at the same time; wherein, the server list of all client end nodes is provided with at least one identical server address; 2) the nodes of the client ends gain the network position vector according to the logging response information returned by the server; 3) according to a similarity arithmetic and the network position vector, the proximity of at least two client end nodes is calculated. The method directly reuses the logging response information after the client end nodes log in the server and gains the network position vector and measures the proximity of the network nodes according to the similarity arithmetic, without adding additional equipment or installing new protocol or sending additional network testing packets; the method has the advantages of simple updating and convenient generalization and lightens the burdens of the system equipment and the network loads.