Traffic Prediction-Based Fast Rerouting Algorithm for Wireless Multimedia Sensor Networks

Rerouting has become an important challenge to Wireless Multimedia Sensor Networks (WMSNs) due to the constraints on energy, bandwidth, and computational capabilities of sensor nodes and frequent node and link failures. In this paper, we propose a traffic prediction-based fast rerouting algorithm for use between the cluster heads and a sink node in WMSNs (TPFR). The proposed algorithm uses the autoregressive moving average (ARMA) model to predict a cluster head's network traffic. When the predicted value is greater than the predefined network traffic threshold, both adaptive retransmission trigger (ART) that contributes to switch to a better alternate path in time and trigger efficient retransmission behaviors are enabled. Performance comparison of TPFR with ant-based multi-QoS routing (AntSensNet) and power efficient multimedia routing (PEMuR) shows that they: (a) maximize the overall network lifespan by load balancing and not draining energy from some specific nodes, (b) provide high quality of service delivery for multimedia streams by switching to a better path towards a sink node in time, (c) reduce useless data retransmissions when node failures or link breaks occur, and (d) maintain lower routing overhead.


Introduction
Efficiently transmitting multimedia streams in wireless multimedia sensor networks (WMSNs) is a significant challenging issue, due to the limited transmission bandwidth and power resource of sensor nodes. Three recent surveys [1][2][3] on current trends and future directions in WMSNs show that to overcome various failures, such as node failures, link breaks, network congestion, and dynamic holes, routing has the responsibility of choosing an alternate path that is not optimal to continually deliver the multimedia streams which can cause huge rerouting overhead. These three surveys also expatiate that there is no solution focusing on addressing the rerouting problem of multimedia streaming in WMSNs. Thus, more rerouting algorithm explorations are required to adapt to topology changes caused by various failures and guarantee the quality of service of multimedia streaming delivery.
Rerouting over WMSNs is different from the existing routing protocols for scalar wireless sensor networks [2,3]. It is a very critical and challenging issue due to the stringent quality of service (QoS) requirements of multimedia (video streaming, still images, and audio) transmission, such as (1) the end-to-end delay, (2) the packet delivery rate, and (3) the PSNR (peak signal-to-noise ratio) level. Hence, a fast rerouting mechanism is required in order to avoid various failures resulting in service interruption. This paper proposes a traffic prediction-based fast rerouting (TPFR) algorithm for use among the cluster heads in WMSNs. TPFR runs on the top of the uneven cluster network topology, because the uneven clustering network model may provide a valuable solution to balance the network loads and prolong the lifetime of WMSNs [4]. According to the literature [5], the intercluster multipath routing is discovered. And then, we use autoregressive moving average (ARMA) model to predict the cluster head's network traffic. When the predicted value is greater than the predefined network traffic threshold, both adaptive retransmission trigger (ART) that contributes to switch to the better alternate path and trigger efficient retransmission behaviors are enabled. In consequence, this failure area is smoothly bypassed, and multimedia streams are continually forwarded to the destination 2 International Journal of Distributed Sensor Networks  [7] Flat Yes Routing Medium Delay/hop count MPMPS [8] Flat Yes Routing Medium Distance/delay/data type AntSensNet [5] Hierarchical No Transport/routing Medium Delay/packet delivery ratio/overhead PEMuR [9] Hierarchical No Routing/MAC Medium Delay/energy consumption/PSNR node. Finally, TPFR is implemented on the NS-2 platform. Compared with similar algorithms, TPFR can significantly improve the quality of data transmission services. Moreover, TPFR has lower energy consumption and routing overhead and can prolong the network lifetime. The rest of the paper is organized as follows. Section 2 introduces an overview of existing related works. Section 3 provides the network architecture, the system model, and the assumptions. Section 4 presents the traffic prediction-based fast rerouting algorithm. Section 5 presents the theoretical analysis and the performance evaluation. Finally, Section 6 concludes the paper.

Related Work
In this section, we focus on multipath routing protocols for WMSNs that include routing and scheduling functionalities, and we summarize them in Table 1.
Multipath and Multi-SPEED (MMSPEED) routing protocol [6] supports probabilistic QoS guarantee by provisioning QoS in two domains, timeliness and reliability. MMSPEED adopts a differentiated priority packet delivery mechanism in which QoS differentiation in timeliness is achieved by providing multiple network-wide packet delivery speed guarantees. MMSPEED needs the support of IEEE 802.11e at the MAC layer with its inherent prioritization mechanism based on the differentiated interframe spacing (DIFS). Each speed level is mapped onto a MAC layer priority class. For supporting service reliability, probabilistic multipath forwarding is used to control the number of delivery paths based on the required end-to-end reaching probability. In the scheme, each node in the network calculates the possible reliable forwarding probability value of each of its neighbors to a destination by using the packet loss rate at the MAC layer. According to the required reliable probability of a packet, each node can forward multiple copies of packets to a group of selected neighbors in the forwarding neighbor set to achieve the desired level of reliability. MMSPEED could use its redundant path selection scheme for load balancing, which is not only for reliability enhancement, but also to improve the overall network lifetime. However, the drawback of the protocol is that it shows degraded performance in handling various holes and the sudden network congestion.
The two-phase geographical greedy forwarding (TPGF) routing protocol [7] focuses on exploring and establishing the maximum number of disjoint paths to the destination in terms of the minimization of path length, the end-to-end transmission delay, and the energy consumption of nodes. The first phase of TPGF algorithm explores the possible paths to the destination. During this phase, a step back and mark is used to bypass voids and loops until successfully a sensor node finds a next-hop node which has a routing path to the base station. The second phase is responsible for optimizing the discovered routing paths with the shortest transmission distance (i.e., choosing a path with least number of hops to reach the destination).
The MPMPS (multipriority multipath selection) routing protocol [8] is an extension of TPGF. MPMPS highlights the fact that not every path found by TPGF can be used for transmitting video because a long routing path with long end-to-end transmission delay may not be suitable for audio/video streaming. Furthermore, because in different applications, audio and video streams play different roles and the importance level may be different, it is better to split the video stream into two streams (video/image and audio). For example, video stream is more important than audio stream in fire detection because the image reflects the event; while audio stream is more important in deep ocean monitoring. Therefore, we can give more priority to the important stream depending on the final application to guarantee the using of the suitable paths.
It is worth to note that both TPGF and MPMPS are offline multipath routing protocols. However, these "offline multipath" protocols have to explore the multiple routes that may exist between the source and the destination before the actual data delivery phase. They may not be well adapted for large-scale highly dense unattended network deployments and for networks with frequent node mobility.
The literature [5] proposes a QoS routing algorithm for WMSNs based on an improved ant colony algorithm (AntSensNet). The AntSensNet algorithm introduces routing modeling with four QoS metrics associated with nodes or links. The algorithm can find a route in a WMSNs that satisfies the QoS requirements of an application, while simultaneously reducing the consumption of constrained resources as much as possible. Moreover, by using clustering, it can avoid congestion after quickly judging the average queue length and solve convergence problems, which are typical in ant colony optimization. In addition, AntSensNet is able to use an efficient multipath video packet scheduling in order to get minimum video distortion transmission.
Power efficient multimedia routing (PEMuR) [9] aims at both energy efficiency and high QoS attainment. To achieve its objectives, PEMuR proposes the combined use of an   energy aware hierarchical routing protocol with an intelligent video packet scheduling algorithm. The routing protocol enables the selection of the most energy efficient routing paths and manages the network load according to the energy residues of the nodes. In this way, an outstanding level of energy efficiency is achieved. Additionally, the proposed packet scheduling algorithm enables the reduction of the video transmission rate with the minimum possible increase of distortion. In order to do so, it makes use of an analytical distortion prediction model that can accurately predict the resulted video distortion due to any error pattern. Thus, the algorithm may cope with limited available channel bandwidth by selectively dropping less significant packets prior to their transmission. Both AntSensNet and PEMuR are "online" energy efficient hierarchical multipath routing protocols. However, these "online multipath" protocols lack fast rerouting mechanism when the various failures of nodes or links happen. Thus, the drawback of the two protocols is that the QoS of the video stream transmission rapidly degrades in handling various holes and sudden failures. In consequence, they may not be well adapted for the resource-constrained WMSNs and the stringent quality of service (QoS) requirements of multimedia transmission.
Hence, we propose a novel online fast rerouting algorithm called TPFR that (1) reduces video distortion using multipriority-level multipath transmission model, (2) predicts network traffic through cluster heads using autoregressive moving average (ARMA) model, and (3) fast routes packets through better alternate paths using the traffic prediction strategy for avoiding various failures.

