A jitter buffer adjustment method and system based on network revenue

By calculating the network income in the audio and video communication scenario and adjusting the size of the jitter buffer, the problem of low network income in the audio and video communication is solved, and the late packet rate and reception delay are balanced, which improves the user experience.

CN116055417BActive Publication Date: 2024-11-26BIGO TECH PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211736485.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2024-11-26
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

In audio and video communication scenarios, it is difficult to balance the network late packet rate and reception delay by simply setting the jitter buffer size according to the maximum jitter, resulting in low network revenue and affecting the user experience.

Method used

By counting the network late packet rate, jitter buffer buffer buffer length and late packet time during the set period, the network income is calculated, and the jitter buffer size is adjusted according to the comparison results to balance the late packet rate and reception delay and improve network income .

Benefits of technology

It realizes balancing late packet rate and reception delay in audio and video transmission, improves network revenue, and improves users' audio and video playback experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116055417B_ABST
    Figure CN116055417B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a jitter buffer adjustment method and system based on network revenue. The technical solution provided by the embodiment of the present application is to calculate the first packet delay rate of the network, the first buffer length of the jitter buffer, and the packet delay time of each late packet within a set time period; then calculate the first network revenue based on the first packet delay rate and the first buffer length, and calculate the second network revenue after the jitter buffer completes the set adjustment based on the first packet delay rate, the first buffer length, and the packet delay time; compare the first network revenue and the second network revenue, and adjust the size of the jitter buffer according to the comparison result. By adopting the above technical means, by calculating the network revenue to adaptively adjust the size of the jitter buffer, it is possible to balance the network packet delay rate and the receiving delay, improve the network revenue, improve the audio and video transmission effect, and thus improve the user's audio and video playback experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of network transmission technology, and in particular to a jitter buffer adjustment method and system based on network revenue. Background Art

[0002] At present, jitter is a very common network scenario in audio and video communication scenarios, so anti-jitter is a very important technical means in audio and video communication. By setting a jitter buffer, using the jitter buffer to measure the network jitter, and then setting the size of the jitter buffer with its maximum jitter, and then making the delay of each data packet in the network plus the delay of the data packet in the jitter buffer equal, the network jitter can be eliminated.

[0003] However, generally speaking, the larger the jitter buffer is set, the lower the packet delay rate is, and the corresponding reception delay (the time difference between the data packet being put into the jitter buffer and being taken out) is also greater. Simply setting the jitter buffer size based on the maximum jitter is difficult to maximize network benefits, and a large reception delay will affect the real-time performance of audio and video playback, resulting in a relatively poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a jitter buffer adjustment method and system based on network revenue, which can balance the network packet delay rate and reception delay, improve network revenue, and solve the technical problem of low network revenue during network jitter adjustment.

[0005] In a first aspect, an embodiment of the present application provides a jitter buffer adjustment method based on network revenue, including:

[0006] Counting the first delayed packet rate of the network, the first buffer length of the jitter buffer, and the delayed packet time of each delayed packet within a set period of time;

[0007] Calculating a first network benefit based on the first late packet rate and the first buffer length, and calculating a second network benefit after the jitter buffer has been set and adjusted based on the first late packet rate, the first buffer length, and the late packet time;

[0008] The first network revenue and the second network revenue are compared, and the size of the jitter buffer is adjusted according to the comparison result.

[0009] In a second aspect, an embodiment of the present application provides a jitter buffer adjustment system based on network revenue, including:

[0010] A statistics module configured to count a first delayed packet rate of the network, a first buffer length of the jitter buffer, and a delayed packet time of each delayed packet within a set period of time;

[0011] A calculation module configured to calculate a first network benefit based on a first late packet rate and a first buffer length, and to calculate a second network benefit after the jitter buffer has completed setting adjustment based on the first late packet rate, the first buffer length, and the late packet time;

[0012] The adjustment module is configured to compare the first network revenue and the second network revenue, and adjust the size of the jitter buffer according to the comparison result.

[0013] In a third aspect, an embodiment of the present application provides a jitter buffer adjustment device based on network revenue, including:

[0014] memory and one or more processors;

[0015] The memory is configured to store one or more programs;

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the jitter buffer adjustment method based on network revenue as described in the first aspect.

