Research Article

Detection of Node Failure in Wireless Image Sensor Networks

Algorithm 1

Detection phase.
( 1 )  Obtain the sensor reading (image)
( 2 )  Evaluate Q R 𝑖 and R S s t a t u s 𝑖 .
( 3 )  Broadcast the coded test image 𝑆 𝑖 .
( 4 )  Set timer 𝑇 o u t
( 5 )  Obtain the sensor readings of 1-hop neighbors { 𝑁 𝑖 } .
( 6 )   if   𝑇 o u t = true then
( 7 )   Declare unreported nodes 𝑣 𝑗 ∈ { 𝑁 𝑖 } as hard faulty. i.e.,
     𝐹 s t a t e 𝑗 ← hard faulty.
( 8 )   end  if
( 9 )  Determine { 𝐸 } , the set of 1-hop neighbors report identical sensed data 𝑆 .
( 1 0 )   if ( 𝑆 = 𝑆 𝑖 and | { 𝐸 } | ≀ 𝑇 β„Ž ) or Q R 𝑖 β‰₯ 𝐼 t h or R S s t a t u s 𝑖 = 1   then
( 1 1 ) 𝐹 s t a t e 𝑖 ← soft faulty.
( 1 2 )   end  if