Abstract
A wireless sensor network (WSNET) can support various types of queries. The energy resource of
sensors constrains the total number of query responses, called query capacity, received by the sink.
There are four problems in the existing approaches for energy-efficient query processing in WSNETs:
the fact that sensors near the sink drain their energy much faster than distant sensors has been
overlooked, routing trees (RT) are rooted at the sink, and therefore, aggregative queries are less
energy-efficient, data reception cost has been ignored, and flooding is used in query distribution or RT construction.
In this paper, we propose a Broadcasting-Based query Scheme (BBS) to address the above problems. BBS reduces the energy depletion rate of sensors near the sink, builds different localized RTs for different query types, and eliminates the flooding cost of query distribution. Compared to the existing approaches, simulation studies show that BBS produces significant improvement in the query capacity for non-holistic queries (10%—100% capacity improvement) and holistic queries (up to an order of magnitude of capacity improvement).
Introduction
A wireless sensor network (WSNET) can be treated as a distributed sensor database system which supports various types of query services [1, 2, 3]. Each query response is based on a group of sensor readings bounded by query constraints. Since sensors are powered by batteries, the energy constraint of sensors challenges the designs of energy-efficient query processing at all levels in the sensor network protocol stack [25]. The routing level and application (or data processing) level have a significant impact on query processing performance. Thus, we consider these two levels together in the design stage.
Energy-efficient query processing has been studied in the literature [3, 4, 5, 6, 7, 10, 11, 14] to support various types of queries, such as In the routing tree (RT) construction and data collection phases, all the sensors behave the same
way, while ignoring the fact that sensors near the sink drain their energy much faster than far-away
sensors. Consequently, the sink is disconnected from the network sooner than expected. Simply
reducing the total energy cost of all the sensors is not a satisfactory solution—sensors near
the sink need to receive special considerations. The existing approaches build uniform RTs rooted at the sink for all types of queries. Since
different query types require different structures of the underlying RTs, uniform RTs may not
efficiently support different types of queries. For example, the existing approaches can not
efficiently support holistic queries, such as Median, because sensors in the query zone have to
forward their sensed data to the sink without data aggregation. The existing approaches take into account the cost of data transmissions (TX), while overlooking
the cost of data receptions (RX). However, experimental studies [4, 8, 12] show that the RX cost is
comparable to the TX cost. The existing approaches use flooding, which is an expensive operation, to disseminate queries and
build RTs.
In this paper, we tackle these problems and propose a novel energy-efficient approach, called
Broadcasting-Based query Scheme (BBS). BBS takes into account the design considerations of both the
routing level and the data processing level to efficiently support various types of zone-based
queries. The advantages of BBS, i.e. the contributions of this paper, are as follows. BBS constructs RTs rooted at sensors within the query zone, and builds different localized RTs
for different query types to improve performance. Therefore, zone-based aggregative queries,
including holistic queries and non-holistic queries, can be efficiently supported. In the cases that the RX cost can not be ignored, BBS uses a refinement technique to reduce the
energy consumption due to RXs in sensors near the sink. If the sink can be equipped with a power adjustable transmitter, BBS can eliminate the flooding
cost involved in the query distribution and RT construction phases.
Compared to TAG [3], the simulation studies show that BBS considerably increases the total number of query responses received by the sink for holistic and non-holistic queries even without using a power adjustable sink.
The rest of the paper has been organized as follows. In Section 2, we state the problems in the existing approaches and summarize previous work. The detailed descriptions of BBS are given in Sections 3 and 4. An analytical performance evaluation of BBS is given in Section 5. Simulation studies are presented in Section 6. Finally, we make some concluding remarks in Section 7.
Problem Statement and Related Work
Problem Statement
Problem of Non-uniform Energy Depletion Rate of Sensors in WSNETs
In a WSNET with randomly deployed homogenous sensors and a stationary sink, if all sensors report
approximately the same amount of sensed data, sensors close to the sink drain their energy much
faster than the rest of the sensors. In Fig.
1
1
, the area within the
smallest circle centered at the sink is called the

Distribution of random deployed sensors.
The existing approaches focus on minimizing the average energy cost while overlooking the energy
depletion rate of sensors in Region-1. Furthermore, the existing approaches use the average total
energy cost of queries to measure the performance of query processing. In fact, the average energy
cost is not a proper performance metric. An approach using smaller average energy per query does not
mean that it is better in terms of query capacity, and this situation is illustrated in Fig. 2. In Fig. 2, the sink has two neighbors,

