(This paper proposes a new topology discovery algorithm for physical network. The basic idea of ??the algorithm is to use the tree method to indicate the topological connection of switches. On the basis of this theory, the change process of the spanning tree assembly and deduction tree is used to terminate the topology discovery, and the algorithm is deduced by connecting a typical switch connection. The results of theoretical analysis and practical use show that this new topology discovery algorithm is efficient and accurate in discovery.)