S-MAC协议设计的主要目标是减少能量消耗。该协议具有良好的扩展性,不要求严格的时间同步,但它也存在着节点活动时间无法根据通信负载动态变化和节点休眠带来的延迟问题。提出一种基于节点任务活动状态感知的MAC协议,通过收集节点自身和相邻节点的任务活动状态来估算无线传感器网络的网络负载,并根据网络负载来确定节点进行信道访问的概率,以此来提高能量效率和吞吐量。仿真结果表明:提出的改进方法可以减少能量消耗,并通过消除不必要的碰撞来提高网络的吞吐量。
S-MAC protocol is a typical competition-based random access MAC protocol.S-MAC protocol has good expansibility,and doesn't need strict synchronization,but the problem of latency caused by the activity time of nodes can't change with the communication load and nodes sleeping.A MAC protocol based on task activity awareness is proposed.This protocol improves energy efficiency and throughput by the channel access schedule according to the network load,i.e.the channel access probability of nodes.And the traffic load of WSNs is estimated by the task activity of nodes and its neighbor's.The results show that the proposed protocol can reduce the energy consumption,and improve the network throughput by eliminating unnecessary collisions.