CN Lec3 2 Error Detection and Correction
CN Lec3 2 Error Detection and Correction
• Methods:
1. If a frame is corrupted between the two nodes, it needs to be corrected
2. Drop the frame and let the upper layer (e.g. Transport) protocol to handle it by
retransmission
• Types of Error
Add r
bits
• Calculation: apply the XOR operation on the two words and count
the number of 1’s in the result
• Shifting Operation
• Problem:
– Number of bits required to present the units and checksum is more ( in the
above example it is >4bits)
• Disadvantage:
– Not robust
– e.g., if the values of several words are incremented but the sum
and the checksum do not change, the errors are not detected.
– Solution: weighted checksum proposed by Fletcher and Adler