摘要 |
Disclosed are a method for preferentially transceiving a HELLO message, and a routing device. The method comprises: detecting, when a message is sent, whether the message is a HELLO message; adding, when the message is the HELLO message, a sending request of the message to a preferential sending queue; adding, when the message is not the HELLO message, the sending request of the message to a common sending queue; processing, when there is a sending request in the preferential sending queue, the sending request in the preferential sending queue; and processing, when there is not a sending request in the preferential sending queue, the sending request in the common sending queue. The method further comprises: detecting, when a message is received, whether the message is a HELLO message; adding, when the message is the HELLO message, the message to a preferential receiving queue; adding, when the message is not the HELLO message, the message to a common receiving queue; processing, when there is a message in the preferential receiving queue, the message in the preferential receiving queue; and processing, when there is not a message in the preferential receiving queue, the message in the common receiving queue. |