[0017] In a fourth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are configured to execute the jitter buffer adjustment method based on network revenue as described in the first aspect.

[0018] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the jitter buffer adjustment method based on network revenue as described in the first aspect.

[0019] The embodiment of the present application calculates the first packet delay rate of the network, the first buffer length of the jitter buffer, and the packet delay time of each packet delay within a set period; then calculates the first network revenue based on the first packet delay rate and the first buffer length, and calculates the second network revenue after the jitter buffer is adjusted based on the first packet delay rate, the first buffer length, and the packet delay time; compares the first network revenue and the second network revenue, and adjusts the size of the jitter buffer according to the comparison result. By adopting the above technical means, by calculating the network revenue to adaptively adjust the size of the jitter buffer, it is possible to balance the network packet delay rate and the receiving delay, improve the network revenue, improve the audio and video transmission effect, and thus improve the user's audio and video playback experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a flow chart of a jitter buffer adjustment method based on network revenue provided in an embodiment of the present application;

[0021] Figure 2is a calculation flow chart of the second network revenue in an embodiment of the present application;

[0022] Figure 3 is a flow chart of adjusting the jitter buffer in an embodiment of the present application;

[0023] Figure 4 It is a structural schematic diagram of a jitter buffer adjustment system based on network revenue provided in an embodiment of the present application;

[0024] Figure 5 It is a structural schematic diagram of a jitter buffer adjustment device based on network revenue 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 process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0026] The jitter buffer adjustment method based on network revenue provided in the present application aims to calculate the real-time network revenue and the network revenue after the jitter buffer adjustment, and to adaptively adjust the size of the jitter buffer according to the changes before and after the network revenue, so as to balance the network packet delay rate and the receiving delay.

[0027] In the audio and video transmission scenario, jitter refers to the situation that due to network reasons, the data arriving at the receiving end is uneven in different time periods, and the time intervals for receiving data packets are different. Therefore, anti-jitter is a very important technical means in audio and video communication. A typical anti-jitter technology is the jitter buffer. The jitter buffer measures the time interval between the arrival of data packets and predicts the transmission jitter of data packets in the network based on the distribution of the jitter of the received data packets. In principle, by measuring the network jitter, the size of the jitter buffer is set according to its maximum jitter, and then the delay of each data packet in the network plus the delay of the data packet in the jitter buffer are kept equal. In this way, jitter can be eliminated and the voice packet or video packet can be controlled to play audio or video data from the jitter buffer at a relatively stable speed.

[0028] Generally speaking, the larger the jitter buffer is, the better its anti-jitter effect is and the lower the network packet delay rate is. However, a larger jitter buffer will also introduce a correspondingly larger data packet reception delay. Simply setting the jitter buffer size based on the maximum jitter delay cannot well meet the requirements of reducing the packet delay rate and reducing the reception delay at the same time. A larger reception delay will affect the real-time performance of audio and video playback, and the user experience is relatively poor. Based on this, a jitter buffer adjustment method based on network revenue is provided in an embodiment of the present application to balance the network packet delay rate and the reception delay, and solve the technical problem of low network revenue during network jitter adjustment.

[0029] Example:

[0030] Figure 1 A flow chart of a jitter buffer adjustment method based on network revenue provided in an embodiment of the present application is given. The jitter buffer adjustment method based on network revenue provided in this embodiment can be executed by a jitter buffer adjustment device based on network revenue. The jitter buffer adjustment device based on network revenue can be implemented by software and / or hardware. The jitter buffer adjustment device based on network revenue can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the jitter buffer adjustment device based on network revenue can be a processing device such as a video server or a computer.

[0031] The following description is made by taking the jitter buffer adjustment device based on network revenue as an example of the main body for executing the jitter buffer adjustment method based on network revenue. Figure 1 The jitter buffer adjustment method based on network revenue specifically includes:

[0032] S110, collecting statistics of a first delayed packet rate of the network, a first buffer length of the jitter buffer, and a delayed packet time of each delayed packet within a set period of time;

[0033] S120, calculating a first network benefit based on the first late packet rate and the first buffer length, and calculating a second network benefit after the jitter buffer is set and adjusted based on the first late packet rate, the first buffer length, and the late packet time;

[0034] S130 : Compare the first network revenue and the second network revenue, and adjust the size of the jitter buffer according to the comparison result.

[0035] In the jitter buffer adjustment method based on network revenue of the embodiment of the present application, in order to improve network revenue, the network revenue that can be obtained after each jitter buffer adjustment is calculated and compared with the network revenue before the jitter buffer adjustment, and then it is determined whether to adjust the jitter buffer. In addition, in order to balance the network late packet rate and the receiving delay and obtain a smaller late packet rate and receiving delay, the network revenue will be settled based on the late packet rate and the receiving delay to obtain a better network jitter adjustment effect.

[0036] In the process of audio and video transmission, data packets received after a specified time are called late packets. The ratio of the number of late packets to the total number of packets sent is the late packet rate. It can be understood that the larger the jitter buffer is, the more data packets it can buffer, the fewer late packets there will be, and thus a smaller late packet rate can be obtained.

[0037] The receiving delay refers to the time difference between the time when a data packet is put into the jitter buffer and the time when it is taken out of the jitter buffer. It is understandable that the larger the jitter buffer is, the more data packets it can buffer, and the greater the receiving delay of the data packets will be.

[0038] The smaller the late packet rate, the greater the network benefit; the smaller the receiving delay, the greater the network benefit. In the jitter buffer scenario, these two indicators are negatively correlated, that is, the smaller the late packet rate, the greater the required receiving delay; the larger the late packet rate, the smaller the required receiving delay. Therefore, it is necessary to balance the late packet rate and the receiving delay to obtain a better network benefit.

[0039] It should be noted that, since the receiving delay = jitter buffer size * data packet duration, for the convenience of calculation, the jitter buffer size is directly used here to represent the receiving delay to improve the efficiency of network revenue calculation.

[0040] When adjusting the jitter buffer, the late packet rate of the network within a period of time is counted and defined as the first late packet rate. Among them, the first late packet rate is obtained by determining the number of late packets generated within a set time period and dividing the number of late packets by the total number of data packets within the time period. On the other hand, the real-time size of the jitter buffer is determined and defined as the first buffer length. The first buffer length is used to represent the real-time receiving delay information. The real-time network revenue is calculated by the first late packet rate and the first buffer length, which is defined as the first network revenue. It should be noted that the calculation formula for the network revenue can be set according to the actual jitter buffer adjustment requirements. For example, the first network revenue is obtained by dividing 1 by the product of the first late packet rate and the first buffer length. The embodiment of the present application does not impose fixed restrictions on the specific calculation formula, which will not be elaborated here.

[0041] Furthermore, by counting the delay time of each late packet within a set time period, based on the delay time, it is counted how many of these late packets will become normally received data packets, or how many normal data packets will become late packets after the jitter buffer is adjusted as set, so as to calculate the late packet rate after the jitter buffer is adjusted, and define the late packet rate as the second late packet rate.

[0042] Among them, the packet delay time is expressed as how much the jitter buffer needs to be increased so that the data packet can be played just in time without being late. Therefore, by determining the packet delay time of each packet delay, when the jitter buffer is adjusted according to the setting, it can be determined which late packets have become normal data packets according to its adjustment results, and then the second packet delay rate is obtained by dividing the number of remaining late packets by the total number of data packets. Similarly, according to the above-mentioned first buffer length and the increased size of the jitter buffer, the size of the jitter buffer after adjustment is determined, which is defined as the second buffer length. Then, according to the second late packet rate and the second buffer length, the network benefit after the jitter buffer adjustment is calculated, which is defined as the second network benefit.

[0043] It is understandable that the adjustment of the jitter buffer tends to increase the network revenue in order to obtain a better audio and video playback experience. Therefore, the embodiment of the present application compares the size of the first network revenue and the second network revenue to determine whether to adjust the size of the jitter buffer according to the set adjustment based on the comparison result of the two. The size of the jitter buffer is adaptively adjusted by calculating the network revenue, which is calculated based on the network late packet rate and the receiving delay, thereby balancing the late packet rate and the receiving delay, and also ensuring that the network revenue can be increased as much as possible, thereby improving the audio and video transmission and playback effects, and improving the user experience.

