CN113709582B - A kind of bandwidth measurement method and device - Google Patents
A kind of bandwidth measurement method and device Download PDFInfo
- Publication number
- CN113709582B CN113709582B CN202110980375.9A CN202110980375A CN113709582B CN 113709582 B CN113709582 B CN 113709582B CN 202110980375 A CN202110980375 A CN 202110980375A CN 113709582 B CN113709582 B CN 113709582B
- Authority
- CN
- China
- Prior art keywords
- bandwidth
- video data
- preset
- current
- sampling
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64723—Monitoring of network processes or resources, e.g. monitoring of network load
- H04N21/64738—Monitoring network characteristics, e.g. bandwidth, congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
技术领域Technical field
本发明涉及流媒体技术,特别是涉及一种带宽测量方法和装置。The present invention relates to streaming media technology, and in particular to a bandwidth measurement method and device.
背景技术Background technique
随着近几年网络技术的发展,流媒体的使用已经遍布人们工作、生活的方方面面的,电视、手机、笔记本等各种终端中都要使用流媒体进行视频的播放,如何实现终端视频的流畅和快速播放成为影响用户视频观看体验的至关重要的因素。实现流媒体视频的流畅播放,需要在复杂多变的网络条件下,更加快速地计算出用户在当前时间段内准确的网络带宽值,从而可以自适应地切换到最合适的码率视频资源进行下载播放。With the development of network technology in recent years, the use of streaming media has spread across all aspects of people's work and life. Various terminals such as TVs, mobile phones, and notebooks use streaming media to play videos. How to achieve smooth terminal video and fast playback have become crucial factors affecting users’ video viewing experience. To achieve smooth playback of streaming video, it is necessary to more quickly calculate the user's accurate network bandwidth value in the current time period under complex and changeable network conditions, so that the user can adaptively switch to the most appropriate bit rate video resource for playback. Download and play.
目前,通常采用的带宽测量方案是:根据已下载流媒体片段的带宽信息或者将要下载的视频片段的下载时长等信息,构建QoE模型(如滤波器、李雅普诺夫模型等),然后,根据模型输出计算出当前带宽。Currently, the commonly used bandwidth measurement scheme is to construct a QoE model (such as a filter, Lyapunov model, etc.) based on the bandwidth information of downloaded streaming media clips or the download time of the video clips to be downloaded, and then, based on the model The output calculates the current bandwidth.
发明人在实现本申请的过程中,发现现有的带宽测量技术存在运算开销大、测量不准确以及实时性差的问题。In the process of implementing the present application, the inventor found that the existing bandwidth measurement technology has problems such as high computational overhead, inaccurate measurement, and poor real-time performance.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供一种带宽测量方法和装置,可以提高测量准确性和实时性,并且运算开销小。In view of this, the main purpose of the present invention is to provide a bandwidth measurement method and device that can improve measurement accuracy and real-time performance and have low computational overhead.
为了达到上述目的,本发明实施例提出的技术方案为:In order to achieve the above objects, the technical solutions proposed by the embodiments of the present invention are:
一种带宽测量方法,包括:A bandwidth measurement method that includes:
当客户端接收到服务器返回的视频数据时,根据预设的带宽过滤条件,判断所述视频数据的带宽是否需要过滤;如果不需要,则根据所述视频数据,更新当前的带宽测量参数;When the client receives the video data returned by the server, it determines whether the bandwidth of the video data needs to be filtered based on the preset bandwidth filtering conditions; if not, updates the current bandwidth measurement parameters based on the video data;
所述客户端实时地根据所述带宽测量参数和预设的采样周期,判断当前是否满足预设的带宽测量条件,如果是,则根据所述带宽测量参数,触发带宽采样,并获取当前的带宽采样点数量,根据已采样的带宽值和所述带宽采样点数量,计算当前的带宽测量值。The client determines whether the preset bandwidth measurement conditions are currently met based on the bandwidth measurement parameters and the preset sampling period in real time. If so, triggers bandwidth sampling based on the bandwidth measurement parameters and obtains the current bandwidth. The number of sampling points. Calculate the current bandwidth measurement value based on the sampled bandwidth value and the number of bandwidth sampling points.
较佳地,所述带宽过滤条件包括:Preferably, the bandwidth filtering conditions include:
所述视频数据属于预设的小数据量文件数据,所述小数据量文件数据包括索引文件数据和初始化片段数据;和/或,当前距离最近一次请求下载视频数据的时间间隔小于预设的过滤时间阈值。The video data belongs to preset file data with a small amount of data, and the file data with a small amount of data includes index file data and initialization segment data; and/or, the current time interval from the latest request to download video data is less than the preset filtering time threshold.
较佳地,所述带宽测量参数包括待用于带宽采样的传输时间和已接收且不需要过滤带宽的视频数据总量。Preferably, the bandwidth measurement parameters include the transmission time to be used for bandwidth sampling and the total amount of video data that has been received and does not require bandwidth filtering.
较佳地,根据所述视频数据,更新当前的带宽测量参数包括:Preferably, updating the current bandwidth measurement parameters according to the video data includes:
将所述待用于带宽采样的传输时间设置为当前距离最近一次请求下载视频数据的时间间隔;The transmission time to be used for bandwidth sampling is set to the current time interval from the most recent request to download video data;
将所述视频数据的大小增加至当前的所述视频数据总量中。Add the size of the video data to the current total amount of video data.
较佳地,所述方法进一步包括:Preferably, the method further includes:
当判定所述视频数据的带宽需要过滤,且所述视频数据所属的下载单元存在暂停下载操作,并满足:当前距离最近一次请求下载视频数据的时间间隔小于预设的过滤时间阈值时,将当前已参与带宽测量的视频数据总量,设置为当前已接收且不需要过滤带宽的视频数据总量,并将当前的采样周期计时归零。When it is determined that the bandwidth of the video data needs to be filtered, and the download unit to which the video data belongs has a suspended download operation, and it is satisfied that: when the time interval from the latest request to download video data is less than the preset filtering time threshold, the current The total amount of video data that has participated in bandwidth measurement is set to the total amount of video data that has been currently received and does not require bandwidth filtering, and the current sampling period timing is reset to zero.
较佳地,所述带宽测量条件包括:Preferably, the bandwidth measurement conditions include:
当前到达所述采样周期;The sampling period is currently reached;
或者,当前已接收且不需要过滤带宽的视频数据中尚未参与带宽测量的视频数据数量大于预设的带宽测量数量阈值。Alternatively, the number of video data that has not yet participated in bandwidth measurement among the currently received video data that does not require bandwidth filtering is greater than a preset bandwidth measurement quantity threshold.
较佳地,根据所述带宽测量参数,触发带宽采样包括:Preferably, according to the bandwidth measurement parameter, triggering bandwidth sampling includes:
如果所述待用于带宽采样的传输时间处于预设的时间范围内,则根据所述待用于带宽采样的传输时间以及当前已接收且不需要过滤带宽的视频数据中尚未参与带宽测量的视频数据数量,计算当前采样的带宽值。If the transmission time to be used for bandwidth sampling is within a preset time range, then according to the transmission time to be used for bandwidth sampling and the video data that has not yet participated in the bandwidth measurement among the currently received video data that does not require bandwidth filtering Number of data, calculate the bandwidth value of the current sampling.
较佳地,获取当前的带宽采样点数量包括:Preferably, obtaining the current number of bandwidth sampling points includes:
将当前已接收且未显示的数据播放时长与所述采样周期相除,得到初始采样点数量;Divide the currently received and not displayed data playback duration by the sampling period to obtain the initial number of sampling points;
如果当前播放文件的最大下载单元的播放时长小于预设的时长阈值,则根据预设的初始采样点数量与带宽采样点数量之间的映射关系,确定与所述初始采样点数量相匹配的带宽采样点数量,并设置为当前的带宽采样点数量,否则,将当前的带宽采样点数量设置为预设的最大采样点数量阈值。If the playback duration of the maximum download unit of the currently played file is less than the preset duration threshold, the bandwidth that matches the initial number of sampling points is determined based on the mapping relationship between the preset number of initial sampling points and the number of bandwidth sampling points. The number of sampling points is set to the current number of bandwidth sampling points. Otherwise, the current number of bandwidth sampling points is set to the preset maximum number of sampling points threshold.
本发明实施例还提供了一种带宽测量装置,设置于客户端中,包括:An embodiment of the present invention also provides a bandwidth measurement device, which is installed in the client and includes:
带宽过滤单元,用于当客户端接收到服务器返回的视频数据时,根据预设的带宽过滤条件,判断所述视频数据的带宽是否需要过滤;如果不需要,则根据所述视频数据,更新当前的带宽测量参数;The bandwidth filtering unit is used to determine whether the bandwidth of the video data needs to be filtered according to the preset bandwidth filtering conditions when the client receives the video data returned by the server; if not, update the current video data based on the video data. bandwidth measurement parameters;
带宽测量单元,用于实时地根据所述带宽测量参数和预设的采样周期,判断当前是否满足预设的带宽测量条件,如果是,则根据所述带宽测量参数,触发带宽采样,并获取当前的带宽采样点数量,根据已采样的带宽值和所述带宽采样点数量,计算当前的带宽测量值。A bandwidth measurement unit configured to determine whether the preset bandwidth measurement conditions are currently met based on the bandwidth measurement parameters and the preset sampling period in real time. If so, trigger bandwidth sampling based on the bandwidth measurement parameters and obtain the current The number of bandwidth sampling points, and the current bandwidth measurement value is calculated based on the sampled bandwidth value and the number of bandwidth sampling points.
本发明实施例还提供了一种带宽测量的电子设备,其特征在于,包括处理器和存储器;An embodiment of the present invention also provides an electronic device for bandwidth measurement, which is characterized in that it includes a processor and a memory;
所述存储器中存储有可被所述处理器执行的应用程序,用于使得所述处理器执行如上所述的带宽测量方法。The memory stores an application program that can be executed by the processor, and is used to cause the processor to perform the bandwidth measurement method as described above.
本发明实施例还提供了一种计算机可读存储介质,其中存储有计算机可读指令,该计算机可读指令用于执行如上所述的带宽测量方法。Embodiments of the present invention also provide a computer-readable storage medium in which computer-readable instructions are stored, and the computer-readable instructions are used to execute the bandwidth measurement method as described above.
综上所述,本发明实施例提出的带宽测量方案,应用于客户端中,在客户端接收到服务器返回的视频数据时,需要根据预设的带宽过滤条件,判断当前所接收数据的带宽是否需要过滤,即是否可以参与带宽测量,如果需要过滤,则不基于当前接收的数据对用于带宽测量的参数进行更新,如此,可以提高带宽测量参数的有效性和准确性,将容易影响带宽测量准确性的因素,排除在带宽测量之外,从而可以提高带宽测量的准确性和实时性,并且由于不需要采用QoE模型,因此,相比于现有带宽测量方法可以大幅度降低带宽测量运算开销小。To sum up, the bandwidth measurement solution proposed by the embodiment of the present invention is applied to the client. When the client receives the video data returned by the server, it needs to determine whether the bandwidth of the currently received data is based on the preset bandwidth filtering conditions. Filtering is required, that is, whether it is possible to participate in bandwidth measurement. If filtering is required, the parameters used for bandwidth measurement will not be updated based on the currently received data. In this way, the effectiveness and accuracy of the bandwidth measurement parameters can be improved, which will easily affect the bandwidth measurement. The factor of accuracy is excluded from bandwidth measurement, which can improve the accuracy and real-time performance of bandwidth measurement. And because there is no need to adopt a QoE model, the computational overhead of bandwidth measurement can be greatly reduced compared to existing bandwidth measurement methods. Small.
附图说明Description of drawings
图1为本发明实施例的方法流程示意图;Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention;
图2为本发明实施例的装置结构示意图。Figure 2 is a schematic structural diagram of the device according to the embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图及具体实施例对本发明作进一步地详细描述。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
发明人通过对现有的带宽测量方案进行认真研究分析后,发现其存在上述运算开销大、测量不准确以及实时性差问题的主要原因如下:After careful research and analysis of existing bandwidth measurement solutions, the inventor found that the main reasons for the above-mentioned problems of high computational overhead, inaccurate measurement and poor real-time performance are as follows:
1、现有带宽测量方案基于QoE模型实现,其模型计算公式较为繁琐,从而会增加方案运行的运算开销,进而影响带宽计算效率。1. The existing bandwidth measurement solution is implemented based on the QoE model, and its model calculation formula is relatively cumbersome, which will increase the computational overhead of the solution operation, thereby affecting the bandwidth calculation efficiency.
2、现有带宽测量方案在进行带宽计算时需要等待单个或多个连续下载单元下载完成后再计算,从而会影响带宽测量的实时性。其中,所述下载单元是指用户一次请求的流媒体数据。2. Existing bandwidth measurement solutions need to wait for the completion of downloading of single or multiple continuous download units before calculating bandwidth, which will affect the real-time performance of bandwidth measurement. Wherein, the download unit refers to the streaming media data requested by the user at one time.
3、在流媒体数据下载过程中,音频数据和视频数据的下载是独立的,用户请求音频数据的下载时,需要暂停视频数据的下载,这样,视频数据下载过程中可能会存在暂停下载的时间段,从而导致视频数据下载过程中会存在没有视频数据传输的空闲时间。现有带宽测量方案是基于视频数据的接收情况进行的,且在计算视频数据传输时间时并未考虑扣除上述空闲时间的存在,从而导致带宽测量的不准确。3. During the downloading process of streaming media data, the downloading of audio data and video data is independent. When the user requests the downloading of audio data, the downloading of video data needs to be paused. In this way, there may be a pause time in the downloading process of video data. segment, resulting in idle time without video data transmission during the video data download process. Existing bandwidth measurement solutions are based on the reception of video data, and the existence of the above-mentioned idle time is not considered when calculating the video data transmission time, resulting in inaccurate bandwidth measurement.
4、视频文件不仅包括视频主体数据,还包括数据量小的其他类型数据:如文本信息mpd和用于携带视频关键信息的初始配置信息(init segment)。这些其他类型数据所在的下载单元由于数据量小,传输速率会很快,因此,这些下载单元的下载速率和实际带宽是不匹配的。而现有带宽测量方案中并不区分小数据的下载,因此,在进行带宽测量时会受限于这些小数据的影响,而存在不准确性问题。另外,服务器在进行流媒体传输时,会将用户请求的下载单元分割成若干部分依次传输,这样,最后传输的下载单元尾部数据可能也会数据量很小,从而导致其传输速率也很快。4. Video files include not only video main data, but also other types of data with small amounts of data: such as text information mpd and initial configuration information (init segment) used to carry key information of the video. The download unit where these other types of data are located will have a very fast transmission rate due to the small amount of data. Therefore, the download rate of these download units does not match the actual bandwidth. However, existing bandwidth measurement solutions do not distinguish between downloads of small data. Therefore, bandwidth measurement will be limited by the influence of these small data, resulting in inaccuracy issues. In addition, when the server performs streaming media transmission, it will divide the download unit requested by the user into several parts and transmit them sequentially. In this way, the tail data of the last download unit transmitted may be very small, resulting in a very fast transmission rate.
5、在流媒体数据的实际传输过程中,可能会受网络波动的影响,使得个别数据下载速度很快,这些数据的下载速度也不能反映正常的带宽,因此,在带宽测量时,这些个别数据的下载速度也会影响带宽测量的准确性。5. During the actual transmission of streaming media data, it may be affected by network fluctuations, causing the download speed of individual data to be very fast. The download speed of these data cannot reflect the normal bandwidth. Therefore, when measuring bandwidth, these individual data The download speed also affects the accuracy of the bandwidth measurement.
基于上述问题分析,本申请将不再基于模型实现带宽测量,以降低运算开销,在进行带宽时,为了提高带宽测量的准确性,实时地对当前接收数据的带宽能否用于带宽测量进行筛选,以过滤掉会影响带宽测量准确性的数据,基于未被过滤掉的视频数据,对用于带宽测量的参数进行更新,并在满足预设的带宽测量条件时立即触发带宽测量,而不需要等待一个或若干下载单元下载完成后再触发带宽测量,以提高带宽测量的实时性。Based on the above problem analysis, this application will no longer implement bandwidth measurement based on the model to reduce computing overhead. When performing bandwidth, in order to improve the accuracy of bandwidth measurement, the bandwidth of the currently received data will be screened in real time to see if it can be used for bandwidth measurement. , to filter out data that will affect the accuracy of bandwidth measurement, update the parameters used for bandwidth measurement based on the unfiltered video data, and trigger bandwidth measurement immediately when the preset bandwidth measurement conditions are met, without Wait for one or several download units to be downloaded before triggering bandwidth measurement to improve the real-time performance of bandwidth measurement.
图1为本发明实施例的带宽测量方法流程示意图,如图1所示,该实施例主要包括:Figure 1 is a schematic flow chart of a bandwidth measurement method according to an embodiment of the present invention. As shown in Figure 1, this embodiment mainly includes:
步骤101、当客户端接收到服务器返回的视频数据时,根据预设的带宽过滤条件,判断所述视频数据的带宽是否需要过滤;如果不需要,则根据所述视频数据,更新当前的带宽测量参数。Step 101. When the client receives the video data returned by the server, it determines whether the bandwidth of the video data needs to be filtered based on the preset bandwidth filtering conditions; if not, updates the current bandwidth measurement based on the video data. parameter.
本步骤中,客户端在接收服务器根据数据下载请求返回的视频数据时,根据预设的带宽过滤条件,对所接收到的视频数据的带宽能否用于带宽测量进行筛选,并实时地对带宽测量参数进行相应更新,以过滤掉会影响带宽测量准确性的数据,增强用于带宽测量的参数的有效性,进而提高带宽测量的准确性。In this step, when the client receives the video data returned by the server according to the data download request, it filters whether the bandwidth of the received video data can be used for bandwidth measurement based on the preset bandwidth filtering conditions, and analyzes the bandwidth in real time. The measurement parameters are updated accordingly to filter out data that will affect the accuracy of the bandwidth measurement, enhance the effectiveness of the parameters used for bandwidth measurement, and thereby improve the accuracy of the bandwidth measurement.
这里,视频数据的带宽需要过滤是指该视频数据的带宽被过滤掉,不能参与带宽测量。Here, the bandwidth of the video data needs to be filtered means that the bandwidth of the video data is filtered out and cannot participate in the bandwidth measurement.
较佳地,为获得较好的过滤效果,所述带宽过滤条件可以基于所接收视频数据的传输时间和/或传输大小进行设置。Preferably, in order to obtain a better filtering effect, the bandwidth filtering condition can be set based on the transmission time and/or transmission size of the received video data.
在一种实施方式中,可设置所述带宽过滤条件包括下述内容:In one implementation, the bandwidth filtering conditions that can be set include the following:
所述视频数据属于预设的小数据量文件数据,所述小数据量文件数据包括索引文件数据和初始化片段数据;The video data belongs to preset file data with a small data volume, and the file data with a small data volume includes index file data and initialization segment data;
和/或,当前距离最近一次请求下载视频数据的时间间隔小于预设的过滤时间阈值。And/or, the current time interval from the latest request to download video data is less than the preset filtering time threshold.
上述带宽过滤条件中考虑到小数据量文件数据的数据量很小,相应的它们所占用下载单元很小,这些下载单元的下载速率与实际带宽往往并不一致,故,可以考虑将这类数据的带宽过滤掉,以提高带宽测量的准确性。具体的,所述小数据量文件数据包括视频文件的索引文件数据(如mpd、m3u8等)和初始化片段数据(如init segment),但不限于此,也可包括其他数据量很小的数据内容。The above bandwidth filtering conditions take into account that the data volume of small data volume files is very small, and the download units they occupy are accordingly very small. The download rate of these download units is often not consistent with the actual bandwidth. Therefore, it can be considered to Bandwidth is filtered out to improve the accuracy of bandwidth measurements. Specifically, the small amount of file data includes index file data of video files (such as mpd, m3u8, etc.) and initialization segment data (such as init segment), but is not limited to this, and may also include other data content with a small amount of data. .
上述带宽过滤条件“当前距离最近一次请求下载视频数据的时间间隔小于预设的过滤时间阈值”中,“当前距离最近一次请求下载视频数据的时间间隔”表征了当前所接收数据的传输时长大小,当满足该条件时,说明当前所接收数据的传输时长很短,出现这种情况,有可能是下载单元的数据本身数量很小,或者下载单元因暂停恢复下载后的剩余数据量很小,也有可能是受网络波动影响而获得异常快的传输速率,这些传输时长很短的情况通常不能反映真实带宽情况,故,可以考虑将该类情况下接收的数据带宽过滤掉,以提高带宽测量的准确性。In the above bandwidth filtering condition "The current time interval from the most recent request to download video data is less than the preset filtering time threshold", "The current time interval from the most recent request to download video data" represents the transmission duration of the currently received data. When this condition is met, it means that the transmission duration of the currently received data is very short. In this case, it is possible that the amount of data in the download unit itself is very small, or the amount of remaining data after the download unit resumes downloading due to suspension is very small, or it may be that It may be due to the influence of network fluctuations that the abnormally fast transmission rate is obtained. These situations with very short transmission time usually cannot reflect the real bandwidth situation. Therefore, you can consider filtering out the data bandwidth received in such situations to improve the accuracy of bandwidth measurement. sex.
对于所述过滤时间阈值,本领域技术人员可以根据实际需要,设置合理的取值,以使得可以利用该过滤时间阈值将不能代表当前真实带宽情况的数据带宽过滤掉。比如可以设置为100ms,但不限于此。For the filtering time threshold, those skilled in the art can set a reasonable value according to actual needs, so that the filtering time threshold can be used to filter out data bandwidth that cannot represent the current real bandwidth situation. For example, it can be set to 100ms, but it is not limited to this.
在一种实施方式中,对于需要实时更新的所述带宽测量参数,具体可以包括:待用于带宽采样的传输时间和已接收且不需要过滤带宽的视频数据总量。In one implementation, the bandwidth measurement parameters that need to be updated in real time may specifically include: transmission time to be used for bandwidth sampling and the total amount of video data that has been received and does not require bandwidth filtering.
相应地,具体可以采用下述方法对当前的带宽测量参数进行更新:Correspondingly, the following methods can be used to update the current bandwidth measurement parameters:
将所述待用于带宽采样的传输时间设置为当前距离最近一次请求下载视频数据的时间间隔;将所述视频数据的大小增加至当前的所述视频数据总量中。The transmission time to be used for bandwidth sampling is set to the current time interval from the latest request to download video data; the size of the video data is added to the current total amount of video data.
这里,通过将所述待用于带宽采样的传输时间设置为当前距离最近一次请求下载视频数据的时间间隔,其中最近一次请求数据可以为首次请求下载一个数据单元,也可以是下载暂停后恢复下载所触发的数据下载请求。这样,通过上述更新可以使得所述待用于带宽采样的传输时间将始终记录最近一次请求数据的传输时间。这样,就可以把下载暂停后的空闲时间排除,以避免空闲时间影响带宽测量的准确性。Here, the transmission time to be used for bandwidth sampling is set to the current time interval from the most recent request to download video data, where the most recent request for data can be the first request to download a data unit, or it can be the resumption of downloading after the download is paused. The data download request triggered. In this way, through the above update, the transmission time to be used for bandwidth sampling will always record the transmission time of the latest requested data. In this way, the idle time after the download is paused can be excluded to prevent idle time from affecting the accuracy of bandwidth measurement.
上述更新方法中,对于不需要过滤带宽的视频数据,将其数据大小增加至当前的所述视频数据总量中,以便在带宽测量时,可以计算该参数与当前已参与带宽测量的总数据量的差值,获得当前不需要过滤且未参与带宽测量的数据量,进而可以基于该数据量进行带宽采样。In the above update method, for video data that does not require bandwidth filtering, the data size is added to the current total amount of video data, so that during bandwidth measurement, this parameter can be calculated with the total amount of data currently participating in the bandwidth measurement. The difference is obtained to obtain the amount of data that currently does not require filtering and does not participate in bandwidth measurement, and then bandwidth sampling can be performed based on this amount of data.
相应的,在一种实施方式中,如果所述带宽过滤条件中包含了上述“当前距离最近一次请求下载视频数据的时间间隔小于预设的过滤时间阈值”,则步骤101中在检测到当前需要对所述视频数据的带宽进行过滤,且所述视频数据所属的下载单元存在暂停下载操作,并满足:当前距离最近一次请求下载视频数据的时间间隔小于预设的过滤时间阈值时,则需要将“当前已参与带宽测量的视频数据总量”,设置为“当前已接收且不需要过滤带宽的视频数据总量”,并将当前的采样周期计时归零。Correspondingly, in one implementation, if the bandwidth filtering condition includes the above-mentioned "the current time interval from the latest request to download video data is less than the preset filtering time threshold", then in step 101, when the current need is detected Filter the bandwidth of the video data, and the download unit to which the video data belongs has a download pause operation, and meets the following requirements: when the time interval from the latest request to download video data is less than the preset filtering time threshold, you need to "Total amount of video data currently participating in bandwidth measurement" is set to "Total amount of video data currently received and does not require bandwidth filtering", and the current sampling period timing is reset to zero.
上述方法中,考虑到如果所述视频数据所属的下载单元存在暂停下载操作,并满足:当前距离最近一次请求下载视频数据的时间间隔小于预设的过滤时间阈值,说明当前接收的数据因为暂停下载时所在下载单元剩余数据较小,恢复下载后所传输的数据量较小而需要被过滤。此种情况下,该下载单元的下载时间已不能准确用于计算带宽,因此,需要将该下载单元已下载和未下载的所有数据信息都过滤。故,在上述方法中,需要将当前“不需要过滤且未参与带宽测量的数据量”被设置为零,即将“当前已参与带宽测量的视频数据总量”,设置为“当前已接收且不需要过滤带宽的视频数据总量”,这样两者的差值即为零。如此,可以确保此后统计的“待用于带宽采样的传输时间”和“当前不需要过滤且未参与带宽测量的数据量”是一致的,它们都是对应于新接收的未被过滤和采样的数据,从而可以保障后续采样结果不会受当前数据过滤的影响。In the above method, it is considered that if the download unit to which the video data belongs has a suspended download operation and satisfies: the current time interval from the latest request to download video data is less than the preset filtering time threshold, it means that the currently received data is due to suspended downloading. The remaining data in the download unit is small, and the amount of data transferred after resuming downloading is small and needs to be filtered. In this case, the download time of the download unit cannot be accurately used to calculate the bandwidth. Therefore, all downloaded and undownloaded data information of the download unit needs to be filtered. Therefore, in the above method, the current "amount of data that does not require filtering and does not participate in bandwidth measurement" needs to be set to zero, that is, the "total amount of video data that currently participates in bandwidth measurement" needs to be set to "currently received and does not participate in bandwidth measurement" The total amount of video data that requires filtering bandwidth" so that the difference between the two is zero. In this way, it can be ensured that the "transmission time to be used for bandwidth sampling" and "the amount of data that currently does not need to be filtered and is not involved in bandwidth measurement" will be consistent. They both correspond to the newly received unfiltered and sampled data. data, thus ensuring that subsequent sampling results will not be affected by current data filtering.
步骤102、所述客户端实时地根据所述带宽测量参数和预设的采样周期,判断当前是否满足预设的带宽测量条件,如果是,则根据所述带宽测量参数,触发带宽采样,并获取当前的带宽采样点数量,根据已采样的带宽值和所述带宽采样点数量,计算当前的带宽测量值。Step 102: The client determines whether the preset bandwidth measurement conditions are currently met based on the bandwidth measurement parameters and the preset sampling period in real time. If so, triggers bandwidth sampling based on the bandwidth measurement parameters and obtains The current number of bandwidth sampling points. Calculate the current bandwidth measurement value based on the sampled bandwidth value and the number of bandwidth sampling points.
本步骤与现有技术不同的是,在根据当前的带宽测量参数和预设的采样周期,判断出满足预设的带宽测量条件时,需要考虑触发带宽测量,而不需要等待一个或若干下载单元下载完成后再触发带宽测量,从而可以提高带宽测量的实时性。The difference between this step and the existing technology is that when it is determined that the preset bandwidth measurement conditions are met based on the current bandwidth measurement parameters and the preset sampling period, it is necessary to consider triggering the bandwidth measurement without waiting for one or several download units. Bandwidth measurement is triggered after the download is completed, thereby improving the real-time performance of bandwidth measurement.
具体地,为了提高带宽的实时性,在计算当前的带宽测量值时,需要基于最新采样的M个带宽采样值,进行计算。其中,如果当前已采样到的带宽值达到所述带宽采样点数量,则M为当前获取的所述带宽采样点数量,否则,M为当前实际已获取的所有带宽值数量。Specifically, in order to improve the real-time performance of the bandwidth, when calculating the current bandwidth measurement value, the calculation needs to be based on the latest M bandwidth sampling values. Wherein, if the currently sampled bandwidth value reaches the number of bandwidth sampling points, M is the number of bandwidth sampling points currently acquired; otherwise, M is the number of all bandwidth values that have actually been acquired.
在具体利用新采样的M个带宽采样值计算当前的带宽测量值时,可采用计算平均值的方式,但不限于此,也可以是其他能使测量结果与真实带宽更匹配的计算方式。When specifically using the M newly sampled bandwidth sample values to calculate the current bandwidth measurement value, the average value may be calculated, but is not limited to this, and may also be other calculation methods that can make the measurement results more closely match the real bandwidth.
在一种实施方式中,为了提高带宽测量的及时性,可以设置所述带宽测量条件包括下述内容:In one implementation, in order to improve the timeliness of bandwidth measurement, the bandwidth measurement conditions may be set to include the following:
当前到达所述采样周期;或者,当前已接收且不需要过滤带宽的视频数据中尚未参与带宽测量的视频数据数量大于预设的带宽测量数量阈值。The sampling period is currently reached; or, the number of video data that has not yet participated in bandwidth measurement among the currently received video data that does not require bandwidth filtering is greater than the preset bandwidth measurement quantity threshold.
其中,对于所述采样周期是否到达的监控,可以通过一定时器实现。The monitoring of whether the sampling period has arrived can be implemented through a timer.
基于上述带宽测量条件,当达到预设采样周期,或者已接收的不需要过滤带宽且尚未参与带宽测量的视频数据数量达到一定数量时,需要考虑触发进行带宽测量计算。Based on the above bandwidth measurement conditions, when the preset sampling period is reached, or the number of received video data that does not require filtering bandwidth and has not yet participated in bandwidth measurement reaches a certain amount, triggering the bandwidth measurement calculation needs to be considered.
对于所述采样周期和所述带宽测量数量阈值,具体可由本领域技术人员根据实际需要设置,只要能确保带宽测量的及时性和准确性即可。The sampling period and the bandwidth measurement quantity threshold can be set by those skilled in the art according to actual needs, as long as the timeliness and accuracy of the bandwidth measurement can be ensured.
在一种实施方式中,在确定当前满足预设的带宽测量条件后,具体可以采用下述方法根据所述带宽测量参数,触发带宽采样:In one implementation, after it is determined that the preset bandwidth measurement conditions are currently met, the following method may be used to trigger bandwidth sampling based on the bandwidth measurement parameters:
如果所述待用于带宽采样的传输时间处于预设的时间范围内,则根据所述待用于带宽采样的传输时间,以及当前已接收且不需要过滤带宽的视频数据中尚未参与带宽测量的视频数据数量,计算当前采样的带宽值。If the transmission time to be used for bandwidth sampling is within a preset time range, then according to the transmission time to be used for bandwidth sampling and the currently received video data that does not require bandwidth filtering and has not yet participated in the bandwidth measurement The number of video data, calculate the bandwidth value of the current sampling.
在上述方法中,考虑到带宽采样所基于的数据样本的传输时间太短会影响采样结果的真实性,为了进一步提高带宽采样的有效性,设置了上述时间范围,只有当前待用于带宽采样的传输时间在该时间范围内时,才能进行带宽采样。具体地,在一种实施方式中,所述时间范围具体为大于等于预设的最小采样传输时间小于等于所述采样周期,如此,可以尽量避免:由于采样样本数据对应的传输时长太短,而影响采样结果的准确性。对于所述最小采样传输时间,可由本领域技术人员根据实际应用场景需要设置合适取值。In the above method, considering that the transmission time of the data samples based on bandwidth sampling is too short, which will affect the authenticity of the sampling results, in order to further improve the effectiveness of bandwidth sampling, the above time range is set, and only the data currently to be used for bandwidth sampling is set. Bandwidth sampling can only be performed when the transmission time is within this time range. Specifically, in one implementation, the time range is greater than or equal to the preset minimum sampling transmission time and less than or equal to the sampling period. In this way, it can be avoided as much as possible: due to the transmission duration corresponding to the sampling sample data being too short, affect the accuracy of sampling results. For the minimum sampling transmission time, those skilled in the art can set an appropriate value according to the needs of actual application scenarios.
在一种实施方式中,步骤102中还可以基于当前已接收且未显示的数据播放时长,获取当前的带宽采样点数量,以通过动态地获取当前的带宽采样点数量,来提高带宽测量的准确性,具体地,可以采用下述步骤获取当前的带宽采样点数量:In one implementation, in step 102, the current number of bandwidth sampling points can also be obtained based on the currently received and not displayed data playback duration, so as to improve the accuracy of bandwidth measurement by dynamically obtaining the current number of bandwidth sampling points. Specifically, you can use the following steps to obtain the current number of bandwidth sampling points:
步骤x1、将当前已接收且未显示的数据播放时长与所述采样周期相除,得到初始采样点数量。Step x1: Divide the currently received and not displayed data playback duration by the sampling period to obtain the initial number of sampling points.
本步骤用于基于当前缓存的未显示数据对应的播放时长,确定初始采样点数量,以便在后续步骤中基于该初始采样点数量,得到最终用于进行带宽测量的采样点数量。这里,由于在确定初始采样点数量时,考虑了当前缓存数据的播放时长,使得最终用于进行带宽测量的采样点数量能够与当前缓存数据的时长相匹配,从而可以保障带宽采样的连贯性和实时性。This step is used to determine the number of initial sampling points based on the playback duration corresponding to the currently cached undisplayed data, so that in subsequent steps, based on the number of initial sampling points, the number of sampling points finally used for bandwidth measurement can be obtained. Here, since the playback duration of the current cached data is taken into consideration when determining the number of initial sampling points, the number of sampling points ultimately used for bandwidth measurement can match the duration of the current cached data, thereby ensuring the continuity and consistency of bandwidth sampling. real-time.
步骤x2、如果当前播放文件的最大下载单元的播放时长小于预设的时长阈值,则根据预设的初始采样点数量与带宽采样点数量之间的映射关系,确定与所述初始采样点数量相匹配的带宽采样点数量,并设置为当前的带宽采样点数量,否则,将当前的带宽采样点数量设置为预设的最大采样点数量阈值。Step x2: If the playback duration of the maximum download unit of the currently played file is less than the preset duration threshold, determine the number of sampling points corresponding to the number of initial sampling points based on the mapping relationship between the preset number of initial sampling points and the number of bandwidth sampling points. The number of matching bandwidth sampling points is set to the current number of bandwidth sampling points. Otherwise, the current number of bandwidth sampling points is set to the preset maximum number of sampling points threshold.
这里,为了使得所确定的带宽采样点数量与当前播放文件的传输需求相匹配,在设置当前的带宽采样点数量时,考虑了当前播放文件的最大下载单元的播放时长,在该播放时长不是太长时,按照预设的初始采样点数量与带宽采样点数量之间的映射关系,基于步骤x1得到的所述初始采样点数量,来确定当前的带宽采样点数量。在当前播放文件的最大下载单元的播放时长较长时,说明需要的带宽较大,此时,将当前的带宽采样点数量设置为预设的最大采样点数量阈值,可以通过尽量多的采样点数量,提高带宽测量的准确性。Here, in order to make the determined number of bandwidth sampling points match the transmission requirements of the currently played file, when setting the current number of bandwidth sampling points, the playback duration of the maximum download unit of the currently played file is taken into account, and the playback duration is not too long. For a long time, according to the preset mapping relationship between the number of initial sampling points and the number of bandwidth sampling points, the current number of bandwidth sampling points is determined based on the number of initial sampling points obtained in step x1. When the playback time of the maximum download unit of the currently played file is long, it means that the required bandwidth is large. At this time, the current number of bandwidth sampling points is set to the preset maximum number of sampling points threshold, and as many sampling points as possible can be used. quantity to improve the accuracy of bandwidth measurements.
其中,对于所述初始采样点数量与带宽采样点数量之间的映射关系,可以按照两者正比的关系进行设置,以使得当缓存区中待播放的数据时长较大时可以设置较大的带宽采样点数量,进而可以尽量基于较多的采样数据,来提高带宽测量的准确性。Among them, the mapping relationship between the number of initial sampling points and the number of bandwidth sampling points can be set according to a proportional relationship between the two, so that when the duration of the data to be played in the buffer area is relatively large, a larger bandwidth can be set The number of sampling points can be based on more sampling data to improve the accuracy of bandwidth measurement.
对于所述最大采样点数量阈值,可由本领域技术人员根据实际经验设置合适取值,只要能尽量满足带宽测量的准确性需求即可。For the threshold of the maximum number of sampling points, those skilled in the art can set an appropriate value based on actual experience, as long as the accuracy requirements of the bandwidth measurement can be met as much as possible.
与上述方法实施例相对应,本发明实施例还提供了一种带宽测量装置,设置于客户端中,包括:Corresponding to the above method embodiments, embodiments of the present invention also provide a bandwidth measurement device, which is provided in the client and includes:
带宽过滤单元201,用于当客户端接收到服务器返回的视频数据时,根据预设的带宽过滤条件,判断所述视频数据的带宽是否需要过滤;如果不需要,则根据所述视频数据,更新当前的带宽测量参数;The bandwidth filtering unit 201 is used to determine whether the bandwidth of the video data needs to be filtered according to the preset bandwidth filtering conditions when the client receives the video data returned by the server; if not, update the video data based on the video data. Current bandwidth measurement parameters;
带宽测量单元202,用于实时地根据所述带宽测量参数和预设的采样周期,判断当前是否满足预设的带宽测量条件,如果是,则根据所述带宽测量参数,触发带宽采样,并获取当前的带宽采样点数量,根据已采样的带宽值和所述带宽采样点数量,计算当前的带宽测量值。The bandwidth measurement unit 202 is configured to determine whether the preset bandwidth measurement conditions are currently met based on the bandwidth measurement parameters and the preset sampling period in real time. If so, trigger bandwidth sampling based on the bandwidth measurement parameters and obtain The current number of bandwidth sampling points. Calculate the current bandwidth measurement value based on the sampled bandwidth value and the number of bandwidth sampling points.
基于上述带宽测量方法实施例,本申请实施例还实现了一种带宽测量的电子设备,包括处理器和存储器;所述存储器中存储有可被所述处理器执行的应用程序,用于使得所述处理器执行如上所述的带宽测量方法。具体地,可以提供配有存储介质的系统或者装置,在该存储介质上存储着实现上述实施例中任一实施方式的功能的软件程序代码,且使该系统或者装置的计算机(或CPU或MPU)读出并执行存储在存储介质中的程序代码。此外,还可以通过基于程序代码的指令使计算机上操作的操作系统等来完成部分或者全部的实际操作。还可以将从存储介质读出的程序代码写到插入计算机内的扩展板中所设置的存储器中或者写到与计算机相连接的扩展单元中设置的存储器中,随后基于程序代码的指令使安装在扩展板或者扩展单元上的CPU等来执行部分和全部实际操作,从而实现上述带宽测量方法实施方式中任一实施方式的功能。Based on the above embodiments of the bandwidth measurement method, embodiments of the present application also implement an electronic device for bandwidth measurement, including a processor and a memory; the memory stores an application program that can be executed by the processor, and is used to make the The processor executes the bandwidth measurement method as described above. Specifically, a system or device equipped with a storage medium may be provided, on which the software program code that implements the functions of any of the above embodiments is stored, and the computer (or CPU or MPU) of the system or device ) reads and executes the program code stored in the storage medium. In addition, some or all of the actual operations can also be completed by the operating system operating on the computer through instructions based on the program code. The program code read from the storage medium can also be written into a memory provided in an expansion board inserted into the computer or into a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, the program code is installed in the computer. The CPU on the expansion board or expansion unit performs some and all actual operations, thereby realizing the functions of any of the above bandwidth measurement method implementations.
其中,存储器具体可以实施为电可擦可编程只读存储器(EEPROM)、快闪存储器(Flash memory)、可编程程序只读存储器(PROM)等多种存储介质。处理器可以实施为包括一或多个中央处理器或一或多个现场可编程门阵列,其中现场可编程门阵列集成一或多个中央处理器核。具体地,中央处理器或中央处理器核可以实施为CPU或MCU。Among them, the memory can be implemented as various storage media such as electrically erasable programmable read-only memory (EEPROM), flash memory (Flash memory), programmable programmable read-only memory (PROM), etc. The processor may be implemented to include one or more central processing units or one or more field programmable gate arrays, where the field programmable gate array integrates one or more central processing unit cores. Specifically, the central processing unit or central processing unit core may be implemented as a CPU or MCU.
本申请实施例实现了一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现如上所述的带宽测量方法的步骤。The embodiment of the present application implements a computer program product, which includes a computer program/instruction. When the computer program/instruction is executed by a processor, the steps of the bandwidth measurement method as described above are implemented.
需要说明的是,上述各流程和各结构图中不是所有的步骤和模块都是必须的,可以根据实际的需要忽略某些步骤或模块。各步骤的执行顺序不是固定的,可以根据需要进行调整。各模块的划分仅仅是为了便于描述采用的功能上的划分,实际实现时,一个模块可以分由多个模块实现,多个模块的功能也可以由同一个模块实现,这些模块可以位于同一个设备中,也可以位于不同的设备中。It should be noted that not all steps and modules in the above-mentioned processes and structure diagrams are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The division of each module is only for the convenience of describing the functional division. In actual implementation, one module can be implemented by multiple modules, and the functions of multiple modules can also be implemented by the same module. These modules can be located on the same device. , or it can be on a different device.
各实施方式中的硬件模块可以以机械方式或电子方式实现。例如,一个硬件模块可以包括专门设计的永久性电路或逻辑器件(如专用处理器,如FPGA或ASIC)用于完成特定的操作。硬件模块也可以包括由软件临时配置的可编程逻辑器件或电路(如包括通用处理器或其它可编程处理器)用于执行特定操作。至于具体采用机械方式,或是采用专用的永久性电路,或是采用临时配置的电路(如由软件进行配置)来实现硬件模块,可以根据成本和时间上的考虑来决定。The hardware modules in various embodiments may be implemented mechanically or electronically. For example, a hardware module may include specially designed permanent circuits or logic devices (such as a dedicated processor such as an FPGA or ASIC) to perform specific operations. Hardware modules may also include programmable logic devices or circuits (eg, including general-purpose processors or other programmable processors) temporarily configured by software to perform specific operations. As for the specific use of mechanical means, or the use of dedicated permanent circuits, or the use of temporarily configured circuits (such as configured by software) to implement the hardware modules, it can be decided based on cost and time considerations.
在本文中,“示意性”表示“充当实例、例子或说明”,不应将在本文中被描述为“示意性”的任何图示、实施方式解释为一种更优选的或更具优点的技术方案。为使图面简洁,各图中的只示意性地表示出了与本发明相关部分,而并不代表其作为产品的实际结构。另外,以使图面简洁便于理解,在有些图中具有相同结构或功能的部件,仅示意性地绘示了其中的一个,或仅标出了其中的一个。在本文中,“一个”并不表示将本发明相关部分的数量限制为“仅此一个”,并且“一个”不表示排除本发明相关部分的数量“多于一个”的情形。在本文中,“上”、“下”、“前”、“后”、“左”、“右”、“内”、“外”等仅用于表示相关部分之间的相对位置关系,而非限定这些相关部分的绝对位置。As used herein, "illustrative" means "serving as an example, illustration, or illustration." Any illustration or implementation described as "illustrative" herein should not be construed as a more preferred or advantageous one. Technical solutions. In order to keep the drawings concise, the figures in each figure only schematically show the relevant parts of the present invention, and do not represent the actual structure of the product. In addition, in order to make the drawings concise and easy to understand, in some drawings, only one of the components with the same structure or function is schematically illustrated or labeled. In this article, "a" does not mean that the number of relevant parts of the present invention is limited to "only one", and "a" does not mean that the number of relevant parts of the present invention is excluded from being "more than one". In this article, "upper", "lower", "front", "back", "left", "right", "inner", "outer", etc. are only used to express the relative positional relationship between relevant parts. The absolute position of these relevant parts is not limited.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110980375.9A CN113709582B (en) | 2021-08-25 | 2021-08-25 | A kind of bandwidth measurement method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110980375.9A CN113709582B (en) | 2021-08-25 | 2021-08-25 | A kind of bandwidth measurement method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113709582A CN113709582A (en) | 2021-11-26 |
CN113709582B true CN113709582B (en) | 2024-02-06 |
Family
ID=78654564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110980375.9A Active CN113709582B (en) | 2021-08-25 | 2021-08-25 | A kind of bandwidth measurement method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113709582B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117061354B (en) * | 2023-10-10 | 2024-01-12 | 北京火山引擎科技有限公司 | Information processing methods, systems, equipment and storage media in CDN |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067945A (en) * | 2012-08-03 | 2013-04-24 | 李文龙 | Method and wireless terminal capable of increasing measurement bandwidth |
CN106341738A (en) * | 2015-07-08 | 2017-01-18 | 杭州海康威视数字技术股份有限公司 | Streaming media network transmission bandwidth calculation method, server and system |
CN106656679A (en) * | 2017-02-08 | 2017-05-10 | 北京邮电大学 | Available bandwidth measurement method and device |
CN111371626A (en) * | 2020-03-20 | 2020-07-03 | 南京大学 | Bandwidth prediction method based on neural network |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7366199B1 (en) * | 2002-12-10 | 2008-04-29 | Apple Inc. | Method and apparatus measuring bandwidth |
JP4738358B2 (en) * | 2007-01-31 | 2011-08-03 | 富士通株式会社 | Bandwidth measuring method and apparatus |
JP4840334B2 (en) * | 2007-11-14 | 2011-12-21 | ブラザー工業株式会社 | Terminal apparatus, communication system, program, and method |
-
2021
- 2021-08-25 CN CN202110980375.9A patent/CN113709582B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067945A (en) * | 2012-08-03 | 2013-04-24 | 李文龙 | Method and wireless terminal capable of increasing measurement bandwidth |
CN106341738A (en) * | 2015-07-08 | 2017-01-18 | 杭州海康威视数字技术股份有限公司 | Streaming media network transmission bandwidth calculation method, server and system |
CN106656679A (en) * | 2017-02-08 | 2017-05-10 | 北京邮电大学 | Available bandwidth measurement method and device |
CN111371626A (en) * | 2020-03-20 | 2020-07-03 | 南京大学 | Bandwidth prediction method based on neural network |
Also Published As
Publication number | Publication date |
---|---|
CN113709582A (en) | 2021-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110807128B (en) | Video preloading method, apparatus, device and storage medium | |
WO2016149863A1 (en) | Streaming media resource downloading method and apparatus, and terminal device | |
CN104702592B (en) | Stream media downloading method and device | |
CN112650755B (en) | Data storage method, method for querying data, database, and readable medium | |
CN105376335A (en) | Method and device for collection data uploading | |
WO2017181614A1 (en) | Streaming data positioning method, apparatus and electronic device | |
CN107888456A (en) | Method and device for monitoring port data volume | |
CN114661563B (en) | Data processing method and system based on stream processing framework | |
CN113709582B (en) | A kind of bandwidth measurement method and device | |
CN109639813B (en) | Video file transmission processing method and device, electronic equipment and storage medium | |
CN111510777B (en) | Method and device for measuring network speed, computer equipment and readable storage medium | |
CN107666414A (en) | A kind of network performance optimizing method, system and computer-readable recording medium | |
CN103856558B (en) | A kind of data processing method and device for terminal applies | |
CN119201444B (en) | Computing resource allocation method and system | |
CN108777802A (en) | A kind of method and apparatus of caching VR videos | |
WO2023273576A1 (en) | Abnormal request processing method and apparatus, electronic device and storage medium | |
CN111796938B (en) | Cluster dynamic concurrency control method and device | |
CN106899843A (en) | A kind of video service quality appraisal procedure and device | |
CN111159244B (en) | Data query method and device | |
CN109991967A (en) | Robot motion control method and system and terminal equipment | |
CN113590017A (en) | Method, electronic device and computer program product for processing data | |
WO2023221947A1 (en) | Data transmission method for cloud application, and computing device and computer storage medium | |
CN113726688B (en) | Congestion control method, device and electronic device | |
CN112887349B (en) | Method and device for distributing files | |
CN115061743A (en) | Interface calling method and device, computer readable medium and electronic equipment |
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 |