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.一種鏈路質量評估方法,其特征在于,包括:獲取鏈路上預設采樣窗口內所有數據包的鏈路質量標識;根據所述預設采樣窗口內所有數據包的鏈路質量標識,獲取所述預設采樣窗口內的鏈路質量偏移率,所述鏈路質量偏移率為數據包的鏈路質量標識變化率;根據所述鏈路質量偏移率與預設閾值,對所述鏈路質量進行評估。
【技術特征摘要】
還沒有人留言評論。發表了對其他瀏覽者有用的留言會獲得科技券。