The invention discloses a method and equipment for generating a main / standby
multicast tree, and a medium, and relates to the technical field of communication. The method comprises the following steps: in an initialization stage, defining an original
topological graph, a source node, a destination node set, a maximum
delay constraint and an iteration threshold value, creating double trees only containing the source node, and binding independent residual graphs respectively to ensure initial
resource isolation; a current growth tree is dynamically selected through a random alternate mechanism, a
minimum cost path is calculated by using a super node compression technology in combination with a Dijkstra
algorithm, a newly added path edge is removed in real time, and a dynamic isolation environment is constructed from another tree remainder graph; in the preferential output stage, the coverage integrity and the total cost are compared through multi-round iteration, the optimal dual-tree combination is reserved,
multicast tree optimization which is free of common edges, low in
delay and minimum in total cost is achieved, and the network reliability and the calculation efficiency are greatly improved.