×

System and method for completeness of TCP data in TCP HA

  • US 8,051,326 B2
  • Filed: 10/15/2007
  • Issued: 11/01/2011
  • Est. Priority Date: 12/29/2006
  • Status: Active Grant
First Claim
Patent Images

1. A transmission control protocol high availability system, comprising:

  • an active processor, having an active application and an active TCP; and

    a standby processor, having a standby application and a standby TCP;

    wherein the active process or is directly coupled to the standby process;

    wherein communications and data exchanges among the active application, the active TCP, the standby application and the standby TCP provide a mechanism for the seamless switch over of the incoming data stream from the active processor to the standby processor is provided by a method comprising the steps of;

    duplicating a socket associated with the incoming TCP data stream from the active application in the active processor to the standby application in the standby processor;

    synchronizing a set of data and a set of states corresponding to the socket associated with the incoming TCP data stream between the active TCP and the standby TCP;

    sending a notification, from the active application, to the active TCP that the standby application in the standby processor is ready to receive data from the socket associated with the incoming TCP data stream;

    copying a first TCP data received from the socket associated with the incoming TCP data stream, in an input buffer of the active application in the active processor, to the standby application in the standby processor;

    sending a sequence number, by the active TCP in the active processor, to the standby TCP in the standby processor, wherein the sequence number corresponds a last byte of the first TCP data delivered through the socket associated the incoming data stream to the active application right before the active TCP receives the notification; and

    sending a second TCP data through the socket associated with the incoming TCP data stream, from the standby TCP, to the standby application, wherein the second TCP data starts from a next byte to the last byte of the first TCP data;

    thereby the first TCP data, the second TCP data, and subsequent TCP data from a peer router, form a continuous incoming data stream to the standby application in the standby processor for the socket duplicated from the active processor.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×