WO2021139300A1 - Video bitrate matching method, storage medium and terminal device - Google Patents

Video bitrate matching method, storage medium and terminal device Download PDF

Info

Publication number
WO2021139300A1
WO2021139300A1 PCT/CN2020/121554 CN2020121554W WO2021139300A1 WO 2021139300 A1 WO2021139300 A1 WO 2021139300A1 CN 2020121554 W CN2020121554 W CN 2020121554W WO 2021139300 A1 WO2021139300 A1 WO 2021139300A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
downloaded
download
bit rate
video block
Prior art date
Application number
PCT/CN2020/121554
Other languages
French (fr)
Chinese (zh)
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 鹏城实验室
Publication of WO2021139300A1 publication Critical patent/WO2021139300A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities

Definitions

  • the present invention relates to the technical field of video transmission, in particular to a method for matching video bit rate, a storage medium and terminal equipment.
  • the network cache server when the network cache server receives a download request from the playback end, it will trigger a cache hit only when the cached data matches the user request, otherwise it needs to forward the user request to the source server cluster.
  • This method exacerbates the waste of cache resources in a multi-bitrate video transmission scenario. Due to the player's ignorance of cached resource information, the request for a bitrate that is not in the cache results in slow acquisition of video resources and a high probability of transmission failure.
  • the technical problem to be solved by the present invention is to provide a video bit rate matching method, storage medium and terminal equipment in view of the deficiencies of the prior art.
  • a video bit rate matching method includes:
  • the cache server When the cache server receives the download request sent by the playback terminal, obtain the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server;
  • the download mode of the video block to be downloaded corresponding to the download request is matched, wherein the download mode includes forwarding the download request to the source server or selecting a buffer server with a selected bit rate. Download video chunks.
  • the download request includes the target requested bit rate of the video block to be downloaded; when the cache server receives the download request sent by the playback terminal, it obtains the playback status corresponding to the playback terminal and
  • the link status of the source server corresponding to the cache server specifically includes:
  • the cache server When the cache server receives the download request sent by the player, it searches the cache server locally for the to-be-downloaded video block of the target requested bit rate;
  • the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server are acquired.
  • acquiring the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server includes:
  • the video bit-rate matching is completed, and the to-be-downloaded video block of the target requested bit rate is sent to the player.
  • the downloading method of matching the video block to be downloaded corresponding to the download request according to the playback status and the link status specifically includes:
  • the download mode corresponding to the download request is determined according to the probability set.
  • the determining the download mode corresponding to the download request according to the probability set specifically includes:
  • the maximum probability in the probability set is selected, and the download mode corresponding to the maximum probability is used as the download mode corresponding to the download request.
  • the method further includes:
  • the QoE corresponding to the playback terminal is acquired, and the QoE is reacted to the reinforcement learning model according to the QoE, so as to correct the reinforcement learning model.
  • the video bit rate matching method wherein the method further includes:
  • the revenue value corresponding to the bit rate is determined, and the video cache is performed in descending order of the revenue value.
  • the video bit rate matching method wherein the playback status includes the target requested bit rate, the previous requested bit rate, the video duration buffered by the player, the buffer hit throughput of the previous video block of the video block to be downloaded, and the waiting rate.
  • a computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the video code as described above Steps in the matching method of the rate.
  • a terminal device which includes a processor, a memory, and a communication bus; the memory stores a computer readable program that can be executed by the processor;
  • the communication bus realizes connection and communication between the processor and the memory
  • the present invention provides a method for matching video bitrates.
  • a cache server receives a download request sent by a playback terminal, it acquires the playback status corresponding to the playback terminal and the corresponding playback status of the cache server.
  • the link status of the source server; according to the playback status and the link status, the download mode of the video block to be downloaded corresponding to the download request is matched, and the download mode includes forwarding the download request to the source server or selecting a cache server to select The bit rate of the video block to be downloaded.
  • the present invention will match the corresponding code rate file for the video block to be downloaded or download it from the source server according to the playback status and the link status, thereby improving the cache hit rate and bringing convenience to the user.
  • Fig. 1 is a flowchart of a method for matching video bitrate provided by the present invention.
  • Figure 2 is a schematic diagram of the structure of the storage server in the video bit rate matching method provided by the present invention.
  • Fig. 3 is a schematic diagram of the enhanced agent learning module in the video bit rate matching method provided by the present invention.
  • Fig. 4 is a structural principle diagram of a terminal device provided by the present invention.
  • the present invention provides a video bit rate matching method, storage medium, and terminal equipment.
  • This embodiment provides a method for matching video bitrates.
  • This method can be executed by a matching device, and the device can be implemented by software or hardware, so that the device receives the download request sent by the playback terminal at the cache server, and obtains the playback status corresponding to the playback terminal and the cache The link state of the source server corresponding to the server; according to the playback state and the link state, the download mode of the video block to be downloaded corresponding to the download request is matched, wherein the download mode includes forwarding the download request to the source server or selecting The video block to be downloaded with the selected bit rate in the cache server.
  • the matching device can be applied to intelligent terminals such as PCs, servers, etc., which can be used as cache servers. Referring to Fig. 1, the video bit rate matching method provided in this embodiment specifically includes:
  • the playback terminal is used to run a video playback program and send a video download request to the cache server
  • the playback terminal can be a terminal that can connect to the Internet and has an image display function, such as a smart phone, a tablet computer, or a desktop computer. equipment.
  • the cache server has cache capability, and part of the video files can be stored in the cache server, and the source server cluster stores all the video files.
  • the cache server is geographically closer to the player than the source server. When the player requests a video file, the player sends the request to the cache server first. When the cache server cannot respond to the request from the player, the cache server forwards the request to the source. server.
  • the download request includes the target request bit rate of the video block to be downloaded; when the cache server receives the download request sent by the player, it obtains the playback status corresponding to the player.
  • the link status of the source server corresponding to the cache server specifically includes:
  • the cache server When the cache server receives the download request sent by the player, it searches the cache server locally for the to-be-downloaded video block of the target requested bit rate;
  • the download request is a request for obtaining a video file sent by the playback terminal to the cache server, and the download request is used to request the video block to be downloaded of the target requested bit rate in the cache server.
  • the video block to be downloaded of the target requested bit rate may be stored in the cache server, or may not be stored in the cache server.
  • the cache server may directly respond to the download request to feed back the video block to be downloaded with the target requested bit rate to the player; when the target requests
  • the cache server needs to obtain the playback status corresponding to the player and the link status of the source server corresponding to the cache server, so as to determine whether it is based on the playback status and link status.
  • the playback status includes the target requested bit rate, the previous requested bit rate, the video duration buffered by the player, the cache hit throughput of the previous video block of the video block to be downloaded, and the previous video block of the video block to be downloaded. Cache miss throughput.
  • the target request code rate is the code rate carried in the download request, that is, the target request code rate is a request for a video with the code rate sent by the player but the video file has not been received.
  • the previous requested bit rate refers to the requested bit rate of the video block file located before the to-be-downloaded video block corresponding to the download request and adjacent to the to-be-downloaded video block according to the playback order, and the previous requested bit rate corresponds to the video file It has been downloaded to the player.
  • the video duration buffered by the playback terminal refers to the video duration that is buffered at the moment when the download request is sent in the buffer area of the playback terminal.
  • the cache hit means that a video file is stored in the cache server, and the video file is sent from the cache server to the player.
  • the cache miss refers to that the video file is not stored in the cache server and the video file is sent from the source server to the playback end. The difference between the cache hit and the cache miss lies in the different links through which the data passes.
  • the cache server may be provided with a playback status collection module 100, a throughput regression module 200, a source server direction network status collection module 300, and a reinforcement learning agent. Module 400 and cache management module 500.
  • the player status collection module 100 is used to parse the download request sent by the player and extract player status data.
  • the player status data needs to be carried by the download request sent by the player and sent to the cache server through the download request.
  • the player status data may include the target requested bit rate, the previous requested bit rate, the video duration buffered by the player, and the throughput of the previous video block of the video block to be downloaded.
  • the throughput regression module 200 is used to calculate the cache hit throughput of the previous video of the to-be-downloaded video block or the cache miss throughput of the previous video of the to-be-downloaded video block, and the throughput regression module may be based on the playback end
  • the computing power and the computing power of the cache server are determined to be placed on the player or cache server.
  • the throughput regression model can be placed on the player or server; when the throughput regression module is deployed on the client, the download request carries , The cache hit throughput of the previous video block of the video block to be downloaded and the cache miss throughput of the previous video block of the video block to be downloaded; when the throughput regression module is deployed on the cache server, only the download request needs to be carried One of the cache hit throughput of the previous video block of the to-be-downloaded video block and the cache miss throughput of the previous video block of the to-be-downloaded video block, and the download request needs to carry the cache hit throughput or the cache used to calculate the The status information of the miss throughput, where the status information may include the RTT transmitted between the source server and the cache server, the amount of data transferred, and the link bandwidth between the source server and the cache server.
  • the source server-to-network state collection module 300 needs to continuously and periodically collect the network state of data transmitted from the source server to the cache server.
  • the network status can be measured by sending probe packets or directly using the amount of missed request data.
  • the former is more accurate but will take up part of the network bandwidth, and the latter is easy to obtain but not accurate enough.
  • the reinforcement learning agent module 400 stores a reinforcement learning module, and the reinforcement learning module outputs the download mode of the to-be-downloaded video block corresponding to the download request.
  • the cache management module 500 is used to manage the video files stored in the cache server.
  • the cache hit throughput and the cache miss throughput are performed to obtain the cache hit throughput or the cache miss throughput.
  • the cache hit throughput When the cache hit throughput is obtained, it needs to be based on the cache hit throughput.
  • the hit throughput calculates the cache miss throughput; when the cache miss throughput is obtained, the cache hit throughput needs to be calculated according to the cache miss throughput. Among them, under the same conditions, the cache hit throughput is higher than the cache miss throughput.
  • the known throughput data and the relationship between the source server and the cache server may be calculated according to the known throughput data.
  • the transmission RTT, the amount of data transmitted, and the link bandwidth between the source server and the cache server are calculated accordingly.
  • a regression algorithm based on regression trees is used to calculate cache hit throughput or cache miss throughput.
  • a throughput tag can be added to the video request header, so that the cache server can cache hits and cache misses according to the throughput tags.
  • the videos are transmitted one after the other, and then the video files are received twice at the playback end to calculate the cache hit throughput and the cache miss throughput respectively.
  • S20 Match the download mode of the to-be-downloaded video block corresponding to the download request according to the playback status and the link status.
  • the download method includes forwarding the download request to the source server or selecting the video block to be downloaded with the selected bit rate in the cache server.
  • the forwarding of the download request to the source server refers to obtaining the video block to be downloaded with the target requested bit rate through the source server;
  • the selecting the video block to be downloaded with the selected bit rate in the cache server refers to selecting the video block from the cache server.
  • the video block to be downloaded with the bit rate is used as the video file corresponding to the download request, and the video block to be downloaded with the selected bit rate is directly sent to the player.
  • the to-be-downloaded video block of the selected bit rate and the to-be-downloaded video block of the target requested bit rate are different bit rate formats of the same video, that is, the to-be-downloaded video block of the selected bit rate and the to-be-downloaded video block of the target requested bit rate
  • the only difference in the video content of the two videos is the bit rate collected by the two videos.
  • a reinforcement learning proxy module can be configured in the cache server, and the reinforcement learning proxy module can be inserted into an existing network caching process.
  • the playback status and link status can be input to the reinforcement learning agent module to determine the download request correspondence through the reinforcement learning agent module Download method.
  • the reinforcement learning agent module can determine the download mode through reinforcement learning, that is, a reinforcement learning model can be configured in the reinforcement learning proxy module, and the download mode is determined by the reinforcement learning model.
  • the download manner of matching the to-be-downloaded video block corresponding to the download request according to the playback state and link state specifically includes:
  • the download mode corresponding to the download request is determined according to the probability set.
  • the reinforcement learning model is obtained by training based on preset training samples.
  • the preset training samples include multiple training sample groups, and each training sample group includes a playback state and a link state.
  • the output item of the reinforcement learning is a probability set, where the probability set includes code stream probabilities corresponding to several code rates and download probabilities of the source server, and the several code rates include all code rates at which the cache server can store video files.
  • the probability set includes code stream probabilities corresponding to several code rates and download probabilities of the source server, and the several code rates include all code rates at which the cache server can store video files.
  • the probability set after the probability set is obtained, the playback state and the download mode corresponding to the link state are determined according to the probability set, and the QoE generated after downloading according to the download mode is determined, and the reinforcement learning uses the QoE to update the model parameters so that The network updates in the direction that maximizes the accumulated QoE.
  • the output item of the reinforcement learning model is a probability set, and when the reinforcement learning model is trained
  • the reinforcement learning model outputs the playback status and link status.
  • the corresponding probability set includes the probability that the code rate in the cache is selected and the download probability of the source server, and the sum of the probability of the code rate in the cache being selected and the download probability of the source server is 1.
  • the cache server may only cache Video files with partial bitrates, so the output layer of the reinforcement learning model is set with a mask. The probability that the bitrate is not stored in the cache server through the mask is set to 0, so that when the download method is determined according to the probability set, the output will not be selected in the cache server. Set a bit rate that does not exist.
  • the determining the download mode corresponding to the download request according to the probability set refers to selecting the maximum value in the probability set. If the maximum value corresponds to a bit rate in the cache server, then Use the bit rate as the selected bit rate, and send the video block to be downloaded of the selected bit rate to the playback end; if the maximum value corresponds to the source server download, the download request is forwarded to the source server through the source server Obtain the to-be-downloaded video block of the target requested bit rate, and send the obtained to-be-downloaded video block of the target requested bit rate to the player.
  • the QoE corresponding to the download mode may be used to modify the reinforcement learning model.
  • the method further includes: obtaining QoE corresponding to the playback terminal, and reacting to the reinforcement learning according to the QoE Model to modify the reinforcement learning model.
  • the cache server may cache the video file of the corresponding bit rate according to the income of the video file corresponding to the received download request, so as to improve the QoE of the user.
  • the method further includes:
  • the revenue value corresponding to the bit rate is determined, and the video cache is performed in descending order of the revenue value.
  • the probability value of each bit rate output by the reinforcement learning is recorded, wherein the probability value is recorded in a record entry in the file list corresponding to the video block to be downloaded, so
  • the file list corresponds to a video file, and the file list stores all the record entries of the bit rate corresponding to the video file.
  • the entry identifier of the record entry is the video identifier of the video block to be downloaded and the bit rate
  • the value of the record entry is the probability and the video caching cost, where the video caching cost may be the video file size.
  • multiple probability values of a video file at a bit rate are recorded within the preset time period, multiple probability values are stored in the record entry corresponding to the bit rate.
  • the profit value is calculated according to all the probability values corresponding to the video file of the bit rate, and the video caching is performed according to the profit value in descending order.
  • the profit value may be equal to the quotient of the sum of all probability values of video files with the same bit rate and the video caching cost.
  • the storage space of the cache server needs to be determined. If the storage space cannot download a video file with a large revenue value, the video files that can be cached are determined sequentially in the order of the revenue value.
  • the present invention provides a method for matching video bitrates when a cache server receives a download request sent by a player, and acquires the playback status corresponding to the player and the link status of the source server corresponding to the cache server; Matching the download mode of the video block to be downloaded corresponding to the download request according to the playback status and link status, the download mode includes forwarding the download request to the source server or selecting the video block to be downloaded with the selected bit rate in the cache server .
  • the present invention will match the corresponding code rate file for the video block to be downloaded or download it from the source server according to the playback status and the link status, thereby improving the cache hit rate and bringing convenience to the user.
  • this embodiment provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be used by one or more
  • the processor executes to implement the steps in the video bit rate matching method described in the foregoing embodiment.
  • the present invention also provides a terminal device, as shown in FIG. 4, which includes at least one processor (processor) 20; a display screen 21; and a memory (memory) 22, which may also include Communication Interface (Communications Interface) 23 and bus 24.
  • the processor 20, the display screen 21, the memory 22, and the communication interface 23 can communicate with each other through the bus 24.
  • the display screen 21 is set to display a user guide interface preset in the initial setting mode.
  • the communication interface 23 can transmit information.
  • the processor 20 can call the logic instructions in the memory 22 to execute the method in the foregoing embodiment.
  • logic instructions in the memory 22 can be implemented in the form of software functional units and when sold or used as independent products, they can be stored in a computer readable storage medium.
  • the memory 22 can be configured to store software programs and computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 20 executes functional applications and data processing by running software programs, instructions, or modules stored in the memory 22, that is, implements the methods in the foregoing embodiments.
  • the memory 22 may include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal device, and the like.
  • the memory 22 may include a high-speed random access memory, and may also include a non-volatile memory.

