Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR AGGREGATING DATA IN A NETWORK
Document Type and Number:
WIPO Patent Application WO/2008/131787
Kind Code:
A1
Abstract:
A method for aggregating data in a network, particularly in a wireless sensor network, wherein the network (1) comprises a plurality of sensor nodes (Ni) to measure data and at least one sink node (S) at which the data measured by the sensor nodes (Ni) are aggregated, and wherein each sensor node (Ni) encrypts its measured data with a key k and forwards the result towards the sink node (S), is characterized in that, in the context of a key distribution within the network (1), a master key K is chosen, and that the master key K is autonomously split up by the network (1) into individual keys ki to be used by the sensor nodes (Ni) for encrypting measured data, with the sum of all individual keys ki being equal to the master key K.

Inventors:
ARMKNECHT FREDERIK (DE)
GIRAO JOAO (DE)
WESTHOFF DIRK
Application Number:
PCT/EP2007/003639
Publication Date:
November 06, 2008
Filing Date:
April 25, 2007
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NEC EUROPE LTD (DE)
ARMKNECHT FREDERIK (DE)
GIRAO JOAO (DE)
WESTHOFF DIRK
International Classes:
H04L29/06
Foreign References:
US20070078817A12007-04-05
Other References:
CASTELLUCCIA C ET AL: "E.cient Aggregation of encrypted data in Wireless Sensor Networks", MOBILE AND UBIQUITOUS SYSTEMS: NETWORKING AND SERVICES, 2005. MOBIQUITOUS 2005. THE SECOND ANNUAL INTERNATIONAL CONFERENCE ON SAN DIEGO, CA, USA 17-21 JULY 2005, PISCATAWAY, NJ, USA,IEEE, 17 July 2005 (2005-07-17), pages 109 - 117, XP010853989, ISBN: 0-7695-2375-7
HAOWEN CHAN ET AL: "Random key predistribution schemes for sensor networks", PROCEEDINGS OF THE 2003 IEEE SYMPOSIUM ON SECURITY AND PRIVACY. S&P 2003. BERKELEY, CA, MAY 11 - 14, 2003, PROCEEDINGS OF THE IEEE SYMPOSIUM ON SECURITY AND PRIVACY, LOS ALAMITOS, CA : IEEE COMP. SOC, US, 11 May 2003 (2003-05-11), pages 197 - 213, XP010639722, ISBN: 0-7695-1940-7
Attorney, Agent or Firm:
ULLRICH & NAUMANN (Luisenstrasse 14, Heidelberg, DE)
Download PDF:
Claims:

C l a i m s

1. A method for aggregating data in a network, particularly in a wireless sensor network, wherein the network (1) comprises a plurality of sensor nodes (N 1 ) to measure data and at least one sink node (S) at which the data measured by the sensor nodes (N 1 ) are aggregated, and wherein each senor node (N 1 ) encrypts its measured data with a key k, and forwards the result towards the sink node (S), c h a r a c t e r i z e d i n that, in the context of a key distribution within the network (1 ), a master key K is chosen, and that the master key K is autonomously split up by the network (1) into individual keys k, to be used by the sensor nodes (N 1 ) for encrypting measured data, with the sum of all individual keys k, being equal to the master key K.

2. The method according to claim 1 , wherein the master key K is chosen by the sink node (S).

3. The method according to claim 1 or 2, wherein the master key K is solely stored at the sink node (S).

4. The method according to any of claims 1 to 3, wherein the flow of data in the network (1 ) has a converge-east traffic structure.

5. The method according to any of claims 1 to 4, wherein the sensor nodes (N 1 ), with the exception of the sink node (S), have one predecessor node (F N| ), respectively, and wherein the sensor nodes (N 1 ), as the case may be, have one or more successor nodes (C N| ), respectively.

6. The method according to any of claims 1 to 5, wherein means are provided by which each sensor node (N 1 ) is informed of its relative position within the network.

7. The method according to claim 5 or 6, wherein each senor node (N 1 ), in the context of the key distribution process, upon receipt of a certain subtotal K 1 of the master key K from its predecessor node (F N| ) splits up the value K 1 into a number n of subtotals K',.

8. The method according to claim 7, wherein each senor node (N 1 ) defines the number n of subtotals K', in accordance with the number of its direct successor nodes.

9. The method according to any of claims 5 to 8, wherein at least some of the senor nodes (N 1 ) function as aggregator node (A 1 ) by aggregating the measured data of its successor nodes (C A| ).

10. The method according to claim 9, wherein an aggregator node (A 1 ) performs an aggregation function on incoming encrypted data, forwarded to the aggregator node (A 1 ) by its successor nodes (C A| ), and on its own measured encrypted data before forwarding the result towards the sink node (S).

11. The method according to claim 10, wherein the aggregation function is an addition operation, a subtraction operation, a multiplication operation or an inverse multiplication operation.

12. The method according to any of claims 1 to 11 , wherein the algorithm used for encryption is homomorphic both with respect to the keys k, used for encryption and with respect to the values v, to be encrypted.

13. The method according to claim 12, wherein the homomorphic algorithm is a deterministic or probabilistic privacy homomorphism.

14. The method according to any of claims 5 to 13, wherein the sink node (S) chooses a random value R as some network wide dummy value and wherein each sensor node (N 1 ) stores the random value R encrypted with the keys k, of its successor nodes (C N| ) as replacement values E kl (R).

15. The method according to any of claims 10 to 14, wherein each aggregator node (A 1 ), in the context of applying the aggregation function, employs the replacement values E kl (R) for those of its successor nodes (C A| ) which do not contribute to the data aggregation process by forwarding a measured value to the aggregator node (A 1 ).

16. The method according to any of claims 1 to 15, wherein the key distribution is carried out in a secure environment.

17. The method according to any of claims 1 to 16, wherein each sensor node's (N 1 ) key k, is updated from time to time during a key refreshment phase.

18. The method according to claim 17, wherein key refreshment is carried out after each single aggregation phase.

19. The method according to any of claims 1 to 18, wherein the roles of the sensor nodes (N 1 ) are changed from time to time.

Description:

METHOD FOR AGGREGATING DATA IN A NETWORK

The present invention relates to a method for aggregating data in a network, particularly in a wireless sensor network, wherein the network comprises a plurality of sensor nodes to measure data and at least one sink node at which the data measured by the sensor nodes are aggregated, and wherein each senor node encrypts its measured data with a key ki and forwards the result towards the sink node.

Methods as mentioned above are well-known in practice and are of special importance in the context of wireless sensor networks (WSNs). WSNs are ad-hoc networks composed of, in general, miniaturized sensor nodes with limited computation and energy capacities. Sensor nodes, in general, consist of a probe, a processing unit, a communication device, and a battery and dispose of the functionality of data acquisition, communications and computation.

Wireless sensor networks are becoming increasingly popular in many spheres of life. The field of application of sensor networks includes but is by no means limited to monitoring and controlling machines, controlling (intra- and extra-corporal) health parameters or environmental monitoring (like temperature, humidity and seismic activity measurement). The range of application possibilities is almost infinite, though. In specific application fields, such as water contamination examination or weather forecasting, for example, it is extremely advantageous that the sensor nodes may be manufactured in miniature size making it possible to establish sensor networks even in geographical regions that are hard to access.

The communication among the sensor nodes is performed wirelessly via broadcast messages. This makes sending a highly costly and unreliable operation which should be avoided as much as possible. As a rule of thumb sending is roughly 100-1000 times more energy consuming than one computation step. Therefore, any mechanism that allows the reduction of the transmission helps to improve the time life of a WSN.

CONRRMATION COPY

One possible approach for transmission reduction is data aggregation. In certain fields of operation, the user is not interested in the individual measurements but rather in their aggregation, e.g. their sum or the average value. In these cases, it is not necessary to send all measurements from the sensor nodes up to the sink node. Instead, these data can be processed within the network and only the result, e.g. the sum, is forwarded. As the data size of the sum is much smaller than the concatenation of all the summands, this helps to lower the transmission overhead.

As sensor nodes, due to their limited capacities, in general, do not comprise a tamper resistant unit security issues as regards a concealed communication among the nodes is crucial. Particularly in WSNs with a massive number of sensor nodes aiming at a deployment in a volatile, untrusted or even hostile environment nodes must be equipped with security mechanisms which support message exchange between the nodes.

Stimulated by the observation that for non tamper resistant sensor nodes, which are most likely for future large scaled sensor networks, hop-by-hop security as it is provided with proprietary solutions like TinySec (the security module of TinyOS) or a standardised security protocol like IEEE 802.15.4 can only provide a very limited overall system security, efficient solutions should aim at mechanisms that provide end-to-end security. In this context, end-to-end security means that only the sink node can access the data that was individually encrypted by the different sensor nodes but no node in between. In the best case, it should be possible to combine end-to-end encryption with data aggregation. Although providing data aggregation with end-to-end security in WSNs is a challenging task due to the highly self- organising distributed structure of WSNs, some progress in this direction has already been made.

For example, in C. Castelluccia, E. Mykletun, and G. Tsudik, Efficient aggregation of encrypted data in wireless sensor networks, in 2 nd Annual International Conference on Mobile and Ubiquitous Systems: Networking and Services, San Diego, CA, USA, July 2005, the focus is on end-to-end encryption of real-time traffic in synchronous WSNs and a stream cipher-based symmetric encryption transformation is proposed. By using pairwise keys, the scheme provides a high system security. Also, the pre-

distribution of keys is quite simple as the keys can be randomly distributed to the nodes and only the sink nodes needs to store all the keys. However, the benefit of the overall system security comes at the cost of additional overhead. Firstly, the nodes' configuration before node deployment requires a pairwise pairing between each sensor node and the sink node to agree on the shared key. Secondly, although the sink node is considered to be equipped with much more memory than a sensor node, if one is aiming at large scaled sensor networks, the storage of thousands or hundreds of thousands of pairs (ID, key) may turn out to be a serious problem. Thirdly, since the focus is on security solutions over a highly unreliable medium one cannot ignore the impact of packet loss on the wireless broadcast medium. Revealing per data transmission the key IDs respectively node IDs of all the currently involved nodes therefore becomes mandatory for converge-east traffic encrypted with the privacy homomorphic encryption scheme by Castelluccia, Mykletun and Tsudik. This enormously increases the size of the transmission data that has to be sent by the nodes. As sending is by far the most costly operation in terms of energy consumption, this approach reduces the life time of a WSN and therefore decreases the users' acceptance.

It is therefore an object of the present invention to improve and further develop a method of the initially described type for aggregating data in a network in such a way that by employing mechanisms that are readily to implement a high security is provided for the data aggregation process, while the communication overhead is reduced compared to the schemes according to the state of the art.

In accordance with the invention, the aforementioned object is accomplished by a method comprising the features of claim 1. According to this claim such a method is characterized in that, in the context of a key distribution within the network, a master key K is chosen, and that the master key K is autonomously split up by the network into individual keys ki to be used by the sensor nodes for encrypting measured data, with the sum of all individual keys k, being equal to the master key K.

According to the invention it has first been recognised that a high security level with a reduced communication overhead can be realised by implementing a key distribution process within a network that is based on a master key K that is autonomously split

up by the network into individual keys ki to be used by the sensor nodes for encrypting measured data. The autonomous splitting up of the master key K is performed in such a way that the sum of all individual keys k ; is equal to the master key K. By this means a self-organised key distribution is realized, making this process more comfortable for the network's owner/administrator since the nodes configuration before node deployment does not require a pairwise pairing between each sensor node and the sink node to agree on a shared key. Furthermore, the method according to the invention does not require additional data overhead when sending encrypted traffic towards the direction of the sink node. Moreover, by employing pairwise unique keys for end-to-end encryption a high overall system security is achieved since there is no lack of security at single sensor nodes.

Advantageously, the master key K is chosen by the sink node. The sink node, in general, is equipped with much more power and storage capacity than a sensor node. This factor together with its central roll within the network predestines the sink node for initiating the key distribution process. As regards a further improvement of security it proves to be advantageous that the master key K is solely stored at the sink node. In this case only the sink node is enabled to decrypt the final aggregated value by applying the master key K to the received ciphers. It is pointed out that the sink node knows the sum K stored in the sensor network without knowing the individual keys k,.

Preferably, the flow of data in the network has a converge-east traffic structure. This kind of structure that is directed towards a central point - the sink node - is best suited for a key distribution scheme that supports the establishment of pairwise unique keys for end-to-end encryption.

Concretely, each sensor node of the network may have one predecessor node (that is closer to the sink node than the sensor node itself). The only exception may be the sink node which - as the destination point of the converge-east traffic structure - does not have any predecessor node. Accordingly, looking away from the centre of the network, the sensor nodes may have one or more successor nodes. In this context it becomes clear to someone skilled in the art, that not every sensor node will have a successor node. For example, the outermost sensor nodes of a network do

not have a successor node. Such nodes could be denominated as leaf nodes, thereby referring to the tree or tree like structure of the sensor network.

In an especially advantageous way, means are provided by which each sensor node is informed of its relative position within the network. In other words, after an initial bootstrap phase each sensor node knows his predecessor node and his successor nodes. In this regard it is to be preferred that the sensor nodes in the network are quasi stationary after once being distributed. It is to be noted that a sensor nodes' knowledge of its relative position does not include location-awareness with respect to its absolute position.

Based on the relative position information it may be provided that each sensor node, in the context of the key distribution process, upon receipt of a certain subtotal K| of the master key K from its predecessor node splits up the value K 1 into a number n of subtotals KV As regards an optimal adaptation to the network's structure each sensor node may define the number n of subtotals IC 1 in accordance with the number of its direct successor nodes. For example, if a sensor node knows that is has three successor nodes and if this sensor node receives the value K, from its predecessor node it splits up this value in four subtotals with K| = Kf + K\ + K' 2 + K' 3 . Kf will be used by the sensor node later on to encrypt its data. The other subtotals are passed to the successor nodes to be split up again according to the networks structure and so on. From a security point of view it is advantageous that the sensor node itself only stores Kf permanently and deletes the other subtotals from its memory after passing them to the appropriate successors. At the end of the key distribution process, each sensor node possesses one key such that the sum of all the keys distributed within the networks equals the master key K.

In a preferred embodiment at least some of the sensor nodes may function as aggregator nodes by aggregating the measured data of its successor nodes. By this means the number of messages that is needed to transport the measured data of all sensor nodes to the sink node can be reduced drastically. As sending is the most costly operation in wireless sensor networks data aggregation is highly favourable.

The aggregation process carried out by an aggregator node may include the steps of performing an aggregation function on incoming encrypted data, which is forwarded to the aggregator node by its successor nodes, as well as on its own measured encrypted data, and the step of forwarding the aggregated result towards the sink node. Concretely, the aggregation function may be an additional operation, a subtraction operation, a multiplication operation or an inverse multiplication operation.

In an especially advantageous embodiment, the algorithm used for encryption is homomorphic both with respect to the keys k, used for encryption and with respect to the values v, to be encrypted. This kind of encryption function is called bihomomorphic. This means that for any two keys Ic 1 and k 2 as well as for any two plaintext values V 1 and V 2 , it holds that

E k i(Vi) + E k2 (V 2 ) = E k1 + k2 (V 1 + V 2 ).

A simple example of such an algorithm is E k (v) := k + v mod n, where both key k and value v are some integers in the range from 0 to n-1. In the case the aggregation operation is the addition operation the sink node wants to know the sum of the measured values V 1 + ... + v n , where n denotes the number of sensor nodes in the network. Due to the bihomomorphic structure of the encryption algorithm, the sink node which wants to decrypt

E 151 (V 1 ) + ... + E kn (v n ) = E k1 +.. . + kn (V 1 + ... + V n )

only needs to know the value k, + ... + k n , i.e. the master key K. In contrast, the individual keys k, are not needed for the decryption. Since the described method aims at large scaled sensor networks, the storage of thousands of pairs (ID, key), which may turn out to be a serious problem, is dispensable. The sink node or any other node that initiates the key and distribution process only needs to know the master key K with K = k, + ... + k n . The aggregator nodes, on the other hand, are not required to perform any decryption operation on the incoming data from its successor nodes like it is required when using conventional hop-by-hop encryption. As

previously pointed out, this increases the overall system security since there is no lack of security at the aggregator nodes.

The bihomomorphic algorithm may be deterministic or probabilistic. A deterministic one maps the same pair of key and plaintext always to the same ciphertext, whereas for a probabilistic one this mapping differs with some probability.

In a further preferred embodiment the sink node chooses a random value R as some network wide dummy value which may be distributed within the sensor network in the context of the key distribution process. The value R is employed in such a way that each sensor node N 1 stores for each of its successor nodes the value E ki (R), i.e. the ciphertexts of the random value R wherein ki denominates the keys of the successor nodes. With regard to a highly efficient data aggregation process, each aggregator node in the context of applying the aggregation function employs the default value E ki (R) for those of its successor nodes which do not contribute to the data aggregation process by forwarding a measured value to the aggregator node. By this means non- responding nodes (which, for example, ran out of energy or dropped out due to other failures) can be handled and, as opposed to schemes according to the state of the art, the IDs of responding/non-responding nodes do not need to be provided. Thus, only the aggregated ciphertexts need to be forwarded. This again reduces the communication overhead and, thereby, increases the lifetime of the sensor network. Furthermore, the robustness during the aggregation phase is enhanced what is especially useful due to the highly unreliable medium in which the messages are broadcasted and in which the impact of packet loss can not be ignored. Consequently, even in cases of unreliable links or due to situations in which a subset of nodes can not participate in the sensing and forwarding process, the data aggregation can be performed with high efficiency and security. This is particular effective for sensor networks with a fixed network structure as it is the case for wireless body networks (W-BANs). W-BANs will probably play a prominent role in future e-health architectures as they allow the remote monitoring of customers' health status.

Advantageously, the key distribution is carried out in a secure environment where no attacker is assumed to be in place. After the initial key distribution in the context of an

initialisation phase, refreshment phases may be provided in which each sensor nodes' key k| is updated from time to time. In particular, for any deterministic privacy homomorphism used for encryption it is essential to refresh keys ideally after each single aggregation phase. However, for a realistic setting a good balance between the frequency of key refreshment and the required security level should be achieved. It has to be noted that the key refreshment is only useful to support a deterministic privacy homomorphism. For all encryption transformations which are falling into the category of pairwise probabilistic privacy homomorphism it does not yield any benefits.

In principal, the refreshment phase of the keys may be similar to the key distribution in the initialisation phase. The keys ki may be modified such that the old master key K is replaced by a new master K * such that the sink node only chooses and knows the differences K - K * =: δ, but not the individual keys.

Two different embodiments for the key refreshment prove to be advantageous. According to a first embodiment, the difference δ is split up and reported to the successor nodes in the same way as the master key K in the initialisation phase. Unlike in the initialisation phase where no attacker is assumed to be in place, updated keys can not be eavesdropped so that for the key refreshment phases there is no need for a secure environment.

Alternatively, each node stores several keys at the same time, derived from different master keys. In this case, the actual key is equal to a specific linear combination of the stored keys whereas the linear combination is uniquely determined. As opposed to the first embodiment, the second one does not require the transmission of data for the key refreshment.

In a further advantageous embodiment the roles of the sensor nodes are changed from time to time. Such a change results in a longer lifetime of the sensor network as, for example, aggregating incoming data and forwarding them is a more energy consuming task than just sensing and sending the measured values.

There are several ways how to design and further develop the teaching of the present invention in an advantageous way. To this end it is to be referred to the patent claims subordinate to patent claim 1 and to the following explanation of a preferred example of an embodiment of the invention, illustrated by the figure on the other hand. In connection with the explanation of the preferred example of an embodiment of the invention by the aid of the figure, generally preferred embodiments and further developments of the teaching will we explained.

In the drawings:

Fig. 1 is a schematic view of an embodiment of a method according to the invention, showing the key distribution, and

Fig. 2 is a schematic view of an embodiment of a method according to the invention showing the data aggregation.

Fig. 1 illustrates schematically an embodiment of the present invention. More precisely, the key distribution process according to the invention is shown. For the purpose of clarity and exemplary illustration, Fig. 1 only shows a very small section of a sensor network 1 , the illustrated section comprising only four sensor nodes which are denominated N 0 , N 1 , N 2 , and N 3 . In practice, however, the sensor network 1 may include several thousands of sensor nodes N|.

The initialisation works top-down from the route of the sensor network 1 - the sink node S (not shown) - to the sensor nodes N 1 . In a nutshell, every sensor node N 1 receives at one point in time during the key distribution his share of the master key K which is chosen by the sink node and which is distributed to the sink nodes' successor nodes in a controlled way. In the embodiment shown in Fig. 1 , sensor node N 0 receives his share k of the master key K from its predecessor node (not shown). The sensor node N 0 is aware of his successor nodes - N 1 , N 2 , and N 3 - and, consequently, splits up his share k of the master key K into four subtotals ko, k^ k 2 and k 3 with k = ko + k, + k 2 + k 3 and distributes the three last subtotals to its successor nodes N 1 , N 2 , and N 3 , respectively. The sensor nodes N 1 and N 2 have two successor

nodes, respectively, and, consequently, split up their shares - k, and k 2 , respectively - of the master key K randomly into three subtotals and distribute these values to their successor nodes. On the other hand, the sensor node N 3 has three successor nodes, and, consequently, splits up his share k 3 of the master key K into four subtotals.

At the end of the distribution process, each sensor node N 1 has received a single symmetric key k, whereas all keys k, are derived from one master key K which is solely stored at the sink node. During the initialisation phase as described above the system is highly vulnerable even to passive attacks. Hence, no attacker is assumed be in place during this phase.

Moreover, although not shown in Fig. 1 , the sink node S chooses a random value R. The value R is distributed to all sensor nodes N 1 of the network 1. For robustness, each sensor node N 1 stores for each of its successor nodes the cipher E kl (R) wherein k, are the respective keys of the successor nodes. For security reasons, each sensor node N 1 subsequently deletes all values from its memory except its own key k, and the encrypted values Ei 0 (R) for its successor nodes.

Referring now to Fig. 2, the same small section of the sensor network 1 as in Fig. 1 is shown. In contrast to Fig. 1 , Fig. 2 refers to the data aggregation process. During an aggregation phase converge-east traffic is encrypted end-to-end from the sensor nodes N, to the sink node. Each sensor node N 1 applies a symmetric homomorphic encryption transformation by encrypting its monitored value with its own unique key and by subsequently summing up the resulting ciphertext to the ciphertexts received from its children/successor nodes.

Referring more particularly to Fig. 2, the sensor nodes N 1 and N 3 have sensed values V 1 and v 3 , respectively. On the other hand, sensor node N 2 is exhausted, for example due to empty batteries, and, as a result, does not contribute with a measured value to the data aggregation process. The sensor nodes N 1 and N 3 encrypt their measured values with their individual symmetric keys k, and k 3 , respectively, and forward the results E k1 (V 1 ) and E k3 (v 3 ), respectively, to their predecessor node N 0 .

As the sensor nodes are aware of their relative position within the network, sensor node N 0 realizes that it has not received the data from all its successor nodes N 1 , N 2 and N 3 . Consequently, it replaces the missing ciphers by the ciphers of a replacement value R which has been distributed during the initialisation phase as a network wide dummy value and which is stored by all sensor nodes N 1 as described above. As a result, aggregator node N 0 forwards E k1 (V 1 ) + E k2 (R) + E k3 (v 3 ) to its predecessor node. At the end, the sink node S receives

as well as the value ctr wherein ctr is a first counter that denotes the number of dummy values R contained in the aggregation. As the sink node S furthermore knows K, it can easily derive the sum of all measured and reported values. With respect to the non-responding sensor nodes the sink node S at the end of the aggregation process only needs to know how many dummy values are included in the plaintext but not which specific nodes have responded. The counter ctr is incremented according to the number of non-responding nodes and may be transmitted together with the encrypted measured values.

From the information as described above, the sink node S can recover the sum of the measured and reported values but does not know how many values have been aggregated in total. Since these information may be important, a second counter, resp, may be incorporated which computes the number of responded nodes. The counter resp can be handled like the counter ctr. An aggregator node receives from each responding node Nj a value resp, and forwards the sum of it to its predecessor node. In the embodiment shown in Fig. 2 the sensor node N 0 would forward the counter ctr incremented by the value 1 (resulting from the non-responding node N 2 ) and the counter resp incremented by the value 2 (resulting from the two responding nodes N 1 and N 3 ).

Since each sensor node N 1 purely stores its own key it can not decrypt the incoming ciphers from its children/successor nodes. Only the sink node S is enabled to decrypt the final aggregated value by applying the master key K to the received ciphers. As previously mentioned, since not always all nodes may have contributed or due to

interference on the wireless transmission medium packets may got lost, each intermediate node adds those stored default ciphers E ki (R) to the aggregated ciphered sum which correspond to its direct children which have not provided their input. During an aggregation phase the system is secure against passive and active attacks. No sensor node can decrypt received ciphers. Only the corruption of a full subtree ST(N) would result in gaining knowledge of the aggregated value representing the monitored value of the actual subtree. Subtree ST of a node N in this context is defined as ST(N) = {N} if N is a leaf node, otherwise as ST(N) = (N) U U N - £ Succ(N) ST(N') as the subtree with root N.

Many modifications and other embodiments of the invention set forth herein will come to mind the one skilled in the art to which the invention pertains having the benefit of the teachings presented in the foregoing description and the associated drawings. Therefore, it is to be understood that the invention is not to be limited to the specific embodiments disclosed and that modifications and other embodiments are intended to be included within the scope of the appended claims. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.