Synchronizing state information between control units
First Claim
1. A method comprising:
- managing state information within a primary control unit included within a device for one or more consumers included within the device, wherein the state information is stored in a temporally-ordered data structure having a commit proposal and commit marker pair for each of the one or more consumers that identifies a portion of the state information to be consumed by the respective one or more consumers, wherein the commit proposal identifies a most recent object of the temporally-ordered data structure that has been communicated to a corresponding one of the one or more consumers and the commit marker identifies a most recent object of the temporally-ordered data structure that has been communicated to the corresponding one of the one or more consumers and for which an acknowledgement has been received from the corresponding one of the one or more consumers; and
communicating changes to the state information to a standby control unit prior to communicating the changes to the one or more consumers of the state information by replicating the temporally-ordered data structure and the corresponding commit proposal and commit marker pair for each of the one or more consumers.
0 Assignments
0 Petitions
Accused Products
Abstract
Techniques are described for synchronizing state information between a plurality of control units. A router, for example, is described that includes a primary control unit and a standby control unit. The primary control unit maintains router resources to ensure operation of the router. To ensure operation, the primary control unit receives state information from the router resources and maintains the state information for consumers, i.e. router resources that require or “consume” state information. Prior to updating the consumers with the state information, the primary control unit synchronizes the state information with the standby control unit. In the event the primary control unit fails, the standby control unit assumes control of the router resources. Upon assuming control, the standby control unit resumes updating the consumers with state information without having to “relearn” state information, e.g., by way of power cycling the router resources to a known state.
124 Citations
20 Claims
-
1. A method comprising:
-
managing state information within a primary control unit included within a device for one or more consumers included within the device, wherein the state information is stored in a temporally-ordered data structure having a commit proposal and commit marker pair for each of the one or more consumers that identifies a portion of the state information to be consumed by the respective one or more consumers, wherein the commit proposal identifies a most recent object of the temporally-ordered data structure that has been communicated to a corresponding one of the one or more consumers and the commit marker identifies a most recent object of the temporally-ordered data structure that has been communicated to the corresponding one of the one or more consumers and for which an acknowledgement has been received from the corresponding one of the one or more consumers; and communicating changes to the state information to a standby control unit prior to communicating the changes to the one or more consumers of the state information by replicating the temporally-ordered data structure and the corresponding commit proposal and commit marker pair for each of the one or more consumers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A device comprising:
-
a primary control unit; a standby control unit; and one or more consumers, wherein the primary control unit manages state information for the one or more consumers included within the device, wherein the state information is stored in a temporally-ordered data structure having a commit proposal and commit marker pair for each of the one or more consumers that identifies a portion of the state information to be consumed by the respective one or more consumers and communicates changes to the state information to the standby control unit prior to communicating the changes to the one or more consumers of the state information by replicating the temporally-ordered data structure and the corresponding commit proposal and commit marker pair for each of the one or more consumers, and wherein the commit proposal identifies a most recent object of the temporally-ordered data structure that has been communicated to a corresponding one of the one or more consumers and the commit marker identifies a most recent object of the temporally-ordered data structure that has been communicated to the corresponding one of the one or more consumers and for which an acknowledgement has been received from the corresponding one of the one or more consumers. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification