无线传感网络中多节点同时发送数据包会导致接收端发生冲突,造成网络吞吐量和信道利用率降低。针对该问题,提出一种基于优先级的MAC协议:P-MAC。将随机数加入到数据帧结构中,接收节点利用俘获效应获取冲突数据包中的随机数,将随机数存储并反馈给发送节点,发送节点通过赋值和比较确定发送优先级,解决退避过程中信道资源浪费的问题,提高信道利用率。
The collision of packets may result in the decrease of the channel utilization in wireless sensor network. A MAC layer protocol based on priority was proposed, named P-MAC. The random number was embedded in each data frame structure cap- tured by the receiving node in conflicting data packets. The random number was stored and fed back to the sending nodes. The sending nodes determined the delivery priority through assignment and comparison. With this transmission strategy, P-MAC solves the waste problem of channel resource and improves the channel utilization.