Abstract
The wireless sensor network is expected to provide various data sensing services by employing the advantage of dense deployment. Energy efficiency is an important criterion for many applications since the sensor nodes are generally budgeted by limited battery. In this paper, we are concerned with the node scheduling problem to provide the required services for the service-oriented wireless sensor network. We firstly propose an Energy-aware Centralized Heuristic Scheme (ECHS) for the problem in which an energy-aware benefit function is used to determine active sensor nodes and rotate sensor nodes by periodically reconstructing the scheduling scheme. We also present an Energy-aware Distributed Heuristic Scheme (EDHS) as the distributed version. Extensive simulation is performed to evaluate the proposed schemes, and the results show that the two schemes have better performance compared with related works.
1. Introduction
Wireless sensor network (WSN) [1] is emerging as an important technology, which includes hundreds or thousands of self-organized sensor nodes connected by wireless communications. These sensor nodes are generally designed with lower-energy units and their cheapness and self-organization characteristics make it possible to deploy the network in various applications, such as environment data collection, industrial process monitoring and control, and machine health monitoring. The rapid development and deployment of sensor technology involve many new type sensors that are equipped with different sensing components. One important trend for the sensor networks is to provide various services to users, and service-oriented wireless sensor network has been proposed as an important solution for the future of sensor networks [2–7]. It can be seen that the current wireless sensor networks are generally data centric or application centric which leads to many obvious disadvantages, such as lacking both uniform operations and a standard representation for sensor data that can be used by diverse sensor applications [4]. The service-oriented wireless sensor networks can support different applications in more general and flexible way, which helps to improve the network performance and also leads to some other advantages, for example, the resource sharing among applications and efficient collection of the information generated by heterogeneous sensor nodes. However, service is not a pure new term and it may be a task of data sensing [8, 9] or a software component provided by sensors [10]. In case the task of data sensing is considered as service, different services provided by the network are helpful to gather different types of sensed data in the monitored area, such as temperature, humidity, sound, or motion. To provide all these different services is one challenge issue for the future service-oriented wireless sensor networks.
In general, a lot of redundancy and correlation occur among the sensed data especially in wireless sensor networks due to the following observations. Firstly, the network is intended to deploy in dense way so that the node failure and other faults can be tolerant to support the network to work in proper way. Secondly, the sensed data depends on the location of nodes as well as the event source. The data of adjacent nodes is generally correlated since they observe the same physical phenomena in the same geographic region [11–13]. Obviously, it is not efficient to wake up all nodes in the network to collect data and provide services since it leads to unnecessary energy consumption due to the data redundancy among neighbor nodes. It means that the sensor nodes should be organized in one more efficient way to enlarge the network lifetime while the required services are guaranteed. It leads to the problem of scheduling large numbers of sensor nodes in an energy-efficient way to support various services in the service-oriented wireless sensor networks.
In order to conserve energy resources and extend network lifetime, one important idea is to schedule the nodes in the network. The scheduling techniques generally select a group of nodes in each epoch, and the selected nodes work in active mode to provide the required services, while other nodes are kept in sleep mode in order to reduce energy consumption since that the sleep mode consumes only a small fraction of energy compared to the active mode [14, 15]. The scheduling problems in wireless sensor network are widely investigated in the literature recently [16–19], but most of them focus on fully different research issues, such as target tracking, coverage, topology control.
However, the node scheduling problem in the service-oriented sensor networks is not only to select a set of nodes to provide the required services during each epoch but also to choose the service each active node should provide. Furthermore, different services in the sensor network have different metrics in the applications, such as different importance (profit) of the applications and different amount of resources (requirement) required in providing the service [20–22]. How to measure the importance of these different services is one challenge issue in the network. Since the sensor is generally budgeted by limited battery, and the network lifetime is the most important criterion for the wireless sensor networks, we introduce the profit to describe the benefit received from one service when it is provided by the network. Generally, the service is more preferred in case that its profit is larger than others in the network since it is helpful to improve the network performance.
Figure 1 shows an example including seven sensor nodes supporting two different services. In Figure 1(a), the circle represents sensor node, the triangle denotes sensing target (we assume that each sensing target is combined with one different service), and the dotted line indicates that nodes within the event area are available to support corresponding service. In this example, service

