CN116614393A - Weak network scene bandwidth estimation method and system based on RTC communication - Google Patents
Weak network scene bandwidth estimation method and system based on RTC communication Download PDFInfo
- Publication number
- CN116614393A CN116614393A CN202310896605.2A CN202310896605A CN116614393A CN 116614393 A CN116614393 A CN 116614393A CN 202310896605 A CN202310896605 A CN 202310896605A CN 116614393 A CN116614393 A CN 116614393A
- Authority
- CN
- China
- Prior art keywords
- bandwidth
- segment
- data
- network
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000006854 communication Effects 0.000 title claims abstract description 25
- 238000004891 communication Methods 0.000 title claims abstract description 24
- 238000012935 Averaging Methods 0.000 claims abstract description 7
- 230000000977 initiatory effect Effects 0.000 claims description 18
- 230000000903 blocking effect Effects 0.000 claims description 8
- 238000004904 shortening Methods 0.000 claims 2
- 238000001514 detection method Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/147—Network analysis or design for predicting network behaviour
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a weak network scene bandwidth estimation method and a weak network scene bandwidth estimation system based on RTC communication, which belong to the technical field of communication, wherein the method comprises the following steps: acquiring download data in a weak network mode in an RTC network; the downloaded data comprises sequentially received data segments with equal time length; measuring and calculating the band width of the segment head, the band width of the segment and the band width of the segment tail of the current data segment according to the data volume and the response time; averaging the bandwidth of the head, the bandwidth in the segment and the bandwidth of the tail of the segment to obtain the bandwidth of the current data segment, and defining the bandwidth as a first bandwidth; calculating the bandwidth between the current data segment and the next data segment, and defining the bandwidth as a second bandwidth; and estimating the bandwidth of the next data segment according to the first bandwidth and the second bandwidth to obtain the real-time bandwidth in the weak network mode in the RTC network. The method can estimate the network bandwidth of the subsequent data received by the receiving end in advance, improve the instantaneity of network bandwidth estimation, adjust the code rate in advance and avoid the condition of network congestion.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a weak network scene bandwidth estimation method and system based on RTC communication.
Background
The weak network scene is a scene used under the condition of poor network environment, has low network bandwidth and stability, and is easy to cause the problems of packet loss, delay and the like. The current network bandwidth estimation is mainly to estimate the current bandwidth, cannot predict the future network bandwidth, and lacks a weak network scene bandwidth estimation method under RTC communication.
Disclosure of Invention
Aiming at the defects in the prior art, the application provides a weak network scene bandwidth estimation method and a weak network scene bandwidth estimation system based on RTC communication, which can predict network conditions and have higher instantaneity of network bandwidth estimation.
In a first aspect, a method for estimating bandwidth of a weak network scenario based on RTC communication includes:
acquiring download data in a weak network mode in an RTC network; the downloaded data comprises sequentially received data segments with equal time length;
measuring and calculating the band width of the segment head, the band width of the segment and the band width of the segment tail of the current data segment according to the data volume and the response time;
averaging the bandwidth of the head, the bandwidth in the segment and the bandwidth of the tail of the segment to obtain the bandwidth of the current data segment, and defining the bandwidth as a first bandwidth;
calculating the bandwidth between the current data segment and the next data segment, and defining the bandwidth as a second bandwidth;
and estimating the bandwidth of the next data segment according to the first bandwidth and the second bandwidth to obtain the real-time bandwidth in the weak network mode in the RTC network.
Further, the method for measuring and calculating the band width of the segment head, the band width of the segment and the band width of the segment tail of the current data segment according to the data quantity and the response time specifically comprises the following steps:
extracting a first data volume S1 from the head of the data segment, recording the time between the initiation of a download request for downloading the first data volume and the completion of the download of the first data volume, defining as a first response time T1, and defining a segment head bandwidth T1 as follows: t1=s1/T1;
extracting a second data volume S2 in the middle of the data segment, recording the time between initiating a download request for downloading the second data volume and completing the download of the second data volume, defining a second response time T2, and defining a bandwidth T2 in the segment as: t2=s2/T2;
extracting a third data volume S3 at the tail of the data segment, recording the time between the initiation of a download request for downloading the third data volume and the completion of the download of the third data volume, defining a third response time T3, and defining a segment tail bandwidth T3 as follows: t3=s3/T3.
Further, the definition of the first bandwidth T4 is:
T4=(T1+T2+T3)/3;
the second bandwidth T5 is estimated according to the standard bandwidth in the weak network mode in the RTC network;
the definition of the real-time bandwidth T6 in the weak network mode in the RTC network is:
T6=T4+T5。
further, the method for determining the time length of the data segment in the downloaded data comprises the following steps:
initializing the time length;
when the real-time bandwidth in the weak network mode in the RTC network meets the network blocking condition, the time length is shortened.
Further, after the real-time bandwidth in the weak network mode in the RTC network satisfies the network congestion condition, the method further includes:
the process for receiving the downloaded data is configured to run in the background;
storing the received download data into a cache space;
when the number of the data segments in the cache space is larger than the maximum cache threshold, the data segments in the cache space are displayed at a slow speed in sequence;
the data segments in the buffer space are emptied.
In a second aspect, a weak network scenario bandwidth estimation system based on RTC communication includes:
a receiving unit: the method comprises the steps of acquiring download data in a weak network mode in an RTC network; the downloaded data comprises sequentially received data segments with equal time length;
a first estimation unit: the method comprises the steps of measuring and calculating the band width of a segment head, the band width of a segment and the band width of a segment tail of a current data segment according to the data quantity and the response time; averaging the bandwidth of the head, the bandwidth in the segment and the bandwidth of the tail of the segment to obtain the bandwidth of the current data segment, and defining the bandwidth as a first bandwidth;
a second estimation unit: the bandwidth between the current data segment and the next data segment is measured and calculated, and the bandwidth is defined as a second bandwidth;
real-time bandwidth estimation unit: the method is used for estimating the bandwidth of the next data segment according to the first bandwidth and the second bandwidth so as to obtain the real-time bandwidth in the weak network mode in the RTC network.
Further, the first estimation unit is specifically configured to:
extracting a first data volume S1 from the head of the data segment, recording the time between the initiation of a download request for downloading the first data volume and the completion of the download of the first data volume, defining as a first response time T1, and defining a segment head bandwidth T1 as follows: t1=s1/T1;
extracting a second data volume S2 in the middle of the data segment, recording the time between initiating a download request for downloading the second data volume and completing the download of the second data volume, defining a second response time T2, and defining a bandwidth T2 in the segment as: t2=s2/T2;
extracting a third data volume S3 at the tail of the data segment, recording the time between the initiation of a download request for downloading the third data volume and the completion of the download of the third data volume, defining a third response time T3, and defining a segment tail bandwidth T3 as follows: t3=s3/T3.
Further, the definition of the first bandwidth T4 is:
T4=(T1+T2+T3)/3;
the second bandwidth T5 is estimated according to the standard bandwidth in the weak network mode in the RTC network;
the definition of the real-time bandwidth T6 in the weak network mode in the RTC network is:
T6=T4+T5。
further, the method further comprises the following steps: the segment length determining unit is used for:
initializing the time length;
when the real-time bandwidth in the weak network mode in the RTC network meets the network blocking condition, the time length is shortened.
Further, the method further comprises the following steps: the display unit is used for:
the process for receiving the downloaded data is configured to run in the background;
storing the received download data into a cache space;
when the number of the data segments in the cache space is larger than the maximum cache threshold, the data segments in the cache space are displayed at a slow speed in sequence;
the data segments in the buffer space are emptied.
According to the technical scheme, the weak network scene bandwidth estimation method and the weak network scene bandwidth estimation system based on RTC communication can estimate the network bandwidth of the subsequent data received by the receiving end in advance, improve the instantaneity of network bandwidth estimation, adjust the code rate in advance and avoid the condition of network congestion.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. Like elements or portions are generally identified by like reference numerals throughout the several figures. In the drawings, elements or portions thereof are not necessarily drawn to scale.
Fig. 1 is a flowchart of a weak network scenario bandwidth estimation method according to an embodiment.
Fig. 2 is a block diagram of a weak network scenario bandwidth estimation system according to an embodiment.
Detailed Description
Embodiments of the technical scheme of the present application will be described in detail below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present application, and thus are merely examples, and are not intended to limit the scope of the present application. It is noted that unless otherwise indicated, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Examples:
the weak network scene bandwidth estimation method based on RTC communication, see FIG. 1, comprises the following steps:
a: acquiring download data in a weak network mode in an RTC network; the downloaded data comprises sequentially received data segments with equal time length;
b: measuring and calculating the band width of the segment head, the band width of the segment and the band width of the segment tail of the current data segment according to the data volume and the response time;
c: averaging the bandwidth of the head, the bandwidth in the segment and the bandwidth of the tail of the segment to obtain the bandwidth of the current data segment, and defining the bandwidth as a first bandwidth;
d: calculating the bandwidth between the current data segment and the next data segment, and defining the bandwidth as a second bandwidth;
e: and estimating the bandwidth of the next data segment according to the first bandwidth and the second bandwidth to obtain the real-time bandwidth in the weak network mode in the RTC network.
In this embodiment, because the network bandwidth in the weak network mode fluctuates greatly, so that video streaming in RTC communication faces a great challenge, the weak network scene bandwidth estimation method can estimate the network bandwidth in real time, so as to adjust the coding rate in the communication process in real time, and make the transmission of the video streaming dynamically adapt to the real-time change of the network. The method for estimating the bandwidth of the weak network scene comprises the steps of firstly segmenting and downloading video streams, and firstly segmenting the video streams to be downloaded according to the segment length in equal length, wherein the time length of each segment is equal. Then, the receiving end in the RTC network sequentially receives the RTC network from front to back according to the segmentation order.
In this embodiment, the weak network scenario bandwidth estimation method first estimates the bandwidth of the current data segment, that is, selects a part of data amounts from the head, middle and tail of the current data segment, estimates the segment head bandwidth, the segment middle bandwidth and the segment tail bandwidth of the current data segment according to the corresponding data amounts, and then averages the segment head bandwidth, the segment middle bandwidth and the segment tail bandwidth to obtain the bandwidth of the current data segment. The weak network scenario bandwidth estimation method then estimates the bandwidth between the end of the reception of the current data segment and the beginning of the reception of the next data segment, defined as a second bandwidth, which is capable of reflecting the network conditions prior to the reception of the next data segment. The method for estimating the bandwidth of the weak network scene estimates the bandwidth of the next data segment according to the first bandwidth and the second bandwidth to obtain the real-time bandwidth in the weak network mode, namely, the network condition of the next data segment is estimated according to the network condition of the current data segment and the network condition before the next data segment is received, so that the code rate can be adjusted according to the estimated bandwidth before the next data segment is received, and the condition of network congestion is avoided.
The weak network scene bandwidth estimation method can estimate the network bandwidth of the subsequent data received by the receiving end in advance, improves the instantaneity of network bandwidth estimation, can adjust the code rate in advance, and avoids the condition of network congestion.
Further, in some embodiments, calculating the segment head bandwidth, the segment in-segment bandwidth, and the segment tail bandwidth of the current data segment from the data volume and the response time specifically includes:
extracting a first data volume S1 from the head of the data segment, recording the time between the initiation of a download request for downloading the first data volume and the completion of the download of the first data volume, defining as a first response time T1, and defining a segment head bandwidth T1 as follows: t1=s1/T1;
extracting a second data volume S2 in the middle of the data segment, recording the time between initiating a download request for downloading the second data volume and completing the download of the second data volume, defining a second response time T2, and defining a bandwidth T2 in the segment as: t2=s2/T2;
extracting a third data volume S3 at the tail of the data segment, recording the time between the initiation of a download request for downloading the third data volume and the completion of the download of the third data volume, defining a third response time T3, and defining a segment tail bandwidth T3 as follows: t3=s3/T3.
In this embodiment, the weak network scenario bandwidth estimation method estimates the head bandwidth, the middle bandwidth and the tail bandwidth according to the data amount and the response time. The first data volume, the second data volume and the third data volume are respectively confirmed or randomly extracted according to the requirements of users, and the first data volume, the second data volume and the third data volume can be the same or different. For example, when estimating the segment head bandwidth, a download request for downloading the first data amount S1 is initiated, the time T01 is recorded, then the downloading of the first data amount S1 is started, when the first data amount S1 is downloaded, the time T02 is recorded after the downloading of the first data amount S1 is completed, the first response time t1=t02-T01, and the segment head bandwidth t1=s1/T1 is obtained. Similarly, the estimation method of the band width in the segment and the band width of the segment tail is the same as the band width of the segment.
Further, in some embodiments, the definition of the first bandwidth T4 is:
T4=(T1+T2+T3)/3;
the second bandwidth T5 is estimated according to the standard bandwidth in the weak network mode in the RTC network;
the definition of the real-time bandwidth T6 in the weak network mode in the RTC network is:
T6=T4+T5。
in this embodiment, the bandwidth of the current data segment is equal to the average of the segment head bandwidth, the bandwidth in the segment, and the segment tail bandwidth, i.e., the first bandwidth t4= (t1+t2+t3)/3. The second bandwidth is obtained according to the standard bandwidth, and if the second bandwidth T5 is larger, this indicates that the network fluctuation is larger, and if the second bandwidth T5 is smaller, this indicates that the network fluctuation is smaller. And finally, the method for estimating the bandwidth of the weak network scene accumulates the second bandwidth on the basis of the first bandwidth to obtain the bandwidth condition of the next data segment received in the RTC network, so that the obtained real-time bandwidth can be changed along with the actual bandwidth change, and the bandwidth estimation is more accurate.
Further, in some embodiments, the method for determining the time length of the data segment in the downloaded data includes:
initializing the time length;
when the real-time bandwidth in the weak network mode in the RTC network meets the network blocking condition, the time length is shortened.
In this embodiment, the weak network scenario bandwidth estimation method may preset a default value of the time length, so that when the weak network scenario bandwidth estimation method starts to start operation, the time length is initialized according to the default value. When the real-time bandwidth meets the network blocking condition, the RTC network is blocked, and the time length is shortened to improve the real-time performance of bandwidth detection, so that the adjustment frequency of the code rate can be improved, and the network blocking condition can be relieved as soon as possible.
Further, in some embodiments, after the real-time bandwidth in the weak network mode in the RTC network satisfies the network congestion condition, further comprising:
the process for receiving the downloaded data is configured to run in the background;
storing the received download data into a cache space;
when the number of the data segments in the cache space is larger than the maximum cache threshold, the data segments in the cache space are displayed at a slow speed in sequence;
the data segments in the buffer space are emptied.
In this embodiment, since the network state in the weak network scenario is unstable, a video display will be blocked when the network is blocked, so that the method can buffer the received download data first when the network is blocked, and display the received download data in a unified manner when the received download data is buffered to a certain number. The video can be displayed at a slow speed during display, so that poor experience of sudden smooth and sudden clamping is avoided. And after the data in the cache space is displayed, the data in the cache space is emptied. So that the buffer space can be used for buffering data the next time the network is blocked.
A weak network scenario bandwidth estimation system based on RTC communications, see fig. 2, comprising:
receiving unit 1: the method comprises the steps of acquiring download data in a weak network mode in an RTC network; the downloaded data comprises sequentially received data segments with equal time length;
the first estimation unit 2: the method comprises the steps of measuring and calculating the band width of a segment head, the band width of a segment and the band width of a segment tail of a current data segment according to the data quantity and the response time; averaging the bandwidth of the head, the bandwidth in the segment and the bandwidth of the tail of the segment to obtain the bandwidth of the current data segment, and defining the bandwidth as a first bandwidth;
the second estimation unit 3: the bandwidth between the current data segment and the next data segment is measured and calculated, and the bandwidth is defined as a second bandwidth;
real-time bandwidth estimation unit 4: the method is used for estimating the bandwidth of the next data segment according to the first bandwidth and the second bandwidth so as to obtain the real-time bandwidth in the weak network mode in the RTC network.
Further, in some embodiments, the first estimation unit 2 is specifically configured to:
extracting a first data volume S1 from the head of the data segment, recording the time between the initiation of a download request for downloading the first data volume and the completion of the download of the first data volume, defining as a first response time T1, and defining a segment head bandwidth T1 as follows: t1=s1/T1;
extracting a second data volume S2 in the middle of the data segment, recording the time between initiating a download request for downloading the second data volume and completing the download of the second data volume, defining a second response time T2, and defining a bandwidth T2 in the segment as: t2=s2/T2;
extracting a third data volume S3 at the tail of the data segment, recording the time between the initiation of a download request for downloading the third data volume and the completion of the download of the third data volume, defining a third response time T3, and defining a segment tail bandwidth T3 as follows: t3=s3/T3.
Further, in some embodiments, the definition of the first bandwidth T4 is:
T4=(T1+T2+T3)/3;
the second bandwidth T5 is estimated according to the standard bandwidth in the weak network mode in the RTC network;
the definition of the real-time bandwidth T6 in the weak network mode in the RTC network is:
T6=T4+T5。
further, in some embodiments, further comprising: the segment length determination unit 5 is configured to:
initializing the time length;
when the real-time bandwidth in the weak network mode in the RTC network meets the network blocking condition, the time length is shortened.
Further, in some embodiments, further comprising: the display unit 6 is used for:
the process for receiving the downloaded data is configured to run in the background;
storing the received download data into a cache space;
when the number of the data segments in the cache space is larger than the maximum cache threshold, the data segments in the cache space are displayed at a slow speed in sequence;
the data segments in the buffer space are emptied.
For a brief description of the system provided by the embodiments of the present application, reference may be made to the corresponding content in the foregoing embodiments where the description of the embodiments is not mentioned.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application, and are intended to be included within the scope of the appended claims and description.
Claims (10)
1. The weak network scene bandwidth estimation method based on RTC communication is characterized by comprising the following steps of:
acquiring download data in a weak network mode in an RTC network; the downloaded data comprises sequentially received data segments with equal time length;
measuring and calculating the head bandwidth, the middle bandwidth and the tail bandwidth of the current data segment according to the data volume and the response time;
averaging the segment head bandwidth, the segment middle bandwidth and the segment tail bandwidth to obtain the bandwidth of the current data segment, wherein the bandwidth is defined as a first bandwidth;
calculating the bandwidth between the current data segment and the next data segment, and defining the bandwidth as a second bandwidth;
and estimating the bandwidth of the next data segment according to the first bandwidth and the second bandwidth to obtain the real-time bandwidth in the weak network mode in the RTC network.
2. The method for estimating the bandwidth of the weak network scenario based on RTC communication according to claim 1, wherein the calculating the header bandwidth, the mid-segment bandwidth and the end-of-segment bandwidth of the current data segment according to the data volume and the response time specifically includes:
extracting a first data volume S1 from the header of the data segment, recording the time between the initiation of a download request for downloading the first data volume and the completion of the download of the first data volume, defining a first response time T1, and defining the segment header bandwidth T1 as follows: t1=s1/T1;
extracting a second data volume S2 in the middle of the data segment, and recording the time between initiating a download request for downloading the second data volume and completing the download of the second data volume, wherein the time is defined as a second response time T2, and the definition of the bandwidth T2 in the segment is as follows: t2=s2/T2;
extracting a third data volume S3 at the tail of the data segment, recording the time between the initiation of the downloading request for downloading the third data volume and the completion of the downloading of the third data volume, defining a third response time T3, and defining a segment tail bandwidth T3 as follows: t3=s3/T3.
3. The method for estimating bandwidth of a weak network scenario based on RTC communication according to claim 2, characterized in that the definition of the first bandwidth T4 is:
T4=(T1+T2+T3)/3;
the second bandwidth T5 is obtained according to standard bandwidth estimation in a weak network mode in the RTC network;
the definition of the real-time bandwidth T6 in the weak network mode in the RTC network is:
T6=T4+T5。
4. the method for estimating bandwidth of a weak network scenario based on RTC communication according to claim 1, wherein the method for determining the time length of the data segment in the downloaded data includes:
initializing the length of time;
and when the real-time bandwidth in the weak network mode in the RTC network meets the network blocking condition, shortening the time length.
5. The method for estimating bandwidth of a weak network scenario based on RTC communication according to claim 4, further comprising, after the real-time bandwidth in the weak network mode in the RTC network satisfies a network congestion condition:
configuring a process for receiving the downloaded data to run in the background;
storing the received download data into a cache space;
when the number of the data segments in the cache space is larger than a maximum cache threshold, sequentially displaying the data segments in the cache space at a slow speed;
and clearing the data segment in the cache space.
6. A weak network scenario bandwidth estimation system based on RTC communications, comprising:
a receiving unit: the method comprises the steps of acquiring download data in a weak network mode in an RTC network; the downloaded data comprises sequentially received data segments with equal time length;
a first estimation unit: the method comprises the steps of measuring and calculating the head bandwidth, the middle bandwidth and the tail bandwidth of the current data segment according to the data quantity and the response time; averaging the segment head bandwidth, the segment middle bandwidth and the segment tail bandwidth to obtain the bandwidth of the current data segment, wherein the bandwidth is defined as a first bandwidth;
a second estimation unit: the bandwidth between the current data segment and the next data segment is measured and calculated, and the bandwidth is defined as a second bandwidth;
real-time bandwidth estimation unit: and estimating the bandwidth of the next data segment according to the first bandwidth and the second bandwidth to obtain the real-time bandwidth in the weak network mode in the RTC network.
7. The RTC communication-based weak network scene bandwidth estimation system according to claim 6, wherein said first estimation unit is specifically configured to:
extracting a first data volume S1 from the header of the data segment, recording the time between the initiation of a download request for downloading the first data volume and the completion of the download of the first data volume, defining a first response time T1, and defining the segment header bandwidth T1 as follows: t1=s1/T1;
extracting a second data volume S2 in the middle of the data segment, and recording the time between initiating a download request for downloading the second data volume and completing the download of the second data volume, wherein the time is defined as a second response time T2, and the definition of the bandwidth T2 in the segment is as follows: t2=s2/T2;
extracting a third data volume S3 at the tail of the data segment, recording the time between the initiation of the downloading request for downloading the third data volume and the completion of the downloading of the third data volume, defining a third response time T3, and defining a segment tail bandwidth T3 as follows: t3=s3/T3.
8. The RTC communication-based weak network scene bandwidth estimation system according to claim 7, wherein said first bandwidth T4 is defined as:
T4=(T1+T2+T3)/3;
the second bandwidth T5 is obtained according to standard bandwidth estimation in a weak network mode in the RTC network;
the definition of the real-time bandwidth T6 in the weak network mode in the RTC network is:
T6=T4+T5。
9. the RTC communication-based weak network scene bandwidth estimation system of claim 6, further comprising: the segment length determining unit is used for:
initializing the length of time;
and when the real-time bandwidth in the weak network mode in the RTC network meets the network blocking condition, shortening the time length.
10. The RTC communication-based weak network scene bandwidth estimation system of claim 9, further comprising: the display unit is used for:
configuring a process for receiving the downloaded data to run in the background;
storing the received download data into a cache space;
when the number of the data segments in the cache space is larger than a maximum cache threshold, sequentially displaying the data segments in the cache space at a slow speed;
and clearing the data segment in the cache space.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310896605.2A CN116614393B (en) | 2023-07-21 | 2023-07-21 | Weak network scene bandwidth estimation method and system based on RTC communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310896605.2A CN116614393B (en) | 2023-07-21 | 2023-07-21 | Weak network scene bandwidth estimation method and system based on RTC communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116614393A true CN116614393A (en) | 2023-08-18 |
CN116614393B CN116614393B (en) | 2023-11-28 |
Family
ID=87682260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310896605.2A Active CN116614393B (en) | 2023-07-21 | 2023-07-21 | Weak network scene bandwidth estimation method and system based on RTC communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116614393B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369980A (en) * | 2008-09-26 | 2009-02-18 | 北京航空航天大学 | Band width estimation method based on self-adapting sampling |
CN101414938A (en) * | 2008-11-28 | 2009-04-22 | 华南理工大学 | Self-adapting real-time detection method for digital household network available bandwidth |
CN101631030A (en) * | 2009-08-05 | 2010-01-20 | 华南理工大学 | Prediction method of self-adapting digital home network flow media transmission band width |
CN102404174A (en) * | 2011-12-27 | 2012-04-04 | 成都飞鱼星科技开发有限公司 | Method for detecting network bandwidth |
CN104348680A (en) * | 2013-08-08 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Method and device for detecting network speed |
CN105050133A (en) * | 2015-07-31 | 2015-11-11 | 腾讯科技(深圳)有限公司 | Method and device for detecting internet speed under Wi-Fi hotspot |
CN106162229A (en) * | 2015-04-10 | 2016-11-23 | 北京大学 | Improve smooth code check adaptive approach and the device of fairness |
WO2018184189A1 (en) * | 2017-04-07 | 2018-10-11 | 天彩电子(深圳)有限公司 | Adaptive code rate adjustment method and system thereof |
WO2021179304A1 (en) * | 2020-03-13 | 2021-09-16 | 深圳市大疆创新科技有限公司 | Method for automatically adjusting video live broadcast bit rate, video transmission device, and server |
CN114501542A (en) * | 2022-03-07 | 2022-05-13 | 浙江理工大学 | Adaptive bandwidth estimation method and system based on MPTCP coupling |
-
2023
- 2023-07-21 CN CN202310896605.2A patent/CN116614393B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369980A (en) * | 2008-09-26 | 2009-02-18 | 北京航空航天大学 | Band width estimation method based on self-adapting sampling |
CN101414938A (en) * | 2008-11-28 | 2009-04-22 | 华南理工大学 | Self-adapting real-time detection method for digital household network available bandwidth |
CN101631030A (en) * | 2009-08-05 | 2010-01-20 | 华南理工大学 | Prediction method of self-adapting digital home network flow media transmission band width |
CN102404174A (en) * | 2011-12-27 | 2012-04-04 | 成都飞鱼星科技开发有限公司 | Method for detecting network bandwidth |
CN104348680A (en) * | 2013-08-08 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Method and device for detecting network speed |
CN106162229A (en) * | 2015-04-10 | 2016-11-23 | 北京大学 | Improve smooth code check adaptive approach and the device of fairness |
CN105050133A (en) * | 2015-07-31 | 2015-11-11 | 腾讯科技(深圳)有限公司 | Method and device for detecting internet speed under Wi-Fi hotspot |
WO2018184189A1 (en) * | 2017-04-07 | 2018-10-11 | 天彩电子(深圳)有限公司 | Adaptive code rate adjustment method and system thereof |
WO2021179304A1 (en) * | 2020-03-13 | 2021-09-16 | 深圳市大疆创新科技有限公司 | Method for automatically adjusting video live broadcast bit rate, video transmission device, and server |
CN114501542A (en) * | 2022-03-07 | 2022-05-13 | 浙江理工大学 | Adaptive bandwidth estimation method and system based on MPTCP coupling |
Also Published As
Publication number | Publication date |
---|---|
CN116614393B (en) | 2023-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11546399B2 (en) | Method and apparatus for providing a low latency transmission system using adjustable buffers | |
US12063162B2 (en) | Controlling a jitter buffer | |
US10686704B2 (en) | Method and apparatus for providing a low latency transmission system using adaptive buffering estimation | |
CN104980367B (en) | A kind of limiting speed of token bucket method and apparatus | |
US8538176B2 (en) | Method for sending compressed data representing a digital image and corresponding device | |
US8797850B2 (en) | System and method to adapt to network congestion | |
RU2458468C2 (en) | Method of transmitting data in communication system | |
US20100290454A1 (en) | Play-Out Delay Estimation | |
US20050094622A1 (en) | Method and apparatus providing smooth adaptive management of packets containing time-ordered content at a receiving terminal | |
JP2001094625A (en) | Data communication unit, data communication method and storage medium | |
CN108401128B (en) | Congestion control method in video call | |
WO2017215279A1 (en) | Video playback method and apparatus | |
CN112821992A (en) | Data transmission method and device, electronic equipment and storage medium | |
CN112995048A (en) | Blocking control and scheduling fusion method for data center network and terminal equipment | |
CN116614393B (en) | Weak network scene bandwidth estimation method and system based on RTC communication | |
US8107500B2 (en) | Communication control apparatus, communication control method, and computer program | |
EP2285111A1 (en) | Method for sending compressed data representing a digital image and corresponding device | |
CN111953978B (en) | Frame rate control method, device and storage medium | |
CN107800653B (en) | Message compression method and device | |
CN113709585A (en) | Streaming media playing method and device | |
US11805074B2 (en) | Control apparatus, control method and program | |
CN116346626A (en) | BBR2 protocol-based bandwidth detection method and cloud game system | |
CN115103235B (en) | Data transmission method, device, equipment and medium | |
CN111478929B (en) | Video service data transmission method and device | |
CN117412120A (en) | Video transmission method, video transmission device, system, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240506 Address after: 1501-1, 15th Floor, Building 2, No. 60 Heping West Road, Shijingshan District, Beijing, 100043 Patentee after: Zhongke Rongxin Technology Co.,Ltd. Country or region after: China Address before: Room 403, 4th Floor, Building 1, Yard 54, Shijingshan Road, Shijingshan District, Beijing, 100000 Patentee before: Zhongrong Yunshu (Beijing) Technology Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |