Streaming media data transmission redundancy optimization method based on real-time packet loss rate dynamic adjustment
By monitoring packet loss rate in real time and adjusting redundancy dynamically, the problem of insufficient adaptability of redundancy strategies in streaming media transmission is solved, more efficient packet restoration and stable transmission are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202510831647.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-08-12
AI Technical Summary
In existing streaming media transmission technology, fixed redundancy policies cannot adapt to changes in network conditions, resulting in wasted bandwidth resources or insufficient data recovery, and the inability to respond to packet loss rate fluctuations in real time, affecting user experience.
By monitoring packet loss rate in real time and dynamically adjusting the redundancy of data packets, including initial monitoring, real-time monitoring of packet loss rate, calculating redundancy, adjusting redundancy and sending packets, ensuring the optimal configuration of redundancy under different network conditions.
It improves the success rate of packet restoration, optimizes bandwidth utilization, enhances network adaptability and user experience, reduces playback lag, and improves transmission stability.
Smart Images

Figure CN120474958A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to, in particular to, a method for optimizing streaming media data transmission redundancy based on dynamic adjustment of real-time packet loss rate. Background Art
[0002] In current streaming media transmission technologies, packet loss is a significant issue that impacts user experience. Due to the complexity and instability of network environments, packets may experience varying degrees of packet loss during transmission. Traditional streaming media data transmission methods often employ a fixed redundancy strategy, appending redundant packets at a preset ratio when sending data packets, in the hope that the receiving end can recover lost packets through the redundant packets.
[0003] However, this fixed redundancy approach often proves insufficient when faced with changes in packet transmission frequency and fluctuations in packet loss rates. When network conditions are good and packet loss rates are low, excessive redundant data packets waste bandwidth resources. Conversely, when network conditions are poor and packet loss rates are high, fixed redundancy may not be sufficient for data recovery, resulting in lag or interruptions in streaming media playback.
[0004] To address this issue, existing technical solutions have proposed methods for dynamically adjusting redundancy. However, these methods often rely on predictions of network conditions or statistical analysis of historical data, and are unable to respond to changes in network conditions in real time. Furthermore, these methods still have certain limitations when dealing with uncertain packet transmission frequencies and large fluctuations in packet loss rates.
[0005] Therefore, there is an urgent need for a method that can dynamically adjust the redundancy of streaming media data transmission based on the real-time packet loss rate to adapt to the ever-changing network environment, ensure the success rate of streaming media data packet restoration, and thus improve the user's viewing experience. This invention addresses this technical problem and proposes an innovative solution. Summary of the Invention
[0006] The purpose of the present invention is to provide a method for optimizing the redundancy of streaming media data transmission based on dynamic adjustment of real-time packet loss rate, so as to solve the above technical problems.
[0007] To achieve the above-mentioned purpose, the present invention adopts the following technical solutions: The method for optimizing the redundancy of streaming media data transmission based on dynamic adjustment of real-time packet loss rate includes the following steps: Initialization monitoring: Start the real-time packet loss rate monitoring unit and prepare for data transmission; Real-time monitoring of packet loss rate: During data transmission, the packet loss rate is continuously monitored and recorded; Calculate redundancy: Input the real-time packet loss rate data into the redundancy calculation unit to calculate the current redundancy; Adjust redundancy: adjust the redundancy setting of the data packet sending unit according to the calculation results; Send data packets: Send data packets and redundant data packets according to the new redundancy settings; Monitoring and feedback: The control and coordination unit monitors the transmission process and adjusts operations based on real-time feedback; End transfer: After data transfer is completed, stop all unit operations.
[0008] Compared with existing technologies, this invention has the following advantages: It improves the success rate of data packet restoration: By monitoring packet loss rates in real time and dynamically calculating redundancy, the invention can maintain the optimal redundancy configuration under different network conditions, thereby improving the success rate of data packet restoration. This means that even under poor network conditions, users can enjoy a smoother streaming experience.
[0009] Optimize bandwidth utilization: Traditional fixed redundancy strategies lead to waste of bandwidth resources when the packet loss rate is low. However, the method of the present invention can dynamically adjust the redundancy according to the real-time packet loss rate, avoiding unnecessary bandwidth waste and improving the overall efficiency of the network.
[0010] Enhanced adaptability to changes in network conditions: Unlike existing technologies that rely on predictions or historical data analysis, the present invention can respond instantly to changes in network conditions and adjust redundancy in real time, thereby better adapting to the ever-changing network environment.
[0011] Improved user experience: By reducing playback freezes or interruptions caused by packet loss, this invention improves the user's viewing experience. Users can enjoy more stable and higher-quality playback when watching streaming media content.
[0012] Improved transmission stability: In the case of large fluctuations in packet loss rate, the present invention improves the success rate of data packet restoration through real-time monitoring and dynamic adjustment of redundancy, thereby enhancing the stability of data transmission.
[0013] Simplified system configuration and management: Since it does not rely on a preset packet sending frequency, the method of the present invention simplifies the configuration and management of the data packet sending unit, making it more flexible to adapt to different network environments and transmission requirements.
[0014] These technical effects together reflect the innovation and practicality of the present invention, solve the problem of insufficient adaptability of redundancy strategies in existing streaming media data transmission, bring better viewing experience to users, and provide a new direction for the further development of streaming media transmission technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flowchart of the present invention. DETAILED DESCRIPTION
[0016] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0017] The method for optimizing the redundancy of streaming media data transmission based on dynamic adjustment of real-time packet loss rate includes the following steps: Step 1: Initialize monitoring; Purpose: To prepare a real-time packet loss rate monitoring unit to ensure that the system can accurately record the packet loss rate at the beginning of data transmission.
[0018] Operation: Power on the monitoring unit and turn on the necessary software. Configure the monitoring unit's network interface and parameters to enable it to access the streaming network. Verify that the monitoring unit is properly connected to the data transmission system and prepare to receive statistical information about packet transmissions.
[0019] Step 2: Monitor the packet loss rate in real time; Purpose: During data transmission, continuously monitor network status and record real-time packet loss rate.
[0020] Operation: The monitoring unit starts recording all packets passing through its network interface. It calculates and records the difference between the packets sent and the acknowledgment packets received, and calculates the real-time packet loss rate.
[0021] Update packet loss rate data regularly (for example, every second or every minute) to ensure real-time data.
[0022] Step 3: Calculate redundancy; Purpose: Calculate the currently required basic redundancy based on real-time packet loss rate data.
[0023] Operation: Transmit the real-time packet loss rate data recorded by the monitoring unit to the redundancy calculation unit.
[0024] Apply a predetermined algorithm or model, combined with real-time packet loss rate data, to calculate the optimal basic redundancy. Ensure that the calculation results take into account dynamic changes in network conditions to adapt to redundancy requirements in different situations.
[0025] Step 4: Adjust redundancy; Purpose: To adjust the configuration of the packet sending unit based on the calculated redundancy.
[0026] Operation: Send the basic redundancy parameter output by the calculation unit to the data packet sending unit.
[0027] The packet sending unit adjusts its sending strategy based on the new redundancy parameters, such as increasing or decreasing the number of redundant packets. It confirms that the redundancy adjustment has taken effect and prepares to send packets according to the new configuration.
[0028] Step 5: Send data packet; Purpose: Send data packets and redundant data packets according to the adjusted redundancy settings.
[0029] Action: The packet sending unit starts sending packets according to the new redundancy configuration.
[0030] For each original data packet, a corresponding number of redundant data packets are appended based on the calculated redundancy, ensuring that the data packet and the redundant data packets are correctly transmitted in the network for use by the receiving end.
[0031] Step 6: Monitoring and feedback; Purpose: Ensure the stability and efficiency of the entire transmission process and adjust operations based on real-time feedback.
[0032] Operation: The control and coordination unit continuously monitors the operational status of the packet sending unit and the monitoring unit. It also collects feedback information during the transmission process, such as the actual packet loss rate and transmission delay.
[0033] According to the feedback information, the algorithm parameters of the redundancy calculation unit or the operation strategy of the data packet sending unit are adjusted when necessary.
[0034] Step 7: End the transfer; Purpose: To safely stop all unit operations after data transfer is complete.
[0035] Operation: After receiving the transmission completion signal, the control and coordination unit gradually shuts down the data packet sending unit and stops the data recording and statistics functions of the monitoring unit.
[0036] Application scenario: live streaming platform; In this scenario, the live streaming platform needs to transmit large amounts of data in real time while ensuring a smooth viewing experience for users. Instability in the network environment can cause packet loss, affecting the quality of the live broadcast. Engineering application examples: Live broadcast starts: After starting the live broadcast, the real-time monitoring unit starts working and records the network status.
[0037] Data transmission: During live broadcast, the data packet sending unit dynamically adjusts the redundancy according to the real-time packet loss rate and sends data packets and redundant data packets.
[0038] Real-time feedback: The monitoring unit collects real-time feedback information during the transmission process, such as packet loss rate and transmission delay, and adjusts the algorithm parameters of the redundancy calculation unit or the operation strategy of the data packet sending unit based on this information.
[0039] End of live broadcast: After the live broadcast ends, gradually shut down the operations of all units to complete the transmission process of a live broadcast.
[0040] Historical data prediction: If you can't monitor packet loss rates in real time, you can use historical data to predict current network conditions and adjust redundancy accordingly. However, this method doesn't respond to network changes in real time and may not provide optimal transmission performance.
[0041] Preset threshold adjustment: You can set some preset packet loss rate thresholds. When the packet loss rate exceeds these thresholds, the redundancy level will be automatically adjusted. Although this method is more flexible than the fixed redundancy strategy, it still cannot achieve real-time dynamic adjustment.
[0042] Logical relationship: Step 1 is a preparatory step that lays the foundation for subsequent monitoring and calculations.
[0043] Step 2 is ongoing and provides real-time data for step 3.
[0044] Step 3 is calculated based on the data from step 2 and directly affects the adjustment in step 4.
[0045] Step 4 is performed based on the calculation results of step 3 and is the prerequisite for step 5.
[0046] Step 5 performs the actual data sending and is the core of the entire process.
[0047] Step 6 ensures the stability and efficiency of the process and is a continuous monitoring process.
[0048] Step 7 marks the end of a transmission process.
[0049] Traditional fixed redundancy strategies cannot adapt to changing network conditions, resulting in wasted bandwidth resources when packet loss rates are low and insufficient data recovery when packet loss rates are high. This invention addresses the lack of adaptability of redundancy strategies by receiving packet loss rate information in real time and dynamically calculating basic redundancy, ensuring optimal redundancy configuration under varying network conditions.
[0050] Existing methods for dynamically adjusting redundancy rely on predictions or historical data analysis and lack real-time performance. This invention directly utilizes real-time packet loss rate data to achieve immediate response to network status changes, solving the problem of existing technologies that cannot adjust redundancy in real time.
[0051] When the packet transmission frequency changes, the traditional redundancy strategy cannot work effectively. The method of the present invention does not rely on the preset packet transmission frequency and can dynamically adjust the redundancy according to real-time data, thus solving the impact of the uncertainty of the packet transmission frequency on data transmission efficiency.
[0052] When the packet loss rate fluctuates significantly, existing technologies have difficulty maintaining transmission stability. The present invention improves the success rate of data packet restoration under fluctuating packet loss rates by real-time monitoring and dynamic adjustment of redundancy, thus solving the transmission stability problem.
[0053] The above is a preferred embodiment of the present invention. For ordinary technicians in this field, based on the teachings of the present invention, without departing from the principles and spirit of the present invention, changes, modifications, substitutions and variations made to the implementation methods are still within the scope of protection of the present invention.
Claims
1. A method for optimizing the redundancy of streaming media data transmission based on dynamic adjustment of real-time packet loss rate, characterized in that: The steps include: Initialization monitoring: Start the real-time packet loss rate monitoring unit and prepare for data transmission; Real-time monitoring of packet loss rate: During data transmission, the packet loss rate is continuously monitored and recorded; Calculate redundancy: Input the real-time packet loss rate data into the redundancy calculation unit to calculate the current redundancy; Adjust redundancy: adjust the redundancy setting of the data packet sending unit according to the calculation results; Send data packets: Send data packets and redundant data packets according to the new redundancy settings; Monitoring and feedback: The control and coordination unit monitors the transmission process and adjusts operations based on real-time feedback; End transfer: After data transfer is completed, stop all unit operations.