Patent ID: 8572600

Claim:
A method for updating firmware of a plurality of nodes constituting a wireless sensor network, including a server, a gateway and the plurality of nodes, the method comprising: transmitting firmware to be updated from the server through the gateway to an uppermost node; sequentially transmitting the firmware to the plurality of nodes from the uppermost node to a lowermost node using wireless communication, and the respective nodes, which have received the firmware, recording the firmware in their own memory; and recording the firmware, stored in the memory, in program memory, by running boot programs of the respective nodes when the recording of the firmware is completed in all the nodes, and then constituting a new network with peripheral nodes by executing the firmware recorded in the nodes, wherein the server acquires and stores depth information of the lowermost node before transmitting the firmware to be updated, acquires depth information of the lowermost node of the network newly constructed after update of the firmware is completed in all the nodes, compares the depth information of the lowermost node, which is acquired before the update, with the depth information of the lowermost node, which is acquired after the update, and verifies that the update is completed if the depth information, which is acquired before the update, is identical to the depth information, which is obtained after the update, wherein the plurality of nodes are linearly connected from the uppermost node to the lowermost node, wherein each of the nodes which constitutes the wireless sensor network has a transmission interval, a reception interval and a sleeping interval so as to transmit and receive data; and wherein an upper node transmits a data packet, providing notification of transmission of the firmware, during the transmission interval thereof, and a lower node receives the firmware from the upper node during the sleeping interval thereof when the data packet, providing notification of transmission of the firmware, is received from the upper node during the reception interval of the lower node.