scieee AI-readable full text Open interactive document viewer

Optimal data compression for lifetime maximization in wireless sensor networks operating in stealth mode

Incebacak, Davut,Zilan, Ruken,Tavli, Bulent,Barceló Ordinas, José María,García Vidal, Jorge

Abstract

Contextual privacy in Wireless Sensor Networks (WSNs) is concerned with protecting contextual information such as whether, when, and where the data is collected. In this context, hiding the existence of a WSN from adversaries is a desirable feature. One way to mitigate the sensor nodes’ detectability is by limiting the transmission power of the nodes (i.e., the network is operating in the stealth mode) so that adversaries cannot detect the existence of the WSN unless they are within the sensing range of the WSN. Position dependent transmission power adjustment enables the network to maintain its level of stealth while allowing nodes farther from the network boundary to use higher transmission power levels. To mitigate the uneven energy dissipation characteristic, nodes that cannot dissipate their energies on communications reduce the amount of data they generate through computation so that the relay nodes convey less data. Dynamic data compression/decompression strategies reduce the amount of data to be communicated, thus, they achieve better energy savings when compared to static compression/decompression of data in which the data is always compressed independently of the power transmission strategy. In this study, we investigate various data compression strategies to maximize the lifetime of WSNs employing contextual privacy measures through a novel Mathematical Programming framework.

Full text

Optimal Data Compression for Lifetime Maximization in Wireless Sensor Networks Operating in Stealth Mode Davut Incebacaka, Ruken Zilanb, Bulent Tavlic, Jose M. Barcelo-Ordinasb,∗, Jorge Garcia-Vidalb aMiddle East Technical University, Ankara, Turkey bUniversitat Politecnica de Catalunya-BarcelonaTECH (UPC), Spain cTOBB University of Economics and Technology, Ankara, Turkey Abstract Contextual privacy in Wireless Sensor Networks (WSNs) is concerned with protecting contextual information such as whether, when, and where the data is collected. In this context, hiding the existence of a WSN from adversaries is a desirable feature. One way to mitigate the sensor nodes’ detectability is by limiting the transmission power of the nodes (i.e., the network is operating in the stealth mode) so that adversaries cannot detect the existence of the WSN unless they are within the sensing range of the WSN. Position dependent transmission power adjustment enables the network to maintain its level of stealth while allowing nodes farther from the network boundary to use higher transmission power levels. To mitigate the uneven energy dissipation characteristic, nodes that cannot dissipate their energies on communications reduce the amount of data they generate through computation so that the relay nodes convey less data. Dynamic data compression/decompression strategies reduce the amount of data to be communicated, thus, they achieve better energy savings when compared to static compression/decompression of data in which the data is always compressed independently of the power transmission strategy. In this study, we investigate various data compression strategies to maximize the lifetime of WSNs employing contextual privacy measures through a novel Mathematical Programming framework. Keywords: Wireless Sensor Networks, Contextual Privacy, Data Compression, Network Lifetime ∗Corresponding author. Email addresses: [email protected] (Davut Incebacak), [email protected] (Ruken Zilan), [email protected] (Bulent Tavli), [email protected] (Jose M. Barcelo-Ordinas), [email protected] (Jorge Garcia-Vidal) Preprint submitted to Ad hoc Networks June 26, 2014 1. Introduction Wireless Sensor Networks (WSNs) are comprised of a plurality of low cost, limited power, and tiny sensor nodes. In WSN applications such as surveillance, physical measurements are taken by the sensors and reported to the sink node. One of the concerns in the design of a WSN is privacy preservation. Privacy enabling techniques are focussed with two main issues: data-privacy and contextual privacy. Data-privacy oriented techniques address the problem of preserving the privacy of the data collected by the sensors. On the other hand, adversaries are also interested in extracting contextual information (e.g., which wireless sensor node has detected the object of interest?). Contextual Privacy focus on hiding the identity and location of the nodes, hiding traffic flows, and rendering the task of contextual information extraction more challenging (i.e., defense-in-depth). Under this scenario, many mechanisms that appear in the literature, [1, 2], propose the introduction of redundant traffic or extra transmissions. Lowering the transmission power avoids the introduction of these extra transmissions, but still remains the issue of reducing the energy consumption and balancing the load to evenly distribute the energy dissipation. Tavli et al. [3], introduced a Linear Programming (LP) framework for studying the tradeoffs in network lifetime and load balancing in contextual privacy scenarios under uniform sensor node deployments. Data compression has widely been used to reduce the amount of traffic sent in a WSN, thus, to reduce the energy consumption. Yu et al. [4] proposed the concept of tunable compression that is able to adjust the computational complexity of lossless data compression based on the energy availability. The concept comes from compression tools such as gzip in which there are ten different levels of compression ratios. Since data compression and decompression in the nodes also dissipate energy, it is important to determine the energy savings achieved by different compression strategies. There is a clear trade-off in the energy consumed by compressing/decompressing data and the savings obtained by sending less amount of data to next-hop nodes. Lowering the transmission power minimize the domain in which attackers may lie, however, such a contextual privacy preservation approach also renders some links inoperable that can be used to balance the energy dissipation throughout the WSN. Hence, the inter play among data compression/decompression, load balancing, and the extent of the vulnerable domain (i.e., the area where adversaries may lie outside the sensing domain) is explored in this paper. This paper is a substantially improved and expanded version of an earlier conference paper [5], where we investigated the effects of several data compression strategies on WSN lifetime while providing stealth mode of operation through an LP framework. In fact, the LP framework in [5] is obtained by integrating the LP 2 frameworks presented in [3] and [6]. Nevertheless, the main contribution of this study is the consideration of more practical aspects of data compression in WSNs providing contextual privacy against adversaries. More precisely stated, this paper extends the concept introduced in [5] by investigating the effects of Optimal Single Level Compression (OSLC) and Limited Compression (LC) strategies through Mixed Integer Programming (MIP) models. Furthermore, we explore the impact of node density and limited transmission range due to contextual privacy scenarios. The rest of the paper is organized as follows. An overview of the related work is presented in Section 2. We construct and describe the mathematical programming framework in Section 3. Numerical analysis to explore the parameter space and to compare the performances of the proposed strategies are given in Section 4. Conclusions are given in Section 5. 2. Related Work Privacy preservation in the context of WSNs has been surveyed in [1, 2]. Li et al. [1] focus their survey on data-oriented and context-oriented privacy while Conti et al. [2] focus their survey on context-oriented privacy techniques, more precisely, on Source Location Privacy (SLP) which is a term to express security measures for hiding the location of the source nodes. The authors classify adversaries having a partial view of the network as local adversaries while those ones having a total view of the network as global adversaries. An example solution against global attackers is the use of Network Coding [7] which have the disadvantage of increasing complexity in the sensing nodes. Most of the solutions proposed defend the network against local adversaries using techniques such as random walk [8], cyclic entrapment [9], delaying the packet [10] or limiting node detectability [3, 11]. Some other techniques are able to defend the network against local or global adversaries utilizing implementation dependent approaches (e.g., use of dummy packets [8]). As discussed earlier, our work can be classified within the limiting node detectability solutions proposed against local adversaries. Another prominent study in this class is by Dutta et al. [11] where it is considered that the attackers measure raw physical properties of messages like angle of arrival or the signal strength of the detected signal. In order to defend against this kind of attackers, they propose anti-localization by silencing in which sensors intelligently predict their own importance as a measure of two conflicting requirements: localize the adversary and hide from the adversary. Only some sensors will participate in message exchanges reducing the probability that the adversary detects events. Our work deals with the hypothesis that local attackers want to be undetected while they observe the network. By limiting the transmission power of the nodes, 3 node detectability is restricted to a limited area outside the sensing area. In general, as Cheng et al. [12] show, limiting the transmission power implies the use of non-optimal routing paths with respect using the maximum transmission ranges, impacting, thus, the network lifetime. Tavli et al, [3], analyze the lifetime bounds improving contextual privacy by transmission range control. The authors show that maximizing the network lifetime increases the unobservability area in which the attacker can be placed, while decreasing the transmission range, network lifetime is reduced but the unobservability area is also reduced. Data compression allows reducing the amount of data to be sent to the sink. In general, compression ratios and time complexity are the metrics used by compression algorithms to evaluate the performance of the mechanisms. Srisooksai et al. [13], survey data compression mechanisms in WSN. The authors classify data compression mechanisms into two broad classes: distributed data compression and local data compression. Distributed data compression approaches such as Distributed Source modeling (DSM), Distributed Transform Coding (DTC), Distributed Source Coding (DSC) and Compressed Sensing (CS) techniques are, typically, employed in dense sensor deployment cases. In our paper, we consider local data compression techniques that usually exploit temporal correlation of the data and do not depend on the specific WSN topologies. These techniques are classically categorized as lossless and lossy compression schemes. Examples of lossless compression are the well known LZW (Lempel-Ziv-Welch) algorithm and the simple lossless entropy compression (LEC) scheme proposed for WSNs by Marcelloni et al. [14] while an example of lossy compression in WSNs is the Lightweight Temporal Compression (LTC) scheme proposed by Schoellhammer et al. [15]. In general, most of the works on data compression applied to WSNs analyze the impact of the compression ratio in energy savings. However, Ying et al. [16], propose a new metric, called Energy-Saving Benefit (ESB) which is able to measure when compression wastes energy. The authors argue that compression ratio and time complexity are not enough to satisfactorily express the energy performance of the compression algorithms. Yu et al. [4] propose the concept of tunable compression that is able to tune the computation complexity of lossless data compression based on the energy availability. The concept comes from compression tools, such as gzip in which there are ten different levels of compression ratios. Since data compression and decompression in the nodes also dissipate energy, it is important to determine the energy savings achieved by different compression strategies. This fact is also expressed by Barr et al. [17]. They show that there is an increase in energy dissipation when compression is applied before transmission by using several typical compression tools. The main conclusion in these works is that data compression in WSN reduces the energy consumed in the transmission since less data is transferred to the sink, however, it should be kept in mind that energy is spent in 4 the compression/decompression process also. Chen et al. [18], investigate a similar tradeoff in joint routing and data aggregation and conclude via simulations that data compression reduces latency and energy consumption due to the transmission process. Tavli et al. [6], model dynamic data compression and decompression in conjunction with flow balancing in WSNs. They show that a dynamic model in which there a set of levels at which the node can choose to compress offers better performance in terms of network lifetime than compressing all data with the same algorithm or not compression the data at all. Different from WSNs, Wireless Multimedia Sensor Networks (WMSNs), [19] (also called Visual Wireless Sensor Networks) have more stringent energy requirements because of the image quality, video coders, communication/computation expenses, and delays. In [20], the most important tradeoff has been reported as data quality versus energy consumption. It is also proved that using low cost video compression is beneficial in reducing transmission costs, as well as visual data transmission delay. Multimedia sensors are, then, good candidates to use smart compression schemes and WMSNs can benefit from the contextual privacy with data compression described in this work. The literature on mathematical programming based modeling and analysis of WSNs is extensive and has grown rapidly in recent years. Providing a comprehensive overview of the published research on modeling WSNs through mathematical programming is beyond the scope of our work. We refer interested readers to the recent review papers on this topic [21, 22]. Indeed, most of the studies on network lifetime maximization in WSNs through mathematical programming achieve their maximization objective by optimizing the convergecast flow of data towards the base station. In fact, we also adopt a similar approach in this study. However, our study brings several novel and solid contributions to the literature on WSNs. First, we create an optimization framework to maximize network lifetime by jointly considering the privacy preservation (i.e., the extent of the vulnerable area) and multi-level dynamic data compression, which has never been investigated in the literature. Second, we investigate the practical aspects of the problem (e.g., what if only one compression level is allowed to be used or only a subset of nodes are capable of performing compression?). Third, We propose several novel data compression strategies and investigate the network lifetime performances of these strategies for WSNs providing stealth mode of operation. Fourth, we explore a large parameter space to uncover the tradeoffs involved in privacy preservation, multi-level data compression, and network lifetime through the numerical analysis of the proposed mathematical programming framework. 5 3. System Model In this section we describe the system model, outline the assumptions, and present the Mathematical Programming framework. 3.1. Overview The mitigation of compromising privacy concept obtained by transmission range control is illustrated in Figure 1. In this model, the WSN consists of nodes distributed over a Sensing Domain (SD), with a Base Station positioned at the center of SD. Each sensor node is able to sense in a radius rsand we assume that its radio range, denoted as ri, is larger than the sensing radius (i.e.,ri> rs). In a dense deployment case, the furthest nodes with respect the sink delimit the border of the sensing area (i.e., if (xi, yi)is the location of a node and (x−xi)2+(y−yi)2≤r2 s is the sensing region of the node, the union of the sensing regions of all nodes will form the sensing domain). Since, the SD can be of any shape, for clarity and without loss of generality, we will consider a disk shaped SD of radius RSwith a sink, labeled as node-1, located at the center of the disk. Since the radio range of a node fulfils that ri> rs, nodes near the border of the SD that transmit data can be monitored by an adversary that lies outside the SD area. As a matter of fact, this will be true for all the nodes whose location (xi, yi)meet the condition q(x2 i+y2 i) + ri> RS. Let us define this area at which an adversary can observe data generated at the SD, the Vulnerable Domain (VD). Again for clarity, we consider that this area is limited by a radius Rvthat defines the limit at which any packet generated at the SD area can not be leaked. Then, any adversary who is located outside the SD region and inside the Rvradius and who has similar capability radios as sensor nodes can sense packets generated at the Sensing Domain. The Vulnerable Domain (VD) will then be an annulus of area AV D =π(R2 v−R2 s), and the difference Ru=Rv-Rsis defined as the Unobservability Margin. The larger the Ruis, the larger the VD becomes. Increasing VD increases the probability that the adversary is able to eavesdrop. Remembering that riis the radio range of a node-i, increasing the transmission power will increase the Unobservability Margin Ru. But, on the other hand, the number of hops towards the sink is reduced, therefore, it can be possible to reach the sink in one hop. Obviously, transmission power control has a great impact on network lifetime and in the size of the VD area. We consider a contextual privacy topology model in order to study the relation between network lifetime and the extent of the Unobservability Margin. In this model, Figure 1, the maximum transmission range of a node-iis its distance to the VD area (i.e.,Rmax,i =|Rv− ri|). Then, in this model, nodes have different maximum transmission ranges. 6 Figure 1: The contextual privacy topology model. The main goal of this study, then, is to find the optimal flow assignment and data compression strategy that maximizes lifetime for a given VD area. In other words, what is the impact of decreasing the VD area in the lifetime of the network and how can we maximize the network lifetime by utilizing appropriate compression and flow balancing strategies? 3.2. Energy Model The energy model used is the classical energy model defined by Heinzelman et al. [23], in which the amount of energy consumed to transmit a bit is defined as Ptx,ij =ρ+εdα ij, where ρmodels the energy dissipation on electronic circuitry, εdenotes the transmitter’s efficiency, αrepresents the path loss exponent and dij is the distance between node-iand node-j. Moreover, the amount of energy to receive a bit is represented as Prx =ρ. 3.3. Data Flow Model The network topology is defined as a directed graph G= (V, A), where Vis the set of nodes deployed in the SD (i.e., N=|V|is the number of nodes including the sink). The set Wis defined as the set of nodes without counting the sink. We assume a convergecast traffic pattern (i.e., all traffic flows from the sensors towards the sink). Let us define Aas the set of arcs in the graph: A={(i, j) : i∈W, j ∈ V− {i}}. A path Piis a sequence of arcs from sensor ito the sink from which the traffic flows. Each node-igenerates siunits of raw data per unit time. The amount of traffic that it is sent from one node-ito another node-jis denoted by fij. 7 Data compression has been proposed as a technique to minimize the amount of data to be sent to the sink which has a potential to reduce communication energy dissipation. Yu et al, [4], propose to intelligently compress the raw data at different levels. The idea is that some compression tools (e.g., gzip) support more than one level of compression. However, the higher the compression ratio is, the higher the energy dissipation is. In this study, we use the data compression model introduced in [6], where the authors investigate strategies to optimize dynamic compression and flow balancing jointly to improve network lifetime. Their analysis show that by using dynamic compression it is possible to obtain significantly higher system lifetime than the achievable lifetime by pure strategies. In this dynamic data compression model, data compressed at a particular compression level can be transformed into another compression level by first decompressing the data and re-compressing them at another level. In the model, there are multiple options at each node for the optimization of system lifetime. It is emphasized that using different combinations of these below given options is possible for each node. The compression options available for the sensor nodes are itemized as follows: •Raw data can be broken into branches and compressed at different compression levels. •Compressed data at a specific level can be decompressed to raw data and re-compressed at different levels. •Raw or compressed data can be forwarded directly or via other nodes to the base station. Let us define a compression/decompression scheme in which there are Kcompression/decompression levels. Each level-kis characterized by a compression ratio γk(respectively a decompression ratio of 1/γk). The energy consumption to compress 1 bit of data in the level-kis Pk cp while the energy consumption to decompress 1 bit of data in the level-kis Pk dc. In order to account for multiple compression/decompression levels, it is possible to define a virtual node for each compression level, called node-πk, and a virtual node for each decompression level, called node-ωk. Now, the amount of raw data at node-ito be compressed at level-kis denoted as fk iπ. The amount of compressed data at node-ifor the level-kis denoted as gk πi. The amount of compressed data at node-ifor the level-ksent for decompression to the virtual node-ωkis denoted as gk iω. The amount of raw data generated by decompression at node-iby the virtual node-ωkis denoted as fk ωi. Finally, let us denote as 8 gk ij the amount of data that flows from node-ito node-jcompressed at level-k. Figure 2 shows a network with 3 nodes and 2 levels for compression/decompression of data. In this example we can observe that node-2: Figure 2: Data Compression/Decompression flow model. (i) receives f32 units of raw data from node-3. It also receives g1 32 and g2 32 units of data compressed at level-1 and level-2, respectively, from node-3. (ii) sends f1 2πand f2 2πunits of raw data to be compressed at level-1 and level-2 at the virtual node-π1and node-π2, respectively. (iii) sends g1 2ωand g2 2ωunits of compressed data to be decompressed at level-1 and level-2 at the virtual node-ω1and node-ω2, respectively. (iv) receives g1 π2and g2 π2units of compressed data at level-1 and level-2 from the virtual node-π1and node-π2, respectively. (v) receives f1 ω2and f2 ω2units of decompressed data at level-1 and level-2 from the virtual node-ω1and node-ω2, respectively. (vi) sends f21 units of raw data, g1 21 and g2 21 of compressed data at level-1 and level-2, respectively, to node-1. 3.4. Data Compression Strategies Having laid the foundations of our framework, we will present the data compression strategies considered in this study. We employ five data compression strategies which are No Compression (NC) strategy, Always Compression (AC) strategy, Optimal Compression (OC), Optimal Single Level Compression (OSLC), and Limited Compression (LC). The first of these strategies are proposed and analyzed in [5, 6]. However, these models do not account for some of the inherent 9 that M=max(fk iπ). Note that ak iis zero if there is no data flow on fk iπ and ak i is unity if there is non-zero flow on fk iπ. In other words, Equation (19) ensures that a compression level-kis marked as chosen for compressing data at node-i only if the amount of raw data sent to the virtual node-πkat node-iis non zero (ak i= 1 if fk iπ >0). Equation (20) limits the number of compression levels that are used by each node to one. In other words, if a portion of raw data has to be compressed, node-ihas to use one compression level. Equations presented in Figure 3 combined with Equations (19) and (20) form the optimization model for OSLC. Since Equations (19) and (20) include binary variables, this is a Mixed Integer Programming (MIP) model. The Limited Compression (LC) strategy is used to investigate how the lifetime of nodes is affected if only a subset of the deployed nodes is able to compress data. The LC strategy optimally selects the set of nodes that can compress data. The LC strategy is obtained by adding Equations (21) and (22) to the equations in Figure 3. X k∈K fk iπ ≤Mbi,∀i∈W, (21) X i bi≤CLimit,∀i∈W. (22) Equation (21) specifies whether node-icompresses raw data or not. If node-icompresses raw data, the value of binary variable biis set to unity. If bi= 0 then node-iis not one of the nodes selected to compress data. CLimit in Equation (22) is the maximum percentage of number of nodes that are able to compress raw data. Again the objective of the model is maximizing lifetime. Since Equations (21) and (22) include binary variables, this model also is an MIP model. 4. Analysis In this section we present the results of numerical analysis of the proposed data compression strategies to characterize the effects of these strategies on network lifetime for WSNs operating in stealth mode. The compression strategies are OC, OSLC, LC, and five different compression levels of AC (AC1, AC2, AC3, AC4, and AC5) strategies. Furthermore, to emphasize the impacts of compression methods, we also include the uncompressed data (i.e., NC) results into our analysis. Contextual privacy objective is achieved by controlling the maximum data transmission range for each node (Rmax,i). We use GAMS (General Algebraic Modeling System) for the numerical analysis of LP and MIP models. GAMS consists of high performance solvers for solving LP and MIP models efficiently. In our analysis, each problem is averaged over 125 random topologies. 16 The number of deployed nodes is varied from 75 to 125. Each node-igenerates siunits of raw data per unit time (1 bps). Each node has 2 KJ initial energy. All nodes can communicate with the base station through either a direct or a multi-hop path. We use the standard values of receiver constant (ρis 50 nJ/bit), transmitter constant (εis 100 pJ/bit/m2), and the path loss exponent (α= 2), as in [12, 24]. The parameters used in the analysis are presented in Table 3. Table 3: Parameter values Parameter Values ρ50 nJ/bit ε100 pJ/bit/m2 α2 N75–125 NV A 0-3 ApN 100 m2–900 m2 ei2 KJ si1 bit/s Climit 0.1N–1N Rmax 0.3RS–RS We analyze the network lifetime as a function of Normalized Vulnerable Area (NV A), while maximizing the lifetime and applying different compression methods by varying node density. NV A is obtained by dividing the area of vulnerable domain to the area of sensing domain. The maximum NV A value is 3, because at NVA=3 all sensor nodes can reach the base station directly, hence, position dependent maximum transmission range constraint is effectively lifted for NV A ≥ 3. In other words, any value of NV Alarger than 3 will be meaningless since transmitting over a distance larger than RSis unnecessary for a disk shaped network, where the base station is located at the center. All lifetime values with the transmission range limitations are normalized with the lifetime values obtained when there is no transmission range limitation (i.e., all lifetime values obtained in each case are normalized with maximum lifetime obtained in that case). All cases are analyzed for different ApN (Area per Node) topologies (ApN = 100 m2, 300 m2, and 900 m2). ApN is obtained by dividing the total network area (i.e., the area of the SD) by the number of nodes (N) in the network. Alternatively, the area of the SD is obtained by multiplying ApN by the number of nodes in the network. The results are evaluated in two phases. At the first phase, we optimized data flows and analyzed lifetime versus NV A for different topologies, only considering the level of contextual privacy provided without using any compression strategy. At 17 the second phase, we optimized data flows while providing contextual privacy as in the first phase and analyzed the effects of applying data compression strategies (i.e., OC, OSLC, LC and ACs) on lifetime for different scenarios. 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime APN=100m2 APN=300m2 APN=900m2 Figure 4: Normalized lifetime as a function of NV A for different ApN values (N= 100) Figure 4 presents the first phase, where there is no data compression. Normalized lifetime is plotted as a function of NV A for different ApN values. Network lifetime decreases as ApN increases. For example, when NV A = 1, normalized lifetimes for ApN = 100 m2, 300 m2, and 900 m2are 0.72, 0.39, and 0.17, respectively. Increasing ApN leads to larger distances among nodes, thus the energy cost of sending data to the base station increases which results in decrease in the lifetime. When nodes reach their maximum data transmission distance, we observe constant lifetimes for all three cases. Normalization is achieved by dividing all the lifetime values by the maximum lifetime. In the second phase, effects of data compression strategies on lifetime for different ApN values are analyzed. The compression strategy acronyms used in the Figures are given in Table 4. Figure 5(a) shows the lifetime change for different compression strategies for ApN = 100 m2. Figure 5(a) reveals that mandatory compression of all the collected data has a negative effect on the lifetime. OC provides the best network lifetimes for all NV A values and the maximum normalize lifetime is 1. All nodes mostly use one compression level when data is required to be compressed, hence, lifetime values obtained by OC and OSLC methods are almost the same for all NV A values. Also, it is clear that AC methods do not bring any significant gains 18 Table 4: Acronyms used in the Plots. Acronyms Compression Techniques NC No Compression OC Optimal Compression OSLC Optimal Single Level Compression LC Limited Compression AC Always Compression AC1 Always Compression – Level-1 AC2 Always Compression – Level-2 AC3 Always Compression – Level-3 AC4 Always Compression – Level-4 AC5 Always Compression – Level-5 for this case (i.e., NC results in higher lifetimes than the ones achieved by using AC). For example, when NV A = 1, normalized lifetimes for NC, OC, OSLC, AC1, AC2, AC3, AC4, AC5 strategies are 0.72, 0.83, 0.83, 0.43, 0.42, 0.38, 0.32, and 0.29, respectively. Figure 5(b) presents the lifetime for different compression strategies when ApN = 300 m2. When we compare Figure 5(a) (ApN = 100 m2) with Figure 5(b) (ApN = 300 m2), especially, when the NV A values are smaller than unity, it is evident that compression helps getting higher lifetimes with increasing ApN values. On the other hand, NC is still the best strategy after OC and OSLC, Furthermore, lifetime values obtained by OC and OSLC strategies are almost the same for all NV A values for ApN = 300 m2. For example, when NV A = 1, normalized lifetimes for NC, OC, OSLC, AC1, AC2, AC3, AC4, AC5 are 0.79, 0.99, 0.99, 0.71, 0.72, 0.66, 0.58, and 0.53, respectively. For this case, the maximum normalize lifetime almost is half of the maximum normalized lifetime with ApN = 100 m2. Figure 5(c) presents lifetimes for different compression methods for ApN = 900 m2. The figure shows that OC and OSLC strategies are the best strategies for this case, as well. On the other hand, AC strategies have comparatively higher lifetime values than their values at lower ApN’s, which are close to OC values. For example, when NV A = 1, normalized lifetimes for NC, OC, OSLC, AC1, AC2, AC3, AC4, AC5 are 0.61, 0.98, 0.97, 0.86, 0.83, 0.83, 0.75, and 0.71, respectively. The difference between Figure 5(a) and Figure 5(c) highlights that when ApN value is high, using all compression strategies in the network results in increased lifetimes for all NV A values. Moreover, together with the high ApN, the increased distances among the nodes necessitates the utilization of compres19 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime AC1 AC2 AC3 AC4 AC5 OC OSLC NC (a) ApN = 100 m2 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime AC1 AC2 AC3 AC4 AC5 OC OSLC NC (b) ApN = 300 m2 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime AC1 AC2 AC3 AC4 AC5 OC OSLC NC (c) ApN = 900 m2 Figure 5: Effects of different compression strategies on normalized lifetime as a function of NV A for ApN = 100 m2,300 m2, and 900 m2(N= 100). sion strategies to obtain higher lifetime values, hence, the disadvantage of AC over NC in Figure 5(a) and Figure 5(b) diminishes in Figure 5(c). For the case of ApN = 900 m2, the maximum lifetime used for the normalization is almost one third of the maximum normalized lifetime with ApN = 100 m2. Figures 6(a), 6(b), and 6(c) show the effects of number of nodes on normalized lifetimes using OC strategy as a function of NV A for ApN = 100 m2, 300 m2, and 900 m2, respectively. While NV A < 0.8, there is a strong correlation between the number of nodes and the normalized lifetimes. In other words, as the number of nodes increases, the normalized lifetimes also increase. But after NV A ≥0.8, there is an inverse relation between number of nodes and normalized lifetimes. This is because for smaller NV A (NV A < 0.8), disconnection probability of the network is higher for lower number of nodes that affects normalized lifetimes. After NV A ≥0.8, there is almost no disconnection in the network and as the number of nodes increases the normalized lifetime decreases. 20 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime N=125 N=100 N=75 (a) ApN = 100 m2 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime N=125 N=100 N=75 (b) ApN = 300 m2 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime N=125 N=100 N=75 (c) ApN = 900 m2 Figure 6: Effects of number of nodes on normalized lifetime using OC strategy as a function of NV A for ApN = 100 m2,300 m2, and 900 m2. Figures 7(a), 7(b), and 7(c) show the effects of Rmax on normalized lifetime using OC strategy as a function of NV A for ApN = 100 m2, 300 m2, and 900 m2, respectively. The number of nodes in the network is kept constant as 100 and Rmax is chosen as proportional to the radius of the deployment area (RS). The optimal operation of networks that are deployed in small areas is sending most of their data directly to the base station. Since direct communication with base station requires higher energy, as the area increases nodes tend to use multi-hop communication to send their data towards the base station. In Figure 7(a), when Rmax constraint is not active (i.e.,Rmax=RS), most of the nodes in the network send most of their data directly to the base station. When Rmax constraint (Rmax ≥0.3RS) is active, Rmax threshold prevents some of the nodes from sending data directly to the base station which leads to extra energy dissipation and lower lifetime. For example, when NV A = 2, the normalized lifetimes are 0.24, 0.51, 0.64, 0.75, 0.85, 0.94, 0.98, 0.98 for Rmax=0.3RS,Rmax=0.4RS,Rmax=0.4RS,Rmax=0.6RS,Rmax=0.7RS, 21 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime Rmax=0.3RS Rmax=0.4RS Rmax=0.5RS Rmax=0.6RS Rmax=0.7RS Rmax=0.8RS Rmax=0.9RS Rmax=1.0RS (a) ApN = 100 m2 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime Rmax=0.3RS Rmax=0.4RS Rmax=0.5RS Rmax=0.6RS Rmax=0.7RS Rmax=0.8RS Rmax=0.9RS Rmax=1.0RS (b) ApN = 300 m2 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime Rmax=0.3RS Rmax=0.4RS Rmax=0.5RS Rmax=0.6RS Rmax=0.7RS Rmax=0.8RS Rmax=0.9RS Rmax=1.0RS (c) ApN = 900 m2 Figure 7: Effects of Rmax on normalized lifetime using OC strategy as a function of NV A for ApN = 100 m2,300 m2, and 900 m2. Rmax=0.8RS,Rmax=0.9RS, and Rmax=RS, respectively. As the network size increases, the impact of Rmax constraint on the lifetime becomes less visible. In figure 7(b) and 7(c), for Rmax ≥0.6RS, the change in network lifetime is negligibly low. The reason for such behavior is that for Rmax ≥ 0.6RS,Rmax,i constraint dominates Rmax constraint. While Rmax <0.6RS, although Rmax,i constraint allows nodes sending data to relay nodes, Rmax constraint prevents some of these nodes using some relay nodes. Hence, Rmax manifests its impact by decreasing lifetime for Rmax <0.6RS. Figures 8(a), 8(b), and 8(c) show the effects of limited compression (LC) strategy on normalized lifetime as a function of compression-limit (Climit) for ApN = 100 m2, 300 m2, and 900 m2, respectively. The number of nodes in the network is kept constant as 100. In this part, we investigate the impact of limiting the number of nodes which are able to compress and decompress data on normalized lifetime. As stated before, because of high energy cost, the percentage 22 20 40 60 80 100 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 CLimit lifetime NVA=0.5 NVA=1.0 NVA=1.5 NVA=2.0 NVA=2.5 NVA=3.0 (a) ApN = 100 m2 20 40 60 80 100 0.5 0.6 0.7 0.8 0.9 1 CLimit lifetime NVA=0.5 NVA=1.0 NVA=1.5 NVA=2.0 NVA=2.5 NVA=3.0 (b) ApN = 300 m2 20 40 60 80 100 0.4 0.5 0.6 0.7 0.8 0.9 1 CLimit lifetime NVA=0.5 NVA=1.0 NVA=1.5 NVA=2.0 NVA=2.5 NVA=3.0 (c) ApN = 900 m2 Figure 8: Effects of limited compression strategy on normalized lifetime as a function of Climit for ApN = 100 m2,300 m2, and 900 m2. of data sent directly to the base station decreases as the area increases (e.g., most of the sensor nodes in the ApN = 100 m2network send most of their data directly to the base station). As shown in Figure 8(a), enforcing compression limit on the network does not result in a significant deviation from the optimal energy balancing flows because most of the nodes are able to send data directly to the base station with less energy. In other words, most of the nodes in the ApN = 100 m2network does not need to use compression to achieve maximum lifetime. For example, even if only 10 % of the nodes (Climit=10) are able to compress and decompress data, deviation from maximum lifetime obtained in the unrestricted case (Climit → ∞) are 14.21 %, 8.34 %, 2.71 %, 0.26 %, 0 %, 0 % for NV A = 0.5,NV A = 1, NV A = 1.5,NV A = 2.0,NV A = 2.5,NV A = 3.0, respectively. For larger networks, (ApN = 300 m2and 900 m2), percentage of direct transmission to the base station is low and the nodes (especially ones farther away from the base station) tend to send most of their data to a limited number of relay nodes 23 to be conveyed to the base station. Also, the nodes tend to use compression in larger networks to reduce energy cost of sending data towards the base station. Therefore, enforcing compression limit in larger networks results in larger deviations from the maximum lifetime obtained in the unrestricted case (Climit → ∞). For ApN = 100 m2network (figure 8(a)), when NV A ≥1.0, enforcing compression limit does not prevent the network from achieving near optimal lifetime values, however, for ApN = 300 m2network (figure 8(b)), when NV A ≥1.0, maximum lifetime can only be achieved for Climit ≥40. For ApN = 900 m2 network (figure 8(c)), when NV A ≥1.0, maximum lifetime can only be achieved after Climit ≥70. 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime λ=0 λ=0.05 λ=0.10 λ=0.15 λ=0.20 λ=0.25 (a) ApN = 100 m2 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime λ=0 λ=0.05 λ=0.10 λ=0.15 λ=0.20 λ=0.25 (b) ApN = 300 m2 0 0.5 1 1.5 2 2.5 3 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 normalized vulnerable area lifetime λ=0 λ=0.05 λ=0.10 λ=0.15 λ=0.20 λ=0.25 (c) ApN = 900 m2 Figure 9: Effects of packet error probability on normalized lifetime as a function of NV A for ApN = 100 m2,300 m2, and 900 m2. Exploring the effects of packet losses on WSN lifetime is an important task for the validation of our system model. To incorporate the effects of packet losses we define a new variable λwhich is the maximum probability of packet error at a link (i.e., if λ= 0.10 then the links in the network have packet error probabilities in the 24 range of [0,0.10]). Furthermore, we set si= 1024 bits (128 Byte packets are generated at each node periodically) for this analysis. We obtained the optimal flows by setting λ= 0 and on the same topology we assign packet error probabilities randomly to each link. We further assume that once a packet is lost, it is retransmitted, therefore, the energy cost of transmitting and receiving a data packet is scaled with 1 (1−ϕ)where ϕis the packet error probability on the link. For example, if ϕ= 0.2 for a particular link then the average energy cost of transmission and reception on the link is 25 % more than the energy costs when there is no packet losses. Figures 9(a), 9(b), and 9(c) show the effects of packet error probability on normalized lifetime as a function of NV A for ApN = 100 m2, 300 m2, and 900 m2, respectively. The number of nodes in the network is kept constant as 100 and λis chosen between 0 % (no error) and 25 %. As λincreases the normalized network lifetime decreases monotonically. For example, when NV A = 3 and ApN=100, the normalized lifetimes are 0.96, 0.91, 0.87, 0.84, 0.81 for λ= 0.05,λ= 0.10, λ= 0.15,λ= 0.20, and λ= 0.25, respectively. Hence, the main conclusion of this analysis for validating our model is that packet errors has a significant impact on the network lifetime because there is an effective increase on the cost of communicating data due to retransmissions. However, except for the relative decrease with increasing λ, the effects of privacy preservation constraint (i.e.,NV A) on network lifetime do not change significantly from packet errors (i.e., network lifetime characteristics as functions of NV A do not exhibit significant variations for different λvalues). 5. Conclusions In this paper, we investigate the effects of providing contextual privacy on network lifetime in WSNs operating in stealth mode by limiting the transmission power levels of sensor nodes in a position dependent fashion. To mitigate the adverse effects of contextual privacy measures on maximum achievable lifetime we propose the employment of various data compression strategies. To analyze the benefits of these strategies qualitatively in prolonging the network lifetime of WSNs operating in stealth mode, we created a mathematical programming framework. We explored the parameter space by employing the developed mathematical programming framework encompassing both LP and MIP models. A brief summary of our findings are itemized as follows: •The major conclusion of this study is that optimal utilization of data compression can reduce the energy cost of providing contextual privacy in WSNs, significantly. 25