An example to demonstrate the node scheduling problem in service-oriented wireless sensor networks.
In this paper, we study the energy-efficient node scheduling problem in service-oriented wireless sensor networks by adopting profit to measure the network performance, and aim at maximizing the total profit during the network lifetime. Since this problem is proven to be NP-hard [20, 21], we propose two heuristic schemes with energy efficiency. The main contributions of this paper are summarized as follows. (1) We have proposed an Energy-aware Centralized Heuristic Scheme (ECHS) in which an energy-aware benefit function is used to determine the state of nodes as well as the corresponding services provided by each active node. The function takes into account both the capabilities of providing services and the residual energy of nodes, which is helpful to improve the network performance as demonstrated in the simulation results. (2) We have designed a distributed solution for this problem, namely, Energy-aware Distributed Heuristic Scheme (EDHS), in which one header is assigned to each service and the scheduling scheme is carried out in a distributed way that only local information is necessary for the active node selection process.
The rest of this paper is organized as follows. In Section 2, we present the related works. Section 3 introduces the network model and the problem formulation. In Sections 4 and 5, we introduce the centralized and distributed node scheduling schemes, respectively. Section 6 provides performance comparison by detailed simulation. And Section 7 is the conclusion.
2. Related Works
Recently, the service-oriented wireless sensor networks appear as a new emerging trend for the future of wireless sensor networks, which are generally considered as a service provider. It leads to the idea of service-oriented wireless sensor networks [2, 3]. Gračanin et al. [2] proposed a service-centric model, which provides a general and flexible framework for wireless sensor networks. This model consists of mission, network, region, sensor, and capability layers. Within each layer, there are four planes or functionality sets: communication, management, application, and generational learning. Rezgui and Eltoweissy [3] introduced service-oriented sensor-actuator networks as an approach for building a new generation of open, efficient, interoperable, scalable, and application-aware sensor-actuator networks. In this approach, sensor-actuator networks would providing sensing and actuation services to any application, rather than provide sensing and actuation capabilities to a specific application.
Some researchers focused on building the platform/middleware to provide various services in the wireless sensor networks. Mohamed and Al-Jaroodi [5] surveyed the challenges and requirements of service-oriented middleware for wireless sensor network and reviewed some representative approaches. Familiar et al. [6] presented a service-oriented middleware that implements an agent-based virtual sensor service abstraction in ubiquitous smart environments. This middleware offers a lightweight service-oriented framework for sensor networks, with compact service exposure and dynamic virtual service composition through the use of semantic tags. In [7], a service-oriented architecture called TinySOA is proposed, which provides a high-level abstraction for the development of applications in wireless sensor networks. In addition, TinySOA allows application developers to access sensor networks from their applications using a simple service-oriented API via the programming language of their choice, which helps to relive application developers from dealing with the low-level technical details of the sensor networks. Zhang et al. [8] considered the sensor data as the service and designed an open community-oriented platform. The proposed platform allowed users to discover reusable data and data analysis tools and to integrate them into value-added workflows.
To provide various services satisfying the requirement of client applications is an important design goal in the service-oriented sensor networks, and several works have been done to achieve the efficiency of supporting services. Cheng et al. [9] investigated the node selection problem with data accuracy guarantee in service-oriented wireless sensor networks by exploiting the spatial correlation between the service data. However, the proposed algorithms select active sensor nodes without considering energy efficiency that may lead to shorter network lifetime. Geyik et al. [23] proposed a graph-based model for describing sensor services and formulated the process of dynamic sensor service composition as a cost-optimization problem that is shown to be NP-complete. The objective of this problem is to minimize the total cost of the component services that are selected for the composition. Besides, they designed two heuristic algorithms for service composition problem that differ in the direction of traversing the service graph during the composition process. Wang et al. [10] introduced the service-availability-aware sleep scheduling, which aimed to minimize the energy consumption, and guaranteed that there are enough active sensors providing each required service in the system at any time. They considered the wake-up energy consumption and developed approximation algorithms based on LP relaxation. However, they assumed that each service needs fixed number of nodes in order to process the service in the system. In fact, sensor nodes might have different capacities in providing services due to the fact that they have different distances to the monitored target.
Node scheduling is an efficient way to prolong the network lifetime with respect to a network with nodes always on [14]. Under different application backgrounds and assumptions, researchers have proposed many schemes to determine how many and which nodes should be put into sleep mode. Zhao et al. [16] presented a sleep-scheduling technique called Virtual Backbone Scheduling (VBS), which forms multiple overlapped backbones that work alternatively. The rotation of multiple backbones helps to balance the energy consumption of all sensor nodes, which fully utilizes the energy and prolongs the network lifetime. Lin et al. [17] explored the node scheduling scheme for target tracking. Their scheme selects multiple sensors to track target collaboratively such that it achieves better tracking accuracy and reliability with respect to single-sensor-based schemes. Zorbas et al. [18] proposed a cover sets-based node scheduling technique for solving coverage problem, which adopts the strategy that produces both disjoint cover sets, that is, cover sets with no common sensor nodes, and nondisjoint cover sets. In [19], the minimum energy broadcast problem was formulated as the problem of finding the minimum Connected Dominating Set (CDS), and a Minimum Energy-consumption Broadcast scheme (MEBS) was proposed that aimed at providing an efficient scheduling scheme with maximized network lifetime.
Node scheduling in service-oriented wireless sensor network should determine the states of sensor nodes, that is, sleep or active, and the service should provide when a sensor node is in active state. In [20], sensor-mission (service) assignment problem was investigated with the objective of maximizing the achieved profit, which was shown to be NP-hard. In this problem, the profit is a property of services indicating their importance as well as the reward for their execution. They modeled this problem as a weighted bipartite graph whose vertex sets consist of sensors and services and discussed some of its variants. Furthermore, they proposed a centralized Greedy algorithm and a distributed Energy-aware Dynamic Proposal Algorithm (EDPA). The Greedy algorithm repeatedly attempted the highest-potential-profit untried service that can be satisfied with the greatest profit using the currently available sensors. The EDPA algorithm uses information about the current energy level of sensors to make better decisions, which helps to improve the network lifetime. Furthermore, the EDPA algorithm adopts the strategy that sensor nodes are allowed to be stolen by other services, while it may lead to a large amount of messages exchange. Johnson et al. [21] extended the work of [20], and proposed a multiround proposal algorithm called MRGAP, which treats the services as knapsacks that together form an instance of the Generalized Assignment Problem (GAP). Moreover, Porta et al. [22] extended the work of [20, 21] into the environment that sensor nodes equipped with energy harvesting components. The proposed scheduling algorithm exploits not only the nodal residual energy, but also takes into account the energy that is expected to be harvested in the future, which can ensure that the required energy of sensor nodes is always available regardless of the fact that its source is battery or harvesting. However, their solution assumed that the distribution of services' profit and requirement is known a priori, which may not be the case in practice. Recently, Cho et al. [24] proposed a multiple dynamic mission (service) assignment problem for tactical mobile ad hoc networks. The proposed solution is based on combinatorial auction theory, which can minimize communication overhead while maximizing node utilization and mission completion ratio. In this paper, we aim at the node scheduling problem with energy efficiency in the service-oriented wireless sensor networks. We present two heuristic node scheduling schemes that exploit redundancy among sensed data to conserve energy while preserving the availability of required services.
3. System Model and Problem Formulation
In this section, we first introduce the system model as well as the definition of network lifetime and then formulate the node scheduling problem in the service-oriented wireless sensor networks. To be convenient, the symbols used in this work are summarized in Abbreviations Section.
3.1. System Model
We consider a wireless sensor network in the plane consisting of a set of nodes
The service in the wireless sensor network is considered as a sensing task for a specific target located as a stationary position, and all the services provided in the network is notated as
For a given sensing task located at a given position, the corresponding service is generally provided by several nodes. Each node whose sensing range covers the task position has contribution to the service, and here we denote the effect of node
where
In the practical application, some nodes might be deployed in an area far away from the sensing task and they cannot provide the required services due to the limited sensing range. In this case, the effect for this given service is zero. However, such nodes can be used to forward the collected data to the sink since the sensor networks always run in ad hoc model. On the other hand, one node is feasible to provide a given service only in case that the service is located in the sensing range.
3.2. Network Lifetime
The network lifetime is one of the most important metrics for the wireless sensor networks, and there are various measurements for network lifetime, such as the first node to die, the number of alive nodes, and the fraction of alive nodes [27, 28]. In this paper, we focus on the problem of how to schedule nodes in an efficient way to provide required services. Due to the fact that the sensor network is generally densely deployed, the network can still keep on providing required services although the first node is already dead since there is data redundancy among the adjacent nodes. Let AN(t) be the number of nodes that are alive and also available to provide services at time slot t, and the network lifetime TL is defined as follows in this paper:
where τ denotes a given alive nodes threshold. It is obvious that the network lifetime indicates the time-period during which the wireless sensor network can keep on providing the required services.
3.3. Problem Formulation
The problem studied in this paper is to find a schedule for each node so that the required services in the sensor network can be guaranteed. In some special case, it might be impossible to satisfy all the constraints required by all services in the network due to the lack of resources. Then the network intends to provide the service with higher importance, which is generally described as the profit of the service. Meanwhile, the network has better performance when it supports more services during its lifetime. In this way, we aim at maximizing the total profit during the network lifetime for the node scheduling problem.
The total network profit is calculated as the sum of the profits achieved over all time slots during the network lifetime. Let
where
Given a set of nodes
The node scheduling problem studied in this paper has been proven to be NP-hard [20, 21], which means that it is impossible to find optimal solution in polynomial time. In this work, we develop two heuristic schemes to obtain sub-optimal solution, namely, energy-aware centralized heuristic scheme (ECHS) and energy-aware distributed heuristic scheme (EDHS).
4. Centralized Scheme
The basic idea for the proposed Energy-aware Centralized Heuristic Scheme (ECHS) can be described as follows. (1) Use a novel heuristic approach to construct a scheduling scheme based on the concept of energy-aware benefit function and a greedy strategy aiming at minimizing the number of selected nodes. (2) Secondarily, reconstruct the scheduling scheme after the time expires by replacing the selected nodes that have low level of residual energy with the unselected nodes that have high level of residual energy. The second process continues until the fraction of alive nodes is below a given threshold τ , and finally the network ends.
In this section, we first introduce the novel energy-aware benefit function and then describe the procedure of initial scheduling construction and the swapping procedure, respectively; finally, we describe the detailed process of the proposed ECHS.
4.1. Energy-Aware Benefit Function
Here we introduce a novel energy-aware benefit function that is used as metric to sort nodes during the node selection process. We consider three important factors for the benefit function, that is, the node's service effect for a service, the remaining requirement of a service, and the node's residual energy. Let
where
4.2. Initial Scheduling Construction
The basic idea of the initial scheduling construction is that we select a minimum number of nodes for each required service in a separate way, and the union of selected nodes for all services is considered as a scheduling scheme. Note that all the selected nodes will switch into active state to provide corresponding service when scheduling process has been finished. We prefer to select nodes for services that have more profit but fewer requirements for resources so that the network can achieve larger profit with less number of active nodes. Thus, we firstly sort services and then select nodes for services with the above energy-aware benefit function in the sequence. The selection process for each service terminates if the service requirement is satisfied or no more nodes can be found.
There are two different states for the nodes during the scheduling construction process, UNSELECTED and SELECTED. Nodes in the SELECTED state are scheduled to provide the required service, and nodes in UNSLECTED are candidates, which are possible to change to SELECTED in the next time slot. Here, we introduce a new notation,
Redundancy might occur when the selected nodes have fully satisfied services' requirement because the node selection process considers both the service effect and the residual energy. For example, consider service
(1) Initialize all nodes as UNSELECTED; (2) (3) (4) Search candidate nodes for each service profit (5) Select the one (6) Select nodes for until the requirement of and the reassignment will cause previously assigned service failed; set these selected nodes as SELECTED; (7) Search redundant nodes, and set them as UNSELECTED; (8) If the satisfaction level of nodes for (9) (10)
4.3. Swapping Procedure
The objective of swapping is to balance the energy consumption of nodes selected in the previous initial scheduling construction procedure, which aims at finding enough nodes to provide services and match the requirements. In case those nodes with lower energy are selected to provide the services, these nodes will run to death, which finally results in other serious issues such as network partition and failure to provide the services. In this way, to balance the residual energy is one important way to extend the network lifetime.
In this section, we introduce a novel swapping procedure used to replace some low-energy SELECTED nodes with high-energy UNSELECTED nodes. A decrement of the network profit is helpful to find candidates for the selected nodes whose contribution to the network is rather small it is possible to provide more benefit services (i.e., services with larger value of
The pseudo-code for the swapping procedure is listed in Procedure 2. Firstly, calculate the average residual energy of all the selected nodes and denote it as
(1) (2) Initial node list RList with the nodes in SELECTED state and their residual energy is less than (3) Sort RList in increasing order of residual energy; (4) (5) (6) Calculate acceptable level of profit for (7) Search candidate nodes for larger than (8) Select one node as the replacement of achieved profit of is not less than threshold to UNSELECTED state in case that above constraints can be satisfied, otherwise swap the state of (9)
4.4. Scheme Description
With the above description, the detailed ECHS is introduced as follows. The basic idea behind ECHS is that we reconstruct the scheduling scheme periodically or when it is necessary. Consider two special conditions that the scheduling scheme is rebuilt: (1) the scheduling scheme runs for
(1) Run Procedures 1 and 2 in sequence and get a scheduling scheme; (2) Provide services under the scheduling scheme; (3) Calculate the residual energy of nodes as well as AN(t), if AN (4) If the scheduling scheme has been used for with residual energy cannot support service in the scheduling scheme, go to step 1, otherwise go to step 2; (5) The network ends.
5. Distributed Scheme
The centralized heuristic schemes are generally efficient to find a suboptimal solution and it can be carried out on one powerful node, that is, the sink, which supports a large amount of computation and heavy communication tasks. This centralized nature requires that the sink knows the global information of the network and results in better scheduling scheme. However, in the practical applications, it is usually difficult and costly to gather a large amount of information to the sink and disseminate schedules from the sink to all other nodes especially in networks deployed in large scale. Distributed scheduling is often performed by each node in the network that only local information necessary to determine whether one node is active or not. Thus, it is more practical to deploy distributed scheduling schemes in the wireless sensor networks.
The proposed EDHS assigns a specific node as the header for each service, and the header performs a local node scheduling to select node resources for the given service. The other nodes in the network are called normal node. The EDHS consists of three phases: the data collection phase, the node selection phase, and maintenance phase. In the data collection phase, nodes collect information of required services, and then the EDHS chooses initial header node for each service. In the node selection phase, the headers select active nodes to provide services. After schedules are constructed on nodes, the nodes begin to execute their schedules and provide required services. To rotate active nodes and balance the energy consumption among nodes, the nodes will reenter the node selection phase when necessary. The details of each phase are described in the following sections.
5.1. Data Collection Phase
In this phase, each node detects sensing targets within its sensing range and the node closest to a specific sensing target will be elected as an initial header node. Then, the sink node transmits service information including profit and requirement to the corresponding header node. After receiving the information, the header node also broadcasts the service information to its neighbors. In case that a normal node receives the service information, it checks whether it is available to provide this service and drops this message if not or this message is received already; otherwise the node sends the message to neighbors and stores the information of corresponding header node for this service. Then, each normal node transmits its service effect and residual energy to the corresponding header node. The header node maintains one node table, and each entry has the following fields: node ID, service effect and residual energy. The residual energy of each node defines the reluctance or willingness of that node to provide the service. Because current energy levels of nodes are accordingly changed with the running of the network, nodes periodically update the residual energy to the header nodes so that the header nodes can select suitable nodes to provide services. This message also can be delivered in a piggyback fashion during the service data gathering process.
5.2. Node Selection Phase
In this phase, the header node runs the local node selection scheme and selects a set of active nodes to provide services. The idea of local node selection scheme is similar to the proposed centralized scheme. The difference is that selection process is done with only local information.
The basic selection process for service
After the NOTIFICATION is sent out, the header node waits for ACCEPTANCE messages from the selected nodes. When the timer expires, the header node checks ACCEPTANCE messages and determines whether the number of nodes that agree to provide
The initial state for a normal node, that is,
5.3. Maintenance Phase
In order to balance the residual energy among all nodes, the proposed EDHS adopts the similar strategy to reconstruct the scheduling scheme: reconstruct the selected nodes set when the scheduling scheme runs for a predefined time slots denoted as
As we can see, the header node plays an important role in the proposed EDHS and shall be replaced in case that its energy is below a given threshold. The new header node can be elected by the old header node since it has collected all information of neighbor nodes that are available to provide the corresponding service. Note that the header node provides the required service too, and so the new header node shall be selected by means of the energy-aware benefit function described in Section 4.1 with
6. Simulation Results and Analysis
In this section, we present our simulation results demonstrate the performance and effectiveness of proposed schemes. We first introduce the building process of our simulation, then analyze the impact of parameter β of the energy-aware benefit function, and compare these schemes with related works.
6.1. Simulation Setup
We use MATLAB as the simulation platform that is used popularly as the simulation tools of wireless networks. All the experiments are implemented on a PC with Intel Pentium 3.0 GHz and 4 GB RAM. In our simulations, sensor nodes and sensing targets are randomly and uniformly distributed in a square sensing field. The service profit and requirement are also randomly generated. Note that we focuse on the problem of scheduling nodes to provide services and thus only energy consumption during the service providing process is considered in this paper. Assume that one node spends a certain amount of energy
Simulation setting.
6.2. Impact of Parameter β
The parameter β is an important factor used in the energy-aware benefit function as described in Section 4.1, and it is helpful to ensure trade-off between the residual energy and service effect of nodes during the node selection process. Figure 2 shows the results of network profit achieved by ECHS and EDHS with different value of β, respectively. The simulation is done with 300 nodes and the fraction of alive nodes threshold, τ, is set as 0.8. We compare the performance with different numbers of services when the parameter βvaries from 0 to 3 in steps of 0.5. As we can see from Figure 2, the achieved network profit increases together with β, and then it begins to stabilize when β is larger than 0.5, which demonstrates that the residual energy has more impact on the energy-aware benefit function when β is larger. However, the achieved network profit cannot be further improved when β is larger enough due to the fact that the schemes have distributed energy load evenly among the nodes.

Impact of parameter β on achieved profit,
Figure 3 shows the impact of parameter β on the achieved network profit when network size is different. The number of services provided by the network is set as 30, and other settings are identical to those in Figure 2. As we can see from Figure 3, the simulation results are similar to the cases in Figure 2, especially when β is larger. Especially, the network performance is comparatively better when β is 3. Therefore, we choose 3 as the value of β in the following simulations process.

Impact of parameter β on achieved profit,
6.3. Performance Comparison
The related works [20, 21] are most closed to the node scheduling problem in service-oriented wireless sensor networks. In order to evaluate the performance of proposed ECHS and EDHS, we compare them with Greedy and EDPA algorithms proposed in [20], and MRGAP algorithm proposed in [21], in which Greedy and MRGAP are centralized algorithms and EDPA is one distributed algorithm. We employ the following modifications to make above algorithms suitable for solving the node scheduling problem addressed in this paper. (1) Use the proposed energy-aware benefit function during the node selection process for Greedy and MRGAP algorithms since energy of nodes is not considered in these algorithms. (2) Use the same strategy as our schemes to reconstruct the node scheduling scheme.
The first set of experiment is done with 300 nodes and the threshold τ is set as 0.8, and the number of services varies from 10 to 50 in steps of 5. As shown in Figure 4, we have the following two conclusions. (1) The achieved network profit increases together with the number of services, but the trend is not obvious when the number of services is larger enough. Note that the required resource increases with the increasing number of services and thus more profit can be obtained in case that the network provides more services, and the network resources is consumed rapidly so that the network cannot support services in a longer time. Therefore, the achieved network profit increases slowly when the network provides a larger number of services. (2) The ECHS has better performance than MRGAP and Greedy in all cases, and EDHS also has better performance than EDPA.

Achieved profit versus number of services.
The second set of experiment is done with 30 services and the threshold τ is set as 0.8, and the network size varies from 200 to 500 in steps of 50. It can be seen from Figure 5 that the larger network size helps to achieve more profit. This is due to the fact that sensor nodes are the carrier of network resources in the wireless sensor network, and the network much better capabilities has when more nodes are deployed. Furthermore, both ECHS and EDHS run better in this set of experiment. Especially, in case that the network size is 300, ECHS performs 18.0% and 25.0% better than MRGAP and Greedy, respectively, EDHS performs 13.5% better than EDPA. In case that the network size is 500, the performance improvements are 14.6%, 18.8%, and 20.3%, respectively.

Achieved profit versus network size.
The third set of experiment is to evaluate the performance of different algorithms with respect to achieved profit under different threshold τ. The simulation is done with 300 nodes and 30 services, and we vary the threshold τ from 0.5 to 1.0. Figure 6 depicts that the achieved profit of network increases with the decreasing of τ and shows that the network can still provide services when a fraction of nodes run out of energy. However, the network provides worse quality of services when the number of such nodes increases. Therefore, the achieved profit increases slightly in case that τ is small enough. Moreover, it is seen that ECHS outperforms the other algorithms, and EDHS also shows better performance than EDPA. In case that τ is 1.0, the ECHS performs 9.8% and 10.1% better than MRGAP and Greedy. While the value of τ is 0.8, the performance improvements are 17.4 and 24.9%, respectively. In addition, the performance improvement of EDHS to EDPA is 14.7% in case that τ is 1.0 or 0.8.

Achieved profit versus threshold τ.
The simulations that we performed showed that the proposed approaches efficiently construct scheduling schemes and are effective in improving the network performance. The strategy of Greedy algorithm is to repeatedly satisfy the most currently profitable service, which is easy to implement. The MRGAP algorithm treats the problem instance as a Generalized Assignment Problem (GAP) that improves the results of Greedy algorithm. However, the proposed ECHS conserves energy by energy-aware benefit function to select active nodes for the required services and performs swapping operation for nodes with low residual energy. The EDHS can dynamically adjust nodes to provide a service that is more beneficial during the node selection phase. Although the EDPA adopts similar strategies, EDHS selects initial nodes in an efficient way with the help of header nodes and so obtains better performance in the subsequent nodes selection process, as we can see from the simulation results. In the distributed scheduling scheme EDHS, is more difficult to obtain better results than centralized approaches. The localized computation and communication make it more suitable in the practical environment.
7. Conclusion
To develop the service-oriented architecture is an important trend for the future wireless sensor network. In this paper, we are concerned with the node scheduling problem to provide various services with energy efficiency, and we propose two heuristic schemes, namely, Energy-aware Centralized Heuristic Scheme (ECHS) and Energy-aware Distributed Heuristic Scheme (EDHS). The proposed schemes select active nodes based on their contribution to services as well as residual energy, which helps to balance the load of energy consumption in the network. Extensive simulations show that both of the two schemes can significantly improve the performance of the network. In this paper, we use a simplifying energy model that neglects the energy consumed in message exchange. In addition, the temporal/spatial correlations between sensed data are important potential to improve the efficiency of scheduling schemes. In the future, we plan to investigate the node scheduling problem with a practical energy model as well as considering the correlation between sensed data and develop a fully solution in the service-oriented wireless sensor network.
Footnotes
Abbreviations
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This work is partially supported by the National Science Foundation of China under Grant nos. 61370210 and 61103175, the Fujian Provincial Natural Science Foundation of China under Grant nos. 2011J01345 and 2013J01229, and the Development Foundation of Educational Committee of Fujian Province under Grant no. 2012JA12027.
