Bandwidth estimation method and device, electronic equipment and storage medium

By dividing the network congestion detection duration into two segments and adaptively setting the code rate of padding packets, the problems of inaccurate bandwidth estimation and network impact in the existing technology are solved, achieving more accurate bandwidth estimation and reducing network delay. Effect.

CN118573574APending Publication Date: 2024-08-30DOUYIN VISION CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310196061.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing bandwidth estimation methods have low accuracy when the network is suddenly congested, causing the sending of padding packets to impact the network and affect user experience.

Method used

Divide the network congestion detection time period into a first time period and a second time period, send the first filling data packet at a code rate corresponding to the historical estimated bandwidth in the first time period, detect the network bandwidth, and detect the network congestion in the second time period. The second filling data packet is sent at the code rate corresponding to the first bandwidth to determine the bandwidth of the network.

Benefits of technology

By adaptively setting the code rate of padding packets, network bandwidth can be accurately estimated, reducing the impact of padding packets on the network, improving estimation accuracy and reducing latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573574A
    Figure CN118573574A
Patent Text Reader

Abstract

The invention discloses a bandwidth estimation method and device, electronic equipment and a storage medium, and belongs to the technical field of communication, the bandwidth estimation method of the embodiment of the invention comprises the following steps: in response to determining that a network is congested, sending a first filling data packet at a first code rate within a first time period, the first code rate is a code rate corresponding to a historical estimated bandwidth; detecting a first bandwidth of the network based on the first padding data; in a second time period after the first time period, a second filling data packet is sent at a second code rate, the second code rate is a code rate corresponding to the first bandwidth, and the sum of the first time period and the second time period is network congestion detection duration; and determining the maximum value of the bandwidth detected in the network congestion detection duration as the bandwidth of the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a bandwidth estimation method, device, electronic device and storage medium. Background Art

[0002] When the network is suddenly congested, it is necessary to accurately estimate the capacity of the network at that time. Usually, the bandwidth of the current network can be estimated by sending redundant data packets. However, the accuracy of existing bandwidth estimation methods is low. Summary of the invention

[0003] The embodiments of the present application provide a bandwidth estimation method, device, electronic device and storage medium, which can solve the problems arising in bandwidth estimation in related technologies.

[0004] In a first aspect, a bandwidth estimation method is provided, the method comprising: in response to determining that network congestion occurs, sending a first filling data packet at a first code rate within a first time period, wherein the first code rate is a code rate corresponding to a historical estimated bandwidth; based on the first filling data, detecting the first bandwidth of the network; in a second time period after the first time period, sending a second filling data packet at a second code rate, wherein the second code rate is a code rate corresponding to the first bandwidth, and the sum of the first time period and the second time period is a network congestion detection duration; and determining the maximum value of the bandwidth detected within the network congestion detection duration as the bandwidth of the network.

[0005] In a second aspect, a bandwidth estimation device is provided, which includes: a first sending module, used to send a first filling data packet at a first code rate within a first time period in response to determining that network congestion occurs, wherein the first code rate is a code rate corresponding to a historical estimated bandwidth; a detection module, used to detect the first bandwidth of the network based on the first filling data; a second sending module, used to send a second filling data packet at a second code rate within a second time period after the first time period, wherein the second code rate is a code rate corresponding to the first bandwidth, and the sum of the first time period and the second time period is a network congestion detection duration; a determination module, used to determine the maximum value of the bandwidth detected within the network congestion detection duration as the bandwidth of the network.

[0006] In a third aspect, an electronic device is provided, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps described in the first aspect.

[0007] In a fourth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0008] In a fifth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method described in the first aspect.

[0009] In an embodiment of the present application, the network congestion detection duration is divided into a first time period and a second time period. A first filling data packet is sent at a first code rate in the first time period, wherein the first code rate is a code rate corresponding to a historical estimated bandwidth, and the first bandwidth of the network is detected based on the first filling data packet. A second filling data packet is sent at a second code rate in the second time period, wherein the second code rate is a code rate corresponding to the first bandwidth, and the maximum value of the bandwidth detected in the network congestion detection duration is determined as the bandwidth of the network. In this way, by adaptively setting the code rates of the first filling data packet and the second filling data packet, not only can the bandwidth be accurately estimated, but also the impact on the network caused by sending the filling data packet can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1a A schematic diagram showing a bandwidth estimation in the related art;

