The invention discloses a network bandwidth measurement method, client and network bandwidth test system, including test information sent to the server, the server transfer quantity statistics module feedback feedback information to the within a predetermined time; according to the number of feedback information statistics, to determine the number of test information transmitted at a predetermined time; according to the length of the scheduled time, the number of test information bytes transmitted at a predetermined time and each test message, calculate the network bandwidth. The number of successful information sent by the client within a predetermined time test, to calculate the network bandwidth, to ensure the reliability of the test results; at the same time, to avoid the number of receiving information of each node in the cluster server statistics, only the client feedback information in a predetermined number of statistical time received, so as to ensure the integrity of the test results. A simple test process, improves the test efficiency of network bandwidth.
【技术实现步骤摘要】
一种网络带宽测试方法、客户端及网络带宽测试系统
本专利技术涉及网络通信领域,特别是涉及一种网络带宽测试方法、客户端及网络带宽测试系统。
技术介绍
精确地测量应用程序的带宽是很有意义的,它不仅可以帮助应用程序的使用者了解应用程序的性能,更重要的是可以让应用程序的开发者发现网络带宽的瓶颈所在,从而对应用程序进行优化,避免拥塞的发生,实现更好的拥塞控制策略。现有的带宽测试方法主要有两种,其他的算法都是在它们的基础之上的改进。一种是单数据包技术,另一种是数据包对技术。单数据包技术通常称为可变大小数据包技术,因为它向网络发送大小变化的探测数据包并统计达到目的端的时延来测试网络的带宽,而网络的时延由传播时延、排队时延、发送时延组成。其基本原理是如果一个大小已知的数据包经过一条链路的时间已知,则该链路的带宽就可以计算出来,其测试到的结果是网络的容量。数据包对技术则是利用数据包在传输过程中形成的时间间隔来测试带宽。其基本原理是在前后两个数据包的传播时延与排队时延相同的条件下,接收端接收两个数据包的时间间隔与数据包的大小成正比,和链路的带宽成反比。数据包对技术所测试的是链路的瓶颈带 ...
【技术保护点】
一种网络带宽测试方法,其特征在于,包括:向服务端发送测试信息后,统计所述服务端的反馈模块在预定时间内传递来的反馈信息的数量;根据统计的所述反馈信息的数量,确定在所述预定时间内发送的测试信息的数量;根据所述预定时间、在所述预定时间内发送的测试信息的数量以及每条测试消息的字节长度,计算出网络带宽。
【技术特征摘要】
1.一种网络带宽测试方法,其特征在于,包括:向服务端发送测试信息后,统计所述服务端的反馈模块在预定时间内传递来的反馈信息的数量;根据统计的所述反馈信息的数量,确定在所述预定时间内发送的测试信息的数量;根据所述预定时间、在所述预定时间内发送的测试信息的数量以及每条测试消息的字节长度,计算出网络带宽。2.根据权利要求1所述的网络带宽测试方法,其特征在于,采用下列公式计算网络带宽:BW=N·M/T其中,BW表示所述网络带宽,T表示所述预定时间,N表示在所述预定时间内发送的测试信息的数量,M表示每条测试信息的字节长度。3.根据权利要求2所述的网络带宽测试方法,其特征在于,统计所述服务端的反馈模块在预定时间内传递来的反馈信息的数量,具体包括:多次统计所述服务端的反馈模块在预定时间内传递来的反馈信息的数量;在计算出网络带宽之后,还包括:根据统计的次数、以及计算出的网络带宽,确定平均网络带宽值,所述平均网络带宽值作为最终的网络带宽。4.根据权利要求3所述的网络带宽测试方法,其特征在于,采用下列方式计算...
【专利技术属性】
技术研发人员:马龙,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。