Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如何检测和纠正 1 个错误,但是当我阅读时,要检测双重错误,我需要在消息末尾再添加一位用于奇偶校验。
那么添加该位之后的下一步是什么,我怎样才能发现有双重错误?
只需从数据中计算汉明码和奇偶校验位,并与传输的汉明码和奇偶校验位进行比较。如果有任何不匹配,则您检测到错误。