OSPF Frozen Standby LSDB for Race Condition Elimination

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computer networking, existing Non-stop Routing (NSR) systems using the Open Shortest Path First (OSPF) protocol face challenges in maintaining protocol synchronization during failures, leading to potential loss of data due to race conditions when the active OSPF instance fails and the standby instance takes over.

Innovation Solution

Implementing a frozen standby Link State Database (LSDB) where the standby OSPF instance receives and stores LSAs from the active instance, aging them only when it becomes active, ensuring consistent processing and eliminating race conditions by having a master instance determine LSA life and death.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the standby OSPFinstance continuously ages LSAs in the LSDB, then LSA processing can be performed immediately upon switchover, but race conditions occur when the active instance fails during LSA processing

Engineering Contradiction:
Improvenetwork reliabilityVSAvoidLSA aging management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The standby OSPFinstance performs preliminary actions by receiving and installing LSAs in its LSDB during normal operation, but defers the aging process until switchover occurs. This ensures the standby instance is ready to process LSAs immediately upon becoming active, while avoiding the race conditions that would occur if both instances continuously aged LSAs simultaneously.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically transitions the LSDB from a frozen state during standby to an active aging state when switchover occurs. The standby instance maintains a static copy of LSAs without continuous aging, then activates the aging mechanism precisely when needed, optimizing both reliability and complexity management.

Inventive Principle:
Principle #15Dynamics

2Manufacturing precision

If the active OSPFinstance completes reliable flooding and synchronization before failing, then data integrity is maintained, but switchover time increases

Engineering Contradiction:
Improvedata integrityVSAvoidswitchover time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The standby OSPFinstance performs preliminary actions by continuously receiving and installing LSAs during normal operation, so that when switchover is needed, the standby instance already has the necessary LSA data ready in its LSDB. This eliminates the need for the active instance to complete all synchronization operations before failing, thereby reducing switchover time while maintaining data integrity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The standby instance maintains a copy of the LSDB with installed LSAs, creating a parallel database that is updated during normal operation. When switchover occurs, this pre-copy ensures immediate continuity of routing operations without waiting for the active instance to complete its flooding and synchronization processes.

Inventive Principle:
Principle #26Copying

3Reliability

If the standby OSPFinstance processes all LSAs upon switchover, then protocol synchronization is ensured, but processing delay increases

Engineering Contradiction:
Improveprotocol synchronizationVSAvoidLSA processing delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The standby OSPFinstance performs preliminary installation of LSAs during normal standby operation, so that when switchover occurs, the LSAs are already in place and ready for processing. This preliminary preparation ensures protocol synchronization is maintained while minimizing the processing delay that would otherwise occur during the switchover transition.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8958430B2OSPF non-stop routing frozen standby
Publication Date: 2015.02.17 TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
  • US8958430B2 patent drawing
  • US8958430B2 patent drawing
  • US8958430B2 patent drawing

AI summary

Open Shortest Path First (OSPF) Non-stop Routing (NSR) with frozen standby LSDB is described. A network element includes a first OSPF instance initially acting as an active OSPF instance and a second OSPF instance initially acting as a standby OSPF instance. The second OSPF instance receives LSAs from the first OSPF instance and installs the LSAs in its LSDB. The LSAs in the LSDB are only aged by the active OSPF instance. If and when the second OSPF instance becomes the active OSPF instance, the second OSPF instance then ages the LSAs in the LSDB and processes each of the LSAs according to the aging of that LSA, where processing includes one of purging that LSA and refreshing that LSA.