Method and system for enhancing unicast reliability based on adding jitter time
The method and system adjust RTP unicast sending time intervals using RTCP jitter time to enhance reliability by reducing packet loss and ensuring timely data arrival, adapting to network conditions and transmission requirements.
Patent Information
- Application Number
- CN202311426622.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2043-10-31
AI Technical Summary
In RTP unicast transmission, multiple packet loss information may be generated due to the sending interval, leading to potential packet failures and reduced reliability.
A method and system for enhancing RTP unicast reliability by adjusting the sending time interval based on RTCP jitter time, including setting first and second time interval adjustment coefficients to delay early feedback packets according to multicast and unicast jitter times.
Enhances RTP unicast reliability by reducing packet loss and ensuring timely arrival of data packets, adapting to network conditions and transmission requirements, and improving transmission quality.
Smart Images

Figure CN117544827B_ABST
Abstract
Description
Technical Field
[0001] The invention proposes a method and a system for enhancing unicast reliability based on adding jitter time, and belongs to the technical field of data propagation processing. Background Art
[0002] In the case of RTP unicast transmission, when the last RTCP packet sent is a regular packet, the RTP receiver detects a single packet loss event and directly sends an early RTCP packet containing an RTPFB packet without jitter to request retransmission. Then, multiple packet loss information can only be accumulated until the RTCP regular packet is sent and then fed back. First, there must be one or more RTCP regular feedbacks between two RTCP early feedbacks. Early feedback can report a packet loss information immediately without jitter when a packet is lost, while the regular feedback packet after the early feedback packet needs to wait for a sending interval before sending. Therefore, multiple packet loss information may be generated during this period, and even some packets may fail due to the sending interval. Summary of the invention
[0003] The present invention provides a method and system for enhancing unicast reliability based on adding jitter time, so as to solve the problem that multiple packet loss information may be generated in the prior art, and even some packets may fail due to the sending interval time. The technical solution adopted is as follows:
[0004] A method for enhancing RTP unicast reliability based on adding RTCP jitter time, the method for enhancing RTP unicast reliability based on adding RTCP jitter time comprising:
[0005] Extract the current RTP unicast sending time interval as the benchmark sending time interval;
[0006] A first time interval adjustment coefficient is set according to the reference sending time interval, and a first sending time interval is set by using the first time interval adjustment coefficient in combination with the reference sending time interval; wherein the first sending time interval is used for a data sending time interval corresponding to a jitter time of a multicast mode;
[0007] A second time interval adjustment coefficient is set according to the reference sending time interval, and a second sending time interval is set by using the second time interval adjustment coefficient in combination with the reference sending time interval; wherein the second sending time interval is used for a data sending time interval corresponding to a jitter time of a unicast mode;
[0008] The sending time of the early feedback packet is delayed to a corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode.
[0009] Furthermore, the current RTP unicast sending time interval is extracted, including:
[0010] Extracting a data type of the current RTP unicast as first data information, wherein the data type includes audio data and video data;
[0011] Determine available bandwidth parameters of the current RTP unicast as second data information, wherein the available bandwidth parameters include upload speed, download speed and data transmission rate;
[0012] Extracting application requirements and performance targets, and obtaining a maximum allowable delay based on the application requirements and performance targets as third data information;
[0013] The first data information, the second data information and the third data information are used to determine the sending time interval of the current RTP unicast.
[0014] Further, setting a first time interval adjustment coefficient according to the reference sending time interval, and setting the first sending time interval by using the first time interval adjustment coefficient in combination with the reference sending time interval includes:
[0015] Extracting the reference sending time interval;
[0016] Setting a first time interval adjustment coefficient according to the reference sending time interval, wherein the first time interval adjustment coefficient is S1=0.5, or obtaining the first time interval adjustment coefficient S1 through a first coefficient determination model;
[0017] Using the first time interval adjustment coefficient in combination with a reference sending time interval to set a first sending time interval T1, wherein T1=S1×T0, and T0 represents the reference sending time interval;
[0018] The first time interval adjustment coefficient S1 is obtained by the following formula:
[0019] S1=[1+(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×S0
[0020] Wherein, S1 represents the first time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 The upload speed threshold and the download speed threshold respectively represent the upload speed and the download speed.
[0021] Further, setting a second time interval adjustment coefficient according to the reference sending time interval, and setting a second sending time interval by using the second time interval adjustment coefficient in combination with the reference sending time interval includes:
[0022] Extracting the reference sending time interval;
[0023] Setting a second time interval adjustment coefficient according to the reference sending time interval, wherein the second time interval adjustment coefficient is S2=0.25, or obtaining the second time interval adjustment coefficient S2 through a second coefficient determination model;
[0024] Using the second time interval adjustment coefficient in combination with the reference sending time interval to set the second sending time interval T2, wherein T2=S2×T0, and T0 represents the reference sending time interval;
[0025] The second time interval adjustment coefficient S2 is obtained by the following formula:
[0026] S2=[1+[(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×e (V03-V3 / V03)-1 ]×S0
[0027] Wherein, S2 represents the second time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 Respectively represent the upload speed threshold and download speed threshold corresponding to the upload speed and download speed; V3 represents the data transmission rate; V 03 Indicates the data transmission rate threshold.
[0028] Further, the sending time of the early feedback packet is delayed to a corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode, including:
[0029] Extracting the jitter time of the multicast mode, and determining, according to the jitter time of the multicast mode, that the sending time of the early feedback packet is delayed to a corresponding time point as the first time point;
[0030] Extracting the jitter time of the unicast mode, and determining, according to the jitter time of the unicast mode, that the sending time of the early feedback packet is delayed to a corresponding time point as the second time point;
[0031] The early feedback packet is sent according to the first time point and the second time point.
[0032] A system for enhancing RTP unicast reliability based on adding RTCP jitter time, the system for enhancing RTP unicast reliability based on adding RTCP jitter time comprising:
[0033] A sending time interval extraction module is used to extract the current RTP unicast sending time interval as a reference sending time interval;
[0034] A first time interval adjustment parameter setting module, used to set a first time interval adjustment coefficient according to the reference sending time interval, and use the first time interval adjustment coefficient in combination with the reference sending time interval to set the first sending time interval; wherein the first sending time interval is used for the data sending time interval corresponding to the jitter time of the multicast mode;
[0035] A second time interval adjustment parameter setting module, used to set a second time interval adjustment coefficient according to the reference sending time interval, and use the second time interval adjustment coefficient in combination with the reference sending time interval to set the second sending time interval; wherein the second sending time interval is used for the data sending time interval corresponding to the jitter time of the unicast mode;
[0036] The time point configuration module is used to delay the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode.
[0037] Furthermore, the sending time interval extraction module includes:
[0038] A first data information acquisition module, used to extract the data type of the current RTP unicast as the first data information, wherein the data type includes audio data and video data;
[0039] A second data information acquisition module, used to determine the available bandwidth parameters of the current RTP unicast as the second data information, wherein the available bandwidth parameters include upload speed, download speed and data transmission rate;
[0040] A third data information acquisition module is used to extract application requirements and performance targets, and obtain a maximum allowable delay through the application requirements and performance targets as third data information;
[0041] The sending time interval determination module is used to determine the sending time interval of the current RTP unicast by using the first data information, the second data information and the third data information.
[0042] Furthermore, the first time interval adjustment parameter setting module includes:
[0043] A first reference sending time interval extraction module, used to extract the reference sending time interval;
[0044] A first time interval adjustment coefficient setting module, configured to set a first time interval adjustment coefficient according to the reference sending time interval, wherein the first time interval adjustment coefficient is S1=0.5, or the first time interval adjustment coefficient S1 is obtained through a first coefficient determination model;
[0045] A first sending time interval setting module, configured to set a first sending time interval T1 by using the first time interval adjustment coefficient in combination with a reference sending time interval, wherein T1=S1×T0, and T0 represents the reference sending time interval;
[0046] The first time interval adjustment coefficient S1 is obtained by the following formula:
[0047] S1=[1+(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×S0
[0048] Wherein, S1 represents the first time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 The upload speed threshold and the download speed threshold respectively represent the upload speed and the download speed.
[0049] Furthermore, the second time interval adjustment parameter setting module includes:
[0050] A second reference sending time interval extraction module, used to extract the reference sending time interval;
[0051] A second time interval adjustment coefficient setting module, configured to set a second time interval adjustment coefficient according to the reference sending time interval, wherein the second time interval adjustment coefficient is S2=0.25, or the second time interval adjustment coefficient S2 is obtained through a second coefficient determination model;
[0052] A second sending time interval setting module, used to set a second sending time interval T2 by using the second time interval adjustment coefficient in combination with a reference sending time interval, wherein T2=S2×T0, and T0 represents the reference sending time interval;
[0053] The second time interval adjustment coefficient S2 is obtained by the following formula:
[0054] S2=[1+[(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×e (V03-V3 / V03)-1]×S0
[0055] Wherein, S2 represents the second time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 Respectively represent the upload speed threshold and download speed threshold corresponding to the upload speed and download speed; V3 represents the data transmission rate; V 03 Indicates the data transmission rate threshold.
[0056] Furthermore, the time point configuration module includes:
[0057] A first jitter time extraction module, used to extract the jitter time of the multicast mode, and determine the delay of the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode as the first time point;
[0058] A second jitter time extraction module, used to extract the jitter time of the unicast mode, and determine the delay of the sending time of the early feedback packet to a corresponding time point according to the jitter time of the unicast mode as the second time point;
[0059] A time point sending module is used to send an early feedback packet according to the first time point and the second time point.
[0060] Beneficial effects of the present invention:
[0061] The method and system for enhancing unicast reliability based on adding jitter time proposed in the present invention uses a shorter time than the multicast jitter time to delay the sending of early feedback packets instead of a zero jitter time. The jitter time of the multicast mode is 0.5 times the regular packet sending interval, so the unicast mode is adjusted to 0.25 times the regular packet sending interval. After the early feedback packet uses the above-mentioned jitter time, the packet loss information within the jitter time is sent to the sender, and this part of the packets is also the most likely to cause retransmission failure due to real-time requirements. This enhances the reliability of transmission under real-time requirements to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 is a flow chart of the method of the present invention;
[0063] Figure 2 The system block diagram of the system of the present invention. DETAILED DESCRIPTION
[0064] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0065] The embodiment of the present invention proposes a method for enhancing the reliability of RTP unicast based on adding RTCP jitter time, such as Figure 1 As shown, the method for enhancing RTP unicast reliability based on adding RTCP jitter time includes:
[0066] S1, extract the sending time interval of the current RTP unicast as the benchmark sending time interval;
[0067] S2. Setting a first time interval adjustment coefficient according to the reference sending time interval, and using the first time interval adjustment coefficient in combination with the reference sending time interval to set a first sending time interval; wherein the first sending time interval is used for a data sending time interval corresponding to a jitter time of a multicast mode;
[0068] S3. Setting a second time interval adjustment coefficient according to the reference sending time interval, and using the second time interval adjustment coefficient in combination with the reference sending time interval to set a second sending time interval; wherein the second sending time interval is used for a data sending time interval corresponding to a jitter time in a unicast mode;
[0069] S4. Delay the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode.
[0070] The working principle of the above technical solution is: extract the current RTP unicast sending time interval (S1): first, extract the current RTP unicast reference sending time interval, which refers to the time interval between data packet sending.
[0071] Setting a first time interval adjustment coefficient (S2): To adapt to the jitter time of the multicast mode, a first time interval adjustment coefficient is set. This coefficient may be dynamically adjusted based on network conditions and transmission requirements. The first time interval adjustment coefficient is applied to the reference sending time interval to set the first sending time interval.
[0072] Setting a second time interval adjustment coefficient (S3): To adapt to the jitter time of the unicast mode, a second time interval adjustment coefficient is set. Similar to step 2, this coefficient can also be dynamically adjusted according to network conditions and transmission requirements. The second time interval adjustment coefficient is applied to the reference sending time interval to set the second sending time interval.
[0073] Delaying the sending time of early feedback packets (S4): Based on the jitter time of the multicast mode and the unicast mode, the sending time of the early feedback packets is delayed as needed to ensure that they contain information about the jitter when they arrive.
[0074] The effects of the above technical solution are: Enhanced reliability: By adjusting the sending time interval according to different transmission modes (multicast and unicast) and jitter time, the method can enhance the reliability of RTP unicast transmission. This helps to ensure that the data packets arrive at the receiver on time and reduce the possibility of packet loss.
[0075] Adaptability: The dynamic adjustment coefficient of this method allows real-time adaptation according to network conditions and transmission requirements to meet the requirements of different scenarios.
[0076] Reduce the impact of jitter: By delaying the sending time of early feedback packets, jitter can be better handled, improving the quality and consistency of data transmission.
[0077] In summary, the above technical solution of this embodiment aims to provide more reliable RTP unicast transmission, adapt to different transmission conditions and modes, and improve the transmission quality of audio and video data.
[0078] In one embodiment of the present invention, extracting the sending time interval of the current RTP unicast includes:
[0079] S101, extracting a data type of a current RTP unicast as first data information, wherein the data type includes audio data and video data;
[0080] S102, determining available bandwidth parameters of the current RTP unicast as second data information, wherein the available bandwidth parameters include upload speed, download speed and data transmission rate;
[0081] S103, extracting application requirements and performance targets, and obtaining a maximum allowable delay according to the application requirements and performance targets as third data information;
[0082] S104: Determine a current RTP unicast sending time interval using the first data information, the second data information, and the third data information.
[0083] The working principle of the above technical solution is as follows: Extract data type (step S101): First, determine the data type of the current RTP unicast transmission. This can be audio data or video data. Different types of data may have different delay requirements.
[0084] Determine available bandwidth parameters (step S102): measure and determine the available bandwidth parameters of the current RTP unicast transmission, including upload speed, download speed and data transmission rate. These parameters will be used to evaluate the available network resources in order to make decisions for transmission.
[0085] Extract application requirements and performance targets (step S103): According to the application requirements and performance targets, the maximum allowable delay is obtained. The application requirements may require low delay, while the performance targets may set an upper limit on the delay.
[0086] Determine the sending time interval (step S104): Combine the data type, available bandwidth parameters and application requirements, and performance goals to determine the sending time interval of the current RTP unicast transmission. This sending time interval determines the time interval between data packet transmissions to meet application requirements and maximize the use of available bandwidth.
[0087] The effects of the above technical solution are: Better adaptability: The method allows the transmission time interval to be dynamically determined to adapt to different data types and network conditions. This improves the adaptability of the transmission, enabling it to perform well in different situations.
[0088] Meeting application requirements: By determining the transmission interval based on application requirements and performance goals, this approach helps ensure that the transmission meets specific application requirements, such as low latency or stability.
[0089] Maximizing bandwidth utilization: Based on the available bandwidth parameters, this method can adjust the sending time interval to maximize the utilization of available bandwidth and improve the efficiency of data transmission.
[0090] In summary, the above technical solution of this embodiment is intended to better meet the needs of RTP unicast transmission, adapt to different conditions by dynamically adjusting the sending time interval, and ensure that data transmission can be stable and reliable under various circumstances.
[0091] In one embodiment of the present invention, the first time interval adjustment coefficient is set according to the reference sending time interval, and the first time interval adjustment coefficient is used in combination with the reference sending time interval to set the first sending time interval, including:
[0092] S201, extracting the reference sending time interval;
[0093] S202: setting a first time interval adjustment coefficient according to the reference sending time interval, wherein the first time interval adjustment coefficient is S1=0.5, or obtaining the first time interval adjustment coefficient S1 through a first coefficient determination model;
[0094] S203, using the first time interval adjustment coefficient in combination with a reference sending time interval to set a first sending time interval T1, wherein T1 = S1 × T0, and T0 represents the reference sending time interval;
[0095] The first time interval adjustment coefficient S1 is obtained by the following formula:
[0096] S1=[1+(V01 -V1) / V 01 -(V 02 -V2) / V 02 ]×S0
[0097] Wherein, S1 represents the first time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 The upload speed threshold and the download speed threshold respectively represent the upload speed and the download speed.
[0098] The working principle of the above technical solution is: Extracting a reference sending time interval (step S201): First, extracting a reference sending time interval (T0) from a previous setting or measurement.
[0099] Setting the first time interval adjustment coefficient (step S202): This step determines the first time interval adjustment coefficient (S1). S1 can be a fixed value (such as S1=0.5) or obtained by model calculation. The model calculates S1 based on the upload speed (V1) and the download speed (V2) and the relationship between them and the corresponding upload speed threshold (V01) and download speed threshold (V02).
[0100] Calculate the first sending time interval (step S203): Use the first time interval adjustment coefficient (S1) and the reference sending time interval (T0) to calculate the first sending time interval (T1). T1 is calculated as T1=S1×T0.
[0101] The effects of the above technical solution are: Dynamically adjust the sending time interval: By dynamically adjusting the sending time interval according to changes in network conditions and data transmission requirements, the reliability of data transmission is ensured.
[0102] Bandwidth adaptability: By considering the upload speed and download speed and their corresponding thresholds, the first time interval adjustment factor (S1) can better adapt to the available bandwidth. If the bandwidth changes, S1 will adjust to reflect these changes, thereby maintaining the efficiency of the transmission.
[0103] Maximizing transmission performance: By dynamically adjusting the sending time interval, the method aims to maximize the performance of data transmission to adapt to the needs and network conditions in different situations.
[0104] In summary, the working principle and technical effect of the above technical solution of this embodiment are intended to improve the reliability of RTP unicast transmission to adapt to the ever-changing network conditions and data requirements.
[0105] In one embodiment of the present invention, the second time interval adjustment coefficient is set according to the reference sending time interval, and the second time interval adjustment coefficient is used in combination with the reference sending time interval to set the second sending time interval, including:
[0106] S301, extracting the reference sending time interval;
[0107] S302: setting a second time interval adjustment coefficient according to the reference sending time interval, wherein the second time interval adjustment coefficient is S2=0.25, or obtaining the second time interval adjustment coefficient S2 through a second coefficient determination model;
[0108] S303, using the second time interval adjustment coefficient in combination with a reference sending time interval to set a second sending time interval T2, where T2=S2×T0, and T0 represents the reference sending time interval;
[0109] The second time interval adjustment coefficient S2 is obtained by the following formula:
[0110] S2=[1+[(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×e (V03-V3 / V03)-1 ]×S0
[0111] Wherein, S2 represents the second time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 Respectively represent the upload speed threshold and download speed threshold corresponding to the upload speed and download speed; V3 represents the data transmission rate; V 03 Indicates the data transmission rate threshold.
[0112] The working principle of the above technical solution is: Extracting a reference sending time interval (step S301): First, extracting a reference sending time interval (T0) from a previous setting or measurement.
[0113] Setting the second time interval adjustment coefficient (step S302): This step determines the second time interval adjustment coefficient (S2). S2 can be a fixed value (such as S2 = 0.25) or obtained by model calculation. The model calculates S2 based on the relationship between the upload speed (V1) and the download speed (V2) and the corresponding upload speed threshold (V01) and download speed threshold (V02), and the relationship between the data transmission rate (V3) and its corresponding threshold (V03).
[0114] Calculate the second sending time interval (step S303): Use the second time interval adjustment coefficient (S2) and the reference sending time interval (T0) to calculate the second sending time interval (T2). T2 is calculated as T2=S2×T0.
[0115] The effects of the above technical solution are: dynamically adjusting the sending time interval: dynamically adjusting the second sending time interval according to network conditions and data transmission requirements to ensure the reliability of data transmission.
[0116] Bandwidth adaptability: The second time interval adjustment factor (S2) can better adapt to changes in available bandwidth. If the bandwidth changes, S2 will adjust according to changes in upload speed, download speed, and data transmission rate to maintain data transmission efficiency.
[0117] Maximizing transmission performance: By dynamically adjusting the second sending time interval, the method aims to maximize the performance of data transmission to adapt to the needs and network conditions in different situations.
[0118] In summary, the working principle and technical effect of the above technical solution of this embodiment are intended to improve the reliability of RTP unicast transmission to adapt to the ever-changing network conditions and data requirements.
[0119] An embodiment of the present invention delays the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode, including:
[0120] S401, extracting the jitter time of the multicast mode, and determining, according to the jitter time of the multicast mode, that the sending time of the early feedback packet is delayed to a corresponding time point as a first time point;
[0121] S402, extracting the jitter time of the unicast mode, and determining, according to the jitter time of the unicast mode, that the sending time of the early feedback packet is delayed to a corresponding time point as a second time point;
[0122] S403: Send an early feedback packet according to the first time point and the second time point.
[0123] The working principle of the above technical solution is: Extract the jitter time of the multicast mode (step S401): First, extract the jitter time from the setting or measurement of the multicast mode. The jitter time refers to the time variation or delay range between different data packets in multicast transmission.
[0124] Determine the sending time delay of the early feedback packet (step S401): determine the delay of the sending time of the early feedback packet relative to the reference sending time according to the jitter time of the multicast mode, and mark this time point as the first time point.
[0125] Extracting the jitter time of the unicast mode (step S402): Similarly, the jitter time is extracted from the setting or measurement of the unicast mode. The jitter time in the unicast mode may be different from that in the multicast mode.
[0126] Determine the sending time delay of the early feedback packet (step S402): determine the delay of the sending time of the early feedback packet relative to the reference sending time according to the jitter time of the unicast mode, and mark this time point as the second time point.
[0127] Execute sending of early feedback packets (step S403): Arrange sending of early feedback packets according to the first time point and the second time point. This can ensure that feedback packets sent in different modes arrive at appropriate time points to meet network requirements.
[0128] The effects of the above technical solution are: Network adaptability: by adjusting the sending time of the early feedback packet in different modes, the method can better adapt to different network conditions and requirements in multicast mode and unicast mode.
[0129] Real-time performance: Ensure that early feedback packets arrive on time in both multicast and unicast modes to meet real-time requirements.
[0130] Transmission reliability: By adjusting the sending time of feedback packets, the possibility of data packet loss caused by network instability is reduced, and the reliability of data transmission is improved.
[0131] In summary, the working principle and technical effect of the above technical solution of this embodiment are intended to provide more reliable and adaptable RTP unicast transmission in different transmission modes to meet different network and application requirements.
[0132] The embodiment of the present invention proposes a system for enhancing the reliability of RTP unicast based on adding RTCP jitter time, such as Figure 2 As shown, the system for enhancing RTP unicast reliability based on adding RTCP jitter time includes:
[0133] A sending time interval extraction module is used to extract the current RTP unicast sending time interval as a reference sending time interval;
[0134] A first time interval adjustment parameter setting module, used to set a first time interval adjustment coefficient according to the reference sending time interval, and use the first time interval adjustment coefficient in combination with the reference sending time interval to set the first sending time interval; wherein the first sending time interval is used for the data sending time interval corresponding to the jitter time of the multicast mode;
[0135] A second time interval adjustment parameter setting module, used to set a second time interval adjustment coefficient according to the reference sending time interval, and use the second time interval adjustment coefficient in combination with the reference sending time interval to set the second sending time interval; wherein the second sending time interval is used for the data sending time interval corresponding to the jitter time of the unicast mode;
[0136] The time point configuration module is used to delay the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode.
[0137] The working principle of the above technical solution is: extract the sending time interval of the current RTP unicast: first, extract the reference sending time interval of the current RTP unicast, which refers to the time interval between the sending of data packets.
[0138] Set the first time interval adjustment factor: To adapt to the jitter time of the multicast mode, set the first time interval adjustment factor. This factor may be dynamically adjusted based on network conditions and transmission requirements. Apply the first time interval adjustment factor to the base sending time interval to set the first sending time interval.
[0139] Set the second time interval adjustment coefficient: To adapt to the jitter time of the unicast mode, set the second time interval adjustment coefficient. Similar to step 2, this coefficient can also be dynamically adjusted according to network conditions and transmission requirements. Apply the second time interval adjustment coefficient to the base sending time interval to set the second sending time interval.
[0140] Delay the sending time of early feedback packets: Based on the jitter time in multicast mode and unicast mode, the sending time of early feedback packets is delayed as needed to ensure that they contain information about jitter when they arrive.
[0141] The effects of the above technical solution are: Enhanced reliability: By adjusting the sending time interval according to different transmission modes (multicast and unicast) and jitter time, the method can enhance the reliability of RTP unicast transmission. This helps to ensure that the data packets arrive at the receiver on time and reduce the possibility of packet loss.
[0142] Adaptability: The dynamic adjustment coefficient of this method allows real-time adaptation according to network conditions and transmission requirements to meet the requirements of different scenarios.
[0143] Reduce the impact of jitter: By delaying the sending time of early feedback packets, jitter can be better handled, improving the quality and consistency of data transmission.
[0144] In summary, the above technical solution of this embodiment aims to provide more reliable RTP unicast transmission, adapt to different transmission conditions and modes, and improve the transmission quality of audio and video data.
[0145] In one embodiment of the present invention, the sending time interval extraction module includes:
[0146] A first data information acquisition module, used to extract the data type of the current RTP unicast as the first data information, wherein the data type includes audio data and video data;
[0147] A second data information acquisition module, used to determine the available bandwidth parameters of the current RTP unicast as the second data information, wherein the available bandwidth parameters include upload speed, download speed and data transmission rate;
[0148] A third data information acquisition module is used to extract application requirements and performance targets, and obtain a maximum allowable delay through the application requirements and performance targets as third data information;
[0149] The sending time interval determination module is used to determine the sending time interval of the current RTP unicast by using the first data information, the second data information and the third data information.
[0150] The working principle of the above technical solution is as follows: Extract data type: First, determine the data type of the current RTP unicast transmission. This can be audio data or video data. Different types of data may have different delay requirements.
[0151] Determine available bandwidth parameters: Measure and determine the available bandwidth parameters for the current RTP unicast transmission, including upload speed, download speed, and data transfer rate. These parameters will be used to evaluate the available network resources in order to make decisions for transmission.
[0152] Extract application requirements and performance goals: Based on application requirements and performance goals, obtain the maximum allowable latency. Application requirements may require low latency, while performance goals may set an upper limit on latency.
[0153] Determine the sending interval: Combine the data type, available bandwidth parameters and application requirements, as well as performance goals to determine the sending interval of the current RTP unicast transmission. This sending interval determines the time interval between data packet transmissions to meet application requirements and maximize the use of available bandwidth.
[0154] The effects of the above technical solution are: Better adaptability: The method allows the transmission time interval to be dynamically determined to adapt to different data types and network conditions. This improves the adaptability of the transmission, enabling it to perform well in different situations.
[0155] Meeting application requirements: By determining the transmission interval based on application requirements and performance goals, this approach helps ensure that the transmission meets specific application requirements, such as low latency or stability.
[0156] Maximizing bandwidth utilization: Based on the available bandwidth parameters, this method can adjust the sending time interval to maximize the utilization of available bandwidth and improve the efficiency of data transmission.
[0157] In summary, the above technical solution of this embodiment is intended to better meet the needs of RTP unicast transmission, adapt to different conditions by dynamically adjusting the sending time interval, and ensure that data transmission can be stable and reliable under various circumstances.
[0158] In one embodiment of the present invention, the first time interval adjustment parameter setting module includes:
[0159] A first reference sending time interval extraction module, used to extract the reference sending time interval;
[0160] A first time interval adjustment coefficient setting module, configured to set a first time interval adjustment coefficient according to the reference sending time interval, wherein the first time interval adjustment coefficient is S1=0.5, or the first time interval adjustment coefficient S1 is obtained through a first coefficient determination model;
[0161] A first sending time interval setting module, configured to set a first sending time interval T1 by using the first time interval adjustment coefficient in combination with a reference sending time interval, wherein T1=S1×T0, and T0 represents the reference sending time interval;
[0162] The first time interval adjustment coefficient S1 is obtained by the following formula:
[0163] S1=[1+(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×S0
[0164] Wherein, S1 represents the first time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 The upload speed threshold and the download speed threshold respectively represent the upload speed and the download speed.
[0165] The working principle of the above technical solution is: Extracting a reference sending time interval: First, extracting a reference sending time interval (T0) from a previous setting or measurement.
[0166] Setting the first time interval adjustment coefficient: This step determines the first time interval adjustment coefficient (S1). S1 can be a fixed value (such as S1 = 0.5) or obtained through model calculation. The model calculates S1 based on the upload speed (V1) and the download speed (V2) and the relationship between them and the corresponding upload speed threshold (V01) and download speed threshold (V02).
[0167] Calculate the first sending time interval: Use the first time interval adjustment coefficient (S1) and the reference sending time interval (T0) to calculate the first sending time interval (T1). T1 is calculated as T1 = S1 × T0.
[0168] The effects of the above technical solution are: Dynamically adjust the sending time interval: By dynamically adjusting the sending time interval according to changes in network conditions and data transmission requirements, the reliability of data transmission is ensured.
[0169] Bandwidth adaptability: By considering the upload speed and download speed and their corresponding thresholds, the first time interval adjustment factor (S1) can better adapt to the available bandwidth. If the bandwidth changes, S1 will adjust to reflect these changes, thereby maintaining the efficiency of the transmission.
[0170] Maximizing transmission performance: By dynamically adjusting the sending time interval, the method aims to maximize the performance of data transmission to adapt to the needs and network conditions in different situations.
[0171] In summary, the working principle and technical effect of the above technical solution of this embodiment are intended to improve the reliability of RTP unicast transmission to adapt to the ever-changing network conditions and data requirements.
[0172] In one embodiment of the present invention, the second time interval adjustment parameter setting module includes:
[0173] A second reference sending time interval extraction module, used to extract the reference sending time interval;
[0174] A second time interval adjustment coefficient setting module, configured to set a second time interval adjustment coefficient according to the reference sending time interval, wherein the second time interval adjustment coefficient is S2=0.25, or the second time interval adjustment coefficient S2 is obtained through a second coefficient determination model;
[0175] A second sending time interval setting module, used to set a second sending time interval T2 by using the second time interval adjustment coefficient in combination with a reference sending time interval, wherein T2=S2×T0, and T0 represents the reference sending time interval;
[0176] The second time interval adjustment coefficient S2 is obtained by the following formula:
[0177] S2=[1+[(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×e (V03-V3 / V03)-1 ]×S0
[0178] Wherein, S2 represents the second time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 Respectively represent the upload speed threshold and download speed threshold corresponding to the upload speed and download speed; V3 represents the data transmission rate; V 03 Indicates the data transmission rate threshold.
[0179] The working principle of the above technical solution is: Extracting a reference sending time interval: First, extracting a reference sending time interval (T0) from a previous setting or measurement.
[0180] Setting the second time interval adjustment coefficient: This step determines the second time interval adjustment coefficient (S2). S2 can be a fixed value (such as S2 = 0.25) or obtained by model calculation. The model calculates S2 based on the relationship between the upload speed (V1) and the download speed (V2) and the corresponding upload speed threshold (V01) and download speed threshold (V02), and the relationship between the data transmission rate (V3) and its corresponding threshold (V03).
[0181] Calculate the second sending time interval (step S303): Use the second time interval adjustment coefficient (S2) and the reference sending time interval (T0) to calculate the second sending time interval (T2). T2 is calculated as T2=S2×T0.
[0182] The effects of the above technical solution are: dynamically adjusting the sending time interval: dynamically adjusting the second sending time interval according to network conditions and data transmission requirements to ensure the reliability of data transmission.
[0183] Bandwidth adaptability: The second time interval adjustment factor (S2) can better adapt to changes in available bandwidth. If the bandwidth changes, S2 will adjust according to changes in upload speed, download speed, and data transmission rate to maintain data transmission efficiency.
[0184] Maximizing transmission performance: By dynamically adjusting the second sending time interval, the method aims to maximize the performance of data transmission to adapt to the needs and network conditions in different situations.
[0185] In summary, the working principle and technical effect of the above technical solution of this embodiment are intended to improve the reliability of RTP unicast transmission to adapt to the ever-changing network conditions and data requirements.
[0186] In one embodiment of the present invention, the time point configuration module includes:
[0187] A first jitter time extraction module, used to extract the jitter time of the multicast mode, and determine the delay of the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode as the first time point;
[0188] A second jitter time extraction module, used to extract the jitter time of the unicast mode, and determine the delay of the sending time of the early feedback packet to a corresponding time point according to the jitter time of the unicast mode as the second time point;
[0189] A time point sending module is used to send an early feedback packet according to the first time point and the second time point.
[0190] The working principle of the above technical solution is: Extracting the jitter time of the multicast mode: First, extract the jitter time from the setting or measurement of the multicast mode. The jitter time refers to the time variation or delay range between different data packets in multicast transmission.
[0191] Determine the sending time delay of the early feedback packet: determine the delay of the sending time of the early feedback packet relative to the reference sending time according to the jitter time of the multicast mode, and mark this time point as the first time point.
[0192] Extracting jitter time for unicast mode: Similarly, extracting jitter time from settings or measurements in unicast mode may be different from that in multicast mode.
[0193] Determine the sending time delay of the early feedback packet: determine the delay of the sending time of the early feedback packet relative to the reference sending time according to the jitter time of the unicast mode, and mark this time point as the second time point.
[0194] Performing the sending of early feedback packets: Arranging the sending of early feedback packets according to the first time point and the second time point. This can ensure that feedback packets sent in different modes arrive at appropriate time points to meet network requirements.
[0195] The effects of the above technical solution are: Network adaptability: by adjusting the sending time of the early feedback packet in different modes, the method can better adapt to different network conditions and requirements in multicast mode and unicast mode.
[0196] Real-time performance: Ensure that early feedback packets arrive on time in both multicast and unicast modes to meet real-time requirements.
[0197] Transmission reliability: By adjusting the sending time of feedback packets, the possibility of data packet loss caused by network instability is reduced, and the reliability of data transmission is improved.
[0198] In summary, the working principle and technical effect of the above technical solution of this embodiment are to provide more reliable and adaptable RTP unicast transmission in different transmission modes to meet different network and application requirements.
[0199] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for enhancing RTP unicast reliability based on adding RTCP jitter time, characterized in that: The method for enhancing RTP unicast reliability based on adding RTCP jitter time includes: Extract the current RTP unicast sending time interval as the benchmark sending time interval; A first time interval adjustment coefficient is set according to the reference sending time interval, and a first sending time interval is set by using the first time interval adjustment coefficient in combination with the reference sending time interval; wherein the first sending time interval is used for a data sending time interval corresponding to a jitter time of a multicast mode; A second time interval adjustment coefficient is set according to the reference sending time interval, and a second sending time interval is set by using the second time interval adjustment coefficient in combination with the reference sending time interval; wherein the second sending time interval is used for a data sending time interval corresponding to a jitter time of a unicast mode; Delaying the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode; The step of setting a first time interval adjustment coefficient according to the reference sending time interval, and setting the first sending time interval by using the first time interval adjustment coefficient in combination with the reference sending time interval includes: Extracting the reference sending time interval; Setting a first time interval adjustment coefficient according to the reference sending time interval, wherein the first time interval adjustment coefficient is S1=0.5, or obtaining the first time interval adjustment coefficient S1 through a first coefficient determination model; Using the first time interval adjustment coefficient in combination with a reference sending time interval to set a first sending time interval T1, wherein T1=S1×T0, and T0 represents the reference sending time interval; The first time interval adjustment coefficient S1 is obtained by the following formula: S1=[1+(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×S0 Wherein, S1 represents the first time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 Represents the upload speed threshold and download speed threshold corresponding to the upload speed and download speed respectively; The step of setting a second time interval adjustment coefficient according to the reference sending time interval, and setting a second sending time interval by using the second time interval adjustment coefficient in combination with the reference sending time interval includes: Extracting the reference sending time interval; Setting a second time interval adjustment coefficient according to the reference sending time interval, wherein the second time interval adjustment coefficient is S2=0.25, or obtaining the second time interval adjustment coefficient S2 through a second coefficient determination model; Using the second time interval adjustment coefficient in combination with the reference sending time interval to set the second sending time interval T2, wherein T2=S2×T0, and T0 represents the reference sending time interval; The second time interval adjustment coefficient S2 is obtained by the following formula: S2=[1+[(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×e (V03-V3 / V03)-1 ]×S0 Wherein, S2 represents the second time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 Respectively represent the upload speed threshold and download speed threshold corresponding to the upload speed and download speed; V3 represents the data transmission rate; V 03 Indicates the data transmission rate threshold.
2. The method for enhancing RTP unicast reliability based on adding RTCP jitter time according to claim 1, characterized in that: Extract the current RTP unicast sending time interval, including: Extracting a data type of the current RTP unicast as first data information, wherein the data type includes audio data and video data; Determine available bandwidth parameters of the current RTP unicast as second data information, wherein the available bandwidth parameters include upload speed, download speed and data transmission rate; Extracting application requirements and performance targets, and obtaining a maximum allowable delay according to the application requirements and performance targets as third data information; The first data information, the second data information and the third data information are used to determine the sending time interval of the current RTP unicast.
3. The method for enhancing RTP unicast reliability based on adding RTCP jitter time according to claim 1, characterized in that: Delay the sending time of the early feedback packet to the corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode, including: Extracting the jitter time of the multicast mode, and determining, according to the jitter time of the multicast mode, that the sending time of the early feedback packet is delayed to a corresponding time point as the first time point; Extracting the jitter time of the unicast mode, and determining, according to the jitter time of the unicast mode, that the sending time of the early feedback packet is delayed to a corresponding time point as the second time point; The early feedback packet is sent according to the first time point and the second time point.
4. A system for enhancing RTP unicast reliability based on adding RTCP jitter time, characterized in that: The system for enhancing RTP unicast reliability based on adding RTCP jitter time includes: A sending time interval extraction module is used to extract the current RTP unicast sending time interval as a reference sending time interval; A first time interval adjustment parameter setting module, used to set a first time interval adjustment coefficient according to the reference sending time interval, and use the first time interval adjustment coefficient in combination with the reference sending time interval to set the first sending time interval; wherein the first sending time interval is used for the data sending time interval corresponding to the jitter time of the multicast mode; A second time interval adjustment parameter setting module, used to set a second time interval adjustment coefficient according to the reference sending time interval, and use the second time interval adjustment coefficient in combination with the reference sending time interval to set the second sending time interval; wherein the second sending time interval is used for the data sending time interval corresponding to the jitter time of the unicast mode; A time point configuration module, used to delay the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode and the jitter time of the unicast mode; Wherein, the first time interval adjustment parameter setting module includes: A first reference sending time interval extraction module, used to extract the reference sending time interval; A first time interval adjustment coefficient setting module, configured to set a first time interval adjustment coefficient according to the reference sending time interval, wherein the first time interval adjustment coefficient is S1=0.5, or the first time interval adjustment coefficient S1 is obtained through a first coefficient determination model; A first sending time interval setting module, configured to set a first sending time interval T1 by using the first time interval adjustment coefficient in combination with a reference sending time interval, wherein T1=S1×T0, and T0 represents the reference sending time interval; The first time interval adjustment coefficient S1 is obtained by the following formula: S1=[1+(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×S0 Wherein, S1 represents the first time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 Represents the upload speed threshold and download speed threshold corresponding to the upload speed and download speed respectively; Wherein, the second time interval adjustment parameter setting module includes: A second reference sending time interval extraction module, used to extract the reference sending time interval; A second time interval adjustment coefficient setting module, configured to set a second time interval adjustment coefficient according to the reference sending time interval, wherein the second time interval adjustment coefficient is S2=0.25, or the second time interval adjustment coefficient S2 is obtained through a second coefficient determination model; A second sending time interval setting module, used to set a second sending time interval T2 by using the second time interval adjustment coefficient in combination with a reference sending time interval, wherein T2=S2×T0, and T0 represents the reference sending time interval; The second time interval adjustment coefficient S2 is obtained by the following formula: S2=[1+[(V 01 -V1) / V 01 -(V 02 -V2) / V 02 ]×e (V03-V3 / V03)-1 ]×S0 Wherein, S2 represents the second time interval adjustment coefficient; S0 represents the corresponding coefficient of the reference sending time interval, S0=1; V1 and V2 represent the upload speed and download speed respectively; V 01 and V 02 Respectively represent the upload speed threshold and download speed threshold corresponding to the upload speed and download speed; V3 represents the data transmission rate; V 03 Indicates the data transmission rate threshold.
5. The system for enhancing RTP unicast reliability based on adding RTCP jitter time according to claim 4, characterized in that: The sending time interval extraction module comprises: A first data information acquisition module, used to extract the data type of the current RTP unicast as the first data information, wherein the data type includes audio data and video data; A second data information acquisition module, used to determine the available bandwidth parameters of the current RTP unicast as the second data information, wherein the available bandwidth parameters include upload speed, download speed and data transmission rate; A third data information acquisition module is used to extract application requirements and performance targets, and obtain a maximum allowable delay through the application requirements and performance targets as third data information; The sending time interval determination module is used to determine the sending time interval of the current RTP unicast by using the first data information, the second data information and the third data information.
6. The system for enhancing RTP unicast reliability based on adding RTCP jitter time according to claim 4, characterized in that: The time point configuration module includes: A first jitter time extraction module, used to extract the jitter time of the multicast mode, and determine the delay of the sending time of the early feedback packet to a corresponding time point according to the jitter time of the multicast mode as the first time point; A second jitter time extraction module, used to extract the jitter time of the unicast mode, and determine the delay of the sending time of the early feedback packet to a corresponding time point according to the jitter time of the unicast mode as the second time point; A time point sending module is used to send an early feedback packet according to the first time point and the second time point.