System Model
The many-to-one traffic pattern results in the hot spot problem when the multihop forwarding mode is adopted in intercluster communication for WMSNs. Because the cluster heads closer to the base station are burdened with heavier relay traffic, the area near the base station becomes a hot spot. Nodes in the hot spot drain their energy and die much faster than other nodes in the network, reducing sensing coverage and causing network partitions. Although many protocols proposed in the literature reduce energy consumption on forwarding paths to increase energy efficiency, they do not necessarily extend the network lifetime due to the unbalanced energy consumption.
We divide the network into uneven clusters using our proposed protocol, called UCBCPNS [10], where each cluster is deployed with heterogeneous sensors (camera, audio, and scalar sensors) that communicate directly in a certain schedule with a cluster head and relay their sensed data to it. Moreover, these heterogeneous sensor nodes have the same radio interface and propagation range. A cluster head has more resources, and it is able to perform intensive data processing. These powerful nodes and cluster heads are deployed nonuniformly in the network, and they are wirelessly connected with the sink either directly (in case of first-level cluster heads) or through other cluster heads in multihop mode. The graphical depiction of the nonuniform clustering architecture is shown in Figure 1. Our algorithm runs on the top of the nonuniform clustering network topology.
Then, the queuing model on a multimedia sensor node is designed, which is shown in Figure 2. According to the urgency and importance of the data streams, the model sets the different priorities for the different types of data streams and allows the high priority data stream to firstly transmit on a better path. For example, there are three types of data streams to be transmitted, such as video stream, sound stream, and scalar data stream. According to different application scenarios and demands, the system may automatically set different priority levels for different types of traffic. When a cluster head receives different types of traffic from other cluster heads, the received traffic is divided into three types, namely, video stream, sound stream, and scalar data by using the classifier model in the node's inside queues. Then the system makes a decision on the forwarding sequence of different types of traffic reference to the priorities set by itself. It is worth to note that the video sequence begins with an -frame and is followed by -frames and -frames.
-frame in the video streams is a key frame, and -frames and -frames are nonkey frames. In a group of pictures, the decoding of -frames and -frames depends on theframe. If the -frame is lost, the -frames and the -frames become useless data, which not only affects the quality of the video decoding, but also will result in the waste of network resources [11]. In our scheme, -frame is firstly delivered on a better path. The scheduler in Figure 2 has two functions which are similar to the function of routing. One is responsible for delivering the higher priority data streams to the optimal primary routing, and the other is responsible for fast rerouting the data streams to another better alternate route when various failures happen. The first function has been achieved using the AntSensNet [5], and the second function will be achieved using the TPFR proposed in this paper.

Traffic Prediction-Based Fast Rerouting
Internet traffic prediction plays a fundamental role in network design, management, control, and optimization [12]. Essentially, the statistics of network traffic itself determines the predictability of network traffic. Network traffic prediction for WMSNs is the process of mapping past (and present) traffic values onto future traffic values through linear or nonlinear mapping functions as shown in where the function maps the past traffic values ( ), ( − 1), . . . , ( − +1) onto the step-ahead traffic valuê( + ). The design of a traffic prediction scheme mainly concerns constructing or devising the proper mapping functions.

