Continuous Probabilistic Sum Queries in Wireless Sensor Networks with Ranges Nina Hubig 1 , Andreas Zuefle 1 Mario A. Nascimento 2 , Tobias Emrich 1 , Matthias Renz 1 , and Hans-Peter Kriegel 1 1 Ludwig Maximilians Universit¨ at, Muenchen, Germany, hubig@ualberta.ca,{zuefle, renz,kriegel}@dbs.ifi.lmu.de 2 University of Alberta, Edmonton, Canada mn@cs.ualberta.ca Abstract. Data measured in wireless sensor networks are inherently imprecise, due to a number of reasons, and aggregate queries are often used to analyze the collected data in order to alleviate the impact of such imprecision. In this paper we will deal with the imprecision in the measured values explicitly by employing a probabilistic approach and we focus on one particular type of aggregate query, namely the SUM query. We consider that sensors in the network may, operate (all collectively at the same time) in two different modes: (1) returning a finite set of discrete values with a probability attached to each value, or (2) a continu- ous probabilistic density function over a possibly infinite set of possible values. Our foremost concern is to present the first algorithms to efficiently compute the probabilistic SUM according to the possible world semantics, i.e., without any loss of information. Furthermore, we show how this query can be efficiently up- dated in dynamic environments where sensor values change often and we show techniques to distribute computation over all network nodes. Our experimental results show that processing queries in-network and incrementally as opposed to collecting the measured values from all nodes at the base station and computing the answer centrally, can reduce the total number of messages sent by at least 50%, thus saving energy and extending the network’s lifetime, a chief concern regarding wireless sensor networks. 1 Introduction Recent advances in sensors and wireless communication technologies have enabled the development of small and relatively inexpensive multi-functional wireless sensors. This has lead to the concept of a wireless sensor network (WSN), i.e. a set of spatially distributed autonomous sensors that cooperatively monitor physical or environmental conditions in an area of interest [31], [2]. The communication between the sensors is specified by a network graph where the nodes correspond to the sensor nodes and the edges between two nodes correspond to the ability that the two sensors can communi- cate with each other wirelessly. The elements of a single sensor node are one (or more) sensor devices, a microprocessor, a small amount of memory, a radio transceiver and a battery [27]. The ability of sensing, processing, and transferring information leverages the idea of sensor networks based on the collaborative effort of a large number of nodes. Technical Report