针对无线传感器网络节点资源受限、网络维护与软件更新困难的特点,以Contiki操作系统为开发平台,设计了一种可以满足无线传感器网络特点和应用的节点软件更新方法。通过连续分配和基于重定位信息的内存移动,设计了一种高利用率的内存使用策略;基于黑板模型的管理方法,实现了服务模块注册、更新和卸载的生命周期管理。实验结果显示:更新模块的大小与更新时间分别减小15%和13%,整个系统设计显著提高了传感器节点的能量和内存效率,延长了节点寿命。
Aiming at characteristics of constrained resource and difficulty of network maintenance and software updates of wireless sensor networks (WSNs), design a node software update method that meets the characteristics and applications of WSNs, use Contiki operating system as development platform. By means of continuous allocation and memory moving based on relocation information, design a strategy of high utilization rate for memory use, based on Blackboard model management method, achieve lifecycle management of registration, update and uninstall of service module. Experimental results show that size and update time of update module are reduced by 15 % and 13 % respectively, and the entire system design improves energy and memory efficiency of sensor node and extends node life.