Abstract:Compared with the unstructured P2P networks, structured P2P networks have good expansibility and robustness. But structured P2P overlay network is directly based on logic network, not too much above the underlying physical network topology structure, which causes a serious topology mismatching between logical topology structure and physical topology structure. About the question,this paper proposed a protocol-independent topology matching method,by combining the existing beacons node, adaptive matching algorithm with IP distribution strategy to construct the initial topological structure, and by optimizing node switching to maintenance the network topology. Simulation experiments show that the algorithm improve the matching degree of the network topology, and meanwhile with lower traffic cost.