CN102104447A - Method for optimizing passing rate performance in wireless ad hoc network - Google Patents
Method for optimizing passing rate performance in wireless ad hoc network Download PDFInfo
- Publication number
- CN102104447A CN102104447A CN2011100580681A CN201110058068A CN102104447A CN 102104447 A CN102104447 A CN 102104447A CN 2011100580681 A CN2011100580681 A CN 2011100580681A CN 201110058068 A CN201110058068 A CN 201110058068A CN 102104447 A CN102104447 A CN 102104447A
- Authority
- CN
- China
- Prior art keywords
- node
- time
- packet
- backoff
- contention window
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000005540 biological transmission Effects 0.000 claims abstract description 58
- 238000004364 calculation method Methods 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims description 7
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 claims description 2
- 230000003595 spectral effect Effects 0.000 claims description 2
- 238000004422 calculation algorithm Methods 0.000 abstract description 13
- 238000004088 simulation Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 230000006854 communication Effects 0.000 description 2
- 108700026140 MAC combination Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种无线自组织网中优化通过率性能的方法,克服了传统的IEEE802.11DCF机制采用的是二进制指数退避BEB算法的最小竞争窗口存在处理节点竞争不够及时和过于被动等不足,动态的检测竞争信道的发送节点个数,然后根据RTS分组的误帧率,计算出该发送节点在成功完成本次传输后下次的最小竞争窗口,优化退避时隙,减小节点平均接入信道的时间,退避机制优于传统的二进制指数退避BEB算法。
The invention discloses a method for optimizing the throughput rate performance in a wireless self-organizing network, which overcomes the shortcomings of the traditional IEEE802.11DCF mechanism that adopts the binary exponential backoff BEB algorithm in the minimum competition window, and the processing node competition is not timely enough and too passive. Dynamically detect the number of sending nodes in the contention channel, and then calculate the next minimum contention window of the sending node after successfully completing this transmission according to the frame error rate of the RTS packet, optimize the backoff time slot, and reduce the average access of nodes channel time, the backoff mechanism is superior to the traditional binary exponential backoff BEB algorithm.
Description
技术领域technical field
本发明涉及通信技术领域,是一种无线自组织网络中基于最佳退避机制的变速率MAC优化通过率性能的方法。The invention relates to the technical field of communication, and relates to a method for optimizing the throughput performance of a variable-rate MAC based on an optimal backoff mechanism in a wireless self-organizing network.
背景技术Background technique
变速率MAC,即V-MAC(Variable rate Media Access Control protocol)。其算法主要思想是发送节点根据信噪比值,感知信道状态,动态改变数据分组的传输模式,以提高通过率。目前已有的变速率传输方法主要分为两类:第一类是基于接收端的变速率算法,第二类是基于发送端的变速率算法。基于接收端的变速率算法主要采用RTS/CTS交换机制,接收端决定后续的数据分组采用何种传输模式,并将此信息放在CTS中反馈给发送端。其算法主要有RBAR。在RBAR中,接收端根据接收到的RTS的信号强度来估计无线信道的质量,然后决定发送端数据分组的传输模式,并通过CTS将传输模式传给发送端;另一种基于发送端的变速率传输算法,则是由发送端通过统计先前发送数据分组的误帧率来决定增高或降低数据分组的传输速率,其算法主要有ARF,ARF是第一个实现变速率传输的MAC协议。在ARF中,若数据分组传输连续成功,发送端则提高数据分组的传输速率,否则降低数据分组的传输速率。Variable rate MAC, that is, V-MAC (Variable rate Media Access Control protocol). The main idea of the algorithm is that the sending node perceives the channel state according to the signal-to-noise ratio value, and dynamically changes the transmission mode of the data packet to improve the pass rate. The existing variable rate transmission methods are mainly divided into two categories: the first type is based on the variable rate algorithm at the receiving end, and the second type is based on the variable rate algorithm at the sending end. The variable rate algorithm based on the receiving end mainly adopts the RTS/CTS exchange mechanism. The receiving end decides which transmission mode to use for subsequent data packets, and puts this information in the CTS to feed back to the sending end. Its algorithm mainly includes RBAR. In RBAR, the receiving end estimates the quality of the wireless channel according to the received signal strength of the RTS, and then determines the transmission mode of the data packet at the sending end, and transmits the transmission mode to the sending end through CTS; another variable rate based on the sending end The transmission algorithm is to increase or decrease the transmission rate of data packets by the sender by counting the frame error rate of previously sent data packets. The algorithm mainly includes ARF, which is the first MAC protocol to realize variable rate transmission. In the ARF, if the data packets are transmitted continuously and successfully, the sender increases the transmission rate of the data packets, otherwise decreases the transmission rate of the data packets.
网络中的节点在传输分组之前,需要先经历一段随机退避时间,目的是在多个节点竞争信道的时候,保证接入的有效性。802.11DCF采用的退避算法是二进制指数退避BEB(Binary Exponential Backoff)。节点在退避前,随机产生一个退避时间BackoffTime。Nodes in the network need to experience a period of random backoff time before transmitting packets. The purpose is to ensure the validity of access when multiple nodes compete for the channel. The backoff algorithm adopted by 802.11DCF is Binary Exponential Backoff BEB (Binary Exponential Backoff). Before the node backs off, a backoff time BackoffTime is randomly generated.
BackoffTime=Random()×aSlotTimeBackoffTime=Random()×aSlotTime
其中,Random()是均匀分布在[0,CW-1]之间的随机整数,竞争窗口CW(Contention Window)是介于由物理层特征决定的最小竞争窗口CWmin和最大竞争窗口CWmax之间的一个整数值,即CWmin≤CW≤CWmax。aSlotTime是由物理层特性决定的一个时隙的实际长度值,对于802.11a,一个时隙的长度是9μs。退避时间是一个以时隙为单位的随机整数。Among them, Random() is a random integer uniformly distributed between [0, CW-1], and the contention window CW (Contention Window) is between the minimum contention window CW min and the maximum contention window CW max determined by the characteristics of the physical layer. An integer value between , that is, CW min ≤ CW ≤ CW max . aSlotTime is the actual length of a time slot determined by the characteristics of the physical layer. For 802.11a, the length of a time slot is 9 μs. The backoff time is a random integer in units of slots.
一个节点执行退避过程时,在每一个时隙中侦听信道的状态,如果信道闲,则将退避时间计数器减1;如果信道忙,则退避时间计数器暂停(即不再递减),直到侦听到信道处于连续空闲状态达到DIFS时间,退避过程重新被激活,继续递减。当退避计数器递减到0时,节点就可以执行发送。当多个节点同时竞争信道时,每个节点都经过一个随机时间的退避过程,才能占据信道,这样就大大减少了冲突发生的概率。另外,通过采用退避过程中的冻结机制,使得被推迟的节点在下一轮竞争中无需再次产生一个新的随机退避时间,只需继续进行计数器递减,那么,等待时间长的节点的优先级就高于新加入的节点,就可能优先得到信道,从而维护了竞争节点之间一定的公平性。When a node performs the backoff process, it monitors the status of the channel in each time slot. If the channel is idle, the backoff time counter is decremented by 1; When the channel is in the continuous idle state and reaches the DIFS time, the backoff process is activated again and continues to decrease. When the backoff counter is decremented to 0, the node can perform the transmission. When multiple nodes compete for the channel at the same time, each node must go through a random time backoff process before occupying the channel, which greatly reduces the probability of collisions. In addition, by adopting the freezing mechanism in the backoff process, the postponed node does not need to generate a new random backoff time in the next round of competition, but only needs to continue to decrement the counter, then the priority of the node with a long waiting time is high Because of the newly added nodes, it is possible to get the channel first, thus maintaining a certain fairness among competing nodes.
在通信过程中,竞争窗口CW的初始值为CWmin,如果一个节点传输数据失败,则CW需要加倍,直至加倍到CWmax,即CW=2m·CWmin,其中m为重传次数。当CW的值增加到CWmax后,再次重传的竞争窗口维持CWmax不变,直到该节点发送成功,或者达到最大重传次数,CW将被重新置为CWmin,如图1所示。During the communication process, the initial value of the contention window CW is CW min . If a node fails to transmit data, the CW needs to be doubled until it doubles to CW max , that is, CW=2 m ·CW min , where m is the number of retransmissions. When the value of CW increases to CW max , the contention window for retransmission remains unchanged until the node sends successfully or reaches the maximum number of retransmissions, and CW will be reset to CW min , as shown in Figure 1.
IEEE 802.11DCF的退避机制中,采用固定的最小竞争窗口,当竞争信道的发送节点个数较少的时候,最小竞争窗口相对较大,节点接入信道的平均时间较长,对信道的利用率是种浪费;当竞争信道的发送节点个数较多的时候,最小竞争窗口相对较小,增加了RTS分组的冲突概率,降低了网络的通过率。In the backoff mechanism of IEEE 802.11DCF, a fixed minimum contention window is adopted. When the number of sending nodes competing for the channel is small, the minimum contention window is relatively large, and the average time for nodes to access the channel is long, and the utilization rate of the channel is relatively large. It is a waste; when there are many sending nodes competing for the channel, the minimum contention window is relatively small, which increases the collision probability of RTS packets and reduces the network throughput rate.
发明内容Contents of the invention
为了克服现有技术信道利用率低或者网络通过率低的不足,本发明提供一种基于最佳退避机制的变速率MAC,即OV-MAC(Variable rate Media Access Control protocol with Optimal Backoff),对网络通过率有明显改善。In order to overcome the shortcomings of low channel utilization or low network throughput in the prior art, the present invention provides a variable rate MAC based on an optimal backoff mechanism, that is, OV-MAC (Variable rate Media Access Control protocol with Optimal Backoff), for network The pass rate has improved significantly.
本发明解决其技术问题所采用的技术方案是:基于最佳退避机制的变速率MAC,在接收节点成功接收到RTS分组后,接收节点根据RTS分组的信噪比,计算IEEE802.11a的8种速率模式的误帧率,通过公式选择数据分组的最佳传输速率,且根据网络中等待发送数据的节点个数,计算出本次成功传输后下次退避的最小竞争窗口。The technical solution adopted by the present invention to solve the technical problem is: based on the variable rate MAC of the optimal backoff mechanism, after the receiving node successfully receives the RTS packet, the receiving node calculates the 8 types of IEEE802.11a according to the signal-to-noise ratio of the RTS packet. The frame error rate of the rate mode selects the optimal transmission rate of the data packet through the formula, and calculates the minimum contention window for the next back-off after the successful transmission according to the number of nodes waiting to send data in the network.
判断当前网络中等待发送数据的节点个数原理为:对于发送节点i,当监听到发送节点j发送的数据分组时,读出节点j数据中的Bj,修改当前状态的参数k,k表示网络中等待发送数据的节点个数;(Bj=1表示节点j还有数据分组等待发送;Bj=0表示节点j无数据分组等待发送)。The principle of judging the number of nodes waiting to send data in the current network is: for sending node i, when listening to the data packet sent by sending node j, read B j in the data of node j, and modify the parameter k of the current state, k means The number of nodes waiting to send data in the network; (B j =1 indicates that node j still has data packets waiting to be sent; B j =0 indicates that node j has no data packets waiting to be sent).
为了支持上述提出的算法,我们重新定义了CTS的帧格式,如图4所示。在CTS帧格式中分别加入1个字节的“传输模式”域和1个字节的“最小竞争窗口”域。对于“传输模式”域的8位,前5位暂不使用,后3位表示IEEE 802.11a的8种传输模式;对于“最小竞争窗口”域的8位,只使用最后1位表示Bj的值,其余的暂不使用。In order to support the algorithm proposed above, we redefine the frame format of CTS, as shown in Fig. 4. In the CTS frame format, a 1-byte "transmission mode" field and a 1-byte "minimum contention window" field are respectively added. For the 8 bits of the "transmission mode" field, the first 5 bits are not used temporarily, and the last 3 bits represent the 8 transmission modes of IEEE 802.11a; for the 8 bits of the "minimum contention window" field, only the last 1 bit is used to represent the B j value, and the rest are not used for now.
具体步骤如下:Specific steps are as follows:
情况1:发送节点i第一次发送数据分组。Case 1: The sending node i sends a data packet for the first time.
步骤1:发送节点i在第一次发送数据分组时,采用802.11DCF二进制指数退避BEB(Binary Exponential Backoff),在退避时间结束后,发送RTS分组;Step 1: Sending node i uses 802.11DCF Binary Exponential Backoff BEB (Binary Exponential Backoff) when sending data packets for the first time, and sends RTS packets after the backoff time ends;
步骤2:若发送节点i正确收到CTS分组,读出其携带的传输模式值和最小竞争窗口值,使用该传输模式发送数据分组,并将值保存起来;如果节点i还有后续数据分组,将Bj=1写入数据分组中,否则将Bj=0写入数据分组;若发送节点没有收到CTS分组,则将竞争窗口加倍,采用BEB重选退避值,进入退避过程,返回步骤1;Step 2: If the sending node i receives the CTS packet correctly, read the transmission mode value and the minimum contention window carried by it value, use this transmission mode to send data packets, and Save the value; if node i still has subsequent data packets, write B j =1 in the data packets, otherwise write B j =0 into the data packets; if the sending node does not receive the CTS packet, then the contention window will be doubled, Use BEB to reselect the backoff value, enter the backoff process, and return to
步骤3:若发送节点i正确接收到ACK确认分组,则说明本次传输成功,将最小竞争窗口修改为值,回到退避状态,等待传输下一个数据分组。若发送节点没有正确接收到ACK,表明此次传输失败,则将竞争窗口加倍,采用BEB重选退避值,在等待信道持续空闲1个DIFS帧间间隔后,进入退避过程,返回步骤1。Step 3: If the sending node i correctly receives the ACK confirmation packet, it means that the transmission is successful, and the minimum contention window is changed to value, return to the backoff state, and wait for the next data packet to be transmitted. If the sending node does not receive the ACK correctly, indicating that the transmission failed, the contention window will be doubled, and the BEB reselection backoff value will be used. After waiting for the channel to remain idle for 1 DIFS interframe interval, enter the backoff process and return to
情况2:发送节点i第二次发送数据分组及第n次发送数据分组,n>2。Case 2: the sending node i sends the data packet for the second time and the data packet for the nth time, n>2.
步骤1:发送节点i在第二次发送数据分组时,采用情况1中第一次发送数据分组成功后计算出的最小竞争窗口选择退避时间,在退避时间结束后,发送RTS分组;若发送节点i在第n次发送数据分组时,采用第n-1次发送数据分组成功后计算出的最小竞争窗口选择退避时间,在退避时间结束后,发送RTS分组;Step 1: When the sending node i sends the data packet for the second time, it selects the backoff time using the minimum contention window calculated after the first successful sending of the data packet in
步骤2、3分别同情况1中的步骤2、3。
情况3:接收节点正确收到给自己的RTS分组。Case 3: The receiving node correctly receives the RTS packet addressed to itself.
步骤1:接收节点没有正确接收RTS分组,不做任何反应;正确接收RTS分组,计算传输数据分组的最佳速率;Step 1: The receiving node does not receive the RTS packet correctly, and does not make any response; correctly receives the RTS packet, and calculates the optimal rate for transmitting data packets;
假设当前时隙节点将要在时间T内发送或重发数据分组(包括传输RTS、CTS和ACK的时间在内),设发送数据分组的时间为TL,无论采取何种速率发送数据分组,TL为固定长度。此时,该时隙的通过率可以用下式表示:Assuming that the node in the current time slot will send or retransmit data packets within time T (including the time of transmitting RTS, CTS and ACK), let the time of sending data packets be T L , no matter what rate is used to send data packets, T L is a fixed length. At this time, the pass rate of this time slot can be expressed by the following formula:
其中pc,i表示节点i的冲突概率,当每个节点的数据分组都相同时它可以被看作常数1-e1/K,并且也是一个常数。Ri代表节点i的传输模式对应的传输速率,Pe,i代表在该传输模式下数据分组的误帧率。可以看出Ri(1-Pe,i)是决定系统通过率的关键因素,尽可能的使Ri(1-Pe,i)最大,将得到最好的通过率,因此,使Ri(1-Pe,i)最大所对应的Ri就表示传输数据分组的最佳速率。where p c,i represents the collision probability of node i, which can be regarded as a constant 1-e 1/K when the data packets of each node are the same, and is also a constant. R i represents the transmission rate corresponding to the transmission mode of node i, and P e,i represents the frame error rate of data packets in this transmission mode. It can be seen that R i (1-P e, i ) is the key factor determining the pass rate of the system, making R i (1-P e, i ) as large as possible will get the best pass rate, therefore, make R The R i corresponding to the maximum i (1-P e, i ) represents the optimal rate for transmitting data packets.
下面我们给出误帧率Pe,i的计算方法。Below we give the calculation method of the frame error rate P e,i .
对于BPSK调制,误比特率计算方法为:For BPSK modulation, the bit error rate The calculation method is:
对于QPSK、16-QAM和64-QAM调制,高斯白噪声环境下,误比特率计算方法(Mi表示指定调制方式发送符号的种类个数)如下:For QPSK, 16-QAM, and 64-QAM modulation, the bit error rate in Gaussian white noise environment The calculation method (M i represents the number of types of symbols sent by the specified modulation mode) is as follows:
首先计算误符号率Ps,i(Mi,γi):First calculate the symbol error rate P s,i (M i ,γ i ):
其中γi为每符号平均信噪比,Eb,i表示一个符号的平均能量,N0,i表示噪声的功率谱密度。where γi is the average signal-to-noise ratio per symbol, E b,i represents the average energy of a symbol, N 0,i represents the power spectral density of the noise.
其中的Q函数为
式(5)中x表示一个未知变量。In formula (5), x represents an unknown variable.
然后计算误帧率由于卷积码的误比特之间相互关联,因此不能使用其他分组码由信道误比特率直接计算误帧率,而应该通过数学方法分析维特比译码的特性,给出卷积码误帧率的上限。Then calculate the frame error rate Since the bit errors of convolutional codes are interrelated, other block codes cannot be used to directly calculate the frame error rate from the channel bit error rate, but the characteristics of Viterbi decoding should be analyzed mathematically to give the frame error rate of the convolutional code upper limit.
假定使用维特比硬判决译码方式,计算传输模式为m,整数m表示IEEE 802.11a标准中定义的8种传输模式所对应的序号。l1为前导符号与PLCP头部比特总数,l2为MPDU的比特总数。长度为l比特(l=l1+l2)的数据分组的误帧率上限公式如下:Assuming that the Viterbi hard-decision decoding method is used, the calculated transmission mode is m, and the integer m represents the sequence numbers corresponding to the eight transmission modes defined in the IEEE 802.11a standard. l 1 is the total number of bits in the preamble symbol and the PLCP header, and l 2 is the total number of bits in the MPDU. The formula for the upper limit of the frame error rate of a data packet with a length of l bits (l=l 1 +l 2 ) is as follows:
式(7)中,为首次事件错误概率的联合界。In formula (7), is the joint bound for the first-event error probability.
式(8)中,dfree是模式m下卷积码的自由距离;ad是重量为d的错误事件的总数,可查表得到;Pd是与正确路径距离为d的错误路径被维特比译码器选择的概率,pm为使用传输模式为m的误比特率。以上就是本方法中关于误帧率和速率选择的计算方法。In formula (8), d free is the free distance of the convolutional code in mode m; a d is the total number of error events with a weight of d, which can be obtained by looking up the table; P d is the error path with a distance of d from the correct path. than the probability chosen by the decoder, p m is the bit error rate using the transmission mode m. The above is the calculation method of frame error rate and rate selection in this method.
步骤2:根据步骤1中数据分组选择的传输模式对应的误帧率Pe,i,计算最小竞争窗口包括以下步骤:Step 2: Calculate the minimum contention window according to the frame error rate P e,i corresponding to the transmission mode selected by the data packet in
式(9)中β1表示一个取值在0~1之间的参数,表示节点i在t时刻的平均误帧率,表示节点i在t+l时刻的平均误帧率。In formula (9), β 1 represents a parameter whose value is between 0 and 1, Indicates the average frame error rate of node i at time t, Indicates the average frame error rate of node i at time t+l.
式(10)中τ* ap,i表示节点i的近似最佳工作点,N表示等待发送数据的节点个数(N=k),表示归一化的冲突持续的平均时间。In formula (10), τ * ap, i represents the approximate optimal working point of node i, N represents the number of nodes waiting to send data (N=k), Indicates the normalized average duration of conflicts.
式中Tc表示信道感知到冲突持续的平均时间,Tc=TDIFS+TRTS(TDIFS表示帧间隔DIFS的时间长度,TRTS表示传输RTS分组的时间长度),σ表示一个空时隙。In the formula, T c represents the average time for the channel to perceive the conflict, T c = T DIFS + T RTS (T DIFS represents the time length of the frame interval DIFS, T RTS represents the time length of the transmission RTS packet), σ represents an empty time slot .
式(12)中P* c,i表示节点i的冲突概率,
式(13)中表示节点i的总错误概率。In formula (13) Indicates the total error probability of node i.
式(14)中表示节点i的最小竞争窗口大小,mi表示节点i的本次传输退避时隙个数。利用公式(14)可以计算出节点i成功发送本次分组后,下次竞争信道时的最小竞争窗口。In formula (14) Indicates the minimum contention window size of node i, and m i indicates the number of backoff slots for this transmission of node i. Formula (14) can be used to calculate the minimum contention window for the next channel competition after node i successfully sends this packet.
步骤3:将计算出的最佳传输模式与最小竞争窗口分别写入CTS头中新引入的“传输模式”域和“最小竞争窗口”域,接收节点发送CTS分组;Step 3: Compare the calculated optimal transmission mode with the minimum contention window Write the newly introduced "transmission mode" field and "minimum contention window" field in the CTS header respectively, and the receiving node sends the CTS packet;
步骤4:若接收节点正确接收到数据分组,就会给发送节点返回ACK确认分组。若接收节点没有正确接收到数据分组,则不做任何反应。Step 4: If the receiving node correctly receives the data packet, it will return an ACK confirmation packet to the sending node. If the receiving node does not receive the data packet correctly, no response will be made.
本发明的有益效果是:The beneficial effects of the present invention are:
仿真实验表明,基于最佳退避机制的变速率MAC在通过率性能上优于支持变速率的V-MAC。V-MAC协议中采用固定的最小竞争窗口值,当竞争信道的发送节点个数较少的时候,最小竞争窗口相对较大,节点接入信道的平均时间较长,对信道的利用率是种浪费;当竞争信道的发送节点个数较多的时候,最小竞争窗口相对较小,增加了RTS分组的冲突概率,降低了网络的通过率。而OV-MAC协议可以动态的检测竞争信道的发送节点个数,然后根据RTS分组的误帧率,计算出该发送节点在成功完成本次传输后下次的最小竞争窗口,优化退避时隙,减小节点平均接入信道的时间,从而提高网络的通过率性能。Simulation experiments show that the variable-rate MAC based on the optimal backoff mechanism is better than the V-MAC that supports variable rates in throughput performance. The V-MAC protocol adopts a fixed minimum contention window value. When the number of sending nodes competing for the channel is small, the minimum contention window is relatively large, and the average time for nodes to access the channel is long, which is an important factor for channel utilization. Waste; when the number of sending nodes competing for the channel is large, the minimum contention window is relatively small, which increases the collision probability of RTS packets and reduces the network throughput rate. The OV-MAC protocol can dynamically detect the number of sending nodes competing for the channel, and then calculate the next minimum contention window of the sending node after successfully completing this transmission according to the frame error rate of the RTS packet, and optimize the backoff time slot. Reduce the average access time of nodes to the channel, thereby improving the throughput performance of the network.
在非饱和状态下,均匀随机放置收发节点对,每对收发节点相距大约100米,随着收发节点对个数的增加,对比具有最佳退避机制的OV-MAC协议和V-MAC协议的通过率性能,如图5所示。In the unsaturated state, the transceiver node pairs are evenly placed randomly, and each pair of transceiver nodes is about 100 meters apart. With the increase of the number of transceiver node pairs, the OV-MAC protocol and the V-MAC protocol with the best backoff mechanism are compared Rate performance, as shown in Figure 5.
从图5中可以看出,OV-MAC的网络通过率明显高于V-MAC。因为V-MAC协议采用固定的窗口大小,在发送节点少的时候,最小竞争窗口相对较大,节点接入信道的平均时间相对较长,对无线信道是一种浪费,而OV-MAC可以动态改变最小竞争窗口大小,在发送节点少时,降低最小竞争窗口的值,减小了节点接入网络的平均时间,提高了网络通过率。因此可以看出OV-MAC协议中的退避机制优于传统的二进制指数退避BEB(Binary Exponential Backoff)算法。It can be seen from Figure 5 that the network pass rate of OV-MAC is significantly higher than that of V-MAC. Because the V-MAC protocol uses a fixed window size, when there are few sending nodes, the minimum contention window is relatively large, and the average time for nodes to access the channel is relatively long, which is a waste of wireless channels, while OV-MAC can dynamically Change the size of the minimum contention window, reduce the value of the minimum contention window when there are few sending nodes, reduce the average time for nodes to access the network, and improve the network throughput rate. Therefore, it can be seen that the backoff mechanism in the OV-MAC protocol is superior to the traditional binary exponential backoff BEB (Binary Exponential Backoff) algorithm.
下面结合附图和实施例对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
附图说明Description of drawings
图1是竞争窗口示例示意图;Figure 1 is a schematic diagram of an example of a competition window;
图2是OV-MAC实现流程图;Figure 2 is a flow chart of OV-MAC implementation;
图3是PPDU帧格式示意图;Fig. 3 is a schematic diagram of a PPDU frame format;
图4是基于最佳退避机制的CTS分组结构示意图;FIG. 4 is a schematic diagram of a CTS grouping structure based on an optimal backoff mechanism;
图5是OV-MAC和V-MAC的性能对比示意图。Fig. 5 is a schematic diagram of performance comparison between OV-MAC and V-MAC.
具体实施方式Detailed ways
基于最佳退避机制的变速率MAC,在接收节点成功接收到RTS分组后,接收节点根据RTS分组的信噪比,计算IEEE 802.11a的8种速率模式的误帧率,通过公式选择数据分组的最佳传输速率,且根据网络中等待发送数据的节点个数,计算出本次成功传输后下次退避的最小竞争窗口。具体流程图如图2所示:Based on the variable rate MAC of the optimal backoff mechanism, after the receiving node successfully receives the RTS packet, the receiving node calculates the frame error rate of the eight rate modes of IEEE 802.11a according to the signal-to-noise ratio of the RTS packet, and selects the frame error rate of the data packet through the formula The optimal transmission rate, and according to the number of nodes waiting to send data in the network, calculate the minimum contention window for the next backoff after this successful transmission. The specific flow chart is shown in Figure 2:
判断当前网络中等待发送数据的节点个数原理为:对于发送节点i,当监听到发送节点j发送的数据分组时,读出节点j数据中的Bj,修改当前状态的参数k,k表示网络中等待发送数据的节点个数;(Bj=1表示节点j还有数据分组等待发送;Bj=0表示节点j无数据分组等待发送)。The principle of judging the number of nodes waiting to send data in the current network is: for sending node i, when listening to the data packet sent by sending node j, read B j in the data of node j, and modify the parameter k of the current state, k means The number of nodes waiting to send data in the network; (B j =1 indicates that node j still has data packets waiting to be sent; B j =0 indicates that node j has no data packets waiting to be sent).
为了便于性能对比与分析,结果中只采用18Mbps、36Mbps和54Mbps三种速率传输数据分组,RTS、CTS以及ACK分组采用最低速率传输,即6Mbps。仿真场景采用均匀随机的收发节点对。表1为设置的仿真参数。In order to facilitate performance comparison and analysis, only three data rates of 18Mbps, 36Mbps and 54Mbps are used in the results to transmit data packets, and RTS, CTS and ACK packets are transmitted at the lowest rate, that is, 6Mbps. The simulation scenario uses a uniform random pair of sending and receiving nodes. Table 1 is the simulation parameters set.
表1系统仿真参数Table 1 System Simulation Parameters
具体步骤如下:Specific steps are as follows:
情况1:发送节点1第一次发送数据分组。Case 1: Sending
步骤1:发送节点1在帧间间隔DIFS结束后,采用BEB算法随机产生退避时间(随机选择10个时隙),在退避时间结束后,发送RTS分组;Step 1: After the inter-frame interval DIFS ends, the sending
步骤2:发送节点1正确收到CTS分组,读出其携带的传输模式值(36Mbps)和最小竞争窗口使用该传输模式发送数据分组,并将值保存起来,检测到本节点队列中有数据分组等待发送,将Bj=1写入数据分组中,发送数据分组;Step 2: Sending
步骤3:发送节点1正确接收到ACK确认分组,将最小竞争窗口修改为14,回到退避状态,等待传输下一个数据分组。Step 3: The sending
情况2:发送节点1第二次发送数据分组及第n次发送数据分组(n>2)。Case 2: sending
步骤1:发送节点1在帧间间隔DIFS结束后,采用情况1中第一次发送数据分组成功后计算出的最小竞争窗口选择退避时间(随机选择3个时隙),在退避时间结束后,发送RTS分组;Step 1: After the end of the inter-frame interval DIFS, the sending
步骤2:发送节点1正确收到CTS分组,读出其携带的传输模式值(54Mbps)和最小竞争窗口使用该传输模式发送数据分组,并将值保存起来,检测到本节点队列中无数据分组等待发送,将Bj=0写入数据分组中,发送数据分组;Step 2: Sending
步骤3:发送节点1正确接收到ACK确认分组,将最小竞争窗口修改为16,回到退避状态,等待传输下一个数据分组。Step 3: The sending
情况3:接收节点2正确收到给自己的RTS分组。Case 3: The receiving
步骤1:接收节点2正确接收RTS分组,计算出RTS的信噪比SNR=18.6058dB;根据信噪比计算仿真中要求的3种传输模式的误帧率Pe,i,从而计算传输数据分组的最佳速率;Step 1: The receiving
首先计算54Mbps模式下的误帧率;First calculate the frame error rate in 54Mbps mode;
根据公式(3)得到误符号率:Ps,i(Mi,γi)=0.107355;According to the formula (3), the symbol error rate is obtained: P s,i (M i ,γ i )=0.107355;
根据公式(2)得到误比特率:Pb=0.0178926;According to the formula (2), the bit error rate is obtained: P b =0.0178926;
根据公式(8)得到l1和l2的Pd值:Obtain the P d value of l 1 and l 2 according to formula (8):
Pd(l2)={5.57554e-05ad=8P d (l 2 )={5.57554e-05a d =8
根据公式(7)得到:
根据公式(6)可得误帧率Pe,i:Pe,i=0.53742;According to the formula (6), the frame error rate P e,i can be obtained: P e,i =0.53742;
同理可以得到36Mbps和18Mbps模式下的误帧率Pe,i,即:Similarly, the frame error rate P e,i in the 36Mbps and 18Mbps modes can be obtained, namely:
根据公式(1)可以得到:According to formula (1), we can get:
因此本次传输的最佳速率为36Mbps。Therefore, the optimal rate for this transmission is 36Mbps.
步骤2:根据选择的36Mbps传输模式对应的误帧率Pe,i=1.3207e-08,计算最小竞争窗口 Step 2: Calculate the minimum contention window according to the frame error rate P e,i = 1.3207e-08 corresponding to the selected 36Mbps transmission mode
根据公式(9)得到:
Tc=TDIFS+TRTS=86us,σ=9us,因此
N=k=6,因此
步骤3:将计算出的最佳传输模式与最小竞争窗口分别写入CTS头中新引入的“传输模式”域和“最小竞争窗口”域。接收节点发送CTS分组;Step 3: Compare the calculated optimal transmission mode with the minimum contention window Write the newly introduced "Transfer Mode" field and "Minimum Contention Window" field in the CTS header respectively. The receiving node sends a CTS packet;
步骤4:接收节点2正确接收到数据分组,给发送节点返回ACK确认分组。Step 4: The receiving
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110058068.1A CN102104447B (en) | 2011-03-10 | 2011-03-10 | A Method for Optimizing Pass Rate Performance in Wireless Ad Hoc Networks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110058068.1A CN102104447B (en) | 2011-03-10 | 2011-03-10 | A Method for Optimizing Pass Rate Performance in Wireless Ad Hoc Networks |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102104447A true CN102104447A (en) | 2011-06-22 |
CN102104447B CN102104447B (en) | 2014-02-26 |
Family
ID=44157001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110058068.1A Expired - Fee Related CN102104447B (en) | 2011-03-10 | 2011-03-10 | A Method for Optimizing Pass Rate Performance in Wireless Ad Hoc Networks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102104447B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103346857A (en) * | 2013-05-31 | 2013-10-09 | 广州海格通信集团股份有限公司 | Novel BPSK signal transmission method based on binary data preprocessing |
WO2013152634A1 (en) * | 2012-04-11 | 2013-10-17 | 华为技术有限公司 | Processing method and system for information query, and communication device |
CN105306176A (en) * | 2015-11-13 | 2016-02-03 | 南京邮电大学 | Realization method for Q learning based vehicle-mounted network media access control (MAC) protocol |
CN106162926A (en) * | 2016-08-12 | 2016-11-23 | 华南理工大学 | A kind of distributed contention window cut-in method being applicable to underwater acoustic network |
CN106572499A (en) * | 2016-11-07 | 2017-04-19 | 西北工业大学 | Chanel access method based on decimal backoff |
CN108432188A (en) * | 2015-11-02 | 2018-08-21 | 麦索德电子有限公司 | Method and system for improving spectral efficiency of wireless locomotive remote control |
CN113411908A (en) * | 2021-06-23 | 2021-09-17 | 成都坤恒顺维科技股份有限公司 | Self-organizing wireless broadband network transceiving system based on collision avoidance |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101321182A (en) * | 2008-05-19 | 2008-12-10 | 华中科技大学 | A Distributed Media Access Protocol |
CN101394410A (en) * | 2008-10-29 | 2009-03-25 | 北京邮电大学 | A Communication Method in Wireless Ad Hoc Network |
CN101459947A (en) * | 2009-01-04 | 2009-06-17 | 北京航空航天大学 | Cross-layer routing method based on position information |
-
2011
- 2011-03-10 CN CN201110058068.1A patent/CN102104447B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101321182A (en) * | 2008-05-19 | 2008-12-10 | 华中科技大学 | A Distributed Media Access Protocol |
CN101394410A (en) * | 2008-10-29 | 2009-03-25 | 北京邮电大学 | A Communication Method in Wireless Ad Hoc Network |
CN101459947A (en) * | 2009-01-04 | 2009-06-17 | 北京航空航天大学 | Cross-layer routing method based on position information |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013152634A1 (en) * | 2012-04-11 | 2013-10-17 | 华为技术有限公司 | Processing method and system for information query, and communication device |
CN103346857A (en) * | 2013-05-31 | 2013-10-09 | 广州海格通信集团股份有限公司 | Novel BPSK signal transmission method based on binary data preprocessing |
CN108432188A (en) * | 2015-11-02 | 2018-08-21 | 麦索德电子有限公司 | Method and system for improving spectral efficiency of wireless locomotive remote control |
CN108432188B (en) * | 2015-11-02 | 2021-06-11 | 麦索德电子有限公司 | Method and system for improving spectral efficiency of wireless locomotive remote control |
CN105306176A (en) * | 2015-11-13 | 2016-02-03 | 南京邮电大学 | Realization method for Q learning based vehicle-mounted network media access control (MAC) protocol |
CN106162926A (en) * | 2016-08-12 | 2016-11-23 | 华南理工大学 | A kind of distributed contention window cut-in method being applicable to underwater acoustic network |
CN106162926B (en) * | 2016-08-12 | 2019-08-20 | 华南理工大学 | A Distributed Contention Window Access Method Applicable to Underwater Acoustic Networks |
CN106572499A (en) * | 2016-11-07 | 2017-04-19 | 西北工业大学 | Chanel access method based on decimal backoff |
CN113411908A (en) * | 2021-06-23 | 2021-09-17 | 成都坤恒顺维科技股份有限公司 | Self-organizing wireless broadband network transceiving system based on collision avoidance |
Also Published As
Publication number | Publication date |
---|---|
CN102104447B (en) | 2014-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4680263B2 (en) | Method and system for combining frames to be transmitted on a channel in a wireless network | |
US7948911B2 (en) | Implicit signaling for link adaptation | |
JP4435235B2 (en) | Method and apparatus for controlling wireless medium congestion by adjusting contention window size and separating selected mobile stations | |
CN101938770B (en) | Wireless network maximum retransmission times optimization method based on network channel state | |
Lin et al. | WSN01-1: frame aggregation and optimal frame size adaptation for IEEE 802.11 n WLANs | |
US7385976B2 (en) | Method for acknowledging data packets in a network | |
JP4331088B2 (en) | Communication apparatus and communication method | |
JP4799396B2 (en) | Wireless communication device | |
CN114731710A (en) | Replication of RTA packets in time and frequency | |
CN102104447A (en) | Method for optimizing passing rate performance in wireless ad hoc network | |
KR100724931B1 (en) | Data transmission method in wireless network | |
US11122624B2 (en) | Pre-packet arrival channel contention | |
CN102724706B (en) | Two-stage frame aggregation method | |
JP2005531968A (en) | Link adaptation | |
US7688847B2 (en) | Expected channel occupancy time as a wireless link metric | |
KR20170137763A (en) | System and method for reducing collisions in wireless networks | |
WO2022208211A2 (en) | Sharing an edca txop with rta traffic | |
JP2008054347A (en) | Communication apparatus, communication system, communication method, and communication control program | |
WO2005029774A2 (en) | Method of data handling in a wlan | |
CN105764154A (en) | CSMA/CA delay optimization method in the mechanism of multi-packet reception | |
CN101321182A (en) | A Distributed Media Access Protocol | |
Zhai et al. | A distributed packet concatenation scheme for sensor and ad hoc networks | |
CN102710400B (en) | Collaborative automatic retransmission request method based on distributive optimal relay node selection | |
WO2006012772A1 (en) | A method of transmission in wlan | |
Mjeku et al. | Use of different acknowledgement policies for burst transmission in fiber-fed wireless LANs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140226 Termination date: 20150310 |
|
EXPY | Termination of patent right or utility model |