Chapter 10
Chapter 10
Prepared by-
Shyla Afroge & S. M. Mahedy Hasan
Assistant Professor, Dept. of CSE
RUET, Rajshahi-6204, Bangladesh
❖Data are transmitted in the network.
Burst Error
❖ It can be handled in two ways:
1. Forward error correction is the process in which the receiver tries to guess
the message by using redundant bits.
Error 2. Correction by retransmission is a technique in which the receiver detects
Correction the occurrence of an error and asks the sender to resend the message.
❖The sender adds redundant bits through a process that creates a
relationship between the redundant bits and the actual data bits.
❖The receiver checks the relationships between the two sets of bits to
detect or correct the errors.
Coding
❖ There are five error detection techniques:
Sender
1010010
Transmitted Receiver
Vertical 1 1010010
1 1010010
Redundancy Even Parity
Generator
Check (VRC)
1
❖ It can detect single bit error.
❖It can detect burst error if the number or errors are odd.
Performance
Sender 1 10110 Transmission error 1 11110 Receiver rejects data
of VRC
Sender 1 10110Transmission error 1 11100 Receiver accepts data
❖ A block of bit is divided into rows and columns.
❖ The parity bit is calculated for each column and sent along with the data.
Performance 1 1 0 0 1
0 0 1 1 0
of LRC
1 1->0 1 1 0
0 0->1 0 1 0
1 0 1 0 0
1 1 1 1 1
0 1 0 0 0
✔ Checksum = Check + Sum
✔Break the original message into ‘k’ number of blocks with ‘n’ bits in
each block.
Checksum
✔Sum all the ‘k’ data blocks.
1 0 0 1 1 0 0 1
1 1 1 0 0 0 1 0
0 0 1 0 0 1 0 0
Checksum 1 0 0 0 0 1 0 0
Carry 1 0 Sum 0 0 1 0 0 0 1 1
1 0
Sum 0 0 1 0 0 1 0 1
Checksum(1’s complement) 1 1 0 1 1 0 1 0
1 0 0 1 1 0 0 1
1 1 1 0 0 0 1 0
0 0 1 0 0 1 0 0
Checksum 1 0 0 0 0 1 0 0
1 1 0 1 1 0 1 0
Carry 1 0 Sum 1 1 1 1 1 1 0 1
1 0
Sum 1 1 1 1 1 1 1 1
✔It can check both the single bit and burst errors (if the error causes
a change in the final sum).
Performance
✔If one more bits of a segment are damaged and the corresponding
of Checksum bit or bits value in a second segment are also damaged, the sum of
those columns will not change and the receiver will not detect the
errors.
Steps of CRC operation at sender side: