首页 | 本学科首页   官方微博 | 高级检索  
     

一种高精度均匀取样算法及其网络应用
引用本文:武宝刚,白海斌,章伟.一种高精度均匀取样算法及其网络应用[J].无线电通信技术,2019(1):48-51.
作者姓名:武宝刚  白海斌  章伟
作者单位:1.中国电子科技集团公司第五十四研究所
摘    要:为解决按比例均匀取样问题,简要分析了一般取样方法的不足,提出了一种可实现高精度任意比例的均匀取样算法,该算法理论上可实现零误差的任意比例均匀取样。介绍了该算法的原理,并对其实现过程进行了详细阐述。针对该算法在网络中的2种典型应用,详细阐述包括速率限制、流量整形中常用的令牌桶算法的实现以及网络损伤中按比例均匀丢包的实现。最后利用网络测试仪器对该算法在FPGA上的实现进行了测试,测试结果显示,利用该算法实现的限速和均匀丢包误差均小于10-5

关 键 词:高精度  均匀取样  令牌桶  均匀丢包

A High-precision Uniform Sampling Algorithm and Its Network Applications
WU Baogang,BAI Haibin,ZHANG Wei.A High-precision Uniform Sampling Algorithm and Its Network Applications[J].Radio Communications Technology,2019(1):48-51.
Authors:WU Baogang  BAI Haibin  ZHANG Wei
Affiliation:(The 54th Research Institute of CETC,Shijiazhuang 050081,China)
Abstract:To resolve the problem of proportionally uniform sampling,this paper analyzes briefly the shortcomings of the general sampling method,and proposes a high-precision uniform sampling algorithm with arbitrary proportions.The algorithm can theoretically achieve zero error sampling at arbitrary proportions.Firstly,the principle of the algorithm is introduced,and the implementation process is elaborated.Then,the two typical applications of the algorithm in the network are elaborated,including the implementation of the token bucket algorithm commonly used in rate limiting and traffic shaping,and the implementation of proportionally uniform packet loss in network impairment.Finally,the implementation of the algorithm on FPGA is tested by using network testing instrument.The test results show that the error range of speed limit and uniform packet loss rate achieved by this algorithm are less than10^-5.
Keywords:high precision  uniform sampling  token bucket  uniform packet loss
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号