Professional Documents
Culture Documents
Error ControlError Control
Error ControlError Control
Network is responsible for transmission of data from one device to another device. The end to end
transfer of data from a transmitting application to a receiving application involves many steps, each
subject to error. With the error control process, we can be confident that the transmitted and
received data are identical. Data can be corrupted during transmission. For reliable communication,
error must be detected and corrected.
Error control is the process of detecting and correcting both the bit level and packet level errors.
Types of Errors
Single Bit Error
The term single bit error means that only one bit of the data unit was changed from 1 to 0 and 0 to 1.
Burst Error
In term burst error means that two or more bits in the data unit were changed. Burst error is also
called packet level error, where errors like packet loss, duplication, reordering.
Data corruption refers to errors in computer data that occur during writing, reading, storage,
transmission, or processing, which introduce unintended changes to the original data. Computer,
transmission and storage systems use a number of measures to provide end-to-end data integrity, or
lack of errors.
In general, when data corruption occurs, a file containing that data will produce unexpected results
when accessed by the system or the related application; results could range from a minor loss of
data to a system crash. For example, if a Microsoft Word file is corrupted, when a person tries to
open that file with MS Word, they may get an error message, thus the file would not be opened or
the file might open with some of the data corrupted. The image to the right is a corrupted jpg file in
which most of the information has been lost.
Some programs can give a suggestion to repair the file automatically (after the error), and some
programs cannot repair it. It depends on the level of corruption, and the built-in functionality of the
application to handle the error. There are various causes of the corruption.
Data loss is an error condition in information systems in which information is destroyed by failures or
neglect in storage, transmission, or processing. Information systems implement backupand disaster
recovery equipment and processes to prevent data loss or restore lost data.
Data loss is distinguished from data unavailability, which may arise from a network outage. Although
the two have substantially similar consequences for users, data unavailability is temporary, while
data loss may be permanent. Data loss is also distinct from data breach, incident where data falls
into the wrong hands, although the term data loss has been used in those incidents. [1]
There are many reasons such as noise, cross-talk etc., which may help data to
get corrupted during transmission. The upper layers work on some generalized
view of network architecture and are not aware of actual hardware data
processing.Hence, the upper layers expect error-free transmission between the
systems. Most of the applications would not function expectedly if they receive
erroneous data. Applications such as voice and video may not be that affected
and with some errors they may still function well.
Data-link layer uses some error control mechanism to ensure that frames (data
bit streams) are transmitted with certain level of accuracy. But to understand
how errors is controlled, it is essential to know what types of errors may occur.
Types of Errors
There may be three types of errors:
Single bit error
Error Detection
Errors in the received frames are detected by means of Parity Check and Cyclic
Redundancy Check (CRC). In both cases, few extra bits are sent along with
actual data to confirm that bits received at other end are same as they were
sent. If the counter-check at receiver end fails, the bits are considered
corrupted.
Parity Check
One extra bit is sent along with the original bits to make number of 1s either
even in case of even parity, or odd in case of odd parity.
The sender while creating a frame counts the number of 1s in it. For example,
if even parity is used and number of 1s is even then one bit with value 0 is
added. This way number of 1s remains even.If the number of 1s is odd, to
make it even a bit with value 1 is added.
If a single bit flips in transit, the receiver can detect it by counting the number
of 1s. But when more than one bits are erro neous, then it is very hard for the
receiver to detect the error.
At the other end, the receiver performs division operation on codewords using
the same CRC divisor. If the remainder contains all zeros the data bits are
accepted, otherwise it is considered as there some data corruption occurred in
transit.
Error Correction