The invention discloses a method and a device for evaluating link quality, belonging to the field of network testing. The method includes: obtaining the link within the preset sampling window all packet link quality identification; according to the preset sampling window all packet link quality identification, obtain the preset sampling rate within the link quality offset window, the link quality migration rate link quality identifies changes of data packets according to the rate; the link quality deviation rate with the threshold, to evaluate the quality of the link. The device comprises a link quality identification acquisition module, link quality deviation rate acquisition module and evaluation module, the invention by acquiring the preset sampling link quality offset within the window, and according to the quality of migration rate of wireless sensor network link quality assessment method, compared to the existing technology, has a better correlation with PRR. Can be more stable and accurate characterization of the link quality, and regardless of the window size, the correlation of link quality migration rate and PRR were greater than the mean value of LQI and PRR, the link quality is judged to be more accurate, to the quality status of link estimation for wireless sensor networks quickly and accurately, and has good timeliness and effectiveness.
【技术实现步骤摘要】
【技术保护点】
1.一种链路质量评估方法,其特征在于,包括:获取链路上预设采样窗口内所有数据包的链路质量标识;根据所述预设采样窗口内所有数据包的链路质量标识,获取所述预设采样窗口内的链路质量偏移率,所述链路质量偏移率为数据包的链路质量标识变化率;根据所述链路质量偏移率与预设阈值,对所述链路质量进行评估。
【技术特征摘要】
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。