[0044] Specifically, when calculating network revenue, by determining the preset late packet rate weight and buffer length weight, based on the first late packet rate, the late packet rate weight, the first buffer length and the buffer length weight, the first network revenue is calculated using the set revenue calculation formula. In order to balance the two indicators of late packet rate and receiving delay, different weights need to be set for them respectively. They are defined as late packet rate weight and buffer length weight respectively, and the network revenue is calculated by combining the weights to ensure that the calculated network revenue truly reflects the network situation.

[0045] Among them, the weight of the late packet rate and the weight of the buffer length are set according to the type of network transmission, which includes real-time audio and video communication or live audio and video transmission. For example, in the real-time audio and video communication scenario, the real-time requirements for audio and video are higher, so the weight of the receiving delay should be greater, that is, reducing the receiving delay is more important, and the network benefit of reducing the receiving delay is higher. In the live audio and video transmission scenario, the real-time requirements are relatively lower, so the weight of the late packet rate should be greater, that is, reducing the late packet rate and improving the sound quality are more important, and the benefit of reducing the late packet rate is higher. By setting the corresponding late packet rate weight and buffer length weight for different scenarios, the network benefit finally calculated can meet the network requirements in the actual scenario, and achieve a better jitter buffer adjustment effect.

[0046] In addition, in the set revenue calculation formula, the first network revenue and the first late packet rate are in a logarithmic functional relationship, and the first network revenue and the first buffer length are in an inversely proportional functional relationship.

[0047] Generally speaking, the late packet rate is relatively small, and the late packet rate of most networks is around 1%. The maximum range of the late packet rate is [0, 1], so it is suitable to be represented by a logarithmic function. The corresponding numerical range of the logarithmic function in the interval [0, 1] is larger and satisfies monotonicity. The receiving delay depends on the size of the jitter buffer, that is, the receiving delay = jitter buffer size * data packet duration. For the convenience of calculation, the embodiment of the present application directly uses the jitter buffer size to represent the receiving delay. The size of the jitter buffer is usually in the interval [0, 100], and the range of numerical variation is relatively normal. Therefore, the embodiment of the present application directly uses an inverse function to represent its relationship with network revenue, which also satisfies monotonicity.

[0048] Based on the corresponding settings of the above-mentioned set income calculation formula, the set income calculation formula is obtained as follows:

[0049] Q=w1*(-lnR) / (w2*S)

[0050] Wherein, Q represents network revenue, w1 represents the late packet rate weight, R represents the late packet rate, w2 represents the buffer length weight, and S represents the buffer length, that is, the size of the jitter buffer.

[0051] Further, based on the above calculation formula, the first late packet rate and the first buffer length are substituted into the above formula to obtain the first network revenue Q1, and the second late packet rate and the second buffer length are substituted into the above formula to obtain the second network revenue Q2. By comparing the first network revenue and the second network revenue, when the second network revenue is greater than the first network revenue, the size of the jitter buffer is adjusted to the second buffer length. It can be understood that if Q2 is greater than Q1, it means that by adjusting the jitter buffer according to the setting, the network revenue can be increased to Q2. Therefore, by adjusting the size of the jitter buffer to the second buffer length, the network revenue can be increased and the audio and video playback effect can be optimized.

[0052] In actual applications, according to the network revenue calculation requirements, relevant calculation indicators can be adaptively added to the set revenue calculation formula to accurately calculate the real-time network revenue. The embodiment of the present application does not impose fixed restrictions on specific network revenue calculation indicators, which will not be elaborated here.

[0053] Reference Figure 2 The process of calculating the second network benefit based on the setting adjustment of the jitter buffer includes:

[0054] S1201: Increase or decrease a jitter buffer setting unit to obtain a second buffer length, and determine a second delayed packet rate of the network based on the delayed packet time and the second buffer length;

[0055] S1202. Calculate a second network revenue according to the second late packet rate and the second buffer length.

[0056] It should be noted that, when adjusting the jitter buffer, the embodiment of the present application first calculates the second network revenue after adjustment according to the setting, and only when the second network revenue exceeds the first network revenue, the jitter buffer is adjusted according to the setting adjustment, and its buffer length is expanded to the second buffer length. Otherwise, the original buffer length of the jitter buffer is maintained.

[0057] Specifically, Figure 3 As shown, referring to steps a1-a5, the second network revenue is calculated by increasing or decreasing the jitter buffer by one unit, and then judging whether to adjust the jitter buffer is based on whether the adjusted network revenue increases relative to the first network revenue.

[0058] For example, the current network revenue is calculated using the above-set revenue calculation formula at regular intervals. And based on the statistically collected late packet information, it is determined whether increasing or decreasing the size of the jitter buffer can increase the network revenue. If so, the jitter buffer is adjusted in the direction that can increase the network revenue; if not, the status quo is maintained.

[0059] Among them, according to the statistical distribution information of the delayed packet time, it is calculated how much the delayed packet rate will be reduced if the jitter buffer is increased by one unit, and a new delayed packet rate is obtained by combining the current delayed packet rate, and then a new network benefit is calculated using the new delayed packet rate and the new jitter buffer size. If the network benefit increases, the jitter buffer continues to be increased by one unit to calculate the network benefit, otherwise it stops.

[0060] Similarly, based on the statistical distribution information of the packet delay time, calculate how much the packet delay rate will increase if the jitter buffer is reduced by one unit. Then, combine the current packet delay rate to obtain a new packet delay rate, and then use the new packet delay rate and the new jitter buffer size to calculate a new network benefit. If the network benefit increases, continue to reduce the jitter buffer by one unit to calculate the network benefit, otherwise stop adjusting the jitter buffer.

[0061] Referring to the above adjustment method, the optimal buffer length of the jitter buffer is determined by continuously calculating the network revenue, so that the network packet delay rate and receiving delay can both be taken to a smaller value. In the audio and video transmission and playback scenarios, the user's needs for reducing the packet delay rate and reducing the receiving delay are met at the same time, providing a better experience for users.

[0062] In one embodiment, the adjustment period of the jitter buffer can also be set in combination with the actual network conditions. For example, the adjustment period of the jitter buffer is adaptively adjusted according to the range of the late packet rate and the buffer length. When the real-time late packet rate and the buffer length are large, it indicates that the current network conditions are poor, and a shorter adjustment period can be set. By adjusting the jitter buffer multiple times, the real-time transmission effect of audio and video transmission can be guaranteed in poor network conditions, and the audio and video transmission and playback effects can be improved. Similarly, when the network conditions are better, that is, when the real-time late packet rate and the buffer length are small, the adjustment period of the jitter buffer can also be adaptively increased. By reducing the adjustment period of the jitter buffer, the data processing pressure caused by frequent adjustment of the jitter buffer is avoided, and the stability of audio and video transmission is improved.

[0063] Optionally, in the actual jitter adjustment scenario, depending on whether the audio and video transmission is a live broadcast scenario or real-time audio and video communication, the jitter buffer adjustment method based on the above-mentioned network revenue can also be combined to perform jitter buffer adjustment. For example, in a real-time audio and video communication scenario, in order to ensure the real-time nature of audio and video communication, it is necessary to reduce the receiving delay. At this time, the jitter buffer can be adaptively reduced to buffer data packets with a shorter buffer length, thereby obtaining a smaller receiving delay. Then, the jitter buffer adjustment method of the embodiment of the present application is executed according to the adjusted jitter buffer. Similarly, for the audio and video live broadcast scenario, the late packet rate requirement is lower. At this time, the jitter buffer can be adaptively increased to avoid the late packet phenomenon as much as possible, and then the jitter buffer adjustment method of the embodiment of the present application is executed with the adjusted jitter buffer. According to different usage scenarios, the basic state of the jitter buffer is kept at a reasonable size to optimize the audio and video transmission effect and enhance the user experience.

[0064] In the above, by counting the first packet delay rate of the network, the first buffer length of the jitter buffer, and the packet delay time of each late packet within the set time period; then calculating the first network revenue based on the first packet delay rate and the first buffer length, and calculating the second network revenue after the jitter buffer completes the set adjustment based on the first packet delay rate, the first buffer length, and the packet delay time; comparing the first network revenue and the second network revenue, and adjusting the size of the jitter buffer according to the comparison result. By adopting the above technical means, by calculating the network revenue to adaptively adjust the size of the jitter buffer, it is possible to balance the network packet delay rate and the receiving delay, improve the network revenue, improve the audio and video transmission effect, and thus improve the user's audio and video playback experience.

[0065] Based on the above embodiments, Figure 4 A schematic diagram of the structure of a jitter buffer adjustment system based on network revenue provided by this application. Figure 4 The jitter buffer adjustment system based on network revenue provided in this embodiment specifically includes: a statistical module 21, a calculation module 22 and an adjustment module 23.

[0066] The statistical module 21 is configured to collect statistics on a first delayed packet rate of the network, a first buffer length of the jitter buffer, and a delayed packet time of each delayed packet within a set period of time;

[0067] The calculation module 22 is configured to calculate the first network revenue based on the first late packet rate and the first buffer length, and calculate the second network revenue after the jitter buffer completes the setting adjustment based on the first late packet rate, the first buffer length and the late packet time;

[0068] The adjustment module 23 is configured to compare the first network revenue and the second network revenue, and adjust the size of the jitter buffer according to the comparison result.

[0069] Specifically, based on the first packet delay rate, the first buffer length, and the packet delay time, calculating the second network benefit after the jitter buffer completes the setting adjustment includes:

[0070] Increasing or decreasing the jitter buffer setting unit to obtain a second buffer length, and determining a second delayed packet rate of the network based on the delayed packet time and the second buffer length;

[0071] The second network benefit is calculated according to the second late packet rate and the second buffer length.

[0072] Specifically, comparing the first network revenue and the second network revenue, and adjusting the size of the jitter buffer according to the comparison result, includes:

[0073] When the second network gain is greater than the first network gain, the size of the jitter buffer is adjusted to a second buffer length.

[0074] Specifically, calculating the first network revenue based on the first late packet rate and the first buffer length includes:

[0075] Determine the preset late packet rate weight and buffer length weight, and calculate the first network revenue using the set revenue calculation formula based on the first late packet rate, the late packet rate weight, the first buffer length and the buffer length weight.

[0076] Specifically, the late packet rate weight and the buffer length weight are set according to the network transmission type, and the network transmission type includes real-time audio and video communication or live audio and video transmission.

[0077] Specifically, in the revenue calculation formula, the first network revenue and the first late packet rate are in a logarithmic functional relationship, and the first network revenue and the first buffer length are in an inversely proportional functional relationship.

[0078] In the above, by counting the first packet delay rate of the network, the first buffer length of the jitter buffer, and the packet delay time of each late packet within the set time period; then calculating the first network revenue based on the first packet delay rate and the first buffer length, and calculating the second network revenue after the jitter buffer completes the set adjustment based on the first packet delay rate, the first buffer length, and the packet delay time; comparing the first network revenue and the second network revenue, and adjusting the size of the jitter buffer according to the comparison result. By adopting the above technical means, by calculating the network revenue to adaptively adjust the size of the jitter buffer, it is possible to balance the network packet delay rate and the receiving delay, improve the network revenue, improve the audio and video transmission effect, and thus improve the user's audio and video playback experience.

[0079] The jitter buffer adjustment system based on network revenue provided in the embodiment of the present application can be configured to execute the jitter buffer adjustment method based on network revenue provided in the above embodiment, and has corresponding functions and beneficial effects.

[0080] Based on the above practical example, the embodiment of the present application also provides a jitter buffer adjustment device based on network revenue, referring to Figure 5 , the jitter buffer adjustment device based on network revenue includes: a processor 31, a memory 32, a communication module 33, an input device 34 and an output device 35. The memory 32, as a computer-readable storage medium, can be configured to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the jitter buffer adjustment method based on network revenue described in any embodiment of the present application (for example, a statistical module, a calculation module and an adjustment module in a jitter buffer adjustment system based on network revenue). The communication module 33 is configured to perform data transmission. The processor 31 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, to implement the above-mentioned jitter buffer adjustment method based on network revenue. The input device 34 can be configured to receive input digital or character information, and generate key signal input related to user settings and function control of the device. The output device 35 may include a display device such as a display screen. The jitter buffer adjustment device based on network revenue provided above can be configured to execute the jitter buffer adjustment method based on network revenue provided in the above-mentioned embodiment, and has corresponding functions and beneficial effects.

