Patent ID: 9049230
Filing Date: 2015-06-02
Classification: H04L

Abstract:
1. A backup method for a transmission control protocol (TCP) connection, comprising: processing a first input packet, and generating, according to a processing result of the first input packet, a new transmission control protocol status and a new socket status; backing up, to a transmission control protocol module of a standby board, the transmission control protocol status and the socket status that are generated according to the processing result of the first input packet; sending, to an application module, a second input packet generated by processing the first input packet; receiving a first output packet obtained by processing the second input packet by the application module; processing the first output packet, and generating, according to a processing result of the first output packet, a new transmission control protocol status and a new socket status; and backing up, to the transmission control protocol module of the standby board, the transmission control protocol status and the socket status that are generated according to the processing result of the first output packet; wherein a sending container of an active board caches the second input packet obtained by processing the first input packet by the transmission control protocol module and a second output packet obtained by processing the first output packet by the transmission control protocol module; and before the backup method is performed, the method further comprises: