Data transmission method and device based on anti-packet loss strategy, equipment and storage medium

By predicting the packet loss rate in the data transmission link and selecting a suitable anti-packet loss strategy, the problem of poor anti-packet loss effect in the prior art is solved, and more efficient data transmission is achieved.

CN119945636AActive Publication Date: 2025-05-06BIGO TECH PTE LTD

Patent Information

Application Number
CN202510075087.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-06
Estimated Expiration
2045-01-17

AI Technical Summary

Technical Problem

In the prior art, data transmission has poor anti-packet loss effect, especially in complex network environments, and it is difficult to accurately predict the packet loss rate and choose a suitable anti-packet loss strategy.

Method used

By determining the success information of the received data packets in the data transmission link, predicting the predicted packet loss rate of the data packet to be sent, and determining the specific parameters of the automatic retransmission request strategy, forward error correction strategy and hybrid automatic retransmission request strategy based on this rate, selecting the optimal anti-packet loss strategy for data transmission.

Benefits of technology

Accurate packet loss rate prediction of the data packet to be sent in data transmission is achieved, and the most suitable anti-packet loss strategy is selected based on the prediction results, thereby significantly improving the anti-packet loss effect of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119945636A_ABST
    Figure CN119945636A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data transmission method and device based on an anti-packet-loss strategy, equipment and a storage medium. According to the technical scheme provided by the embodiment of the invention, the packet loss rate of the later data packet to be sent is predicted, and the first service quality score of the automatic retransmission request strategy, the second service quality score of the forward error correction strategy and the third service quality score of the hybrid automatic retransmission request strategy are accurately predicted according to the predicted packet loss rate; and determining the anti-packet-loss strategy corresponding to the minimum service quality score as a target anti-packet-loss strategy, performing data transmission based on the target anti-packet-loss strategy, accurately predicting the service quality of different anti-packet-loss strategies based on the predicted packet loss rate, and determining the target anti-packet-loss strategy used for data transmission according to the service quality. And the anti-packet loss effect of data transmission is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of data transmission, and in particular, to a data transmission method, apparatus, device and storage medium based on an anti-packet loss strategy. Background Art

[0002] In real-time audio and video communications, it is necessary to ensure that high-priority or mission-critical data streams (such as video conferencing, real-time voice calls) can obtain the required bandwidth, reduce latency, jitter, and packet loss in a complex network environment to ensure a smooth and reliable user experience. To this end, anti-packet loss processing is required for data transmission.

[0003] Traditional anti-packet loss methods mainly include automatic repeat request (ARQ), forward error correction (FEC), hybrid automatic repeat request (HARQ), etc. Among them, the automatic repeat request that relies on the feedback (ACK / NACK) of the receiver will introduce a large transmission delay when the round-trip time (RTT) is large, and the anti-packet loss effect of data transmission is poor. Forward error correction applies the fault-tolerant coding algorithm to the source data packet to generate redundant data packets. When data packet loss occurs, the lost source data packet can be restored with relatively low delay. The key to forward error correction is to predict the packet loss rate in advance to determine whether it is necessary to encode redundant packets in advance and the size of the redundancy. The method of predicting the packet loss rate by forward error correction in related technologies is usually to replace the future packet loss rate with indicators such as the average packet loss rate or the maximum packet loss rate in a window over a period of time. This packet loss rate prediction has the problems of information lag and low accuracy, and the anti-packet loss effect of data transmission is poor. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, apparatus, device and storage medium based on an anti-packet loss strategy to solve the technical problem of poor anti-packet loss effect of data transmission in related technologies. It can accurately predict the packet loss rate of subsequent data packets to be sent during data transmission, and accurately determine the target anti-packet loss strategy based on the packet loss rate, thereby effectively improving the anti-packet loss effect of data transmission.

[0005] In a first aspect, an embodiment of the present application provides a data transmission method based on an anti-packet loss strategy, including:

[0006] Determine reception success information of a first preset number of sent data packets in a data transmission link, and determine a link predicted packet loss rate of a subsequent second preset number of to-be-sent data packets according to the reception success information;

[0007] Determine, according to the link predicted packet loss rate, a first predicted number of retransmission packets and a first predicted introduction delay for data transmission based on an automatic repeat request strategy, a first predicted redundancy and a second predicted introduction delay for data transmission based on a forward error correction strategy, and a second predicted number of retransmission packets, a second predicted redundancy, and a third predicted introduction delay for data transmission based on a hybrid automatic repeat request strategy;

[0008] Determine a first quality of service score of the automatic repeat request strategy according to the link predicted packet loss rate, the first predicted number of retransmission packets, and the first predicted introduction delay, determine a second quality of service score of the forward error correction strategy according to the link predicted packet loss rate, the first predicted redundancy, and the second predicted introduction delay, and determine a third quality of service score of the hybrid automatic repeat request strategy according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay;

[0009] The anti-packet loss strategy corresponding to the minimum quality of service score among the first quality of service score, the second quality of service score and the third quality of service score is determined as the target anti-packet loss strategy, and data transmission is performed based on the target anti-packet loss strategy, the anti-packet loss strategy including the automatic repeat request strategy, the forward error correction strategy and the hybrid automatic repeat request strategy.

[0010] In a second aspect, an embodiment of the present application provides a data transmission device based on an anti-packet loss strategy, including a packet loss prediction module, a prediction analysis module, a quality determination module, and a data transmission module, wherein:

[0011] The packet loss prediction module is configured to determine the reception success information of a first preset number of sent data packets in the data transmission link, and determine the link prediction packet loss rate of a subsequent second preset number of to-be-sent data packets according to the reception success information;

[0012] The prediction analysis module is configured to determine, according to the link predicted packet loss rate, a first predicted number of retransmission packets and a first predicted introduction delay for data transmission based on an automatic repeat request strategy, a first predicted redundancy and a second predicted introduction delay for data transmission based on a forward error correction strategy, and a second predicted number of retransmission packets, a second predicted redundancy and a third predicted introduction delay for data transmission based on a hybrid automatic repeat request strategy;

[0013] The quality determination module is configured to determine a first quality of service score of the automatic repeat request strategy according to the link predicted packet loss rate, the first predicted number of retransmission packets, and the first predicted introduction delay, determine a second quality of service score of the forward error correction strategy according to the link predicted packet loss rate, the first predicted redundancy, and the second predicted introduction delay, and determine a third quality of service score of the hybrid automatic repeat request strategy according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay;

[0014] The data transmission module is configured to determine the anti-packet loss strategy corresponding to the minimum quality of service score among the first quality of service score, the second quality of service score and the third quality of service score as a target anti-packet loss strategy, and perform data transmission based on the target anti-packet loss strategy, wherein the anti-packet loss strategy includes the automatic repeat request strategy, the forward error correction strategy and the hybrid automatic repeat request strategy.

[0015] In a third aspect, an embodiment of the present application provides a data transmission device based on an anti-packet loss strategy, including: a memory and one or more processors;

[0016] The memory is used to store one or more programs;

[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the data transmission method based on the anti-packet loss strategy as described in the first aspect.

[0018] In a fourth aspect, an embodiment of the present application provides a non-volatile storage medium storing computer executable instructions, which, when executed by a computer processor, are used to execute the data transmission method based on the anti-packet loss strategy as described in the first aspect.

[0019] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor of the device reads and executes the computer program from the computer-readable storage medium, so that the device performs the data transmission method based on the anti-packet loss strategy as described in the first aspect.

[0020] The embodiment of the present application determines the link predicted packet loss rate according to the reception success information in the data transmission link, and determines the first predicted number of retransmission packets and the first predicted introduction delay of the automatic repeat request strategy according to the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay of the forward error correction strategy, and the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay of the hybrid automatic repeat request strategy, determines the first service quality score of the automatic repeat request strategy according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduction delay, and determines the first service quality score of the automatic repeat request strategy according to the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay The second service quality score of the forward error correction strategy is determined by delay, and the third service quality score of the hybrid automatic repeat request strategy is determined by introducing delay according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third prediction. The anti-packet loss strategy corresponding to the minimum service quality score can be determined as the target anti-packet loss strategy, and data transmission can be performed based on the target anti-packet loss strategy. The packet loss rate of the data packets to be sent later can be accurately predicted in advance, the service quality of different anti-packet loss strategies can be accurately predicted based on the predicted packet loss rate, and the target anti-packet loss strategy used for data transmission can be determined according to the service quality, thereby effectively improving the anti-packet loss effect of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a flow chart of a data transmission method based on an anti-packet loss strategy provided in an embodiment of the present application;

[0022] Figure 2 is a flow chart of another data transmission method based on an anti-packet loss strategy provided in an embodiment of the present application;

[0023] Figure 3 It is a structural schematic diagram of a data transmission device based on an anti-packet loss strategy provided in an embodiment of the present application;

[0024] Figure 4 It is a structural diagram of a data transmission device based on an anti-packet loss strategy provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The above process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The above process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0026] The data transmission method based on anti-packet loss strategy provided in the present application can be applied to real-time audio and video communication scenarios (such as video conferencing, real-time voice calls, etc.). It aims to accurately predict the packet loss rate of the data packets to be sent in advance, accurately predict the service quality of different anti-packet loss strategies based on the predicted packet loss rate, and determine the target anti-packet loss strategy used for data transmission according to the service quality, so as to effectively improve the anti-packet loss effect of data transmission.

