Distributed Peer-to-Peer Target Tracking in Wireless Sensor Networks

: Target tracking is usually a challenging application for wireless sensor networks (WSNs) because it is always computation-intensive and requires real-time processing. This paper proposes a practical target tracking system based on the auto regressive moving average (ARMA) model in a distributed peer-to-peer (P2P) signal processing framework. In the proposed framework, wireless sensor nodes act as peers that perform target detection, feature extraction, classification and tracking, whereas target localization requires the collaboration between wireless sensor nodes for improving the accuracy and robustness. For carrying out target tracking under the constraints imposed by the limited capabilities of the wireless sensor nodes, some practically feasible algorithms, such as the ARMA model and the 2-D integer lifting wavelet transform, are adopted in single wireless sensor nodes due to their outstanding performance and light computational burden. Furthermore, a progressive multi-view localization algorithm is proposed in distributed P2P signal processing framework considering the tradeoff between the accuracy and energy consumption. Finally, a real world target tracking experiment is illustrated. Results from experimental implementations have demonstrated that the proposed target tracking system based on a distributed P2P signal processing framework can make efficient use of scarce energy and communication resources and achieve target tracking successfully.

regressive moving average (ARMA) model based target tracking are carried out in each sensor node, while multi-view localization algorithm is implemented with the collaboration between wireless sensor nodes in a distributed P2P signal processing framework.
The structure of this paper is as follows. Section II introduces the distributed peer-to-peer signal processing framework. Section III presents the target tracking system which consists of specific innode and collaborative signal processing algorithms for target tracking in distributed P2P signal processing framework and discusses the feasibility of the proposed system. Section IV analyzes the performance, energy consumption and execution time of the proposed target tracking system. Finally, conclusions are given in section VI.

Preliminaries
In WSNs, the centralized client/server is one of the most popular signal processing frameworks. As shown in Figure 1(a), in this framework, the unique processing center sends out the commands to relative sensor nodes to acquire the information, then a selected wireless sensor node transmits raw signal to the processing center, where further signal processing is performed. Although it is widely used, client/server is not appropriate for signal processing in WSNs, because it consumes many scarce resources, such as battery power and network bandwidth, for transmitting the raw signal, and it also needs some super sensor nodes acting as processing centers, which require much higher energy, storage and computing capabilities [6].
Recently, distributed signal processing became another hotspot of signal processing in WSNs, which is always carried out in the WSNs with clusters. Distributed signal processing is always implemented in a client/server framework, where distributed local signal processing at a cluster head replaces the centralized signal processing in the processing center to decrease the workload of the latter, reducing the amount of data transmission and balancing the signal processing tasks among wireless sensor nodes. The distributed client/server signal processing framework is illustrated in Figure  1(b). However, the topology of WSNs determines that, in distributed client/server signal processing frameworks, the closer a sensor node is to the processing center, the more energy the sensor node will consume because it has to be an intermediate sensor node to route the packets from other sensor nodes. This results in sensor nodes closer to the computing center dying much more rapidly than other sensor nodes.
The structure of MADSN is illustrated in Figure 1(c). Obviously, distributed mobile agent signal processing is also built on hierarchical structure which needs a processing center and causes an imbalance between transmission and energy consumption. Furthermore, distributed mobile agent signal processing is significantly limited by the size of the mobile agent. In some specific complex application, the overhead energy consumption for transmitting mobile agent will largely increase the total energy consumption in signal processing, which can not be afforded in strictly constrained WSNs

