Query processing mechanism based on distributed density of wireless sensor networks nodes

In order to reduce energy consumption and improve the lifetime of wireless sensor networks(WSNs) when processing queries,a distributed query processing mechanism is proposed.It delivers query first and parses and optimizes query at the node where it should reside.This method is more efficient for optimization.Cluster routing protocol is very suitable for this processing system naturally.Every cluster header is equivalent to the index of a traditional database.Its responsibilities include analysis of query,optimization and data fusion.Cluster header decides the structure of the zone according to sensor node distribution and data features.They can differ from other zones.So every zone is an auto-system.The entire network is a aggregation of autonomous systems.Result shows that processing system is energy-efficient and can improve lifetime of network,which is designed with the consideration of these aspects.