[0027] In the anti-packet loss scheme of the related technology, the anti-packet loss strategy mainly includes automatic retransmission request, forward error correction, hybrid automatic retransmission request, etc. Among them, the automatic retransmission request strategy that relies on the feedback of the receiver (ACK / NACK) will introduce a large transmission delay when the round-trip delay is large, and the service quality is low in some application scenarios that are sensitive to delay. The active retransmission technology that does not rely on the feedback of the receiver usually sends multiple copies of some important packets or all packets to achieve the purpose of anti-packet loss and delay reduction, but this is easy to cause bandwidth waste (especially in bandwidth-limited scenarios). The forward error correction strategy applies the fault-tolerant coding algorithm to the source data packet to generate redundant data packets. When data packet loss occurs, it can recover the lost source data packet with relatively low delay. The key to the forward error correction strategy is to predict the packet loss rate in advance to determine whether it is necessary to encode redundant packets in advance and the size of the redundancy. The method for predicting the packet loss rate of the forward error correction strategy in the related technology is usually to statistically calculate the average packet loss rate or the maximum packet loss rate in the past window instead of the future packet loss rate. This prediction method requires that when the receiving end detects packet loss, it will feed back to the sending end. There will be information lag in the middle, that is, the sending end cannot know that packet loss has occurred in the network in the first place, and the packet loss rate changes with time. The average packet loss rate or the maximum packet loss rate in the past window is taken to replace the future packet loss rate. If the predicted packet loss rate is too small, the redundancy is insufficient and the recovery effect is poor. If the predicted packet loss rate is too large, the redundancy is too high, which wastes traffic and bandwidth and even aggravates congestion. The accuracy of packet loss rate prediction will directly affect the service quality of the forward error correction strategy, and the anti-packet loss effect of data transmission is poor. Based on this, a data transmission method based on an anti-packet loss strategy in an embodiment of the present application is provided to solve the technical problem that the existing data transmission anti-packet loss effect is poor.

[0028] Figure 1 A flowchart of a data transmission method based on an anti-packet loss strategy provided in an embodiment of the present application is given. The data transmission method based on an anti-packet loss strategy provided in an embodiment of the present application can be executed by a data transmission device based on an anti-packet loss strategy. The data transmission device based on an anti-packet loss strategy can be implemented in hardware and / or software and integrated in a data transmission device based on an anti-packet loss strategy.

[0029] The following description is made by taking the data transmission method based on the anti-packet loss strategy executed by the data transmission device based on the anti-packet loss strategy as an example. Figure 1 , the data transmission method based on the anti-packet loss strategy includes:

[0030] S110: Determine reception success information of a first preset number of sent data packets in a data transmission link, and determine a link predicted packet loss rate of a subsequent second preset number of to-be-sent data packets according to the reception success information.

[0031] Exemplarily, in the process of transmitting data in the data transmission link, the reception status of each sent data packet is recorded, that is, whether the sent data packet is successfully received by the receiving end, and the reception success information corresponding to each sent data packet is generated to record whether the corresponding sent data packet is successfully received by the receiving end. The reception success information of the first preset number of the latest records (the value range of the first preset number can be 2 to 20, for example, the first preset number is set to 5, 10, etc.) of the sent data packets can be determined.

[0032] In one embodiment, when it is necessary to send the current data packet to be sent, the link predicted packet loss rate of the subsequent second preset number (the second preset number may be consistent with the first preset number, and the value range of the second preset number may be 2 to 20, for example, the second preset number is set to 5, 10, etc.) of data packets to be sent is predicted based on the successful reception information of the first preset number of sent data packets determined above (the first preset number of sent data packets before the current data packet to be sent). Among them, the link predicted packet loss rate is the predicted packet loss rate of the second preset number of data packets to be sent in the data transmission link. Optionally, the link predicted packet loss rate can be determined based on the predicted packet loss rate of the second preset number of data packets, for example, the average value, weighted average value, median, etc. of the predicted packet loss rate of the second preset number of data packets is used as the link predicted packet loss rate, and the predicted packet loss rate of the data packet is the predicted packet loss rate of the corresponding data packet to be sent. The current data packet to be sent may be the first data packet to be sent among the second preset number of data packets to be sent.

[0033] Optionally, the prediction of the predicted packet loss rate and / or the predicted link packet loss rate can be performed based on the changing trend of the packet loss rate and / or the link packet loss rate reflected by the successful reception information of the first preset number of sent data packets, for example, based on a fitting curve of the packet loss rate and / or the link packet loss rate reflected by the successful reception information of the first preset number of sent data packets (for example, a fitting curve obtained based on the least squares method), and based on the fitting curve, the predicted packet loss rate and / or the predicted link packet loss rate of the subsequent second preset number of data packets to be sent are determined. It can also be that the predicted packet loss rate and / or the predicted link packet loss rate is predicted by a trained neural network model, for example, the successful reception information of the first preset number of sent data packets is sent to the neural network model, and the predicted packet loss rate and / or the predicted link packet loss rate of the second preset number of data packets to be sent are output through the neural network model.

[0034] S120: Determine, according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay for data transmission based on the automatic repeat request strategy, the first predicted redundancy and the second predicted introduced delay for data transmission based on the forward error correction strategy, and the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduced delay for data transmission based on the hybrid automatic repeat request strategy.

[0035] Exemplarily, after determining the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted delay introduced at the link predicted packet loss rate can be determined based on the link predicted packet loss rate when data transmission is performed for the data packets to be sent based on the automatic repeat request strategy; the first predicted redundancy and the second predicted delay introduced at the link predicted packet loss rate when data transmission is performed for the data packets to be sent based on the forward error correction strategy can be determined based on the link predicted packet loss rate; the second predicted number of retransmission packets, the second predicted redundancy and the third predicted delay introduced at the link predicted packet loss rate when data transmission is performed for the data packets to be sent based on the hybrid automatic repeat request strategy can be determined based on the link predicted packet loss rate.

[0036] Among them, the predicted number of retransmission packets (including the first predicted number of retransmission packets and the second predicted number of retransmission packets) can be understood as the estimated number of retransmission packets that need to be retransmitted when the current data packet to be sent is transmitted based on the automatic repeat request strategy. The predicted redundancy (including the first predicted redundancy and the second predicted redundancy) can be understood as the estimated redundancy of the redundant packets that need to be sent in the transmitted data packet when the current data packet to be sent is transmitted based on the forward error correction strategy (that is, the ratio of the number of redundant packets to the sum of the number of source data packets and the number of redundant packets). The predicted introduction delay (including the first to third predicted introduction delays) can be understood as the additional data transmission delay generated by adopting the corresponding anti-packet loss strategy (automatic repeat request strategy, forward error correction strategy or hybrid automatic repeat request strategy).

[0037] S130: Determine the first service quality score of the automatic repeat request strategy based on the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay, determine the second service quality score of the forward error correction strategy based on the link predicted packet loss rate, the first predicted redundancy and the second predicted introduced delay, and determine the third service quality score of the hybrid automatic repeat request strategy based on the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduced delay.

[0038] Exemplarily, after determining the first predicted number of retransmission packets and the first predicted introduced delay corresponding to the automatic repeat request strategy, the first service quality score of the automatic repeat request strategy can be calculated based on the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay. Among them, the first service quality score is positively correlated with the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay. The smaller the first service quality score, the better the corresponding service quality. For example, corresponding weights can be set for the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay, and the first service quality score is obtained by weighted summing the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay based on the weights.

[0039] In one embodiment, after determining the first predicted redundancy and the second predicted introduction delay corresponding to the forward error correction strategy, the second service quality score of the forward error correction strategy can be calculated based on the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay. Among them, the second service quality score is positively correlated with the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay. The smaller the second service quality score, the better the corresponding service quality. For example, corresponding weights can be set for the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay, and the second service quality score is obtained by weighted summing the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay based on the weights.

[0040] In one embodiment, after determining the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay corresponding to the hybrid automatic repeat request strategy, the third service quality score of the hybrid automatic repeat request strategy can be calculated according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay. Among them, the third service quality score is positively correlated with the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay. The smaller the third service quality score, the better the corresponding service quality. For example, corresponding weights can be set for the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay, respectively, and the third service quality score is obtained by weighted summing the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay based on the weights.

[0041] In one embodiment, when settling the service quality score, the round-trip delay corresponding to the data transmission link (the round-trip delay can be fed back by the receiving end), the round-trip delay jitter (the jitter of the round-trip delay fed back by the receiving end), the predicted bandwidth detected for the data transmission link, the bandwidth utilization rate, etc. can also be determined, and the round-trip delay, round-trip delay jitter, predicted bandwidth, bandwidth utilization rate, etc. are combined into the calculation of the service quality score. For example, the round-trip delay, round-trip delay jitter, the inverse of the predicted bandwidth, the bandwidth utilization rate, etc. are set with corresponding weights, and the weighted summation is performed with the link predicted packet loss rate, the predicted number of retransmission packets, the predicted redundancy, the predicted introduced delay, etc. to obtain the corresponding service quality score.

[0042] S140: Determine the anti-packet loss strategy corresponding to the minimum service quality score among the first service quality score, the second service quality score and the third service quality score as the target anti-packet loss strategy, and perform data transmission based on the target anti-packet loss strategy, the anti-packet loss strategy including the automatic repeat request strategy, the forward error correction strategy and the hybrid automatic repeat request strategy.

[0043] Exemplarily, after determining the first quality of service score of the automatic repeat request strategy, the second quality of service score of the forward error correction strategy, and the third quality of service score of the hybrid automatic repeat request strategy, the minimum quality of service score among the first quality of service score, the second quality of service score, and the third quality of service score is determined, and the anti-packet loss strategy corresponding to the minimum quality of service score is determined as the target anti-packet loss strategy, and data transmission is performed on the current data packet to be sent based on the target anti-packet loss strategy.

[0044] Among them, the anti-packet loss strategy includes automatic repeat request strategy, forward error correction strategy and hybrid automatic repeat request strategy, that is, the strategy with the smallest service quality score among the automatic repeat request strategy, forward error correction strategy and hybrid automatic repeat request strategy is used as the target anti-packet loss strategy to obtain better service quality.

[0045] In the above, the link predicted packet loss rate is determined according to the reception success information in the data transmission link, and the first predicted number of retransmission packets and the first predicted introduction delay of the automatic repeat request strategy, the first predicted redundancy and the second predicted introduction delay of the forward error correction strategy, and the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay of the hybrid automatic repeat request strategy are determined according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduction delay, and the first service quality score of the automatic repeat request strategy is determined according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduction delay, and the first predicted introduction delay is determined according to the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay Determine the second service quality score of the forward error correction strategy, and determine the third service quality score of the hybrid automatic repeat request strategy according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay. The anti-packet loss strategy corresponding to the minimum service quality score can be determined as the target anti-packet loss strategy, and data transmission can be performed based on the target anti-packet loss strategy. The packet loss rate of the data packets to be sent later can be accurately predicted in advance, the service quality of different anti-packet loss strategies can be accurately predicted based on the predicted packet loss rate, and the target anti-packet loss strategy used for data transmission can be determined according to the service quality, thereby effectively improving the anti-packet loss effect of data transmission.

[0046] Based on the above embodiments, Figure 2 A flowchart of another data transmission method based on an anti-packet loss strategy provided in an embodiment of the present application is given. The data transmission method based on an anti-packet loss strategy is a specific embodiment of the data transmission method based on an anti-packet loss strategy. Figure 2 , the data transmission method based on the anti-packet loss strategy includes:

[0047] S210: Determine the reception success information of a first preset number of sent data packets in the data transmission link, and input the reception success information into a trained packet loss prediction model, and output the predicted packet loss rate of a subsequent second preset number of data packets to be sent according to the reception success information through the packet loss prediction model.

[0048] S220: Determine a link predicted packet loss rate of the data transmission link according to the predicted packet loss rate of the data packets.

[0049] In one embodiment, the scheme can predict the packet loss rate of the data packet to be sent through the trained packet loss prediction model. The packet loss prediction model provided by the scheme can be built and trained based on a neural network model. For example, the packet loss prediction model can be built and trained based on a long short-term memory (LSTM) network. As a neural network that specializes in processing and predicting sequence data, the long short-term memory network can effectively capture the time dependency in the data. Since the network packet loss rate is usually a time series data that changes over time, the long short-term memory network can learn the historical trend of the packet loss rate, so as to take these time series characteristics into account when predicting. In addition, the change of the network packet loss rate may be affected by short-term fluctuations (such as instantaneous network congestion) or long-term trends (such as high load in a specific time period). The long short-term memory network can simultaneously model short-term and long-term dependencies through its unique memory unit. At the same time, the change of the packet loss rate may be more complex. The long short-term memory network can handle the changes of these nonlinear characteristics and adapt to the fluctuation of the data, thereby realizing accurate prediction of the network packet loss rate.

[0050] In one embodiment, when training a packet loss prediction model, training data may be collected first, for example, historical packet receiving data (such as offline weak network test data and online statistical data) in data transmission is collected, and the historical packet receiving data is uniformly processed into a packet receiving sequence for source data packets at the receiving end, and the packet receiving sequence is sorted in the order of sending time. For example, 5 historical packet receiving data are grouped as a group, 0 represents that the source data packet corresponding to the sequence is not received, and 1 represents that the source data packet corresponding to the sequence is received. For example, "11100" represents that the 1st to 3rd source data packets are received, and the 4th to 5th source data packets are not received. Each group of data is labeled, and the label is the receiving status of the next group of source data packets. For example, if the receiving status of the next group of source data packets is "01100", the label is "01100", indicating that in the next group of source data packets, the 2nd and 3rd source data packets are received, and other source data packets are not received. The above collected data is used as training data. A packet loss prediction model is constructed based on the LSTM network, and the number of input layers, output layers, and hidden layers of the LSTM network are configured. For example, the number of input layers, hidden layers, and output layers can be configured to be 5. The packet loss prediction model is trained using the above-collected training data. The training data can be divided into a training set, a validation set, and a test set. The goal of the packet loss prediction model is to predict the packet receiving record at the next moment, and then count the number of packet losses in the packet receiving record, and then calculate the packet loss rate of each data packet at the next moment. The training set is used to train the packet loss prediction model, and the validation set is used to evaluate the performance of the model and prevent overfitting during the training process of the packet loss prediction model. The performance of the packet loss prediction model is evaluated on the test set (for example, based on evaluation indicators such as mean square error (MSE) and mean absolute error (MAE), and the model parameters are adjusted according to the evaluation results to optimize the packet loss prediction model. The trained packet loss prediction model is used to predict the future packet loss rate in real time online. The packet receiving records fed back by the receiving end are processed into training data and labeled, and input into the packet loss prediction model for real-time training and model update, so that the packet loss prediction model can adapt to the real-time changes of the online network and improve the accuracy of the prediction. After the packet loss prediction model is trained, the packet loss prediction model can be configured in the data transmission equipment based on the anti-packet loss strategy to predict the network packet loss rate.

[0051] Exemplarily, successful reception information of a first preset number of sent data packets in a data transmission link is obtained, for example, the successful reception information of the first preset number of sent data packets is recorded in the form of a packet reception sequence, and the successful reception information is input into a trained packet loss prediction model, and the packet loss prediction model outputs the predicted packet loss rate of a subsequent second preset number of data packets to be sent according to the successful reception information.

[0052] After determining the predicted packet loss rate of the data packet, the link predicted packet loss rate of the data transmission link can be determined according to the predicted packet loss rate of the second preset number of data packets, for example, the average value of the predicted packet loss rate of the second preset number of data packets is used as the link predicted packet loss rate of the data transmission link.

[0053] For example, after inputting the reception success information of the first preset number of sent data packets into the packet loss prediction model, the packet loss prediction model outputs the predicted packet loss rate of the 10 data packets to be sent, and the corresponding prediction sequence is: 0.1, 0.01, 0.01, 0.02, 0.06, 0.8, 0.2, 0.3, 0.01, 0.49. Then the predicted packet loss rate of the current data packet to be sent is the first data in the prediction sequence, i.e. 0.1, and the link predicted packet loss rate is: (0.1+0.01+0.01+0.02+0.06+0.8+0.2+0.3+0.01+0.49) / 10=0.2. This scheme uses the packet loss prediction model to accurately predict the predicted packet loss rate of the subsequent second preset number of data packets to be sent according to the reception success information, and determines the link predicted packet loss rate of the data transmission link according to the predicted packet loss rate. It can more accurately predict the service quality of different anti-packet loss strategies under the predicted network packet loss rate, and improve the anti-packet loss effect of data transmission.

[0054] S230: Determine the first predicted number of retransmission packets and the first predicted introduced delay for data transmission based on the automatic repeat request strategy, the first predicted redundancy and the second predicted introduced delay for data transmission based on the forward error correction strategy, and the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduced delay for data transmission based on the hybrid automatic repeat request strategy according to the link predicted packet loss rate.

[0055] In a possible embodiment, the automatic repeat request strategy provided by the present solution may be a passive automatic repeat request strategy and / or an active automatic repeat request strategy, wherein the passive automatic repeat request strategy refers to an automatic repeat request strategy in which the sending end retransmits the data packet only when it receives an explicit retransmission request (such as NACK or a missing sequence number prompt) from the receiving end, and the active automatic repeat request strategy refers to an automatic repeat request strategy in which the sending end actively triggers the retransmission of the data packet when it does not receive an acknowledgment (ACK) from the receiving end or receives an explicit negative acknowledgement (NACK).

[0056] Correspondingly, the first predicted number of retransmission packets may include the first predicted number of passive retransmission packets corresponding to the passive automatic repeat request strategy and / or the first predicted number of active retransmission packets corresponding to the active automatic repeat request strategy, and the type of the first predicted number of retransmission packets may be determined according to the preset automatic repeat request strategy type. Correspondingly, the first quality of service score includes the passive retransmission quality of service score determined according to the link predicted packet loss rate, the first predicted number of passive retransmission packets and the first predicted introduction delay, and / or the active retransmission quality of service score determined according to the link predicted packet loss rate, the first predicted number of active retransmission packets and the first predicted introduction delay, and subsequently the anti-packet loss strategy corresponding to the minimum quality of service score among the passive retransmission quality of service score and / or the active retransmission quality of service score, the second quality of service score and the third quality of service score may be determined as the target anti-packet loss strategy.

[0057] Based on this, the data transmission method based on the anti-packet loss strategy provided by the present scheme determines the first predicted number of retransmission packets for data transmission based on the automatic repeat request strategy according to the link predicted packet loss rate, which can be: calculating the first ratio of the natural logarithm of the expected packet loss rate and the link predicted packet loss rate, rounding up the first ratio, and determining the rounded-up result as the first predicted number of passive retransmission packets for data transmission based on the passive automatic repeat request strategy; and / or calculating the second ratio of the natural logarithm of the expected packet loss rate and the link predicted packet loss rate, calculating the first product of the difference between the first preset coefficient and the data packet predicted packet loss rate and the second preset coefficient, calculating the addition result of the second ratio and the first product, and rounding up the addition result, and determining the rounded-up result as the first predicted number of active retransmission packets for data transmission based on the active automatic repeat request strategy.

[0058] Exemplarily, for a passive automatic repeat request strategy, a first ratio of the natural logarithm of the expected packet loss rate and the link predicted packet loss rate is calculated, the first ratio is rounded up, and the rounded-up result can be determined as the first predicted number of passive retransmission packets for data transmission based on the passive automatic repeat request strategy. For example, the first predicted number of passive retransmission packets can be determined based on the following formula:

[0059]

[0060] Where n1 is the number of first predicted passive retransmission packets, l_e is the expected packet loss rate, l_f is the link predicted packet loss rate, ln(·) is the natural logarithm, To round up, that is, if the packet loss rate after recovery is lower than l_e, at least n1 retransmission packets need to be sent.

[0061] Among them, for the passive automatic repeat request strategy, when receiving the NACK of the ringing segment feedback, for the data packets that have not been received, the first predicted number of passive retransmission packets is first calculated according to the natural logarithm of the expected packet loss rate and the first ratio of the link predicted packet loss rate. Determine whether the current data transmission link is in a congested state. When the current network is in a non-congested state, all these retransmission packets can be sent out at one time, and the introduced transmission delay (the first predicted introduction delay) is 0. When the current network is in a congested state, it is necessary to wait for the congestion state to be relieved before sending it out. The introduced transmission delay (the first predicted introduction delay) is the waiting time for the congestion state to be relieved. This scheme determines the first predicted number of passive retransmission packets of the passive automatic repeat request strategy according to the natural logarithm of the expected packet loss rate and the first ratio of the link predicted packet loss rate, accurately predicts the number of retransmission packets that the passive automatic repeat request strategy needs to retransmit, can more accurately predict the service quality of the passive automatic repeat request strategy under the predicted network packet loss rate, and more accurately determine the target anti-packet loss strategy.

[0062] In one embodiment, for the active automatic repeat request strategy, a second ratio of the natural logarithm of the expected packet loss rate and the link predicted packet loss rate is calculated, a first product of the difference between the first preset coefficient and the predicted packet loss rate of the data packet and the second preset coefficient is calculated, the addition result of the second ratio and the first product is calculated, and the addition result is rounded up, and the rounded-up result can be determined as the first predicted number of active retransmission packets for data transmission based on the active automatic repeat request strategy. For example, the first predicted number of active retransmission packets for a data packet to be sent can be determined based on the following formula:

[0063] n2=[p*(ln(l_e) / ln(l_f))+(a1-p)*a2]

[0064] Wherein, n2 is the first predicted number of active retransmission packets, p is the predicted packet loss rate of the current data packet to be sent, a1 is the first preset coefficient, for example, a1=1, a2 is the second preset coefficient, for example, a2=1, l_e is the expected packet loss rate, l_f is the link predicted packet loss rate, ln(·) is the natural logarithm, To round up, that is, if the packet loss rate after recovery is lower than l_e, at least n2 retransmission packets need to be sent.

[0065] Among them, for the active automatic retransmission request strategy, the first predicted active retransmission packet number that needs to be retransmitted for each data packet to be sent is calculated for the predicted packet loss rate of each data packet to be sent. Determine whether the current data transmission link is in a congested state. When the current network is in a non-congested state, all these retransmission packets can be sent out at one time, and the introduced transmission delay (first predicted introduction delay) is 0. When the current network is in a congested state, it is necessary to wait for the congestion state to be relieved before sending them out. The introduced transmission delay (first predicted introduction delay) is the waiting time for the congestion state to be relieved. This scheme accurately predicts the first predicted active retransmission packet number based on the natural logarithm of the expected packet loss rate and the second ratio of the link predicted packet loss rate, and the addition result of the first preset coefficient and the difference between the data packet predicted packet loss rate and the first product of the second preset coefficient. It can more accurately predict the service quality of the active automatic retransmission request strategy under the predicted network packet loss rate, and more accurately determine the target anti-packet loss strategy.

[0066] In a possible embodiment, the data transmission method based on the anti-packet loss strategy provided by the present solution determines the first predicted redundancy and the second predicted introduction delay for data transmission based on the forward error correction strategy according to the link predicted packet loss rate, including:

[0067] S231: Determine an acceptable introduced delay according to the round-trip delay of data in the data transmission link, and determine the number of redundant packet groups of the forward error correction strategy according to the acceptable introduced delay and the redundant packet duration.

[0068] S232: Determine a first predicted redundancy for data transmission based on a forward error correction strategy according to the number of redundant packet groups and the link predicted packet loss rate.

[0069] S233: Determine, according to the number of redundant packet groups and the redundant packet duration, a second predicted introduction delay for data transmission based on a forward error correction strategy.

[0070] Exemplarily, for the forward error correction strategy, the data round trip delay of the data transmission link is determined, and the acceptable introduced delay is determined accordingly. Among them, different acceptable introduced delays can be configured for different data round trip delays, and the acceptable introduced delay can also be calculated according to the data round trip delay, for example, the product of the data round trip delay and a preset ratio (for example, 0.8) is used as the acceptable introduced delay, and when the minimum acceptable introduced delay (for example, the duration of a single data packet) can be set, when the product of the data round trip delay and the preset ratio is less than the minimum acceptable introduced delay, the minimum acceptable introduced delay can be used as the acceptable introduced delay.

[0071] In one embodiment, after determining the acceptable introduced delay, the number of redundant packet groups of the forward error correction strategy can be determined based on the acceptable introduced delay and the redundant packet length. For example, the acceptable introduced delay is divided by the redundant packet length (i.e., the length of a single data packet), and the division result is rounded down to obtain the number of redundant packet groups of the forward error correction strategy.

[0072] In one embodiment, after determining the number of redundant packet groups of the forward error correction strategy, the first predicted redundancy for data transmission based on the forward error correction strategy can be determined according to the number of redundant packet groups and the link predicted packet loss rate. For example, the third preset coefficient (e.g., 0.5) can be added to the product of the number of redundant packet groups and the link predicted packet loss rate, the addition result can be divided by the difference between 1 and the link predicted packet loss rate, the division result can be rounded up to obtain the number of redundant packets to be encoded, and the ratio of the number of redundant packets to be encoded to the number of redundant packet groups can be used as the first predicted redundancy.

[0073] For example, the requirement:

[0074] (N+K)*(1-l_f)≥N+a3

[0075] Among them, N is the number of redundant packet groups, K is the number of redundant packets that need to be encoded, l_f is the link predicted packet loss rate, and a3 is the third preset coefficient.

[0076] Based on this, the number of redundant packets that need to be encoded can be determined based on the following formula:

[0077] K=(a3+N*l_f) / (1-l_f)

[0078] Correspondingly, the first prediction redundancy is K / N.

[0079] In one embodiment, after determining the number of redundant packet groups of the forward error correction strategy, the second predicted introduction delay for data transmission based on the forward error correction strategy is determined according to the number of redundant packet groups and the redundant packet duration, for example, the product of the number of redundant packet groups and the redundant packet duration is used as the second predicted introduction delay. This solution determines the acceptable introduction delay according to the round-trip data delay of the data transmission link, determines the number of redundant packet groups of the forward error correction strategy according to the acceptable introduction delay and the redundant packet duration, accurately predicts the first predicted redundancy according to the number of redundant packet groups and the link predicted packet loss rate, and accurately predicts the second predicted introduction delay according to the number of redundant packet groups and the redundant packet duration, so as to more accurately predict the service quality of the forward error correction strategy under the predicted network packet loss rate and more accurately determine the target anti-packet loss strategy.

[0080] In a possible embodiment, the data transmission method based on the anti-packet loss strategy provided by the present solution determines the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay for data transmission based on the hybrid automatic repeat request strategy according to the link predicted packet loss rate, including:

[0081] S234: Determine a first weight coefficient of the automatic repeat request and a second weight coefficient of the forward error correction in the hybrid automatic repeat request strategy when data transmission is performed based on the hybrid automatic repeat request strategy.

[0082] S235: Determine a second predicted number of retransmission packets of the automatic repeat request and a fourth predicted introduced delay according to the first weight coefficient and the link predicted packet loss rate.

[0083] S236: Determine the second prediction redundancy and the fifth prediction introduction delay of forward error correction according to the second weight coefficient and the link prediction packet loss rate.

[0084] S237: Determine the third prediction introduction delay according to the fourth prediction introduction delay and the fifth prediction introduction delay.

[0085] In one embodiment, the hybrid automatic repeat request strategy can retransmit data packets and transmit redundant packets based on a hybrid method of automatic repeat request and forward error correction, and the corresponding weight coefficients of automatic repeat request and forward error correction under the hybrid automatic repeat request strategy can be pre-set. Exemplarily, it is determined that, assuming that data transmission is performed based on the hybrid automatic repeat request strategy, the first weight coefficient of the automatic repeat request and the second weight coefficient of the forward error correction in the hybrid automatic repeat request strategy. Among them, the sum of the first weight coefficient and the second weight coefficient is 1. Optionally, when the hybrid automatic repeat request strategy is to perform anti-packet loss processing only through automatic repeat request, the first weight coefficient is 1 and the second weight coefficient is 0. When the hybrid automatic repeat request strategy is to perform anti-packet loss processing only through forward error correction, the first weight coefficient is 0 and the second weight coefficient is 1.

[0086] Optionally, the first weight coefficient of the automatic retransmission request and the second weight coefficient of the forward error correction can be determined according to the current round-trip data delay and the link prediction packet loss rate. For example, assuming that the second weight coefficient is a, the second weight coefficient is b, a+b=1, a≤1, b≤1, in a network environment with low round-trip data delay + low link prediction packet loss rate, the first weight coefficient can be set to be higher than the second weight coefficient, in a network environment with high round-trip data delay + low link prediction packet loss rate, the second weight coefficient can be set to be higher than the first weight coefficient, in a network environment with high round-trip data delay + high link prediction packet loss rate, the first weight coefficient can be set to be consistent with or similar to the second weight coefficient, or the second weight coefficient can be set to be slightly higher than the first weight coefficient, such as the second weight coefficient is 0.6, the first weight coefficient is 0.4, in a network environment with low round-trip data delay + high link prediction packet loss rate, the first weight coefficient can be set to be higher than the second weight coefficient, such as the second weight coefficient is 0.3, and the first weight coefficient is 0.7.

[0087] In one embodiment, the second predicted number of retransmission packets and the fourth predicted introduction delay of the automatic repeat request are determined according to the first weight coefficient and the link predicted packet loss rate determined above. For example, based on the ratio of the natural logarithm of the expected packet loss rate and the link predicted packet loss rate, the ratio is rounded up, and the rounded-up result is determined as the first predicted number of passive retransmission packets of the passive automatic repeat request strategy; and / or the natural logarithm of the expected packet loss rate and the link predicted packet loss rate are calculated, the product of the difference between the first preset coefficient and the data packet predicted packet loss rate and the second preset coefficient is calculated, the addition result of the ratio and the product is calculated, and the addition result is rounded up, and the rounded-up result is determined as the first predicted number of active retransmission packets of the active automatic repeat request strategy. The first weight coefficient is multiplied by the first predicted number of passive retransmission packets and / or the first predicted number of active retransmission packets to obtain the second predicted number of retransmission packets. Among them, when the current network is in a non-congested state, the fourth predicted introduction delay is 0, and when the current network is in a congested state, the fourth predicted introduction delay is the waiting time for waiting for the congestion state to be released.

[0088] In one embodiment, the second predicted redundancy of forward error correction and the fifth predicted introduction delay are determined according to the second weight coefficient determined above and the link predicted packet loss rate. For example, the acceptable introduction delay is determined according to the round-trip delay of the data in the data transmission link, and the number of redundant packet groups of the forward error correction strategy is determined according to the acceptable introduction delay and the redundant packet duration, and the first predicted redundancy for data transmission based on the forward error correction strategy is determined according to the number of redundant packet groups and the link predicted packet loss rate, and the product of the second weight coefficient and the first predicted redundancy is used as the second predicted redundancy, and the product of the number of redundant packet groups and the redundant packet duration is used as the fifth predicted introduction delay. In one embodiment, the fourth predicted introduction delay and the fifth predicted introduction delay can be added to obtain the third predicted introduction delay.

[0089] This scheme determines the first weight coefficient of the automatic repeat request and the second weight coefficient of the forward error correction, determines the second predicted number of retransmission packets of the automatic repeat request and the fourth predicted introduced delay according to the first weight coefficient and the link predicted packet loss rate, determines the second predicted redundancy of the forward error correction and the fifth predicted introduced delay according to the second weight coefficient and the link predicted packet loss rate, and determines the third predicted introduced delay according to the fourth predicted introduced delay and the fifth predicted introduced delay. This scheme can more accurately predict the service quality of the hybrid automatic repeat request strategy under the predicted network packet loss rate, and more accurately determine the target anti-packet loss strategy.

[0090] S240: Determine the first service quality score of the automatic repeat request strategy based on the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay, determine the second service quality score of the forward error correction strategy based on the link predicted packet loss rate, the first predicted redundancy and the second predicted introduced delay, and determine the third service quality score of the hybrid automatic repeat request strategy based on the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduced delay.

[0091] In one possible embodiment, the delay cost score can be determined based on the predicted introduced delay, round-trip delay jitter, network available bandwidth of the data transmission link, and data transmission waiting time, the traffic cost score can be determined based on the predicted number of retransmitted packets and the number of original packets, the quality index score can be determined based on the link predicted packet loss rate and the bandwidth utilization of the data transmission link, and the delay cost score, traffic cost score, and quality index score can be weighted and summed according to the preset delay cost weight, preset traffic cost weight, and preset quality index weight to obtain a weighted sum result, and the weighted sum result can be determined as the service quality score of the corresponding anti-packet loss strategy. For example, the service quality score can be calculated based on the following formula:

[0092] QoS=w1*f_delay+w2*f_cost+w3*f_other

[0093] f_delay=delay+k*jitter+j*1 / bw+wait

[0094] f_cost=a*T+b*R

[0095] f_other=c*P_loss-d*U_bw

[0096] Among them, QoS is the service quality score, w1 is the preset delay cost weight, w2 is the preset traffic cost weight, w3 is the preset quality indicator weight, f_delay is the delay cost score, f_cost is the traffic cost score, f_other is the quality indicator score, delay is the predicted delay, jitter is the round-trip delay jitter, bw is the network available bandwidth of the data transmission link, wait is the waiting time for data transmission, T is the number of original packets, R is the predicted number of retransmitted packets, the number of redundant packets sent based on predicted redundancy, or the sum of the predicted number of retransmitted packets and the number of redundant packets sent based on predicted redundancy, P_loss is the link predicted packet loss rate, U_bw is the bandwidth utilization of the data transmission link, k is the round-trip delay jitter weight, j is the network available bandwidth weight, a is the original packet number weight, b is the policy weight, c is the link predicted packet loss rate weight, and d is the bandwidth utilization weight. Among them, the preset delay cost weight, preset traffic cost weight and preset quality indicator weight can be adjusted in real time according to the network status or application requirements, for example, the preset quality indicator weight can be increased in a high packet loss rate environment, and the preset delay cost weight can be increased in a high latency environment. The model can also be trained using historical data to first train appropriate weights based on historical data, and then dynamically optimize the preset delay cost weight, preset traffic cost weight and preset quality indicator weight based on the predicted network conditions online.

[0097] Correspondingly, the data transmission method based on the anti-packet loss strategy provided by the present scheme determines the first service quality score of the automatic retransmission request strategy according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay, which can be: determining the first delay cost score according to the first predicted introduced delay, the round-trip delay jitter, the network available bandwidth of the data transmission link and the data sending waiting time, determining the first traffic cost score according to the first predicted number of retransmission packets and the number of original packets, and determining the first quality indicator score according to the link predicted packet loss rate and the bandwidth utilization of the data transmission link; according to the preset delay cost weight, the preset traffic cost weight and the preset quality indicator weight, performing weighted summation processing on the first delay cost score, the first traffic cost score and the first quality indicator score to obtain a first weighted summation result, and determining the first weighted summation result as the first service quality score of the automatic retransmission request strategy.

[0098] Exemplarily, the first predicted delay, the product of the round-trip delay jitter and the round-trip delay jitter weight, the inverse of the network available bandwidth of the data transmission link and the network available bandwidth weight, and the data transmission waiting time are added to obtain the first delay cost score. The product of the first predicted number of retransmitted packets and the policy weight, and the product of the number of original packets and the weight of the number of original packets are added to obtain the first traffic cost score. The product of the link predicted packet loss rate and the link predicted packet loss rate weight, and the product of the bandwidth utilization of the data transmission link and the bandwidth utilization weight are added to obtain the first quality indicator score.

[0099] In one embodiment, the product of the first delay cost score and the preset delay cost weight, the product of the first traffic cost score and the preset traffic cost weight, and the product of the first quality index score and the preset quality index weight are added to obtain a first weighted summation result, and the first weighted summation result is used as the first service quality score of the automatic repeat request strategy. This solution performs weighted summation of the first delay cost score, the first traffic cost score, and the first quality index score by using the preset delay cost weight, the preset traffic cost weight, and the preset quality index weight to obtain the first service quality score, which can more accurately predict the service quality score of the automatic repeat request strategy under the predicted network packet loss rate, and more accurately determine the target anti-packet loss strategy.

[0100] The data transmission method based on the anti-packet loss strategy provided by the present solution is characterized in that the second service quality score of the forward error correction strategy is determined according to the link predicted packet loss rate, the first predicted redundancy and the second predicted introduced delay, including: determining the second delay cost score according to the second predicted introduced delay, the round-trip delay jitter, the network available bandwidth of the data transmission link and the data sending waiting time, determining the second traffic cost score according to the first predicted redundancy and the number of original packets, and determining the second quality index score according to the link predicted packet loss rate and the bandwidth utilization of the data transmission link; according to the preset delay cost weight, the preset traffic cost weight and the preset quality index weight, the second delay cost score, the second traffic cost score and the second quality index score are weighted and summed to obtain a second weighted summation result, and the second weighted summation result is determined as the second service quality score of the forward error correction strategy.

[0101] Exemplarily, the delay introduced by the second prediction, the product of the round-trip delay jitter and the round-trip delay jitter weight, the inverse of the network available bandwidth of the data transmission link and the network available bandwidth weight, and the data transmission waiting time are added to obtain the second delay cost score. The product of the number of redundant packets sent based on the first predicted redundancy and the policy weight, and the product of the number of original packets and the weight of the number of original packets are added to obtain the second traffic cost score. The product of the link predicted packet loss rate and the link predicted packet loss rate weight, and the product of the bandwidth utilization of the data transmission link and the bandwidth utilization weight are added to obtain the second quality indicator score.

[0102] In one embodiment, the product of the second delay cost score and the preset delay cost weight, the product of the second traffic cost score and the preset traffic cost weight, and the product of the second quality index score and the preset quality index weight are added to obtain a first weighted summation result, and the first weighted summation result is used as the second service quality score of the automatic retransmission request strategy. This solution performs weighted summation of the second delay cost score, the second traffic cost score, and the second quality index score by using the preset delay cost weight, the preset traffic cost weight, and the preset quality index weight to obtain the second service quality score, which can more accurately predict the service quality score of the forward error correction strategy under the predicted network packet loss rate, and more accurately determine the target anti-packet loss strategy.

[0103] The data transmission method based on the anti-packet loss strategy provided by the present solution is characterized in that the third service quality score of the hybrid automatic repeat request strategy is determined according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduced delay, including: determining the third delay cost score according to the third predicted introduced delay, the round-trip delay jitter, the network available bandwidth of the data transmission link and the data sending waiting time, determining the third traffic cost score according to the second predicted number of retransmission packets, the second predicted redundancy and the original number of packets, and determining the third quality index score according to the link predicted packet loss rate and the bandwidth utilization of the data transmission link; according to the preset delay cost weight, the preset traffic cost weight and the preset quality index weight, the third delay cost score, the third traffic cost score and the third quality index score are weighted and summed to obtain a third weighted summation result, and the third weighted summation result is determined as the third service quality score of the hybrid automatic repeat request strategy.

[0104] Exemplarily, the delay introduced by the third prediction, the product of the round-trip delay jitter and the round-trip delay jitter weight, the inverse of the network available bandwidth of the data transmission link and the network available bandwidth weight, and the data transmission waiting time are added to obtain the third delay cost score. The product of the sum of the number of redundant packets sent based on the second predicted redundancy and the second predicted number of retransmitted packets and the policy weight, and the product of the number of original packets and the weight of the number of original packets are added to obtain the third traffic cost score. The product of the link predicted packet loss rate and the link predicted packet loss rate weight, and the product of the bandwidth utilization of the data transmission link and the bandwidth utilization weight are added to obtain the third quality indicator score.

[0105] In one embodiment, the product of the third delay cost score and the preset delay cost weight, the product of the third traffic cost score and the preset traffic cost weight, and the product of the third quality index score and the preset quality index weight are added to obtain a first weighted summation result, and the first weighted summation result is used as the third service quality score of the automatic repeat request strategy. This solution performs weighted summation of the third delay cost score, the third traffic cost score, and the third quality index score by using the preset delay cost weight, the preset traffic cost weight, and the preset quality index weight to obtain the third service quality score, which can more accurately predict the service quality score of the automatic repeat request strategy under the predicted network packet loss rate, and more accurately determine the target anti-packet loss strategy.

[0106] S250: Determine the anti-packet loss strategy corresponding to the minimum service quality score among the first service quality score, the second service quality score and the third service quality score as the target anti-packet loss strategy, and perform data transmission based on the target anti-packet loss strategy, the anti-packet loss strategy including the automatic repeat request strategy, the forward error correction strategy and the hybrid automatic repeat request strategy.

[0107] In the above, the link predicted packet loss rate is determined according to the reception success information in the data transmission link, and the first predicted number of retransmission packets and the first predicted introduction delay of the automatic repeat request strategy, the first predicted redundancy and the second predicted introduction delay of the forward error correction strategy, and the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay of the hybrid automatic repeat request strategy are determined according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduction delay, and the first service quality score of the automatic repeat request strategy is determined according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduction delay, and the first predicted introduction delay is determined according to the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay Determine the second service quality score of the forward error correction strategy, and determine the third service quality score of the hybrid automatic repeat request strategy based on the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay. The anti-packet loss strategy corresponding to the minimum service quality score can be determined as the target anti-packet loss strategy, and data transmission is performed based on the target anti-packet loss strategy. The packet loss rate of the subsequent data packets to be sent is accurately predicted in advance, and the service quality of different anti-packet loss strategies is accurately predicted based on the predicted packet loss rate. The target anti-packet loss strategy used for data transmission is determined based on the service quality, effectively improving the anti-packet loss effect of data transmission. At the same time, the packet loss prediction model accurately predicts the packet loss rate of the subsequent second preset number of data packets to be sent based on the reception success information, and the link predicted packet loss rate of the data transmission link is determined based on the packet prediction packet loss rate. The service quality of different anti-packet loss strategies under the predicted network packet loss rate can be more accurately predicted, improving the anti-packet loss effect of data transmission.

[0108] Figure 3is a structural diagram of a data transmission device based on an anti-packet loss strategy provided by an embodiment of the present application. Figure 3 The data transmission device based on the anti-packet loss strategy includes a packet loss prediction module 31, a prediction analysis module 32, a quality determination module 33 and a data transmission module 34.

[0109] Among them, the packet loss prediction module 31 is configured to determine the reception success information of a first preset number of sent data packets in the data transmission link, and determine the link predicted packet loss rate of the subsequent second preset number of data packets to be sent according to the reception success information; the prediction analysis module 32 is configured to determine the first predicted number of retransmission packets and the first predicted introduction delay for data transmission based on the automatic repeat request strategy, the first predicted redundancy and the second predicted introduction delay for data transmission based on the forward error correction strategy, and the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay for data transmission based on the hybrid automatic repeat request strategy according to the link predicted packet loss rate; the quality determination module 33 is configured to determine the first predicted number of retransmission packets and the first predicted introduction delay for data transmission based on the automatic repeat request strategy according to the link predicted packet loss rate The first predicted introduction delay determines the first service quality score of the automatic repeat request strategy, the second service quality score of the forward error correction strategy is determined according to the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay, and the third service quality score of the hybrid automatic repeat request strategy is determined according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay; the data transmission module 34 is configured to determine the anti-packet loss strategy corresponding to the minimum service quality score among the first service quality score, the second service quality score and the third service quality score as the target anti-packet loss strategy, and perform data transmission based on the target anti-packet loss strategy, the anti-packet loss strategy includes the automatic repeat request strategy, the forward error correction strategy and the hybrid automatic repeat request strategy.

[0110] In the above, the link predicted packet loss rate is determined according to the reception success information in the data transmission link, and the first predicted number of retransmission packets and the first predicted introduction delay of the automatic repeat request strategy, the first predicted redundancy and the second predicted introduction delay of the forward error correction strategy, and the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay of the hybrid automatic repeat request strategy are determined according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduction delay, and the first service quality score of the automatic repeat request strategy is determined according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduction delay, and the first predicted introduction delay is determined according to the link predicted packet loss rate, the first predicted redundancy and the second predicted introduction delay Determine the second service quality score of the forward error correction strategy, and determine the third service quality score of the hybrid automatic repeat request strategy according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduction delay. The anti-packet loss strategy corresponding to the minimum service quality score can be determined as the target anti-packet loss strategy, and data transmission can be performed based on the target anti-packet loss strategy. The packet loss rate of the data packets to be sent later can be accurately predicted in advance, the service quality of different anti-packet loss strategies can be accurately predicted based on the predicted packet loss rate, and the target anti-packet loss strategy used for data transmission can be determined according to the service quality, thereby effectively improving the anti-packet loss effect of data transmission.

[0111] In a possible embodiment, the packet loss prediction module 31 determines the link predicted packet loss rate of the subsequent second preset number of data packets to be sent according to the reception success information, and is configured as follows:

[0112] Inputting the reception success information into the trained packet loss prediction model, and outputting the predicted packet loss rate of a subsequent second preset number of data packets to be sent according to the reception success information through the packet loss prediction model;

[0113] A link predicted packet loss rate of a data transmission link is determined according to the predicted packet loss rate of the data packets.

[0114] In a possible embodiment, the prediction analysis module 32 determines the first predicted number of retransmission packets for data transmission based on the automatic repeat request strategy according to the link predicted packet loss rate, and is configured as follows:

[0115] Calculating a first ratio of the natural logarithm of the expected packet loss rate to the link predicted packet loss rate, rounding up the first ratio, and determining the rounded-up result as a first predicted number of passive retransmission packets for data transmission based on a passive automatic repeat request strategy; and / or

[0116] Calculate the second ratio of the natural logarithm of the expected packet loss rate and the link predicted packet loss rate, calculate the first product of the difference between the first preset coefficient and the data packet predicted packet loss rate and the second preset coefficient, calculate the addition result of the second ratio and the first product, round up the addition result, and determine the rounded result as the first predicted number of active retransmission packets for data transmission based on the active automatic retransmission request strategy.

[0117] In a possible embodiment, the prediction analysis module 32 determines the first predicted redundancy and the second predicted introduced delay for data transmission based on the forward error correction strategy according to the link predicted packet loss rate, and is configured as follows:

[0118] Determine the acceptable introduced delay according to the round-trip delay of data in the data transmission link, and determine the number of redundant packet groups of the forward error correction strategy according to the acceptable introduced delay and the redundant packet duration;

[0119] Determine a first predicted redundancy for data transmission based on a forward error correction strategy according to the number of redundant packet groups and the link predicted packet loss rate;

[0120] A second predicted introduction delay for data transmission based on a forward error correction strategy is determined according to the number of redundant packet groups and the redundant packet duration.

[0121] In a possible embodiment, the prediction analysis module 32 determines the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduced delay for data transmission based on the hybrid automatic repeat request strategy according to the link predicted packet loss rate, and is configured as follows:

[0122] Determine, when data transmission is performed based on a hybrid automatic repeat request strategy, a first weight coefficient of an automatic repeat request in the hybrid automatic repeat request strategy and a second weight coefficient of a forward error correction;

[0123] Determine a second predicted number of retransmission packets of the automatic retransmission request and a fourth predicted introduction delay according to the first weight coefficient and the link predicted packet loss rate;

[0124] Determine a second prediction redundancy of forward error correction and a fifth prediction introduction delay according to a second weight coefficient and a link prediction packet loss rate;

[0125] The third prediction introduction delay is determined according to the fourth prediction introduction delay and the fifth prediction introduction delay.

[0126] In a possible embodiment, the quality determination module 33 determines the first service quality score of the automatic repeat request strategy according to the link predicted packet loss rate, the first predicted number of retransmission packets and the first predicted introduced delay, and is configured as follows:

[0127] Determine a first delay cost score according to the first predicted introduced delay, round-trip delay jitter, network available bandwidth of the data transmission link, and data transmission waiting time; determine a first traffic cost score according to the first predicted number of retransmitted packets and the number of original packets; and determine a first quality indicator score according to the link predicted packet loss rate and bandwidth utilization of the data transmission link;

[0128] According to the preset delay cost weight, the preset traffic cost weight and the preset quality indicator weight, the first delay cost score, the first traffic cost score and the first quality indicator score are weighted and summed to obtain a first weighted summation result, and the first weighted summation result is determined as the first service quality score of the automatic retransmission request strategy.

[0129] In a possible embodiment, the quality determination module 33 determines the second service quality score of the forward error correction strategy according to the link predicted packet loss rate, the first predicted redundancy and the second predicted introduced delay, and is configured as follows:

[0130] Determine a second delay cost score based on the delay introduced by the second prediction, the round-trip delay jitter, the network available bandwidth of the data transmission link, and the data transmission waiting time; determine a second traffic cost score based on the first predicted redundancy and the number of original packets; and determine a second quality indicator score based on the link predicted packet loss rate and the bandwidth utilization of the data transmission link;

[0131] According to the preset delay cost weight, the preset traffic cost weight and the preset quality indicator weight, the second delay cost score, the second traffic cost score and the second quality indicator score are weighted and summed to obtain a second weighted summation result, and the second weighted summation result is determined as the second service quality score of the forward error correction strategy.

[0132] In a possible embodiment, the quality determination module 33 determines the third service quality score configuration of the hybrid automatic repeat request strategy according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduced delay as follows:

[0133] Determine a third delay cost score according to the delay introduced by the third prediction, the round-trip delay jitter, the network available bandwidth of the data transmission link, and the data transmission waiting time; determine a third traffic cost score according to the second predicted number of retransmitted packets, the second predicted redundancy, and the number of original packets; and determine a third quality indicator score according to the link predicted packet loss rate and the bandwidth utilization of the data transmission link;

[0134] According to the preset delay cost weight, the preset traffic cost weight and the preset quality index weight, the third delay cost score, the third traffic cost score and the third quality index score are weighted and summed to obtain a third weighted summation result, and the third weighted summation result is determined as the third service quality score of the hybrid automatic repeat request strategy.

[0135] It is worth noting that in the above-mentioned embodiment of the data transmission device based on the anti-packet loss strategy, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific name of each functional unit is only for the convenience of distinguishing each other, and is not used to limit the protection scope of the embodiment of the present application.

[0136] The embodiment of the present application further provides a data transmission device based on an anti-packet loss strategy, and the data transmission device based on an anti-packet loss strategy can integrate the data transmission apparatus based on an anti-packet loss strategy provided in the embodiment of the present application. Figure 4 Schematic diagram of a data transmission device based on an anti-packet loss strategy provided by an embodiment of the present application. Figure 4 The data transmission device based on the anti-packet loss strategy includes: an input device 43, an output device 44, a memory 42 and one or more processors 41; the memory 42 is used to store one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 implement the data transmission method based on the anti-packet loss strategy as provided in the above embodiment. The data transmission device, equipment and computer based on the anti-packet loss strategy provided above can be used to execute the data transmission method based on the anti-packet loss strategy provided in any of the above embodiments, and have corresponding functions and beneficial effects.

[0137] The embodiments of the present application also provide a non-volatile storage medium storing computer executable instructions, which are used to execute the data transmission method based on the anti-packet loss strategy as provided in the above embodiments when executed by a computer processor. Of course, the non-volatile storage medium storing computer executable instructions provided in the embodiments of the present application, whose computer executable instructions are not limited to the data transmission method based on the anti-packet loss strategy provided above, can also execute the related operations in the data transmission method based on the anti-packet loss strategy provided in any embodiment of the present application. The data transmission apparatus, device and storage medium based on the anti-packet loss strategy provided in the above embodiments can execute the data transmission method based on the anti-packet loss strategy provided in any embodiment of the present application. For the technical details not described in detail in the above embodiments, please refer to the data transmission method based on the anti-packet loss strategy provided in any embodiment of the present application.

[0138] On the basis of the above embodiments, the embodiments of the present application also provide a computer program product. The technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer program product is stored in a storage medium, including a number of instructions for enabling a computer device, a mobile terminal or a processor therein to execute all or part of the steps of the data transmission method based on the anti-packet loss strategy provided in each embodiment of the present application.

Claims

1. A data transmission method based on an anti-packet loss strategy, characterized in that: include: Determine reception success information of a first preset number of sent data packets in a data transmission link, and determine a link predicted packet loss rate of a subsequent second preset number of to-be-sent data packets according to the reception success information; Determine, according to the link predicted packet loss rate, a first predicted number of retransmission packets and a first predicted introduction delay for data transmission based on an automatic repeat request strategy, a first predicted redundancy and a second predicted introduction delay for data transmission based on a forward error correction strategy, and a second predicted number of retransmission packets, a second predicted redundancy, and a third predicted introduction delay for data transmission based on a hybrid automatic repeat request strategy; Determine a first quality of service score of the automatic repeat request strategy according to the link predicted packet loss rate, the first predicted number of retransmission packets, and the first predicted introduction delay, determine a second quality of service score of the forward error correction strategy according to the link predicted packet loss rate, the first predicted redundancy, and the second predicted introduction delay, and determine a third quality of service score of the hybrid automatic repeat request strategy according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay; The anti-packet loss strategy corresponding to the minimum quality of service score among the first quality of service score, the second quality of service score and the third quality of service score is determined as the target anti-packet loss strategy, and data transmission is performed based on the target anti-packet loss strategy, the anti-packet loss strategy including the automatic repeat request strategy, the forward error correction strategy and the hybrid automatic repeat request strategy.

2. The data transmission method based on the anti-packet loss strategy according to claim 1 is characterized in that: The step of determining the link predicted packet loss rate of a subsequent second preset number of data packets to be sent according to the successful reception information includes: Inputting the successful reception information into a trained packet loss prediction model, and outputting a predicted packet loss rate of a second preset number of data packets to be sent according to the successful reception information through the packet loss prediction model; The link predicted packet loss rate of the data transmission link is determined according to the predicted packet loss rate of the data packet.

3. The data transmission method based on the anti-packet loss strategy according to claim 1 is characterized in that: The determining, according to the link predicted packet loss rate, a first predicted number of retransmission packets for data transmission based on an automatic repeat request strategy comprises: Calculating a first ratio of the natural logarithm of the expected packet loss rate to the link predicted packet loss rate, rounding up the first ratio, and determining the rounding result as a first predicted number of passive retransmission packets for data transmission based on a passive automatic repeat request strategy; and / or Calculate the second ratio of the natural logarithm of the expected packet loss rate and the link predicted packet loss rate, calculate the first product of the difference between the first preset coefficient and the data packet predicted packet loss rate and the second preset coefficient, calculate the addition result of the second ratio and the first product, round up the addition result, and determine the rounded result as the first predicted number of active retransmission packets for data transmission based on the active automatic repeat request strategy.

4. The data transmission method based on the anti-packet loss strategy according to claim 1 is characterized in that: Determining a first predicted redundancy and a second predicted introduction delay for data transmission based on a forward error correction strategy according to the link predicted packet loss rate includes: Determine an acceptable introduced delay according to the round-trip delay of data on the data transmission link, and determine the number of redundant packet groups of the forward error correction strategy according to the acceptable introduced delay and the redundant packet duration; Determine a first predicted redundancy for data transmission based on a forward error correction strategy according to the number of redundant packet groups and the link predicted packet loss rate; A second predicted introduction delay for data transmission based on a forward error correction strategy is determined according to the redundant packet grouping number and the redundant packet duration.

5. The data transmission method based on the anti-packet loss strategy according to claim 1 is characterized in that: Determining, according to the link predicted packet loss rate, a second predicted number of retransmission packets, a second predicted redundancy, and a third predicted introduction delay for data transmission based on a hybrid automatic repeat request strategy, including: Determine, when data transmission is performed based on a hybrid automatic repeat request strategy, a first weight coefficient of an automatic repeat request and a second weight coefficient of a forward error correction in the hybrid automatic repeat request strategy; Determine a second predicted number of retransmission packets of an automatic repeat request and a fourth predicted introduction delay according to the first weight coefficient and the link predicted packet loss rate; Determine a second prediction redundancy of forward error correction and a fifth prediction introduction delay according to the second weight coefficient and the link prediction packet loss rate; A third predicted introduction delay is determined according to the fourth predicted introduction delay and the fifth predicted introduction delay.

6. The data transmission method based on the anti-packet loss strategy according to claim 1 is characterized in that: The determining, according to the link predicted packet loss rate, the first predicted number of retransmission packets, and the first predicted introduced delay, a first quality of service score of the automatic repeat request strategy comprises: Determine a first delay cost score according to the delay introduced by the first prediction, the round-trip delay jitter, the network available bandwidth of the data transmission link, and the data transmission waiting time; determine a first traffic cost score according to the first predicted number of retransmitted packets and the number of original packets; and determine a first quality indicator score according to the link predicted packet loss rate and the bandwidth utilization of the data transmission link; According to the preset delay cost weight, the preset traffic cost weight and the preset quality indicator weight, the first delay cost score, the first traffic cost score and the first quality indicator score are weighted and summed to obtain a first weighted summation result, and the first weighted summation result is determined as the first service quality score of the automatic retransmission request strategy.

7. The data transmission method based on anti-packet loss strategy according to claim 1, characterized in that: The determining a second quality of service score of the forward error correction strategy according to the link predicted packet loss rate, the first predicted redundancy, and the second predicted introduced delay includes: Determine a second delay cost score according to the delay introduced by the second prediction, the round-trip delay jitter, the network available bandwidth of the data transmission link, and the data transmission waiting time; determine a second traffic cost score according to the first predicted redundancy and the number of original packets; and determine a second quality indicator score according to the link predicted packet loss rate and the bandwidth utilization of the data transmission link; According to the preset delay cost weight, the preset traffic cost weight and the preset quality indicator weight, the second delay cost score, the second traffic cost score and the second quality indicator score are weighted and summed to obtain a second weighted summation result, and the second weighted summation result is determined as the second service quality score of the forward error correction strategy.

8. The data transmission method based on the anti-packet loss strategy according to claim 1 is characterized in that: The determining of the third quality of service score of the hybrid automatic repeat request strategy according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy and the third predicted introduced delay comprises: Determine a third delay cost score according to the delay introduced by the third prediction, the round-trip delay jitter, the network available bandwidth of the data transmission link, and the data transmission waiting time; determine a third traffic cost score according to the second predicted number of retransmitted packets, the second predicted redundancy, and the number of original packets; and determine a third quality indicator score according to the link predicted packet loss rate and the bandwidth utilization of the data transmission link; According to the preset delay cost weight, the preset traffic cost weight and the preset quality index weight, the third delay cost score, the third traffic cost score and the third quality index score are weighted and summed to obtain a third weighted summation result, and the third weighted summation result is determined as the third service quality score of the hybrid automatic repeat request strategy.

9. A data transmission device based on an anti-packet loss strategy, characterized in that: It includes a packet loss prediction module, a prediction analysis module, a quality determination module and a data transmission module, among which: The packet loss prediction module is configured to determine the reception success information of a first preset number of sent data packets in the data transmission link, and determine the link prediction packet loss rate of a subsequent second preset number of to-be-sent data packets according to the reception success information; The prediction analysis module is configured to determine, according to the link predicted packet loss rate, a first predicted number of retransmission packets and a first predicted introduction delay for data transmission based on an automatic repeat request strategy, a first predicted redundancy and a second predicted introduction delay for data transmission based on a forward error correction strategy, and a second predicted number of retransmission packets, a second predicted redundancy and a third predicted introduction delay for data transmission based on a hybrid automatic repeat request strategy; The quality determination module is configured to determine a first quality of service score of the automatic repeat request strategy according to the link predicted packet loss rate, the first predicted number of retransmission packets, and the first predicted introduction delay, determine a second quality of service score of the forward error correction strategy according to the link predicted packet loss rate, the first predicted redundancy, and the second predicted introduction delay, and determine a third quality of service score of the hybrid automatic repeat request strategy according to the link predicted packet loss rate, the second predicted number of retransmission packets, the second predicted redundancy, and the third predicted introduction delay; The data transmission module is configured to determine the anti-packet loss strategy corresponding to the minimum quality of service score among the first quality of service score, the second quality of service score and the third quality of service score as a target anti-packet loss strategy, and perform data transmission based on the target anti-packet loss strategy, wherein the anti-packet loss strategy includes the automatic repeat request strategy, the forward error correction strategy and the hybrid automatic repeat request strategy.

10. A data transmission device based on an anti-packet loss strategy, characterized in that: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data transmission method based on the anti-packet loss strategy as described in any one of claims 1 to 8.

11. A non-volatile storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to execute the data transmission method based on the anti-packet loss strategy as described in any one of claims 1 to 8 when executed by a computer processor.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data transmission method based on the anti-packet loss strategy described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Control method of wireless streaming media self-adapting mixing FEC / ARQ based on Kalman filtering

    CN101588597A

  • Data transmission method, device and system, equipment and storage medium

    CN110336645A

  • Fast error correction algorithm for network transmission protocol

    CN113015020A

  • Streaming media transmission fault-tolerant control method and system

    CN115314479A

  • Packet loss prevention decision-making method and device, equipment, storage medium and product

    CN117596450A

Cited By

  • Method and system for enhancing data interaction of on-board radio station of heavy-load group train

    CN120499719A