1.校验和:
校验和是检测数据错误的广泛使用的方法。该方法比其他错误检测方法更可靠。这种方法在发送方使用Checksum Generator ,在接收方使用Checksum Checker。
1. CRC:
CRC或循环冗余校验是用于检测错误的错误检测方法,该方法由上层协议使用。它在发送方和接收方都包含多项式生成器。多项式生成器的类型为x 3 + x 2 + x + 1。
校验和与CRC的区别:
S.No. | Checksum | CRC |
---|---|---|
1. | It is not a thorough concept for detection nd reporting of errors. | CRC is a thorough concept for detection and reporting of errors. |
2. | It is capable of detecting single bit change in the data. | It is capable of detecting double digits errors. |
3. | This method comes after CRC method. | It is the oldest method. |
4. | Errors can be easily computed. | It follows a complex computation method. |
5. | It can compute less number of errors than CRC. | Due to complex computation, it can detect more errors. |
6. | It is based on addition approach. | It is based on hash approach. |
7. | It is widely used in data validation during implementation of software. | It is widely used in analog transmission for data validation. |