Abstract

Disclosed are a video bitrate matching method, a storage medium and a terminal device. The video bitrate matching method comprises: when a caching server receives a downloading request sent by a playing end, acquiring a playing state corresponding to the playing end and a link state of a source server corresponding to the caching server; and according to the playing state and the link state, matching a downloading mode for a video block to be downloaded that corresponds to the downloading request, wherein the downloading mode comprises forwarding the downloading request to the source server or selecting a video block to be downloaded, at a selected bitrate, in the caching server. In the present invention, when a downloading request is received, according to a playing state and a link state, a corresponding bitrate file is matched with a video block to be downloaded, or the video block to be downloaded is downloaded from a source server, such that a cache hit rate can be increased, making same convenient for a user to use.

Description

一种视频码率的匹配方法、存储介质及终端设备Video bit rate matching method, storage medium and terminal equipment 技术领域Technical field
本发明涉及视频传输技术领域,特别涉及一种视频码率的匹配方法、存储介质及终端设备。The present invention relates to the technical field of video transmission, in particular to a method for matching video bit rate, a storage medium and terminal equipment.
背景技术Background technique
目前网络缓存服务器在接收到播放端的下载请求时,只有当缓存的数据与用户请求匹配时才会触发缓存命中,否则都需要转发用户请求到源服务器集群。这种方式在多码率视频传输场景下加剧了缓存资源的浪费,由于播放器对于缓存资源信息的不了解,导致请求不在缓存中的码率,造成视频资源获取速度慢并且传输失败概率高。At present, when the network cache server receives a download request from the playback end, it will trigger a cache hit only when the cached data matches the user request, otherwise it needs to forward the user request to the source server cluster. This method exacerbates the waste of cache resources in a multi-bitrate video transmission scenario. Due to the player's ignorance of cached resource information, the request for a bitrate that is not in the cache results in slow acquisition of video resources and a high probability of transmission failure.
发明内容Summary of the invention
本发明要解决的技术问题在于,针对现有技术的不足,提供一种视频码率的匹配方法、存储介质及终端设备。The technical problem to be solved by the present invention is to provide a video bit rate matching method, storage medium and terminal equipment in view of the deficiencies of the prior art.
为了解决上述技术问题,本发明所采用的技术方案如下:In order to solve the above technical problems, the technical solutions adopted by the present invention are as follows:
一种视频码率的匹配方法,所述方法包括:A video bit rate matching method, the method includes:
当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态;When the cache server receives the download request sent by the playback terminal, obtain the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server;
根据所述播放状态以及链路状态,匹配所述下载请求对应的待下载视频块的下载方式,其中,所述下载方式包括将下载请求转发至源服务器或选取缓存服务器中选定码率的待下载视频块。According to the playback status and link status, the download mode of the video block to be downloaded corresponding to the download request is matched, wherein the download mode includes forwarding the download request to the source server or selecting a buffer server with a selected bit rate. Download video chunks.
所述视频码率的匹配方法,其中,所述下载请求包括待下载视频块的目标请求码率;所述当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态具体包括:In the method for matching the video bit rate, the download request includes the target requested bit rate of the video block to be downloaded; when the cache server receives the download request sent by the playback terminal, it obtains the playback status corresponding to the playback terminal and The link status of the source server corresponding to the cache server specifically includes:
当缓存服务器接收到播放端发送的下载请求时,在所述缓存服务器本地查找所述目标请求码率的待下载视频块;When the cache server receives the download request sent by the player, it searches the cache server locally for the to-be-downloaded video block of the target requested bit rate;
若未查找到所述目标请求码率的待下载视频块,则获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态。If the video block to be downloaded of the target requested bit rate is not found, the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server are acquired.
所述视频码率的匹配方法,其中,所述当缓存服务器接收到播放端发送的下载请求, 获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态包括:In the method for matching video bitrates, when the cache server receives the download request sent by the playback terminal, acquiring the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server includes:
若查找到所述目标请求码率的待下载视频块,则完成视频码率匹配,并将所述目标请求码率的待下载视频块发送至播放端。If the to-be-downloaded video block of the target requested bit rate is found, the video bit-rate matching is completed, and the to-be-downloaded video block of the target requested bit rate is sent to the player.
所述视频码率的匹配方法,其中,所述根据所述播放状态以及链路状态匹配所述下载请求对应的待下载视频块的下载方式具体包括:In the method for matching the video code rate, the downloading method of matching the video block to be downloaded corresponding to the download request according to the playback status and the link status specifically includes:
将所述播放状态以及链路状态输入至预先训练的强化学习模型;Inputting the playback status and link status to a pre-trained reinforcement learning model;
通过所述强化学习模型输出概率集,其中,所述概率集包括各预设码率的被选定概率以及源服务器下载概率;Outputting a probability set through the reinforcement learning model, where the probability set includes the selected probability of each preset code rate and the download probability of the source server;
根据所述概率集确定所述下载请求对应的下载方式。The download mode corresponding to the download request is determined according to the probability set.
所述视频码率的匹配方法,其中,所述根据所述概率集确定所述下载请求对应的下载方式具体为:In the method for matching video bitrates, the determining the download mode corresponding to the download request according to the probability set specifically includes:
选取所述概率集中最大概率,并将最大概率对应的下载方式作为所述下载请求对应的下载方式。The maximum probability in the probability set is selected, and the download mode corresponding to the maximum probability is used as the download mode corresponding to the download request.
所述视频码率的匹配方法,其中,所述根据所述下载方式将所述待下载视频块码率的匹配方法至所述播放端之后,所述方法还包括:In the method for matching the video bit rate, after the method for matching the bit rate of the video block to be downloaded to the playback terminal according to the download mode, the method further includes:
获取播放端对应的QoE,并根据所述QoE反作用于所述强化学习模型,以对所述强化学习模型进行修正。The QoE corresponding to the playback terminal is acquired, and the QoE is reacted to the reinforcement learning model according to the QoE, so as to correct the reinforcement learning model.
所述视频码率的匹配方法,其中,所述方法还包括:The video bit rate matching method, wherein the method further includes:
每间隔预设时长获取该预设时长内接收到的所有下载请求,并获取每个下载请求对应的码率的概率值以及视频缓存代价;Obtain all download requests received within the preset time interval every preset duration, and obtain the probability value of the bit rate corresponding to each download request and the video caching cost;
根据获取到的所有码率的概率值以及视频缓存代价确定码率对应的收益值,并按照收益值从大到小顺序进行视频缓存。According to the obtained probability values of all the bit rates and the video caching cost, the revenue value corresponding to the bit rate is determined, and the video cache is performed in descending order of the revenue value.
所述视频码率的匹配方法,其中,所述播放状态包括目标请求码率、前一请求码率、播放端缓存的视频时长、待下载视频块的前一视频块的缓存命中吞吐量以及待下载视频块的前一视频块的缓存未命中吞吐量。The video bit rate matching method, wherein the playback status includes the target requested bit rate, the previous requested bit rate, the video duration buffered by the player, the buffer hit throughput of the previous video block of the video block to be downloaded, and the waiting rate. The cache miss throughput of the previous video block of the downloaded video block.
一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上任一所述的视频码率的匹配方法中的步骤。A computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the video code as described above Steps in the matching method of the rate.
一种终端设备,其包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;A terminal device, which includes a processor, a memory, and a communication bus; the memory stores a computer readable program that can be executed by the processor;
所述通信总线实现处理器和存储器之间的连接通信;The communication bus realizes connection and communication between the processor and the memory;
所述处理器执行所述计算机可读程序时实现如上任一所述的视频码率的匹配方法中的步骤。When the processor executes the computer-readable program, the steps in the video bit rate matching method described above are implemented.
有益效果:与现有技术相比,本发明提供了一种视频码率的匹配方法当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态;根据所述播放状态以及链路状态匹配所述下载请求对应的待下载视频块的下载方式,所述下载方式包括将下载请求转发至源服务器或选取缓存服务器中选定码率的待下载视频块。本发明在接收到下载请求时,会根据播放状态以及链路状态来为待下载视频块匹配相应的码率文件或者从源服务器下载,从而可以提高缓存命中率,给用户的使用带来方便。Beneficial effects: Compared with the prior art, the present invention provides a method for matching video bitrates. When a cache server receives a download request sent by a playback terminal, it acquires the playback status corresponding to the playback terminal and the corresponding playback status of the cache server. The link status of the source server; according to the playback status and the link status, the download mode of the video block to be downloaded corresponding to the download request is matched, and the download mode includes forwarding the download request to the source server or selecting a cache server to select The bit rate of the video block to be downloaded. When receiving a download request, the present invention will match the corresponding code rate file for the video block to be downloaded or download it from the source server according to the playback status and the link status, thereby improving the cache hit rate and bringing convenience to the user.
附图说明Description of the drawings
图1为本发明提供的视频码率的匹配方法的流程图。Fig. 1 is a flowchart of a method for matching video bitrate provided by the present invention.
图2为本发明提供的视频码率的匹配方法中存储服务器的结构原理图。Figure 2 is a schematic diagram of the structure of the storage server in the video bit rate matching method provided by the present invention.
图3为本发明提供的视频码率的匹配方法中强化代理学习模块的原理图。Fig. 3 is a schematic diagram of the enhanced agent learning module in the video bit rate matching method provided by the present invention.
图4为本发明提供的终端设备的结构原理图。Fig. 4 is a structural principle diagram of a terminal device provided by the present invention.
具体实施方式Detailed ways
本发明提供一种视频码率的匹配方法、存储介质及终端设备,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention provides a video bit rate matching method, storage medium, and terminal equipment. In order to make the objectives, technical solutions and effects of the present invention clearer and clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not used to limit the present invention.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art can understand that, unless specifically stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the described features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups of them. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or intervening elements may also be present. In addition, “connected” or “coupled” used herein may include wireless connection or wireless coupling. The term "and/or" as used herein includes all or any unit and all combinations of one or more associated listed items.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术 语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those commonly understood by those of ordinary skill in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have a meaning consistent with the meaning in the context of the prior art, and unless specifically defined as here, they will not be idealized or overly Explain the formal meaning.
下面结合附图,通过对实施例的描述,对发明内容作进一步说明。In the following, the content of the invention will be further explained through the description of the embodiments in conjunction with the accompanying drawings.
本实施例提供了一种视频码率的匹配方法。该方法可以由匹配装置来执行,所述装置可以由软件实现或硬件实现,以使得所述装置在缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态;根据所述播放状态以及链路状态匹配所述下载请求对应的待下载视频块的下载方式,其中,所述下载方式包括将下载请求转发至源服务器或选取缓存服务器中选定码率的待下载视频块。其中,所述匹配装置可以应用于诸如PC机、服务器等之类的可以用于作为缓存服务器的智能终端上。参见图1,本实施例提供的视频码率的匹配方法具体包括:This embodiment provides a method for matching video bitrates. This method can be executed by a matching device, and the device can be implemented by software or hardware, so that the device receives the download request sent by the playback terminal at the cache server, and obtains the playback status corresponding to the playback terminal and the cache The link state of the source server corresponding to the server; according to the playback state and the link state, the download mode of the video block to be downloaded corresponding to the download request is matched, wherein the download mode includes forwarding the download request to the source server or selecting The video block to be downloaded with the selected bit rate in the cache server. Wherein, the matching device can be applied to intelligent terminals such as PCs, servers, etc., which can be used as cache servers. Referring to Fig. 1, the video bit rate matching method provided in this embodiment specifically includes:
S10、当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态。S10. When the cache server receives the download request sent by the playback terminal, acquire the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server.
具体地,所述播放端用于运行视频播放程序,并向缓存服务器发送视频下载请求,其中,所述播放端可以为智能手机、平板电脑以及台式电脑等可以连接互联网且具有图像显示功能的终端设备。所述缓存服务器具有缓存能力,并且所述缓存服务器内可以存储部分视频文件,源服务器集群存储了所有视频文件。缓存服务器在地理上距离播放端比源服务器距离播放端近,播放端在请求视频文件时,播放端将请求先发送到缓存服务器,缓存服务器无法响应播放端的请求时,缓存服务器将请求转发到源服务器。Specifically, the playback terminal is used to run a video playback program and send a video download request to the cache server, where the playback terminal can be a terminal that can connect to the Internet and has an image display function, such as a smart phone, a tablet computer, or a desktop computer. equipment. The cache server has cache capability, and part of the video files can be stored in the cache server, and the source server cluster stores all the video files. The cache server is geographically closer to the player than the source server. When the player requests a video file, the player sends the request to the cache server first. When the cache server cannot respond to the request from the player, the cache server forwards the request to the source. server.
进一步,在本实施例的一个实现方式中,所述下载请求包括待下载视频块的目标请求码率;所述当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态具体包括:Further, in an implementation manner of this embodiment, the download request includes the target request bit rate of the video block to be downloaded; when the cache server receives the download request sent by the player, it obtains the playback status corresponding to the player. And the link status of the source server corresponding to the cache server specifically includes:
S11、当缓存服务器接收到播放端发送的下载请求时,在所述缓存服务器本地查找所述目标请求码率的待下载视频块;S11. When the cache server receives the download request sent by the player, it searches the cache server locally for the to-be-downloaded video block of the target requested bit rate;
S12、若未查找到所述目标请求码率的待下载视频块,则获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态;S12: If the to-be-downloaded video block of the target requested bit rate is not found, obtain the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server;
S13、若查找到所述目标请求码率的待下载视频块,则完成视频码率匹配,并将所述目标请求码率的待下载视频块发送至播放端。S13. If the video block to be downloaded with the target requested bit rate is found, the video bit rate matching is completed, and the video block to be downloaded with the target requested bit rate is sent to the playback terminal.
具体地,所述下载请求为播放端发送至缓存服务器的获取视频文件的请求,所述 下载请求用于请求缓存服务器中目标请求码率的待下载视频块。而目标请求码率的待下载视频块可以存储于缓存服务器,也可以未存在缓存服务器内。其中,当目标请求码率的待下载视频块存储于缓存服务器内时,缓存服务器可以直接响应所述下载请求,以将所述目标请求码率的待下载视频块反馈至播放端;当目标请求码率的待下载视频块未存储于缓存服务器内时,缓存服务器需要获取播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态,以便于根据播放状态和链路状态确定是使用缓存服务器中存储的该待下载视频块对应的其他码率的视频文件,还是从源服务器获取目标请求码率的待下载文件。Specifically, the download request is a request for obtaining a video file sent by the playback terminal to the cache server, and the download request is used to request the video block to be downloaded of the target requested bit rate in the cache server. The video block to be downloaded of the target requested bit rate may be stored in the cache server, or may not be stored in the cache server. Wherein, when the video block to be downloaded with the target requested bit rate is stored in the cache server, the cache server may directly respond to the download request to feed back the video block to be downloaded with the target requested bit rate to the player; when the target requests When the code rate of the video block to be downloaded is not stored in the cache server, the cache server needs to obtain the playback status corresponding to the player and the link status of the source server corresponding to the cache server, so as to determine whether it is based on the playback status and link status. Use the video file of other code rate corresponding to the video block to be downloaded stored in the cache server, or obtain the file to be downloaded of the target requested code rate from the source server.
进一步,所述播放状态包括目标请求码率、前一请求码率、播放端缓存的视频时长、待下载视频块的前一视频块的缓存命中吞吐量以及待下载视频块的前一视频块的缓存未命中吞吐量。其中,目标请求码率为下载请求携带的码率,即目标请求码率为播放端发送对该码率的视频的请求但尚未收到视频文件。前一请求码率指的是按照播放顺序位于下载请求对应到的待下载视频块前且与该待下载视频块相邻的视频块文件的请求码率,并且该前一请求码率对应视频文件已被下载到播放端。所述播放端缓存的视频时长指的是播放端的缓冲区域内发送下载请求时刻缓存有的视频时长。所述缓存命中指缓存服务器中存储有视频文件,并且视频文件从缓存服务器发送至播放端。所述缓存未命中指的是缓存服务器中未存储有视频文件视频,并且视频文件从源服务器发送至播放端,其中,缓存命中和缓存未命中的区别在于数据经过的链路不同。Further, the playback status includes the target requested bit rate, the previous requested bit rate, the video duration buffered by the player, the cache hit throughput of the previous video block of the video block to be downloaded, and the previous video block of the video block to be downloaded. Cache miss throughput. Wherein, the target request code rate is the code rate carried in the download request, that is, the target request code rate is a request for a video with the code rate sent by the player but the video file has not been received. The previous requested bit rate refers to the requested bit rate of the video block file located before the to-be-downloaded video block corresponding to the download request and adjacent to the to-be-downloaded video block according to the playback order, and the previous requested bit rate corresponds to the video file It has been downloaded to the player. The video duration buffered by the playback terminal refers to the video duration that is buffered at the moment when the download request is sent in the buffer area of the playback terminal. The cache hit means that a video file is stored in the cache server, and the video file is sent from the cache server to the player. The cache miss refers to that the video file is not stored in the cache server and the video file is sent from the source server to the playback end. The difference between the cache hit and the cache miss lies in the different links through which the data passes.
进一步,在本实施例的一个实现方式中,如图2所示,所述缓存服务器内可以设置有播放状态收集模块100、吞吐量回归模块200、源服务器方向网络状态收集模块300、强化学习代理模块400以及缓存管理模块500。所述播放端状态收集模块100用于解析播放端发送的下载请求并提取播放端状态数据,播放端状态数据需要由播放端发送的下载请求携带,并通过下载请求发送至缓存服务器,其中,所述播放端状态数据可以包括目标请求码率、前一请求码率以及播放端缓存的视频时长、待下载视频块的前一视频块的吞吐量。Further, in an implementation of this embodiment, as shown in FIG. 2, the cache server may be provided with a playback status collection module 100, a throughput regression module 200, a source server direction network status collection module 300, and a reinforcement learning agent. Module 400 and cache management module 500. The player status collection module 100 is used to parse the download request sent by the player and extract player status data. The player status data needs to be carried by the download request sent by the player and sent to the cache server through the download request. The player status data may include the target requested bit rate, the previous requested bit rate, the video duration buffered by the player, and the throughput of the previous video block of the video block to be downloaded.
所述吞吐量回归模块200用于计算待下载视频块的前一视频的缓存命中吞吐量或待下载视频块的前一视频的的缓存未命中吞吐量,所述吞吐量回归模块可以根据播放端算力以及缓存服务器算力来确定布置于播放端或缓存服务器,可以理解的是,吞吐量回归模可以布置于播放端或者服务器端;当吞吐量回归模块部署在客户端时,下载请求中携带、待下载视频块的前一视频块的缓存命中吞吐量以及待下载视频块的前一视频块的 缓存未命中吞吐量;当吞吐量回归模块部署在缓存服务器上时,下载请求中只需要携带待下载视频块的前一视频块的缓存命中吞吐量以及待下载视频块的前一视频块的缓存未命中吞吐量中的一个,同时所述下载请求需要携带用于计算缓存命中吞吐量或缓存未命中吞吐量的状态信息,其中,状态信息可以包括源服务器与缓存服务器间传输RTT、传输的数据量、源服务器与缓存服务器间链路带宽。The throughput regression module 200 is used to calculate the cache hit throughput of the previous video of the to-be-downloaded video block or the cache miss throughput of the previous video of the to-be-downloaded video block, and the throughput regression module may be based on the playback end The computing power and the computing power of the cache server are determined to be placed on the player or cache server. It is understandable that the throughput regression model can be placed on the player or server; when the throughput regression module is deployed on the client, the download request carries , The cache hit throughput of the previous video block of the video block to be downloaded and the cache miss throughput of the previous video block of the video block to be downloaded; when the throughput regression module is deployed on the cache server, only the download request needs to be carried One of the cache hit throughput of the previous video block of the to-be-downloaded video block and the cache miss throughput of the previous video block of the to-be-downloaded video block, and the download request needs to carry the cache hit throughput or the cache used to calculate the The status information of the miss throughput, where the status information may include the RTT transmitted between the source server and the cache server, the amount of data transferred, and the link bandwidth between the source server and the cache server.
所述源服务器方向网络状态收集模块300需要持续周期性收集从源服务器向缓存服务器传输数据的网络状态。网络状态可通过发送探测数据包或直接使用未命中请求数据量衡量,前者更加精确但会占用部分网络带宽,后者容易获得但不够精确。所述强化学习代理模块400存储有强化学习模块,通过所述强化学习模块输出所述下载请求对应的待下载视频块的下载方式。所述缓存管理模块500用于对缓存服务器内的存储的视频文件进行管理。The source server-to-network state collection module 300 needs to continuously and periodically collect the network state of data transmitted from the source server to the cache server. The network status can be measured by sending probe packets or directly using the amount of missed request data. The former is more accurate but will take up part of the network bandwidth, and the latter is easy to obtain but not accurate enough. The reinforcement learning agent module 400 stores a reinforcement learning module, and the reinforcement learning module outputs the download mode of the to-be-downloaded video block corresponding to the download request. The cache management module 500 is used to manage the video files stored in the cache server.
进一步,在本实施例的一个实现方式中,所述缓存命中吞吐量和缓存未命中吞吐量进行获取到缓存命中吞吐量或缓存未命中吞吐量,当获取到缓存命中吞吐量时,需要根据缓存命中吞吐量计算缓存未命中吞吐量;当获取到缓存未命中吞吐量时,需要根据缓存未命中吞吐量计算缓存命中吞吐量。其中,在同等条件下,所述缓存命中吞吐量高于缓存命未中吞吐量,这是由于缓存命中时视频数据传输的物理距离短并且延时小,而缓存命中与缓存未命中的区别主要在于缓存未命中需要将从源服务器获取缓存服务器视频文件,再经过缓存服务器将视频文件传输到播放端。从而在根据缓存命中吞吐量计算缓存未命中吞吐量,或者根据缓存未命中吞吐量计算缓存命中吞吐量时,只需要考虑源服务器与缓存服务器间的链路对吞吐量造成的影响,就可根据命中吞吐量求出未命中吞吐量,反之亦然。Further, in an implementation manner of this embodiment, the cache hit throughput and the cache miss throughput are performed to obtain the cache hit throughput or the cache miss throughput. When the cache hit throughput is obtained, it needs to be based on the cache hit throughput. The hit throughput calculates the cache miss throughput; when the cache miss throughput is obtained, the cache hit throughput needs to be calculated according to the cache miss throughput. Among them, under the same conditions, the cache hit throughput is higher than the cache miss throughput. This is because the physical distance of video data transmission is short and the delay is small when the cache hits, and the difference between a cache hit and a cache miss is mainly It is that the cache miss needs to obtain the video file of the cache server from the source server, and then transfer the video file to the player through the cache server. Therefore, when calculating the cache miss throughput according to the cache hit throughput, or calculate the cache hit throughput according to the cache miss throughput, you only need to consider the impact of the link between the source server and the cache server on the throughput. Hit throughput finds miss throughput, and vice versa.
进一步,在本实施例中,在根据缓存命中吞吐量计算缓存未命中吞吐量时,或者根据缓存未命中吞吐量计算缓存命中吞吐量时,可以根据已知吞吐量数据、源服务器与缓存服务器间传输RTT、传输的数据量、源服务器与缓存服务器间链路带宽进行相应计算。例如,使用基于回归树的回归算法计算缓存命中吞吐量或者缓存未命中吞吐量。当然,在获得回归树模型过程中,为同时获得缓存命中吞吐量和缓存未命中吞吐量,可以为视频请求头部添加吞吐量标签,使缓存服务器按照吞吐量标签以缓存命中和缓存未命中方式先后分别传输视频,然后在播放端先后接收两次视频文件,以分别计算缓存命中吞吐量和缓存未命中吞吐量。Further, in this embodiment, when the cache miss throughput is calculated according to the cache hit throughput, or the cache hit throughput is calculated according to the cache miss throughput, the known throughput data and the relationship between the source server and the cache server may be calculated according to the known throughput data. The transmission RTT, the amount of data transmitted, and the link bandwidth between the source server and the cache server are calculated accordingly. For example, a regression algorithm based on regression trees is used to calculate cache hit throughput or cache miss throughput. Of course, in the process of obtaining the regression tree model, in order to obtain the throughput of cache hits and cache misses at the same time, a throughput tag can be added to the video request header, so that the cache server can cache hits and cache misses according to the throughput tags. The videos are transmitted one after the other, and then the video files are received twice at the playback end to calculate the cache hit throughput and the cache miss throughput respectively.
S20、根据所述播放状态以及链路状态匹配所述下载请求对应的待下载视频块的下 载方式。S20: Match the download mode of the to-be-downloaded video block corresponding to the download request according to the playback status and the link status.
具体地,所述下载方式包括将下载请求转发至源服务器或选取缓存服务器中选定码率的待下载视频块。所述将下载请求转发至源服务器指的是通过源服务器获取目标请求码率的待下载视频块;所述选取缓存服务器中选定码率的待下载视频块指的是将缓存服务器中选定码率的待下载视频块作为下载请求对应的视频文件,并直接将该选定码率的待下载视频块发送至播放端。其中,选定码率的待下载视频块与目标请求码率的待下载视频块为同一视频的不同码率格式,即选定码率的待下载视频块与目标请求码率的待下载视频块的视频内容,仅是两个视频所采集的码率不同。Specifically, the download method includes forwarding the download request to the source server or selecting the video block to be downloaded with the selected bit rate in the cache server. The forwarding of the download request to the source server refers to obtaining the video block to be downloaded with the target requested bit rate through the source server; the selecting the video block to be downloaded with the selected bit rate in the cache server refers to selecting the video block from the cache server The video block to be downloaded with the bit rate is used as the video file corresponding to the download request, and the video block to be downloaded with the selected bit rate is directly sent to the player. Among them, the to-be-downloaded video block of the selected bit rate and the to-be-downloaded video block of the target requested bit rate are different bit rate formats of the same video, that is, the to-be-downloaded video block of the selected bit rate and the to-be-downloaded video block of the target requested bit rate The only difference in the video content of the two videos is the bit rate collected by the two videos.
进一步,在本实施例的一个实现方式中,如图2所示,所述缓存服务器内可以配置强化学习代理模块,所述强化学习代理模块可以被插入到现有网络缓存流程中,在收到播放端的下载请求并在缓存服务器中为搜索到目标请求码率的待下载视频块时,可以将所述播放状态以及链路状态输入至强化学习代理模块,以通过强化学习代理模块确定下载请求对应的下载方式。此外,所述强化学习代理模块可以通过强化学习的方式确定下载方式,即强化学习代理模块内可以配置有强化学习模型,通过强化学习模型来确定下载方式。相应的,在本实施例的一个实现方式中,所述根据所述播放状态以及链路状态匹配所述下载请求对应的待下载视频块的下载方式具体包括:Further, in an implementation of this embodiment, as shown in FIG. 2, a reinforcement learning proxy module can be configured in the cache server, and the reinforcement learning proxy module can be inserted into an existing network caching process. When the download request of the playback end is searched for the video block to be downloaded with the target requested bit rate in the cache server, the playback status and link status can be input to the reinforcement learning agent module to determine the download request correspondence through the reinforcement learning agent module Download method. In addition, the reinforcement learning agent module can determine the download mode through reinforcement learning, that is, a reinforcement learning model can be configured in the reinforcement learning proxy module, and the download mode is determined by the reinforcement learning model. Correspondingly, in an implementation manner of this embodiment, the download manner of matching the to-be-downloaded video block corresponding to the download request according to the playback state and link state specifically includes:
将所述播放状态以及链路状态输入至预先训练的强化学习模型;Inputting the playback status and link status to a pre-trained reinforcement learning model;
通过所述强化学习模型输出概率集,其中,所述概率集包括各预设码率的被选定概率以及源服务器下载概率;Outputting a probability set through the reinforcement learning model, where the probability set includes the selected probability of each preset code rate and the download probability of the source server;
根据所述概率集确定所述下载请求对应的下载方式。The download mode corresponding to the download request is determined according to the probability set.
具体地,所述强化学习模型为基于预设训练样本训练得到,预设训练样本包括多组训练样本组,每组训练样本组均包括播放状态以及链路状态。所述强化学习的输出项为概率集,其中,概率集中包括若干码率各自对应的码流概率以及源服务器下载概率,所述若干码率包括缓存服务器可以存储视频文件的所有码率。在训练过程中,在获取到概率集后,根据概率集确定播放状态以及链路状态对应的下载方式,并确定根据该下载方式进行下载后产生的QoE,强化学习通过该QoE更新模型参数,使网络向使累积QoE最大的方向更新。可以理解的是,强化学习模型的输出项为概率集,而在对强化学习模型进行训练时,根据概率集确定下载方式产生的QoE对强化学习模型的模型参数进行修正。Specifically, the reinforcement learning model is obtained by training based on preset training samples. The preset training samples include multiple training sample groups, and each training sample group includes a playback state and a link state. The output item of the reinforcement learning is a probability set, where the probability set includes code stream probabilities corresponding to several code rates and download probabilities of the source server, and the several code rates include all code rates at which the cache server can store video files. In the training process, after the probability set is obtained, the playback state and the download mode corresponding to the link state are determined according to the probability set, and the QoE generated after downloading according to the download mode is determined, and the reinforcement learning uses the QoE to update the model parameters so that The network updates in the direction that maximizes the accumulated QoE. It is understandable that the output item of the reinforcement learning model is a probability set, and when the reinforcement learning model is trained, the QoE generated by the download mode is determined according to the probability set to correct the model parameters of the reinforcement learning model.
进一步,由强化学习模型的训练过程可知,如图3所示,当将所述播放状态以及链 路状态输入至预先训练的强化学习模型时,所述强化学习模型输出该播放状态以及链路状态对应的概率集。所述概率集包括缓存中的码率被选择的概率以及源服务器下载概率,并且缓存中的码率被选择的概率以及源服务器下载概率的和为1,此外,由于缓存服务器中可能只缓存了部分码率的视频文件,所以强化学习模型输出层设置有mask,通过mask缓存服务器中未存储码率的概率设置为0,以使得根据概率集确定下载方式时,不会输出在缓存服务器中选定其未存在的码率。Further, from the training process of the reinforcement learning model, as shown in FIG. 3, when the playback status and link status are input to the pre-trained reinforcement learning model, the reinforcement learning model outputs the playback status and link status. The corresponding probability set. The probability set includes the probability that the code rate in the cache is selected and the download probability of the source server, and the sum of the probability of the code rate in the cache being selected and the download probability of the source server is 1. In addition, because the cache server may only cache Video files with partial bitrates, so the output layer of the reinforcement learning model is set with a mask. The probability that the bitrate is not stored in the cache server through the mask is set to 0, so that when the download method is determined according to the probability set, the output will not be selected in the cache server. Set a bit rate that does not exist.
进一步,在本实施例的一个实现方式中,所述根据所述概率集确定所述下载请求对应的下载方式指的是选取概率集中最大值,若最大值对应缓存服务器中的一码率,则将所述码率作为选定码率,并将该选定码率的待下载视频块发送至播放端;若最大值对应源服务器下载,则将所述下载请求转发至源服务器,通过源服务器获取该目标请求码率的待下载视频块,并将获取到的目标请求码率的待下载视频块发送至播放端。此外,为了提高强化学习模型的精确性,在通过强化学习模型确定下载请求对应的下载方式后,可以采用该下载方式对应的QoE对所述强化学习模型进行修正。相应的,所述根据所述下载方式将所述待下载码率的匹配至所述播放端之后,所述方法还包括:获取播放端对应的QoE,并根据所述QoE反作用于所述强化学习模型,以对所述强化学习模型进行修正。Further, in an implementation manner of this embodiment, the determining the download mode corresponding to the download request according to the probability set refers to selecting the maximum value in the probability set. If the maximum value corresponds to a bit rate in the cache server, then Use the bit rate as the selected bit rate, and send the video block to be downloaded of the selected bit rate to the playback end; if the maximum value corresponds to the source server download, the download request is forwarded to the source server through the source server Obtain the to-be-downloaded video block of the target requested bit rate, and send the obtained to-be-downloaded video block of the target requested bit rate to the player. In addition, in order to improve the accuracy of the reinforcement learning model, after the download mode corresponding to the download request is determined through the reinforcement learning model, the QoE corresponding to the download mode may be used to modify the reinforcement learning model. Correspondingly, after matching the code rate to be downloaded to the playback terminal according to the download mode, the method further includes: obtaining QoE corresponding to the playback terminal, and reacting to the reinforcement learning according to the QoE Model to modify the reinforcement learning model.
进一步,在本实施例的一个实现方式中,为了提高缓存服务器的命中率,缓存服务器可以根据其接收到的下载请求对应的视频文件的收益来缓存相应码率的视频文件,以提高用户的QoE。相应的,在本实施例的一个实现方式中,所述根据所述下载方式将所述待下载码率的匹配至所述播放端之后,所述方法还包括:Further, in an implementation of this embodiment, in order to improve the hit rate of the cache server, the cache server may cache the video file of the corresponding bit rate according to the income of the video file corresponding to the received download request, so as to improve the QoE of the user. . Correspondingly, in an implementation manner of this embodiment, after the matching of the bit rate to be downloaded to the playback terminal according to the download manner, the method further includes:
每间隔预设时长获取该预设时长内接收到的所有下载请求,并获取每个下载请求对应的码率的概率值以及视频缓存代价,其中,所述概率值为根据下载请求确定下载方式时得到的概率集确定的;Obtain all download requests received within the preset time interval every preset duration, and obtain the probability value of the bit rate corresponding to each download request and the video caching cost, where the probability value is when the download mode is determined according to the download request The probability set obtained is determined;
根据获取到的所有码率的概率值以及视频缓存代价确定码率对应的收益值,并按照收益值从大到小顺序进行视频缓存。According to the obtained probability values of all the bit rates and the video caching cost, the revenue value corresponding to the bit rate is determined, and the video cache is performed in descending order of the revenue value.
具体地,在通过强化学习模块输入概率集后,记录强化学习输出的每个码率的概率值,其中,所述概率值记录在待下载视频块对应的文件列表中的一个记录条目中,所述文件列表对应一视频文件,并且该文件列表中存储有该视频文件对应的所有码率的记录条目。所述记录条目的条目标识为待下载视频块的视频标识以及该码率,记录条目的值为概率以及视频缓存代价,其中,所述视频缓存代价可以为视频文件大小。当然,值得 说明的,当预设时长内,记录到以码率视频文件的多个概率值时,该码率对应的记录条目中存储有多个概率值。Specifically, after the probability set is input through the reinforcement learning module, the probability value of each bit rate output by the reinforcement learning is recorded, wherein the probability value is recorded in a record entry in the file list corresponding to the video block to be downloaded, so The file list corresponds to a video file, and the file list stores all the record entries of the bit rate corresponding to the video file. The entry identifier of the record entry is the video identifier of the video block to be downloaded and the bit rate, and the value of the record entry is the probability and the video caching cost, where the video caching cost may be the video file size. Of course, it is worth noting that when multiple probability values of a video file at a bit rate are recorded within the preset time period, multiple probability values are stored in the record entry corresponding to the bit rate.
此外,在每间隔预设时长后,获取该预设时长内接收到的所有下载请求,根据下载请求可以确定其对应的视频标识以及码率,根据所述视频标识和码率可以确定概率值以及视频缓存代价。在获取到概率值以及视频缓存代价,对于相同码率的视频文件,根据该码率的视频文件对应的所有概率值来计算收益值,并根据所述收益值从大到小顺序进行视频缓存。在本实施例的中,所述收益值可以等于相同码率的视频文件的所有概率值的和与视频缓存代价的商。当然,根据所述收益值从大到小顺序进行视频缓存时,需要确定缓存服务器的存储空间,若存储空间无法下载收益值大的视频文件时,按照收益值顺序依次确定可以缓存的视频文件。In addition, after each preset time interval, all download requests received within the preset time period are obtained, and the corresponding video ID and bit rate can be determined according to the download request, and the probability value and the bit rate can be determined according to the video ID and bit rate. Video caching cost. After obtaining the probability value and the video caching cost, for a video file of the same bit rate, the profit value is calculated according to all the probability values corresponding to the video file of the bit rate, and the video caching is performed according to the profit value in descending order. In this embodiment, the profit value may be equal to the quotient of the sum of all probability values of video files with the same bit rate and the video caching cost. Of course, when video caching is performed in descending order of the revenue value, the storage space of the cache server needs to be determined. If the storage space cannot download a video file with a large revenue value, the video files that can be cached are determined sequentially in the order of the revenue value.
综上,本发明提供了一种视频码率的匹配方法当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态;根据所述播放状态以及链路状态匹配所述下载请求对应的待下载视频块的下载方式,所述下载方式包括将下载请求转发至源服务器或选取缓存服务器中选定码率的待下载视频块。本发明在接收到下载请求时,会根据播放状态以及链路状态来为待下载视频块匹配相应的码率文件或者从源服务器下载,从而可以提高缓存命中率,给用户的使用带来方便。In summary, the present invention provides a method for matching video bitrates when a cache server receives a download request sent by a player, and acquires the playback status corresponding to the player and the link status of the source server corresponding to the cache server; Matching the download mode of the video block to be downloaded corresponding to the download request according to the playback status and link status, the download mode includes forwarding the download request to the source server or selecting the video block to be downloaded with the selected bit rate in the cache server . When receiving a download request, the present invention will match the corresponding code rate file for the video block to be downloaded or download it from the source server according to the playback status and the link status, thereby improving the cache hit rate and bringing convenience to the user.
基于上述视频码率的匹配方法,本实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上述实施例所述的视频码率的匹配方法中的步骤。Based on the above-mentioned video bit rate matching method, this embodiment provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be used by one or more The processor executes to implement the steps in the video bit rate matching method described in the foregoing embodiment.
基于上述视频码率的匹配方法,本发明还提供了一种终端设备,如图4所示,其包括至少一个处理器(processor)20;显示屏21;以及存储器(memory)22,还可以包括通信接口(Communications Interface)23和总线24。其中,处理器20、显示屏21、存储器22和通信接口23可以通过总线24完成相互间的通信。显示屏21设置为显示初始设置模式中预设的用户引导界面。通信接口23可以传输信息。处理器20可以调用存储器22中的逻辑指令,以执行上述实施例中的方法。Based on the above-mentioned video bit rate matching method, the present invention also provides a terminal device, as shown in FIG. 4, which includes at least one processor (processor) 20; a display screen 21; and a memory (memory) 22, which may also include Communication Interface (Communications Interface) 23 and bus 24. Among them, the processor 20, the display screen 21, the memory 22, and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is set to display a user guide interface preset in the initial setting mode. The communication interface 23 can transmit information. The processor 20 can call the logic instructions in the memory 22 to execute the method in the foregoing embodiment.
此外,上述的存储器22中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the aforementioned logic instructions in the memory 22 can be implemented in the form of software functional units and when sold or used as independent products, they can be stored in a computer readable storage medium.
存储器22作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器20通过运行存储在存 储器22中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。As a computer-readable storage medium, the memory 22 can be configured to store software programs and computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes functional applications and data processing by running software programs, instructions, or modules stored in the memory 22, that is, implements the methods in the foregoing embodiments.
存储器22可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器。例如,U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The memory 22 may include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal device, and the like. In addition, the memory 22 may include a high-speed random access memory, and may also include a non-volatile memory. For example, U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or CD-ROM and other media that can store program code, or temporary State storage medium.
此外,上述存储介质以及终端设备中的多条指令处理器加载并执行的具体过程在上述方法中已经详细说明,在这里就不再一一陈述。In addition, the specific process of loading and executing the multiple instruction processors in the foregoing storage medium and the terminal device has been described in detail in the foregoing method, and will not be described here.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features thereof are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

  1. 一种视频码率的匹配方法,其特征在于,所述方法包括:A method for matching video bitrates, characterized in that the method includes:
    当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态;When the cache server receives the download request sent by the playback terminal, obtain the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server;
    根据所述播放状态以及链路状态,匹配所述下载请求对应的待下载视频块的下载方式,其中,所述下载方式包括将下载请求转发至源服务器或选取缓存服务器中选定码率的待下载视频块。According to the playback status and link status, the download mode of the video block to be downloaded corresponding to the download request is matched, wherein the download mode includes forwarding the download request to the source server or selecting a buffer server with a selected bit rate. Download video chunks.
  2. 根据权利要求1所述视频码率的匹配方法,其特征在于,所述下载请求包括待下载视频块的目标请求码率;所述当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态具体包括:The method for matching video bitrates according to claim 1, wherein the download request includes the target requested bitrate of the video block to be downloaded; when the cache server receives the download request sent by the player, it obtains the playback The playback status corresponding to the end and the link status of the source server corresponding to the cache server specifically include:
    当缓存服务器接收到播放端发送的下载请求时,在所述缓存服务器本地查找所述目标请求码率的待下载视频块;When the cache server receives the download request sent by the player, it searches the cache server locally for the to-be-downloaded video block of the target requested bit rate;
    若未查找到所述目标请求码率的待下载视频块,则获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态。If the video block to be downloaded of the target requested bit rate is not found, the playback status corresponding to the playback terminal and the link status of the source server corresponding to the cache server are acquired.
  3. 根据权利要求1所述视频码率的匹配方法,其特征在于,所述当缓存服务器接收到播放端发送的下载请求,获取所述播放端对应的播放状态以及所述缓存服务器对应的源服务器的链路状态包括:The method for matching video bitrates according to claim 1, wherein when the cache server receives the download request sent by the playback terminal, the playback status corresponding to the playback terminal and the source server information corresponding to the cache server are acquired. Link status includes:
    若查找到所述目标请求码率的待下载视频块,则完成视频码率匹配,并将所述目标请求码率的待下载视频块发送至播放端。If the to-be-downloaded video block of the target requested bit rate is found, the video bit-rate matching is completed, and the to-be-downloaded video block of the target requested bit rate is sent to the player.
  4. 根据权利要求1所述视频码率的匹配方法,其特征在于,所述根据所述播放状态以及链路状态匹配所述下载请求对应的待下载视频块的下载方式具体包括:The method for matching video bitrates according to claim 1, wherein the downloading method of matching the video block to be downloaded corresponding to the download request according to the playback status and the link status specifically comprises:
    将所述播放状态以及链路状态输入至预先训练的强化学习模型;Inputting the playback status and link status to a pre-trained reinforcement learning model;
    通过所述强化学习模型输出概率集,其中,所述概率集包括各预设码率的被选定概率以及源服务器下载概率;Outputting a probability set through the reinforcement learning model, where the probability set includes the selected probability of each preset code rate and the download probability of the source server;
    根据所述概率集确定所述下载请求对应的下载方式。The download mode corresponding to the download request is determined according to the probability set.
  5. 根据权利要求4所述视频码率的匹配方法,其特征在于,所述根据所述概率集确定所述下载请求对应的下载方式具体为:The method for matching video bitrates according to claim 4, wherein the determining the download mode corresponding to the download request according to the probability set is specifically:
    选取所述概率集中最大概率,并将最大概率对应的下载方式作为所述下载请求对应的下载方式。The maximum probability in the probability set is selected, and the download mode corresponding to the maximum probability is used as the download mode corresponding to the download request.
  6. 根据权利要求4所述视频码率的匹配方法,其特征在于,所述根据所述下载方式将所述待下载视频块码率的匹配方法至所述播放端之后,所述方法还包括:The method for matching video code rate according to claim 4, wherein after the method for matching the code rate of the video block to be downloaded to the playback terminal according to the download mode, the method further comprises:
    获取播放端对应的QoE,并根据所述QoE反作用于所述强化学习模型,以对所述强化学习模型进行修正。The QoE corresponding to the playback terminal is acquired, and the QoE is reacted to the reinforcement learning model according to the QoE, so as to correct the reinforcement learning model.
  7. 根据权利要求4所述视频码率的匹配方法,其特征在于,所述方法还包括:The method for matching video bitrates according to claim 4, wherein the method further comprises:
    每间隔预设时长获取该预设时长内接收到的所有下载请求,并获取每个下载请求对应的码率的概率值以及视频缓存代价;Obtain all download requests received within the preset time interval every preset duration, and obtain the probability value of the bit rate corresponding to each download request and the video caching cost;
    根据获取到的所有码率的概率值以及视频缓存代价确定码率对应的收益值,并按照收益值从大到小顺序进行视频缓存。According to the obtained probability values of all the bit rates and the video caching cost, the revenue value corresponding to the bit rate is determined, and the video cache is performed in descending order of the revenue value.
  8. 根据权利要求1-7任一所述视频码率的匹配方法,其特征在于,所述播放状态包括目标请求码率、前一请求码率、播放端缓存的视频时长、待下载视频块的前一视频块的缓存命中吞吐量以及待下载视频块的前一视频块的缓存未命中吞吐量。The method for matching video bitrates according to any one of claims 1-7, wherein the playback status includes the target requested bitrate, the previous requested bitrate, the length of the video buffered by the player, and the previous video block to be downloaded. The cache hit throughput of a video block and the cache miss throughput of the previous video block of the video block to be downloaded.
  9. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1~8任意一项所述的视频码率的匹配方法中的步骤。A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize Steps in the video bit rate matching method described in any one of ~8.
  10. 一种终端设备,其特征在于,包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;A terminal device, characterized by comprising: a processor, a memory, and a communication bus; the memory stores a computer readable program that can be executed by the processor;
    所述通信总线实现处理器和存储器之间的连接通信;The communication bus realizes connection and communication between the processor and the memory;
    所述处理器执行所述计算机可读程序时实现如权利要求1-8任意一项所述的视频码率的匹配方法中的步骤。When the processor executes the computer readable program, the steps in the video bit rate matching method according to any one of claims 1-8 are implemented.