The Structure of Distributed P2P Signal Processing Framework
P2P networking has recently emerged as a new framework for building networked applications. P2P differs from client/server in several crucial ways. Perhaps most importantly, a peer is both a producer and a consumer of the implemented service while the clients only generate workload and workload is processed by servers in client/server. P2P computing is a collective computing environment where a peer is not only able to act as both a "client" and a "server", but also can interact with other peers in more complex ways to accomplish the task at hand [9]. With distributed P2P signal processing seen as a prolongation of P2P computing, its objectives are as follows: collaboration, local autonomy, high performance via parallelism, resource heterogeneity management and minimum impact on local computation. The distributed P2P signal processing framework is responsible for finding the appropriate resources, executing required processes, and returning results [9].
In distributed P2P signal processing framework, wireless sensor nodes act peers which perform the data acquiring, processing and transmitting in WSNs. Limited energy resources makes it important to develop progressive signal processing to provide incremental accuracy. However, different from MADSN, some sensor nodes dynamically and autonomously become leader sensor nodes for result collecting, analyzing and storing according to the specific tracking scenario in the distributed P2P signal processing framework. During the procedure of signal processing, each wireless sensor node periodically carries out local signal pre-processing and acquires the local results. At the same time, signal processing is started from a leader sensor node and is progressively performed from one sensor node to another in a progressive distributed data fusion mechanism. That is, each sensor node integrates its result with previous results to potentially increase accuracy. After that, the sensor node transmits the partially fused results to other sensor nodes one after another. Once the predefined criterion is met, such as desired accuracy being achieved, the last sensor node terminates migration and returns the result. The scenario of distributed P2P signal processing framework is shown in Figure 1(d).
If the communication latency is low, the progressive signal processing can be almost considered as a synchronous procedure, so it can be realized without any time stamp information.
The distributed P2P signal processing framework can remarkably increase the performance of WSNs, because the distributed P2P signal processing framework carries out the signal processing procedure incrementally between the selected sensor nodes according to the specific requirement and resources, and it can greatly reduce the energy consumption and network congestion because of the sequential data transmission. Furthermore, the multiformity of the wireless sensor nodes can improve the robustness of the whole network and the wireless sensor nodes may be active or go off-line in a very dynamic fashion. Compared to distributed signal processing, distributed P2P signal processing is a completely information driven framework for signal processing in WSNs; it can dynamically and autonomously carry out signal processing with proper set of wireless sensor nodes without a set processing center. Distributed P2P signal processing is an ideal framework to complete complex multithreads tasks. One of the core challenges in building P2P systems is how to achieve high performance signal processing efficiently [10]. For distributed P2P signal processing framework, a basic strategy should be used to select leader sensor node and sensor nodes with practically feasible metrics and organize the schedules of sensor nodes for implementing the signal processing with the lowest congestion and consumption in WSNs.
In practice, many wireless sensor nodes are randomly deployed in the sensing area. When a phenomenon of interest occurs, some wireless sensor nodes will detect it and announce their leadership among nearby sensor nodes. However, the problem of simultaneous announcement between different sensor nodes may increase the number of leader sensor nodes and result in unnecessary energy consumption. When a wireless sensor node detects the phenomenon of interest, it will wait a randomized back-off time delay before announcing the leadership. Once a wireless sensor node receives a leadership announcement from a nearby sensor node before its own announcement, it will stop announcing and act as a normal wireless sensor node. If the leadership announcement from nearby sensor node is received after its announcement, the wireless sensor node will compare the timestamps of two announcements and return the result to the source sensor node. The wireless sensor node which makes the earliest announcement is determined to be the leader sensor node. As the phenomenon of interest moves or environmental conditions vary, the leadership may change hands among sensor nodes.
Besides leader sensor node selection, the key research challenge for distributed P2P signal processing is the routing problem in progressive signal processing. Because of the intrinsic properties of distributed P2P signal processing, the routing of the accessed wireless sensor nodes has a significant impact on the performance and energy consumption of signal processing. The objective of routing is to find a path to satisfy the desired signal processing accuracy while minimizing the energy consumption. A routing algorithm based on the consideration of energy consumption, path loss, and signal energy is introduced in [11]. But the proposed algorithm just focuses on energy consumption without the consideration of the information utilities of wireless sensor nodes. For balancing the energy consumption and information utility, as presented in [6], the sensor selection can be considered as an optimization problem with the following objective function: where i S is the candidate wireless sensor node, Cost ϕ is the energy consumption metric, Utility ϕ is the information utility metric, α is the relative weight. Depending on applications and assumptions, Cost ϕ and Utility ϕ have various forms.

Energy Consumption Metric
Practically, the energy consumption metric Cost The signal processing energy p ϕ is shown with the following equations [12]:  However, the overhead energy caused by fusion is much lower than the energy caused by local preprocessing, so each wireless sensor node almost consumes processing energy at same level. Because of this, the signal processing energy p ϕ can be ignored in sensor selection. For the same reason, the sensing energy s ϕ can be ignored too. Furthermore, for ensuring the sensing performance of WSNs, energy should be consumed evenly among all sensor nodes. Entropy theory is adopted here to measure the randomness of reserved energy in each sensor node. The entropy of reserved energy is as follow.
is the estimated amount of energy reserved in kth sensor node when selecting ith sensor node for progressive signal processing at instant t . The bigger the entropy is, the more evenly the reserved energy is, so where i c l is the communication distance between current sensor node and ith sensor node.

Information Utility Metric
Information utility is another important metric for measuring the contribution of selected sensor nodes. In practice, the contribution of sensor nodes can be ideally predicted by analyzing the theoretical model of the specific application and the characteristics of sensor nodes. This metric can be called Predicted ϕ . Besides the predicted contribution, the information utility is always impacted by some other factors in the environment, such as obstacles and noise. However, it is difficult to measure their impact in practice. A more practical alternative is to estimate the confidence degree Confidence ϕ of the wireless sensor node, which can be measured by the contribution of the wireless sensor node in previous instants.
In conclusion, the information utility metric function can be defined as follows: And then the objective function of routing in distributed P2P signal processing is: Target tracking is one of the essential capabilities in WSNs. Because distributed P2P signal processing framework has advantages in dynamic, robust, energy efficiency and data transmission, target tracking in a distributed P2P signal processing framework can improve tracking performance by purposefully selecting proper set of wireless sensor nodes for progressive signal processing and data fusion. Moreover, a distributed framework decreases the energy consumption and reduces the execution time of signal processing, and the P2P architecture can improve the robustness and reduce the congestion and energy consumption in WSNs. Besides signal processing framework, in some ways, specific signal processing algorithms also have significant impact on the performance of target tracking, which will be discussed in the following section.

Specific In-Node and Collaborative Signal Processing Algorithms for Target Tracking
In this section, a combined tracking system is proposed and analyzed with the consideration of tradeoff between the accuracy and energy consumption, which consists of several feasible algorithms for target detection, classification, tracking and localization.

Target Detection, Classification and Tracking in Wireless Sensor Nodes
Target detection, classification and tracking are three important steps in target tracking. Because the data processing ability of wireless sensor network is extremely limited, the algorithms for target detection, classification and tracking should be lightweight with low computational complexity. The details are discussed below.

Target Detection Based on Background Subtraction
Background subtraction is demonstrated as a low-cost, simple, but efficient method for target detection. It is successfully used in W 4 real time visual surveillance system for tracking multiple targets [13].
After initialization, three change maps, the detection support map (gS), motion support map (mS) and change history map (hS), are adopted to represent the number of times a pixel location is classified as a background pixel, moving pixel and elapsed foreground pixel respectively.
Change maps are set to zero after the background model is updated.
For updating the background model, the new background model  is the current background model; the pixel is classified as background pixel, while where 3 r is set to 2 in our system. According to the complexity of calculation, the computational cost of this algorithm is low, and the detailed discussion can be found in [13]. It means that background subtraction is practically feasible in WSNs. Normally, the output result of target detection is the minimum boundary rectangle (MBR) of target. Target detection is always the basic and preliminary item for target classification and tracking which will be detailedly discussed in the following sections.

