OSPF Router Database Synchronization Using SHA-1 Digests

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In Mobile Ad-hoc Networks (MANET), the overhead of maintaining routing peering with all possible neighbors is prohibitive, leading to lost forwarding paths and inefficient database exchange processes in OSPF networks, where full database synchronization is required before announcing adjacencies, wasting processing resources and network throughput.

Innovation Solution

The method involves using a SHA-1 digest value to determine database synchronization between routers, allowing them to skip or reduce database description exchanges by comparing hash values, and introducing a new bit in the OSPFv3 packet options field and a new TLV in the LLS data block to carry database digest values, enabling incremental and order-independent updates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If full database exchange is performed before announcing adjacency in OSPF, then database synchronization is ensured, but processing overhead and network traffic increase significantly

Engineering Contradiction:
Improvedatabase synchronizationVSAvoidprocessing overhead
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent extracts the essential verification function from the full database exchange process by using only the router ID and sequence number fields to determine database synchronization. This selective extraction allows routers to verify synchronization status without exchanging complete database contents, thereby reducing processing overhead while maintaining reliability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of performing complete database exchange, the patent applies partial action by exchanging only critical identification fields (router ID and sequence number). This partial exchange is sufficient to determine synchronization status in most cases, reducing the amount of data processing required while still ensuring database consistency when needed.

Inventive Principle:
Principle #16Partial or excessive action

2Reliability

If full database exchange is performed before announcing adjacency, then synchronization is verified, but network throughput is reduced due to excessive database description packets

Engineering Contradiction:
Improvedatabase synchronizationVSAvoidnetwork throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts only the essential synchronization verification fields (router ID and sequence number) from the complete database description packets. By transmitting only these critical fields, the patent significantly reduces packet size and transmission overhead, thereby improving network throughput while maintaining the ability to verify database synchronization.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent uses partial database information (router ID and sequence number only) instead of complete database exchange to determine synchronization. This partial approach reduces network traffic and improves throughput while still providing sufficient information to verify database consistency and make adjacency announcements.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If routing peering is maintained with all possible neighbors in MANET, then forwarding paths are preserved, but overhead costs become prohibitive

Engineering Contradiction:
Improveforwarding pathsVSAvoidoverhead costs
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent applies partial action by using only essential database fields (router ID and sequence number) for synchronization verification instead of complete database exchange. This reduction in verification overhead makes it feasible to maintain peering with multiple neighbors in MANET environments, preserving forwarding paths while keeping overhead costs acceptable.

Inventive Principle:
Principle #16Partial or excessive action

4Reliability

If database description packets are exchanged frequently, then database synchronization is maintained, but processing resources are wasted

Engineering Contradiction:
Improvedatabase synchronizationVSAvoidprocessing resources
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts only the critical router ID and sequence number fields from database description packets for synchronization verification. This extraction approach maintains database synchronization reliability while significantly reducing the processing resources required to handle frequent packet exchanges, as routers only need to compare these small field values rather than processing complete databases.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS7664789B2Method and apparatus to minimize database exchange in OSPF by using a SHA-1 digest value
Publication Date: 2010.02.16 CISCO TECHNOLOGY INC
  • US7664789B2 patent drawing
  • US7664789B2 patent drawing
  • US7664789B2 patent drawing

AI summary

The present invention provides a method of determining whether database located on a first router is synchronized with the database located on a second router by performing a hash function on the values contained in a link state database to derive a SHA-1 digest value. In an embodiment, the digest value is based on LSA type. The digest value is exchanged initially during a database description packet swap between the first router and second router. If the digest values are the same, the databases are already synchronized. The routers thus skip the database description packet exchange of LSAs in the database and go directly to FULL state, indicating full synchronization between databases on the first and second router and announcing adjacency to each other. If the digest differs, normal database description packet exchange is performed as specified in OSPF.