WO2020155958A1 - 测量网速的方法、装置、计算机设备及可读存储介质 - Google Patents

测量网速的方法、装置、计算机设备及可读存储介质 Download PDF

Info

Publication number
WO2020155958A1
WO2020155958A1 PCT/CN2019/128440 CN2019128440W WO2020155958A1 WO 2020155958 A1 WO2020155958 A1 WO 2020155958A1 CN 2019128440 W CN2019128440 W CN 2019128440W WO 2020155958 A1 WO2020155958 A1 WO 2020155958A1
Authority
WO
WIPO (PCT)
Prior art keywords
download
bytes
video
network speed
duration
Prior art date
Application number
PCT/CN2019/128440
Other languages
English (en)
French (fr)
Inventor
郑翰超
吴志强
陈辉
Original Assignee
上海哔哩哔哩科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海哔哩哔哩科技有限公司 filed Critical 上海哔哩哔哩科技有限公司
Priority to EP19913977.5A priority Critical patent/EP3905596A4/en
Publication of WO2020155958A1 publication Critical patent/WO2020155958A1/zh
Priority to US17/374,637 priority patent/US11374843B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/752Media network packet handling adapting media to network capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Definitions

  • This application relates to the field of computer technology, in particular to a method, device, computer equipment, and readable storage medium for measuring network speed.
  • the purpose of this application is to provide a method, device, computer equipment and readable storage medium for measuring network speed, which can calculate the current network speed during the process of playing video content to determine the maximum clarity that the current network speed can support degree.
  • a method for measuring network speed includes the following steps:
  • the current network speed is calculated.
  • a video clip is video content with a set playing duration or video content with a set number of bytes.
  • the method further includes:
  • the obtaining the download duration and the number of download bytes of consecutive N video clips includes:
  • the calculation of the total download time and the total download bytes of the N video clips according to the download duration and the number of download bytes of the N video clips includes:
  • the total download duration and total download bytes of (N+M) video clips are calculated.
  • the method further includes:
  • the definition of the currently played video content is adjusted so that the adjusted definition meets the current network speed.
  • this application also provides a device for measuring network speed, which includes the following components:
  • the obtaining module is used to obtain the download duration and the number of download bytes of consecutive N video clips when the network speed measurement instruction is received in the process of downloading the video content; wherein the video content includes multiple video clips;
  • the first calculation module is configured to calculate the total download time and total download bytes of the N video clips according to the download time length and the number of download bytes of the N video clips;
  • the second calculation module is used to calculate the current network speed according to the total download time and the total download bytes.
  • the present application also provides a computer device, the computer device comprising: a memory, a processor, and computer-readable instructions stored on the memory and running on the processor, the processor The following steps are implemented when the computer-readable instructions are executed:
  • the current network speed is calculated.
  • this application also provides a computer-readable storage medium on which computer-readable instructions are stored, and the computer-readable instructions implement the following steps when executed by a processor:
  • the current network speed is calculated.
  • the method, device, computer equipment, and readable storage medium for measuring network speed are calculated by counting the download time and downloading of a set number of video clips, and calculate the current network speed according to the calculated current network speed , Adjust the definition of the played video content to the definition supported by the current network speed, thus ensuring the smooth playback of the video content and improving the user experience.
  • This application provides a technical solution for calculating the current network speed in real time and adjusting the definition in real time during the process of playing video content, and can avoid the influence of abnormal network fluctuations and TCP receiving windows on the calculation results, and improve the calculation results. accuracy.
  • FIG. 1 is a schematic diagram of an optional flow chart of the method for measuring network speed provided in the first embodiment
  • FIG. 2 is a schematic diagram of an optional program module of the device for measuring network speed provided by the second embodiment
  • FIG. 3 is a schematic diagram of an optional hardware architecture of the computer device provided in the third embodiment.
  • Fig. 1 is a schematic diagram of an optional flow chart of the method for measuring network speed according to this application. The method is applied to the client. As shown in Fig. 1, the method includes the following steps:
  • Step S101 In the process of downloading video content, when a network speed measurement instruction is received, obtain the download duration and the number of download bytes of consecutive N video clips; wherein the video content includes multiple video clips, and N Is a positive integer.
  • DASH Dynamic Adaptive Streaming over HTTP, HTTP-based dynamic adaptive streaming
  • DASH is an adaptive bit rate streaming technology that enables high-quality streaming media to be delivered over the Internet through traditional HTTP web servers.
  • audio content and video content are contained in a streaming media file.
  • the client obtains the streaming media file from the server and parses the streaming media file to play the audio and video; and in DASH In technology, to separate audio content from video content, the client needs to obtain a video data file and an audio data file from the server, and parse the video data file and audio data file to perform audio and video playback.
  • the network speed is measured based on the downloaded video content.
  • the download time is the time required to download a video clip; the number of download bytes is the number of bytes occupied by downloading a video clip.
  • the first type a video clip is a video content with a set playing time
  • a video clip is video content with a set number of bytes
  • the third type when receiving the network speed measurement command, determine whether the number of download bytes required to download the video content of the set playing time is greater than the set number of bytes; if so, set the video content of the set playing time to A video segment; if not, set the video content of the set number of bytes as a video segment.
  • the video content with the set playing time as a video clip; for example, set the video content with a playing time of 10 seconds as a video segment. At this time, every 10 seconds of video content is downloaded , The download time required to download the 10-second video content and the corresponding download bytes are calculated.
  • the second method For the second method, set the video content of the set number of bytes as a video segment; for example, set the video content with the number of bytes of 512KB as a video segment. At this time, whenever 512KB of video content is downloaded , Then calculate the download time required to download the 512KB video content.
  • the playback duration is the duration of playing the video content; for example, advertising content with a playback duration of 30 seconds; when the playback duration is used to limit the video clip, it is necessary to count the download duration and the number of downloaded bytes; when using the set byte When the number of video clips is limited, the number of downloaded bytes is the set number of bytes, and only the download time needs to be counted.
  • the video content is divided into multiple segments, and each segment corresponds to a certain time length of playback content.
  • a 30-second advertisement is divided into three segments, and each segment includes 10 seconds of video content.
  • the set playback duration may be consistent with the duration of each segment in the video content.
  • the playback duration to limit a video segment first.
  • the number of bytes is limited to a video segment, that is, the video content of the set number of bytes is set as a video segment.
  • the minimum value of N is 4, and the reason is as follows: in the TCP communication process, there will be a custom receiving window for buffering a certain number of bytes of video content (for example, buffering 2MB Video content); so the video clip that appears in step S101 is the video content that has been cached in the receiving window, resulting in the inaccurate download time of the video clip, which affects the final calculated current network speed accuracy.
  • the download duration and the number of download bytes of at least 4 video clips are acquired, thereby improving the accuracy of the calculation result.
  • Step S102 Calculate the total download time and total download bytes of the N video clips according to the download time length and the number of download bytes of the N video clips.
  • the total download time T is calculated according to the following formula:
  • T (t 1 +t 2 +...+t N );
  • t is the download time of each video segment
  • b is the download bytes of each video segment.
  • the obtaining the download duration and the number of download bytes of consecutive N video clips includes:
  • the total download duration and download bytes of the N video clips are calculated according to the download duration and download bytes of the N video clips Number of sections, including:
  • the total download duration and total download bytes of (N+M) video clips are calculated.
  • video clips used to calculate the current network speed are dynamically added; preferably, 4 to 10 video clips are used to calculate the current network speed.
  • the download duration of the next video segment is greater than the download duration of the previous video segment
  • the download duration of the next video segment is divided by the download duration of the previous video segment and rounded up to obtain a multiple of M;
  • M is greater than 1, it means that there are abnormal network fluctuations;
  • M video clips are used on the basis of the original N video segments to pass the download time of (N+M) video clips and Download the number of bytes to calculate the current network speed.
  • Step S103 Calculate the current network speed according to the total download time and the total download bytes.
  • the current network speed Q is calculated according to the following formula:
  • step S103 the method further includes:
  • the definition of the currently played video content is adjusted so that the adjusted definition meets the current network speed.
  • the maximum resolution that the current network speed can support is determined based on the current network speed obtained by calculation.
  • the current network speed calculated is 120Mbps
  • the usable definitions include 1080P, 720P, 480P, 360P
  • the bandwidth requirement of 1080P is 150Mbps
  • the bandwidth requirement of 720P is 100Mbps
  • the bandwidth requirement of 480P is 50Mbps
  • 360P bandwidth The requirement is 25Mbps; since the current network speed can meet the bandwidth requirement of 720P, the definition of the video content to be played later is adjusted to 720P.
  • FIG. 2 shows an optional structural block diagram of the device for measuring network speed.
  • the network speed device is divided into one or more program modules, and the one or more program modules are stored in a storage medium and executed by one or more processors to complete this application.
  • the program module referred to in this application refers to a series of computer-readable instruction segments that can complete specific functions. It is more suitable than the program itself to describe the execution process of the device for measuring network speed in the storage medium. The following description will specifically introduce each of this embodiment. The function of the program module.
  • the device for measuring network speed applied to the client includes the following components:
  • the acquiring module 201 is configured to acquire the download duration and the number of download bytes of consecutive N video clips when the network speed measurement instruction is received in the process of downloading video content; wherein the video content includes multiple video clips .
  • the download time is the time required to download a video segment; the number of download bytes is the number of bytes occupied by downloading a video segment.
  • a video segment is video content with a set playing duration or video content with a set number of bytes.
  • a video content with a playback duration of 10 seconds is set as a video segment.
  • the download time required to download the 10-second video content and the corresponding download are calculated.
  • the number of bytes; for another example, a video content with a byte number of 512KB is set as a video segment.
  • the download time required to download the 512KB video content is calculated.
  • the playback duration is the duration of playing the video content; for example, advertising content with a playback duration of 30 seconds; when the playback duration is used to limit the video clip, it is necessary to count the download duration and the number of downloaded bytes; when using the set byte
  • the number of downloaded bytes is the set number of bytes, and only the download time needs to be counted.
  • the video segment is the video content corresponding to the set playing duration
  • the set playing duration may be consistent with the duration of each segment in the video content. At this time, the video segment is one segment.
  • the device further includes:
  • the setting module is used to determine whether the number of download bytes required to download the video content of the set playing time is greater than the set number of bytes when receiving the network speed measurement instruction; if so, set the video content of the set playing time It is a video segment; if not, the video content with the set number of bytes is set as a video segment.
  • the set playback duration is first used to limit a video segment. However, if the number of download bytes required to download a video segment is too small, it is not enough to evaluate the current network speed, so in order to avoid When the number of download bytes occupied by a video segment is too small, you can first check whether the number of download bytes required to download the video content with the set playing time is greater than the set number of bytes, if not, use the set The number of bytes is limited to a video segment, that is, the video content of the set number of bytes is set as a video segment.
  • the video content with the set playing time only occupies 300KB, which is less than the set number of bytes (512KB), so the video content corresponding to 512KB is regarded as a video Segmented.
  • the first calculation module 202 is configured to calculate the total download duration and the total download bytes of the N video clips according to the download duration and the download bytes of the N video clips.
  • the first calculation module 202 is configured to:
  • T (t 1 +t 2 +...+t N );
  • t is the download time of each video segment
  • b is the download bytes of each video segment.
  • the second calculation module 203 is configured to calculate the current network speed according to the total download time and the total download bytes.
  • the second calculation module 203 is configured to:
  • the device further includes:
  • the judging module is used to judge whether the download duration of the next video segment is M times the download duration of the previous video segment; if so, then obtain the download duration and the number of download bytes of consecutive M video segments.
  • the first calculation module 202 is specifically configured to:
  • the total download duration and total download bytes of (N+M) video clips are calculated.
  • video clips used to calculate the current network speed are dynamically added; preferably, 4 to 10 video clips are used to calculate the current network speed.
  • the download duration of the next video segment is greater than the download duration of the previous video segment
  • the download duration of the next video segment is divided by the download duration of the previous video segment and rounded up to obtain a multiple of M;
  • M is greater than 1, it means that there are abnormal network fluctuations;
  • M video clips are used on the basis of the original N video segments to pass the download time of (N+M) video clips and Download the number of bytes to calculate the current network speed.
  • the device further includes:
  • the adjustment module is configured to adjust the resolution of the currently played video content according to the current network speed after the current network speed is calculated, so that the adjusted resolution meets the current network speed.
  • the maximum resolution that the current network speed can support is determined based on the current network speed obtained by calculation.
  • the calculated current network speed is 120Mbps
  • the usable definitions include 1080P, 720P, 480P, 360P
  • the bandwidth requirement of 1080P is 150Mbps
  • the bandwidth requirement of 720P is 100Mbps
  • the bandwidth requirement of 480P is 50Mbps
  • 360P bandwidth The requirement is 25Mbps; since the current network speed can meet the bandwidth requirement of 720P, the definition of the video content to be played later is adjusted to 720P.
  • This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including independent servers, or A server cluster composed of multiple servers), etc.
  • the computer device 30 of this embodiment at least includes but is not limited to: a memory 301 and a processor 302 that can be communicatively connected to each other through a system bus. It should be pointed out that FIG. 3 only shows the computer device 30 with components 301 to 302, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
  • the memory 301 (ie, readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), Read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, etc.
  • the memory 301 may be an internal storage unit of the computer device 30, such as a hard disk or a memory of the computer device 30.
  • the memory 301 may also be an external storage device of the computer device 30, for example, a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SD) card, flash card (Flash Card), etc.
  • the memory 301 may also include both the internal storage unit of the computer device 30 and its external storage device.
  • the memory 301 is generally used to store the operating system and various application software installed in the computer device 30, such as the program code of the device for measuring network speed in the second embodiment.
  • the memory 301 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 302 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 302 is generally used to control the overall operation of the computer device 30.
  • the processor 302 is configured to execute the program of the method for measuring network speed stored in the processor 302, and the following steps are implemented when the program of the method for measuring the network speed is executed:
  • the current network speed is calculated.
  • This embodiment also provides a computer-readable storage medium (non-volatile/volatile), such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM) , Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Disk, CD, Server, App Store And so on, there are computer-readable instructions stored thereon, and when the computer-readable instructions are executed by a processor, the following method steps are implemented:
  • the current network speed is calculated.
  • the method, device, computer equipment, and readable storage medium for measuring network speed provided in this embodiment are calculated by counting the download time and downloading of a set number of video clips, and calculate the current network speed according to the calculated current network speed. Adjust the definition of the video content to be supported by the current network speed, thereby ensuring the smooth playback of the video content and improving the user experience.
  • This embodiment provides a technical solution for real-time calculation of the current network speed and real-time adjustment of the definition during the process of playing video content, and can avoid the influence of abnormal network fluctuations and TCP receiving windows on the calculation results, and improve the calculation results Accuracy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Cardiology (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请公开了一种测量网速的方法、装置、计算机设备及可读存储介质,该方法包括:在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;根据所述下载总时长和下载总字节数,计算出当前网速。本申请能够在播放视频内容的过程中计算出当前网速,以确定出当前网速所能支持的最大清晰度。

Description

测量网速的方法、装置、计算机设备及可读存储介质
本申请申明2019年01月30日递交的申请号为201910091999.8、名称为“测量网速的方法、装置、计算机设备及可读存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本申请涉及计算机技术领域,具体涉及一种测量网速的方法、装置、计算机设备及可读存储介质。
背景技术
随着互联网和智能终端的不断发展,越来越多的用户选择使用智能终端(例如,手机、电脑)播放音频、视频等流媒体;用户可以通过智能终端从网络服务器上获取视频内容和音频内容,并在智能终端上播放。但是,在播放视频的过程中经常会出现卡顿的现象;造成卡顿的一个原因就是当前的网速不足以支持高清晰度视频的播放;然而,发明人意识到当前业界没有在播放视频的过程中提供网速测量的做法。因此,如何在播放视频的过程中测量网速,以供用户选择适当的清晰度的视频,成为亟需解决的技术问题。
发明内容
本申请的目的在于提供一种测量网速的方法、装置、计算机设备及可读存储介质,能够在播放视频内容的过程中计算出当前网速,以确定出当前网速所能支持的最大清晰度。
根据本申请的一个方面,提供了一种测量网速的方法,该方法包括如下步骤:
在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
根据所述下载总时长和下载总字节数,计算出当前网速。
可选的,一个视频片段为设定播放时长的视频内容,或者为设定字节数的视频内容。
可选的,所述方法还包括:
当接收到网速测量指令时,判断下载设定播放时长的视频内容所需要的下载字节数是否大于设定字节数;
若是,则将设定播放时长的视频内容设置为一个视频分段;
若否,则将设定字节数的视频内容设置为一个视频分段。
可选的,所述获取连续的N个视频片段的下载时长和下载字节数,包括:
判断后一个视频片段的下载时长是否为前一个视频片段的下载时长的M倍;
若是,则再获取连续的M个视频片段的下载时长和下载字节数;
所述根据N个视频片段的下载时长和下载字节数,计算出N个视频片段的下载总时长和下载总字节数,包括:
根据(N+M)个视频片段的下载时长和下载字节数,计算出(N+M)个视频片段的下载总时长和下载总字节数。
可选的,在所述计算出当前网速之后,所述方法还包括:
根据所述当前网速,对当前播放的视频内容的清晰度进行调整,以使调整后的清晰度满足当前网速。
为了实现上述目的,本申请还提供一种测量网速的装置,该装置包括以下组成部分:
获取模块,用于在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
第一计算模块,用于根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
第二计算模块,用于根据所述下载总时长和下载总字节数,计算出当前网速。
为了实现上述目的,本申请还提供一种计算机设备,所述计算机设备包括:存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现以下步骤:
在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
根据所述下载总时长和下载总字节数,计算出当前网速。
为了实现上述目的,本申请还提供一种计算机可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现以下步骤:
在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
根据所述下载总时长和下载总字节数,计算出当前网速。
本申请提供的测量网速的方法、装置、计算机设备及可读存储介质,通过统计设定数量的视频片段的下载时长和下载计算出,计算出当前网速,并根据计算出的当前网速,将播放的视频内容的清晰度调整为当前网速所能支持的清晰度,从而保证了视频内容的流畅播放,提高了用户体验度。本申请提供了一种在播放视频内容的过程中实时计算当前网速并实时调整清晰度的技术方案,且可以避免网络异常波动和TCP接收窗口给计算结果带来的影响,提高了计算结果的准确性。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本申请的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1为实施例一提供的测量网速的方法的一种可选的流程示意图;
图2为实施例二提供的测量网速的装置的一种可选的程序模块示意图;
图3为实施例三提供的计算机设备的一种可选的硬件架构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
实施例一
下面结合附图对本申请提供的测量网速的方法进行说明。
图1为本申请测量网速的方法的一种可选的流程示意图,该方法应用于客户端,如图 1所示,该方法包括以下步骤:
步骤S101:在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段,且N为正整数。
其中,在本实施例中,使用DASH(Dynamic Adaptive Streaming over HTTP,基于HTTP的动态自适应流)技术下载并播放音视频内容。DASH是一种自适应比特率流技术,使得高质量流媒体可以通过传统的HTTP网络服务器以互联网传递。在传统的音视频播放技术中,音频内容和视频内容被包含在一个流媒体文件中,客户端从服务器获取该流媒体文件,并通过解析该流媒体文件以进行音视频的播放;而在DASH技术中,将音频内容和视频内容分离开来,客户端需要从服务器分别获取视频数据文件和音频数据文件,并通过解析该视频数据文件和音频数据文件以进行音视频的播放。还需要说明的是,在本实施例中,是根据下载的视频内容进行网速的测量的。
下载时长为下载一个视频片段所需要的时间;下载字节数为下载一个视频片段所占用的字节数。
具体的,在本实施例中有如下三种设置视频片段的方式:
第一种:一个视频片段为设定播放时长的视频内容;
第二种:一个视频片段为设定字节数的视频内容;
第三种:当接收到网速测量指令时,判断下载设定播放时长的视频内容所需要的下载字节数是否大于设定字节数;若是,则将设定播放时长的视频内容设置为一个视频分段;若否,则将设定字节数的视频内容设置为一个视频分段。
针对第一种方式,将设定播放时长的视频内容设置为一个视频片段;例如,将播放时长为10秒的视频内容设置为一个视频分段,此时,每当下载了10秒的视频内容,就统计出下载该10秒的视频内容所需要的下载时长以及对应的下载字节数。
针对第二种方式,将设定字节数的视频内容设置为一个视频片段;例如,将字节数为512KB的视频内容设置为一个视频分段,此时,每当下载了512KB的视频内容,就统计出下载该512KB的视频内容所需要的下载时长。
需要说明的是,播放时长为播放视频内容的时长;例如,播放时长为30秒的广告内容;当利用播放时长限定视频片段时,需要统计下载时长和下载字节数;当利用设定字节数限定视频片段时,下载字节数即为设定字节数,只需要统计下载时长。
此外,在DASH技术中,视频内容被划分为多个分片,每个分片对应一定时间长度的播放内容。例如,一个30秒的广告被划分为三个分片,每个分片包括10秒的视频内容,当用户需要在客户端播放该广告时,需要与服务器建立链接,以从服务器依次获取各个分 片,客户端再依次播放三个分片以完成该广告的播放。
因此,当视频片段为设定播放时长所对应的视频内容时,所述设定播放时长可以与视频内容中的各个分片的时长一致,此时,在步骤S101中,即为获取连续的N个分片的下载时长和下载字节数。
针对第三种方式,优先使用设定播放时长限定一个视频分段,但是,如果下载一个视频分段所需要的下载字节数太少,则不足以用来评估当前网速,所以为了避免出现一个视频分段所占用的下载字节数太少的情况出现,可以先检测下载设定播放时长的视频内容所需要的下载字节数是否大于设定字节数,若否,则使用设定字节数限定一个视频分段,即将设定字节数的视频内容设置为一个视频分段。例如,在播放低清晰度(360P)的视频内容时,计算出设定播放时长(5秒)的视频内容只占用300KB,小于设定字节数(512KB),所以将512KB对应的视频内容作为一个视频分段,统计下载512KB的视频内容所需要的下载时长。
优选的,在本实施例中,N的最小取值为4,原因如下:在TCP通信过程中,会存在一个自定义的接收窗口,用于缓存一定字节数的视频内容(例如,缓存2MB的视频内容);所以会出现在步骤S101中的视频片段是已缓存在接收窗口中的视频内容,从而导致该视频片段的下载时长不准确的问题,从而影响到最终计算得到的当前网速的准确性。为了减少接收窗口对测量结果的影响,在本实施例中,获取至少4个视频片段的下载时长和下载字节数,从而提高计算结果的准确性。
步骤S102:根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数。
具体的,按照如下公式计算出下载总时长T:
T=(t 1+t 2+…+t N);
其中,t为每个视频片段的下载时长;
按照如下公式计算出下载总字节数B:
B=(b 1+b 2+…+b N);
其中,b为每个视频片段的下载字节数。
进一步的,所述获取连续的N个视频片段的下载时长和下载字节数,包括:
判断后一个视频片段的下载时长是否为前一个视频片段的下载时长的M倍,其中,M为正整数;
若是,则再获取连续的M个视频片段的下载时长和下载字节数。
当需要再获取连续的M个视频片段的下载时长和下载字节数时,所述根据N个视频片 段的下载时长和下载字节数,计算出N个视频片段的下载总时长和下载总字节数,包括:
根据(N+M)个视频片段的下载时长和下载字节数,计算出(N+M)个视频片段的下载总时长和下载总字节数。
在本实施例中,为了防止网络异常波动,动态增加用于计算当前网速的视频片段;优选的,使用4至10个视频片段来计算当前网速。在本实施例中,当出现后一个视频片段的下载时长大于前一个视频片段的下载时长时,使用后一个视频片段的下载时长除以前一个视频片段的下载时长并向上取整,得到倍数M;当M大于1时,即说明存在网络异常波动;为了消除网络异常波动,在原有N个视频分段的基础上再使用M个视频片段,以通过(N+M)个视频片段的下载时长和下载字节数来计算出当前网速。
步骤S103:根据所述下载总时长和下载总字节数,计算出当前网速。
具体的,按照如下公式计算出当前网速Q:
Q=B/T。
进一步的,在步骤S103之后,所述方法还包括:
根据所述当前网速,对当前播放的视频内容的清晰度进行调整,以使调整后的清晰度满足当前网速。
在本实施例中,根据计算得到的当前网速,判断出当前网速所能支持的最大清晰度。例如,计算得到的当前网速为120Mbps,而可使用的清晰度包括1080P、720P、480P、360P;1080P的带宽要求为150Mbps、720P的带宽要求为100Mbps、480P的带宽要求为50Mbps、360P的带宽要求为25Mbps;由于当前网速可以满足720P的带宽要求,所以将之后播放的视频内容的清晰度调整为720P。
实施例二
基于上述实施例一中提供的测量网速的方法,本实施例中提供一种测量网速的装置,具体地,图2示出了该测量网速的装置的可选的结构框图,该测量网速的装置被分割成一个或多个程序模块,一个或者多个程序模块被存储于存储介质中,并由一个或多个处理器所执行,以完成本申请。本申请所称的程序模块是指能够完成特定功能的一系列计算机可读指令段,比程序本身更适合描述测量网速的装置在存储介质中的执行过程,以下描述将具体介绍本实施例各程序模块的功能。
如图2所示,应用于客户端的测量网速的装置包括以下组成部分:
获取模块201,用于在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段。
其中,下载时长为下载一个视频片段所需要的时间;下载字节数为下载一个视频片段所占用的字节数。
具体的,一个视频片段为设定播放时长的视频内容,或者为设定字节数的视频内容。
例如,将播放时长为10秒的视频内容设置为一个视频分段,此时,每当下载了10秒的视频内容,就统计出下载该10秒的视频内容所需要的下载时长以及对应的下载字节数;又例如,将字节数为512KB的视频内容设置为一个视频分段,此时,每当下载了512KB的视频内容,就统计出下载该512KB的视频内容所需要的下载时长。
需要说明的是,播放时长为播放视频内容的时长;例如,播放时长为30秒的广告内容;当利用播放时长限定视频片段时,需要统计下载时长和下载字节数;当利用设定字节数限定视频片段时,下载字节数即为设定字节数,只需要统计下载时长。当视频片段为设定播放时长所对应的视频内容时,所述设定播放时长可以与视频内容中的各个分片的时长一致,此时,视频片段即为一个分片。
进一步的,所述装置还包括:
设置模块,用于当接收到网速测量指令时,判断下载设定播放时长的视频内容所需要的下载字节数是否大于设定字节数;若是,则将设定播放时长的视频内容设置为一个视频分段;若否,则将设定字节数的视频内容设置为一个视频分段。
在本实施例中,优先使用设定播放时长限定一个视频分段,但是,如果下载一个视频分段所需要的下载字节数太少,则不足以用来评估当前网速,所以为了避免出现一个视频分段所占用的下载字节数太少的情况出现,可以先检测下载设定播放时长的视频内容所需要的下载字节数是否大于设定字节数,若否,则使用设定字节数限定一个视频分段,即将设定字节数的视频内容设置为一个视频分段。例如,在播放低清晰度(360P)的视频内容时,设定播放时长(5秒)的视频内容只占用300KB,小于设定字节数(512KB),所以将512KB对应的视频内容作为一个视频分段。
第一计算模块202,用于根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数。
具体的,第一计算模块202,用于:
按照如下公式计算出下载总时长T:
T=(t 1+t 2+…+t N);
其中,t为每个视频片段的下载时长;
按照如下公式计算出下载总字节数B:
B=(b 1+b 2+…+b N);
其中,b为每个视频片段的下载字节数。
第二计算模块203,用于根据所述下载总时长和下载总字节数,计算出当前网速。
具体的,第二计算模块203,用于:
按照如下公式计算出当前网速Q:
Q=B/T。
进一步的,所述装置还包括:
判断模块,用于判断后一个视频片段的下载时长是否为前一个视频片段的下载时长的M倍;若是,则再获取连续的M个视频片段的下载时长和下载字节数。
当需要再获取连续的M个视频片段的下载时长和下载字节数时,所述第一计算模块202,具体用于:
根据(N+M)个视频片段的下载时长和下载字节数,计算出(N+M)个视频片段的下载总时长和下载总字节数。
在本实施例中,为了防止网络异常波动,动态增加用于计算当前网速的视频片段;优选的,使用4至10个视频片段来计算当前网速。在本实施例中,当出现后一个视频片段的下载时长大于前一个视频片段的下载时长时,使用后一个视频片段的下载时长除以前一个视频片段的下载时长并向上取整,得到倍数M;当M大于1时,即说明存在网络异常波动;为了消除网络异常波动,在原有N个视频分段的基础上再使用M个视频片段,以通过(N+M)个视频片段的下载时长和下载字节数来计算出当前网速。
进一步的,所述装置还包括:
调整模块,用于在所述计算出当前网速之后,根据所述当前网速,对当前播放的视频内容的清晰度进行调整,以使调整后的清晰度满足当前网速。
在本实施例中,根据计算得到的当前网速,判断出当前网速所能支持的最大清晰度。例如,计算得到的当前网速为120Mbps,而可使用的清晰度包括1080P、720P、480P、360P;1080P的带宽要求为150Mbps、720P的带宽要求为100Mbps、480P的带宽要求为50Mbps、360P的带宽要求为25Mbps;由于当前网速可以满足720P的带宽要求,所以将之后播放的视频内容的清晰度调整为720P。
实施例三
本实施例还提供一种计算机设备,如可以执行程序的智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。如图3所示,本实施例的计算机设 备30至少包括但不限于:可通过系统总线相互通信连接的存储器301、处理器302。需要指出的是,图3仅示出了具有组件301-302的计算机设备30,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
本实施例中,存储器301(即可读存储介质)包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器301可以是计算机设备30的内部存储单元,例如该计算机设备30的硬盘或内存。在另一些实施例中,存储器301也可以是计算机设备30的外部存储设备,例如该计算机设备30上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,存储器301还可以既包括计算机设备30的内部存储单元也包括其外部存储设备。在本实施例中,存储器301通常用于存储安装于计算机设备30的操作系统和各类应用软件,例如实施例二的测量网速的装置的程序代码等。此外,存储器301还可以用于暂时地存储已经输出或者将要输出的各类数据。
处理器302在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器302通常用于控制计算机设备30的总体操作。
具体的,在本实施例中,处理器302用于执行处理器302中存储的测量网速的方法的程序,所述测量网速的方法的程序被执行时实现如下步骤:
在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
根据所述下载总时长和下载总字节数,计算出当前网速。
上述方法步骤的具体实施例过程可参见第一实施例,本实施例在此不再重复赘述。
实施例四
本实施例还提供一种计算机可读存储介质(非易失性/易失性),如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等, 其上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下方法步骤:
在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
根据所述下载总时长和下载总字节数,计算出当前网速。
上述方法步骤的具体实施例过程可参见第一实施例,本实施例在此不再重复赘述。
本实施例提供的测量网速的方法、装置、计算机设备及可读存储介质,通过统计设定数量的视频片段的下载时长和下载计算出,计算出当前网速,并根据计算出的当前网速,将播放的视频内容的清晰度调整为当前网速所能支持的清晰度,从而保证了视频内容的流畅播放,提高了用户体验度。本实施例提供了一种在播放视频内容的过程中实时计算当前网速并实时调整清晰度的技术方案,且可以避免网络异常波动和TCP接收窗口给计算结果带来的影响,提高了计算结果的准确性。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种测量网速的方法,所述方法包括:
    在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
    根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
    根据所述下载总时长和下载总字节数,计算出当前网速。
  2. 根据权利要求1所述的测量网速的方法,一个视频片段为设定播放时长的视频内容,或者为设定字节数的视频内容。
  3. 根据权利要求1所述的测量网速的方法,所述方法还包括:
    当接收到网速测量指令时,判断下载设定播放时长的视频内容所需要的下载字节数是否大于设定字节数;
    若是,则将设定播放时长的视频内容设置为一个视频分段;
    若否,则将设定字节数的视频内容设置为一个视频分段。
  4. 根据权利要求1所述的测量网速的方法,所述获取连续的N个视频片段的下载时长和下载字节数,包括:
    判断后一个视频片段的下载时长是否为前一个视频片段的下载时长的M倍;
    若是,则再获取连续的M个视频片段的下载时长和下载字节数;
    所述根据N个视频片段的下载时长和下载字节数,计算出N个视频片段的下载总时长和下载总字节数,包括:
    根据(N+M)个视频片段的下载时长和下载字节数,计算出(N+M)个视频片段的下载总时长和下载总字节数。
  5. 根据权利要求1所述的测量网速的方法,在所述计算出当前网速之后,所述方法还包括:
    根据所述当前网速,对当前播放的视频内容的清晰度进行调整,以使调整后的清晰度满足当前网速。
  6. 一种测量网速的装置,所述装置包括:
    获取模块,用于在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N 个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
    第一计算模块,用于根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
    第二计算模块,用于根据所述下载总时长和下载总字节数,计算出当前网速。
  7. 根据权利要求6所述的测量网速的装置,一个视频片段为设定播放时长的视频内容,或者为设定字节数的视频内容。
  8. 根据权利要求6所述的测量网速的装置,所述装置还包括:
    设置模块,用于当接收到网速测量指令时,判断下载设定播放时长的视频内容所需要的下载字节数是否大于设定字节数;若是,则将设定播放时长的视频内容设置为一个视频分段;若否,则将设定字节数的视频内容设置为一个视频分段。
  9. 根据权利要求6所述的测量网速的装置,
    所述获取模块,还用于:判断后一个视频片段的下载时长是否为前一个视频片段的下载时长的M倍;若是,则再获取连续的M个视频片段的下载时长和下载字节数;
    所述第一计算模块,还用于:根据(N+M)个视频片段的下载时长和下载字节数,计算出(N+M)个视频片段的下载总时长和下载总字节数。
  10. 根据权利要求6所述的测量网速的装置,所述装置还包括:
    调整模块,用于在所述计算出当前网速之后,根据所述当前网速,对当前播放的视频内容的清晰度进行调整,以使调整后的清晰度满足当前网速。
  11. 一种计算机设备,所述计算机设备包括:存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现以下步骤:
    在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
    根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
    根据所述下载总时长和下载总字节数,计算出当前网速。
  12. 根据权利要求11所述的计算机设备,一个视频片段为设定播放时长的视频内容,或者为设定字节数的视频内容。
  13. 根据权利要求11所述的计算机设备,还包括:
    当接收到网速测量指令时,判断下载设定播放时长的视频内容所需要的下载字节数是 否大于设定字节数;
    若是,则将设定播放时长的视频内容设置为一个视频分段;
    若否,则将设定字节数的视频内容设置为一个视频分段。
  14. 根据权利要求11所述的计算机设备,所述获取连续的N个视频片段的下载时长和下载字节数,包括:
    判断后一个视频片段的下载时长是否为前一个视频片段的下载时长的M倍;
    若是,则再获取连续的M个视频片段的下载时长和下载字节数;
    所述根据N个视频片段的下载时长和下载字节数,计算出N个视频片段的下载总时长和下载总字节数,包括:
    根据(N+M)个视频片段的下载时长和下载字节数,计算出(N+M)个视频片段的下载总时长和下载总字节数。
  15. 根据权利要求11所述的计算机设备,在所述计算出当前网速之后,还包括:
    根据所述当前网速,对当前播放的视频内容的清晰度进行调整,以使调整后的清晰度满足当前网速。
  16. 一种计算机可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现以下步骤:
    在下载视频内容的过程中,当接收到网速测量指令时,获取连续的N个视频片段的下载时长和下载字节数;其中,所述视频内容包括多个视频片段;
    根据所述N个视频片段的下载时长和下载字节数,计算出所述N个视频片段的下载总时长和下载总字节数;
    根据所述下载总时长和下载总字节数,计算出当前网速。
  17. 根据权利要求16所述的计算机可读存储介质,一个视频片段为设定播放时长的视频内容,或者为设定字节数的视频内容。
  18. 根据权利要求16所述的计算机可读存储介质,还包括:
    当接收到网速测量指令时,判断下载设定播放时长的视频内容所需要的下载字节数是否大于设定字节数;
    若是,则将设定播放时长的视频内容设置为一个视频分段;
    若否,则将设定字节数的视频内容设置为一个视频分段。
  19. 根据权利要求16所述的计算机可读存储介质,所述获取连续的N个视频片段的下载时长和下载字节数,包括:
    判断后一个视频片段的下载时长是否为前一个视频片段的下载时长的M倍;
    若是,则再获取连续的M个视频片段的下载时长和下载字节数;
    所述根据N个视频片段的下载时长和下载字节数,计算出N个视频片段的下载总时长和下载总字节数,包括:
    根据(N+M)个视频片段的下载时长和下载字节数,计算出(N+M)个视频片段的下载总时长和下载总字节数。
  20. 根据权利要求16所述的计算机可读存储介质,在所述计算出当前网速之后,还包括:
    根据所述当前网速,对当前播放的视频内容的清晰度进行调整,以使调整后的清晰度满足当前网速。
PCT/CN2019/128440 2019-01-30 2019-12-25 测量网速的方法、装置、计算机设备及可读存储介质 WO2020155958A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19913977.5A EP3905596A4 (en) 2019-01-30 2019-12-25 METHOD AND DEVICE FOR MEASURING INTERNET SPEED, COMPUTER EQUIPMENT AND READABLE STORAGE MEDIA
US17/374,637 US11374843B2 (en) 2019-01-30 2021-07-13 Method for measuring network speed, computing device, and computer-program product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910091999.8 2019-01-30
CN201910091999.8A CN111510777B (zh) 2019-01-30 2019-01-30 测量网速的方法、装置、计算机设备及可读存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/374,637 Continuation US11374843B2 (en) 2019-01-30 2021-07-13 Method for measuring network speed, computing device, and computer-program product

Publications (1)

Publication Number Publication Date
WO2020155958A1 true WO2020155958A1 (zh) 2020-08-06

Family

ID=71840820

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/128440 WO2020155958A1 (zh) 2019-01-30 2019-12-25 测量网速的方法、装置、计算机设备及可读存储介质

Country Status (4)

Country Link
US (1) US11374843B2 (zh)
EP (1) EP3905596A4 (zh)
CN (1) CN111510777B (zh)
WO (1) WO2020155958A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760228A (zh) * 2020-12-25 2022-07-15 深圳Tcl新技术有限公司 一种网速测试方法、装置、智能设备及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115100B (zh) * 2021-04-23 2023-03-14 深圳力维智联技术有限公司 视频调整方法、监控设备、计算机程序产品及存储介质
CN113891170B (zh) * 2021-11-23 2024-05-03 维沃移动通信有限公司 下载方法、装置、电子设备及存储介质
CN114124919B (zh) * 2021-11-29 2023-07-25 中国平安人寿保险股份有限公司 网络状况的检测方法、装置、计算机设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490886A (zh) * 2015-12-31 2016-04-13 北京金山安全软件有限公司 一种测试网络速度的方法、装置及电子设备
WO2017100769A1 (en) * 2015-12-11 2017-06-15 Vid Scale, Inc. Scheduling multiple-layer video segments
CN107613330A (zh) * 2017-10-20 2018-01-19 清华大学 一种视频码率自适应方法
CN108419093A (zh) * 2017-01-03 2018-08-17 黑帆科技有限公司 Vr视频下载方法及装置
US10110507B2 (en) * 2014-07-25 2018-10-23 Canon Kabushiki Kaisha Push-based transmission of resources and correlated network quality estimation
CN110121100A (zh) * 2019-05-28 2019-08-13 平安科技(深圳)有限公司 媒体文件的下载方法、装置、终端和计算机可读存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8773993B2 (en) * 2011-01-31 2014-07-08 Apple Inc. Adaptive bandwidth estimation
US8396983B1 (en) * 2012-03-13 2013-03-12 Google Inc. Predictive adaptive media streaming
CN103379379B (zh) * 2012-04-13 2016-08-03 腾讯科技(深圳)有限公司 流媒体缓冲播放方法和装置
CN105991708B (zh) * 2015-02-10 2021-12-10 腾讯科技(深圳)有限公司 应用服务器的选取方法、装置和系统
US10271112B2 (en) * 2015-03-26 2019-04-23 Carnegie Mellon University System and method for dynamic adaptive video streaming using model predictive control
US20170094301A1 (en) * 2015-09-28 2017-03-30 Cybrook Inc. Initial Bandwidth Estimation For Real-time Video Transmission
CN106921870A (zh) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 一种视频播放方法和装置
CN106210929B (zh) * 2016-07-13 2019-06-25 诚迈科技(南京)股份有限公司 基于hls客户端的网络流下载终端及优化方法
EP3324639A1 (en) * 2016-11-16 2018-05-23 Vasona Networks, Inc. A system and method for estimating performance metrics for video streaming

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10110507B2 (en) * 2014-07-25 2018-10-23 Canon Kabushiki Kaisha Push-based transmission of resources and correlated network quality estimation
WO2017100769A1 (en) * 2015-12-11 2017-06-15 Vid Scale, Inc. Scheduling multiple-layer video segments
CN105490886A (zh) * 2015-12-31 2016-04-13 北京金山安全软件有限公司 一种测试网络速度的方法、装置及电子设备
CN108419093A (zh) * 2017-01-03 2018-08-17 黑帆科技有限公司 Vr视频下载方法及装置
CN107613330A (zh) * 2017-10-20 2018-01-19 清华大学 一种视频码率自适应方法
CN110121100A (zh) * 2019-05-28 2019-08-13 平安科技(深圳)有限公司 媒体文件的下载方法、装置、终端和计算机可读存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3905596A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760228A (zh) * 2020-12-25 2022-07-15 深圳Tcl新技术有限公司 一种网速测试方法、装置、智能设备及存储介质

Also Published As

Publication number Publication date
US20210344584A1 (en) 2021-11-04
CN111510777B (zh) 2021-11-23
EP3905596A4 (en) 2022-01-26
EP3905596A1 (en) 2021-11-03
CN111510777A (zh) 2020-08-07
US11374843B2 (en) 2022-06-28

Similar Documents

Publication Publication Date Title
WO2020155958A1 (zh) 测量网速的方法、装置、计算机设备及可读存储介质
US9060207B2 (en) Adaptive video streaming over a content delivery network
WO2020238065A1 (zh) 媒体文件的下载方法、装置、终端和介质
CN109753207B (zh) 一种信息处理方法及其装置、存储介质
WO2022057391A1 (zh) 缓存内存调整方法、装置及计算机设备
EP3203748B1 (en) Cloud streaming service system, cloud streaming service method using optimal gpu, and apparatus for same
US20170104800A1 (en) Performance optimization for streaming video
CN108174276B (zh) 一种弹幕显示方法及显示装置
CN111510770B (zh) 切换清晰度的方法、装置、计算机设备及可读存储介质
US11463494B2 (en) Balance of initial frame and limitation of traffic
US9819715B2 (en) Client side control of adaptive streaming
US20150134846A1 (en) Method and apparatus for media segment request retry control
US10419798B2 (en) Method and apparatus for just-in-time transcoding
WO2020026018A1 (zh) 文件的下载方法、装置、设备/终端/服务器及存储介质
CN111510789A (zh) 视频播放方法、系统、计算机设备及计算机可读存储介质
US11825165B2 (en) Method of determining video resolution, computing device, and computer-program product
CN111510790A (zh) 视频请求方法、系统、计算机设备及计算机可读存储介质
WO2020155962A1 (zh) 清晰度切换算法的选择方法、系统、设备及介质
WO2023083213A1 (zh) 一种数据解码方法、装置、电子设备及可读存储介质
US9350796B2 (en) Method and device for receiving multimedia data
CN114710692B (zh) 多媒体文件处理方法和装置
US11457287B2 (en) Method and system for processing video
CN114124754A (zh) 用于处理多媒体网络中媒体数据包的方法及其相关产品
CN115827915A (zh) 一种基于弹幕热度的弹幕输入推荐方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19913977

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019913977

Country of ref document: EP

Effective date: 20210729