PCT/CN2020/121554 2020-01-09 2020-10-16 Video bitrate matching method, storage medium and terminal device WO2021139300A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010022834.8A CN111212301B (en) 2020-01-09 2020-01-09 Video code rate matching method, storage medium and terminal equipment
CN202010022834.8 2020-01-09

Publications (1)

Publication Number Publication Date
WO2021139300A1 true WO2021139300A1 (en) 2021-07-15

Family

ID=70788782

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/121554 WO2021139300A1 (en) 2020-01-09 2020-10-16 Video bitrate matching method, storage medium and terminal device

Country Status (2)

Country Link
CN (1) CN111212301B (en)
WO (1) WO2021139300A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988267A (en) * 2022-12-20 2023-04-18 哈尔滨工业大学(深圳) DASH-based video code rate self-adaptive adjustment method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212301B (en) * 2020-01-09 2021-10-08 鹏城实验室 Video code rate matching method, storage medium and terminal equipment
CN113766230B (en) * 2021-11-04 2022-04-01 广州易方信息科技股份有限公司 Media file encoding method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024593A (en) * 2012-12-26 2013-04-03 人民搜索网络股份公司 Online VOD (video on demand) acceleration system and online VOD playing method
WO2014073202A1 (en) * 2012-11-08 2014-05-15 日本電気株式会社 Information-processing device, information-processing method, content distribution system, and computer program recording medium
CN106303704A (en) * 2016-08-19 2017-01-04 上海交通大学 A kind of DASH flow medium live system based on proxy server and method
CN110087109A (en) * 2019-04-19 2019-08-02 中国科学院信息工程研究所 Video code rate adaptive approach and device
CN110430440A (en) * 2019-06-19 2019-11-08 鹏城实验室 Video transmission method, system, computer equipment and storage medium
CN111212301A (en) * 2020-01-09 2020-05-29 鹏城实验室 Video code rate matching method, storage medium and terminal equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8914534B2 (en) * 2011-01-05 2014-12-16 Sonic Ip, Inc. Systems and methods for adaptive bitrate streaming of media stored in matroska container files using hypertext transfer protocol
CN106688239B (en) * 2015-08-25 2019-08-27 华为技术有限公司 Method for downloading video, apparatus and system
CN106559677B (en) * 2015-09-30 2020-04-03 华为技术有限公司 Terminal, cache server and method and device for acquiring video fragments

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014073202A1 (en) * 2012-11-08 2014-05-15 日本電気株式会社 Information-processing device, information-processing method, content distribution system, and computer program recording medium
CN103024593A (en) * 2012-12-26 2013-04-03 人民搜索网络股份公司 Online VOD (video on demand) acceleration system and online VOD playing method
CN106303704A (en) * 2016-08-19 2017-01-04 上海交通大学 A kind of DASH flow medium live system based on proxy server and method
CN110087109A (en) * 2019-04-19 2019-08-02 中国科学院信息工程研究所 Video code rate adaptive approach and device
CN110430440A (en) * 2019-06-19 2019-11-08 鹏城实验室 Video transmission method, system, computer equipment and storage medium
CN111212301A (en) * 2020-01-09 2020-05-29 鹏城实验室 Video code rate matching method, storage medium and terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988267A (en) * 2022-12-20 2023-04-18 哈尔滨工业大学(深圳) DASH-based video code rate self-adaptive adjustment method and system
CN115988267B (en) * 2022-12-20 2023-09-15 哈尔滨工业大学(深圳) Video code rate self-adaptive adjustment method and system based on DASH