[0011] Figure 1b A schematic diagram showing another bandwidth estimation method in the related art;

[0012] Figure 2 A schematic diagram showing a flow chart of a bandwidth estimation method provided in an embodiment of the present application is shown;

[0013] Figure 3a A schematic diagram showing a bandwidth estimation process provided by an embodiment of the present application is shown;

[0014] Figure 3b A schematic diagram showing a comparison between the time delay in the embodiment of the present application and the time delay in the related art;

[0015] Figure 4 A schematic diagram showing the structure of a bandwidth estimation device provided in an embodiment of the present application is shown;

[0016] Figure 5 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0018] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.

[0019] In a technical solution provided by the related art, when the network is suddenly congested, the estimated bandwidth of the bandwidth estimation module is generally the maximum bandwidth required. In order to accurately measure the capacity of the network at this time, it is necessary to send a padding data packet (padding). The function of the padding packet is to increase the transmission rate to the estimated bandwidth when the media bit rate underflows (the actual media bit rate is lower than the estimated bandwidth) to prevent the estimated bandwidth from being too low when the media bit rate underflows. Figure 1a As shown in the figure, at time T1, the network is congested and the available network bandwidth is reduced from b kbps to a kbps. At this time, in order to accurately estimate the available network bandwidth, padding is used to increase the media bandwidth to b kbps when the media is underflowing. The available network bandwidth is estimated at time T2 (T2 = T1 + P1) and padding is stopped.

[0020] When the network is congested, a large amount of padding data is sent, triggering large delays or packet loss. When the network is congested, the lower the available bandwidth, the greater the delay or packet loss, which seriously affects the user's subjective experience.

[0021] In view of the above technical solution, the related art provides an improved technical solution, in which, Figure 1b As shown in the figure, the padding amount is limited, and the padding upper limit c kbps is set to be less than b kbps. If the padding upper limit ckbps is equal to b kbps, the advantage of this solution is that it reduces the impact of padding data on the network. However, if the available bandwidth of the network exceeds the set threshold c kbps during congestion, the estimated network available bandwidth will be too small, resulting in inaccurate bandwidth estimation.

[0022] To address this, an embodiment of the present application provides a bandwidth estimation solution.

[0023] The bandwidth estimation solution provided in the embodiment of the present application is described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.

[0024] Figure 2 A flow chart of a bandwidth estimation method in an embodiment of the present application is shown, and the method can be executed by a communication device. In other words, the method can be executed by software or hardware installed on a communication device, and the communication device can be a terminal device. Figure 2 As shown, the method may include the following steps.

[0025] S210: In response to determining that network congestion occurs, sending a first padding data packet at a first code rate within a first time period.

[0026] Among them, the first code rate is a code rate corresponding to the historical estimated bandwidth, and the historical estimated bandwidth can be determined based on the bandwidth result detected in the previous network congestion detection cycle. If the current network is congested for the first time, the historical estimated bandwidth can be a preset bandwidth value, and the preset bandwidth value can be set according to actual conditions, and this application does not make any specific limitations.

[0027] It is understandable that at a certain point in time, if the demand for a resource in the network exceeds the available part that the resource can provide, the network performance will be reduced, causing congestion. At this time, it is necessary to measure the capacity of the network at this time by sending the first filling data packet. The first bit rate of the first filling data packet is the bit rate corresponding to the historical estimated bandwidth, that is, the bit rate corresponding to the bandwidth estimated after the last network congestion.

[0028] Bandwidth refers to the amount of data that can be transmitted per unit time, generally in MB / s, i.e. megabits per second. Bit rate refers to the number of data bits transmitted per unit time, generally in kbps, i.e. kilobits per second. The unit of bandwidth is converted into the unit of bit rate, which is the bit rate corresponding to (or matching) the bandwidth. For example, for a bandwidth of 2MB, the corresponding bit rate is 2048Kbps.

[0029] Specifically, the historical estimated bandwidth can be the network bandwidth used in the last network congestion detection cycle. Therefore, when estimating the bandwidth of the current network congestion detection cycle, the historical estimated bandwidth can be used as a reference, that is, the first bit rate of the first filling data packet is set to a bit rate that matches the historical estimated bandwidth. In this way, bit rate adaptation is achieved, thereby more accurately estimating the actual available bandwidth of the current network.

