- 1、本文档共22页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
ErrorCoding
Error Coding Transmission process may introduce errors into a message. Single bit errors versus burst errors Detection: Requires a convention that some messages are invalid Hence requires extra bits An (n,k) code has codewords of n bits with k data bits and r = (n-k) redundant check bits Correction Forward error correction: many related code words map to the same data word Detect errors and retry transmission Parity 1-bit error detection with parity Add an extra bit to a code to ensure an even (odd) number of 1s Every code word has an even (odd) number of 1s Voting 1-bit error correction with voting Every codeword is transmitted n times Basic Concept:Hamming Distance Hamming distance of two bit strings = number of bit positions in which they differ. If the valid words of a code have minimum Hamming distance D, then D-1 bit errors can be detected. If the valid words of a code have minimum Hamming distance D, then [(D-1)/2] bit errors can be corrected. Examples Parity Digital Error Detection Techniques Two-dimensional parity Detects up to 3-bit errors Good for burst errors IP checksum Simple addition Simple in software Used as backup to CRC Cyclic Redundancy Check (CRC) Powerful mathematics Tricky in software, simple in hardware Used in network adapter Two-Dimensional Parity Use 1-dimensional parity Add one bit to a 7-bit code to ensure an even/odd number of 1s Add 2nd dimension Add an extra byte to frame Bits are set to ensure even/odd number of 1s in that position across all bytes in frame Comments Catches all 1-, 2- and 3-bit and most 4-bit errors Internet Checksum Idea Add up all the words Transmit the sum Internet Checksum Use 1’s complement addition on 16bit codewords Example Codewords: -5 -3 1’s complement binary: 1010 1100 1’s complement sum 1000 Comments Small number of redundant bits Easy to implement Not very robust IP Checksum u_short cksum(u_short *buf, int count) { register u_long sum = 0; while (count--) { sum += *buf++; if (sum 0xFFFF00
您可能关注的文档
- China'sMasterofLawProgrammes.ppt
- ChinaAutomobileDealersAssociation.ppt
- ChineseEuropeanWorkshopBeijingJuly.ppt
- ChineseInternetMarketingOpportunity.ppt
- ChineseLanguagesWhatwearefacinginspeechsynthesi.ppt
- ChineseEnglishTranslation.ppt
- ChLecc.ppt
- Chinesepeopleinventedpaper.ppt
- Chlsdyna应用.ppt
- ChLSDYNA单元介绍.ppt
- 2024高考物理一轮复习规范演练7共点力的平衡含解析新人教版.doc
- 高中语文第5课苏轼词两首学案3新人教版必修4.doc
- 2024_2025学年高中英语课时分层作业9Unit3LifeinthefutureSectionⅢⅣ含解析新人教版必修5.doc
- 2024_2025学年新教材高中英语模块素养检测含解析译林版必修第一册.doc
- 2024_2025学年新教材高中英语单元综合检测5含解析外研版选择性必修第一册.doc
- 2024高考政治一轮复习第1单元生活与消费第三课多彩的消费练习含解析新人教版必修1.doc
- 2024_2025学年新教材高中英语WELCOMEUNITSectionⅡReadingandThi.doc
- 2024_2025学年高中历史专题九当今世界政治格局的多极化趋势测评含解析人民版必修1.docx
- 2024高考生物一轮复习第9单元生物与环境第29讲生态系统的结构和功能教案.docx
- 2024_2025学年新教材高中英语UNIT5LANGUAGESAROUNDTHEWORLDSect.doc
文档评论(0)