CN103825775B - The multi-hop wireless network available bandwidth real-time detection method of self-adaptive detection bag length - Google Patents
The multi-hop wireless network available bandwidth real-time detection method of self-adaptive detection bag length Download PDFInfo
- Publication number
- CN103825775B CN103825775B CN201310752608.5A CN201310752608A CN103825775B CN 103825775 B CN103825775 B CN 103825775B CN 201310752608 A CN201310752608 A CN 201310752608A CN 103825775 B CN103825775 B CN 103825775B
- Authority
- CN
- China
- Prior art keywords
- available bandwidth
- bag
- time
- measurement
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000001514 detection method Methods 0.000 title claims abstract description 11
- 238000011897 real-time detection Methods 0.000 title claims abstract description 11
- 238000005259 measurement Methods 0.000 claims abstract description 66
- 230000005540 biological transmission Effects 0.000 claims description 4
- 241000208340 Araliaceae Species 0.000 claims 1
- 238000012935 Averaging Methods 0.000 claims 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 1
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 1
- 235000008434 ginseng Nutrition 0.000 claims 1
- 238000012544 monitoring process Methods 0.000 abstract description 3
- 238000013461 design Methods 0.000 description 3
- 238000000691 measurement method Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 238000013439 planning Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了自适应探测包长的多跳无线网络可用带宽实时检测方法,该方法由源主机向目的主机发送一数据包串,根据被测节点返回的时延信号确定瓶颈链路的位置和一个预估的可用带宽值B,然后重新设定包串的生存时间值,同时调整包串长度,每次测量后被测量的节点将收到的时延信息反馈给源主机。源主机根据反馈信息调整包串中数据包的长度并且观察各包串返回的时延信息判断得到实际可用带宽。本发明实现了对无线网络带宽的实时监测,不仅提高了无线网络可用带宽的测量值的精度,还能提高多跳无线网络可靠性,减少网络的负载,改善网络的性能。
The invention discloses a real-time detection method for the available bandwidth of a multi-hop wireless network with self-adaptive detection packet length. In the method, a source host sends a data packet string to a destination host, and the position and location of the bottleneck link are determined according to the delay signal returned by the measured node. An estimated available bandwidth value B, then reset the lifetime value of the packet string, and adjust the packet string length at the same time, after each measurement, the measured node will feed back the received delay information to the source host. The source host adjusts the length of the data packets in the packet string according to the feedback information and observes the delay information returned by each packet string to determine the actual available bandwidth. The invention realizes the real-time monitoring of the bandwidth of the wireless network, not only improves the accuracy of the measurement value of the available bandwidth of the wireless network, but also improves the reliability of the multi-hop wireless network, reduces the load of the network, and improves the performance of the network.
Description
技术领域technical field
本发明涉及一种可用带宽实时检测机制,具体涉及自适应探测包长的跳无线网络可用带宽实时检测方法。The invention relates to a real-time detection mechanism of available bandwidth, in particular to a method for real-time detection of available bandwidth of wireless networks with self-adaptive detection packet length.
背景技术Background technique
随着无线网络的广泛应用和人类对信息服务需求的快速增长,如何在无线网络中保证业务的服务质量(QoS)成为日前研究的一个热点问题,而可用带宽的获取是无线网络中保证QoS(quality of service)的一个重要前提。网络测量是高性能协议设计、网络设备开发、网络规划与建设、网络管理与操作的基础,同时也是开发高效能网络应用的基础。随着实时业务和多媒体应用等新业务的不断增加,人们对网络的服务质量(QoS)提出了更高的要求。尽管网络主干带宽和接入带宽成倍增加,但是网络性能并没有得到成倍的提升,其主要原因是网络容量设计、网络资源分配和应用设计的问题。网络带宽测量的目的是精确的找到网络的中的瓶颈链路(tight link,可用带宽最小的链路)所在,从而为全网范围的网络容量规划提供依据,由此可见带宽测量在网络测量中占有重要地位。With the wide application of wireless networks and the rapid growth of human demand for information services, how to ensure the quality of service (QoS) in wireless networks has become a hot research issue recently, and the acquisition of available bandwidth is the key to ensuring QoS in wireless networks ( An important prerequisite for quality of service). Network measurement is the basis for high-performance protocol design, network equipment development, network planning and construction, network management and operation, as well as the basis for developing high-performance network applications. With the continuous increase of new services such as real-time services and multimedia applications, people have put forward higher requirements for the quality of service (QoS) of the network. Although the network backbone bandwidth and access bandwidth have doubled, the network performance has not been doubled, mainly due to problems in network capacity design, network resource allocation and application design. The purpose of network bandwidth measurement is to accurately find the bottleneck link (tight link, the link with the smallest available bandwidth) in the network, so as to provide a basis for network capacity planning in the whole network. It can be seen that bandwidth measurement is important in network measurement. occupied an important position.
网络带宽的测量方法主要有主动测量和被动测量,主动测量方法通过主动发送测试包来获得网络带宽测量值,被动测量方法通过分析网络中存在的数据流得到网络带宽测量数据。The network bandwidth measurement methods mainly include active measurement and passive measurement. The active measurement method obtains the network bandwidth measurement value by actively sending test packets, and the passive measurement method obtains the network bandwidth measurement data by analyzing the data flow existing in the network.
发明内容Contents of the invention
本发明针对现有技术的不足,提供一种自适应探测包长的多跳无线网络可用带宽实时检测方法。本发明不仅能够实现对无线网络带宽的实时监测,还能提高无线网络可用带宽的测量值的精度,提高多跳无线网络可靠性,改善网络的性能。Aiming at the deficiencies of the prior art, the invention provides a method for real-time detection of the available bandwidth of a multi-hop wireless network with self-adaptive detection packet length. The invention can not only realize the real-time monitoring of the wireless network bandwidth, but also improve the accuracy of the measurement value of the available bandwidth of the wireless network, improve the reliability of the multi-hop wireless network, and improve the performance of the network.
本发明的技术方案为:自适应探测包长的多跳无线网络可用带宽实时检测方法,其特征在于包括如下步骤:The technical scheme of the present invention is: the multi-hop wireless network available bandwidth real-time detection method of self-adaptive detection packet length, it is characterized in that comprising the following steps:
(1) 由源主机S向目的主机D发送一串数据包串,根据被测节点返回的时延信号确定瓶颈链路的位置和一个预估的可用带宽值B。(1) The source host S sends a series of data packets to the destination host D, and the position of the bottleneck link and an estimated available bandwidth value B are determined according to the delay signal returned by the node under test.
(2) 通过步骤(1)得到的瓶颈链路位置的数据,重新设定数据包串的生命周期值以便将包串定位到瓶颈链路上,同时调整包串中包的长度,由步骤(1)测得的可用带宽值B,预测实际可用带宽的精确值在[B-m,B+m]之间,m取可用带宽B的10%~20%,包长的第一次调整参考实际可用带宽值B±m的两个上下限,利用实际可用带宽的上下限,确定包长的调整范围,第一次以B+m为可用带宽的上限值发包或以B-m为可用带宽的下限值发包,两种发包的原理相同,包长调整的方法需要做改变,只需改变包长,发送调整后的包串,并在每相隔t1时间重复发送一次,发送k次,k取3-5,以求平均;(2) Through the data of the bottleneck link position obtained in step (1), reset the life cycle value of the data packet string so that the packet string is located on the bottleneck link, and adjust the length of the packet in the packet string at the same time, by the step ( 1) The measured available bandwidth value B, the accurate value of the predicted actual available bandwidth is between [Bm, B+m], m takes 10%~20% of the available bandwidth B, and the first adjustment of the packet length refers to the actual available bandwidth The two upper and lower limits of the bandwidth value B±m, use the upper and lower limits of the actual available bandwidth to determine the adjustment range of the packet length, the first time the package is sent with B+m as the upper limit of the available bandwidth or Bm as the lower limit of the available bandwidth Value sending, the principle of the two kinds of sending packets is the same, the method of packet length adjustment needs to be changed, just change the packet length, send the adjusted packet string, and repeat the sending once every time t 1 , send k times, k is 3 -5 for average;
(3) 每次测量后被测量的节点将收到的时延信息反馈给源主机,源主机根据反馈信息调整包串中数据包的长度并且观察各包串返回的时延信息判断本次测量是否成功,当得到上次测量的实际可用带宽的范围是[B-m,B+m],则由步骤(2)可知调整包长L使(yj×Bi top)=B+m,式中yj表示包长L调整第j次时对应的调节系数,Bi top表示第i个节点路由最大的发送速率,发送调整后的包串并测量,当观察到包串返回的时延单调增加,则判断为成功,否则,判断为不成功;(3) After each measurement, the measured node feeds back the received delay information to the source host, and the source host adjusts the length of the data packet in the packet string according to the feedback information and observes the delay information returned by each packet string to judge this measurement Whether it is successful or not, when the range of the actual available bandwidth measured last time is [Bm, B+m], it can be known from step (2) to adjust the packet length L so that (y j ×B i top )=B+m, where y j represents the corresponding adjustment coefficient when the packet length L is adjusted for the jth time, B i top represents the maximum transmission rate of the i-th node route, and the adjusted packet string is sent and measured, when the delay of returning the packet string is observed to increase monotonically , it is judged as successful, otherwise, it is judged as unsuccessful;
当判断为成功,则重新调整包串的包长并重复步骤(2)、(3),统计k次包串的时延dk,D(d1,d2,...,dk)为同一个L值的k次包串时延的方差,当D(d1,d2,...,dk)≤Δd时,得到实际可用带宽B*=(Bi top)2/(n×L/t1 +B1 top);When it is judged to be successful, readjust the packet length of the packet string and repeat steps (2) and (3), and count the delay d k of the packet string for k times, D(d 1 ,d 2 ,...,d k ) is the variance of the delay of k packets of the same L value, when D(d 1 ,d 2 ,...,d k )≤Δd, the actual available bandwidth B * =(B i top ) 2 /( n×L/t 1 +B 1 top );
当判断是不成功,则将m的值在其原来的基础上增加Δm,Δm=(5%~10%)×m,具体的取值由网络情况决定,网络情况良好时,Δm取10%,网络情况较差时,Δm取5%,重复步骤(2)、(3),当判断仍为不成功,则返回步骤(1)重新测量。When the judgment is unsuccessful, the value of m will be increased by Δm on the original basis, Δm=(5%~10%)×m, the specific value is determined by the network situation, when the network condition is good, Δm is taken as 10% , when the network condition is poor, Δm is taken as 5%, and steps (2) and (3) are repeated, and when the judgment is still unsuccessful, return to step (1) for re-measurement.
进一步地,所述的包串中的包都是用户数据报协议数据包,该包由两个部分组成,一部分是测量数据包,用于定位瓶颈链路;另一部分是负荷数据包,用于可用带宽的测量,测量数据包对称地分布在负荷数据包两侧,头部的测量数据包的生命周期值从1依次增加,增加到多少根据路径节点决定,尾部的测量数据包的生命周期值依次递减到1。Further, the packets in the packet string are user datagram protocol packets, which are composed of two parts, one part is a measurement packet for locating the bottleneck link; the other part is a load packet for For the measurement of available bandwidth, the measurement data packets are symmetrically distributed on both sides of the load data packet. The life cycle value of the measurement data packet at the head increases sequentially from 1, and the increase is determined by the path node. The life cycle value of the measurement data packet at the tail Decremented to 1 in turn.
进一步地,步骤(2)中重新设定测量数据包各包的生命周期值依据是使生命周期值从1逐渐增加到i,用t1表示包串之间的时间间隔,t2表示一束包串通过第一个节点路由器所花时间,Bi top表示第i个节点路由器最大发送速率(i=1、2、3......),它是已知的,yj表示包长L调整第j次时对应的调节系数,其中0<yj<1, n和L分别表示一束包串中负荷数据包个数和每个包的长度,根据t1 / (t1+t2) × B1 top = (yj×Bi top)(公式1.1), t2 = n×L/B1 top(公式1.2),由公式1.1和1.2可得yj=t1×(B1 top)2/(t1×B1 top×Bi top+n×Bi top×L) (公式1.3),设定n后,根据公式1.3调整L可使(yj×Bi top)=B±m,当等式成立时所得到的L值就是要调整的数值。Further, in step (2), the basis for resetting the life cycle value of each packet of the measurement data packet is to gradually increase the life cycle value from 1 to i, use t1 to represent the time interval between packet strings, and t2 to represent a bundle The time it takes for the packet string to pass through the first node router, B i top represents the maximum sending rate of the i-th node router (i=1, 2, 3...), it is known, and y j represents the packet The length L adjusts the adjustment coefficient corresponding to the jth time, where 0<y j <1, n and L respectively represent the number of load data packets in a bundle of packets and the length of each packet, according to t 1 / (t 1 + t 2 ) × B 1 top = (y j ×B i top )(Formula 1.1), t 2 = n×L/B 1 top (Formula 1.2), from formulas 1.1 and 1.2, y j =t 1 ×( B 1 top ) 2 /(t 1 ×B 1 top ×B i top +n×B i top ×L) (formula 1.3), after setting n, adjust L according to formula 1.3 so that (y j ×B i top )=B±m, the L value obtained when the equation is established is the value to be adjusted.
进一步地,根据步骤(3)中反馈回来的时延信息及是否成功,判断可用带宽的范围的具体方法为:Further, according to the delay information fed back in step (3) and whether it is successful, the specific method for judging the range of available bandwidth is:
当调整L使(yj×Bi top)=B+m,且得到的时延信号是单调增加,即测量成功,则判断可用带宽小于(yj×Bi top),在下次测量时就增大L值使(yj+1×Bi top)减小,从而缩小实际可用带宽的范围,具体方法是利用公式1.3来增大L值,使(yj+1×Bi top)减小到上次测量得到的可用带宽范围的中间值;When L is adjusted so that (y j ×B i top )=B+m, and the obtained delay signal increases monotonously, that is, the measurement is successful, then it is judged that the available bandwidth is less than (y j ×B i top ), and the next measurement will be Increase the value of L to reduce (y j+1 ×B i top ), thereby reducing the range of the actual available bandwidth. The specific method is to use formula 1.3 to increase the value of L, so that (y j+1 ×B i top ) decreases as small as the middle value of the available bandwidth range obtained from the last measurement;
当在下次测量中时延单调增加说明可用带宽小于(yj+1×Bi top),则可用带宽范围在[B-m, (yj+1×Bi top)];When the monotonous increase of the delay in the next measurement indicates that the available bandwidth is less than (y j+1 ×B i top ), the available bandwidth range is [Bm, (y j+1 ×B i top )];
当在下次测量中时延没有变化说明此时可用带宽大于(yi+1×Bi top),则此时可用带宽范围在[(yj+1×Bi top),B+m]。If there is no change in the delay in the next measurement, it means that the available bandwidth is greater than (y i+1 ×B i top ), then the available bandwidth range is [(y j+1 ×B i top ), B+m].
当第一次调整包长时选择调整L使(yj×Bi top)=B-m,当得到的时延信号是没有变化,即测量成功,则判断可用带宽大于(yj×Bi top),下次测量减小L值,使(yj+1×Bi top)增大,从而缩小实际可用带宽的范围,具体方法是利用公式1.3来减小L值,使(yj+1×Bi top)增大到上次测量得到的可用带宽范围的中间值;When adjusting the packet length for the first time, choose to adjust L so that (y j ×B i top )=Bm, when the obtained delay signal does not change, that is, the measurement is successful, then it is judged that the available bandwidth is greater than (y j ×B i top ) , reduce the value of L in the next measurement, so that (y j+1 ×B i top ) increases, thereby reducing the range of the actual available bandwidth. The specific method is to use formula 1.3 to reduce the value of L, so that (y j +1 ×B i top B i top ) increased to the middle value of the available bandwidth range measured last time;
当下次测量中时延单调增加,则可用带宽范围在[B-m, (yj+1×Bi top)];When the delay increases monotonically in the next measurement, the available bandwidth range is [Bm, (y j+1 ×B i top )];
当下次测量中时延没有变化,则可用带宽范围在[ (yj+1×Bi top),B+m];When the delay does not change in the next measurement, the available bandwidth range is [ (y j+1 ×B i top ), B+m];
每次测量都根据前一次测量得到的可用带宽范围调整包长,逐步利用二分法缩小可用带宽的范围。Each measurement adjusts the packet length according to the available bandwidth range obtained from the previous measurement, and gradually uses the dichotomy method to narrow the range of available bandwidth.
本发明的有益效果在于:本发明不仅实现了对无线网络带宽的实时监测,还提高了无线网络可用带宽的测量值的精度,提高了多跳无线网络可靠性,改善了网络的性能。The beneficial effect of the present invention is that: the present invention not only realizes the real-time monitoring of the wireless network bandwidth, but also improves the accuracy of the measurement value of the available bandwidth of the wireless network, improves the reliability of the multi-hop wireless network, and improves the performance of the network.
附图说明Description of drawings
图1为本发明的多跳无线网络可用带宽测量的具体实现流程图。FIG. 1 is a flow chart of the specific realization of available bandwidth measurement of a multi-hop wireless network in the present invention.
图2为本发明具体实施时每间隔t1时间发送探测包串的示意图。FIG. 2 is a schematic diagram of sending detection packet strings at intervals of t1 during the specific implementation of the present invention.
具体实施方式detailed description
下面结合附图对本发明做进一步的描述,但本发明的实施方式并不限于此。The present invention will be further described below in conjunction with the accompanying drawings, but the embodiments of the present invention are not limited thereto.
如图1所示,自适应探测包长的多跳无线网络可用带宽实时检测方法的步骤为:As shown in Figure 1, the steps of the real-time detection method for the available bandwidth of the multi-hop wireless network with adaptive detection packet length are:
(1) 由源主机S向目的主机D发送一串UDP包,根据被测节点返回的时延信号确定瓶颈链路的位置和一个预估的可用带宽值B。如图2所示,UDP包由两个部分组成,一部分是测量数据包,用于定位瓶颈链路;另一部分是负荷数据包,用于可用带宽的测量。测量数据包完全对称地分布在负荷数据包两侧,头部的测量数据包的TTL值从1依次增加,具体增加到多少由路径节点决定,这里路径是已知的。尾部的测量数据包的TTL值依次递减到1。当包到达一个节点,准备转发到下一个节点时包的IP首部的TTL值会先减少1。如果检测到TTL=0,则该包被丢弃,同时节点发送一个ICMP (Internet Control Message Protocol ,Internet控制报文协议) 包给源主机;如果检测到TTL≠0,则该包可以继续发送。为了减少丢包率,实验中设置测量数据包个数Pt_num=40即分布在负荷数据包头尾两侧的测量数据包个数各为20,每个包的大小是Pt_len(其典型值为60B),负荷数据包个数Pl_num=40,每个包的大小是Pl_len(其典型值为500B),负荷数据包的TTL值都设置为最大值255。这次测量可以定位瓶颈链路在节点Ri和Ri+1之间及瓶颈节点Ri和一个预估的可用带宽值B。(1) The source host S sends a series of UDP packets to the destination host D, and the position of the bottleneck link and an estimated available bandwidth value B are determined according to the delay signal returned by the tested node. As shown in Figure 2, the UDP packet consists of two parts, one part is the measurement data packet, which is used to locate the bottleneck link; the other part is the load data packet, which is used to measure the available bandwidth. The measurement data packets are distributed symmetrically on both sides of the payload data packets. The TTL value of the measurement data packets at the head increases sequentially from 1, and the specific increase is determined by the path node, where the path is known. The TTL values of the measurement data packets at the tail are decremented to 1 in turn. When a packet arrives at a node and is ready to be forwarded to the next node, the TTL value of the IP header of the packet will be reduced by 1 first. If TTL=0 is detected, the packet is discarded, and the node sends an ICMP (Internet Control Message Protocol, Internet Control Message Protocol) packet to the source host at the same time; if TTL≠0 is detected, the packet can continue to be sent. In order to reduce the packet loss rate, the number of measurement data packets P t_num =40 is set in the experiment, that is, the number of measurement data packets distributed on both sides of the head and tail of the load data packet is 20 respectively, and the size of each packet is P t_len (its typical value is 60B), the number of load data packets P l_num =40, the size of each packet is P l_len (the typical value is 500B), and the TTL value of the load data packets is set to a maximum value of 255. This measurement can locate the bottleneck link between nodes R i and R i+1 and the bottleneck node R i and an estimated available bandwidth value B.
(2) 通过步骤(1)得到的瓶颈链路位置的数据,重新设定UDP包串的生命周期(简称TTL)值以便将包串定位到瓶颈链路上,使之从1逐渐增加到i,用t1表示包串之间的时间间隔,t2表示一束包串通过第一个节点路由器所花时间,Bi top表示第i个节点路由器最大发送速率(i=1、2、3......),它是已知的,yj表示包长L调整第j次时对应的调节系数,其中0<yj<1, n和L分别表示一束包串中负荷数据包个数和每个包的长度。根据 t1 / (t1 + t2) ×B1 top = (yj×Bi top)(公式1.1), t2 = n × L/B1 top (公式1.2)。由公式1.1和1.2可得yj=t1×(B1 top)2/(t1×B1 top×Bi top+n×Bi top×L) (公式1.3),设定n后,根据公式1.3调整L可使(yj×Bi top)=B±m,当等式成立时所得到的L值就是要调整的数值。同时调整包串中包的长度。由步骤(1)测得的可用带宽值B,预测实际可用带宽的精确值在[B-m,B+m]之间,m取可用带宽B的10%~20%,那么包长的第一次调整需要参考实际可用带宽值B±m的两个上下限。利用实际可用带宽的上下限,可以确定包长的调整范围。第一次要以B+m为可用带宽的上限值发包(也可以以B-m为可用带宽的下限值发包),只需改变包长即可实现。发送调整后的包串,并在每相隔t1时间重复发送一次,发送k次(k取3-5)以求平均。(2) Through the data of the bottleneck link position obtained in step (1), reset the life cycle (TTL for short) value of the UDP packet string so as to locate the packet string on the bottleneck link, so that it gradually increases from 1 to i , use t 1 to represent the time interval between packets, t 2 represents the time it takes for a bundle of packets to pass through the first node router, B i top represents the maximum sending rate of the ith node router (i=1, 2, 3 ......), it is known, y j represents the corresponding adjustment coefficient when the packet length L is adjusted for the jth time, where 0<y j <1, n and L respectively represent the load data in a bundle of packets The number of packets and the length of each packet. According to t 1 / (t 1 + t 2 ) × B 1 top = (y j × B i top ) (Formula 1.1), t 2 = n × L/B 1 top (Formula 1.2). From formulas 1.1 and 1.2, y j =t 1 ×(B 1 top ) 2 /(t 1 ×B 1 top ×B i top +n×B i top ×L) (formula 1.3), after setting n, Adjusting L according to formula 1.3 can make (y j ×B i top )=B±m, and the L value obtained when the equation is established is the value to be adjusted. Also adjust the length of the packets in the packet string. From the available bandwidth value B measured in step (1), it is predicted that the accurate value of the actual available bandwidth is between [Bm, B+m], and m takes 10%~20% of the available bandwidth B, then the first packet length The adjustment needs to refer to the two upper and lower limits of the actual available bandwidth value B±m. The adjustment range of the packet length can be determined by using the upper and lower limits of the actual available bandwidth. The first time you need to send a packet with B+m as the upper limit of the available bandwidth (you can also send a packet with Bm as the lower limit of the available bandwidth), you only need to change the packet length. Send the adjusted packet string, and send it repeatedly at intervals of t 1 , and send k times (k takes 3-5) for average.
(3) 每次测量后被测量的节点将收到的时延信息反馈给源主机,然后源主机根据反馈信息调整包串中数据包的长度并且观察各包串返回的时延信息判断本次测量是否成功。比如得到上次测量的实际可用带宽的范围是[B-m,B+m],则由步骤(2)可知调整包长L使(yj×Bi top)=B+m,式中yj表示包长L调整第j次时对应的调节系数,Bi top表示第i个节点路由最大的发送速率,发送调整后的包串并测量,若观察到包串返回的时延单调增加,则判断为成功。否则,判断为不成功;(3) After each measurement, the measured node feeds back the received delay information to the source host, and then the source host adjusts the length of the data packet in the packet string according to the feedback information and observes the delay information returned by each packet string to judge the time delay. Whether the measurement was successful. For example, the range of the actual available bandwidth measured last time is [Bm, B+m], then it can be known from step (2) to adjust the packet length L so that (y j ×B i top )=B+m, where y j represents Packet length L adjusts the adjustment coefficient corresponding to the jth time, B i top represents the maximum transmission rate of the i-th node route, sends the adjusted packet string and measures it, and if it is observed that the delay of returning the packet string increases monotonously, then judge for success. Otherwise, it is judged as unsuccessful;
根据反馈回来的时延及是否成功的信息,判断可用带宽的范围。调整L使(yj×Bi top)=B+m,且得到的时延信号是单调增加,即测量成功,则判断可用带宽小于(yj×Bi top),那么在下次测量时就增大L值使(yj+1×Bi top)减小,从而缩小实际可用带宽的范围。具体方法是利用公式1.3来增大L值,使(yj+1×Bi top)减小到上次测量得到的可用带宽范围的中间值。Judge the range of available bandwidth according to the feedback delay and success information. Adjust L so that (y j ×B i top )=B+m, and the obtained delay signal increases monotonously, that is, the measurement is successful, then it is judged that the available bandwidth is less than (y j ×B i top ), then the next measurement will be Increasing the value of L makes (y j+1 ×B i top ) decrease, thereby narrowing the range of the actual available bandwidth. The specific method is to use formula 1.3 to increase the value of L, so that (y j+1 ×B i top ) is reduced to the middle value of the available bandwidth range obtained from the last measurement.
当在下次测量中时延单调增加说明可用带宽小于(yj+1×Bi top),则可用带宽范围在[B-m, (yj+1×Bi top)];When the monotonous increase of the delay in the next measurement indicates that the available bandwidth is less than (y j+1 ×B i top ), the available bandwidth range is [Bm, (y j+1 ×B i top )];
当在下次测量中时延没有变化说明此时可用带宽大于(yi+1×Bi top),则此时可用带宽范围在[(yj+1×Bi top),B+m]。If there is no change in the delay in the next measurement, it means that the available bandwidth is greater than (y i+1 ×B i top ), then the available bandwidth range is [(y j+1 ×B i top ), B+m].
每次测量都根据前一次测量得到的可用带宽范围调整包长,逐步利用二分法缩小可用带宽的范围。同理,若是在第一次调整包长时选择的是调整L使(yj×Bi top)=B-m,则调整包长的原理相同,方法作相应改变。Each measurement adjusts the packet length according to the available bandwidth range obtained from the previous measurement, and gradually uses the dichotomy method to narrow the range of available bandwidth. Similarly, if you choose to adjust L so that (y j ×B i top )=Bm when adjusting the packet length for the first time, then the principle of adjusting the packet length is the same, and the method is changed accordingly.
(4) 若判断为成功,则重新调整包串的包长并重复步骤(2)、(3)。统计k次包串的时延dk,D(d1,d2,...,dk)为同一个L值的k次包串时延的方差。当D(d1,d2,...,dk)≤Δd时,可得到实际可用带宽B*=(Bi top)2/(n×L/t1 +B1 top)。(4) If it is judged to be successful, readjust the packet length of the packet string and repeat steps (2) and (3). The time delay d k of k times of packet strings is counted, and D(d 1 , d 2 ,...,d k ) is the variance of the time delay of k times of packet strings with the same L value. When D(d 1 ,d 2 ,...,d k )≤Δd, the actual available bandwidth B * =(B i top ) 2 /(n×L/t 1 +B 1 top ) can be obtained.
(5) 若判断是不成功,则将m的值在其原来的基础上增加Δm,Δm=(5%~10%)×m,具体的取值由网络情况决定。网络情况良好时,Δm取10%;网络情况较差时,Δm取5%。重复步骤(2)、(3)。如果判断仍为不成功,则返回步骤(1)重新测量。(5) If the judgment is unsuccessful, increase the value of m by Δm on the original basis, Δm=(5%~10%)×m, the specific value is determined by the network situation. When the network condition is good, Δm takes 10%; when the network condition is poor, Δm takes 5%. Repeat steps (2) and (3). If the judgment is still unsuccessful, return to step (1) and measure again.
以上所述的本发明的实施方式,并不构成对本发明保护范围的限定。任何在本发明的精神原则之内所作出的修改、等同替换和改进等,均应包含在本发明的权利要求保护范围之内。The embodiments of the present invention described above are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310752608.5A CN103825775B (en) | 2013-12-31 | 2013-12-31 | The multi-hop wireless network available bandwidth real-time detection method of self-adaptive detection bag length |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310752608.5A CN103825775B (en) | 2013-12-31 | 2013-12-31 | The multi-hop wireless network available bandwidth real-time detection method of self-adaptive detection bag length |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103825775A CN103825775A (en) | 2014-05-28 |
CN103825775B true CN103825775B (en) | 2017-04-05 |
Family
ID=50760620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310752608.5A Active CN103825775B (en) | 2013-12-31 | 2013-12-31 | The multi-hop wireless network available bandwidth real-time detection method of self-adaptive detection bag length |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103825775B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634842B (en) * | 2014-10-29 | 2019-01-11 | 华为技术有限公司 | A kind of method, apparatus and system of detection bandwidth |
CN104539486A (en) * | 2015-01-15 | 2015-04-22 | 厦门大学 | End-to-end available bandwidth estimating method based on TCP acknowledgement packet pair |
CN106302016B (en) * | 2016-08-18 | 2019-09-10 | 成都网优力软件有限公司 | The method and system of small flow quick obtaining network physical bandwidth |
CN107332729A (en) * | 2017-06-16 | 2017-11-07 | 西安万像电子科技有限公司 | The measuring method and device of available bandwidth |
CN107707382B (en) * | 2017-08-15 | 2018-10-23 | 贵州白山云科技有限公司 | A kind of intelligent dispatching method and device |
CN108390799B (en) * | 2018-03-23 | 2021-05-18 | 西安电子科技大学 | Method for measuring end-to-end available key rate of quantum key distribution network |
CN109560995A (en) * | 2019-01-11 | 2019-04-02 | 武汉虹旭信息技术有限责任公司 | The long real-time detecting system of multi-hop wireless network available bandwidth self-adaptive detection packet |
CN109688033A (en) * | 2019-03-08 | 2019-04-26 | 深圳市网心科技有限公司 | A kind of network bandwidth evaluating method, device, system and storage medium |
CN114401230B (en) * | 2021-12-27 | 2023-10-20 | 鹏城实验室 | Transmission rate control method and device based on cross-data center network communication |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1770711A (en) * | 2005-11-18 | 2006-05-10 | 史文勇 | Method and system for measuring bottleneck bandwidth and remanent bandwidth |
-
2013
- 2013-12-31 CN CN201310752608.5A patent/CN103825775B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1770711A (en) * | 2005-11-18 | 2006-05-10 | 史文勇 | Method and system for measuring bottleneck bandwidth and remanent bandwidth |
Non-Patent Citations (3)
Title |
---|
Evaluation and Characterization of Available Bandwidth Probing Techniques;Ningning Hu et al.;《IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS》;20030831;第21卷(第6期);第879-894页 * |
IP网带宽测量技术研究与进展;韦安明等;《电子学报》;20060731;第34卷(第7期);第1301-1310页 * |
可用带宽测量和瓶颈链路定位技术研究;何莉等;《电信科学》;20080831(第8期);第74-80页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103825775A (en) | 2014-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103825775B (en) | The multi-hop wireless network available bandwidth real-time detection method of self-adaptive detection bag length | |
CN101026509B (en) | End-to-end low available bandwidth measuring method | |
CN101808016B (en) | Method and system for rapidly measuring end-to-end network performance of DiffServ region under IPv6 | |
US20050232227A1 (en) | Method and apparatus for characterizing an end-to-end path of a packet-based network | |
JP5029125B2 (en) | Available bandwidth estimation system, stream data distribution system, method, and program | |
CN100559762C (en) | A Method of Effective Bandwidth Measurement Based on PGM | |
US12088489B2 (en) | Performance measurement in a packet-switched communication network | |
CN103746875A (en) | Dichotomy-based multi-hop wireless network available bandwidth self-adaptive detection method | |
CN101895417B (en) | Positioning method for tight link based on available bandwidth of subpaths | |
WO2018119790A1 (en) | Network performance detection method and apparatus | |
EP2936741B1 (en) | Probing a network | |
US20230009799A1 (en) | Round-trip packet loss measurement in a packet-switched communication network | |
CN100446479C (en) | A method for end-to-end available bandwidth measurement based on network tight link location | |
CN103974295B (en) | Linkage status detection device and its method of work | |
IT202000004624A1 (en) | Measurement of packet losses in a packet-switched communications network | |
Gokilapriya et al. | Analysis of RPL routing protocol on topology control mechanism | |
CN107872369A (en) | The adaptive real-time detection method of wireless network available bandwidth | |
US10462032B2 (en) | Probing a network | |
CN101505268B (en) | Public congestion path detecting method based on weighing first order local area process | |
CN109560995A (en) | The long real-time detecting system of multi-hop wireless network available bandwidth self-adaptive detection packet | |
Sun et al. | Senprobe: Path capacity estimation in wireless sensor networks | |
CN103269295B (en) | Based on bag to the measuring method of path capacity | |
Azevedo et al. | Towards an accurate bandwidth estimation tool for 802.11 n wireless networks | |
CN109842889A (en) | A kind of method of measuring node available bandwidth in wireless multi-hop network | |
Staehle et al. | Measuring one-way delay in wireless mesh networks: an experimental investigation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |