Next Article in Journal
An Optimized, Dynamic, and Efficient Load-Balancing Framework for Resource Management in the Internet of Things (IoT) Environment
Previous Article in Journal
Artificial Intelligence as a Disruptive Technology—A Systematic Literature Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Prediction of Packet Loss Rate in Non-Stationary Networks Based on Time-Varying Autoregressive Sequences

1
National Key Laboratory of Science and Technology on Communications, University of Electronic Science and Technology of China, Chengdu 611731, China
2
School of Artificial Intelligence and Big Data, Chongqing College of Electronic Engineering, Chongqing 401331, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(5), 1103; https://doi.org/10.3390/electronics12051103
Submission received: 15 December 2022 / Revised: 9 February 2023 / Accepted: 20 February 2023 / Published: 23 February 2023
(This article belongs to the Section Networks)

Abstract

:
Currently, most of the existing link parameter prediction schemes assume that the link state remains constant during the measurement period, making it difficult to capture their time-varying characteristics. To solve this problem, this paper proposes a prediction problem for packet loss rate in a non-stationary network environment. The measurement period is divided into several adjacent time windows, and the packet loss rates measured passively in each time window are regarded as non-stationary time sequences for real-time tracking to obtain the changes in link packet loss rate at a small cost. By analyzing time-varying autoregressive (TVAR) sequences, a scheme for estimating the time-varying coefficient was presented. In addition, a prediction scheme for the packet loss rate in a non-stationary network was proposed based on TVAR sequences. Finally, this paper conducts experiments based on a non-stationary network simulation environment established by the improved Gilbert–Elliot model and a small wireless multi-hop network experiment platform built in reality. Simulation and experimental results show that the prediction scheme of the packet loss rate based on the TVAR sequence can accurately predict the packet loss rate.

1. Introduction

With their expansion on the “internet-scale”, the complexity of networks also increases. In order to use network resources more effectively, it is necessary to acquire the changes in quality and performance parameters of communication links conveniently and accurately. The packet loss rate is an important performance indicator to measure the quality of communication links. Furthermore, timely and accurate prediction plays an important role in cross-layer optimization [1]. Based on whether the time-variance of the communication link is considered or not, the prediction methods are classified into stationary and non-stationary types. At present, most studies have only focused on stationary communication links. For example, Refs. [2,3,4] predicted the distribution of end-to-end link delays through the mathematical modeling of links. Refs. [5,6,7,8] assumed that links are stationary and subject to a certain distribution and established a statistical model based on this assumption. Based on the results of end-to-end packet loss rate measurements or simulations, the model parameters are estimated by the high-order moment, least square, and maximum likelihood methods to obtain the probability distribution of packet loss rate compliance. Ref. [9] analyzed the factors affecting the packet loss rate in transmission control protocol (TCP). The acknowledge (ACK)-to-packet ratio was selected as a statistic of the functional relationship between fitting and packet loss rate. Although this method has obtained high accuracy in simulation experiments, it was proven that the actual data fitting effect is not satisfactory in the experimental platform built in the current paper. In Ref. [10], in the media access control (MAC) layer, a non-flat, hidden Markov chain model based on the carrier sense multiple access with collision avoid (CSMA/CA) mechanism was proposed to predict the packet loss rate. The model has three state variables, representing the number of nodes competing for the same channel in the topology, the number of nodes currently competing for the channel, and the number of nodes successfully obtaining the channel, respectively. According to this, the state space was divided and the non-stationary Markov chain model was established. To reduce the complexity of the estimation algorithm of the packet loss rate, Ref. [11] theoretically analyzed the factors affecting the packet loss rate in a tree topology, and provided an unbiased estimation of the packet loss rate in various topologies. Ref. [12] modeled the packet loss rate series as a time series, and the autoregressive integrated moving average model (ARIMA) was used to predict the packet loss rate. Using historical experimental data as input, the average fluctuation in historical data was used to predict the packet loss rate. The ARIMA model is very simple and does not require any external parameters, but it is still very limited because it can only capture linear relationships and requires multiple differences in the input data to obtain a stationary sequence.
However, the high suddenness of actual network traffic makes the state of links change frequently. Therefore, the prediction results on the premise of stationary networks cannot reflect the time-varying characteristics of network link parameters [13,14]. The non-stationary communication link parameter prediction method considers that the link state is time-varying and can track the change in link parameters over time. The difficulty of this problem is that the stationary link prediction method of traditional regression analysis always produces large errors due to the constant fluctuation in the link state, while the prediction method based on deep learning is usually of high complexity, cannot guarantee the timeliness of the algorithm, and there is still a lack of an effective solution [15]. Ref. [16] proposed a method to predict the packet loss rate of time-varying networks through artificial neural networks, but there was no unified and complete theoretical guidance for the selection of a network structure, which can only be selected by experience. In Ref. [17], a low-order linear regression method was used to predict the packet loss rate of time-varying networks. Nevertheless, the selection of regression variables and the corresponding relationship is an empirical prediction. In some cases, the method of low-order linear regression is less accurate. Ref. [18] proposed a non-stationary link delay prediction method, which uses the sequential Monte Carlo method to track non-stationary network link behavior and estimate the time-varying characteristics of link delay. The sequential Monte Carlo method is an estimation method based on Bayesian filtering, which needs to estimate the prior information of the model; however, it is generally difficult to obtain accurate prior information, which will lead to the degradation of the estimation performance.
In this study, we propose a prediction of the packet loss rate of non-stationary links. The packet loss rate of network links is time-varying and can be expressed as a non-stationary time sequence. To solve this problem, a TVAR model is established to analyze, process, and predict the packet loss rate of non-stationary links. The characteristics of this model are to characterize non-stationary time sequences by a time-varying coefficient and a moving average. Therefore, it is of great significance to study the estimation algorithm of time-varying coefficients [19,20]. In this study, the maximum entropy principle and the least square method are used to estimate the packet loss rate, and then the packet loss rate is predicted according to the time-varying coefficient estimation results. The main contributions of this paper can be summarized as follows:
  • In this paper, we analyze the TVAR sequence and transform the estimation problem of the time-varying coefficient into a constrained optimization based on the principle of maximum entropy. By solving the problem, we obtain the estimated value of the time-varying coefficient. Based on this, we provide the one-step prediction and multi-step prediction algorithms of the TVAR sequence.
  • This paper analyzes the packet loss problem of a non-stationary network, defines the packet loss rate of a time window by establishing the network model and introducing the concept of a time window, and defines the packet loss rate of a non-stationary network based on this.
  • In this paper, the Gilbert–Elliot model is improved to better reflect the time-varying characteristics of non-stationary networks and the time-varying packet loss sequence is generated as a link model, which is used to verify the validity of the TVAR sequence prediction method.
  • In this paper, a small wireless multi-hop network experiment platform is built in reality, and the prediction effect of two common prediction methods is compared with that of the TVAR sequence prediction method. It is found that the TVAR sequence prediction method can obtain higher prediction accuracy with lower time complexity.
Next, we will list some common symbols and their meanings in this article, as shown in Table 1:

2. TVAR Model

The autoregressive moving average (ARMA) model is an important time sequence prediction model, which is high precision, a low amount of data is required and no prior knowledge is needed to judge the stage of data. The two specific cases of the ARMA model are the autoregressive (AR) model and moving average (MA) model. The AR model has the advantages of a simple structure, linear parameter estimation, etc. In addition, the smooth invertible ARMA process can be approximated to any accuracy by the high-order AR model. Therefore, in the prediction problem, parameters are often estimated and models are predicted by establishing an AR model or transforming the established ARMA model into a high-order AR model. However, the coefficient of an AR model is constant and cannot be adjusted continuously with the change in data. As a consequence, it is suitable for stationary sequences, but has poor applicability for non-stationary sequences. The TVAR model expands the constant coefficients of the AR model into a set of linear combinations based on time functions, so that the model coefficients can be dynamically adjusted and the changes in the sequence can be better described; it has been successfully applied in signal processing [21,22,23], risk assessment [24], and feature recognition [25]. In view of the advantages of the TVAR model in non-stationary sequence processing, this paper proposes a method to predict the packet loss rate of non-stationary networks based on a TVAR model.

2.1. Time Varying Coefficient Estimation

Let { X n | n N } represent a non-stationary time sequence. For X n , establish a p-order TVAR model, denoted as TVAR(p).
X n = j = 1 p φ j ( n ) X n j + δ n
The residual error is δ n ~   N ( 0 , σ n 2 ) and δ 1 , δ 2 ,   , δ n are independent of each other. φ j ( n ) is the time-varying coefficient and φ j ( n ) φ j ( n 1 ) follows a normal distribution. According to the principle of maximum entropy, the time-varying coefficient estimation of TVAR(p) is equivalent to the following optimization [26,27,28]:
min   j = 1 p | φ j ( n ) φ j ( n 1 ) | 2 s . t . X n = j = 1 p φ j ( n ) X n j
Obviously, the objective function is a convex function, and the equation constraints are linear. Thus, Equation (2) is a convex optimization problem. The global optimal solution can be obtained only by solving the local optimal solution. In this study, the Lagrange multiplier method is used to solve the convex optimization problem. First, construct the Lagrange function:
L = j = 1 p | φ j ( n ) φ j ( n 1 ) | 2 + 2 λ n ( X n j = 1 p φ j ( n ) X n j )
Let L φ k ( n ) = 0 , (k = 1, 2, …, p), then Equation (4) is obtained:
φ k ( n ) = φ k ( n 1 ) + λ n X n k           k = 1 ,   2 ,   ,   p
Since 2 L φ k ( n ) = 2 > 0 , ( φ 1 ( n ) , φ 2 ( n ) , , φ p ( n ) ) is the global optimal solution of the target function. By substituting this into Equation (4), Equations (5) and (6) are obtained:
X n = j = 1 p ( φ j ( n 1 ) + λ n X n j ) X n j = j = 1 p φ j ( n 1 ) X n j + λ n j = 1 p X n j 2
λ n = X n j = 1 p φ j ( n 1 ) X n j j = 1 p X n j 2
By substituting Equation (6) into Equation (4), Equation (7) is obtained:
φ k ( n ) = φ k ( n 1 ) + λ n X n k = φ k ( n 1 ) + X n j = 1 p φ j ( n 1 ) X n j j = 1 p X n j 2 X n k

2.2. Point Prediction

According to the above, when the sample observations X n p ,   X n p + 1 ,   ,   X n ,   ( N > p > 0 ) and the sequences of time-varying coefficients φ 1 ( n 1 ) ,   φ 2 ( n 1 ) ,   ,   φ p ( n 1 ) are known, the Lagrange multiplier, λ n , can be calculated. Then, the predicted value of the time-varying coefficient can be calculated according to the following formula:
φ k ^ ( n + 1 ) = φ k ( n ) + λ n X n k = φ k ( n ) + X n j = 1 p φ j ( n 1 ) X n j j = 1 p X n j 2 X n k
The one-step prediction of Xn can be completed by substituting the predicted time-varying coefficient into Equation (1):
X ^ n + 1 = j = 1 p φ j ^ ( n + 1 ) X n + 1 j
It is also possible to make further l-step predictions of Xn by an iterative method according to the predicted value. First, the Lagrange multiplier, λ, is calculated based on the input sample value. Next, the time-varying coefficients are computed with the input samples. After that, the Xn one-step prediction by Equation (1) is obtained. Finally, the prediction is input as the new sample value. The above steps are repeated until it is repeated l − 1 times, then the output predictive value is the l-step prediction of Xn. Algorithm 1 shows the detailed steps of l-step prediction:
Algorithm 1 Multi-step prediction algorithm
Input:  l, Xn-p, Xn-p+1, …, Xn, φ1(n), φ2(n), …, φp(n);
Output:   X n + 1 ,   X n + 2 ,   ,   X n + l ;
1:          forI ← 1 to l
2:           λ n + i 1 X n + i 1 j = 1 p φ j ( n + i 2 ) X n + i j 1 j = 1 p X n + i j 1 2 ;
3:          forki to p + i − 1
4:           φ k ( n + i ) φ k ( n + i 1 ) + λ n + i 1 X n + i k 1 ;
5:          end for
6:           X n + i j = i p + i 1 φ j ( n + i 1 ) X n + i j ;
7:           X n + i X n + i ;
8:          end for

2.3. Interval Prediction

The one-step predicted value of X n is only an approximate value of the unknown random variable X n + 1 , but the accuracy and error range of this approximate value do not have an exact value, which is exactly the weakness of point estimation. Interval estimation describes the probability that the estimated range covers the true value, which compensates for the defects of point estimation to some extent.
In order to obtain the confidence interval for X n + 1 at the significance level of α, first, the probability distribution of the residual, δ n , is obtained. According to the above, the residual is δ n ~ N ( 0 , σ n 2 ) ; hence, Equation (10) is obtained:
X n j = 1 p ϕ j ( n ) X n j σ n N ( 0 , 1 )
Consequently, the confidence interval for X n + 1 at the significance level of 1-α is:
( j = 1 p ϕ j ( n ) X n j σ n u α / 2 , j = 1 p ϕ j ( n ) X n j + σ n u α / 2 )
Then, an expression for the variance, σ n , of the residual δ n is found:
σ n 2 = E [ X n j = 1 p ϕ j ( n ) X n j ] 2 = R n ( 0 ) 2 j = 1 p ϕ j ( n ) R n j ( j ) + j = 1 p ϕ j ( n ) R n j ( j ) + i = 1 p j = 1 i ϕ i ( n ) ϕ j ( n ) R n j ( i j )
where R n ( k ) is the autocorrelation function which can be expressed as R n ( k ) = E [ X n X n + k ] . By substituting Equation (12) into Equation (11), the confidence interval of X n + 1 at the significance level of α is obtained.

3. Mathematical Modeling

Similar to most research [29,30,31,32,33,34], in this study, source nodes and multiple target nodes are modeled as graph theoretic models, T = ( V , E ) . T is a logical tree, representing the set of nodes, V, and link, E. V is a set of nodes, which consists of source node S, destination node D, and an internal node. The path from source node S to destination node Di is represented as P(S, Di), and the set of links on P(S, Di) is represented as {ei,1, ei,2 ei,K}. The network topology model is shown in Figure 1.
In order to represent the time-varying characteristics of the network link packet loss, this study introduces the idea of a sliding time window to redefine the time-varying packet loss rate of the link. First, the measurement cycle is divided into smaller periods; each period is called a time window. The packet loss rate of the link within the time window changes relatively smoothly, which can be considered quasi-stationary [15]. The sliding process of the time window is shown in Figure 2.
In Figure 2, Δ t M is the sliding step of the time window and Δ t W is the length of the time window. In order to ensure the continuity of the estimation results, Δ t M and Δ t W should meet the following conditions: 0 < Δ t M Δ t W Δ t . The overlap length of adjacent time windows is Δ t W Δ t M , and s is defined to represent the overlap ratio between time windows ( 0 < s 1 ) :
Δ t M = ( 1 s ) Δ t W
The larger the value of s, the more overlapped the time window and the smoother the packet loss rate curve of the time window. The relationship between the time window length, Δ t M , the time window overlap ratio, s, and the number of time windows, N, can be expressed by the following formula:
N = [ Δ t Δ t W ( 1 s ) Δ t W + 1 ]
where, [·] indicates downward rounding. It can be seen that the larger s is, the larger N is, the smoother the transition of the time window packet loss rate will be, and the lower the probability of a sudden change in the packet loss rate during the statistical process is. In this study, the time-window packet loss rate of link P(S, Di) is defined by the following form:
p S , D i ( k ) = 1 r S , D i ( ( k 1 ) Δ t M , ( k 1 ) Δ t M + Δ t W ) s S , D i ( ( k 1 ) Δ t M , ( k 1 ) Δ t M + Δ t W )
where k is the serial number of the time window and s S , D i ( ( k 1 ) Δ t M , ( k 1 ) Δ t M + Δ t W ) indicates the number of packets sent by node s to Di within the time period ( ( k 1 ) Δ t M , ( k 1 ) Δ t M + Δ t W ) . The number of these packets received by Di is r S , D i ( ( k 1 ) Δ t M , ( k 1 ) Δ t M + Δ t W ) .
At present, the change in packet loss rate with the time window can be characterized according to the definition of the packet loss rate of the time window. However, the packet loss rate of the time window can only reflect the average packet loss rate in all time windows and cannot reflect the change in the packet loss rate in a single time window. The inverse distance squared weighting (IDSW) algorithm was used to determine the value of the time-varying packet loss ratio (PLRt) at any time in response to the problem of an imprecise time-window packet loss ratio [35,36]. The algorithm flow is shown in Algorithm 2.
Algorithm 2 Inverse Distance Square Weighting
Input:   n, t, p1, p2, …, pn, t1, t2, …, tn;
Output:  PLRt;
1:         ifn = 1
2:                then return p1;
3:         end if
4:         iftti = 0
5:                then return pi;
6:         else
7:         fori ← 1 to n
8:                wi ← 1/(tti)2;
9:         end for
10:         end if
11:         w ← ∑wi;
12:PLRt ← (1/w)∑pi wi;
n is the number of time windows including time t, pi is the packet loss rate of the time window whose serial number is i, and ti is the midpoint of the time window whose serial number is i. The increase in n indicates that the value of the time-varying packet loss rate of the link at time t has more times of repeated estimation; hence, the final estimated value at this time is more accurate. On the other hand, since the time-varying packet loss rate in each time window is estimated independently, the increase in n will increase the computation amount of the whole algorithm.

4. Model Simulation

To verify the correctness of the prediction of the link packet loss rate in a non-stationary network by using the TVAR sequence method, it is necessary to contruct a simulation environment similar to the real network. First, a network topology for simulation was constructed, as shown in Figure 3.
In the network topology shown in Figure 3, there are eight nodes and seven links. Node S, as the source node, sends packets to destination nodes D4, D5, and D6. In order to simulate the packet loss rate for each time window in the path from the source node to the destination node, the link needs to be modeled. The model used in this study was improved based on the Gilbert–Elliot model. The Gilbert–Elliot model uses first-order Markov chains to simulate packet loss events in non-stationary networks, and its main advantage lies in considering the dependence between packet loss events [37,38,39,40].
As shown in Figure 4, the link in the Gilbert–Elliot model has two states, namely “G(good)” and “B(bad)”. In the G state, the packet has a probability of 1−k to be lost, while in the B state, the packet has a probability of 1−h to be lost. The probability transition matrix is shown below:
G B P = G B 1 p p q 1 q
In this study, based on the Gilbert–Elliot model, a “medium” state was added between “good” and “bad” link states. In order to better reflect the time-varying characteristics of links, the packet loss rate of each state is no longer set as a fixed value, but is set as a random variable that follows a Gaussian distribution.
As shown in Figure 5, P1, P2, and P3 are the packet loss rates of the three states, which meet the following conditions:
P i N ( μ i , σ i 2 ) ,       ( i = 1 ,   2 ,   3 )
0 μ 1 < μ 2 < μ 3 1
In order for Pi to satisfy 0 P i 1 ,   ( i = 1 ,   2 ,   3 ) , according to the 3σ principle of normal distribution, the variance should also satisfy the following relation:
0 μ i 3 σ i < μ i + 3 σ i 1
In the simulation, the network traffic consisted of 200,000 UDP packets, where the size of each packet was 1000 Bytes, the transmission rate was 0.1 MBps, the length of the time window was 10 s, the step of the time window was 5 s, and the measurement period was 2000 s, with 200 windows in total. Table 2 lists the link parameters.
According to the link model and parameter settings, the boxplot of the packet loss rate from the source node to the destination node and its probability distribution function image were obtained and are shown in Figure 6.
In the above figure, path i represents the path from source node S to destination node Di, that is, P(S, Di) in Figure 3, (i = 1, 3, 4, 5, 6). The boxplot shows that almost all links have no abnormal packet loss rates. The median packet loss rates of path 1 and path 3 are low, concentrated, and fluctuate slightly. The packet loss rates of path 4, path 5, and path 6 are similar. Compared with path 1 and path 3, the packet loss rates of path 4, path 5, and path 6 have a higher median, a more dispersed distribution, and a greater fluctuation. From the perspective of the distribution function, the packet loss rate curves of path 1, path 3, and path 4 are similar in shape. The head and tail of the curve are gentle, while the middle of the curve is steep, which is close to the distribution function of normal distribution. Combined with the selection of the model and the setting of parameters, the experimental results can be explained. Whether the link quality is good or bad, the possibility of packet loss increases with each additional hop, which is the reason why the packet loss rates of path 6, path 5, and path 4 are generally higher than those of path 3 and path 1. As can be seen from Table 1, the variance parameters of the simulation experiment model are set to be relatively small, which makes the packet loss rate distribution more concentrated. Since packets from S to D6, D5, and D4 all pass through P(S, D0) and P(S, D1), i.e., path 6, path 5, and path 4 share most links, their packet loss rates are similar. Finally, since the model assumes that the transfer probability of link mass is subject to a normal distribution and each link mass corresponds to a fixed packet loss probability, the distribution of the packet loss rate is close to a normal distribution.
Next, this paper will predict the packet loss rate of each time window of path 1, path 3, path 4, path 5, and path 6 based on a TVAR sequence. Figure 7 shows the curves of the predicted value and actual packet loss rate of each path in the network simulation model.
As can be seen from the real value curve of the link packet loss rate, the packet loss rate of a one-hop link is distributed in (0.05,0.20), that of a two-hop link in (0.15,0.35), and that of a three-hop link in (0.25,0.45). The distribution of the packet loss rate of the link is relatively concentrated, with almost no outliers, and the mean value increases with the increase in the hop number, which is consistent with the results reflected in Figure 7. The predicted value curve of the link packet loss rate was predicted according to the TVAR sequence method. On the whole, the predicted value curve is close to the real value curve and truly reflects the packet loss status of the link. However, the TVAR sequence needs to take the current statistical packet loss rate as the input of the sequence and update the parameters of the sequence after a series of operations, which leads to a lag in the prediction of the TVAR sequence. It can also be seen from the figure that the predicted value is usually close to the real value of the previous time window, which is also the main source of the prediction error using the TVAR sequence. Therefore, when the time series continuously has a large jump, the prediction of the TVAR series will inevitably produce some errors. However, if the time series is relatively stable, the prediction accuracy of the TVAR series will be further improved.
In order to quantify the predictive performance of the TVAR sequence method, the root mean square error (RMSE) was used to calculate the overall deviation between the predicted value and the actual value of the link packet loss rate [41,42]:
R M S E = 1 n i = 1 n ( P L R P L R ) 2 , [ 0 , + )
The RMSE describes the dispersion degree of the sample by calculating the standard deviation of the residual. The smaller the RMSE is, the more accurate the predicted result is. The RMSE of each path was calculated and the results are shown in Table 3.
As can be seen from Table 3, in a multi-hop non-stationary network, the packet loss rate prediction method based on the TVAR sequence has relatively good prediction accuracy for each link. In addition, the prediction error jitter between links is small.

5. Experimental Verification

In order to verify the wide applicability of the packet loss rate prediction scheme based on the TVAR sequence, a small wireless multi-hop network experiment platform was built, whose network extension is shown in Figure 8.
The experimental equipment included a desktop computer as the sender, an enterprise router as the forwarding node, a laptop computer sharing the network as a second forwarding node after connecting to the router, and three raspberry pis as the receivers. Table 4, Table 5, Table 6 and Table 7 list the details of all experimental devices.
The experimental platform was deployed in an office. Besides the small wireless network set up for the experiment, there were more than 20 other wireless networks for other students and teachers to use. These users caused unpredictable interference to the communication link set up in the experiment. An overhead view of the office is shown in Figure 9.
Although raspberry pi (RPi) does not process information as fast or store it as a desktop computer, tests were conducted before the experiment to ensure that each device did not exceed its computing or storage limits during the experiment.
The NACK-Oriented Reliable Multicast (NORM) protocol was used to communicate between nodes. NORM is a reliable multicast transmission protocol which combines erasure codes and the negative acknowledgment (NACK) mechanism in user datagram protocol (UDP) to realize the reliable end-to-end file transmission function [43]. The NORM protocol uses NACK for error control. If the receiver detects a packet loss, it waits for a random time based on the group round trip time (GRTT) [44]. Within the random waiting period, if the receiving end receives a NACK from another group member, it will delete the same content in its own NACK to avoid the “feedback storm” of NACK. When the sender receives a NACK, the sender starts the repair program and enters the aggregation phase. At this time, the sender continues to receive NACK messages. After the aggregation stage, the sender retransmits the lost data block according to the collected NACK information and enters the backoff stage. After entering the backoff stage, the sender will not receive the NACK information anymore, but will directly discard the received NACK to avoid the overlap between the retransmitted data block and the new request arriving at the NACK [45].
The packet loss rate of the time window was redefined according to the characteristics of the NORM protocol, such as sending information in the unit of data blocks and NACK information being discarded because the receiver was in the backoff stage.
p ( k ) = j = k m N A C K _ s e g k , j S e n d _ s e g k
where S e n d _ s e g k represents the number of segments sent by the sender time-window with serial number k, but these segments may not all be received by the receiver. N A C K _ s e g k , j represents the number of lost segments requested to be retransmitted in the NACK received by the sender in the time window with serial number j.
Figure 10 shows the process of the sender sending segments in the time window with serial number k and receiving NACK due to segment loss. When calculating the packet loss rate in the time window, only N A C K _ s e g k , j ,   ( k j m ) is included in the packet loss, while N A C K _ s e g k , m + 1 is discarded. The IDSW algorithm is still used to define the time-varying packet loss rate (PLRt).
The sending file consists of 2500 blocks, and each block consists of 32 segments with a size of 1056 Bytes. The sending rate is 0.1 MBps, the length of the time window is 10 s, and the step of the time window was 5 s. The rest use the default configuration of the NORM protocol.
Firstly, according to the experimental data obtained in the above configuration, the probability distribution function of the packet loss rate of the three links between the sender and the three receivers is shown in Figure 11.
The distributions of Path 1, Path 2, and Path 3 indicate the three links between the sender and the receiver RPi 1, Rpi 2, and Rpi 3. As shown in Figure 9, Path 1 has only two hops and a short link. Therefore, the packet loss rate of Path 1 is concentrated in a relatively low range. As Path 2 and Path 3 have three hops and long links, the packet loss rate is concentrated in a high range. On the day of the experiment, more people in the office were located in the north, resulting in greater jitter on the link of Path 2 than that of Path 3.
Next, this paper will predict the packet loss rate of Path 1, Path 2, and Path 3 based on the TVAR sequence. Figure 12 shows the bar graph of packet loss rate prediction error of each link.
Firstly, it can be seen from the packet loss rate curve that compared with the simulation model, the packet loss rate fluctuates more in the wireless network built in the real environment. Secondly, the packet loss rate increases significantly after the second forwarding, which may be due to the large performance gap between the two forwarding nodes in the network, one of which is an enterprise class router and the other is a mobile hotspot of a laptop. By using devices with different performances as forwarding nodes, the link in the experiment has more time-varying characteristics than that in the simulation. It can be seen from the error bars that when the packet loss curve is relatively stable, the error generated by the TVAR prediction method is small. However, when the packet loss rate fluctuates greatly, the TVAR prediction method cannot obtain accurate results every time, which is similar to the results of the simulation.
To further evaluate the performance of the TVAR sequence prediction method, it is necessary to compare it with some commonly used methods. The first prediction method we chose for comparison was the ARMA sequence. First, the packet loss rate sequence can pass the unit root test by difference. Then, we calculated the optimal order of ARMA using the Akakike information quantity criterion and we took the ARMA model obtained at this time as the first prediction method for comparison.
The second method used for comparison is the long short-term memory (LSTM) based on deep learning method. We used 70% of the data as a training set to train the network. After network convergence, we adjusted the parameters to achieve the best effect. Figure 13 shows the prediction results and prediction errors of the three prediction methods.
According to the results shown in Figure 13a–c, it can be seen that whether the network fluctuation is large or small, the prediction curve of the ARMA sequence has small fluctuations on the whole, so the accuracy is often low in the environment of drastic network changes. The LSTM network has a high accuracy in predicting the dataset used in the training, and sometimes can almost coincide with the real value curve, but it does not perform well for the test dataset, although we have tried to adjust the model parameters to the best. There are two possible reasons for this situation: the input information to the model is only the previous packet loss rate information, which limits the upper limit of the model, or the dataset used for training is not big enough, so the model cannot learn the real characteristics of the packet loss rate. As the model parameters need to be updated according to the packet loss rate of the current and past time windows, the packet loss rate prediction of the TVAR sequence has some lag. However, on the whole, the TVAR sequence can still accurately predict the packet loss rate in most time windows. The results in Figure 13d show that in the wireless multi-hop network built in this paper, the prediction results of the TVAR sequence are not much different from those of the ARMA sequence and the LSTM network in the link with low fluctuation. However, the prediction accuracy of the packet loss rate of the TVAR sequence is higher than that of the ARMA sequence and the LSTM network in the highly fluctuating links. From the perspective of average error, if RMSE is taken as the error index, the prediction error of the TVAR sequence is reduced by 24.67% compared with the ARMA sequence and 23.28% compared with the LSTM network.

6. Conclusions

In order to obtain an accurate prediction of the packet loss rate of time-varying links at a low cost, this paper proposes a prediction algorithm of the packet loss rate based on the TVAR sequence. First, we estimate the time-varying parameters of the TVAR sequence by combining the maximum entropy principle with the Lagrange multiplier method and obtain the one-step and multi-step estimation algorithms of the TVAR sequence. Second, we define the time-varying packet loss rate by dividing the time window and combining the IDSW algorithm, and propose a prediction scheme for the time-varying packet loss rate in non-stationary networks based on the TVAR sequence, which accounted for the shortcomings of the prediction method of the stationary packet loss rate. In order to test the accuracy of the TVAR sequence in predicting the packet loss rate, experiments were conducted in a simulation environment and in the actual environment. In the experiment, the Gilbert–Elliot model was improved to better simulate the time-varying characteristics of the actual network, and then a wireless multi-hop network was built in an indoor environment for simulation and experiments. The simulation and experimental results show that the proposed packet loss rate prediction scheme has high accuracy and can effectively track the time-varying packet loss rate of links.

Author Contributions

