Sensors 2014, 14, 20940-20962; doi:10.3390/s141120940 sensors ISSN 1424-8220 www.mdpi.com/journal/sensors Article Service-Oriented Node Scheduling Scheme for Wireless Sensor Networks Using Markov Random Field Model Hongju Cheng 1,2,*, Zhihuang Su 1, Jaime Lloret 3 and Guolong Chen 1,4 1 College of Mathematics and Computer Science, Fuzhou University, Fuzhou 350108, China; E-Mails: [email protected] (Z.S.); [email protected] (G.C.) 2 Department of Computer Science, The University of Alabama, Tuscaloosa, AL 35401, USA 3 Instituto de Investigación Para la Gestión Integrada de Zonas Costeras, Universidad Politécnica de Valencia, C/ Paranimf nº 1, Grao de Gandia, Gandia, Valencia 46730, Spain; E-Mail: [email protected] 4 Fujian Provincial Key Laboratory of Network Computing and Intelligent Information Processing, Fuzhou University, Fuzhou 350108, China * Author to whom correspondence should be addressed; E-Mail:
[email protected]; Tel.: +86-135-9909-9519; Fax: +86-591-2286-5171. External Editor: Neal N. Xiong Received: 3 August 2014; in revised form: 1 October 2014 / Accepted: 28 October 2014 / Published: 6 November 2014 Abstract: Future wireless sensor networks are expected to provide various sensing services and energy efficiency is one of the most important criterions. The node scheduling strategy aims to increase network lifetime by selecting a set of sensor nodes to provide the required sensing services in a periodic manner. In this paper, we are concerned with the service-oriented node scheduling problem to provide multiple sensing services while maximizing the network lifetime. We firstly introduce how to model the data correlation for different services by using Markov Random Field (MRF) model. Secondly, we formulate the service-oriented node scheduling issue into three different problems, namely, the multi-service data denoising problem which aims at minimizing the noise level of sensed data, the representative node selection problem concerning with selecting a number of active nodes while determining the services they provide, and the multi-service node scheduling problem which aims at maximizing the network lifetime. Thirdly, we propose a Multi-service Data Denoising (MDD) algorithm, a novel multi-service Representative node Selection and service Determination (RSD) algorithm, and a novel MRF-based Multi-service Node OPEN ACCESS
Sensors 2014, 14 20941 Scheduling (MMNS) scheme to solve the above three problems respectively. Finally, extensive experiments demonstrate that the proposed scheme efficiently extends the network lifetime. Keywords: wireless sensor networks; service-oriented; multi-service; node scheduling; Markov Random Field; energy efficiency 1. Introduction Wireless sensor network is emerging as an important technology which includes a large number of self-organized sensor nodes connected with wireless communications [1]. The sensor nodes are generally equipped with sensing devices, micro-processor, limited memory, wireless transmitter and lower-energy batteries. The characteristics of the sensor networks, such as cheapness and self-organization, make it possible to deploy them in various applications, such as environment data collection, smart home, and machine health monitoring. At the same time, the rapid development of sensor technology leads to the emerging sensor nodes equipped with multiple sensing devices such as temperature, sound and motion, etc. One important trend for the future wireless sensor networks is to provide various sensing services. In the future service-oriented wireless sensor networks, one single node can simultaneously support multiple sensing services [2–9] rather than a single sensing service. How to solve the problem of resources sharing while providing different sensing services in an energy-efficient way is one of the most important problems in the future service-oriented wireless sensor network. The node scheduling scheme is an important way to solve the problem of resource sharing between different sensing services and extend network lifetime [10–16]. In some applications, sensed data should be collected from all nodes in the network, which is not an efficient way to collect all raw sensed data for the application, especially in densely deployed wireless sensor networks. It is generally tolerant if the final collected data for different services is within the given error thresholds since there are deviations between the raw sensed data and the physical values of the monitored targets [9,10]. Furthermore, the sensed data is generally correlated and redundant between nodes that provide one single service or different services since they observe the same targets in the same geographic region [15–20]. Therefore, a subset of representative nodes can be selected and every representative node provides its determined services within error thresholds guarantees, while the rest data is not sent to the application. This strategy can not only reduce the energy cost and prolong the network lifetime, but also contribute to solve some other issues in densely deployed wireless sensor networks [15], such as lower network throughput, transmission conflicts, etc. It shall be mentioned that the multi-service node scheduling problem also determines the sensing services that every representative node should provide when they are selected. Figure 1 shows a simple network with one monitored target t1 whose sensing radius is denoted as r. And target t1 falls in the sensing radius of four nodes, a, b, c and d. Two kinds of services, s1 and s2, are provided by each node in the network, and the sensed data for services s1 and s2 are listed above the node, i.e., the sensed data of node a is [30.3 20]. Note that the sensed data is a noisy version of the physical value, and the physical values of services s1 and s2 are generally correlated. Assume that the physical
Sensors 2014, 14 20942 value of service s1 is 10 less than that of s2 and the error threshold for the two services is 0.5. The selected representative node is marked with a black solid circle and the service data is marked in red color. As we can see, the observed data of node a, b, c and d for service s1 is 30.3, 30.5, 29.8 and 30.1 accordingly. Obviously, the last three values are within the error threshold of the first one. Furthermore, the sensed data of node a for service s1 is 30.3, and we can infer that the sensed data for s2 is 20.3 since the two services are correlated. Note that the observed data of node a, b, c and d for service s2 is 20, 20.5, 20.2 and 20.3, and these data is within the error threshold of 20.3 too. In this way, node a can be selected as the representative node to provide two services and only the data for service s1 is required since the rest data is within the error threshold. Figure 1. An example of the representative node selection and the provided services in the wireless sensor network. However, it is not proper to select the representative nodes and determine the services they provided directly by the sensed data because it is a noisy version of the realistic data due to the affection of the environment, node parsimony and other factors [21]. Here we demonstrate an example to illustrate this issue. Assume that every node provides one service data and the error threshold is 0.5. Figure 2a–c show the results for the representative node selection problem with the noise-free data, noise-corrupted data and denoised data separately. There is one link between two nodes if they monitor the same target and the deviation between the data is smaller than the given error threshold. As we can see in Figure 2, the selected representative node set is {a}, {a, e} and {a} with noise-free, noise-corrupted and denoised data accordingly. In this example, the number of selected nodes with noise-corrupted data is larger than that with noise-free and that with denoised data, while they are the same with the latter two data. However, it is almost impossible to obtain the noise-free data in practice. In this paper, we introduce a novel idea to obtain the denoised data which is described in Section 4.2. Figure 2. An example of the representative node selection scheme: (a) using noise-free data; (b) using noise-corrupted data; (c) using denoised data. (a) (b) (c)
Sensors 2014, 14 20943 The efficiency of data denoising depends heavily on how to model the data correlation between the sensed data for one single service or multiple services. However, the sensed data in the wireless sensor networks has the property of Markov dependence due to the spatial continuous variation in the practical environment [22,23]. In this case, Markov Random Field (MRF) model is an important statistical tool to describe the distribution and correlation of data for one service or between two different services in the multi-dimensional domains via the probability functions. In this paper, we adopt the MRF model to describe the correlation of data for one service or two separate services, and propose a novel algorithm to denoise the sensed data for multiple services. The main contributions of this paper are summarized as follows: — We introduce the Markov Random Field (MRF) model to describe the correlation of data for one service or two separate services in wireless sensor networks; — We formulate the multi-service data denoising problem which aims at minimizing the noise level of sensed data, the representative node selection problem concerning with selecting a number of active nodes while determining the services they provide, and the multi-service node scheduling problem which aims at maximizing the network lifetime in the service-oriented wireless sensor networks; — We propose a Multi-service Data Denoising (MDD) algorithm and a novel multi-service Representative node Selection and service Determination (RSD) algorithm to efficiently select the representative node and their provided services; — We also present a novel MRF-based Multi-service Node Scheduling (MMNS) scheme based on the above two algorithms for the multi-service node scheduling problem to enlarge the network lifetime. The rest of this paper is organized as follows: in Section 2, we present the related works. Section 3 describes the system model and the problem formulation. In Section 4, we describe the proposed scheme. In Section 5, we analyze the theoretical performance of our proposed algorithms. Section 6 presents simulation results and Section 7 presents the conclusions. 2. Related Works The service-oriented network is one of the most important trends for the future wireless sensor network. It leads to a lot of challenging issues including the system architecture and other optimizing problem with this new architecture [16]. The node scheduling problem provides a new idea to extend the network lifetime by exploiting the characteristics of dense deployment and the correlation of data for multiple services. Some researchers proposed the general theoretical models for the service-oriented sensor networks. Gracanin et al. [2] proposed a service-centric model by viewing the wireless sensor networks as service providers. They also provided a general framework to express/evaluate the capabilities and functionalities of wireless sensor networks. Rezgui and Eltoweissy [3] introduced the service-oriented sensor-actuator networks which provide sensing and actuation services to any application rather than provide sensing and actuation capabilities to one specific application.
Sensors 2014, 14 20944 Some researchers have focused on building a service-oriented platform/middleware, which plays an important role in facilitating the design, development, and implementation of service-oriented wireless sensor network [4–6]. Mohamed and Al-Jaroodi [4] surveyed the current challenges and requirements of service-oriented middleware in wireless sensor network and reviewed some representative approaches. Edgardo Avilés-López et al. [5] proposed a service-oriented architecture called TinySOA, which provides a high-level abstraction for the development of applications in wireless sensor networks. TinySOA allows programmers to access the wireless sensor networks from their applications using a service-oriented API. Zhang et al. [6] designed an open community-oriented platform aiming to support federated sensor data as a service, featuring interoperability and reusability of heterogeneous sensor data and data services. An important design goal in the service-oriented sensor networks is to provide data of various services by satisfying the requirement of applications. Geyik et al. [7] proposed a graph-based model for describing sensor services and formulated the process of dynamic sensor service composition as a cost-optimization problem which aims to minimize the total cost of component services. Wang et al. [8] studied the cross-layer sleep scheduling problem to prolong the network lifetime while satisfying the service availability requirement on the application layer. They proved that the problem is NP-hard, and proposed two approximation algorithms based on LP relaxation. Cheng et al. [9] exploited the spatial correlation between multiple service data and aimed at selecting a minimum number of active nodes to provide services with data accuracy guaranteed [9]. However, the proposed algorithms did not consider the energy efficiency and might lead to bad performance. The sensed data of neighbors is generally correlated in densely deployed wireless sensor networks. This characteristic is helpful to reduce the transmitted data in the network and improve the energy efficiency [19,20,23]. Vuran et al. [19] studied the spatial and temporal correlations along with the collaborative nature of the wireless sensor network which can bring significant advantages for the development communication protocols. They [20] also exploited the spatial correlation on the Medium Access Control (MAC) layer. A theoretical framework was developed for transmission regulation of sensor nodes under a distortion constraint. Min et al. [23] considered the temporal and spatial correlations in wireless sensor networks and presented an approximate data gathering technique which is used to obtain the sensor data within the certain error bound. However, these works only considered the case that these services are fully separate and there is no correlation relationship between them. Markov Random Field (MRF) has been successfully used to simplify many complex multi-dimension applied problems in the wireless sensor network [24–26]. Perreau et al. [24] presented a general framework allowing sensor networks design by using Markov Random Field (MRF) theory. They explained how the principles underlying MRF theory naturally fit to design requirements in sensor networks, especially the need to rely on distributed methods to solve global optimization problems. Wang et al. [25] proposed a MRF sensor fusion algorithm based on the MRF model to solve the event region detection problems. The MRF was used to model the spatial correlation. Oka et al. [26] presented a stochastic recursive identification algorithm which can be implemented in a distributed and scalable manner in the wireless sensor network. However, few of them are used to model the correlations of data for different services in the network in order to reduce the number of service data that needs to be reported to the application.
Sensors 2014, 14 20945 The node scheduling scheme is an efficient way to prolong the network lifetime [10–16]. Researchers have proposed many scheduling schemes under different application backgrounds and assumptions. Zhao et al. [11] presented a sleep-scheduling technique which forms multiple overlapped backbones and works alternatively. The rotation of multiple backbones contributes to balance the energy consumption of all sensor nodes, which fully utilizes the energy and extend network lifetime. Kotidis et al. [14] introduced the idea of snapshot queries for energy efficient data acquisition in sensor networks. They elect a small set of representative nodes in the network to constitute a network snapshot and the snapshot can be used to provide quick approximate answers to user queries. Hung et al. [15] proposed a centralized algorithm and a distributed algorithm to determine a set of representative nodes with high energy levels and wide data coverage ranges. Cheng et al., concerned with the node scheduling problem for the service-oriented wireless sensor network [16], and proposed an Energy-aware Centralized Heuristic Scheme (ECHS) for the problem and present an Energy-aware Distributed Heuristic Scheme (EDHS) as the distributed version [9]. 3. System Model and Problem Formulation In this section, we firstly introduce the system model as well as some related definitions, and then formulate the multi-service data denoising problem, the representative node selection problem and the multi-service node scheduling problem. For convenience, the symbols used in this work are summarized in Table 1. Table 1. Notation of the symbols. Symbol Description ni The i-th node in the network si The i-th service in the network ti The i-th target in the network rai, j The j-th value range of si ɛi, j Error threshold for the value range rai ,j of si psti Target monitored by node ni r Sensing radius energyi Residual energy of node ni xi, j, yi, j, y'i, j Noise-free, Noise-corrupted and Denoised data of sj sensed by node ni ei, j Noise in the data of yi, j node ni NBi Neighbor node set of node ni NSk, i Neighbor correlated service set of si sensed by node nk DCRi, j Data coverage range of the data of sj sensed by node ni inferk, l, j Data for service sj and sl are correlated, and the data for sl in node nk inferred by the data of sj sensed by the other node is inferk, l, j 3.1. System Model We consider a wireless sensor network in the plane consisting of a set of nodes V = {ni|1 ≤ i ≤ n}. The network needs to provide m sensing services S = {si|1 ≤ i ≤ m}, such as temperature, sound, humidity, motion, etc. There is a set of targets T = {ti|1 ≤ i ≤ k} randomly located in the monitored area and each
Sensors 2014, 14 20946 target needs to be provided a subset of sensing services S. The value of each service can be divided into several ranges according to the user’s interests, such as the value of si can be divide into l ranges, i.e., RAi = {rai,j|1 ≤ j ≤ l} = {[ai,j, bi,j]|1 ≤ j ≤ l}, and each rai,j of si has a corresponding error threshold ɛi,j The node in the network is powered by a battery and its initial energy is denoted as E0. The node can provide multiple sensing services simultaneously, and it also knows the Euclidean distance to the sensed target, which is within its sensing radius r [25,26]. For conveniences, in this paper we assume that each service has an identical sensing radius and nodes only provide sensing service for one target within its sensing radius. The case that node ni provides sensing services for the tk is denoted as psti = tk The energy cost for a node to provide each sensing service is assumed identical. Let energyi be the remained energy of node ni in current epoch and the energy cost for a node to provide a sensing service during an epoch is a constant. Let xi,j represent the noise-free data sensed by node ni for sj. The sensed data yi,j is generally corrupted by noise in the environment as well as the sensing device, which can be formulated as: yi,j = xi,j + ei,j (1) where ei,j is the noise and it is a Gaussian random variable which is independent and identically distributed, i.e., ei,j ~ N(0, (σi,j)2). For convenience, we use X and Y, respectively, to describe the noise-free data and noise-corrupted data in the network, i.e., X = {xi,j|i ϵ V, j ϵ S}, Y = {yi,j|i ϵ V, j ϵ S}. Definition 1: Neighbor Node Set (NB). The neighbor node set of node ni is denoted as NBi = {nj|dis(ni, nj) ≤ r, psti = pstj}, where r is the sensing radius and dis(ni, nj) is the Euclidean distance between ni and nj. Note that that node ni ϵ NBi. In this paper we assume the sensing radius of each sensing device is identical in the network. It is obvious that nj ϵ NBi in case that ni ϵ NBj. Node ni and nj are neighbors in this case. Definition 2: Neighbor Correlated Service Set (NS). The neighbor correlated service set of service si which is sensed by nk is denoted as NSk,i = {sj|the data for service sj and si are correlated while sj is sensed by nl ϵ NBk}. It is obvious that si ϵ NSk,i. Definition 3: Data Coverage Range (DCR). Given datai,j ϵ raj,h and the error threshold ɛj,h, the data coverage range DCRi,j of datai,j denoted as DCRi,j = {datak,l|d(inferk,l,j, datai,j) ≤ ɛj,h, nk ϵ NBi, datai,j ϵ raj,h}, where d(inferk,l,j, datai,j) = |inferk,l,j − datai,j|, inferk,l,j denotes that the data for sl and sj are correlated, while the data for sl in node nk inferred by the data sensed by node ni for sj is inferk,l,j. In Definition 3, datak,l can be the noise-free data, noise-corrupted data or denoised data. The data datai,j cover any data in DCRi,j and each data in DCRi,j is covered by datai,j. It shall be mentioned that one service data sensed by a node may be in the DCR of the data sensed by another node for one same service, or in the DCR of the data sensed by the same node or the other node for different service. Definition 4: Representative Node Set (RNS) and Their Provided Services. Given a set of sensor nodes V, the representative node set is a subset of V, and their provided services are part of the service data they sensed, and the sensed service data of each node ni ϵ V is either in the RNS’s provided service data or is in the DCR of RNS’s provided service data. Each selected node in RNS is one representative node.
Sensors 2014, 14 20947 Note that in this paper, the selected representative node can provide one or several service data simultaneously during the given epoch. Definition 5: The A Priori Probability and A Priori Probability Distribution. For a given node ni in the network, the a priori probability of data xi,j is denoted as P(xi,j). The A Priori Probability Distribution P(X) is a set of a priori probabilities for noise-free data of nodes in the network, i.e., P(X) = {P(xi,j)|i ϵ V, j ϵ S}. Definition 6: Neighbor Relationship Graph (NG). Given a set of sensor nodes V and the neighbor relationship NB, the neighbor relationship graph of the given network is described as NG = (V, NE), where NE = {(i, j)|ni ϵ V, nj ϵ NBi}. Definition 7: Clique. Given a neighbor relationship graph NG = (V, NE), a clique c is a subset of V and every two node in the subset is connected. The collection of single-node, pair-node and triple-node cliques will be denoted by C1, C2 and C3, respectively, where C1 = {(ni)|i ϵ V}, C2 = {(ni, nj)|ni, nj ϵ V, nj ϵ NBi} and C3 = {(ni, nj, nk)|ni, nj, nk ϵ V, ni ϵ NBj, ni ϵ NBk, nj ϵ NBk}. Figure 3 shows the clique types associated with a wireless sensor network with three nodes. The time complexity to compute all cliques for a given network is exponential to the maximum order of the cliques. It is helpful to reduce the time complexity by choosing these clique types with smaller size. In this paper, we only considered the single-node cliques C1 and pair-node cliques C2 [27]. Definition 8: The A Posteriori Probability Distribution. Given the raw noise-corrupted data Y as the evidence, the a posteriori probability distribution P(X|Y) is the conditional probability distribution of X. Figure 3. An example of clique types for a wireless sensor network. (a) A wireless sensor network with three nodes; (b) Three different clique types: single-node, pair-node and triple-node cliques. (a) (b) 3.2. Markov Random Field Model and Data Correlation The Markov Random Field (MRF) model is an efficient statistical tool to describe the multi-service data distribution and correlation in multi-dimensional domains with probability functions. It can obtain global characteristics via local information and it is widely used in multi-dimensional complex applications, such as power control, event area detection and resource allocation [24–26]. MRF has two distinct characteristics when it is used in the wireless sensor networks: (1) MRF can illustrate the correlation of data for one service or two separate services in wireless sensor networks, and it also can propagate the correlation in the network which makes it possible to describe the correlation with
Sensors 2014, 14 20948 low-order MRF; (2) MRF can reflect the uncertainty as well as the distribution of sensed multi-service data; (3) MRF model also has some other advantages such as scalability and high numerical efficiency [28]. Also, there is local correlation for data of two different services in case that the data is noise-free [14]. The correlation between the noise-free data can be expressed in form of conditional probability as shown in Formula (2): , ,, ,, |)(( |) iij ij ij ij NB NS Px X x Px x−= (2) where X − xi,j is the set difference which contains all sensed data in the network except xi,j, and: , ,,, , {| } iij klNB NS i i j kl x xNBNS=∈∈ (3) In Formula (2), xi,j is only correlated with data that belongs to NSi,j and is sensed by nodes in NBi. This property demonstrates that the sensed data in the multi-service wireless sensor network can be modeled with the proposed MRF model. However, it is difficult to calculate the prior probability via Formula (2). Hammersley–Clifford Theorem shows that MRF is equivalent to Gibbs Random Field (GRF) [27]. It means the conditional probability of MRF can be obtained with GRF. The GRF can be built with the correlation probability distribution of the noise-free data X as follows: () () 1 UX PX exp Z =- (4) where 12 () () (,) i iij iV iV j N UX Vx V xx ∈∈∈ =+ is the prior energy of X, V1(xi) and V2(xi, x j) are the potential functions for cliques in C1 and C2 respectively, and Z is a normalizing constant used as the partition function. Now consider the noise version of the sensed data yi,j compared with the noise-free data xi,j. The conditional probability for Y is formulated as: (| ) 2 1 1 (| ) 2 UYX nm i pY X e − × = = Ππσ (5) where U(Y|X) is the likelihood energy, n × m is the number of sensed data in the network. There is a negative correlation between the posterior probability and the likelihood energy of sensed data, and we have the correlation with Formula (6): (|) (|) X YU ePX Y − ∝ (6) where: (|) (|) ()XY YXU X UU=+ (7) As we can see from Formulas (6) and (7), GRF is helpful to obtain the posterior probability P(X|Y) in MRF, and it provides a simple method to calculate the joint probability P(X|Y) by specifying the clique potential functions and choosing the proper potential functions for desired correlated system. 3.3. Multi-Service Data Denoising Problem The multi-service data denoising problem concerns with the issue of minimizing the noise level of sensed data by utilizing the correlation of data for multiple services. As described in the introduction, this
Sensors 2014, 14 20955 Here we modify the above two schemes for possible comparisons: (1) The first scheme named as Multi-service Node Scheduling (MNS) scheme which is originated from [14]. MNS uses the partially ordered tuple <DCR, residual energy> to schedule node and determine the services they provided, where the definition of data coverage range is the same as that in Definition 3, but no denoising algorithm is applied before scheduling; (2) The second algorithm named the Energy priority-based multi-service Node Scheduling (ENS) scheme is originated from [15]. ENS uses the partially ordered tuple <residual energy, data coverage range> and selects the node with maximum residual energy and all its sensed service data will be provided. In addition, we design another scheme named Single service Node Scheduling (SNS) scheme for further comparison, which only considers the correlation for data of one service, but not correlation of data for two separate services. SNS adopts the partially ordered tuple <data coverage range, residual energy> to schedule nodes for each service independently, and the data coverage range only considers one single service. Then, in the simulation we compare the proposed MMNS scheme with MNS, ENS and SNS by running them in the same networks with same parameters in the environments. Here we adopt two main metrics to compare the performance, i.e., the energy cost during a given epoch and the network lifetime. The energy cost during a given epoch is an important measurement metric since energy cost during a given epoch denotes fewer service data. Meanwhile, the network lifetime is one main designing goal for wireless sensor networks [1]. 6.1. Simulation Environments We adopt Matlab as the platform tool which is widely used in the simulation experiments of wireless sensor networks. The default experimental parameters are set as follows: nodes and targets are placed in a randomly manner over the monitored area. For convenience, we assume that each service data is transformed into the same value range and the initial value of each service data is randomly selected from [0, 50]. The value range of each service can be divided into three sub-ranges, i.e., [0, 10], [10, 40] and [40, 50]. The default values of the simulation parameters are shown in Table 2. The demonstrated metrics are calculated by averaging the results of 10 different network topologies. We adopt the method of generating synthetic sensed data on the monitored area. In the synthetic data set, each service is randomly generate in every target with probability sgp = 0.6. One important issue is how to simulate the correlation of data for multiple services in wireless sensor networks. The basic idea is described as follows. Firstly, we generate the correlation of data for these five services. If there are two service data in a target falling into different ranges of the three ranges: ra1, 2, ra2, 2 and ra3, 2, then it is said that these two service data in the target can infer each other. If there are two service data in a target falling into different ranges of ra4, 1 and ra5, 1, then it is said that these two data can also infer each other. For example, there are two service data in a target, the first service data in the target is 20 and it is falling into ra1,2, and the second data falling into ra2, 2. Then, we can infer that the value of the second data in the target is also 20. Then, we generate the service data in each target in a sequence way when the current service data has a correlation with any other service data. For example, we assume that a target need to generate the former two of the five service data, and the data for s1 generate randomly, then the data for s2 generates its data according to the data for s1.
Sensors 2014, 14 20956 Table 2. Default values for the simulation parameters. Parameter Description Default Value Monitored area size 100 m × 100 m Number of nodes in the network 300 Sensing radius 10 m Number of targets in the network 40 Number of services provided by the network 5 Value of ε1, ε2, ε3 0.5, 1, 0.5 Initial energy of each node 500 units Energy cost for collecting a service data during an epoch 1 units Fraction of survived nodes 75% Value of sgp 0.6 Each node in the network equipped with five sensing devices and can sense those service data at the target. The sensed service data for a given node is produced accordingly to the nearest target within its sensing radius. The deviation σi,j between the actual sensed data and the real service data at the target is proportional to their Euclidean distance [28]. The value of σi,j is shown in Formula (17) [19]: 3 , (,) (,) 31 (), if 0(,) 22 0, if ( , ) ik ik ik ij ik dnt dnt dis n t r rr dis n t r −≤≤ σ= > (17) Here, targetk, j denotes the data for service sj in target tk. The value of each noise-corrupted service data sensed by a given node which monitors tk is simulated as follows: yi, j = xi, j + ei, j = targetk, j + ei, j, (18) where ei, j ~ N(0, (σi,j)2). The value of each service data in a target changes over time with the value formulated as: targeti, j(t) = targeti,j(t − interval) + Z, (19) where interval is the collection time of sensed data from all nodes to the application during an epoch, and Z is a random variable that satisfies the Gaussian random distribution with mean as 0 and variance as 0.5. 6.2. Noise Level of Denoised Data As shown in Formula (20), we adopt the Sum of Square of Deviations (SSD) as the metric to compare the noise level between the raw noise-corrupted and denoised data in this paper: 2 ,, 11 () |,|| | nm ij ij ij YyxSSD X ′ == =−′ (20) The simulation result is demonstrated in Table 3. The number of nodes in the network is set varying from 100 to 500 with an increment of 100. As we can see, the noise of raw noise-corrupted data has a positive correlation with the number of nodes in the network, while the noise of denoised data is independent. The noise of denoised data is always smaller than that of raw noise-corrupted data with the incensement of network size. It means that the proposed scheme can efficiently enlarge the network lifetime without increasing the noise of collected data.
Sensors 2014, 14 20957 Table 3. The impact of the network size on the noise level. Network Size 100 200 300 400 500 Noise-corrupted Data 90.0 176.1 252.9 327.2 416.8 Denoised Data 44.8 48.4 49.1 50.1 49.6 6.3. Comparison of Energy Cost In this section, we compare the energy cost of the selected representative nodes to provide their determined sensing services during a given epoch with the proposed MMNS, MNS, ENS and SNS via various parameters, including error threshold, network size and number of targets. 6.3.1. Impact of Parameter ɛ1 In the simulation, the error threshold ɛ1 varies from 0.1 to 0.5 with an increment as 0.1. The error threshold ɛ2 is double of ɛ1, while ɛ3 is equal to ɛ1. Intuitively, the increasing of error threshold demonstrates that more data deviations are tolerant in the network and the less energy cost is necessary to provide the sensing services during a given epoch. In Figure 4, the energy cost decreases obviously with the error threshold increasing with schemes SNS, ENS and MNS. This is reasonable because the size of DCR increases too with the error threshold increasing. However, this trend is not so significant with MMNS, because our denoising algorithm can efficiently enlarge the size of DCR when the error threshold is small. In case that ɛ1 = 0.3, the energy cost of MMNS is about 35.1%, 39.2%, and 41.5% of that of SNS, ENS and MNS. It shows that our proposed denoising algorithm can significantly reduce the energy cost by utilizing the correlation with the MRF model. More importantly, the proposed scheme runs stable compared with related schemes when ɛ1 varies from 0.1 to 0.5. Figure 4. The impact of the ɛ1 on the energy cost. 6.3.2. Impact of Network Size The network size varies from 100 to 500 with an increment as 100. The simulation result is demonstrated in Figure 5. It shows that the energy cost ascends with network size increasing. However, this trend is not obvious when the network size is larger than a given point, i.e., 300. It is due to the fact that the services provided by a given set of representative nodes can cover all service data sensed by nodes in a network when the network is densely deployed. The new added nodes and their sensed service data is generally
Sensors 2014, 14 20958 covered by the current selected representative nodes. In all cases, our proposed scheme always has better performance compared with the other three schemes. In addition, the size of energy cost keeps stable compared with the increment of nodes in the network. Figure 5. The impact of the network size on the energy cost. 6.3.3. Impact of Number of Targets in the Network The number of targets varies from 20 to 45 with an increment as 5 and the simulation result is demonstrated in Figure 6. It shows that the energy cost increases with the number of targets. It can also be seen that MMNS has better performance compared with the other three schemes regardless of the number of events. This trend is more obvious as the number of targets increases. Figure 6. The impact of the number of targets on the energy cost. 6.4. Comparison of Network Lifetime In this section, we compare the network lifetime of proposed MMNS with MNS, ENS and SNS by various parameters, including the error threshold, network size and number of targets. 6.4.1. Impact of Error Threshold ɛ1 The error threshold varies from 0.1 to 0.5 with an increment as 0.1 in the simulations. As shown in Figure 7, the network lifetime increases along with the error threshold. In all cases, the network lifetime
Sensors 2014, 14 20959 with MMNS is always longer than the other three schemes. For example, in case ɛ1 = 0.3, there is about 51.5%, 65.4% and 73.5% increment by comparing MMNS with MNS, ENS and SNS. Figure 7. The impact of the error threshold on the network lifetime. 6.4.2. Impact of Network Size The network size is set from 100 to 500 with an increment as 100, and the result is demonstrated in Figure 8. It shows that the network lifetime increases along with the network size. This is reasonable because the new added nodes are helpful to increase the redundancy in the network and extend the network lifetime accordingly. As we can see from Figure 8, MMNS has better performance compared with related schemes regardless of network size in all cases. For example, in case n = 300, there is about 20.3%, 30.1% and 40.8% increment by comparing MMNS with MNS, ENS and SNS. Figure 8. The impact of the network size on the network lifetime. 6.4.3. Impact of Number of Targets The number of targets varies from 20 to 45 with an increment as 5 and the simulation result is demonstrated in Figure 9. It shows that the energy cost increases with the number of targets by using the correlation data generation process. It can be seen that MMNS has better performance compared with the other three schemes regardless of the number of events.
Sensors 2014, 14 20960 Figure 9. The impact of the number of targets on the network lifetime. 7. Conclusions Energy-efficient multi-service node scheduling is an important issue in a wireless sensor network by exploiting the data correlation of data for multiple services. In this paper, we introduce the Markov Random Field (MRF) model to describe these correlations in the network. The raw noise-corrupted data is also discussed and the multi-service data denoising (MDD) algorithm is proposed to minimize the noise level of the sensed multi-service data. We also propose the multi-service Representative node Selection and service Determination (RSD) algorithm and MRF-based Multi-service Node Scheduling (MMNS), respectively, for the representative node selection and their provided Service Determination problem and the multi-service node scheduling problem. Experimental results on synthesized data sets show that RSD can obviously reduce the energy cost during a given epoch, and MMNS can obviously extend the network lifetime compared with related schemes. In future work, we will further consider the temporal correlation in the network and design an efficient multi-service node scheduling scheme with both spatial and temporal correlation considered. Acknowledgments This work is supported by the National Science Foundation of China under Grand No. 61370210 and the Development Foundation of Educational Committee of Fujian Province under Grand No. 2012JA12027. Author Contributions Hongju Cheng and Zhihuang Su conceived and designed the algorithms; Zhihuang Su performed the experiments and analyzed the data; Jaime Lloret and Guolong Chen contributed reagents/materials/analysis tools; Hongju Cheng and Zhihuang Su wrote the paper. Conflicts of Interest The authors declare no conflict of interest.
Sensors 2014, 14 20961 References 1. Yick, J.; Mukherjee, B.; Ghosal, D. Wireless sensor network survey. Comput. Netw. 2008, 52, 2292–2330. 2. Gracanin, D.; Eltoweissy, M.; Wadaa, A.; DaSilva, L.A. A service-centric model for wireless sensor networks. IEEE J. Sel. Areas Commun. 2005, 23, 1159–1165. 3. Rezgui, A.; Eltoweissy, M. Service-oriented sensor-actuator networks: Promises, challenges, and the road ahead. Comput. Commun. 2007, 30, 2627–2648. 4. Mohamed, N.; Al-Jaroodi, J. A survey on service-oriented middleware for wireless sensor networks. Ser. Orient. Comput. Appl. 2011, 5, 71–85. 5. Avilés-López, E.; García-Macías, J.A. TinySOA: A service-oriented architecture for wireless sensor networks. Ser. Orient. Comput. Appl. 2009, 3, 99–108. 6. Zhang, J.; Iannucci, B.; Hennessy, M.; Gopal K.; Sean, X.; Kumar, S.; Pfeffer, D.; Aljedia, B.; Ren, Y.; Griss, M.; et al. Sensor Data as a Service—A Federated Platform for Mobile Data-Centric Service Development and Sharing. In Proceedings of the IEEE International Conference on Services Computing (SCC’13), Santa Clara, CA, USA, 28 June–3 July 2013. 7. Geyik, S.C.; Szymanski, B.K.; Zerfos, P.; Verma, D. Dynamic composition of services in sensor networks. In Proceedings of the 7th IEEE International Conference on Services Computing (SCC’10), Miami, FL, USA, 5–10 July 2010. 8. Wang, J.; Li, D.; Xing, G.; Du, H. Cross-layer sleep scheduling design in service-oriented wireless sensor networks. IEEE Trans. Mob. Comput. 2010, 9, 1622–1633. 9. Cheng, H.; Guo, R.; Chen, Y. Node selection algorithms with data accuracy guarantee in service-oriented wireless sensor networks. Int. J. Distrib. Sens. Netw. 2013, doi:10.1155/2013/527965. 10. Anastasi, G.; Conti, M.; Di Francesco, M.; Passarella, A. Energy conservation in wireless sensor networks: A survey. Ad Hoc Netw. 2009, 7, 537–568. 11. Zhao, Y.; Wu, J.; Li, F.; Lu, S. On maximizing the lifetime of wireless sensor networks using virtual backbone scheduling. IEEE Trans. Paral. Distrib. Syst. 2012, 23, 1528–1535. 12. Lin, J.; Xiao, W.; F. Lewis, L.; Xie, L. Energy-efficient distributed adaptive multisensor scheduling for target tracking in wireless sensor networks. IEEE Trans. Inst. Meas. 2009, 58, 1886–1896. 13. Zorbas, D.; Glynos, D.; Kotzanikolaou, P.; Douligeris, C. Solving coverage problems in wireless sensor networks using cover sets. Ad Hoc Netw. 2010, 8, 400–415. 14. Kotidis, Y. Snapshot queries: Towards data-centric sensor networks. In Proceedings of the 21st International Conference on Data Engineering (ICDE), Tokyo, Japan, 5–8 April 2005. 15. Hung, C.; Peng, W.; Lee, W. Energy-aware set-covering approaches for approximate data collection in wireless sensor networks. IEEE Trans. Knowl. Data Eng. 2012, 24, 1993–2007. 16. Cheng, H.; Guo, R.; Su, Z.; Xiong, N.; Guo, W. Service-oriented node scheduling schemes with energy efficiency in wireless sensor networks. Int. J. Distrib. Sens. Netw. 2014, 2014, doi:10.1155/2014/247173. 17. Liu, C.; Wu, K.; Pei, J. An energy-efficient data collection framework for wireless sensor networks by exploiting spatiotemporal correlation. IEEE Trans. Paral. Distrib. Syst. 2007, 18, 1010–1023.
Sensors 2014, 14 20962 18. Deshpande, A.; Guestrin, C.; Madden, S.R.; Hellerstein, J.M.; Hong, W. Model-driven data acquisition in sensor networks. In Proceedings of the Thirtieth International Conference on Very Large Data Bases-Volume 30, Toronto, ON, Canada, 31 August–3 September 2004. 19. Vuran, M.C.; Akan, Ö.B.; Akyildiz, I.F. Spatio-temporal correlation: Theory and applications for wireless sensor networks. Comput. Netw. 2004, 45, 245–259. 20. Vuran, M.C.; Akyildiz, I.F. Spatial correlation-based collaborative medium access control in wireless sensor networks. IEEE/ACM Trans. Netw. 2006, 14, 316–329. 21. Soua, R.; Minet, P. A survey on energy efficient techniques in wireless sensor networks. In Processing of the 4th Joint IFIP Wireless and Mobile Networking Conference (WMNC), Toulouse, France, 26–28 October 2011. 22. Weng, H.C.; Chen, Y.H.; Wu, E.H.K.; Chen, G.H. Correlated data gathering with double trees in wireless sensor networks. IEEE Sens. J. 2012, 12, 1147–1156. 23. Min, J.K.; Chung, C.W. EDGES: Efficient data gathering in sensor networks using temporal and spatial correlations. J. Syst. Softw. 2010, 83, 271–282. 24. Perreau, S.; Sigelle, M.; Silva, P.D.; Jayasuriya, A. Sensor networks protocol design using random Markov Field theory. In Processing of the 6th Annual IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks, Rome, Italy, 1–8 June 2009. 25. Wang, T.; Yu, C. Collaborative event region detection in wireless sensor networks using markov random fields. In Proceedings of the 2nd International Symposium on Wireless Communication Systems, Siena, Italy, 7 September 2005. 26. Oka, A.; Lampe, L. Incremental distributed identification of Markov random field models in wireless sensor networks. IEEE Trans. Sign. Process. 2009, 57, 2396–2405. 27. Li., S.Z. Markov Random Field Modeling in Image Analysis; Springer: London, UK, 2009. 28. Xua, Y.; Choi, J. Spatial prediction with mobile sensor networks using gaussian processes with built-in gaussian markov random fields. Automat 2012, 48, 1735–1740. 29. Aziz, A.A.; Sekercioglu, Y.A.; Fitzpatrick, P.; Ivanovich, M. A survey on distributed topology control techniques for extending the lifetime of battery powered wireless sensor networks. IEEE Commun. Surv. Tutor. 2013, 15, 121–144. 30. Yao, Y.; Cao, Q.; Vasilakos, A.V. Algorithm design for data communications in duty-cycled wireless sensor networks: A survey. In Proceedings of the 2013 IEEE 10th International Conference on Mobile Ad-Hoc and Sensor Systems (MASS), Hangzhou, China, 14–16 October 2013. 31. Han, K.; Luo, J.; Liu, Y.; Vasilakos, A.V. EDAL: An Energy-Efficient, Delay-Aware, and Lifetime-Balancing Data Collection Protocol for Wireless Sensor Networks. IEEE Commun. Mag. 2013, 51, 107–113. © 2014 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/4.0/).