crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下: (1) 设要发送的数据对应的多项式为P(x)。 (2) 发送方和接收方约定一个生成多项式G(x),设该生成多项式 的最高次幂为r。 (3) 在数据块的末尾添加r个0,则其相对应的多项式为M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),获得商Q(x)和余式R(x),则 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2运算,T(x)所对应的数据是在原数 据块的末尾加上余式所对应的数据得到的。 (6) 发送T(x)所对应的数据。 (7) 设接收端接收到的数据对应的多项式为T’(x),将T’(x)除以G(x) ,若余式为0,则认为没有错误,否则认为有错。
上传时间: 2014-11-28
上传用户:宋桃子
本代码为Jennic公司芯片JN5121,基于Zigbee协议栈的无线传感网络,包含有Coordinator和Router的源代码,可以所有设备形成一个Mesh网。最大的路由深度为10级,最大节点数为2万。
上传时间: 2013-12-13
上传用户:xcy122677
本书详细介绍了TINYOS的安装和使用,是无线传感器网络开发者必备工具书
上传时间: 2014-01-18
上传用户:weixiao99
用于OMNeT++的模板,可仿真几种经典的无线传感网络节点定位算法,如dv-hop, robust positioning
上传时间: 2013-11-26
上传用户:zhichenglu
crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下: (1) 设要发送的数据对应的多项式为P(x)。 (2) 发送方和接收方约定一个生成多项式G(x),设该生成多项式 的最高次幂为r。 (3) 在数据块的末尾添加r个0,则其相对应的多项式为M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),获得商Q(x)和余式R(x),则 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2运算,T(x)所对应的数据是在原数 据块的末尾加上余式所对应的数据得到的。 (6) 发送T(x)所对应的数据。 (7) 设接收端接收到的数据对应的多项式为T’(x),将T’(x)除以G(x) ,若余式为0,则认为没有错误,否则认为有错
上传时间: 2014-01-16
上传用户:hphh
关于MPEG2格式传输协议文档,对于哪些要从事DVB、网络视频音频等等的人来说,是一个不可多得的教材。
上传时间: 2014-12-22
上传用户:zhichenglu
采用FLASH MEDIA SERVER 几乎,FLASH网络视频聊天,供初学测试
上传时间: 2014-01-03
上传用户:liuchee
一个很实用的DNS域名解析DNS,用于网络视频服务器中。
标签: DNS
上传时间: 2014-01-13
上传用户:BOBOniu
作为最近几年崛起的新产品,网络视频服务器已经成为第三代全数字化视频监控系统的核心产品并日益被工程商和用户所熟知。但是,在基于宽带ADSL网络的应用中,如何低成本地实现在动态IP地址环境下监控中心对监控前端的实时访问,仍是困扰诸多工程商和系统集成商的难题之一。本文将就此问题提出完整的解决方案
标签:
上传时间: 2013-12-30
上传用户:zsjinju
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery