Error Detect
Error Detect
• A network system
y that cannot gguarantee that
the data received are completely identical to
Chapter 5 the data transmitted is essentiallyy useless.
• Reliable systems must have a mechanism for
Types of Errors
Single Bit Error
Single-Bit
3 4
Figure 5-3
Single‐Bit
Single Bit Error Burst Error of Length
g Five
• Single‐bit
Single bit errors are least likely type of error in
serial transmission – the duration of the noise
is normally much longer than that of a bit bit.
• However single‐bit error can happen in
parallel transmission
transmission, such as data transfer
inside a computer, between CPU and memory,
or between a computer and a printer
printer.
– E.g. one noisy line out of eight in a parallel printer
cable can corrupt one bit in each byte
byte.
5 6
9 10
Figure 5-6
LRC
Longitudinal Redundancy Check (LRC)
• A block of data is organized in a table of rows and
columns. The parity bit for each column is then
calculated. All parity bits are grouped and appended
to the original data to be sent (Fig. 5‐7).
• LRC increases the likelihood of detecting burst errors
– an LRC of n bits can detect a burst error of n bits.
• Cannot detect errors where there are even number
off d
damageddbbits that
h are located
l d in the
h same column
l
position of different rows.
13 14
Binary Di
Bi Division
ii
in a Binary Division
CRC GGenerator in a
CRC Checker
19 20
Binary Division in a CRC Generator Binary Division in a CRC Checker
Figure 5-11
23 24
Figure 5-12 Figure 5-13
A Polynomial
y Representing
p g a Divisor Standard Polynomials
25 26