Abstract
This invention discloses a kind of reliable data transmission method based on hidden Markov model that specific to video transmission quality enhancement over lossy satellite links. It uses HMM model to forecast retransmission rate and adopts the network packet loss rate to reflect the network performance. The underlying network packet loss rate is used as the hidden state of HMM model and the retransmission rate is used as the observation state. By analyzing the historically transmitted data sessions, APRT establishes the relationship between the hidden state transition probability and the emission probability. Then, a robust and efficient retransmission rate prediction is obtained. This invention takes into full consideration of high BER in satellite network channels and adjusts the reliable level according to the satellite network channel characteristics so as to make tradeoff between instantaneity and quality. Consequently, it guarantee the QoS and QoE of video stream.
Claims
1. A reliable transmission method based on a hidden Markov model (HMM model) to handle a quality and a real-time problem of a delay-sensitive video service over lossy satellite links, the method comprising: Step 1: Presenting a specification definition of the HMM model, including using the HMM model to forecast a retransmission rate; using an underlying network packet loss rate as a hidden state of the HMM model; using the retransmission rate as an observation state; by analyzing historically transmitted data sessions, establishing a relationship between a hidden state transition probability and an emission probability, and obtaining a robust and efficient retransmission rate prediction, such that: a random variable W.sub.t is defined as the retransmission rate in a time period t; w.sub.t is defined as an actual retransmission rate measured in a network; .sub.t indicates a predicted value of the random variable W.sub.t; a retransmission rate of a strategy W.sub.t is changing with a variation of hidden state variables X.sub.t, where {x.sub.1, x.sub.2, . . . , x.sub.N} represents a set of possible discrete state sequences and N=|| indicates a number of states; the hidden state variables X.sub.t are a random variable and a probability distribution is defined as a vector =(P(X.sub.t=x.sub.1), . . . , P(X.sub.t=x.sub.N)); a current state varies with a Markov process, where a probability distribution of the current state is determined by a state of a previous period, expressed as P(X.sub.t|X.sub.t1, . . . , X.sub.1)=P(X.sub.t|X.sub.t1); a defined transition probability matrix is P={P.sub.ij}, where P.sub.ij=P(X.sub.t=x.sub.i|X.sub.t1=x.sub.j), and .sub.t+ =.sub.tP.sup.; and when a hidden state X.sub.t is given, a probability distribution function (pdf) of the network packet loss rate follows the Gaussian distribution function: W.sub.t|X.sub.t=xN(.sub.x, .sub.x.sup.2); Step 2: Executing an offline training phase, including, when the number of states N is given and a training data set is Set (M.sub.s*, s), utilizing a maximum likelihood estimation algorithm to calculate the parameters of the HMM model, which can be expressed by the equation .sub.HMM={.sub.0, P, {(.sub.x, .sub.x.sup.2), x}}; Step 3: Executing an online prediction stage, including a prediction initialization including: providing a Set (M.sub.s*, s) as a most matching feature for a transmission of flow s, which is defined as .sub.1=Median (Set (M.sub.s*, s)), where Set(M.sub.s*, s) is a mean value of a data set and an initial network packet loss rate; a forecast phase including: in the time period t, providing an updated pdf of the HMM model, then according to a Markov feature, calculating the pdf of a current time period using the equation .sub.t|1:t1=.sub.t1|1:t1P, and calculating the predicted retransmission rate .sub.t; and a parameter update of the HMM model including: when the network packet loss rate W.sub.t=w.sub.t, and .sub.t|1:t1 are provided, using a Baum-Welch algorithm to update the parameters of the HMM model, such that .sub.t|1:t1 is updated as .sub.t|1:t1, and P.sub.ij is updated as P.sub.ij; Step 4: Executing Congestion Control, including a rate control for a video flow including: when a receiver uses the HMM model to determine a retransmission rate of a video, the receiver returning adaptive ACK feedback packets; and when a sender receives the adaptive ACK feedback packets, an APRT protocol congestion window control adopting loss based congestion indicators, and a cubic window growth function, which is defined in Cubic TCP, so as to update a congestion window increase; a fast retransmission including: when the network is in a non-congested state, the receiver returning almost all of the adaptive ACK feedback packets of all received data, and the sender performing fast retransmission after receiving duplicated adaptive ACK feedback packets or a timeout as a traditional transport protocol; when the network is predicted to be in a poor or a congested state, the receiver retransmitting the adaptive ACK feedback packets partially, and the sender only performing fast retransmission for confirmed lost packets; and when the network is predicted to be in extreme conditions, including when the network is in an idle time, regarding an APRT protocol as a completely reliable transmission protocol as a TCP protocol.
2. The method of claim 1, wherein the formula to calculate .sub.t in Step 3 is defined as follows:
3. The method of claim 1, wherein the formulas to calculate .sub.t|1:t1 and P.sub.ij in Step 3 are defined as follows:
Description
SPECIFICATION OF THE ATTACHED FIGURES
(1) FIG. 1 shows the overview of HMM model.
(2) FIG. 2 shows the simulation topology.
(3) FIG. 3 shows the average throughput of each protocol under different link error rates when the bottleneck link bandwidth is 10 Mbps.
(4) FIG. 4 shows the average throughput of each protocol under different link error rates when the bottleneck link bandwidth is 200 Kbps.
(5) FIG. 5 shows the changing of RTT of different single flow over time when the link error rate is 10.sup.5 in scenario A.
(6) FIG. 6 shows the changing of RTT of different single flow over time when the link error rate is 10.sup.5 in scenario B.
(7) FIG. 7 shows the changing of delay jitter of different single flows over time in scenario A and scenario B.
(8) FIG. 8 shows the changing of delay jitter of different single flows over time in scenario B.
(9) FIG. 9 shows the subjective video quality of different single protocols using different video test sequence, when the bandwidth is 10 Mb/s and BER is 10.sup.7 (1).
(10) FIG. 10 shows the subjective video quality of different single protocols using different video test sequence, when the bandwidth is 10 Mb/s and BER is 10.sup.7 (2).
(11) FIG. 11 shows the subjective video quality of different single protocols using different video test sequence, when the bandwidth is 10 Mb/s and BER is 10.sup.7 (3).
(12) FIG. 12 shows the subjective video quality of different single protocols using different video test sequence, when the bandwidth is 10 Mb/s and BER is 10.sup.7 (4).
(13) FIG. 13 shows the subjective video quality of different single protocols using different video test sequence, when the bandwidth is 200 Kb/s and BER is 10.sup.6 (1).
(14) FIG. 14 shows the subjective video quality of different single protocols using different video test sequence, when the bandwidth is 200 Kb/s and BER is 10.sup.6 (2).
(15) FIG. 15 shows the subjective video quality of different single protocols using different video test sequence, when the bandwidth is 200 Kb/s and BER is 10.sup.6 (3).
(16) FIG. 16 shows the impact of different playout buffer sizes on the quality of APRT protocol.
(17) FIG. 17 shows the average throughput of three video flows under different link BERs when the bottleneck link bandwidth is 10 Mbps.
(18) FIG. 18 shows the average throughput of three video flows under different link BERs when the bottleneck link bandwidth is 200 Kbps.
(19) FIG. 19 shows the changing of RTT of different concurrent flows over time in scenario A.
(20) FIG. 20 shows the changing of RTT of different concurrent flows over time in scenario B.
(21) FIG. 21 shows the changing of delay jitter of different concurrent flows over time in scenario A.
(22) FIG. 22 shows the changing of delay jitter of different concurrent flows over time in scenario B.
(23) FIG. 23 shows subjective video quality of different concurrent protocols using different video test sequence, when the bandwidth is 10 Mb/s and BER is 10.sup.7 (1).
(24) FIG. 24 shows subjective video quality of different concurrent protocols using different video test sequence, when the bandwidth is 10 Mb/s and BER is 10.sup.7 (2).
(25) FIG. 25 shows subjective video quality of different concurrent protocols using different video test sequence, when the bandwidth is 200 Kb/s and BER is 10.sup.6 (1).
(26) FIG. 26 shows subjective video quality of different concurrent protocols using different video test sequence, when the bandwidth is 200 Kb/s and BER is 10.sup.6 (2).
SPECIFIC IMPLEMENTATION METHOD
(27) Further specific specification is given as follows by combining the attached figures and the implementation case in detail.
(28) Simulation topology is shown in FIG. 2, which includes the senders, the receivers and the satellite networks. The following two main scenarios are simulated: Scenario A: bandwidth of the bottleneck link is 10 Mb/s with varied round trip time (RTT), which represents broadband MEO satellite networks; Scenario B: bandwidth of the bottleneck link is 200 Kb/s with varied RTT, which represents narrowband LEO satellite networks.
(29) The APRT protocol is compared with different types of protocols, which include various reliability and order. Therein, variable , denote the reliability degree of the transport service provided. A reliable service is 100% reliable. A partially reliable service is the service with [0%, 100%], variable defines the orderliness of the strategy, where [0%, 100%]. P1 represents APRT protocol, P2 represents the protocol with =1, =1, P3 represents the protocol with 1, =1, P4 represents the protocol with 1, =1
(30) It can be concluded from both FIGS. 3 and 4 that the average throughput of all protocols reduces with the increase of link error rate. As shown in FIG. 3, when the bottleneck link bandwidth is 10 Mbps, all protocols cannot take full advantage of the link bandwidth, so that the network is in a state of no congestion. When the BER is from 10.sup.9 to 10.sup.6, the network is in good state. The average throughput of APRT and p2 strategies are higher than p3 and p4 strategies. This is because the throughput of unreliable strategies (i.e., p3 and p4) is limited by the transfer speed of video encoded frames from the application layer to the transport layer at the sender side. Nevertheless, there is a reliable confirmation component in p2 strategy and APRT protocol, which produces part of the retransmission packets. When the link error rate is greater than 2.010.sup.6, the average throughput of p3 and p4 strategies start to larger than that of reliable p2 strategy, while the APRT protocol begins to perform a similar performance to p4 strategy. The reason for this is that p2 strategy is based on the ACK acknowledgment to assure reliability while APRT adopts partially reliable transfer mechanism.
(31) As shown in FIG. 4, when the bottleneck link bandwidth is 200 Kbps, the bottleneck link has been saturated, and is in a moderate congestion state. For different BER, p4 strategy always maintains the highest average throughput of about 200 Kbps, followed by p3 strategy. When the link error rate is from 10.sup.9 to 10.sup.6, average throughput of APRT protocol is slightly higher than of p2 strategy. When the BER is larger than 10.sup.6, p2 strategy has an obvious performance degradation, the reason is that p3 and p4 strategies have no packet transmission control mechanism, so that the throughput is large. Therein, p3 strategy applies a packet in-order guarantee mechanism, so that the throughput of p3 is slightly smaller than that of p4 strategy, in which =1. For APRT protocol, it will determine the state of the network according to the HMM model. When approaching the saturation bandwidth occupancy, APRT utilizes partially reliable transmission mechanism. When the network packet loss rate is large, APRT reduces the reliability of the protocol for real-time transmission. Thus, the proposed protocol can make trade-offs between high-quality and playback continuity.
(32) It can be seen from FIG. 5 that the RTT of APRT protocol changes between [52.5 ms, 53 ms], the RTT of p2 strategy varies between [52.5 ms, 53.5 ms], and that of p3 and p4 strategies changes between [50 ms, 53 ms]. This is because that when the network bandwidth is not fully utilized, the reliable mechanism of p2 strategy will cause network routers cache a certain amount of data packets, so that the packet has a queuing delay. This will result in RTT increase. While for protocols without guaranteeing reliability, the more the protocol is unreliable, the lower the RTT is. Combining the jitter result shown in FIG. 7, p2 strategy has a high delay jitter. The larger the delay jitter is, the less stable queueing produced in the bottleneck routers.
(33) It can be seen from FIG. 6 that RTT of different protocols has big difference. Therein, the RTT of p2 is much higher than the other three protocols. This is caused by the congestion control of p2 strategy; whose window changes regularly. At this time, the network utilization is high with high random BER in satellite networks, which results in a large number of packets buffered in routers. When the network has free bandwidth, the growth of the window is slow. Once packet loss events occur, congestion window of p2 turns into the congestion avoidance stage. The RTT of p4 packet is less than that of p2 strategy packet. Because of the high utilization of the network at this time, and that p4 strategy does not have congestion control mechanism, the routers of bottleneck link also buffer a large number of data packets. Because of p3 strategy guarantees the packet order and will discard the out-of-order packet at the receiver side, most RTT of p3 packets are less than 150 ms delay. APRT protocol also has a smaller round-trip delay APRT also represents a ladder curve characteristics, which is doe to the HMM model network prediction. APRT carries out an adaptive reliability and avoids unnecessary congestion window reduction so as to maintain the congestion window in a relatively stable state. According to the corresponding delay jitter in FIG. 8, it can be seen that the delay jitter range of p2 strategy is between [0,0.5], which is violent, and the APRT protocol is around 0.1, except that some individual points reach 0.3. p4 and p3 strategies achieve minimal delay jitter, which are all less than 0.06.
(34) Table 1 examines the packet loss results in different network states. Overall, it can be seen that for different BERs, packet loss rate of different protocols is: packet loss rate of p4>packet loss rate of p3>packet loss rate of APRT>packet loss rate of p2. When the bandwidth of 200 Kbps, the performance of p4 strategy and p3 strategy are affected greatly, and the total number of dropped frames are 452 and 314, respectively. The total number of dropped frames of APRT protocol is 178 at most.
(35) TABLE-US-00001 TABLE 1 Lost Frames of Different Protocols under Single Flow Scenarios with Different Bandwidths and BERs. Bandwidth protocol BER Packet loss rate Lost frame 10 Mb/s P1 10.sup.7 0.0065 17 10.sup.5 0.1215 52 P2 10.sup.7 0.0062 16 10.sup.5 0.1375 40 P3 10.sup.7 0.068 18 10.sup.5 0.1198 286 P4 10.sup.7 0.0074 19 10.sup.5 0.1166 299 200 Kb/s P1 10.sup.7 0.0471 83 10.sup.5 0.1409 178 P2 10.sup.7 0.0285 24 10.sup.5 0.1341 24 P3 10.sup.7 0.1638 303 10.sup.5 0.1364 314 P4 10.sup.7 0.1762 452 10.sup.5 0.1567 402
(36) The PSNR results are shown in Table 2. The upper part of Table 2 shows a good state of the network, where the bandwidth is not fully utilized and the link BER is 10.sup.8. The four protocols achieve a higher. PSNR value and the corresponding MOS value is 5, while the reliable protocol has higher video transmission quality than the unreliability protocol. The PSNR of the APRT protocol is 11.62% higher than that of the p4 strategy. The lower part of Table 2 shows a poor network status, where the bandwidth low and link BER of 10.sup.5. Therein, PSNR of p2 strategy is 0, indicating that the video cannot be decoded and reconstruction. The video quality based on p3 strategy and p4 strategy is fair and poor, respectively. The APRT protocol with a certain reliability guarantee can reach 32.89, which ensures a better video transmission quality.
(37) TABLE-US-00002 TABLE 2 Video Quality of Different Protocols under Single Flow Scenarios with Different Bandwidths and BERs. Bandwidth MOS protocol BER PSNR MOS evaluation 10 Mb/s P1 10.sup.8 41.525381 5 Excellent P2 41.623857 5 Excellent P3 37.296478 5 Excellent P4 37.202516 5 Excellent 200 Kb/s P1 10.sup.5 32.889131 4 Good P2 0 1 Bad P3 29.525154 3 Fair P4 24.092692 2 Poor
(38) FIG. 9-12 and FIG. 13-15 show the video quality comparison of different video test sequences in different network states. By comparing with the source video image, it can be seen that the video quality of the APRT protocol and p2 strategy of the second and third columns is almost as clear as the source video image, and the video quality of p4 strategy is slightly worse, especially for dynamic image. In FIG. 13-15, due to this network state, p2 strategy is unable to carry out video decoding and reconstruction work, so we only show the quality of two compared video transfer protocols, i.e., p3 and p4. It can be seen that the quality of APRT protocol video is significantly better than that of p4 protocol.
(39) FIG. 16 shows that the bigger the playout buffer is, the better the video quality are. When the link error rate is 10.sup.7 and the playout buffer size is less than 150, video quality only achieve fair quality. When the playout buffer size is higher than 150, the video quality is good. When the link error rate of 10.sup.5 and the playout buffer size is less than 110, the video quality is poor, while the playout buffer size is higher than 240, the video quality is good. After the playout buffer size is higher than 350, continue to increase the size of the playout buffer does not improve the quality of the video any more. Overall, we can see that for a playout buffer with 150 to 300 packets, APRT can achieve a good quality of video playback. Moreover, because the poor satellite networks environment, larger playout buffer size is not necessary.
(40) It can be seen from FIGS. 17 and 18 that the results are almost the same as the single flow experiments, that is, the average throughput of all protocols decrease as the link BER increases. As shown in FIG. 17, the bottleneck link bandwidth is 10 Mbps and the link error rate is 4.510.sup.6, average throughput of APRT, p2 and p4 strategy are around 560 Kbps. The results of FIG. 18 differ from the single flow scenario, the average throughput of APRT protocol holds between the performance of p2 and p4 strategy. When the BER is 10.sup.5, the average throughput of APRT protocol is higher than that of p2 strategy.
(41) The evaluation of round trip delay and delay jitter is also similar to the result of a single flow scenario. FIG. 19 shows the delay curve changing over time when the link BER is 10.sup.5 in scenario A. It can be seen from the figure that RTT of APRT protocol packet changes in the interval of [52.5 ms, 55 ms]. When p2 becomes stable, its RTT changes in the interval of [52 ms, 65 ms]. The RTT of p3 strategy and p4 strategy are between the interval of [52.5 ms, 60 ms]. The corresponding delay jitter results are given in FIG. 21, which shows that the APRT protocol has a larger round trip delay and can maintain a smaller queuing delay in the router:
(42) FIG. 20 shows the RTT curve varying over time when link BER is 10.sup.5 in scenario B. It can be seen from the figure that when the network data flow increases, the round trip delay increases from 150 ms to 400 ms comparing with when there is only a single flow in the network. The overall round trip delay of APRT protocol is the smallest. However, as shown in FIG. 22, APRT has a large delay jitter like p2.
(43) Table 3 is used to check the coexistence of multiple data strip in different network state under different packet loss situation. It can be seen that in the case of multiple flow coexisting situations, all of the protocols have a high packet loss rate, especially when the bandwidth is 200 Kbps. The packet loss rate of APRT reduced by 77.69% and 55.05% comparing with the p4 strategy.
(44) TABLE-US-00003 TABLE 3 Lost Frames of Different Protocols under Concurrent Flow Scenarios with Different Bandwidths and BERs. Bandwidth Protocol BER Packet loss rate Lost frame 10 Mb/s P1 10.sup.7 0.0173 48 10.sup.5 0.1475 71 P2 10.sup.7 0.0158 41 10.sup.5 0.2198 87 P3 10.sup.7 0.0672 54 10.sup.5 0.1340 69 P4 10.sup.7 0.0677 55 10.sup.5 0.1093 74 200 Kb/s P1 10.sup.7 0.1982 54 10.sup.5 0.2981 64 P2 10.sup.7 0.2068 55 10.sup.5 0.3301 69 P3 10.sup.7 0.8885 6814 10.sup.5 0.8885 6791 P4 10.sup.7 0.8885 6814 10.sup.5 0.8867 6800
(45) For the upper part of Table 4, when the network state is better, the four protocols can reach a higher PSNR value, and the MOS value is 4. The PSNR of difference protocol is not significant. However, when the network gets worse, the performance of APRT protocol is significantly better than the other three protocols. It can be concluded that APRT ensures a better video transmission quality.
(46) TABLE-US-00004 TABLE 4 Video Quality of Different Protocols under Concurrent Flow Scenarios with Different Bandwidths and BERs. Bandwidth MOS Protocol BER PSNR MOS evaluation 10 Mb/s P1 10.sup.8 33.032264 4 Good P2 33.146254 4 Good P3 32.484776 4 Good P4 32.440097 4 Good 200 Kb/s P1 10.sup.6 30.652149 3 Fair P2 0 1 Bad P3 27.088844 3 Fair P4 22.441292 2 Poor
(47) It can be seen from FIGS. 23 and 24 that the video quality of the APRT protocol and the p2 strategy is almost as well as the source video image, while the video quality transmitted by the p4 strategy is slightly worse, especially for the dynamic images. For FIGS. 25 and 26, because in this network state, p2 strategy transmission of data has been unable to carry out video decoding and reconstruction work, so only shows the quality of other two comparing transmission protocol. It can be seen that video quality based on APRT protocol is significantly better than that of p4 strategy. Because the first sequence images are relatively static, so the quality is better than that of the second row. For second row, the transfer of p4 strategy represents a serious discontinuous phenomenon.