Research on Protocol Algorithm of Reprogramming for Sensor Networks with Selection of Scope

Most of the existed reprogramming protocol for sensor networks assum that all nodes in networks are homogeneous and run the same application,but the nodes are heterogeneous in practice.A new reprogramming protocol with selection of scope is presented,it changes traditional ADV-REQ-DATA three handshakes protocol to route creation,code dissemination and requesting missed packets three stages protocol,reduces the number of intermediate forward nodes efficiently.With acquiring sequence of nodes which want to get code packet in one hop,the intermediate nodes transmits updated code with targeted nodes through unicast or multicast,decreases the REQ messages without broadcast as flooding,and counts homogeneous and heterogeneous nodes which forward the packet.The performance analysis and simulation experiment indicate that our protocol is advantaged then traditional Aqueduct in average delay and energy consumption.