Error Correction Code

What Does Error Correction Code Mean?

Error correction code (ECC) checks read or transmitted data for errors and corrects them as soon as they are found. ECC is similar to parity checking except that it corrects errors immediately upon detection. ECC is becoming more common in the field of data storage and network transmission hardware, especially with the increase of data rates and corresponding errors.

Advertisements

Techopedia Explains Error Correction Code

Error correction code is applied to data storage via the following steps:

  1. When a data byte or word is stored in RAM or peripheral storage, a code-specifying bit sequence is estimated and stored. Each fixed number of bits per word has an additional fixed number of bits to store this code.
  2. When the byte or word is called for reading, a code for the retrieved word is calculated according to the original algorithm and then compared to the stored byte’s extra fixed bits.
  3. If the codes match, the data is error free and is forwarded for processing.
  4. If the codes do not match, the changed bits are caught through a mathematical algorithm and the bits are immediately corrected.

Data is not verified during its storage period, but is tested for errors when it is requested. If required, the error correction phase follows detection. Frequent recurring errors at the same storage address indicate a permanent hardware error. In this case, the system sends the user a message, which is logged to record the error location(s).

Advertisements

Related Terms

Latest Data Management Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…