[0081] On the basis of the above embodiments, the embodiments of the present application further provide a storage medium containing computer executable instructions, wherein the computer executable instructions are configured to execute a jitter buffer adjustment method based on network revenue when executed by a computer processor, and the storage medium may be any of various types of memory devices or storage devices. Of course, the storage medium containing computer executable instructions provided in the embodiments of the present application, whose computer executable instructions are not limited to the jitter buffer adjustment method based on network revenue as described above, may also execute the related operations in the jitter buffer adjustment method based on network revenue provided in any embodiment of the present application.

[0082] On the basis of the above embodiments, the embodiments of the present application also provide a computer program product. The essence of the technical solution of the present application 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 jitter buffer adjustment method based on network revenue described in each embodiment of the present application.

Claims

1. A jitter buffer adjustment method based on network revenue, It is characterized in that include: Counting the first packet delay rate of the network, the first buffer length of the jitter buffer, and the packet delay time of each delayed packet within a set period of time, wherein the packet delay time is expressed as how much the jitter buffer needs to be increased so that the data packet can be played just in time and not be late; Calculate a first network benefit based on the first late packet rate and the first buffer length, increase or decrease the jitter buffer setting unit to obtain a second buffer length, determine a second late packet rate of the network based on the late packet time and the second buffer length, and calculate a second network benefit based on the second late packet rate and the second buffer length; comparing the first network revenue and the second network revenue, and adjusting the size of the jitter buffer according to the comparison result; The first network revenue and the first late packet rate are in a logarithmic function relationship, and the first network revenue and the first buffer length are in an inverse proportional function relationship. The calculation formula of the first network revenue is expressed as: Q=w 1 *(-lnR) / (w 2 *S) Where Q represents the first network revenue, w 1 represents the late packet rate weight, R represents the first late packet rate, w 2 represents the buffer length weight, and S represents the first buffer length.

2. The jitter buffer adjustment method based on network revenue according to claim 1, It is characterized in that The comparing the first network revenue and the second network revenue, and adjusting the size of the jitter buffer according to the comparison result, includes: When the second network gain is greater than the first network gain, the size of the jitter buffer is adjusted to the second buffer length.

3. The jitter buffer adjustment method based on network revenue according to claim 1, It is characterized in that The late packet rate weight and the buffer length weight are set according to the network transmission type, and the network transmission type includes real-time audio and video communication or live audio and video transmission.

4. A jitter buffer adjustment system based on network revenue, It is characterized in that include: A statistics module configured to count a first packet delay rate of the network, a first buffer length of the jitter buffer, and a packet delay time of each late packet within a set period of time, wherein the packet delay time is expressed as how much the jitter buffer needs to be increased so that the data packet can be played just in time and not be late; a calculation module configured to calculate a first network benefit based on the first late packet rate and the first buffer length, increase or decrease the jitter buffer setting unit to obtain a second buffer length, determine a second late packet rate of the network based on the late packet time and the second buffer length, and calculate a second network benefit based on the second late packet rate and the second buffer length; an adjustment module, configured to compare the first network revenue and the second network revenue, and adjust the size of the jitter buffer according to the comparison result; The first network revenue and the first late packet rate are in a logarithmic function relationship, and the first network revenue and the first buffer length are in an inverse proportional function relationship. The calculation formula of the first network revenue is expressed as: Q=w 1 *(-lnR) / (w 2 *S) Where Q represents the first network revenue, w 1 represents the late packet rate weight, R represents the first late packet rate, w 2 represents the buffer length weight, and S represents the first buffer length.

5. A jitter buffer adjustment device based on network revenue, It is characterized in that include: memory and one or more processors; The memory is configured 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 jitter buffer adjustment method based on network revenue as described in any one of claims 1-3.

6. A storage medium containing computer executable instructions, It is characterized in that When the computer executable instructions are executed by a computer processor, they are configured to execute the jitter buffer adjustment method based on network revenue as described in any one of claims 1-3.

7. A computer program product, It is characterized in that The computer program product includes instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the jitter buffer adjustment method based on network revenue as described in any one of claims 1-3.