Traffic Prediction Model Using Autoregressive Moving
Average. We firstly gather enough network traffic from a gateway. The hybrid network traffic includes the multimedia data generated by the MeshEye nodes and the scalar data generated by the Mica2 nodes, which is shown in Figure 3. Assume that the time series of the collected traffic is { }. Then the time series { } is analyzed using the famous commercial statistical software named SAS, and we find that the time series { } is a stationary and non-Gaussian white noise sequence. The modeling is described as follows.
(1) Sample autocorrelation coefficients and partial correlation coefficients: we obtain the sample autocorrelation coefficient of usinĝ International Journal of Distributed Sensor Networks 5 The sample partial correlation coefficient of is obtained by usinĝ=̂, wherê= After that, we find that the two correlation coefficientŝ and̂show significant tailing. Thus, we use the ARMA ( , ) model to fit the time series { }.
(2) The order and the order of the ARMA process: the Akaike information criterion (AIC) [13] is used to select the order and the order , which is shown in formula where denotes the number of unknown parameters in the model and̂denotes the maximum likelihood estimates of . The logarithm likelihood function in (5)  Combine formula (5) and formula (6), and then we can get formula AIC ( , ) = ln̂2 + 2 ( + + 1) .
We solve the minimum value of the function AIC ( , ) and obtain that the minimum of AIC occurs at the order equals 2 and the order equals 1. As a consequence, we use the ARMA (2, 1) model to fit the time series { }, which is shown in where is a backward shift operator, { } is a Gaussian white noise with mean zero and variance 2 , and 1 , 2 , 1 , and 2 (white noise variance) are parameter estimation. We use the least squares estimation method to estimate the parameters 1 , 2 , 1 , and 2 in time series { } due to the resource-constrained sensor nodes. We can obtain the estimated parameterŝ1 = −0.63703,̂2 = 0.33314,̂1 = −0.93656, and 2 = 0.00172. These parameters satisfy the stationarity condition of the time series { }, namely,̂1 + 2 < 1,̂2 −̂1 < 1, and |̂2| < 1. Hence, we can get the ARMA fitted model which is shown in According to the stationarity and invertibility conditions of the ARMA model, we also get where { } denotes the Green function values and { } denotes the values of the inverse functions We refer to + , for all ≥ 1, as the -step ahead forecast of { }. + can be expressed as a linear function of the past traffic values, which is shown in where is the coefficient matrix of the past traffic values and ( ) denotes the -step ahead forecast of the time series { }. The forecasting error of the time series { } is shown in The minimum variance of the forecasting error above is denoted by Hence, we also get the explicit expressions of̂( ) and ( ), which are shown in Theoretical and experimental results show that multistep prediction may bring about much greater forecast error and complexity [13], and hence we only give 1-step ahead forecast model for the resource-constrained wireless multimedia sensor networks.
For the ARMA (2, 1) model, the 1-step ahead forecast model and its associated forecast error are shown in  The model is implemented on Matlab 7.0. The comparison between the real network traffic and the prediction network traffic is shown in Figure 4. The results show that the model can accurately predict the WMSNs traffic. Furthermore, the model has some benefits, such as linear computing and low complexity.

Traffic Prediction-Based Fast Rerouting Strategy.
Firstly, set a traffic threshold value denoted by Max based on the processing capability of a sensor node. Denote the network traffic at time by . We refer tô+ 1 as the 1-step ahead forecast of { } at the forecast origin , and we refer to (1) as the probability that̂+ 1 is greater than Max: The probability distribution of is subjected to the probability distribution of . Here obeys the normal distribution; therefore also obeys the normal distribution. According to the statistical analysis of the collected multimedia sensor traffic, we can find that obeys the ( , 2 ) distribution, where and denote the mean and variance of the time series { }. Then we can obtain As a consequence, we can obtain a traffic predictionbased fast rerouting strategy which is shown in Theorem 1.