[0030] S220: Detect a first bandwidth of the network based on the first filling data.

[0031] It can be understood that the first bandwidth of the network is detected based on the first filling data within a first time period, wherein the first time period refers to the duration of continuously sending the first filling data packet.

[0032] Optionally, the first time period may be 100ms to 300ms. It is understandable that if the first time period is less than 100ms, the detected first bandwidth may be inaccurate due to network jitter. If the first time period is more than 300ms, it may cause a greater impact on the network.

[0033] S230: Send a second padding data packet at a second code rate in a second time period after the first time period.

[0034] The second code rate is a code rate corresponding to the first bandwidth, and the sum of the first time period and the second time period is the network congestion detection duration.

[0035] It can be understood that by setting the second filling data packet using the bit rate of the first bandwidth detected in the first time period as the second bit rate, it is possible to avoid the problem of only sending the first filling data packet during the entire network congestion detection period to measure the estimated bandwidth, thereby increasing the burden on the network and causing a greater impact on the network.

[0036] In one implementation, the first filling data and the second filling data may include one of the following:

[0037] (1) Data without specific meaning: By adopting this possible implementation method, meaningless data is used as padding packets to avoid the situation where the receiving end cannot receive useful data packets in time due to network congestion;

[0038] (2) Data sent before it is determined that the network starts to be congested. By adopting this possible implementation method, the data sent before the network starts to be congested is used as a padding packet, which can ensure the reliability of the data sent before the network starts to be congested.

[0039] S240: Determine the maximum value of the bandwidth detected within the network congestion detection time as the bandwidth of the network.

[0040] It can be understood that during the network congestion detection duration, the maximum confirmed bandwidth of the network is detected in the first time period by sending a first filling data packet, and the maximum confirmed bandwidth of the network is detected in the second time period by sending a second filling data packet, then the estimated bandwidth is determined to be the larger maximum confirmed bandwidth detected in the first time period and the second time period.

[0041] In an embodiment of the present application, the network congestion detection duration is divided into a first time period and a second time period. A first filling data packet is sent at a first code rate in the first time period, wherein the first code rate is a code rate corresponding to the historical estimated bandwidth. After sending the first filling data packet, the network is detected to obtain the first bandwidth actually available to the network in the first time period. A second filling data packet is sent at a second code rate in the second time period, wherein the second code rate is a code rate corresponding to the first bandwidth, and finally the estimated bandwidth is determined to be the maximum value of the bandwidth detected during the network congestion detection duration. In this way, by adaptively setting the code rates of the first filling data packet and the second filling data packet, not only can the estimated bandwidth be accurately measured, but also the impact on the network caused by sending the filling data packet can be reduced.

[0042] In one implementation, determining that the network is congested may include: determining that the network is congested when a network overload is detected. For example, when the network is not congested, the network overload is detected for the first time, and then determining that the network is congested.

[0043] It can be understood that overload refers to the phenomenon that the amount of data arriving at a certain part of the communication subnet is too much, making it impossible for this part of the network to process it in time, resulting in a phenomenon in which the performance of this part or even the entire network is degraded, such as transmission timeout (for example, the transmission time exceeds a first threshold), data packet loss (for example, the data packet loss rate exceeds a second threshold, etc.), etc. In this implementation method, when the network is detected to be overloaded for the first time, it is determined that the network is beginning to be congested, thereby ensuring that the network congestion is known in a timely manner.

[0044] Preferably, the real-time communication technology (Web Real-Time Communications, WebRTC) can be used to detect whether the network is overloaded. That is, when the network is congested, the packet loss rate can be used to reflect the network congestion. If the packet loss rate is very small or 0, it means that the network is in good condition; on the contrary, if the packet loss rate increases, it means that the network is getting worse. It is also possible to determine whether the network is overloaded by the growth trend of the delay difference of the arrival time of each group of data packets.

[0045] In one implementation, the first time period may be the time interval between the first overload and the nth overload among the n consecutive overloads detected, where n is an integer greater than 1. For example, the first time period may be the time interval between two adjacent overloads. Alternatively, the first time period may also be the minimum time required to detect a stable network bandwidth, for example, 100 ms, which may be determined according to actual applications and is not limited in the embodiments of the present application.

[0046] In this implementation, the first time period is determined by the time interval between the first overload and the nth overload among the n consecutively detected overloads, thereby achieving high-precision time division and ensuring the accuracy of bandwidth estimation.

[0047] In one implementation, the network congestion detection duration may be the time interval between the first overload and the Nth overload among N consecutive overloads detected, where N is an integer greater than 1, and N>n. The network congestion detection duration may be the time interval between the first overload and the fifth overload among five consecutive overloads detected, and the first time period may be the time interval between the second overload detection and the first overload detection. However, this is not limited thereto, and in specific applications, it may be determined according to the actual state of the network.

[0048] It should be noted that the first time period and the second time period constitute the network congestion detection duration. Therefore, the number of network overloads in the first time period is less than the number of network overloads in the entire network congestion detection duration, that is, N>n. This can avoid aggravating network congestion due to sending filling data packets with historical estimated bandwidth during the entire network congestion detection duration, and can also avoid inaccurate bandwidth estimation due to the bandwidth of the sent filling data packets being too small.

[0049] In one implementation, detecting the first bandwidth of the network based on the first filling data includes: tracking the maximum confirmed bandwidth in the first time period through a filter to acquire the first bandwidth.

[0050] It can be understood that the filter not only has little impact on the network but can also amplify the signal, so that the maximum confirmed bandwidth in the first time period can be detected to obtain the first bandwidth without affecting network transmission.

[0051] In another implementation, the maximum confirmation bandwidth tracked by the filter becomes invalid after the first time period ends.

[0052] It can be understood that the function of the filter in the first time period is to detect the maximum confirmation bandwidth in the first time period, and the maximum confirmation bandwidth is used to obtain the first bandwidth, and the first bandwidth is used to determine the bit rate of the second filling data packet in the second time period. Therefore, the maximum confirmation bandwidth becomes invalid after the end of the first time period, thereby avoiding interference with the detection of the maximum confirmation bandwidth in the second time period.

[0053] It should be noted that the data sent before it is determined that the network begins to be congested can be sent multiple times, because even if multiple data are discarded in the network, they will still be received.

[0054] Figure 3a A schematic diagram showing a bandwidth estimation process in an embodiment of the present application is shown. Figure 3a In the example, assume the following situation: the network is detected to be overloaded for the first time at time T1, and the actual network bandwidth is b kps before time T1 and becomes a kps after time T1.

[0055] In view of the above situation, Figure 3a In the embodiment of the present application, at time T1, the first padding amount is set to b kps, and the effective time of the padding is P1. Then, a filter is used to track the maximum confirmed bandwidth within the P1 time period, and the maximum confirmed bandwidth is obtained as a kps. The maximum confirmed bandwidth becomes invalid at time T2. At time T2, the second padding amount is set according to the obtained maximum confirmed bandwidth, and the second padding amount is a kps. At this time, the bandwidth obtained from the filter is the maximum transmission bandwidth a kbps after adding padding, and a kbps is determined as the estimated bandwidth. At time T3, the network congestion detection ends, and the padding amount is no longer set. The technical solution provided by the embodiment of the present application can ensure the accuracy of bandwidth estimation and reduce network latency, such as Figure 3b As shown, compared with the padding amount being bkps at times T1 to T3, the technical solution provided in the embodiment of the present application can significantly reduce the delay.

[0056] In this embodiment, the padding amount is set twice. The first padding amount is set to the historical estimated bandwidth b kbps, and the second padding amount is set to the maximum confirmed bandwidth akbps tracked by the filter in the P1 time period. In this way, by adaptively setting the first padding amount and the second padding amount, not only the estimated bandwidth can be accurately measured, but also the impact of sending padding data packets on the network can be reduced.

[0057] The bandwidth estimation method provided in the embodiment of the present application may be executed by a bandwidth estimation device. In the embodiment of the present application, the bandwidth estimation device provided in the embodiment of the present application is described by taking the bandwidth estimation method executed by the bandwidth estimation device as an example.

[0058] Figure 4 A schematic diagram of the structure of a bandwidth estimation device provided in an embodiment of this specification is shown. Figure 4 As shown, the bandwidth estimation device 400 may include: a first sending module 410 , a detection module 420 , a second sending module 430 and a determination module 440 .

