本文针对基站可移动传感器网络实现了一再编程协议MovPro.该协议可以将新的二进制程序通过多跳的形式下发到网络内的节点上并使之运行.该协议的大致过程描述为,当基站在网络内移动时,基站将数据发送给它移动轨迹上的节点.节点收到部分二进制代码后通过窗口交换的形式将二进制代码传播到整个网络.MovPro是第一个在基站可移动传感器网络的真实系统.本文通过多种方式减少通信开销,并通过二级存储的方式减少外部flash的写次数.实验表明MovPro适用于基站可移动传感器网络.
A reprogramming protocol named MovPro was proposed.MovPro is used to disseminating large block of binary image from the mobile sink to all other sensor nodes in wireless sensor network over multiple hops.When the sink walks in the sensor network,it reliably transmits the new binary image to the sensor nodes along its traveling trajectory.After receiving part of the new binary image,these nodes reliably propagate the received image to the rest of the network.MovPro is the first real reprogramming system in sensor networks with mobile sink.We apply window transfer method to reduce the radio transmissions so as to save energy.And a BitVector method is also adopted in order to reduce the number of flash writes.Experiments demonstrate that MovPro works well in sensor networks with mobile sinks.