Theorem 1. A sufficient condition for the adaptive path switching is that the probability of thê+ 1 value greater than the preset traffic threshold Max is equal to
Let us illustrate the results of the theorem using an example. The graphical depiction of the example is shown in Figure 5.
In the Figure, route 1 is a primary path from a source node to the base station. Both route 2 and route 3 are alternate paths for route 1.
Case I is that we do not use traffic prediction-based fast rerouting strategy. When node is unable to process packets from other nodes, it takes the initiative to discard the packets. However, the node continues to transmit the rest data packets until it finds the failure of node . Node will send the invalid message of node to the source node. After that, the source node will forward the rest traffic through the alternate route 2 or route 3.
Case II is that we use traffic prediction-based fast rerouting strategy. When node discovers that it satisfies the sufficient condition of Theorem 1, it will forward the urgent message to the source node via multihop wireless links at once. When the source node receives the urgent message, the efficient retransmission behavior is triggered. Obviously, the forwarding packets may bypass the fault area in advance and are smoothly rerouted through the alternate path 2, which can greatly improve the reliability of the data transmission and reduce the transmission delay. In addition, the other advantage of the fast rerouting strategy is that the data retransmission times, the energy consumption, and the routing control overhead may also be greatly reduced.

Performance Analysis.
Retransmission is one of the greatest impact factors on network performance due to various failures, such as network congestion, coverage hole, and routing hole. Some backgrounds and the symbol definitions are introduced as follows.
We firstly introduce the first-order radio model adopted in [14]. By using this approach, an energy loss of 2 due to channel transmission is assumed. The energy ( , ) that a node dissipates for the radio transmission of a message of bits over a distance is due to running both the transmitter circuitry and the transmitter amplifier and is given by where elec is the transmitter circuitry dissipation per bit, which is supposed to be equal to the corresponding receiver circuitry dissipation per bit, and amp is the transmit amplifier dissipation per bit per square meter.
International Journal of Distributed Sensor Networks Similarly, the energy ( ) dissipated by a node for the reception of a -bit message is due to running the receiver circuitry. It is given by Secondly, we refer to as the communication energy consumption of a node, denotes the number of links from a source node to the sink, is an average path length of a link, ave is the average transmission delay from a source node to the sink node, and is the packet loss rate.
The probability of data successfully retransmitted at the first time is (1 − ) −1 . Let be equal to (1 − ) −1 , and the probability of data successfully retransmitted at the second time is (1− ) . Similarly, we can obtain that the probability of data successfully retransmitted at the third time is (1 − ) 2 . The average retransmission time is given by We combine (19) and (20) with (21) to get Obviously, is proportional to 2 /(1 − ) , in which it must be noted that the communication energy consumption decreases proportional to every decrease in the and values.
The average transmission delay from a source node to the sink node is given by where denotes the average available bandwidth of a sensor and denotes the data to be transmitted.
Obviously, ave is proportional to / , in which it must be noted that the ave value increases proportional to every increase in the and values, and it increases proportional to every decrease in .
Our algorithm uses the fast rerouting strategy based on traffic prediction to bypass the fault area in advance and is smoothly rerouted through better alternate path. Compared with similar routing algorithms for WMSNs [5,9], TPFR has lower value, value, and value and higher value. These parameters play an important role in improving the network performance, such as reducing the transmission delay, network energy consumption, and prolonging the network lifetime.