Target Classification Based on 2-D ILWT and SVM
With the MBR results of target detection, the target information is acquired. Next, target classification is desired for further signal processing. Target classification contains two key elements: feature extraction and division. Feature extraction refers to a transformation for reducing the number of effective features of an original data set by retaining most of the intrinsic information. For images, compression can be considered an effective technique for feature extraction.
The use of the discrete wavelet transform (DWT) for embedded lossy image compression is now well established [14]. The wavelet transform of a function ( ) ( ) x δ δ ψ defines the family of the wavelet functions: where 0 a δ ≠ is the scale of the transform and b δ is the parameter of spatial location.
With the discrete translation of function ( ) , the discrete wavelet transform (DWT) can be presented as follow [15]: where , j k C is the wavelet coefficients of the function ( ) f x , and the wavelet function forms a orthogonal and complete dyadic family: Thus, the function ( ) f x may be obtained from its wavelet coefficients , For discrete signals ( ) f n , n Z ∈ ,the DWT is defined as: where ( ) be written as a multiresolution decomposition on J levels, 1, , , j J = K given by [15]: where ( ) where ( ) is the scaling sequences.
For images, a wavelet descomposition is applied first to image rows and then to columns. The two dimensional wavelet transform leads to a descomposition in four sets of coefficients: approximation and details in three different orientations, vertical, horizontal and diagonal. The full descomposition is obtained by iterating the filtering on the approximation set, where the approximation at j+1th level can be approximately considered as the compressed image information [14].
However, in WSNs, the limited processing abilities of wireless sensor nodes limit the possibility to employ DWT algorithm. To simplify the computation, a lifting scheme (LS) is introduced in DWT [16]. LS exploits the redundancy between the high pass and low pass filters necessary for perfect reconstruction and reduces the number of arithmetic operations up to a factor of two, compared to the filter-bank implementation, The LS based wavelet transform seems to be an ideal candidate for embedded image compression issues, due to its simple structure and good decorrelation properties [17].
As shown in Figure 2, in LS, the input data are split into two signals with evenly and oddly indexed samples respectively. One signal is convolved with a primal lifting filter For conquering the disadvantage of lossy image compression in LWT, a further improvement is achieved by combining the benefits offered by the integer wavelet transform (IWT) and integer LS, because IWT enables true lossless reversible transformations [18]. The structure of ILWT is illustrated in Figure 3. Because of completeness, the performance of IWT is slightly worse than DWT. However, ILWT structure can greatly reduce the computational complexity which implies that ILWT is an ideal choice for low energy systems. In practice, ILWT has been successfully used in embedded processing of wireless sensor nodes for image compression in wireless sensor networks [18]. Then the compressed image can be considered as the compact representation of original image for target classification, which can decreasing the computational complexity in the polynomial computation in each node and ensuring this selected subspace can retain enough intrinsic information of the original space. After image compression, SVM is used to construct a classifier for target classification. A SVM is essentially a linear classifier operating in a higher dimensional space. For reducing computational load, a kernel function ( ) K ⋅ is used to perform input-feature transformation ( ) φ ⋅ , which is defined as follows: With the kernel functions, the basic form of SVM is as follow.
where i q is the weighting factors ( ) 0 i q < < ∞ , b is a scalar threshold for adjusting the results of classification, here, it is set to 0. In this paper, a third degree polynomial kernel is used: Unfortunately, the training phase of SVM algorithm may take a long time. However, once the classifier is trained, SVM just need to estimate the posterior probability for each class, so the computational complexity is rather low. For multi-category classification, multiple classifiers can be trained and combined for more complicated classification. Moreover, some distributed training methods for SVM algorithms were proposed in many literatures. These methods are demonstrated feasible in WSNs [19]. After training, the prerequisite parameters of kernel functions are transferred to each node for classification. Each node just needs to perform some polynomial operation, which is reasonable for the processing ability of wireless sensor nodes.