Conceptualization, X.W. and C.W.; methodology, X.W.; software, X.W.; validation, X.W., C.W. and P.D.; formal analysis, X.W.; investigation, X.W.; resources, X.W.; data curation, X.W.; writing—original draft preparation, X.W.; writing—review and editing, P.D.; visualization, X.W.; supervision, C.W.; project administration, C.W.; funding acquisition, C.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Chongqing Administration of Science and Technology, grant number no. CSTB2022NSCQ-MSX1433.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors thank the University of Electronic Science and Technology of China for its equipment and technical support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gao, F.; Wen, H.; Zhao, L.; Chen, Y. Design and optimization of a cross-layer routing protocol for multi-hop wireless sensor networks. In Proceedings of the 2013 International Conference on Sensor Network Security Technology and Privacy Communication System, Nangang, Taiwan, 18–19 May 2013; pp. 5–8. [Google Scholar]
  2. Li, G.; Cai, W.; Li, Y. Link Delay Estimation in Network with Stochastic Routing. In Proceedings of the 2009 WRI World Congress on Computer Science and Information Engineering, Los Angeles, CA, USA, 31 March 2009–2 April 2009; pp. 110–114. [Google Scholar]
  3. Presti, F.L.; Duffield, N.G.; Horowitz, J.; Towsley, D. Multicast-based inference of network-internal delay distributions. IEEE/ACM Trans. Netw. 2002, 10, 761–775. [Google Scholar] [CrossRef] [Green Version]
  4. Lin, J.; Zhang, J.; Lin, W. The improved method of moment for multicast-based delay distribution inference in network tomography. In Proceedings of the 2010 2nd International Conference on Advanced Computer Control, Shenyang, China, 27–29 March 2010; pp. 486–489. [Google Scholar]
  5. Duffield, N.; Presti, F.L.; Paxson, V.; Towsley, D. Network loss tomography using striped unicast probes. IEEE/ACM Trans. Netw. 2006, 14, 697–710. [Google Scholar] [CrossRef] [Green Version]
  6. Liu, Y.; Shi, K.; Xu, G.; Lin, S.; Li, S. Analysis of Packet Loss Characteristics in VANETs. In Proceedings of the 2018 8th International Conference on Electronics Information and Emergency Communication (ICEIEC), Beijing, China, 15–17 June 2018; pp. 219–222. [Google Scholar]
  7. Mittag, G.; Möller, S. Single-Ended Packet Loss Rate Estimation of Transmitted Speech Signals. In Proceedings of the 2018 IEEE Global Conference on Signal and Information Processing (GlobalSIP), Anaheim, CA, USA, 26–28 November 2018; pp. 226–230. [Google Scholar]
  8. Wille, E.C.G.; Tenorio, M.M. Considering Packet Loss Probability in Fault-Tolerant OSPF Routing. IEEE Lat. Am. Trans. 2014, 12, 248–255. [Google Scholar] [CrossRef]
  9. Lan, H.; Xu, J.; Wang, Q.; Ding, W. Packet Loss Measurement Based on Sampled Flow. Symmetry 2021, 13, 2149. [Google Scholar] [CrossRef]
  10. Shu, F.; Sakurai, T.; Zukerman, M.; Vu, H.L. Packet loss analysis of the IEEE 802.15.4 MAC without acknowledgements. IEEE Commun. Lett. 2007, 11, 79–81. [Google Scholar] [CrossRef]
  11. Zhu, W. Statistical Properties of Loss Rate Estimators in Tree Topology. IEEE Trans. Inf. Theory 2018, 64, 3883–3893. [Google Scholar] [CrossRef] [Green Version]
  12. Kumar, S.V.; Vanajakshi, L. Short-Term Traffic Flow Prediction Using Seasonal Arima Model with Limited Input Data; Springer: Berlin/Heidelberg, Germany, 2015; Volume 7, p. 21. [Google Scholar]
  13. Li, L.; Huang, S.; Ouyang, Z.; Li, N. A Deep Learning Framework for Non-stationary Time Series Prediction. In Proceedings of the 2022 3rd International Conference on Computer Vision, Image and Deep Learning & International Conference on Computer Engineering and Applications (CVIDL & ICCEA), Changchun, China, 20–22 May 2022; pp. 339–342. [Google Scholar]
  14. Shi, Q.; Liu, Y.; Zhang, S.; Xu, S.; Lau, V.K.N. A Unified Channel Estimation Framework for Stationary and Non-Stationary Fading Environments. IEEE Trans. Commun. 2021, 69, 4937–4952. [Google Scholar] [CrossRef]
  15. Fei, G.; Hu, G.; Qian, F. A Novel Method for Nonstationary Network Internal Loss Tomography. J. Electron. Inf. Technol. 2010, 32, 671–676. [Google Scholar] [CrossRef]
  16. Cui, F.; Wang, C. Prediction of Percentage Data Packet Loss Based Multipath Transmission of Wireless Sensor Networks. In Proceedings of the 2015 Fifth International Conference on Instrumentation and Measurement, Computer, Communication and Control (IMCCC), Qinhuangdao, China, 18–20 September 2015; pp. 48–51. [Google Scholar]
  17. Miralavi, S.R.; Ghorshi, S.; Mortazavi, M.; Pasha, S. Packet loss replacement in VoIP using a low-order recursive linear prediction method. In Proceedings of the 2011 24th Canadian Conference on Electrical and Computer Engineering(CCECE), Niagara Falls, ON, Canada, 8–11 May 2011; pp. 000292–000295. [Google Scholar]
  18. Coates, M.; Nowak, R. Sequential Monte Carlo inference of internal delays in nonstationary Data Networks. IEEE Trans. Signal Process. 2002, 50, 366–376. [Google Scholar] [CrossRef] [PubMed]
  19. Kostoglou, K.; Robertson, A.D.; MacIntosh, B.J.; Mitsis, G.D. A Novel Framework for Estimating Time-Varying Multivariate Autoregressive Models and Application to Cardiovascular Responses to Acute Exercise. IEEE Trans. Biomed. Eng. 2019, 66, 3257–3266. [Google Scholar] [CrossRef] [PubMed]
  20. Vinogradova, J.; Fodor, G.; Hammarberg, P. On Estimating the Autoregressive Coefficients of Time-Varying Fading Channels. In Proceedings of the 2022 IEEE 95th Vehicular Technology Conference: (VTC2022-Spring), Helsinki, Finland, 19–22 June 2022; pp. 1–5. [Google Scholar]
  21. Aunsri, N. A TVAR particle filter with adaptive resampling for frequency estimation. In Proceedings of the 2016 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS), Phuket, Thailand, 24–27 October 2016; pp. 1–5. [Google Scholar]
  22. De Souza, D.B.; Kuhn, E.V.; Seara, R. A Time-Varying Autoregressive Model for Characterizing Nonstationary Processes. IEEE Signal Process. Lett. 2019, 26, 134–138. [Google Scholar] [CrossRef]
  23. Reddy, G.R.S.; Rao, R. Non stationary signal prediction using TVAR model. In Proceedings of the 2014 International Conference on Communication and Signal Processing, Melmaruvathur, India, 3–5 April 2014; pp. 1692–1697. [Google Scholar]
  24. Yao, P.; Shen, C.; Lv, X.; Feng, L. A TVaR-EGARCH-POT Based Market Financing Risk Evaluation of the New OTC (Over the Counter) Market. In Proceedings of the 2018 2nd International Conference on Data Science and Business Analytics (ICDSBA), Changsha, China, 21–23 September 2018; pp. 334–339. [Google Scholar]
  25. Taheri, S.M.; Nosrati, H. Acoustic signature identification using distributed diffusion adaptive networks. In Proceedings of the 2014 9th International Symposium on Communication Systems, Networks & Digital Sign (CSNDSP), Manchester, UK, 23–25 July 2014; pp. 943–948. [Google Scholar]
  26. Singh, A.K. Karmeshu Power Law Behavior of Queue Size: Maximum Entropy Principle with Shifted Geometric Mean Constraint. IEEE Commun. Lett. 2014, 18, 1335–1338. [Google Scholar] [CrossRef]
  27. Wang, M.; Qian, L.; Chen, G.; Zhai, W. Interval Analysis of Timoshenko Beam with Parameter Uncertainties Based on the Maximum Entropy Principle. In Proceedings of the 2018 IEEE International Conference on Mechatronics and Automation (ICMA), Changchun, China, 5–8 August 2018; pp. 243–247. [Google Scholar]
  28. Zeng, K.; Li, H.; Zeng, M.J.; Liu, P.Q. Power system risk security assessment based on maximum information entropy principle. In Proceedings of the 2014 International Conference on Power System Technology, Chengdu, China, 20–22 October 2014; pp. 421–426. [Google Scholar]
  29. Gama, F.; Isufi, E.; Ribeiro, A.; Leus, G. Controllability of Bandlimited Graph Processes Over Random Time Varying Graphs. IEEE Trans. Signal Process. 2019, 67, 6440–6454. [Google Scholar] [CrossRef] [Green Version]
  30. Kannadhasan, S.; KarthiKeyan, G.; Sethupathi, V. A graph theory based energy efficient clustering techniques in wireless sensor networks. In Proceedings of the 2013 IEEE Conference on Information & Communication Technologies, Thuckalay, India, 11–12 April 2013; pp. 151–155. [Google Scholar]
  31. Zheng, S.; Ren, Z.; Cheng, W.; Zhang, H. Minimizing the Latency of Embedding Dependence-Aware SFCs into MEC Network via Graph Theory. In Proceedings of the 2021 IEEE Global Communications Conference (GLOBECOM), Madrid, Spain, 7–11 December 2021; pp. 1–6. [Google Scholar]
  32. Torres, A.; Anders, G. Spectral Graph Theory and Network Dependability. In Proceedings of the 2009 Fourth International Conference on Dependability of Computer Systems, Brunow, Poland, 1–5 July 2009; pp. 356–363. [Google Scholar]
  33. Sengoku, M.; Tamura, H.; Mase, K.; Shinodu, S. A routing problem on ad-hoc networks and graph theory. In Proceedings of the WCC 2000—ICCT 2000, 2000 International Conference on Communication Technology Proceedings (Cat. No.00EX420), Beijing, China, 21–25 August 2000; Volume 2, pp. 1710–1713. [Google Scholar]
  34. Zhang, D.; Wang, X.; Huang, M.; Wang, C. Spectral Graph Theory Based Topology Analysis for Reconfigurable Data Center Networks. In Proceedings of the 2019 15th International Conference on Mobile Ad-Hoc and Sensor Networks (MSN), Shenzhen, China, 11–13 December 2019; pp. 230–233. [Google Scholar]
  35. Yu, Z.-L.; Zeng, S.-C. Acoustic-to-articulatory mapping codebook constraint for determining vocal-tract length for inverse speech problem and articulatory synthesis. In Proceedings of the WCC 2000–ICSP 2000. 2000 5th International Conference on Signal Processing Proceedings. 16th World Computer Congress 2000, Beijing, China, 21–25 August 2000; Volume 2, pp. 827–2830. [Google Scholar]
  36. Geler, Z.; Kurbalija, V.; Ivanović, M.; Radovanović, M. Time-Series Classification with Constrained DTW Distance and Inverse-Square Weighted k-NN. In Proceedings of the 2020 International Conference on INnovations in Intelligent SysTems and Applications (INISTA), Novi Sad, Serbia, 24–26 August 2020; pp. 1–7. [Google Scholar]
  37. Bildea, A.; Alphand, O.; Rousseau, F.; Duda, A. Link quality estimation with the Gilbert-Elliot model for wireless sensor networks. In Proceedings of the 2015 IEEE 26th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC), Hong Kong, China, 30 August–2 September 2015; pp. 2049–2054. [Google Scholar]
  38. Qi, Y.; Cheng, P.; Chen, J. Dynamic sensor data scheduling for remote estimation over Gilbert-Elliot channel. In Proceedings of the 2014 IEEE/CIC International Conference on Communications in China (ICCC), Shanghai, China, 13–15 October 2014; pp. 26–30. [Google Scholar]
  39. Munari, A.; Liva, G. Information Freshness Analysis of Slotted ALOHA in Gilbert-Elliot Channels. IEEE Commun. Lett. 2021, 25, 2869–2873. [Google Scholar] [CrossRef]
  40. Sheng, S.P.; Liu, M.; Saigal, R. Data-Driven Channel Modeling Using Spectrum Measurement. IEEE Trans. Mob. Comput. 2015, 14, 1794–1805. [Google Scholar] [CrossRef]
  41. Reyes, C.; Hilaire, T.; Paul, S.; Mecklenbräuker, C.F. Evaluation of the root mean square error performance of the PAST-Consensus algorithm. In Proceedings of the 2010 International ITG Workshop on Smart Antennas (WSA), Bremen, Germany, 23–24 February 2010; pp. 156–160. [Google Scholar]
  42. Sim, G.; Yun, H.; Seok, J. The Properties of mode prediction using mean root error for regularization. In Proceedings of the 2019 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), Okinawa, Japan, 11–13 February 2019; pp. 509–511. [Google Scholar]
  43. Adamson, B.; Bormann, C.; Handley, M.; Macker, J. NACK-Oriented Reliable Multicast (NORM) Transport Protocol (No. rfc5740). November 2009. Available online: https://www.rfc-editor.org/info/rfc5740 (accessed on 14 December 2022).
  44. Weston, J.W.; Macker, J.P.; Adamson, R.B. Adapting NORM Unicast Transport for Loss Tolerant and ECN Environments. In Proceedings of the 2014 IEEE Military Communications Conference, Baltimore, MD, USA, 6–8 October 2014; pp. 962–967. [Google Scholar]
  45. Prajapati, A. Reliable Multicast of Dynamic Content Streams from AMQP to NORM Protocol-based Systems. In Proceedings of the 2022 IEEE 12th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 26–29 January 2022; pp. 0907–0914. [Google Scholar]
