摘要 |
The present invention discloses a method for synchronizing connection state in data communication, which includes: a node requests connection state information from an opposite node connected with it; and the node updates the local connection state according to the connection state information returned by the opposite node. The invention further discloses a communication node using the method. In the invention, by synchronizing the connection state information between a node that may be out of synchronization and its opposite node connected, the problem of connection state synchronization may be solved substantially, and synchronization may be recovered simply by holding the connection. Further, according to the embodiment of the invention, frequent connection state synchronization inside a high-availability system is no longer necessary, so that system bandwidth and processing capability may be saved, and the original connection may be recovered at any moment when an active/standby switching occurs. |