Target Tracking and Estimation with ARMA Model
After target detection, wireless sensor node uses historical information of target location for target tracking and estimation. Target tracking is always performed by Kalman filter. However, it is extremely challenging to implement a Kalman filter to track a maneuvering target if the dynamic model of target is highly nonlinear [20]. Although a standard particle filter can solve the nonlinear non-Gaussian problem [21], it cannot solve the estimation error of cumulating problems when manoeuvers occur. Furthermore, some algorithms have been proposed for maneuvering target tracking, such as unscented particle filter [20], radial basis function based particle filter [21]. But these algorithms are computation-expensive for wireless sensor node with simple embedded data processing capabilities.
When the target is moving in Cartesian coordinates, the target motion can be described by the following state space model, which is expressed along the X-axis for simplicity.
And the measurement model is given by where the process noise ( ) w k and the measurement noise ( ) v k are assumed to be zero mean, independent white Gaussian sequences. In the case of a maneuvering target, the state vector x is defined as where T is the measuring interval.
Here, a new state vector [ ] Therefore i x , 1, 2,3 i = , in vector x′ are related to the target position, velocity and acceleration by The new state vector x′ contains only the target position information at each subsequent time instant, and it is equivalent to x in presenting the motion of target since they are related by a linear transformation. This implies that the problem of maneuvering target tracking can be viewed as a problem of adaptive time series prediction [22].
Here, the ARMA model is adopted due to its outstanding performance in model fitting and forecasting and its light computational cost [23]. ARMA model is a widely-used model for the prediction of future values. It contains two terms, the auto regressive (AR) term and the moving average (MA) term. The AR term is a linear regression of current value against one or more prior values. It captures the dependency of current value and its nearest prior values. And the MA term is introduced to capture the influence of random shocks to the future. In general, a linear system can be derived as follow. Normally, the MA coefficients are estimated by minimizing the error between the actual measurements and the weighted impulse response sequence generated by the estimated denominator coefficients.
For reducing the computation complexity in estimating the AR and MA coefficients, the AR coefficients i a is estimated by using the robust singular value decomposition (SVD) based linear predictive coding algorithm (LPCA) method, while the MA coefficients i b are estimated by minimizing the error between the actual measurements and the weighted impulse response sequence generated by the estimated denominator coefficients as usual [22]. The SVD based LPCA method is presented as follows.
The forward prediction in LPCA is described by where M is the order of the filter, ( ) y n is the estimate, ( ) y n is the measured data, and the above equation can be written as The optimal vector â is given as follows: For decreasing the computational complexity of computing A A T , the robust SVD method is applied. Let According to the target state model, a third order filter is ideally sufficient to track a maneuvering target. However, it must be noted that the order of the proposed ARMA filter should be higher than the order of the target state model, especially for target tracking with noise. In this paper, the order of the system is set to 4, 3 p q = = . Furthermore, tracking target with ARMA model requires a delay of N steps for the parameter estimation. However, this problem only occurs in the initialization. When sufficient measurements are available, no delay is required.

Distributed Target Localization with P2P Manner
Although each wireless sensor node can achieve target detection, classification and tracking, 3-D localization can only be achieved by fusing the information from multiple wireless sensor nodes, because single wireless sensor node can only acquire the bearings of target. Because of the requirement of dynamic, energy efficiency and low computation complexity, a multi-view localization method based on distributed P2P signal processing framework is proposed.

Multi-view Localization
For integrating the bearing information of each wireless sensor node and achieve target localization, a simple multi-view localization method is proposed to conquer the negative effects of occlusion and obstacles by fusing MBR results of several sensor nodes. It is assumed that the measuring uncertainty of target position can be effectively approximated by a 2-D Gaussian distribution in MBR. As illustrated in Figure 4, after projecting the Gaussian distribution to the ground, multi-view localization fuses Gaussian distribution results by where ( )  The fused results are at most as large as the uncertainty of the most accurate individual sensor node, if all sensor nodes work normally. But if some sensor nodes are broken or blocked, the corresponding results are not credible. So, if the probability distribution becomes zero or even low after fusing the MBR results of some sensor nodes, the relative sensor nodes will be considered as useless ones, the results will not be fused and the original results will be transmitted to other nodes instead.
Furthermore, a simple voting mechanism, utilizing the status consistency and the target tracking information, is applied. For each node, one vote is cast for the resulting target class, and votes are counted for 5 neighboring frames at each step, the target class receiving the largest number of votes decides the target's class in this node. This voting mechanism reduces the number of random misclassifications in video sequence caused by the temporal occlusion.

Multi-view Localization with Distributed P2P Signal Processing Framework
Because of the inherent characteristic of the multi-view localization method, it can be incrementally carried out in distributed P2P signal processing framework. In this application, the resource consumption retains the general form which is described in Section II, and the applicationspecific information utility metric is discussed in here.
Image sensor node is a kind of bearing-only sensor node. For bearing-only sensor nodes, Wang [24] has proposed an entropy-based sensor selection heuristic, which selects an informative sensor such that the fusion of the selected sensor observation with the prior target location distribution would yield on average the greatest or nearly the greatest reduction in the entropy of the target location distribution.
The entropy of the probability distribution of the view of wireless sensor node i , v Furthermore, the confidence degree Confidence ϕ of the wireless sensor nodes can be evaluated by the Mahalanobis distance between tracking result of the wireless sensor node and the final fusion result at last instant, because Mahalanobis distance can easily determine the similarity between two probability distribution sets [25]. The confidence degree is defined as: If the entropy exceeds the predefined value, the localization is considered to be finished, then the current wireless sensor node will transmit the result back.
For multi-target tracking, multiple leader sensor nodes will be dynamically and autonomously established and trigger the distributed P2P signal processing based multi-view localization for each target. The inherent characteristic of P2P network gives many benefits on distributed multithreading signal processing, which implies that distributed P2P signal processing framework will perform better in multi-target tracking.
Because the collision often occurs in multi-target tracking, it is difficult to associate the measurements of each sensor node with individual targets. The assignment between tracks and measurements is formulated as a discrete optimization problem to maximize a dimensionless global likelihood ratio of the measurements-to-tracks associations. The nearest neighbor approach [26] is adopted to associate the measurements to tracks by determining which measurement is closest to the predicted target-originated measurement. For simplifying the computation, Mahalanobis distance is also used to determine the optimal associated results for each target: where predicted P is the target position predicted by ARMA model, ˆi X and ˆi Σ are the mean and covariance of probability distribution of ith potential position, N is the number of potential position. Actually, the multi-view localization algorithm can also be carried out in traditional centralized client/server framework and distributed client/server framework. For comparing the performance of centralized and distributed client/server frameworks and the proposed distributed P2P framework and studying the tracking performance of the combined tracking system with several specific algorithms, a real world target tracking experiment is described and the results are analyzed in the following section.

Simulation Results
In this section, an indoor target tracking experiment is described and the tracking performance, energy consumption and communication latency of target tracking with ARMA model in a centralized client/server framework, a distributed client/server framework and a distributed P2P framework will be evaluated. The distributed mobile agent framework is ignored, because the overhead of the mobile agent is large in visual target tracking [7]. Because of the space limitation, just a small number of nodes are deployed and tested. But this scenario can also be considered as a prototype of the WSN [27].

Deployment of the Wireless Sensor Network
As illustrated in Figure 5, a wireless sensor network with 18 wireless sensor nodes is deployed in a room with a distributed P2P framework. Each wireless sensor node consists of one image/pyroelectricinfrared sensor pair which has 60° visual angle and 3.6 mm camera lens. Each wireless sensor node is working autonomously. As soon as target enters the tracking area, the correlative wireless sensor nodes are awakened by the pyroelectric-infrared sensor module and then the image acquisition, target extraction, feature extraction, target classification and target tracking are performed continuously until the target leaves.
Each node processes the input information at a frame rate of 10 Hz with video down-sampled to 160×120 pixels. Each node can locally estimate rough energy consumption and share the reserved energy information per minute. Each tracking data package is 1 kbytes and the interval is 0.1 second. It carries partially fused tracking result and a list of passed itinerary. In this experiment, the scenario of target moving is as follow: one person pushed forward a chair to the center of the room, and then walked to the other side. In some angles of views, the person and the chair was separated in the latter scenario, so it changed to multi-target tracking problem.   (a) (b) (c) (d) The results illustrate that the proposed tracking system combined with background substraction algorithm and 2-D ILWT and SVM algorithm in each wireless sensor nodes can successfully achieve target detection, feature extraction and target classification, even if targets are partially blocked. Obviously, the person and chair can be clearly separated. It means that, although multi-target may involve many severe occlusions at one time, they can be automatically detected once they can be separated correctly in at least one of the wireless sensor nodes.