Control Overhead Analysis.
We refer to as the size of a datagram, denotes the size of a control message, and is greater than . Then we let denote the number of the retransmitted datagrams and max ( max < ) denote the maximum number of retransmissions. Additionally, denotes the path length from a source node to a failure node and denotes the energy consumption of a processor on executing the traffic prediction algorithm.
In this paper, the routing algorithms without the rerouting mechanism are named non-TPFR.
For the non-TPFR algorithms, from the failure to the fault recovery, the data packets 1 and the energy consumption 1 generated by the algorithms are given by the following, respectively: For our proposed algorithm, from the failure to the fault recovery, the data packets 2 and the energy consumption 2 generated by TPFR are given by the following, respectively: 8 International Journal of Distributed Sensor Networks Obviously, from the failure to the fault recovery in networks, 1 generated by the non-TPFR algorithms is greater than 2 generated by our algorithm. In addition, the energy consumption of the processing module and the sensing module is far less than that of the wireless communication module. For example, the energy consumption of the 1 bit information transmitted 100 meters is roughly equivalent to that of the execution of the 3000 computer instructions. Thus, 1 is greater than 2 .
In summary, from the failure to the fault recovery, the efficiency of our algorithm with more local computations is better than the non-TPFR algorithms with more communications and retransmissions. Moreover, our algorithm has very strong practicality, and it has important implications for improving the survivability of WMSNs.

Simulation Parameters Settings.
In this part, we simulate our proposal using NS-2 version 2.29 which is a discrete event network simulator for over 100 experiments with various random topologies. The network size is 400 m × 400 m deployed with 400 nodes for duration of 1200 time rounds. The traffic is CBR of 600 packet/second, and the packet size is 316 bytes. The video traces come from MDC Foreman video test sequences [15] provided by a study group for the video tracking in Arizona State University. In the current video traces, there are 300 frames, and the frame rate is 30 frames/s, corresponding to a frame period equivalent to 36 ms. Additionally, we assume that the frame period is equal to the size of a transmission window. We adopt IEEE802.11 for the MAC layer as shown in Table 2 which lists the parameters we used in our simulation.
In the simulations, we focus on measuring the performance metrics after the network has set up to include the average end-to-end delay, the average packet delivery ratio, the peak signal to noise ratio, the energy consumption, the remaining alive nodes, and the communication overhead. To prove the effectiveness of TPFR, we have also implemented the AntSensNet algorithm (ant-based multi-QoS routing) [5]  and PEMuR (power efficient multimedia routing) [9], and we compared the simulation results. Figure 6 shows the end-to-end delay, which is one of the important QoS parameters as the real-time multimedia packets have strict playout deadlines. We compare the average end-to-end delay of our algorithm combined with the AntSensNet routing discovery technique with the other routing protocols (PEMuR and AntSensNet). As shown in the figure, the TPFR design methodology outperforms the two classical multimedia routing protocols.