[0059] In an embodiment of the present application, a first sending module 410 is used to send a first filling data packet at a first code rate within a first time period in response to determining that network congestion occurs, wherein the first code rate is a code rate corresponding to a historical estimated bandwidth; a detection module 420 is used to detect a first bandwidth of the network based on the first filling data; a second sending module 430 is used to send a second filling data packet at a second code rate within a second time period after the first time period, wherein the second code rate is a code rate corresponding to the first bandwidth, and the sum of the first time period and the second time period is the network congestion detection duration; a determination module 340 is used to determine the maximum value of the bandwidth detected within the network congestion detection duration as the bandwidth of the network.

[0060] In one implementation, determining that network congestion occurs in the first sending module 410 includes: determining that network congestion occurs when a network overload is detected.

[0061] In one implementation, the first time period in the first sending module 410 is a time interval between a first overload and an nth overload among n consecutively detected overloads, where n is an integer greater than 1.

[0062] In one implementation, the network congestion detection duration in the second sending module 430 is the time interval between the first overload and the Nth overload among N consecutively detected overloads, where N is an integer greater than 1, and N>n.

[0063] In one implementation, the detection module 420 is further configured to obtain the first bandwidth by tracking the maximum confirmed bandwidth in the first time period through a filter.

[0064] In one implementation, the maximum confirmation bandwidth tracked by the filter becomes invalid after the first time period ends.

[0065] In one implementation, the first filling data and the second filling data in the first sending module 410 and the second sending module 430 may include one of the following: data without specific meaning; data sent before it is determined that the network begins to be congested.

[0066] Optional, such as Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 510 and a memory 520, a program or instruction stored in the memory 520 and executable on the processor 510, and the program or instruction, when executed by the processor 510, implements the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0067] The embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned bandwidth estimation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0068] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0069] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned bandwidth estimation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0070] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0071] The embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned bandwidth estimation method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here.

[0072] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0073] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0074] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A bandwidth estimation method, characterized in that: include: In response to determining that network congestion occurs, sending a first padding data packet at a first code rate within a first time period, wherein the first code rate is a code rate corresponding to a historical estimated bandwidth; Based on the first filling data, detecting a first bandwidth of the network; In a second time period after the first time period, sending a second padding data packet at a second code rate, wherein the second code rate is a code rate corresponding to the first bandwidth, and the sum of the first time period and the second time period is the network congestion detection duration; The maximum value of the bandwidth detected within the network congestion detection time period is determined as the bandwidth of the network.

2. The method according to claim 1, characterized in that: The determining that network congestion occurs includes: When it is detected that the network is overloaded, it is determined that the network is congested.

3. The method according to claim 2, characterized in that The first time period is a time interval between a first overload and an nth overload among n overloads detected continuously, where n is an integer greater than 1.

4. The method according to claim 3, characterized in that The network congestion detection duration is the time interval between the first overload and the Nth overload among N consecutively detected overloads, where N is an integer greater than 1, and N>n.

5. The method according to any one of claims 1 to 4, characterized in that: The detecting, based on the first filling data, a first bandwidth of the network includes: The first bandwidth is acquired by tracking the maximum confirmed bandwidth in the first time period through a filter.

6. The method according to claim 5, characterized in that The maximum confirmed bandwidth tracked by the filter becomes invalid after the first time period ends.

7. The method according to any one of claims 1 to 4, characterized in that: The first filling data and the second filling data include one of the following: Data without specific meaning; Data sent before it is determined that the network is beginning to become congested.

8. A bandwidth estimation device, characterized in that: include: A first sending module, configured to send a first padding data packet at a first code rate within a first time period in response to determining that network congestion occurs, wherein the first code rate is a code rate corresponding to a historical estimated bandwidth; A detection module, configured to detect a first bandwidth of the network based on the first filling data; A second sending module, configured to send a second padding data packet at a second code rate in a second time period after the first time period, wherein the second code rate is a code rate corresponding to the first bandwidth, and the sum of the first time period and the second time period is the network congestion detection duration; The determination module is used to determine the maximum value of the bandwidth detected within the network congestion detection time as the bandwidth of the network.

9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the bandwidth estimation method according to any one of claims 1 to 7.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the bandwidth estimation method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Bandwidth estimation method and apparatus, and electronic device and storage medium

    EP4675989A1

  • Bandwidth estimation method and apparatus, and electronic device and storage medium

    WO2024179299A1