arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.13496cs.DScs.NI
收藏

一种改进的模加法校验和算法

An Improved Modular Addition Checksum Algorithm

Philip Koopman

AI总结:

本文提出一种改进的模加法校验和算法,通过在模约简前引入按模数位数的左移,以单一运行和实现优于Fletcher等双和方法的故障检测能力,并在加入奇偶校验位后接近良好CRC的性能。

摘要:

本文介绍了一种校验和算法,该算法在性能/复杂度/有效性的校验和权衡空间中提供了一个新的点位。与单和及双和模加法校验和相比,它具有更好的故障检测特性。由于利用了常见的硬件和编程语言对无符号整数除法的支持,它的高效计算也比循环冗余校验(CRC)更简单。其关键思想是计算一个单一的运行和,但在每个加法步骤之后进行模约简之前,引入一个按模数大小(以位为单位)的左移。这种方法为比 Fletcher 校验和等双和方法更长的数据字长度提供了汉明距离 3。此外,它使用一个仅为最终计算校验值两倍大小的单一运行和来提供这种能力,同时提供甚至优于需要更大除法运算的大块双和变体的故障检测能力。一个包含奇偶校验位的变体在相同大小的校验值下实现了汉明距离 4,其故障检测能力接近一个良好的 CRC,而可达到的数据字长度约为该 CRC 的一半。

英文摘要:

This paper introduces a checksum algorithm that provides a new point in the performance/complexity/effectiveness checksum tradeoff space. It has better fault detection properties than single-sum and dual-sum modular addition checksums. It is also simpler to compute efficiently than a cyclic redundancy check (CRC) due to exploiting commonly available hardware and programming language support for unsigned integer division. The key idea is to compute a single running sum, but introduce a left shift by the size (in bits) of the modulus before performing the modular reduction after each addition step. This approach provides a Hamming Distance of 3 for longer data word lengths than dual-sum approaches such as the Fletcher checksum. Moreover, it provides this capability using a single running sum that is only twice the size of the final computed check value, while providing fault detection capabilities even better than large-block variants of dual-sum approaches that require larger division operations. A variant that includes a parity bit achieves Hamming Distance 4 for the same size check value, approximating the fault detection capabilities of a good CRC for about half the data word length attainable by such a CRC.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