Simulation Results Evaluation.
It is shown clearly that with the increase of node failure rate, our fast rerouting design has the minimum end-to-end delay and outperforms the other routing protocols because it depends on selecting a better alternate path in terms of the bandwidth, the minimum hop count, and the remaining energy before a node failure through the proposed traffic prediction mechanism. It is worth to note that PEMuR and AntSensNet only perform well at low node failure rate or link breaks, but with higher node failures and link breaks, the end-to-end delay increases exponentially due to the various failures of cluster heads which cause lost packets retransmission frequently. More importantly, the two protocols lack the rerouting mechanism.
The packet delivery ratio involves the ratio of successfully delivered data packets to the total data packets sent from the source to their destination. The average packet delivery ratio (PDR) is shown in Figure 7 where our rerouting algorithm outperforms the other algorithms, which confirms the previous theoretical analysis. We obtain this result due to the use of the traffic prediction technology that bypasses various failure areas such as network congestion, any node failure or link break, besides the selection of paths with better link quality based on the bandwidth and the remaining energy. Thus the number of lost packets significantly decreases. Such results were expected, and this investigation confirms the authors' hypotheses. Figure 8 shows the average PSNR of the Foreman video when a node failure rate ranges from 0 to 0.3. We can see that the perceived video quality (PSNR) was higher for the simulations using TPFR when compared to the other protocols under the nonuniform node distribution. And the simulation curve of TPFR is consistent with the original video sequence. This is because the protocols PEMuR and AntSensNet are not able to efficiently handle the retransmission of video streams when node failures or link breaks occur. They are only specialized in minimizing the video distortion under an errorless transmission environment. With respect to the average energy consumption, our proposed algorithm has less energy consumption than the AntSensNet algorithm as shown in Figure 9 with different time rounds because of the many benefits that they get from the traffic prediction-based fast rerouting. However, the PEMuR algorithm has better energy efficiency before 400 time rounds because both AntSensNet and TPFR algorithms lack sufficient information to find appropriate routes during this period. After this period, when the algorithms converge and the ants have gathered enough node and route information, the quality of routes discovered for our algorithm is superior to that found by PEMuR. In a word, with increasing time and failures, we notice that PEMuR and AntSensNet algorithms suffer from packet collisions and interferences and consume more energy for retransmitting lost packets, while TPFR exploits the benefits from the adaptive fast rerouting scheduling to prevent such problems and hence has less energy consumption.
The depletion of nodes over time is a typical metric of the energy efficiency of a routing protocol. Figure 10 shows the number of alive nodes in networks has changed over time, and the TPFR protocol is significantly better than the other routing protocols in retarding the time of node depletion. For the PEMuR protocol, the first node depletion time is at 311 rounds and the last node depletion time is at 791 rounds. For the AntSensNet protocol, the first node depletion time is at 702 rounds and the last node depletion time is at 876 rounds. For our proposed scheme, the first node depletion time is at 927 rounds and the last node depletion time is at 1129 rounds. The communication module consumes more energy than other modules in a wireless multimedia sensor.
In our scheme, we use more traffic prediction computations instead of communications. Hence, our protocol has lower communicational energy consumption and can prolong the network lifetime. The extra control packets are required in order to periodically monitor and maintain path conditions. And the routing overhead is shown in Figure 11. With increasing time, the mean routing overhead is reduced for the three algorithms; however, TPFR has a lower reduction of routing overhead than other algorithms. Due to such periodic updates, they constantly require a certain amount of routing overhead. The overhead of PEMuR can be reduced by piggybacking the control information on data packets if there is traffic between a sink and cluster heads. And that of AntSensNet can be reduced by embedding data into forward ants (a specimen of data ants) and piggybacking the pheromone information on data packets. In fact, TPFR is an improved AntSensNet scheme. TPFR uses computational overhead instead of communicational overhead, and hence it has lower routing overhead. Additionally, the simulation result remains consistent in the theoretical analysis of Section 5.1.2.

Conclusions
This paper presented TPFR, a novel fast rerouting algorithm over WMSNs, which aims at both energy savings and high QoS. The innovation of our proposed algorithm lies in the combined use of ant-based hierarchical routing protocol using multiple QoS metrics along with a traffic predictionbased fast rerouting algorithm. The adopted rerouting algorithm not only proposes an energy efficient rerouting policy, but also manages the network load according to the energy residues of the nodes and prevents useless data retransmissions through the proposed use of the intelligent rerouting algorithm. In this way, an outstanding level of energy efficiency and high QoS under the node failures or link breaks network environments is achieved. Extended simulation tests performed showed that the utilization of TPFR enables the considerable retardation of the energy depletion of the video nodes. The enhancement in energy performance metrics provided by TPFR becomes even greater in the case of a nonuniform node energy distribution. Additionally, it was shown that TPFR succeeds in maintaining high levels of the average end-to-end delay, the packet delivery ratio (PDR), the perceived video quality (PSNR), and routing overhead for a nonuniform energy distribution. These advantages of TPFR enhance the belief that this scheme is indeed capable of achieving efficient multimedia stream communication in real-life applications.
The authors of this paper have already started to study this research work under the network invasion. We plan to apply the intrusion tolerance approach to solve a new challenging problem. According to this approach, even if the network is under DDoS attack, WMSNs is still able to provide available quality of service.