Figure 1. Diagram of tree network topology. A common network topology that can contain multiple branches, where each branch can contain multiple nodes, has the advantages of easy expansion and easy fault isolation.
Figure 1. Diagram of tree network topology. A common network topology that can contain multiple branches, where each branch can contain multiple nodes, has the advantages of easy expansion and easy fault isolation.
Electronics 12 01103 g001
Figure 2. Sliding time window design diagram. The link packet loss rate calculated by each sliding time window can be regarded as the instantaneous packet loss rate, which represents the statistical result of the link packet loss rate in a very short period.
Figure 2. Sliding time window design diagram. The link packet loss rate calculated by each sliding time window can be regarded as the instantaneous packet loss rate, which represents the statistical result of the link packet loss rate in a very short period.
Electronics 12 01103 g002
Figure 3. Network topology for simulation. A tree model, where the root node represents the sender, calculates the packet loss rate by counting the number of packets arriving at the receiver end. In the figure, S represents the sending node, D0, D2 represents the forwarding node, D1, D3, D4, D5, D6 represents the receiving node.
Figure 3. Network topology for simulation. A tree model, where the root node represents the sender, calculates the packet loss rate by counting the number of packets arriving at the receiver end. In the figure, S represents the sending node, D0, D2 represents the forwarding node, D1, D3, D4, D5, D6 represents the receiving node.
Electronics 12 01103 g003
Figure 4. Gilbert–Elliot model. A packet loss model based on Markov chain attempts to divide communication quality into multiple states. Each state has a different packet loss rate, and the different states are transformed to each other with a certain probability so as to characterize the correlation between the packet loss rate and time.
Figure 4. Gilbert–Elliot model. A packet loss model based on Markov chain attempts to divide communication quality into multiple states. Each state has a different packet loss rate, and the different states are transformed to each other with a certain probability so as to characterize the correlation between the packet loss rate and time.
Electronics 12 01103 g004
Figure 5. The improved Gilbert–Elliot model. Compared with the traditional Gilbert–Elliot model, a new state is added and the transition probability between states is no longer a fixed value, but a random variable.
Figure 5. The improved Gilbert–Elliot model. Compared with the traditional Gilbert–Elliot model, a new state is added and the transition probability between states is no longer a fixed value, but a random variable.
Electronics 12 01103 g005
Figure 6. In the simulation environment of the tree network model in Figure 3 and the link model in Figure 5, the boxplot and distribution function of the packet loss rate of path 1, path 3, and path 4 links are presented.
Figure 6. In the simulation environment of the tree network model in Figure 3 and the link model in Figure 5, the boxplot and distribution function of the packet loss rate of path 1, path 3, and path 4 links are presented.
Electronics 12 01103 g006
Figure 7. In the simulation environment of the tree network model in Figure 3 and the link model in Figure 5, the statistical value of the packet loss rate of the link is compared with the predicted value.
Figure 7. In the simulation environment of the tree network model in Figure 3 and the link model in Figure 5, the statistical value of the packet loss rate of the link is compared with the predicted value.
Electronics 12 01103 g007
Figure 8. A small wireless multi-hop network experimental platform built in reality. It consists of a computer as the sender, a router and a laptop as the forwarding nodes, and three raspberry pis as the receivers.
Figure 8. A small wireless multi-hop network experimental platform built in reality. It consists of a computer as the sender, a router and a laptop as the forwarding nodes, and three raspberry pis as the receivers.
Electronics 12 01103 g008
Figure 9. A top view of the office where the laboratory platform is deployed, with the laboratory equipment mentioned in Figure 8 placed in corresponding positions, forming a small wireless multi-hop network.
Figure 9. A top view of the office where the laboratory platform is deployed, with the laboratory equipment mentioned in Figure 8 placed in corresponding positions, forming a small wireless multi-hop network.
Electronics 12 01103 g009
Figure 10. The NORM protocol uses a negative acknowledgment mechanism as a feedback mechanism. A negative acknowledgment mechanism is a kind of negative feedback where the receiver notifies the sender only when the data are not received.
Figure 10. The NORM protocol uses a negative acknowledgment mechanism as a feedback mechanism. A negative acknowledgment mechanism is a kind of negative feedback where the receiver notifies the sender only when the data are not received.
Electronics 12 01103 g010
Figure 11. In the multi-hop network shown in Figure 8, the distribution function image of the packet loss rate of the three links from the sender to the receiver is built in the actual environment.
Figure 11. In the multi-hop network shown in Figure 8, the distribution function image of the packet loss rate of the three links from the sender to the receiver is built in the actual environment.
Electronics 12 01103 g011
Figure 12. By using the TVAR sequence prediction method to predict the link packet loss rate in the multi-hop network shown in Figure 8, the predicted results and prediction errors are obtained.
Figure 12. By using the TVAR sequence prediction method to predict the link packet loss rate in the multi-hop network shown in Figure 8, the predicted results and prediction errors are obtained.
Electronics 12 01103 g012
Figure 13. Comparison of the performance of TVAR, ARMA, and LSTM for the packet loss rate of the wireless multi-hop network shown in Figure 8 and their prediction errors.
Figure 13. Comparison of the performance of TVAR, ARMA, and LSTM for the packet loss rate of the wireless multi-hop network shown in Figure 8 and their prediction errors.
Electronics 12 01103 g013
Table 1. Common symbols and definition.
Table 1. Common symbols and definition.
SymbolDefinition
XnNon-stationary time series
δnResidual error
φj(n)Time-varying coefficient
LLagrange function
λnLagrange multiplier
lThe predicted step size of TVAR
uStandard normal distribution
R(n)The autocorrelation function of the sequence
SSource node
DDestination node
PPath between nodes
ΔtMStep of time window
ΔtWLength of time window
tiMidpoint of the i-th time window
wiThe weight of the i-th time window
pTime window packet loss rate
PLRtTime-varying packet loss rate
Table 2. Link simulation parameters.
Table 2. Link simulation parameters.
pqrαβμ1μ2μ3σ1σ2σ3
0.70.70.70.50.50.050.10.150.010.030.04
Table 3. Packet loss rate estimation error.
Table 3. Packet loss rate estimation error.
Path13456Average
RMSE0.01400.01830.02010.01980.02180.0188
Table 4. Router detailed parameters.
Table 4. Router detailed parameters.
Model NumberMaximum Transmission RateNetwork StandardFrequency RangeMaximum Transmitting Power
Huawei AP4050DE-B-S1.267 Gbps802.11 a/b/g/n/ac/ac wave2Dual frequency (2.4 GHz, 5 GHz)23 dBm
Table 5. Raspberry pi detailed parameters.
Table 5. Raspberry pi detailed parameters.
Model NumberOperating SystemCPUMemory CapacityWireless Network Card
Raspberry Pi 4BRaspberry Pi OSBCM27118 GB802.11 ac
Table 6. Laptop detailed parameters.
Table 6. Laptop detailed parameters.
Model NumberOperating SystemCPUMemory CapacityWireless Network Card
OMEN Laptop 15-en0033AXWindows 10AMD Ryzen 7 4800 H16 GB802.11 ac
Table 7. Desktop computer detailed parameters.
Table 7. Desktop computer detailed parameters.
Model NumberOperating SystemCPUMemory Capacity
Tianyi 510SWindows 11Intel Core i7 12700H16 GB
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, X.; Wu, C.; Deng, P. Prediction of Packet Loss Rate in Non-Stationary Networks Based on Time-Varying Autoregressive Sequences. Electronics 2023, 12, 1103. https://doi.org/10.3390/electronics12051103

AMA Style

Wu X, Wu C, Deng P. Prediction of Packet Loss Rate in Non-Stationary Networks Based on Time-Varying Autoregressive Sequences. Electronics. 2023; 12(5):1103. https://doi.org/10.3390/electronics12051103

Chicago/Turabian Style

Wu, Xiaorui, Chunling Wu, and Pei Deng. 2023. "Prediction of Packet Loss Rate in Non-Stationary Networks Based on Time-Varying Autoregressive Sequences" Electronics 12, no. 5: 1103. https://doi.org/10.3390/electronics12051103

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop