1、异或
1 ⊕ 1 = 0
0 ⊕ 0 = 0
1 ⊕ 0 = 1
0 ⊕ 1 = 1
2、Hamming Code
参考博客1:https://www.cnblogs.com/godoforange/p/12003676.html
参考博客2:https://blog.csdn.net/Yonggie/article/details/83186280
“两位检错、一位纠错”
(1)检错原理:
汉明码默认一串数据只错一位
1、异或
1 ⊕ 1 = 0
0 ⊕ 0 = 0
1 ⊕ 0 = 1
0 ⊕ 1 = 1
2、Hamming Code
参考博客1:https://www.cnblogs.com/godoforange/p/12003676.html
参考博客2:https://blog.csdn.net/Yonggie/article/details/83186280
“两位检错、一位纠错”
(1)检错原理:
汉明码默认一串数据只错一位