Tracking target using sensor networks: target detection and route activation under energy constraints