An architecture for energy management in wireless sensor networks
TinyDB: an acquisitional query processing system for sensor networks