主权项 |
1. A method for a packet transport system to perform protection switching, the packet transport system including
a packet processor, a protection switching apparatus, and a host processor,the method comprising:
checking, by the protection switching apparatus, whether a signal failure has occurred in a receiving frame that is sent from another switching apparatus for receipt by the packet processor; generating, by the protection switching apparatus, responsive to the signal failure that has occurred in the receiving frame, a protection switching command message comprising protection switching command for the packet processor to perform the protection switching; recording, by the protection switching apparatus, upon generating the protection switching command message and in a header of the receiving frame, information representing that the protection switching is to be performed by the packet processor, and transporting an updated receiving frame comprising the header having the recorded information to the host processor; receiving, by the protection switching apparatus, a protocol related command message sent from the host processor; and performing, by the protection switching apparatus, arbitration for transmitting the protection switching command message generated by the protection switching apparatus or the protocol related command message sent from the host processor, and transmitting one of the protection switching command message and the protocol related command message in accordance with the arbitration to the packet processor so that the packet processor performs the protection switching according to the transmitted message. |