Method and system of realizing rig network protection

The invention is used for solving the problem existed in the currently-used technology, which is the failure of primary ring can cause unreachable to the nodes in subring, and the recovery of primary ring loop can cause the instant storm. The method comprises: the edge nodes respectively monitor state of the shared link of primary ring and other links in the ring network, and according to their states decide if there are failure in the shared link of primary ring and other links; if yes, then allowing the port of one subring of current edge node to transmit message, and blocking other subring ports; if not, allowing all subring port to transmit message.