水下传感器网络采用声波进行通信,具有高时延、低带宽、高误码率等特点,使得适用于无线电信道的MAC协议无法直接应用于水声信道,给水下传感器网络协议的设计带来了很大的挑战.因此,我们提出了一种可以较高概率避免扩频码冲突的分布式的基于概率的水下传感器网络CDMA编码动态分配算法.该算法不需要精确的时间同步,并且能够动态适应水下传感器网络拓扑结构的变化,适用于基于发送端的编码分配和基于接收端的编码分配.仿真实验表明,与传统的编码分配方式相比,我们的算法突出了节点的个性化,进一步降低了冲突的风险.
Underwater sensor network (UWSN) adopts acoustic communication, characterized by high delay, low bandwidth, high error rate etc., resulting in communication protocols designed for radio channels are unsuitable for underwater acoustic channels, which brings significant challenges to the protocol design for UWSN. So, we propose a distributed probability-based CDMA code dynamic assignment protocol for underwater sensor networks which can avoid conflict between the spread codes with high probability. This algorithm does not require accurate time synchronization and can adapt to the dynamic topology of underwater sensor networks. The algorithm can be used for both the transmitter oriented and receiver oriented code assignment. Simulation indicates that our proposed algorithm performs better than the traditional code assignment algorithm due to highlight the personalization of each node, further reducing the risk of interference.