TCAM Data Storage CRC Checking for Fast Error Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods fail to quickly detect the correctness of data storage in Ternary Content Addressable Memory (TCAM) devices, leading to undetected errors.

Innovation Solution

A method involving the use of Cyclic Redundancy Check (CRC) algorithms to calculate and compare check codes for stored data, with error information sent to the CPU for correction, ensuring quick detection and restoration of data integrity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional data storage methods are used in TCAM, then the device can operate, but errors cannot be quickly detected

Engineering Contradiction:
Improvedata storage correctnessVSAvoiddetection time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-calculating and storing check codes (CRC codes) along with the data before storage. When detection is needed, the system only needs to re-calculate and compare the check codes, rather than performing complex error detection algorithms on the entire data set. This preliminary preparation of verification information enables rapid error detection.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces check codes as an intermediary element that mediates between the stored data and the verification process. Instead of directly analyzing the stored data for errors, the system uses these intermediary check codes to quickly verify data integrity. The check codes act as a simplified representation that enables fast comparison and error detection.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If no error detection mechanism is implemented, then the system remains simple, but data errors go undetected

Engineering Contradiction:
Improvedata storage correctnessVSAvoiddetection mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the error detection function from the main data storage and verification process. By separating the check code calculation and comparison into a distinct, dedicated mechanism, the system achieves reliable error detection without adding significant complexity to the core TCAM operations. The check code mechanism is a standalone, simple algorithm that can be implemented independently.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent uses lightweight, computationally inexpensive check codes (CRC codes) that can be quickly generated and compared. These check codes are simple numerical values that require minimal processing power and memory resources, enabling reliable error detection without significantly increasing device complexity or resource consumption.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

Enables rapid detection and correction of data storage errors in TCAM devices, addressing the inability to quickly verify data correctness in existing technologies.

Implementation Method 1

a second check code of the second data is calculated by using a Cyclic Redundancy Check (CRC) algorithm

Methodology Applied
Scientific EffectCyclic Redundancy Check (CRC) algorithm:

Data Source

PatentUS11544141B2Data storage detection method and apparatus, storage medium and electronic apparatus
Publication Date: 2023.01.03 SUZHOU CENTEC COMM CO LTD
  • US11544141B2 patent drawing
  • US11544141B2 patent drawing
  • US11544141B2 patent drawing

AI summary

Provided is a method for detecting stored data and device, a storage medium and an electronic device. The method includes: the first check information of first data stored in a memory in the current period is determined; the first check information is compared with second check information to obtain a check result, wherein the second check information is check information of second data stored in the memory in a period prior to the current period; and the correctness of storage of the second data is detected according to the check result.