METHOD AND APPARATUS FOR ABSTRACTING LOGICAL TOPOLOGY INFORMATION OF PEER-TO-PEER NETWORK
First Claim
1. A method for abstracting logical topology information of a Peer-to-Peer (P2P) network, comprising:
- obtaining a set of Points of Presence (POPs) of peer clients in the P2P network;
calculating a best path between any two POPs in the set of POPs and a weight value of the best path; and
collecting calculation results of the best path and the weight value that are obtained on each POP in the set of POPs to obtain a set of abstract logical topology records of the P2P network.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a method and an apparatus for abstracting logical topology information of a Peer-to-Peer (P2P) network. The method includes: obtaining a set of Points of Presence (POPs) of peer clients in the P2P network; using a relevant algorithm of a routing protocol to calculate a best path between any two POPs in the set of POPs and a weight value of the best path; and collecting calculation results of the best path and the weight value that are obtained on each POP to obtain a set of abstract logical topology records of the P2P network. The embodiments of the present invention provide a universal and efficient method for abstracting logical topology information, which greatly reduces network topology information that needs to be transmitted, mitigates a risk of exposing lower-layer network topology information, and transmits the network topology information to a P2P application server securely and concisely.
30 Citations
10 Claims
-
1. A method for abstracting logical topology information of a Peer-to-Peer (P2P) network, comprising:
-
obtaining a set of Points of Presence (POPs) of peer clients in the P2P network; calculating a best path between any two POPs in the set of POPs and a weight value of the best path; and collecting calculation results of the best path and the weight value that are obtained on each POP in the set of POPs to obtain a set of abstract logical topology records of the P2P network. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for abstracting logical topology information of a Peer-to-Peer (P2P) network, comprising:
-
a Point of Presence (POP) set obtaining module, configured to obtain a set of POPs of peer clients in the P2P network; a best path calculating module, configured to calculate a best path between any two POPs in the set of POPs and a weight value of the best path; and a logical topology record set obtaining module, configured to collect calculation results of the best path and the weight value that are obtained on each POP in the set of POPs to obtain a set of abstract logical topology records of the P2P network. - View Dependent Claims (9, 10)
-
Specification