Also Published As

Publication number Publication date
CN111212301B (en) 2021-10-08
CN111212301A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
WO2021139300A1 (en) Video bitrate matching method, storage medium and terminal device
US10812358B2 (en) Performance-based content delivery
US11256775B1 (en) Progressive prefetching
US10027739B1 (en) Performance-based content delivery
US10491657B2 (en) Network acceleration method, apparatus and device based on router device
US9037638B1 (en) Assisted browsing using hinting functionality
CA2218155C (en) Time coherent caching system
US9456050B1 (en) Browser optimization through user history analysis
CN108429701B (en) Network acceleration system
US9183214B2 (en) Method and apparatus for data storage and downloading
CA2218187C (en) Differencing communication system
EP0823170B1 (en) Client/server communication system
US10547705B2 (en) Caching proxy method and apparatus
CN105704091B (en) A kind of session analytic method and system based on SSH agreement
CN102439578A (en) Dynamic variable rate media delivery system
CN108270860A (en) The acquisition system and method for environmental quality online monitoring data
CN101515945B (en) On-line application method and system of P2P resource files
US20030050996A1 (en) Appartus and method for increased data access in a network file object oriented system
Padmanabhan et al. Improving world wide web latency
JP2013218505A (en) Communication device and system for relaying communication between client and server
CN115297095B (en) Back source processing method, device, computing equipment and storage medium
KR102235622B1 (en) Method and Apparatus for Cooperative Edge Caching in IoT Environment
US11983234B2 (en) Progressive prefetching
US20240160684A1 (en) Browser based feedback for optimized web browsing
US20230334110A1 (en) Accelerating hint information in web page transactions

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: 20912944

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07/12/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20912944

Country of ref document: EP

Kind code of ref document: A1