CN104348562B - Multiple access method based on UW-CSMA/CA in the communication of a kind of underwater acoustic network - Google Patents
Multiple access method based on UW-CSMA/CA in the communication of a kind of underwater acoustic network Download PDFInfo
- Publication number
- CN104348562B CN104348562B CN201310340872.8A CN201310340872A CN104348562B CN 104348562 B CN104348562 B CN 104348562B CN 201310340872 A CN201310340872 A CN 201310340872A CN 104348562 B CN104348562 B CN 104348562B
- Authority
- CN
- China
- Prior art keywords
- node
- data
- state
- control frame
- network control
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种水声网络通信中基于UW‑CSMA/CA的多址接入方法,包括:当节点处于WFCTS状态时,如果节点收到目的节点的RTS,则进入退避状态并重新竞争信道,如果节点收到其他节点的RTS,则回复CTS,进入WFDTA状态,如果收到不是发给本节点的RTS,丢弃并坚持等待相应的CTS,如果节点监听到任何xCTS、xDATA,则进入静默状态;当节点处于WFDATA状态时,如果节点收到源节点的RTS,则回复CTS,重新设置WFDATA状态的超时时间,如果节点收到源节点发给其他节点的xRTS、xCTS时,立即结束等待DATA并进入QUIET状态,如果节点监听到任何xDATA,则进入静默状态,否则,坚持等待相应的DATA直到超时。
The invention relates to a UW-CSMA/CA-based multiple access method in underwater acoustic network communication, comprising: when a node is in the WFCTS state, if the node receives the RTS of the destination node, it enters the back-off state and competes for the channel again, If the node receives the RTS from other nodes, it will reply CTS and enter the WFDTA state. If it receives the RTS that is not sent to the node, it will discard and wait for the corresponding CTS. If the node listens to any xCTS and xDATA, it will enter the silent state; When the node is in the WFDATA state, if the node receives the RTS from the source node, it will reply to the CTS and reset the timeout period of the WFDATA state. If the node receives the xRTS and xCTS sent by the source node to other nodes, it will immediately stop waiting for DATA and enter In the QUIET state, if the node listens to any xDATA, it will enter the silent state, otherwise, it will wait for the corresponding DATA until it times out.
Description
技术领域technical field
本发明涉及水声网络通信领域,特别涉及一种水声网络通信中基于UW-CSMA/CA的多址接入方法。The invention relates to the field of underwater acoustic network communication, in particular to a UW-CSMA/CA-based multiple access method in underwater acoustic network communication.
背景技术Background technique
海洋占据了地球面积的三分之二以上,对海洋的观测和开发越来越受到各国的重视,同时,水声网络成为了世界范围内的研究热点。数据链路层协议是水声网研究的重要内容。与无线信道相比,水声信道带宽受限、传播时延大,这对水声网络MAC协议的设计提出了极大的挑战。The ocean occupies more than two-thirds of the earth's area, and the observation and development of the ocean have attracted more and more attention from all countries. At the same time, the underwater acoustic network has become a research hotspot worldwide. The data link layer protocol is an important part of the study of underwater acoustic network. Compared with the wireless channel, the bandwidth of the underwater acoustic channel is limited and the propagation delay is large, which poses a great challenge to the design of the MAC protocol of the underwater acoustic network.
依据协议的信道获取方式,MAC协议分为基于调度的MAC协议和基于竞争的MAC协议。由于水声信道的可用频带很窄,使得基于调度的FDMA难以使用。基于调度的TDMA需要各节点时钟精确同步和保护间隔,这在高传播延迟、随机时空频变的水声网络中有很大的困难。基于调度的CDMA因其计算复杂度较高而应用较少。因此,基于竞争的MAC协议比较适合水声网络。基于竞争的MAC协议又可以分为基于ALOHA的MAC协议和基于握手的MAC协议。本申请主要研究多跳水声网络中基于握手的MAC协议。According to the channel acquisition method of the protocol, the MAC protocol is divided into a scheduling-based MAC protocol and a contention-based MAC protocol. Due to the narrow available frequency band of the underwater acoustic channel, it is difficult to use the scheduling-based FDMA. Scheduling-based TDMA requires accurate synchronization of clocks and guard intervals of each node, which is very difficult in underwater acoustic networks with high propagation delay and random space-time frequency variation. Scheduling-based CDMA is rarely used because of its high computational complexity. Therefore, contention-based MAC protocols are more suitable for underwater acoustic networks. Competition-based MAC protocols can be further divided into ALOHA-based MAC protocols and handshake-based MAC protocols. This application mainly studies the MAC protocol based on handshake in the multi-diving underwater acoustic network.
基于握手的MAC协议通过RTS/CTS握手来预约信道,解决隐藏终端和暴露终端问题。在参考文献1《Affan A.Syed,Wei Ye,Jobn Heidemann.T-Lohi:A New Class of MACProtocols For Underwater Acoustic Sensor Networks[C].The27th Conference onComputer Communications,Phoenix,2008:231-235》所披露的T-Lohi协议中,使用短的唤醒信号预约信道来防止数据包的碰撞,对于分布式、短距离、密集型网络,T-Lohi能提供吞吐量稳定、能量利用率高的网络服务。在参考文献2《X.Guo,M.R.Frater,andM.J.Ryan.Design of a Propagation-Delay-Tolerant MAC Protocol for UnderwaterAcoustic Sensor Networks[J].Oceanic Engineering,2009,34(2):170-180》中,通过规定CTS的回复时间来减小水声信道高传播延时的影响,从而提高网络的吞吐量。在参考文献3《Nitthita Chirdchoo,Wee-Seng Soh,and Kee Chaing Chua.RIPT:A Receiver-initiated Reservation-based Protocol for Underwater Acoustic Networks[J].Selected Areas in Communications,2008,26(9):1744-1753》中提出一种通过接收端来初始化通信过程的随机接入MAC协议,使它的所有邻节点以数据包队列的方式把待发送的数据包发送给接收端。在参考文献4《Dong Fang,Yu Li,Haining Huang,Li Yin.A CSMA/CA-based MAC Protocol for Underwater Acoustic Networks[C].6th InternationalConference on Wireless Communications,Networking and Mobile Computing,Chengdu,2010:1-4》中设计一种适用于水声网络的MAC协议,将其命名为UW-CSMA/CA协议,基于该协议的多址接入方法采用坚持等待的策略,减少退避次数,从而提高网络的吞吐量。The handshake-based MAC protocol uses RTS/CTS handshake to reserve channels to solve the problem of hidden terminals and exposed terminals. Disclosed in reference 1 "Affan A. Syed, Wei Ye, Jobn Heidemann. T-Lohi: A New Class of MAC Protocols For Underwater Acoustic Sensor Networks [C]. The27th Conference on Computer Communications, Phoenix, 2008: 231-235" In the T-Lohi protocol, short wake-up signals are used to reserve channels to prevent data packet collisions. For distributed, short-distance, and dense networks, T-Lohi can provide network services with stable throughput and high energy utilization. In reference 2 "X.Guo, M.R.Frater, and M.J.Ryan.Design of a Propagation-Delay-Tolerant MAC Protocol for UnderwaterAcoustic Sensor Networks[J].Oceanic Engineering,2009,34(2):170-180" In this paper, the influence of high propagation delay of underwater acoustic channel is reduced by specifying the reply time of CTS, so as to improve the throughput of the network. In reference 3 "Nitthita Chirdchoo, Wee-Seng Soh, and Kee Chaing Chua. RIPT: A Receiver-initiated Reservation-based Protocol for Underwater Acoustic Networks [J]. Selected Areas in Communications, 2008,26(9):1744- 1753" proposed a random access MAC protocol that initializes the communication process through the receiving end, so that all its neighboring nodes send the data packets to be sent to the receiving end in the form of data packet queues. In reference 4 "Dong Fang, Yu Li, Haining Huang, Li Yin. A CSMA/CA-based MAC Protocol for Underwater Acoustic Networks [C]. 6th International Conference on Wireless Communications, Networking and Mobile Computing, Chengdu, 2010: 1- In 4", a MAC protocol suitable for underwater acoustic networks is designed, and it is named UW-CSMA/CA protocol. The multiple access method based on this protocol adopts the strategy of persistent waiting to reduce the number of back-offs, thereby improving the throughput of the network. quantity.
在UW-CSMA/CA协议中,将RTS、CTS、DATA、ACK的持续时间分别标记为TRTS、TCTS、TDATA、TACK,将最大传播延迟标记为τmax。基于UW-CSMA/CA协议,水声网络中的节点可能处于六种状态:IDLE、CTD、WFCTS、WFDATA、WFACK和QUIET。In the UW-CSMA/CA protocol, the durations of RTS, CTS, DATA, and ACK are respectively marked as T RTS , T CTS , T DATA , and T ACK , and the maximum propagation delay is marked as τ max . Based on the UW-CSMA/CA protocol, the nodes in the underwater acoustic network may be in six states: IDLE, CTD, WFCTS, WFDATA, WFACK, and QUIET.
参考图1,在UW-CSMA/CA协议中,水声网络中各个节点之间的基本通信过程如下:当源节点S有数据包需要发送时,节点状态从IDLE转到CTD,当CTD状态结束,源节点S会发送RTS并转到WFCTS状态,设置超时时间为2τmax+TCTS;目的节点D接收到RTS后,立即发送CTS并转入WFDATA状态,设置超时时间为2τmax+TDATA;源节点S接收到CTS后,立即发送DATA并转入WFACK状态,设置超时时间为2τmax+TACK;目的节点D接收到DATA后,立即发送ACK并结束本次通信(图1中的曲线箭头表示节点结束本次握手通信);源节点S接收到ACK后结束本次通信。Referring to Figure 1, in the UW-CSMA/CA protocol, the basic communication process between the nodes in the underwater acoustic network is as follows: when the source node S has data packets to send, the node state changes from IDLE to CTD, and when the CTD state ends , the source node S will send RTS and turn to the WFCTS state, set the timeout period to 2τ max +T CTS ; after receiving the RTS, the destination node D will immediately send a CTS and turn to the WFDATA state, and set the timeout period to 2τ max +T DATA ; After receiving the CTS, the source node S immediately sends DATA and enters the WFACK state, and sets the timeout period to 2τ max + T ACK ; after the destination node D receives the DATA, it immediately sends an ACK and ends the communication (curved arrow in Figure 1 Indicates that the node ends this handshake communication); the source node S ends this communication after receiving the ACK.
以上是对水声网络中节点间基本通信过程的描述。在实际应用中,由于水声网络环境的复杂性,节点需要对各种可能的状况加以应对,在多址接入方法中对节点如何处理各种可能的状况做了描述,下面对UW-CSMA/CA协议中的多址接入方法做相应的说明。The above is the description of the basic communication process between nodes in the underwater acoustic network. In practical applications, due to the complexity of the underwater acoustic network environment, nodes need to deal with various possible situations. In the multiple access method, how nodes deal with various possible situations is described. The UW- The multiple access method in the CSMA/CA protocol is described accordingly.
设节点X为水声网络中的任一节点。Let node X be any node in the underwater acoustic network.
步骤1)、节点X处于睡眠状态或等待状态,如果该节点接收到声学唤醒信号,转到步骤2);如果退避超时且自身有数据要发送,则转到步骤8);如果静默超时且有暂停的退避,则继续退避,并继续处于睡眠状态或等待状态;如果静默超时且无暂停的退避,则继续处于睡眠状态或等待状态;如果自身有数据要发送且不处于退避或静默状态,则设定退避定时器后,继续处于睡眠状态或等待状态,如果自身有数据要发送且处于退避或静默状态,则继续处于睡眠状态或等待状态。Step 1), node X is in sleep state or waiting state, if the node receives an acoustic wake-up signal, go to step 2); if the backoff timeout and it has data to send, go to step 8); if the silence timeout and there is If the backoff is paused, it will continue to backoff, and continue to be in the sleeping or waiting state; if the silence times out and there is no paused backoff, it will continue to be in the sleeping or waiting state; if it has data to send and is not in the backing off or silent state, then After setting the backoff timer, it will continue to be in the sleeping state or waiting state. If it has data to send and is in the backoff or silent state, it will continue to be in the sleeping state or waiting state.
步骤2)、节点X被唤醒,转入网络控制帧接收状态。Step 2), node X wakes up and enters the state of receiving network control frames.
步骤3)、如果接收超时则转到步骤1),如果接收校验错误,则转到步骤1);若接收到网络控制帧,对网络控制帧的目的地址进行检查,如果目的地址不是节点X,则进入静默状态,然后转到步骤1),如果目的地址是节点X且不处于静默,则转到步骤4),如果目的地址是节点X且处于静默,则转到步骤1)。Step 3), if the receiving timeout, go to step 1), if the receiving verification is wrong, go to step 1); if the network control frame is received, check the destination address of the network control frame, if the destination address is not node X , then enter the silent state, and then go to step 1), if the destination address is node X and is not silent, then go to step 4), if the destination address is node X and is silent, then go to step 1).
步骤4)、对所接收到的网络控制帧的类型进行判断,如果控制帧类型为RTS,转到步骤5),如果为其他类型,则转到步骤1);Step 4), judge the type of the received network control frame, if the control frame type is RTS, go to step 5), if it is other types, go to step 1);
步骤5)、节点X向源节点应答CTS,然后设置超时定时器TWFDATA=2×τmax+TDATA,其中,τmax为最大传播延迟,TDATA为DATA的持续时间。Step 5), node X replies CTS to the source node, and then sets the timeout timer T WFDATA =2×τ max +T DATA , where τ max is the maximum propagation delay, and T DATA is the duration of DATA.
步骤6)、节点X等待DATA,如果在超时前接收到DATA,则转到步骤7),否则转到步骤1)。Step 6), node X waits for DATA, if DATA is received before timeout, go to step 7), otherwise go to step 1).
步骤7)、关闭超时定时器,然后对所接收到的DATA进行校验,如果校验正确把DATA传递给网络层,如果不正确丢弃DATA;接着根据校验结果回复ACK,最后重新执行步骤1)。Step 7), turn off the timeout timer, and then verify the received DATA, if the verification is correct, pass the DATA to the network layer, if not, discard the DATA; then reply ACK according to the verification result, and finally re-execute step 1 ).
步骤8)、节点X发送RTS,并设置超时定时器TWFCTS=2×τmax+TCTS,其中,τmax为最大传播延迟,TCTS为CTS的持续时间。Step 8), node X sends RTS, and sets a timeout timer T WFCTS =2×τ max +T CTS , where τ max is the maximum propagation delay, and T CTS is the duration of CTS.
步骤9)、节点X等待目的节点的CTS,如果在超时前正确接收到网络控制帧,则转到步骤10),如果校验错误或超时,则关闭超时定时器,退避次数加1,然后转到步骤1)。Step 9), node X waits for the CTS of the destination node, if the network control frame is correctly received before the timeout, then go to step 10), if the verification error or timeout, turn off the timeout timer, add 1 to the number of backoffs, and then turn to to step 1).
步骤10)、节点X判断接收到的网络控制帧类型,如果接收到网络控制帧为要传输给节点X的CTS,则关闭超时定时器,转到步骤0;如果接收的网络控制帧为要传输给其他节点的CTS或DATA,则关闭超时定时器,退避次数加1,设置静默定时器,转到步骤1)0;如果接收到的网络控制帧类型为RTS,则丢弃该RTS,然后转到步骤9)。Step 10), node X judges the type of the received network control frame, if the received network control frame is a CTS to be transmitted to node X, then close the timeout timer and go to step 0; if the received network control frame is to be transmitted For the CTS or DATA of other nodes, turn off the timeout timer, add 1 to the number of backoffs, set the silent timer, and go to step 1) 0; if the received network control frame type is RTS, discard the RTS, and then go to Step 9).
步骤11)、节点X发送DATA,然后设置超时定时器TWFACK=2×τmax+TACK,其中,τmax为最大传播延迟,TACK为ACK的持续时间。Step 11), node X sends DATA, and then sets the timeout timer T WFACK =2×τ max +T ACK , where τ max is the maximum propagation delay, and T ACK is the duration of ACK.
步骤12)、节点X等待目的节点的ACK,如果在超时前接收到网络控制帧,且所接收网络控制帧校验正确,则转到步骤13),如果所接收网络控制帧校验错误,则继续等待目的节点的ACK;如果超时则退避次数加1,然后转到步骤1)。Step 12), node X waits for the ACK of the destination node, if the network control frame is received before the timeout, and the received network control frame is verified correctly, go to step 13), if the received network control frame is verified incorrectly, then Continue to wait for the ACK of the destination node; if it times out, add 1 to the number of backoffs, and then go to step 1).
步骤13)、节点X判断接收到的网络控制帧类型,如果接收到网络控制帧为给节点X的ACK,则关闭超时定时器,然后转到步骤12),否则转到步骤12)。Step 13), node X judges the type of the received network control frame, if the received network control frame is an ACK for node X, turn off the timeout timer, and then go to step 12), otherwise go to step 12).
步骤14)、节点X判断ACK中的校验位。如果校验正确,则退避次数清零,转到步骤1),否则退避次数加1,然后转到步骤1)。Step 14), Node X judges the parity bit in the ACK. If the verification is correct, the number of backoffs is cleared, and then go to step 1), otherwise, the number of backoffs is increased by 1, and then go to step 1).
以上是对现有UW-CSMA/CA协议中的多址接入方法的步骤描述。从上面的说明可以看出,该方法采用了坚持等待的思想,例如:在步骤6)中,节点坚持等待相应的CTS,丢弃任何RTS,直到收到CTS或超时;在步骤12)和步骤13)中,节点坚持等待相应的ACK;丢弃任何其它帧,直到收到ACK或超时。但在一些状态下,根据监听到的帧的类型可以判断节点不会等到期望的帧,如果继续等待会浪费时间,不利于提高了协议在水声环境中的吞吐量。The above is a description of the steps of the multiple access method in the existing UW-CSMA/CA protocol. As can be seen from the above description, this method adopts the idea of persistent waiting, for example: in step 6), the node persists in waiting for the corresponding CTS, and discards any RTS until it receives a CTS or times out; in step 12) and step 13 ), the node persists in waiting for the corresponding ACK; any other frames are discarded until an ACK is received or a timeout occurs. But in some states, according to the type of the monitored frame, it can be judged that the node will not wait for the expected frame. If it continues to wait, it will waste time, which is not conducive to improving the throughput of the protocol in the underwater acoustic environment.
发明内容Contents of the invention
本发明的目的在于减少现有UW-CSMA/CA协议中节点采用坚持等待思想所浪费的时间,提高UW-CSMA/CA协议在水声环境中的吞吐量。The purpose of the present invention is to reduce the time wasted by the nodes in the existing UW-CSMA/CA protocol by insisting on waiting, and improve the throughput of the UW-CSMA/CA protocol in the underwater acoustic environment.
为了实现上述目的,本发明提供了一种水声网络通信中基于UW-CSMA/CA的多址接入方法,包括:In order to achieve the above object, the present invention provides a UW-CSMA/CA-based multiple access method in underwater acoustic network communication, including:
步骤1)、节点X处于睡眠状态或等待状态;如果该节点接收到声学唤醒信号,转到步骤2);如果退避超时且自身有数据要发送,则转到步骤8);如果静默超时且有暂停的退避,则继续退避,并继续处于睡眠状态或等待状态;如果静默超时且无暂停的退避,则继续处于睡眠状态或等待状态;如果自身有数据要发送且不处于退避或静默状态则设定退避定时器,然后继续处于睡眠状态或等待状态,如果自身有数据要发送且处于退避或静默状态,则继续处于睡眠状态或等待状态;Step 1), node X is in sleep state or waiting state; if the node receives an acoustic wake-up signal, go to step 2); if the backoff timeout and it has data to send, go to step 8); if the silence timeout and there is If the backoff is paused, it will continue to backoff and continue to be in the sleeping or waiting state; if the silence times out and there is no paused backoff, it will continue to be in the sleeping or waiting state; if it has data to send and is not in the backing off or silent state, set Set the backoff timer, and then continue to sleep or wait. If it has data to send and is in the backoff or silent state, it will continue to sleep or wait;
步骤2)、节点X被唤醒,转入网络控制帧接收状态;Step 2), node X wakes up, and enters the state of receiving network control frames;
步骤3)、如果接收超时则转到步骤1),如果接收校验错误,则转到步骤1);若接收到网络控制帧,对所接收网络控制帧的目的地址进行检查,如果目的地址不是节点X,则进入静默状态,然后转到步骤1),如果目的地址是节点X且不处于静默,则转到步骤4),如果目的地址是节点X且处于静默,则转到步骤1);Step 3), if the receiving timeout, go to step 1), if the receiving verification is wrong, go to step 1); if a network control frame is received, check the destination address of the received network control frame, if the destination address is not Node X, then enter the quiet state, and then go to step 1), if the destination address is node X and is not quiet, then go to step 4), if the destination address is node X and is quiet, then go to step 1);
步骤4)、对所接收到的网络控制帧的类型进行判断,如果控制帧类型为RTS,转到步骤5),如果为其他类型,则转到步骤1);Step 4), judge the type of the received network control frame, if the control frame type is RTS, go to step 5), if it is other types, go to step 1);
步骤5)、节点X向源节点应答CTS,然后设置超时定时器TWFDATA=2×τmax+TDATA,其中,τmax为最大传播延迟,TDATA为DATA的持续时间;Step 5), node X replies CTS to the source node, and then sets the timeout timer T WFDATA =2×τ max +T DATA , where τ max is the maximum propagation delay, and T DATA is the duration of DATA;
步骤6)、节点X等待DATA,如果在超时前接收到DATA,则转到步骤7),如果节点收到源节点发给本节点的RTS,则转到步骤5);如果节点收到源节点发给其他节点的xRTS或xCTS时,立即结束等待DATA,并进入静默状态,设置静默定时器,转到步骤1);如果节点监听到任何xDATA,则进入静默状态,设置静默定时器,转到步骤1),否则转到步骤1);Step 6), node X waits for DATA, if it receives DATA before the timeout, then go to step 7), if the node receives the RTS sent by the source node to the node, then go to step 5); if the node receives the source node When sending xRTS or xCTS to other nodes, immediately end waiting for DATA, and enter the silent state, set the silent timer, go to step 1); if the node listens to any xDATA, enter the silent state, set the silent timer, go to step 1), else go to step 1);
步骤7)、关闭超时定时器,然后对所接收到的DATA进行校验,如果校验正确把DATA传递给网络层,如果不正确丢弃DATA;接着根据校验结果回复ACK,最后重新转到步骤1);Step 7), turn off the timeout timer, and then verify the received DATA, if the verification is correct, pass the DATA to the network layer, if it is incorrect, discard the DATA; then reply ACK according to the verification result, and finally go to the step again 1);
步骤8)、节点X发送RTS,并设置超时定时器TWFCTS=2×τmax+TCTS,其中,TCTS为CTS的持续时间;Step 8), node X sends RTS, and sets the timeout timer T WFCTS =2×τ max +T CTS , where T CTS is the duration of CTS;
步骤9)、节点X等待目的节点的CTS,如果在超时前正确接收到网络控制帧,则转到步骤10),如果校验错误或超时则关闭超时定时器,退避次数加1,然后转到步骤1);Step 9), node X waits for the CTS of the destination node, if the network control frame is correctly received before the timeout, then go to step 10), if the verification error or timeout, turn off the timeout timer, add 1 to the number of backoffs, and then go to step 1);
步骤10)、节点X判断接收到的网络控制帧类型,如果接收到网络控制帧为要传输给节点X的CTS,则关闭超时定时器,转到步骤11);如果接收到的网络控制帧为要传输给其他节点的CTS或DATA,则关闭超时定时器,退避次数加1,设置静默定时器,转到步骤1);如果接收到的网络控制帧为目的节点发给节点X的RTS,则退避次数加1,然后转到步骤1);如果接收到的网络控制帧为其他节点发给节点X的RTS,则转到步骤5),待DATA接收结束后再退避重发需要发送的DATA;如果接收到的网络控制帧为其他节点发给目的节点的RTS或其他节点之间互相发送的RTS,则丢弃该RTS,然后转到步骤9);Step 10), node X judges the type of the received network control frame, if the received network control frame is a CTS to be transmitted to node X, then close the timeout timer, go to step 11); if the received network control frame is For the CTS or DATA to be transmitted to other nodes, turn off the timeout timer, add 1 to the number of backoffs, set the silence timer, and go to step 1); if the received network control frame is the RTS sent by the destination node to node X, then Add 1 to the number of backoffs, and then go to step 1); if the received network control frame is an RTS sent by other nodes to node X, then go to step 5), and then back off and resend the DATA to be sent after the DATA is received; If the received network control frame is the RTS sent by other nodes to the destination node or the RTS sent between other nodes, discard the RTS, and then go to step 9);
步骤11)、节点X发送DATA,然后设置超时定时器TWFACK=2×τmax+TACK,其中,TACK为ACK的持续时间;Step 11), node X sends DATA, and then sets the timeout timer T WFACK = 2×τ max + T ACK , where T ACK is the duration of ACK;
步骤12)、节点X等待目的节点的ACK,如果在超时前正确接收到网络控制帧,则转到步骤13);如果校验错误则转到步骤12);如果超时则退避次数加1,转到步骤1);Step 12), node X waits for the ACK of the destination node, if the network control frame is correctly received before the timeout, then go to step 13); if the verification is wrong, go to step 12); if it times out, add 1 to the number of backoffs, go to to step 1);
步骤13)、节点X判断接收到的网络控制帧类型,如果接收到网络控制帧为给节点X的ACK,则关闭超时定时器,转到步骤14);如果接收到目的节点发给本节点的RTS,则转到步骤5),待DATA接收结束后再退避重发需要发送的DATA;如果节点收到目的节点发给其他节点的xRTS、xCTS、xDATA时,立即结束等待ACK并进入QUIET状态,设置静默定时器,再转到步骤1),待步骤1)结束后再退避重发;否则转到步骤12);Step 13), node X judges the type of the received network control frame, if the received network control frame is an ACK for node X, then close the timeout timer, and go to step 14); RTS, then go to step 5), wait for the DATA to be received, and then back off and resend the DATA to be sent; if the node receives the xRTS, xCTS, and xDATA sent by the destination node to other nodes, it immediately stops waiting for ACK and enters the QUIET state. Set the silence timer, then go to step 1), and then back off and resend after step 1); otherwise, go to step 12);
步骤14)、节点X判断ACK中的校验位。如果校验正确,则退避次数清零,转到步骤1);否则退避次数加1,转到步骤1)。Step 14), Node X judges the parity bit in the ACK. If the verification is correct, the number of backoffs is cleared, and go to step 1); otherwise, the number of backoffs is increased by 1, and go to step 1).
本发明的优点在于:减少现有UW-CSMA/CA协议中节点采用坚持等待思想所浪费的时间,具体为:The present invention has the advantages of reducing the time wasted by nodes in the existing UW-CSMA/CA protocol by insisting on waiting, specifically:
(1)当节点处于WFCTS状态时,如果节点收到目的节点发给本节点的RTS,则进入退避状态并重新竞争信道;如果节点收到其他节点发给本节点的RTS,则回复CTS,进入WFDTA状态;如果收到不是发给本节点的RTS,丢弃并坚持等待相应的CTS;如果节点监听到任何xCTS、xDATA,则进入静默状态。(1) When the node is in the WFCTS state, if the node receives the RTS sent by the destination node to the node, it will enter the back-off state and re-compete for the channel; if the node receives the RTS sent by other nodes to the node, it will reply to the CTS and enter WFDTA state; if it receives an RTS that is not sent to the node, it discards and waits for the corresponding CTS; if the node monitors any xCTS, xDATA, it enters a silent state.
(2)当节点处于WFDATA状态时,如果节点收到源节点发给本节点的RTS,则回复CTS,重新设置WFDATA状态的超时时间;如果节点收到源节点发给其他节点的xRTS、xCTS时,立即结束等待DATA并进入QUIET状态;如果节点监听到任何xDATA,则进入静默状态。否则,坚持等待相应的DATA直到超时。(2) When the node is in the WFDATA state, if the node receives the RTS sent by the source node to the node, it will reply to the CTS and reset the timeout period of the WFDATA state; if the node receives the xRTS and xCTS sent by the source node to other nodes , immediately end waiting for DATA and enter the QUIET state; if the node listens to any xDATA, it enters the silent state. Otherwise, keep waiting for the corresponding DATA until timeout.
(3)当节点处于WFACK状态时,如果节点收到目的节点发给本节点的RTS,则回复CTS,转入接收的WFDATA状态,接收结束后再退避重发;如果节点收到目的节点发给其他节点的xRTS、xCTS、xDATA时,立即结束等待ACK并进入QUIET状态,静默结束后再退避重发;否则,坚持等待相应的ACK直到超时。(3) When the node is in the WFACK state, if the node receives the RTS sent by the destination node to the node, it will reply CTS, transfer to the received WFDATA state, and then back off and resend after receiving; if the node receives the RTS sent by the destination node When other nodes receive xRTS, xCTS, and xDATA, immediately stop waiting for ACK and enter the QUIET state, and back off and resend after the silence ends; otherwise, keep waiting for the corresponding ACK until timeout.
本发明较现有技术相比在吞吐量上有明显的提高。Compared with the prior art, the present invention has obvious improvement in throughput.
附图说明Description of drawings
图1是是在现有的UW-CSMA/CA协议中,水声网络通信节点间的通信过程的示意图;FIG. 1 is a schematic diagram of the communication process between communication nodes of the underwater acoustic network in the existing UW-CSMA/CA protocol;
图2是本发明的多址接入方法的流程图;Fig. 2 is a flow chart of the multiple access method of the present invention;
图3是本发明在进行仿真时所采用的网络拓扑结构示意图;Fig. 3 is the network topology structure schematic diagram that the present invention adopts when carrying out emulation;
图4为采用本发明的多址接入方法的水声网络通信方法与现有技术在数据包长度为128Bytes、256Bytes和512Bytes下的吞吐量进行仿真的比较结果示意图,仿真中通信速率为1024bps,平均网格间距为1000m;Fig. 4 is a schematic diagram of the comparison results of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art when the data packet length is 128Bytes, 256Bytes and 512Bytes, the communication rate in the simulation is 1024bps, The average grid spacing is 1000m;
图5为采用本发明的多址接入方法的水声网络通信方法与现有技术在数据包长度为128Bytes、256Bytes和512Bytes下的吞吐量进行仿真的比较结果示意图,仿真中通信速率为2048bps,平均网格间距为1000m;Fig. 5 is a schematic diagram of the comparison result of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art when the data packet length is 128Bytes, 256Bytes and 512Bytes, the communication rate in the simulation is 2048bps, The average grid spacing is 1000m;
图6为采用本发明的多址接入方法的水声网络通信方法与现有技术在数据包长度为128Bytes、256Bytes和512Bytes下的吞吐量进行仿真的比较结果示意图,仿真中通信速率为4096bps,平均网格间距为1000m;Fig. 6 is a schematic diagram of the comparison result of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art when the data packet length is 128Bytes, 256Bytes and 512Bytes, the communication rate in the simulation is 4096bps, The average grid spacing is 1000m;
图7为采用本发明的多址接入方法的水声网络通信方法与现有技术在通信速率为1024bps、2048bps和4096bps下的吞吐量进行仿真的比较结果示意图,仿真中数据包长度为128Bytes,平均网格间距为1000m;Fig. 7 is a schematic diagram of the comparison results of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art at a communication rate of 1024bps, 2048bps and 4096bps, and the length of the data packet in the simulation is 128Bytes, The average grid spacing is 1000m;
图8为采用本发明的多址接入方法的水声网络通信方法与现有技术在通信速率为1024bps、2048bps和4096bps下的吞吐量进行仿真的比较结果示意图,仿真中数据包长度为256Bytes,平均网格间距为1000m;Fig. 8 is a schematic diagram of the comparison results of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art at communication rates of 1024bps, 2048bps and 4096bps, and the length of the data packet in the simulation is 256Bytes, The average grid spacing is 1000m;
图9为采用本发明的多址接入方法的水声网络通信方法与现有技术在通信速率为1024bps、2048bps和4096bps下的吞吐量进行仿真的比较结果示意图,仿真中数据包长度为512Bytes,平均网格间距为1000m;Fig. 9 is a schematic diagram of the comparison results of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art at communication rates of 1024bps, 2048bps and 4096bps, the length of the data packet in the simulation is 512Bytes, The average grid spacing is 1000m;
图10为采用本发明的多址接入方法的水声网络通信方法与现有技术在平均网格间距为500m、1000m和2000m下的吞吐量进行仿真的比较结果示意图,仿真中数据包长度为256Bytes,通信速率为2048bps。Fig. 10 is a schematic diagram of the comparison results of simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art when the average grid spacing is 500m, 1000m and 2000m, and the length of the data packet in the simulation is 256Bytes, the communication rate is 2048bps.
具体实施方式detailed description
现结合附图对本发明作进一步的描述。The present invention will be further described now in conjunction with accompanying drawing.
参考图2,假设节点X为水声网络中任一节点,本发明的方法包括以下步骤:With reference to Fig. 2, assume that node X is any node in the underwater acoustic network, the method of the present invention comprises the following steps:
步骤1)、节点X处于睡眠状态或等待状态。如果该节点接收到声学唤醒信号,转到步骤2);如果退避超时且自身有数据要发送,则转到步骤8);如果静默超时且有暂停的退避,则继续退避,并继续处于睡眠状态或等待状态;如果静默超时且无暂停的退避,则继续处于睡眠状态或等待状态;如果自身有数据要发送且不处于退避或静默状态则设定退避定时器,然后继续处于睡眠状态或等待状态,如果自身有数据要发送且处于退避或静默状态,则继续处于睡眠状态或等待状态。Step 1), node X is in sleep state or waiting state. If the node receives an acoustic wakeup signal, go to step 2); if the backoff timeout and it has data to send, go to step 8); if the silence timeout and there is a paused backoff, continue to backoff and stay in the sleep state or waiting state; if the silence times out and there is no pause backoff, it will continue to sleep or wait; if it has data to send and is not in the backoff or silence state, set the backoff timer, and then continue to sleep or wait , if it has data to send and is in the backoff or silent state, it will continue to sleep or wait.
步骤2)、节点X被唤醒,转入网络控制帧接收状态。Step 2), node X wakes up and enters the state of receiving network control frames.
步骤3)、如果接收超时则转到步骤1),如果接收校验错误,则转到步骤1);若接收到网络控制帧,对所接收网络控制帧的目的地址进行检查,如果目的地址不是节点X,则进入静默状态,然后转到步骤1),如果目的地址是节点X且不处于静默,则转到步骤4),如果目的地址是节点X且处于静默,则转到步骤1)。Step 3), if the receiving timeout, go to step 1), if the receiving verification is wrong, go to step 1); if a network control frame is received, check the destination address of the received network control frame, if the destination address is not Node X, then enter the quiet state, and then go to step 1), if the destination address is node X and is not quiet, then go to step 4), if the destination address is node X and is quiet, then go to step 1).
步骤4)、对所接收到的网络控制帧的类型进行判断,如果控制帧类型为RTS,转到步骤5),如果为其他类型,则转到步骤1);Step 4), judge the type of the received network control frame, if the control frame type is RTS, go to step 5), if it is other types, go to step 1);
步骤5)、节点X向源节点应答CTS,然后设置超时定时器TWFDATA=2×τmax+TDATA,其中,τmax为最大传播延迟,TDATA为DATA的持续时间;Step 5), node X replies CTS to the source node, and then sets the timeout timer T WFDATA =2×τ max +T DATA , where τ max is the maximum propagation delay, and T DATA is the duration of DATA;
步骤6)、节点X等待DATA,如果在超时前接收到DATA,则转到步骤7),如果节点收到源节点发给本节点的RTS,则转到步骤5);如果节点收到源节点发给其他节点的xRTS或xCTS时,立即结束等待DATA,并进入静默状态,设置静默定时器,转到步骤1);如果节点监听到任何xDATA,则进入静默状态,设置静默定时器,转到步骤1),否则转到步骤1)。Step 6), node X waits for DATA, if it receives DATA before the timeout, then go to step 7), if the node receives the RTS sent by the source node to the node, then go to step 5); if the node receives the source node When sending xRTS or xCTS to other nodes, immediately end waiting for DATA, and enter the silent state, set the silent timer, go to step 1); if the node listens to any xDATA, enter the silent state, set the silent timer, go to step 1), else go to step 1).
步骤7)、关闭超时定时器,然后对所接收到的DATA进行校验,如果校验正确把DATA传递给网络层,如果不正确丢弃DATA;接着根据校验结果回复ACK,最后重新转到步骤1)。Step 7), turn off the timeout timer, and then verify the received DATA, if the verification is correct, pass the DATA to the network layer, if it is incorrect, discard the DATA; then reply ACK according to the verification result, and finally go to the step again 1).
步骤8)、节点X发送RTS,并设置超时定时器TWFCTS=2×τmax+TCTS,其中,τmax为最大传播延迟,TCTS为CTS的持续时间。Step 8), node X sends RTS, and sets a timeout timer T WFCTS =2×τ max +T CTS , where τ max is the maximum propagation delay, and T CTS is the duration of CTS.
步骤9)、节点X等待目的节点的CTS,如果在超时前正确接收到网络控制帧,则转到步骤10),如果校验错误或超时则关闭超时定时器,退避次数加1,然后转到步骤1)。Step 9), node X waits for the CTS of the destination node, if the network control frame is correctly received before the timeout, then go to step 10), if the verification error or timeout, turn off the timeout timer, add 1 to the number of backoffs, and then go to step 1).
步骤10)、节点X判断接收到的网络控制帧类型,如果接收到网络控制帧为要传输给节点X的CTS,则关闭超时定时器,转到步骤11);如果接收到的网络控制帧为要传输给其他节点的CTS或DATA,则关闭超时定时器,退避次数加1,设置静默定时器,转到步骤1);如果接收到的网络控制帧为目的节点发给节点X的RTS,则退避次数加1,然后转到步骤1);如果接收到的网络控制帧为其他节点发给节点X的RTS,则转到步骤5),待DATA接收结束后再退避重发需要发送的DATA;如果接收到的网络控制帧为其他节点发给目的节点的RTS或其他节点之间互相发送的RTS,则丢弃该RTS,然后转到步骤9)。Step 10), node X judges the type of the received network control frame, if the received network control frame is a CTS to be transmitted to node X, then close the timeout timer, go to step 11); if the received network control frame is For the CTS or DATA to be transmitted to other nodes, turn off the timeout timer, add 1 to the number of backoffs, set the silence timer, and go to step 1); if the received network control frame is the RTS sent by the destination node to node X, then Add 1 to the number of backoffs, and then go to step 1); if the received network control frame is an RTS sent by other nodes to node X, then go to step 5), and then back off and resend the DATA to be sent after the DATA is received; If the received network control frame is an RTS sent by other nodes to the destination node or an RTS sent between other nodes, discard the RTS, and then go to step 9).
步骤11)、节点X发送DATA,然后设置超时定时器TWFACK=2×τmax+TACK,其中,τmax为最大传播延迟,TACK为ACK的持续时间。Step 11), node X sends DATA, and then sets the timeout timer T WFACK =2×τ max +T ACK , where τ max is the maximum propagation delay, and T ACK is the duration of ACK.
步骤12)、节点X等待目的节点的ACK,如果在超时前正确接收到网络控制帧,则转到步骤13);如果校验错误则转到步骤12);如果超时则退避次数加1,转到步骤1)。Step 12), node X waits for the ACK of the destination node, if the network control frame is correctly received before the timeout, then go to step 13); if the verification is wrong, go to step 12); if it times out, add 1 to the number of backoffs, go to to step 1).
步骤13)、节点X判断接收到的网络控制帧类型,如果接收到网络控制帧为给节点X的ACK,则关闭超时定时器,转到步骤14);如果接收到目的节点发给本节点的RTS,则转到步骤5),待DATA接收结束后再退避重发需要发送的DATA;如果节点收到目的节点发给其他节点的xRTS、xCTS、xDATA时,立即结束等待ACK并进入QUIET状态,设置静默定时器,再转到步骤1),待步骤1)结束后再退避重发;否则转到步骤12)。Step 13), node X judges the type of the received network control frame, if the received network control frame is an ACK for node X, then close the timeout timer, and go to step 14); RTS, then go to step 5), wait for the DATA to be received, and then back off and resend the DATA to be sent; if the node receives the xRTS, xCTS, and xDATA sent by the destination node to other nodes, it immediately stops waiting for ACK and enters the QUIET state. Set the silence timer, then go to step 1), and then back off and resend after step 1) is over; otherwise, go to step 12).
步骤14)、节点X判断ACK中的校验位。如果校验正确,则退避次数清零,转到步骤1);否则退避次数加1,转到步骤1)。Step 14), Node X judges the parity bit in the ACK. If the verification is correct, the number of backoffs is cleared, and go to step 1); otherwise, the number of backoffs is increased by 1, and go to step 1).
以上是对本发明方法的基本步骤的描述,与现有技术相比,本发明方法在于减少现有UW-CSMA/CA协议中节点采用坚持等待思想所浪费的时间,具体为:The above is a description of the basic steps of the method of the present invention. Compared with the prior art, the method of the present invention is to reduce the time wasted by nodes in the existing UW-CSMA/CA protocol by insisting on waiting, specifically:
(1)当节点处于WFCTS状态时,如果节点收到目的节点发给本节点的RTS,则进入退避状态并重新竞争信道;如果节点收到其他节点发给本节点的RTS,则回复CTS,进入WFDTA状态;如果收到不是发给本节点的RTS,丢弃并坚持等待相应的CTS;如果节点监听到任何xCTS、xDATA,则进入静默状态。(1) When the node is in the WFCTS state, if the node receives the RTS sent by the destination node to the node, it will enter the back-off state and re-compete for the channel; if the node receives the RTS sent by other nodes to the node, it will reply to the CTS and enter WFDTA state; if it receives an RTS that is not sent to the node, it discards and waits for the corresponding CTS; if the node monitors any xCTS, xDATA, it enters a silent state.
(2)当节点处于WFDATA状态时,如果节点收到源节点发给本节点的RTS,则回复CTS,重新设置WFDATA状态的超时时间;如果节点收到源节点发给其他节点的xRTS、xCTS时,立即结束等待DATA并进入QUIET状态;如果节点监听到任何xDATA,则进入静默状态。否则,坚持等待相应的DATA直到超时。(2) When the node is in the WFDATA state, if the node receives the RTS sent by the source node to the node, it will reply to the CTS and reset the timeout period of the WFDATA state; if the node receives the xRTS and xCTS sent by the source node to other nodes , immediately end waiting for DATA and enter the QUIET state; if the node listens to any xDATA, it enters the silent state. Otherwise, keep waiting for the corresponding DATA until timeout.
(3)当节点处于WFACK状态时,如果节点收到目的节点发给本节点的RTS,则回复CTS,转入接收的WFDATA状态,接收结束后再退避重发;如果节点收到目的节点发给其他节点的xRTS、xCTS、xDATA时,立即结束等待ACK并进入QUIET状态,静默结束后再退避重发;否则,坚持等待相应的ACK直到超时。(3) When the node is in the WFACK state, if the node receives the RTS sent by the destination node to the node, it will reply CTS, transfer to the received WFDATA state, and then back off and resend after receiving; if the node receives the RTS sent by the destination node When other nodes receive xRTS, xCTS, and xDATA, immediately stop waiting for ACK and enter the QUIET state, and back off and resend after the silence ends; otherwise, keep waiting for the corresponding ACK until timeout.
因此,本发明的方法在吞吐量上有了明显的提高。Therefore, the method of the present invention has a significant increase in throughput.
下面通过仿真对本发明方法与现有技术进行比较。Next, the method of the present invention is compared with the prior art through simulation.
在本发明中采用NS2进行仿真分析,仿真采用的网络拓扑结构如图3所示,36个静态节点(图3中的黑色节点)形成6×6的正方形分布。节点并非精确的位于网格的交叉点上,而是在水平方向和竖直方向均引入10%网格间距的随机偏移。节点的最大通信距离为网格间距的1.75倍,这样,每个节点均有8个一跳邻节点和16个两跳邻节点。仿真中,36个节点均按泊松分布产生数据包,且产生数据包的速率相同。节点产生的每个数据包均发往其任一两跳邻节点,且每个数据包发往16个两跳邻节点的概率相同。为了使边界上的节点也有16个两跳邻节点,需要对边界进行扩展,即在四个方向上都扩展两层节点(灰色节点),但是这些额外的节点不会产生数据流,仅作为边界节点的目标节点和转发节点存在。仿真采用静态路由,图中只表示出一个节点(圆形节点)的静态路由,其余节点的路由与之类似。In the present invention, NS2 is used for simulation analysis. The network topology used in the simulation is shown in Figure 3, and 36 static nodes (black nodes in Figure 3) form a 6×6 square distribution. Nodes are not exactly located at grid intersections, but a random offset of 10% grid spacing is introduced both horizontally and vertically. The maximum communication distance of a node is 1.75 times the grid spacing, so each node has 8 one-hop neighbors and 16 two-hop neighbors. In the simulation, all 36 nodes generate data packets according to Poisson distribution, and the rate of generating data packets is the same. Each data packet generated by a node is sent to any two-hop neighbor node, and each data packet has the same probability of being sent to 16 two-hop neighbor nodes. In order to make the nodes on the boundary also have 16 two-hop neighbor nodes, the boundary needs to be expanded, that is, two layers of nodes (gray nodes) are expanded in all four directions, but these additional nodes will not generate data flow, but only serve as the boundary Node's destination node and forwarding node exist. The simulation adopts static routing, and the figure only shows the static routing of one node (circular node), and the routing of other nodes is similar.
在本发明的仿真过程中,声速取1500m/s。在仿真过程中,对不同数据包长度、不同通信速率和不同网格间距下的现有技术(UW-CSMA/CA)和采用本发明的多址接入方法的水声网络通信方法的负载-吞吐量进行仿真比较。In the simulation process of the present invention, the speed of sound is taken as 1500m/s. In the simulation process, the load of the existing technology (UW-CSMA/CA) under different data packet lengths, different communication rates and different grid spacings and the underwater acoustic network communication method using the multiple access method of the present invention- Throughput for simulation comparison.
在仿真过程中所涉及的全网负载和吞吐量的定义如下:The definition of the whole network load and throughput involved in the simulation process is as follows:
图4为采用本发明的多址接入方法的水声网络通信方法与现有技术在数据包长度为128Bytes、256Bytes和512Bytes下的吞吐量进行仿真的比较结果示意图,仿真中通信速率为1024bps,平均网格间距为1000m。Fig. 4 is a schematic diagram of the comparison results of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art when the data packet length is 128Bytes, 256Bytes and 512Bytes, the communication rate in the simulation is 1024bps, The average grid spacing is 1000m.
图5为采用本发明的多址接入方法的水声网络通信方法与现有技术在数据包长度为128Bytes、256Bytes和512Bytes下的吞吐量进行仿真的比较结果示意图,仿真中通信速率为2048bps,平均网格间距为1000m。Fig. 5 is a schematic diagram of the comparison result of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art when the data packet length is 128Bytes, 256Bytes and 512Bytes, the communication rate in the simulation is 2048bps, The average grid spacing is 1000m.
图6为采用本发明的多址接入方法的水声网络通信方法与现有技术在数据包长度为128Bytes、256Bytes和512Bytes下的吞吐量进行仿真的比较结果示意图,仿真中通信速率为4096bps,平均网格间距为1000m。Fig. 6 is a schematic diagram of the comparison result of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art when the data packet length is 128Bytes, 256Bytes and 512Bytes, the communication rate in the simulation is 4096bps, The average grid spacing is 1000m.
从图4、图5和图6中可以看出,随着数据包长度增加,协议在握手成功后的单次通信效率增加,两种协议的吞吐量都得到提高。在相同数据包长度下,采用本发明的多址接入方法的水声网络通信方法在吞吐量上明显高于现有技术。It can be seen from Figure 4, Figure 5 and Figure 6 that as the length of the data packet increases, the single communication efficiency of the protocol increases after the handshake is successful, and the throughput of the two protocols is improved. Under the same data packet length, the throughput of the underwater acoustic network communication method adopting the multiple access method of the present invention is obviously higher than that of the prior art.
图7为采用本发明的多址接入方法的水声网络通信方法与现有技术在通信速率为1024bps、2048bps和4096bps下的吞吐量进行仿真的比较结果示意图,仿真中数据包长度为128Bytes,平均网格间距为1000m。Fig. 7 is a schematic diagram of the comparison results of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art at a communication rate of 1024bps, 2048bps and 4096bps, and the length of the data packet in the simulation is 128Bytes, The average grid spacing is 1000m.
图8为采用本发明的多址接入方法的水声网络通信方法与现有技术在通信速率为1024bps、2048bps和4096bps下的吞吐量进行仿真的比较结果示意图,仿真中数据包长度为256Bytes,平均网格间距为1000m。Fig. 8 is a schematic diagram of the comparison results of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art at communication rates of 1024bps, 2048bps and 4096bps, and the length of the data packet in the simulation is 256Bytes, The average grid spacing is 1000m.
图9为采用本发明的多址接入方法的水声网络通信方法与现有技术在通信速率为1024bps、2048bps和4096bps下的吞吐量进行仿真的比较结果示意图,仿真中数据包长度为512Bytes,平均网格间距为1000m。Fig. 9 is a schematic diagram of the comparison results of the simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art at communication rates of 1024bps, 2048bps and 4096bps, the length of the data packet in the simulation is 512Bytes, The average grid spacing is 1000m.
从图7、图8和图9中可以看出,随着通信速率增加,数据包的发送时间降低,而传播延迟未相应地减小,通信效率降低,两种协议的吞吐量都会降低。在相同通信速率下,采用本发明的多址接入方法的水声网络通信方法在吞吐量上明显高于现有技术。It can be seen from Figure 7, Figure 8 and Figure 9 that as the communication rate increases, the sending time of the data packet decreases, while the propagation delay does not decrease correspondingly, the communication efficiency decreases, and the throughput of the two protocols will decrease. Under the same communication rate, the throughput of the underwater acoustic network communication method adopting the multiple access method of the present invention is obviously higher than that of the prior art.
图10为采用本发明的多址接入方法的水声网络通信方法与现有技术在平均网格间距为500m、1000m和2000m下的吞吐量进行仿真的比较结果示意图,仿真中数据包长度为256Bytes,通信速率为2048bps。Fig. 10 is a schematic diagram of the comparison results of simulation of the throughput of the underwater acoustic network communication method using the multiple access method of the present invention and the prior art when the average grid spacing is 500m, 1000m and 2000m, and the length of the data packet in the simulation is 256Bytes, the communication rate is 2048bps.
从图10中可以看出,随着平均网格间距增大,传播延迟增大,RTS-CTS握手时间延长,通信效率降低,两种协议的吞吐量都会降低。在相同平均网格间距下,采用本发明的多址接入方法的水声网络通信方法在吞吐量上明显高于现有技术。It can be seen from Figure 10 that as the average grid spacing increases, the propagation delay increases, the RTS-CTS handshake time prolongs, the communication efficiency decreases, and the throughput of both protocols decreases. Under the same average grid spacing, the throughput of the underwater acoustic network communication method adopting the multiple access method of the present invention is obviously higher than that of the prior art.
最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制。尽管参照实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,对本发明的技术方案进行修改或者等同替换,都不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than limit them. Although the present invention has been described in detail with reference to the embodiments, those skilled in the art should understand that modifications or equivalent replacements to the technical solutions of the present invention do not depart from the spirit and scope of the technical solutions of the present invention, and all of them should be included in the scope of the present invention. within the scope of the claims.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310340872.8A CN104348562B (en) | 2013-08-07 | 2013-08-07 | Multiple access method based on UW-CSMA/CA in the communication of a kind of underwater acoustic network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310340872.8A CN104348562B (en) | 2013-08-07 | 2013-08-07 | Multiple access method based on UW-CSMA/CA in the communication of a kind of underwater acoustic network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104348562A CN104348562A (en) | 2015-02-11 |
CN104348562B true CN104348562B (en) | 2016-09-28 |
Family
ID=52503474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310340872.8A Active CN104348562B (en) | 2013-08-07 | 2013-08-07 | Multiple access method based on UW-CSMA/CA in the communication of a kind of underwater acoustic network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104348562B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106788782B (en) * | 2016-12-06 | 2021-05-07 | 哈尔滨工程大学 | Cross-layer communication method for OFDM link physical layer and MAC layer of underwater acoustic communication network |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5844905A (en) * | 1996-07-09 | 1998-12-01 | International Business Machines Corporation | Extensions to distributed MAC protocols with collision avoidance using RTS/CTS exchange |
CN101567707A (en) * | 2008-04-24 | 2009-10-28 | 赵力 | Medium access control method based on CDMA underwater acoustic network |
CN101729566A (en) * | 2009-11-27 | 2010-06-09 | 中国科学院声学研究所 | Underwater sound network multiple access method based on CSMA/CA |
US7920536B1 (en) * | 2006-10-20 | 2011-04-05 | Marvell International Ltd. | More robust data transfer through detection of hidden nodes |
CN102098113A (en) * | 2011-02-25 | 2011-06-15 | 东南大学 | Method for realizing water sound sensor network MAC (Media Access Control) protocol based on ALOHA and TDMA (Time Division Multiple Access) |
CN102546323A (en) * | 2010-12-14 | 2012-07-04 | 中国科学院声学研究所 | Peer-to-peer network based on underwater sound and radio mixed channel |
CN102612077A (en) * | 2012-03-19 | 2012-07-25 | 东南大学 | Medium access control method used for distributed multi-skip underwater acoustic communication network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7885287B2 (en) * | 2005-03-29 | 2011-02-08 | Intel Corporation | Method and apparatus for adaptive network allocation |
-
2013
- 2013-08-07 CN CN201310340872.8A patent/CN104348562B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5844905A (en) * | 1996-07-09 | 1998-12-01 | International Business Machines Corporation | Extensions to distributed MAC protocols with collision avoidance using RTS/CTS exchange |
US7920536B1 (en) * | 2006-10-20 | 2011-04-05 | Marvell International Ltd. | More robust data transfer through detection of hidden nodes |
CN101567707A (en) * | 2008-04-24 | 2009-10-28 | 赵力 | Medium access control method based on CDMA underwater acoustic network |
CN101729566A (en) * | 2009-11-27 | 2010-06-09 | 中国科学院声学研究所 | Underwater sound network multiple access method based on CSMA/CA |
CN102546323A (en) * | 2010-12-14 | 2012-07-04 | 中国科学院声学研究所 | Peer-to-peer network based on underwater sound and radio mixed channel |
CN102098113A (en) * | 2011-02-25 | 2011-06-15 | 东南大学 | Method for realizing water sound sensor network MAC (Media Access Control) protocol based on ALOHA and TDMA (Time Division Multiple Access) |
CN102612077A (en) * | 2012-03-19 | 2012-07-25 | 东南大学 | Medium access control method used for distributed multi-skip underwater acoustic communication network |
Non-Patent Citations (2)
Title |
---|
Aloha-LPD:一种用于水声通信网的MAC协议;王毅等;《东南大学学报(自然科学版)》;20090120;第39卷(第01期);第12-17页 * |
多帧确认及虚拟载波侦听的水声MACAW协议;周倩等;《探测与控制学报》;20090426;第31卷(第02期);第28-32页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104348562A (en) | 2015-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102647805B (en) | Wireless sensor network transmission method based on medium access control (MAC) protocol | |
CN104349495B (en) | A kind of underwater acoustic network multiple access method based on MACA U agreements | |
CN103313421B (en) | Back off algorithm in the media access control protocol of multihop network and wireless sense network | |
CN103312697B (en) | Based on the underwater sensor network MAC protocol implementation method of space-time justice | |
CN104092523B (en) | A kind of data transmission method under wireless sensor network multithread competition scene | |
CN101982944B (en) | Method for underwater acoustic sensor network Aloha protocol | |
CN103929284B (en) | High-reliability transmission method for wireless sensor network | |
JP2016530837A (en) | System and method for PS-Poll transmission of OFDMA | |
CN106911398B (en) | Multi-channel medium access control communication method for underwater sensor network based on dynamic channel negotiation | |
CN107919950A (en) | A kind of competitive channel underwater acoustic network parallel communication method of Lothrus apterus | |
CN104348560B (en) | The node based on UW CSMA/CA is mourned in silence method in underwater acoustic network communication | |
CN101729566B (en) | Underwater sound network multiple access method based on CSMA/CA | |
CN105144781B (en) | System and method for velocity frame exchange | |
CN109922537B (en) | Wireless module and implementation method thereof | |
Keshtgary et al. | Comparative performance evaluation of mac layer protocols for underwater wireless sensor networks | |
CN105208671B (en) | The implementation method of high channel utilization rate H-MAC agreements for wireless sensor network | |
Ding et al. | Research on the multi-channel probability detection CSMA protocol with sensor monitoring function | |
CN104619005B (en) | A kind of underwater wireless sensor network media access control method | |
CN104348562B (en) | Multiple access method based on UW-CSMA/CA in the communication of a kind of underwater acoustic network | |
Xia et al. | COPESM-MAC: A contention-based medium access protocol using parallel reservation and sleep mode for underwater acoustic sensor networks | |
CN102195763B (en) | MAC Protocol Implementation Method in the Long Delay of Underwater Acoustic Sensor Network | |
Liu et al. | An improved R-MAC based MAC protocol for underwater acoustic networks | |
CN104486348B (en) | Consider the underwater acoustic channel network media connection control method of node traffic flow | |
Aby et al. | Asynchronous blind MAC protocol for wireless sensor networks | |
Bhuiyan et al. | I-MAC: Energy efficient intelligent MAC protocol for wireless sensor networks |
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 |