Multi-Target Tracking Results
During target classification, a total of 5000 binary images of human and 4000 binary images of non-human, which were produced in different dates with different groups of people, are used for training, and 2000 binary images of human and 1500 binary images of non-human are used for testing. In such a extensive experiment, the classification accuracy for human and non-human are 92.4% and 95.5% respectively, although the limitation of view angles and disturbances of obstacles will also cause misclassification, i.e., in Figure 6(d). The final multi-target tracking results of the proposed tracking system based on distributed P2P framework is illustrated in Figure 7(a), where the trajectories of targets are labeled for classification. The tracking trajectories are compared to the real trajectories. The results verify that the multi-target tracking system based on distributed P2P framework can effectively realize multi-target tracking.

Performance Comparison
For investigating the performance of the centralized client/server framework, distributed client/server framework and distributed P2P framework, the distributed target localization algorithm is carried out in centralized client/server, distributed client/server and distributed P2P framework, respectively. The setup scenarios of the centralized client/server framework and distributed client/server framework are illustrated in Figure 8, where the wireless sensor network is divided into 4 clusters in distributed client/server framework. The multi-target tracking results of each framework are illustrated in Figure 7. Obviously, the performance of distributed P2P framework is much better than other two frameworks in target tracking. The reason is that raw data transmission in both client/server frameworks will shapely increase the amount of data, the confused data transmission will aggravate the congestion of wireless communication, and cause the measurements to be out-of-sequence and packet loss. Compared to the other two client/server frameworks, the distributed P2P framework dynamically chooses the proper set of wireless sensor nodes for progressive signal processing according to the current predictions of information contributions, energy consumption and lifetime of WSNs. The integrated objective function defined in Eq. (49) ensures the tradeoff between information utilities and energy consumption. Moreover, the performance of distributed client/server framework is better than the performance of centralized client/server framework, because the distributed signal processing decreases the workload and data transmission of processing center and improves the quality of wireless network service. (b) Furthermore, the time delay and energy consumption in communication of the three mechanisms are compared for further investigation. As illustrated in Figure 9, the time delay and energy consumption of a distributed P2P framework are also much less than in a centralized client/server framework and distributed client/server framework at each time instant. The reason is that the distributed P2P framework can dynamically and sequentially carry out signal processing to attain a desired level of performance in WSNs, and ensure to exchange the least amount of data between wireless sensor nodes according to the situations of each wireless sensor nodes, such as the reserved energy, energy consumption, signal processing ability and predicted information contribution. Inversely, in two client/server frameworks, once the target is sensed by a number of sensor nodes, a significant amount of traffic is triggered, this may easily lead to congestion in the forward path, which will cause serious time delay and energy consumption.
From the comparison of tracking performance, time delay and energy consumption between distributed P2P framework, distributed client/server framework and centralized client/server framework, it is obvious that the proposed distributed P2P framework and the proposed combined tracking system based on background subtraction, 2-D ILWT, SVM, ARMA model and multi-view localization algorithms can succeed in robust multi-target tracking in WSNs.

Conclusions
For performing target tracking in the strictly constrained wireless sensor networks, this paper proposes a distributed P2P signal processing framework and introduces a combined target tracking system. In the distributed P2P framework, signal processing is progressively carried out in a set of selected wireless sensor nodes with an integrated criterion based on some feasible factors for achieving the tradeoff between energy consumption and information utility. The combined target tracking system consists of a series of specific in-node algorithms, such as background subtraction based target detection, ILWT and SVM based target classification, ARMA model based target tracking, and a multi-view localization algorithm based on the distributed P2P signal processing framework. Then an indoor experiment is carried out for investigating the performance of the proposed tracking system and comparing the impacts of centralized client/server framework, distributed client/server framework and distributed P2P framework in tracking, time delay and energy consumption. The experiment results demonstrate that the distributed P2P framework is an effective signal processing framework with better performance in processing, time delay and energy consumption of wireless sensor networks than centralized client/server framework and distributed client/server framework, and the proposed target tracking system based on the distributed P2P signal processing framework can be successfully achieved in strictly constrained wireless sensor networks and perform target detection, classification, tracking and localization.