Patent ID: 8520506

Claim:
An active-standby switchover method, comprising: receiving at least one packet group copied by an active board before the active board transmits a corresponding packet group to a peer under a peer session; recording the copied packet group and generating a transmission rule chain table of a standby board which is the same as a transmission rule chain table of the active board according to a sequence of copying, wherein the transmission chain table of the standby board records the ID of each copied packet group and ID of the transmit buffer in which the active board stores the packet group according to the sequence of copying; for each received copied packet group, obtaining length of a packet in the packet group and storing the packet group in a transmit buffer indicated by the corresponding transmit buffer ID in the chain table; monitoring, according to the transmission rule chain table of the standby board, the transmission progress of the active board in transmitting the packet group under the peer session according to the transmission rule chain table of the active board; and after an active-standby switchover, transmitting the copied packet group according to the monitored progress so as to resume transmission from a breakpoint; wherein the monitoring, according to the transmission rule chain table of the standby board, the transmission progress of the active board in transmitting the packet group under the peer session according to the transmission rule chain table of the active board comprises: tracing, according to the transmission rule chain table of the standby board, the packet group ID which active board is transmitting under the peer session according to the transmission rule chain table of the active board, and sliding the obtained length in a transmit buffer indicated by the transmit buffer ID corresponding to the traced packet group ID to trace the progress of the active board in transmitting the packet group.