📜  VRC和LRC之间的区别

📅  最后修改于: 2021-08-29 11:58:27             🧑  作者: Mango

1.垂直冗余检查(VRC):
垂直冗余检查是一种错误检测方法,上层用于检测数据中的错误。 VRC的另一个名称是奇偶校验。冗余位(也称为奇偶校验位)被添加到每个数据单元。此方法包括偶数奇偶校验和奇数奇偶校验。当数据中的1s总数为偶数时,奇偶校验;当数据中的1s总数为奇数时,表明数据中存在奇数奇偶校验。

2.纵向冗余检查(LRC):
纵向冗余校验(LRC)是一种错误检测方法,上层用于检测数据中的错误。 VRC的另一个名称是2-D奇偶校验。在这种方法中,用户要发送的数据被组织成行和列的表。为了检测错误,在将整个块添加到接收器侧之后,将冗余位添加到整个块。接收器使用此冗余位来检测错误。如果没有错误,则接收器接受数据并丢弃冗余的位行。

VRC和LRC之间的区别:

S.No. Vertical Redundancy Check (VRC) Longitudinal Redundancy Check (LRC)
1. It stands for Vertical Redundancy Check. It stands for Longitudinal Redundancy Check.
2. In this redundant bit called parity bit is added to each data unit. In this redundant row of bits is added to the whole block.
3. VRC can detect single bit errors. LRC can detect burst errors.
4. It is also known as parity checker. It is also known as 2-D parity checker.
5. The advantage of using VRC is that it can checks all single bit errors but can check odd parity only in the case of change of odd bits. The advantage of using LRC over VRC is that it can check all the burst errors.
6. It is not capable of checking the burst error in case of change of bits is even. If two bits in data unit is damaged and also in other data unit the same bits are damaged at same position, then it is not capable of detecting such kind of error.