Energy consumption of neighbors of the sink.
Query processing works in two phases [3, 4]:

Illustration of query flooding in a WSNET.
The existing approaches use flooding to build RTs rooted at the sink for all query types. Consequently, sensors in Region-1 incur a high energy-consumption cost in data collection. As shown in Fig. 3, if wedge flooding is used to construct the example RT rooted at the sink, most of the sensors in the intersected area between Region-1 and the wedge area with flooding angle θ have forwarding tasks. For the non-holistic queries, the number of forwarding sensors in Region-1 is proportional (by a factor between 0.4 and 0.8) to the number of sensors in the intersected area, as shown in the supplemental document. For holistic queries, such as Median, results of sub-aggregations at intermediate sensors can not offer the correct result at the sink [3], and, thus, all raw data need to be sent to the sink. The energy consumption of sensors in Region-1 per query response is proportional to the number of sensors in the query zone. However, in either case, if the query response can be computed by a sensor within the query zone, only a constant amount of energy of sensors in Region-1 is required to transmit the response to the sink.
The existing approaches overlook the need to reduce the RX cost. If the TX distance is large, the TX cost is much larger than the RX cost. However, for realistic sensors such as Mica Mote [4], the RX cost is close to the TX cost. Hence, the RX cost needs to be factored in.
Related Work
A number of research results have been published both in network and database domains on
energy-efficient query processing for WSNETs. In the network domain, research results have been
published on energy-efficient routing protocols for WSNETs, such as SPIN [15], LEACH [14], and Directed Diffusion [11]. SPIN is recognized as the earliest work on data centric
routing and is proposed to address the deficiency of flooding. SPIN saves sensor energy by reducing
duplicate copies of messages in the classic flooding and by using
In the database domain, Madden et al. [3, 4] proposed TAG to reduce the energy cost of processing aggregative queries by in-network aggregation techniques. In TAG, an RT is built by using flooding or wedge flooding. TAG adaptively adjusts the sampling rate of sensors based on the query constraints and energy of sensors. Through reducing sampling rates, energy spent on sensing is reduced. Cougar [5] also addressed query processing by investigating such techniques as partial aggregation and data packet merging to reduce the packet payload. Many other works have also been proposed based on TAG to address energy-efficient query processing, such as TinA [6] and location aware routing [7]. TinA utilizes the temporal coherence among data collected from the same sensor to reduce the number of transmissions. The location aware routing technique builds RTs with the goal of reducing message size for group by queries.
The preceding techniques normally assume that homogeneous sensors are uniformly distributed, which leads to a serious energy drainage problem of sensors in Region-1. To solve this problem, two techniques have been proposed:
A power-cost metric based on both node lifetime and distance-based power metric has been used to compute the shortest weight path to slow down the rate of energy consumption in Region-1. In [18], a clustered model has been presented by equipping sensors with power-adjustable transmitters. The network is partitioned into clusters and each cluster has a cluster header (CH). Each CH aggregates data received from sensors and then directly sends the aggregated data to the sink. Other sensors send data to CHs through a multi-hop or single-hop path. By interchangeably applying single-hop and multi-hop paths, energy consumption of sensors is balanced. In [19], a non-uniform sensor distribution model has been proposed, where the sensor density is higher in the sub-area closer to the sink so that all sensors deplete their energy at the same time.
For dense and stationary sensor networks, location-based routing techniques [9, 13, 20, 21] are suitable to route sensed data from sensors to the sink due to the low cost of path discovery. In the greedy forwarding algorithms [17, 21], each node chooses a neighbor, which is closest to the destination among all its neighbors, as the forwarding node. However, these algorithms have no guarantee of message delivery if a “hole” (an area without sensors) is on the forwarding direction. To remedy this problem, the Greedy-Face-Greedy (GFG) routing [13] and Greedy Perimeter Stateless Routing (GPSR) [20] have been proposed. For dense networks, the average length of the forwarding paths established by the location-based routing are roughly identical to the average length of the shortest hop paths.
We propose a Broadcasting Based query Scheme (BBS) to address the problems discussed in Section 2.1. BBS consists of five basic steps
and two optional steps. The basic steps are
Network Model and Terminology
A simple network model is defined to illustrate BBS. The network area is a fixed
The A A A
The type of a sensor is query-dependent. A sensing sensor of a query
The network
Query Classification in BBS
One goal of BBS is to provide a general scheme to support most of the query types for zone-based
queries. When a query is issued into a given zone, all sensors in the zone contribute to the query
response. BBS focuses on both holistic queries and non-holistic queries. Non-holistic queries have a
common feature: sub-aggregation of sensed data is allowed, that is, both raw data and aggregated
data can be stored into a constant length packet [3]. Similar to Directed Diffusion [11], a typical query supported in BBS has the following form:
In BBS, two types of messages are used:
Query Distribution in BBS
BBS can distribute queries by using existing flooding techniques without influencing the rest of the basic steps. However, to avoid the flooding cost, BBS applies an optional solution by having the sink broadcast queries by using a high power transmitter [14, 17, 18] so that all the sensors hear a query directly from the sink. Equipping the sink with a power adjustable transmitter is not a significant concern. However, to use such a sink, we need to solve two consequent problems: synchronization between the sink and sensors and construction of RTs. Since the sink broadcasts queries instead of flooding, RT construction should not depend on the path information obtained during flooding, which will be addressed in Section 3.4.
When the sink has a power adjustable transmitter, synchronization between the sink and sensors
can be solved as follows. During the initialization stage, the sink broadcasts a control message to
synchronize all sensors. A control message is in the form of (
Routing Tree (RT) Construction in BBS
The main feature of BBS is that BBS constructs localized RTs within query zones and the RTs are rooted at sensors within the query zones. To build RTs, each sensor only needs to know the sink location, the area of query zone, and the locations and IDs of its neighbors. Hence, BBS builds RTs independent of the query distribution techniques—sink broadcasting or flooding.
Construction Steps
RT construction is based on the idea of location-based routing [9, 13, 20, 21]. The major characteristic of localized RT construction is
that no path information to the sink is required by sensors. To build RTs, sensors need to know the
locations and IDs of their neighbors, the query zone, and the sink. Only sensing sensors join the RT
construction process. In RT construction, sensors in a query zone are organized into one or more
local RTs. These RTs are rooted at some selected sensors, called

Constructing a routing tree.
If we treat sensing sensors as nodes and the child-parent relationships as edges, a directed RT
graph is formed with the following properties, which are proved in the supplemental document.
Figure 5 shows an example RT
construction based on the preceding algorithm. In Fig. 5, sensors

RT construction and root reference point for a given query.
Different query types have different requirements for the structure of constructed local RTs. The root reference point has an important impact on the structure of local RTs, and hence different root reference points are used for different query types. In BBS, for all query types, if the query zone covers the sink, the root reference point is the location of the sink, and the sink becomes a local root. For other cases, the root reference point is query dependent.
For non-holistic queries, the root reference point is the intersected point between one edge of
the query zone and the line segment connecting the sink and the center of the zone
For holistic queries such as Median, the root reference point is the center point of the
intersected area of the query zone and the network area (
Data Collection within Local RTs
After local RTs are constructed, each parent is responsible for collecting sensed data from all its children, and aggregates the data if possible. This process can be accomplished by a technique similar to the one proposed in the TAG approach [3] with some modifications as follows.
Sensors sense the environment periodically according to the time intervals specified in queries.
All sensed data in the same interval, called a
The workload of local roots may be perceived to be very high, leading to their fast depletion of energy. However, localized RTs still prolong the lifetime of a sensor network compared with the existing approaches due to the following reason. Without using local RTs, the bottleneck of the query capacity is the total energy of the sensors in Region-1. In real applications, query zones are distributed in the network area. With using local RTs, different query zones select different sensors as their local roots, resulting in that the total number of local roots for all queries is much larger than the neighbor sensors of the sink. Hence, the bottleneck related to the neighbor sensors in Region-1 is more severe than the bottleneck created by the high workload of all local roots and the high workload of all local roots has no significant impact on the query capacity.
Data Forwarding in BBS
After the local roots collect all sensed data from their children, those compute the query response and forward it to the sink. This involves two steps: find a forwarding path to the sink and aggregate data if possible.
Forwarding Path Establishment
Since all sensors are likely to be selected as local roots, they need to maintain forwarding paths to the sink. If BBS uses flooding to disseminate queries, the forwarding paths are established during flooding and there is no additional cost for discovering a routing path. On the other hand, for BBS to use a power adjustable sink to broadcast queries to all the sensors, each local root needs to find a forwarding path to the sink. Since sensor networks consist of densely deployed stationary sensors, location-based routing algorithms are good candidates for data forwarding [9, 13, 20, 21]. In location-based routing, each local root knows the locations of its neighbors and the sink. During the forwarding process, each local root chooses a neighbor sensor, which is closest to the sink among all its neighbors, as the next forwarding node. This forwarding strategy is known as the “greedy” principle [9]. The major advantage of this technique is that no flooding is required to build routing paths. Its disadvantage is that delivery of responses is not guaranteed. For sparse networks, GFG [13] or GPSR [20] can be used to guarantee message delivery. For dense sensor networks, the preceding algorithms have a very low cost of routing path discovery and maintenance, and, therefore, the cost can be ignored.
Data Aggregation during Forwarding
In the data forwarding process, query responses can be forwarded to the sink from local roots by
using the algorithms in references [9,
13, 20]. The sensors on forwarding paths are called
For data aggregation, forwarding sensors use a sub-field, called REP#, in the option field
of the query response message. The option field also contains the ID of the local root which will be
used in local RT combination (Section
4.1). When a local root issues a query response message, it sets REP# to be one.
During the first round of forwarding, each forwarding sensor
Sink Coordination in BBS
Even though all sensing sensors are internally connected in a query zone, multiple local roots
may exist when a local RT is constructed. For holistic queries, multiple local roots cause the
sub-aggregation problem (Section
3.4.2). For non-holistic queries, the multiple local roots choose their forwarding paths
independently, which may result in two or more sensors in Region-1 being on the forwarding paths. To
solve the sub-aggregation problem and to reduce the number of sensors in Region-1 involved in data
forwarding, the sink can make an attempt to combine all local RTs into one RT by using localized
flooding within the query zone. This process is called
For holistic queries, the sub-aggregation problem can be detected after the sink receives two or
more computed Medians with the same query ID and sequence number. The sink can solve this problem in
two alternative ways as follows: Solution 1: The sink informs all local roots to send raw data to the sink. The sink can either
use its high power transmitter to broadcast a control message or send the control message via
multi-hop paths established during data forwarding to all local roots. After receiving such a
control message, local roots start sending raw data. Solution 2: The sink performs local RT combination explained in Section 4.1. If all local RTs are successfully combined
into one RT, the sub-aggregation problem is solved. If the sink still receives multiple Medians, it
will use the first solution.
Optional Elements of BBS
The optional elements of BBS are local RT combination and route redirection, which aim to reduce energy consumption of sensors in Region-1.
Local RT Combination (LRC)
RT construction may generate multiple local RTs. For non-holistic queries, multiple RTs may lead to more sensors in Region-1 with forwarding
tasks. Thus, a small number of RTs implies less energy consumption of sensors in Region-1. For holistic queries, LRC may solve the sub-aggregation problem (Section 3.4.2) and significantly increase the query
capacity of a network.
When the sink detects the existence of multiple local roots for a query, it sends an LRC initialization packet to all local roots via multi-hop paths or via the shared channel. This initialization packet contains the ID of the nearest local root to the root reference point. The ID of the nearest local root can be obtained during the forwarding process (Section 3.6.2). When the nearest local root receives the initialization packet, it starts LRC by flooding an LRC packet within the query zone. The parent selection of each sensing sensor is described in Fig. 6.

Parent selection of a sensor in local RT combination.
For each sensing sensor
LRC is optional and is determined by the sink. For holistic queries, if the LRC process fails to
construct one local RT, each sensing sensor transmits its raw data to the sink. Similar to an RT
graph built in RT construction, the child-parent relationships, among sensing sensors established by
applying LRC, form a new graph, called
Route redirection (RR) aims to reduce energy consumption of RXs of sensors in Region-1 and is
applied only for non-holistic queries. From the network shown in Fig. 7(a), when a query zone contains three sensors

Illustration of basic idea of route redirection.
If the energy cost of RX is significantly less than the energy cost of TX, RR can not save a
significant amount of energy of sensors in Region-1. However, in real applications [4, 8, 12], the RX cost is very close to the TX cost, and, in this situation, RR leads to
significant energy saving as shown in Fig.
7. RR is applied only if the following three the query is non-holistic; the RX cost is considerably large; the query zone contains one-hop sensors of the sink. RR is performed during the local RT
construction process as follows.
All sensing sensors except two-hop sensors of the sink determine their parent tree nodes by using
the local RT construction process (Section
3.4). The RR process is only performed by two-hop sensing sensors of the sink, called
To accomplish RR, each RR sensor must determine its sub-zone and redirection reference point,
which avoids cycles in the constructed RTs and reduces the height of RTs. Let
each boundary line segment of the boundary arc of any two sub-zones are disjoint.
Figure 8 illustrates the partitions of
sub-zones, which depend on the intersected points of the boundaries of

Basic cases of route redirection.
One exception for the preceding description is shown in Fig. 8(c) where the query zone covers Region-1 without
intersected points on their boundaries. In this case, the query zone is separated into two sub-zones
by the line connecting the sink and the center (point

Distributed algorithm of route redirection.
Similar to RT graphs in Section
3.4, the child-parent relationships among sensing sensors established by applying RR form a
new graph, called
Since one-hop sensors are more important than other sensors, energy conservation of one-hop sensors is the primary task of RR. Even though RR can be applied to three-hop or higher hop sensors, it increases the height of RTs, leading to longer delay. To balance the gain and the cost, only two-hop neighbors are considered. The cost of performing RR is given in Section 6.3.1.
BBS Operations, Network Model and Performance Metrics
Figure 10 demonstrates the operation sequence of BBS. The paths marked by dashed arrows in the figure denote optional elements. In BBS, queries can be distributed by flooding or broadcasting from the power-adjustable sink. Then RTs are constructed in local RT construction phase. For non-holistic queries, route redirection is also performed in this phase. After the local roots receive all data from their children in the data collection phase, the local roots process and forward the data to the sink in the same data collection phase. When the sink receives the data, it determines whether the local RT combination process is to be performed. To distinguish BBS with different elements, we use BBS-Null (or simply BBS), BBS-RR (or simply RR), BBS-LRC (or simply LRC) to denote BBS without any optional elements, BBS with route redirection, and BBS with local RT combination, respectively.

Operational sequence of BBS.
Performance analysis of BBS is based on the network model in Section 3.1 with some modifications. To simplify the
analysis, we constrain the network area to a

Distributed area of zone centers.
Energy consumption can be divided into two parts: the cost for query distribution and RT construction, and the cost of data collection and data forwarding. The second cost reflects the effectiveness of RT
construction.
In this section, we analyze the second cost by using query capacity
Due to the fast energy depletion rate of sensors in Region-1, query zones have at least one sensor in Region-1; query zones do not have sensors in Region-1. Obviously, these two types of queries are
disjointed, and, therefore, the summation of total numbers of TXs from sensors in Region-1 involved
in these two types of queries should equal
Then we can estimate the numbers of TXs separately in these two types of queries. Due to space
limitation, we give the final result of
where
In this section, we evaluate the predicted query capacity in (1) and compare the performance of
BBS against the TAG approach [3] since
TAG is the most well-known general query processing scheme. We compare BBS and TAG in two parts:
efficiency of RTs in data collection and forwarding; energy consumption in query distribution and RT construction. The first part is done by using
simulation studies and the second part is done analytically.
Simulation is done by using a routing-level simulator, operating on randomly generated SSC
networks. For each sample SSC network ( the TX cost is dominating and the RX cost is negligible, and the two costs are comparable.
In the former case,
Equation (1) in Section 5.2 computes the query capacity of a
given SSC network (

Query capacity (

Query capacity (
In this sub-section, we compare the efficiency of RTs built by TAG and BBS for two types of queries: non-holistic query (Max) and holistic query (Median). Query capacity is used as the performance metric in this comparison. We ignore the cost of query distribution and RT construction, which will be discussed in Section 6.3.
Simulation Results for Non-holistic Queries
Figures 14 through 17 give the simulation results for non-holistic
queries. We vary four parameters

Query capacity (

Query capacity (

Query capacity (
First, according to the results in Figs. 15 and 17, if the RX cost is not negligible, BBS-RR improves the performance compared with BBS-Null. The larger and denser the network is, the higher the performance gain. However, compared with BBS-Null, the performance improvement of BBS-RR is not significant. This is because we assume a uniformly distributed query zone in the network area. RR is performed only if the query zone contains sensors in Region-1. The probability of query zones satisfying this condition is small (Section 5 in the supplemental document). Hence, the performance gain is not obvious. For the experiments in which all query zones satisfy this condition, the performance gain can be up to 50%, as shown in the example in Fig. 7. Second, BBS-LRC slightly outperforms BBS-Null. This is due to two reasons. One is that the number of local roots tends to 1 for dense networks and there is no need to perform LRC. The other reason is that there is a possibility that multiple paths from local roots may join together at a node near the sink. Third, the density and size of a network affect query capacity. The query capacity improvement in Fig. 17 is much higher that the one in Fig. 14, suggesting that BBS works better for large and dense networks. Finally, BBS has a higher performance gain for small and medium size query zones. When the query zone size is close to the size of the network area, the performance gain of BBS is not obvious.

Query capacity (
Tables 1–4 show the query capacities for Median by using TAG, BBS-Null (BBS in the tables) and BBS-LRC (LRC in the tables). In TAG, all sensor readings are forwarded to the sink without aggregation. In BBS-Null, if there are two or more local RTs, all sensor readings are sent to the sink as TAG does. In BBS-LRC, if two or more local RTs exist, LRC is performed. Since we focus on the effectiveness of the constructed RTs, the cost of LRC is ignored here—which is discussed in Section 6.3. The network configurations are shown in the table titles. In all the tables, data in the first row denotes the width of square query zones.
Capacity of network (g = 10, etx = 5,
erx = 0, rs = 10)
Capacity of network (
Capacity of network (
Capacity of network (
Capacity of network (
According to the results in these tables, we conclude that BBS-Null and BBS-LRC significantly
outperform TAG. Furthermore, the larger and denser a network is, the larger is the performance gain
obtained by applying BBS-Null and BBS-LRC. The improvement of query capacity can be up to an order
of magnitude for large and dense networks. By comparing the results of BBS-Null and BBS-LRC, we find
that BBS-LRC is significantly superior to BBS-Null in sparse networks (
In this section, we compare the energy consumption of query distribution and RT construction in BBS against the one used in TAG (global flooding or wedge flooding). Obviously, if BBS employs the same flooding technique used in TAG, BBS and TAG have the same energy consumption. However, in BBS, if the sink is equipped with a power adjustable transmitter, BBS consumes much less energy than TAG, which is verified in this sub-section.
The cost is measured by using two metrics. The first metric, denoted by
Cost of BBS with Power Adjustable Sink
Several operations are involved to distribute queries and construct local RTs. These are query
distribution, local RT construction, RR, and LRC, and let their individual costs be
for stable environment: for unstable environment:
For BBS with LRC, for stable environment: for unstable environment:
The estimation of
Since each sensor broadcasts once, the number of TXs is
To estimate
We use Fig. 3 as a part of SSC network
for the analysis. Let
The number of sensors in Region-1 involved in wedge flooding is determined by θ, and this
is approximately equal to
When θ > π/3, the upper bound is unchanged and the lower bound becomes
These two bounds are loose bounds. In fact,
According to the preceding analysis, with a power adjustable sink, BBS can have significant advantage over flooding in terms of the total energy consumption and the energy consumption of sensors in Region-1 in query distribution and RT construction. Another advantage of BBS is that the delivery of queries is guaranteed with a constant delay. Wedge flooding does not have this guarantee if θ is small. If a large θ is used to make query delivery reliable, the cost increases accordingly. Global flooding guarantees query delivery, but it consumes a significant amount of energy. The cost in BBS-LRC is higher than BBS-Null. However, as the results in Section 6.2.2, the performance gain due to using LRC is significant in sparse networks compared to BBS-Null.
Concluding Remarks
Energy conservation is a major concern in query processing in WSNETs. For WSNETs with uniformly
distributed homogeneous sensors, current techniques for query processing have four drawbacks: overlooking the fact that sensors near the sink exhaust their energy sooner; building uniform RTs rooted at the sink for all queries; disregarding the need to reduce the data reception cost; and ignoring the flooding cost of query dissemination.
In this paper, we propose a novel energy-efficient query scheme BBS to address the above drawbacks. BBS models a complete query operation into five basic steps: query distribution, RT construction, data collection, data forwarding, and sink coordination. In query distribution, the sink may use a high power transmitter to broadcast queries to all sensors to eliminate the flooding cost. In RT construction, BBS builds localized RTs rooted at sensors within a query zone. In data collection, sensors collect the sensed data, aggregate the data if applicable, and send the data to their parents. Then, each local root uses the existing (location-based) routing algorithms to transmit the query response to the sink. In sink coordination, the sink analyzes the efficiency of the current local RTs based on the responses, and takes actions (optional elements) if necessary. Furthermore, two optional operations—route redirection and local RT combination —have been designed in BBS to slow down the energy depletion rate of sensors near the sink.
By executing the basic and optional steps, BBS effectively slows down the energy depletion rate for the sensors in Region-1 and reduces flooding cost. Compared with TAG, the experiments show that BBS increases 10%-100% of the query capacity for non-holistic queries. For holistic queries, an order of magnitude increase of the query capacity is achieved by BBS.
Supplemental Document
This document provides the detailed proofs of all the properties and some results used in the
main paper “
The statement in Section 2.1 (B) for
wedge flooding is: “
Ratio between N 2 and N 1 (percentage of
sensors with forwarding tasks)
Ratio between
RT Graph P1
The graph contains all sensing sensors, but no normal sensors.
RT Graph P2
The graph has no cycle and only contains one or more local trees
Since the graph contains no cycle and each sensing sensor has null or exactly one parent, obviously the graph consists of one or more trees.
RT Graph P3
Each local RT is rooted at exactly one local root and each local root is located at exactly one local RT.
Next, we prove the statement that each local root is located at exactly one local RT. Assume that
a local root
Proofs of Properties in Section 4.1
RT-LRC Graph P1
The graph contains all sensing sensors, but no normal sensors.
Assume a local root
RT-LRC Graph P2
The graph has no cycle and only contains one or more local trees (
RT-LRC Graph P3
Each local RT is rooted at exactly one local root and each local root is located at exactly one local RT.
all sensing sensors are connected to not all sensing sensors are connected to
RT-LRC Graph P4
If the topology graph within the query zone is connected, all sensing sensors belong to one RT.
Proofs of Properties in Section 4.2
RT-RR Graph P1
The graph contains all sensing sensors, but no normal sensors.
RT-RR Graph P2
The graph has no cycle and only contains one or more local trees (
The second part of the property “the graph only contains one or more local trees” can be proved by the same way as in RT graph P2.
RT-RR Graph P3
Each local RT is rooted at exactly one local root and each local root is located at exactly one local RT.
Proof for Equation (1) in Section 5.2
In this section, we give the detailed derivation of the query capacity
Based on the assumption that all sensors have equal probability to be queried, the centers of
query zones should be randomly distributed within the (

Distributed area of zone centers.
The first step is to find the average number of sensors (denoted by
Figure 2 shows a network area and the
area where the zone centers are distributed. Let

Computation of average valid zone area.
In Fig. 2, for each square query zone
centered within the square
Since the total number of sensors in the network is the query zones containing at least one one-hop sensor of the sink; the query zones not containing one-hop sensor of the sink.
Obviously, these two types of queries are disjointed, so the summation of total numbers of TXs
from sensors in Region-1st involved in these two types of queries should be equal to
For the first type of queries, each one-hop sensing sensor to the sink has to transmit its sensed
data or its aggregated data, which consists of its own sensed data and readings from its children.
Hence, each sensing sensor in Region-1st have one TX (consume
In (2),
For the second type of queries, each query requires one TX (

Boundary of
First, we use a circle as approximation of the boundary of

Computation of
In Fig. 4, based on geometrical
analyses,
For a known
Hence, the result shown in the main paper is proved.
Footnotes
1
Sensors are randomly deployed in a rectangular area. The dark points denote sensors with odd number of shortest hops to the sink and the gray points denote sensors with even numbers of hops to the sink. The odd and even hop sensors are interleaved with each other.
