CN106658067A - Cache setting method and apparatus - Google Patents
Cache setting method and apparatus Download PDFInfo
- Publication number
- CN106658067A CN106658067A CN201611267955.9A CN201611267955A CN106658067A CN 106658067 A CN106658067 A CN 106658067A CN 201611267955 A CN201611267955 A CN 201611267955A CN 106658067 A CN106658067 A CN 106658067A
- Authority
- CN
- China
- Prior art keywords
- user
- caching
- cache
- operating
- size
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 239000000872 buffer Substances 0.000 claims description 40
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/432—Content retrieval operation from a local storage medium, e.g. hard-disk
- H04N21/4325—Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种设置缓存的方法和装置。该方法包括:获取用户观看视频时的操作参数;基于操作参数,识别该用户的操作习惯;基于操作习惯,设置缓存的容量大小。本发明实施例通过识别用户的操作习惯,并根据用户的操作习惯来设置缓存容量的大小,不仅可以契合用户需求,而且节约终端资源和用户的数量流量,并保障网络资源的正常使用。
The invention discloses a method and device for setting cache. The method includes: acquiring the operating parameters when the user watches the video; identifying the user's operating habits based on the operating parameters; and setting the capacity of the cache based on the operating habits. The embodiment of the present invention recognizes the user's operating habits and sets the size of the cache capacity according to the user's operating habits, which can not only meet the user's needs, but also save terminal resources and user traffic, and ensure the normal use of network resources.
Description
技术领域technical field
本发明涉及计算机领域,尤其涉及一种设置缓存的方法和装置。The invention relates to the field of computers, in particular to a method and device for setting cache.
背景技术Background technique
随着互联网技术的快速发展,人们已经习惯通过互联网获取更多的信息。于此同时,数字视频技术和智能终端的广泛普及使用户能够通过智能终端获取网络视频进行观看。With the rapid development of Internet technology, people have become accustomed to obtain more information through the Internet. At the same time, the wide popularization of digital video technology and smart terminals enables users to obtain online videos for viewing through smart terminals.
当前,越来越多的用户通过各种网站在线观看视频。针对这种在线的视频观看,通常会在终端的流媒体处理和播放软件中设定视频缓存,对当前播放点之后的视频进行预下载,以便用户能够保持流畅观看。Currently, more and more users watch videos online through various websites. For this kind of online video viewing, video cache is usually set in the streaming media processing and playback software of the terminal, and the video after the current playback point is pre-downloaded so that the user can keep watching smoothly.
此外,缓存会在用户关闭终端应用时或者更滞后一定时间统一删除,以使当前播放点之前的数据可以仍缓存在终端供用户回放。当前播放点之后的视频通常也不会无限加载,而是会根据终端预设的数据量进行下载,一方面保障用户能够流畅观看并支持适当快进,另一方面避免过度缓存增加无谓用户流量或者增大终端与流量的资源开销。In addition, the cache will be deleted uniformly when the user closes the terminal application or after a certain time lag, so that the data before the current playback point can still be cached in the terminal for the user to play back. The video after the current playback point is usually not loaded infinitely, but will be downloaded according to the preset data volume of the terminal. On the one hand, it ensures that users can watch smoothly and supports appropriate fast-forwarding. On the other hand, it avoids excessive caching to increase unnecessary user traffic or Increase the resource overhead of terminals and traffic.
在目前常见的缓存设置方法中,缓存区的总体大小是固定的,缓存流媒体的获取方式和填充方式也是固定的。在总体大小固定的缓存区内,可以通过前后搜索来进行视频播放。然而,如果后向缓存区设置得过小,当用户快进搜索的范围超出缓存范围时,则需要用户等待以便重新读取;如果后向缓存区设置得过大,则会大量占用终端资源,同时也可能导致预下载的大量内容用户并不需要,浪费流量资源。类似地,如果前向缓存区设置得过大,则会占用终端大量的内存资源;如果前向缓存区设置得过小(看过即删),则可能影响用户回看之前播放的内容。In the current common cache setting method, the overall size of the cache area is fixed, and the way of acquiring and filling the cached streaming media is also fixed. In the cache area with a fixed overall size, video playback can be performed by searching back and forth. However, if the backward buffer area is set too small, when the user's fast-forward search range exceeds the buffer range, the user needs to wait for re-reading; if the backward buffer area is set too large, a large amount of terminal resources will be occupied. At the same time, it may also lead to a large amount of pre-downloaded content that users do not need, wasting traffic resources. Similarly, if the forward buffer area is set too large, it will occupy a large amount of memory resources of the terminal; if the forward buffer area is set too small (delete after viewing), it may affect the user to watch the previously played content.
现有的缓存方法中,缓存区大小固定,当前向或者后向的缓存设置不合理时,将严重影响用户观看体验。In the existing caching method, the size of the buffer area is fixed, and if the forward or backward buffer setting is unreasonable, it will seriously affect the viewing experience of the user.
发明内容Contents of the invention
鉴于以上所述一个或多个问题,本发明实施例提供了一种设置缓存的方法和装置。In view of one or more of the above problems, embodiments of the present invention provide a method and device for setting a cache.
第一方面,提供了一种设置缓存的方法,包括以下步骤:In the first aspect, a method for setting cache is provided, including the following steps:
获取用户观看视频时的操作参数;Obtain the operating parameters when the user watches the video;
基于操作参数,识别该用户的操作习惯;Identify the user's operating habits based on the operating parameters;
基于操作习惯,设置缓存的容量大小。Based on operating habits, set the size of the cache.
第二方面,提供了一种设置缓存的装置,包括:In the second aspect, a device for setting cache is provided, including:
获取模块,用于获取用户观看视频时的操作参数;An acquisition module, configured to acquire operating parameters when the user watches the video;
识别模块,用于基于操作参数,识别该用户的操作习惯;An identification module, configured to identify the user's operating habits based on the operating parameters;
第一设置模块,用于基于操作习惯,设置缓存的容量大小。The first setting module is configured to set the capacity of the cache based on operating habits.
本发明实施例通过获取用户观看视频时的操作参数,基于操作参数识别该用户的操作习惯,并根据用户的操作习惯来设置缓存容量的大小,不仅可以契合用户需求,而且节约终端资源和用户的数量流量,并保障网络资源的正常使用。另外,通过灵活设置缓存容量大小,可以动态分配和调整服务器端和终端侧的缓存资源,从而减小终端和服务器端负担,并充分利用已有网络和终端资源,达到更好的用户体验。In the embodiment of the present invention, by acquiring the operating parameters of the user when watching a video, identifying the user's operating habits based on the operating parameters, and setting the size of the cache capacity according to the user's operating habits, it can not only meet the user's needs, but also save terminal resources and user costs. Data flow, and guarantee the normal use of network resources. In addition, by flexibly setting the size of the cache capacity, you can dynamically allocate and adjust the cache resources on the server side and the terminal side, thereby reducing the burden on the terminal and server side, and making full use of existing network and terminal resources to achieve a better user experience.
附图说明Description of drawings
从下面结合附图对本发明的具体实施方式的描述中可以更好地理解本发明其中,相同或相似的附图标记表示相同或相似的特征。The present invention can be better understood from the following description of specific embodiments of the present invention in conjunction with the accompanying drawings, wherein the same or similar reference numerals represent the same or similar features.
图1为本发明一实施例的设置缓存的方法流程示意图;FIG. 1 is a schematic flow chart of a method for setting a cache according to an embodiment of the present invention;
图2为本发明另一实施例的设置缓存的方法流程示意图;FIG. 2 is a schematic flowchart of a method for setting cache according to another embodiment of the present invention;
图3为本发明一实施例的设置缓存的装置结构示意图。FIG. 3 is a schematic structural diagram of a device for setting cache according to an embodiment of the present invention.
图4为本发明另一实施例的设置缓存的装置结构示意图。FIG. 4 is a schematic structural diagram of an apparatus for setting cache according to another embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点表达得更加清楚明白,下面结合附图及具体实施例对本发明再作进一步详细的说明。In order to make the object, technical solution and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
图1为本发明一实施例的设置缓存的方法的流程示意图。FIG. 1 is a schematic flowchart of a method for setting a cache according to an embodiment of the present invention.
如图1所示,设置缓存的方法可以包括以下步骤:S110,获取用户观看视频时的操作参数;S120,基于操作参数,识别该用户的操作习惯;S130,基于操作习惯,设置缓存的容量大小。As shown in Figure 1, the method for setting the cache may include the following steps: S110, obtain the operating parameters when the user watches the video; S120, identify the user's operating habits based on the operating parameters; S130, set the capacity of the cache based on the operating habits .
在一些实施例中,操作参数可以包括以下项中的至少一项:搜索次数、搜索方向和搜索频率。In some embodiments, the operating parameters may include at least one of the following: number of searches, search direction, and search frequency.
在一些实施例中,操作习惯还可以包括:快进的习惯和/或快退的习惯。In some embodiments, the operating habit may also include: a habit of fast forwarding and/or a habit of rewinding.
本发明实施例通过获取用户观看视频时的操作参数,基于操作参数识别该用户的操作习惯,并根据用户的操作习惯来设置缓存容量的大小,不仅可以契合用户需求,而且节约终端资源和用户的数量流量,并保障网络资源的正常使用。另外,通过灵活设置缓存容量大小,可以动态分配和调整服务器端和终端侧的缓存资源,从而减小终端和服务器端负担,并充分利用已有网络和终端资源,达到更好的用户体验。In the embodiment of the present invention, by acquiring the operating parameters of the user when watching a video, identifying the user's operating habits based on the operating parameters, and setting the size of the cache capacity according to the user's operating habits, it can not only meet the user's needs, but also save terminal resources and user costs. Data flow, and guarantee the normal use of network resources. In addition, by flexibly setting the size of the cache capacity, you can dynamically allocate and adjust the cache resources on the server side and the terminal side, thereby reducing the burden on the terminal and server side, and making full use of existing network and terminal resources to achieve a better user experience.
在一些实施例中,基于操作习惯,设置缓存的容量大小的步骤(即S130)可以包括:当快进的次数或者频率达到预设的阈值时,增大前向的缓存区的大小。In some embodiments, based on operating habits, the step of setting the size of the buffer (ie S130 ) may include: increasing the size of the forward buffer when the number or frequency of fast forwarding reaches a preset threshold.
在一些实施例中,基于操作习惯,设置缓存的容量大小的步骤(即S130)还可以包括:当快退的操作次数或者频率达到预设的阈值时,增大后向的缓存区的大小。In some embodiments, based on operating habits, the step of setting the size of the buffer (ie S130 ) may further include: increasing the size of the backward buffer when the number or frequency of rewind operations reaches a preset threshold.
在一些实施例中,在基于操作参数,识别该用户的操作习惯的步骤(即S120)之后,还包括以下步骤:将用户的操作习惯与用户的账户绑定。In some embodiments, after the step of identifying the user's operating habits based on the operating parameters (ie S120), the following step is further included: binding the user's operating habits with the user's account.
在一些实施例中,针对用户操作习惯设置或者调整缓存容量的策略的实现方式可以为:In some embodiments, the strategy for setting or adjusting the cache capacity according to the user's operating habits can be implemented as follows:
获取用户观看同类视频过程中的进度条seek操作信息,包括seek方向(快进/快退),seek次数或者seek频率。操作越频繁则对应的大小和比例越大,分析并记录用户使用的seek习惯和特点。当用户频繁进行前向seek操作时增大前向seek缓存区大小。当用户频繁进行后向seek时增大后向缓存区大小。Obtain the seek operation information of the progress bar when the user watches similar videos, including seek direction (fast forward/rewind), seek times or seek frequency. The more frequent the operation, the larger the corresponding size and ratio. Analyze and record the user's seek habits and characteristics. Increase the size of the forward seek buffer when users frequently perform forward seek operations. Increase the size of the backward buffer when users frequently perform backward seeks.
1)当某一用户观看视频时基本不进行进度条调整时,采用默认的缓存策略;1) When a user basically does not adjust the progress bar when watching a video, the default caching strategy is adopted;
默认的缓存设置参数为通过服务器获取的用户的初始值或者视频APP预设的初始值,包括缓存区总体大小,前向/后向缓存区大小,缓存获取的码流速度阈值等。其中通过服务器获取的初始值可以是服务器根据不同区域和用户群体给出不同模板。The default cache setting parameters are the user's initial value obtained through the server or the initial value preset by the video APP, including the overall size of the buffer area, the size of the forward/backward buffer area, and the speed threshold of the code stream obtained by the cache, etc. The initial value acquired by the server may be that the server provides different templates according to different regions and user groups.
2)当检测到某一用户观看视频时具有频繁的快进操作时,例如在30分钟视频播放时间内快进的次数达到5次以上,则增加用户的后向缓存的大小,或者当为缓存总量固定的环形缓存视频时,增大其中后向缓存占比大小。同理,若用户频繁回看之前的内容,则增大前向缓存的大小或者缓存占比。2) When it is detected that a certain user has frequent fast-forward operations when watching a video, for example, the number of fast-forward times reaches more than 5 times within 30 minutes of video playback time, then increase the size of the user's backward cache, or when it is a cache When the total amount of ring cache video is fixed, increase the proportion of the backward cache. Similarly, if the user frequently looks back at the previous content, increase the size of the forward cache or the cache ratio.
3)考虑到默认的缓存设置可能已经能够满足用户快进或者快退的操作,终端可以在考虑用户快进快退操作频次的基础上进一步检测,用户快进或者快退后是否需要等待缓存加载,例如当用户仅进行小幅度的快进时(请求播放的时间点滞后于当前播放时间点10秒左右)现有的缓存策略能够支持用户不卡顿的直接观看,但是若用户进行大幅度的快进时(请求播放的时间点滞后于当前播放时间点10分钟左右)终端将能够感知用户需要等待缓存重新加载,即现有的缓存策略不能满足用户的播放习惯。通过分析记录用户快进/快退后需要等待缓存加载的频次进而对前向或者后向缓存的大小或者占比进行调整。3) Considering that the default cache settings may already be able to satisfy the user's fast forward or fast rewind operation, the terminal can further detect whether the user needs to wait for the cache to load after fast forwarding or fast rewinding based on the frequency of the user's fast forward and fast rewind operations For example, when the user only performs a small fast-forward (the requested playback time lags behind the current playback time by about 10 seconds), the existing caching strategy can support the user's direct viewing without freezing, but if the user performs a large When fast forwarding (the requested playback time is about 10 minutes behind the current playback time), the terminal will be able to perceive that the user needs to wait for the cache to reload, that is, the existing caching strategy cannot meet the user's playback habits. By analyzing and recording the frequency that users need to wait for the cache to load after fast forwarding/rewinding, the size or proportion of the forward or backward cache is adjusted.
当用户频繁进行后向seek操作时,终端会在初始值基础上在阈值内调大缓存获取速度以更快地填充后向片源方便观看。而当用户前向seek操作较多时,则可适当降低或保持不变终端缓存获取速度。When the user frequently performs backward seek operations, the terminal will increase the cache acquisition speed within the threshold based on the initial value to fill the backward film source faster and facilitate viewing. And when the user performs many forward seek operations, the terminal cache acquisition speed can be appropriately reduced or kept unchanged.
图2为本发明另一实施例的设置缓存的方法的流程示图。Fig. 2 is a flowchart of a method for setting a cache according to another embodiment of the present invention.
如图2所示,设置缓存的方法可以包括以下步骤:S110,获取用户观看视频时的操作参数;S120,基于操作参数,识别该用户的操作习惯;S140,基于操作习惯,结合用户当前选择观看的视频的片源类型、片源格式、和播放情况中一个或多个设置缓存的容量大小。As shown in Figure 2, the method for setting the cache may include the following steps: S110, obtain the operating parameters when the user watches the video; S120, identify the user's operating habits based on the operating parameters; S140, based on the operating habits, combined with the user's current selection to watch One or more of the video source type, video source format, and playback conditions set the size of the cache.
在一些实施例中,基于操作习惯,结合用户当前选择观看的视频的片源类型、片源格式、和播放情况中一个或多个设置缓存的容量大小的步骤(即S140)可以包括:当片源类型为点播类型时,将缓存的总容量大小设置为固定值。In some embodiments, based on operating habits, the step of setting the size of the buffer (i.e. S140) in one or more of the source type, source format, and playback conditions of the video currently selected by the user to watch may include: When the source type is on-demand, set the total cache capacity to a fixed value.
在一些实施例中,基于操作习惯,结合用户当前选择观看的视频的片源类型、片源格式、和播放情况中一个或多个设置缓存的容量大小的步骤(即S140)还可以包括:当片源类型为直播时,将缓存的总容量大小设置为变动值。In some embodiments, based on the operating habits, the step of setting the capacity of the buffer (i.e. S140) in combination with one or more of the source type of the video currently selected by the user to watch, the format of the source, and the playback situation (i.e. S140) may also include: When the source type is live broadcast, set the total cache capacity as a variable value.
在一些实施例中,将缓存的总容量大小设置为变动值的步骤可以包括:任意增大缓存中的前向缓存的大小。In some embodiments, the step of setting the total capacity of the cache as a variable value may include: arbitrarily increasing the size of the forward cache in the cache.
在一些实施例中,设置缓存的方法可以例如由终端侧的缓存识别模块、缓存执行模块以及环形缓存区共同完成。In some embodiments, the method for setting the cache may, for example, be jointly completed by the cache identification module, the cache execution module, and the ring cache on the terminal side.
在一些实施例中,终端侧的缓存识别模块是核心,其负责识别、分析和记录终端侧的相关播放数据,根据用户使用习惯(包括喜欢的片源类型,包括点播、直播和片源的视频格式和内容源,喜欢进行的seek操作,比如seek的次数、方向和频率),结合当前用户侧的网络情况(比如,在不同用户使用习惯下,不同内容源的实际码流获取速度,网络延迟和抖动情况等),给出缓存调整的参数建议。In some embodiments, the cache identification module on the terminal side is the core, which is responsible for identifying, analyzing and recording relevant playback data on the terminal side. formats and content sources, preferred seek operations, such as the number, direction and frequency of seeks), combined with the current network conditions on the user side (for example, under different user habits, the actual code stream acquisition speed of different content sources, network delay and jitter conditions, etc.), giving parameter recommendations for cache adjustment.
在一些实施例中,针对片源类型设置或者调整缓存策略的实现方式具体可以如下所示:In some embodiments, the implementation of setting or adjusting the caching strategy for the type of film source may be as follows:
确定用户使用该应用程序时播放的片源类型,即为点播还是直播,将点播视频的缓存总量设为固定值,即通过环形缓存处理点播的视频;将直播视频的缓存总量设为变动值,即其中的前向缓存可以无限增加,便于用户随时回看。而后向缓存可以设为较大的固定值或者尽可能多的加载,或者也可将直播视频的缓存总量也设为变动值,但是要大于点播视频的缓存总量,并且相应增加前向缓存大小。Determine the type of video source played when the user uses the application, that is, on-demand or live broadcast, and set the total amount of buffered video on demand as a fixed value, that is, process the on-demand video through a ring buffer; set the total amount of buffered live video as variable The value, that is, the forward cache can be increased infinitely, which is convenient for users to look back at any time. The backward cache can be set to a larger fixed value or loaded as much as possible, or the total cache of live video can also be set to a variable value, but it should be greater than the total cache of on-demand videos, and the forward cache should be increased accordingly size.
考虑到点播视频用户完整回看的可能性不大,因此采用环形缓存可以节约终端的内存资源;而对于直播视频,考虑到用户在直播过程中可能没有时间回看之前的片段,因此暂不删除前向缓存,以便结束直播后,用户可以补看之前错过的片段,而直播的后向缓存也不加限制(即尽可能多的加载),以便保证直播的实时性。Considering that it is unlikely for users to watch the video on demand completely, the use of ring buffer can save the memory resources of the terminal; and for live video, considering that the user may not have time to review the previous clips during the live broadcast, so we will not delete them for the time being. Forward caching, so that after the live broadcast ends, users can catch up on the previously missed clips, and the backward caching of the live broadcast is not limited (that is, load as much as possible), so as to ensure the real-time performance of the live broadcast.
当用户播放的片源中大部分的码率都是码率偏大时,终端会在初始值基础上在阈值内调大缓存获取速度以更快地填充后向片源方便观看。而当用户播放的片源大部分码率偏小时,则可适当降低或保持不变终端缓存获取速度,在用户播放大码率片源时才根据情况增大。When the bit rate of most of the video sources played by the user is too high, the terminal will increase the cache acquisition speed within the threshold based on the initial value to fill up the video sources faster and facilitate viewing. And when most of the bitrates of the video sources played by the user are relatively small, the terminal cache acquisition speed can be appropriately reduced or kept unchanged, and it can be increased according to the situation when the user is playing a high bitrate video source.
在一些实施例中,针对片源格式调整缓存策略的实现方式具体可以如下所示:In some embodiments, the implementation of adjusting the caching strategy for the format of the film source may be specifically as follows:
因各种格式的片源其数据量大小不同,因此需要基于片源格式动态调整视频缓存的大小以便保证用户的快进/快退的操作时间。例如当片源为H.264格式时100M的缓存能满足80秒的离线浏览,但当片源为H.265格式时,100M的缓存能满足160秒的离线浏览,为了使用户不明显感知缓存差异,需要按照片源格式为其换算一定比例的缓存大小。Because the data volume of various formats of film sources is different, it is necessary to dynamically adjust the size of the video cache based on the film source format in order to ensure the user's fast forward/rewind operation time. For example, when the video source is in H.264 format, a 100M cache can satisfy offline browsing for 80 seconds, but when the video source is in H.265 format, a 100M cache can satisfy offline browsing for 160 seconds. If there is a difference, a certain percentage of the cache size needs to be converted according to the photo source format.
当用户播放的片源中大部分压缩率较低时,终端会在初始值基础上在阈值内调大缓存获取速度以更快地填充后向片源方便观看。而当用户播放的片源大部分分压缩率较高时,则可适当降低或保持不变终端缓存获取速度。When most of the video sources played by the user have a low compression rate, the terminal will increase the cache acquisition speed within the threshold based on the initial value to fill the backward video sources faster and facilitate viewing. And when most of the movie sources played by the user have a high compression rate, the terminal cache acquisition speed can be appropriately reduced or kept unchanged.
在一些实施例中,针对网络情况调整缓存策略的方式具体可以如下所示:In some embodiments, the manner of adjusting the caching policy according to the network conditions may be specifically as follows:
在该用户播放的片源出现较多的网络卡顿和延迟时,通知缓存执行模块适当调高缓存区整体大小和缓存获取速度,以便在网络波动过程中能够获取更大的向后读取的可能性,而当播放的片源非常流畅和卡顿情况极少的情况,可以适当调低缓存大小和缓存获取速度,降低终端开销和服务器端的开销。When there are many network freezes and delays in the video source played by the user, the cache execution module is notified to appropriately increase the overall size of the cache area and the cache acquisition speed, so as to obtain a larger backward read during the network fluctuation process. Possibilities, and when the playback source is very smooth and there are very few freezes, the cache size and cache acquisition speed can be appropriately reduced to reduce terminal overhead and server-side overhead.
可以由缓存执行模块根据设置参数,对缓存内的内容进行填充,并负责反馈相关执行数据。对于环形缓存,当整个缓冲区的内容未满时,首先向后填充。当整个缓存区已经满时,则由最新缓存的内容取代最旧缓存的内容,但是取代的内容不会超过视频播放的进度点。The cache execution module can fill the content in the cache according to the set parameters, and is responsible for feeding back relevant execution data. For ring buffers, when the contents of the entire buffer are not full, it is first filled backwards. When the entire cache area is full, the oldest cached content will be replaced by the latest cached content, but the replaced content will not exceed the progress point of video playback.
还可以由缓存执行模块将执行的结果和相关参数上报给服务器,尤其需要上报上述用户操作习惯,因为该项调整与用户强相关,而为了保持参数调整的大概率合理性,其他几种调整策略也都是与用户近期观看内容和网络情况动态调整的综合结果相关。服务器获取各账户的用户操作习惯并保存,以便用户下次登录时,可将已存的用户操作习惯下发至当前登录终端,以便当前终端根据用户习惯和网络情况对该终端上的缓存参数进行调整。The execution result and related parameters can also be reported to the server by the cache execution module, especially the above-mentioned user operation habits, because this adjustment is strongly related to the user, and in order to maintain the high probability and rationality of parameter adjustment, several other adjustment strategies It is also related to the comprehensive result of the user's recent viewing content and the dynamic adjustment of network conditions. The server obtains and saves the user's operating habits of each account, so that when the user logs in next time, the stored user's operating habits can be sent to the current login terminal, so that the current terminal can update the cached parameters on the terminal according to the user's habits and network conditions. Adjustment.
下面以用户观看视频为例,具体说明缓存设置方法的实现方式,该方法包括以下步骤:The following takes the user watching a video as an example to describe the implementation of the cache setting method in detail. The method includes the following steps:
步骤1,用户登录,获取用户账号信息;Step 1, the user logs in and obtains the user account information;
步骤2,获取该用户缓存设置;Step 2, obtain the user cache settings;
若服务器侧未保存有该用户的习惯参数,则此时用户缓存设置为该区域该类型用户的默认缓存设置,并至步骤3;若服务器侧具有该用户的操作习惯参数,例如习惯频繁回看,则将该习惯下发至该用户当前终端的应用,并至步骤4;If the user’s habit parameters are not saved on the server side, then the user cache is set to the default cache setting for this type of user in the area at this time, and go to step 3; if the server side has the user’s operating habit parameters, such as the habit of frequently reviewing , send the habit to the application of the user's current terminal, and go to step 4;
步骤3,用户观看点播视频,同时进行频繁的后向seek操作,此时网络状况极佳,此时可以适当降低用户终端的缓存区大小,适当调高后向seek缓存区比例,同时通知服务器端在范围内适当降低缓存码流获取速度。Step 3: The user watches the on-demand video and performs frequent backward seek operations at the same time. At this time, the network condition is excellent. At this time, the size of the buffer area of the user terminal can be appropriately reduced, and the proportion of the backward seek buffer area can be appropriately increased. At the same time, the server is notified Appropriately reduce the acquisition speed of the cache code stream within the range.
步骤4,用户播放HLS类型直播码流,因为用户习惯频繁回看,因此调大前向缓存(或不限前向缓存量);又因为卡顿和延迟情况较明显,缓存识别模块通知缓存执行模块进一步调大缓存区大小,适当调整前向缓存区比例,方便用户在码率变化较大的情况下获取更多前向缓存,优化用户播放体验。Step 4, the user plays the HLS type live stream, because the user is used to watching back frequently, so the forward buffer is increased (or the amount of forward buffer is not limited); and because of the obvious lag and delay, the cache identification module notifies the cache to execute The module further increases the size of the buffer area and properly adjusts the proportion of the forward buffer area, so that users can obtain more forward buffers when the code rate changes greatly, and optimize the user's playback experience.
在本实施例中,具体缓存总大小、前向缓存大小、后向缓存大小及终端获取缓存速度的执行结果,与以上情况1、情况2、情况3和情况4的判断结果综合产生,比如将总缓存大小分为7档从1到10,逐渐变大。前向缓存大小从2到10,后向缓存大小从0到8。缓存获取速度分为5档从a到e,逐渐变大。那么某一项调整结果由情况1的因子*情况1的系数+情况2的因子*情况2的系数+情况3的因子*情况3的系数+情况4的因子*情况4的系数得出综合结果。In this embodiment, the execution results of the specific total cache size, forward cache size, backward cache size, and terminal acquisition cache speed are combined with the judgment results of the above cases 1, 2, 3, and 4. For example, The total cache size is divided into 7 files from 1 to 10, gradually increasing. The forward cache size is from 2 to 10, and the backward cache size is from 0 to 8. The cache acquisition speed is divided into 5 levels from a to e, and gradually increases. Then the adjustment result of a certain item is the comprehensive result obtained from the factor of case 1 * the coefficient of case 1 + the factor of case 2 * the coefficient of case 2 + the factor of case 3 * the coefficient of case 3 + the factor of case 4 * the coefficient of case 4 .
比如前向缓存大小,当多种情况同时发生时,比如情况1和情况2同时发生,情况1用户喜欢频繁前向会看操作因子为2,系数默认为2;情况2,用户观看直播码率的情况占到90%以上,操作因子为2,系数默认为4;情况3和情况4符合默认情况,则调大前向缓存的影响值为12,此时根基折算值适当调大前向缓存的大小。同时近期用户播放的片源频繁出现卡顿情况,操作因子为2,系数默认为2,那么在此基础上调大缓存区大小的的影响值为4,那么会执行模块会综合调大整体缓存区,同时根据影响值调大后向缓存区的大小和比例。具体的操作因子、系数和影响值的计算方法和参数设置与执行结果的关系皆可根据具体用户使用情况和效果进行预先设置和后续调整。For example, the size of the forward buffer, when multiple situations occur at the same time, such as situation 1 and situation 2 occur at the same time, in situation 1, the user likes to look forward frequently, and the operation factor is 2, and the coefficient is 2 by default; in situation 2, the bit rate of the user watching live broadcast The cases accounted for more than 90%, the operating factor is 2, and the coefficient is 4 by default; case 3 and case 4 meet the default conditions, then the impact value of increasing the forward cache is 12, and the basic conversion value is appropriately adjusted to increase the forward cache the size of. At the same time, the video source played by the user has frequently been stuck recently. The operation factor is 2, and the coefficient is 2 by default. Then, on this basis, the impact value of increasing the size of the buffer area is 4. Then the execution module will comprehensively increase the overall buffer area. , and increase the size and proportion of the backward buffer according to the influence value. The calculation methods of specific operation factors, coefficients, and influence values, as well as the relationship between parameter settings and execution results, can be pre-set and subsequently adjusted according to specific user usage and effects.
由此,通过上述实施例可以识别、分析和记录终端侧的相关播放数据,根据用户使用习惯(包括喜欢的片源类型,包括点播、直播和片源的视频格式和内容源,喜欢进行的seek(搜索)操作,比如seek的次数、方向和频率),结合当前用户侧的网络情况(比如,在不同用户使用习惯下,不同内容源的实际码流获取速度,网络延迟和抖动情况等),给出缓存调整的参数建议。Thus, through the above-mentioned embodiment, the relevant playback data on the terminal side can be identified, analyzed and recorded, and according to the user's usage habits (including the type of film source he likes, the video format and content source including on-demand, live broadcast and film source, the seek he likes to perform) (search) operations, such as the number, direction and frequency of seeks), combined with the current network conditions on the user side (for example, under different user habits, the actual code stream acquisition speed of different content sources, network delay and jitter, etc.), Gives parameter recommendations for cache tuning.
上述实施例可以根据各用户操作习惯确定视频流缓存设置。还可以将用户操作习惯与用户账户绑定,便于各终端及时识别用户操作习惯以便对缓存进行调整,此外,除根据用户操作习惯外,还结合相应片源类型、格式或者网络情况对终端和服务器端的缓存开销进行调整,达到最大利用资源的目的。In the foregoing embodiments, video stream buffering settings may be determined according to each user's operating habits. It is also possible to bind the user's operating habits with the user's account, so that each terminal can identify the user's operating habits in time to adjust the cache. Adjust the cache overhead of the terminal to achieve the purpose of maximizing resource utilization.
需要说明的是,在不冲突的情况下,各实施例中的特征可以相互组合。图1和图2的操作步骤的顺序进行灵活调整。为了简明,在此不再赘述这方面内容。It should be noted that, in the case of no conflict, the features in the various embodiments can be combined with each other. The order of the operation steps in Figure 1 and Figure 2 can be flexibly adjusted. For the sake of brevity, this aspect will not be repeated here.
图3为本发明一实施例的设置缓存的装置结构示意图。FIG. 3 is a schematic structural diagram of a device for setting cache according to an embodiment of the present invention.
如图3所示,设置缓存的装置300可以包括:获取模块310、识别模块320和第一设置模块330。其中,获取模块310可以用于获取用户观看视频时的操作参数;识别模块320可以用于基于操作参数,识别该用户的操作习惯;第一设置模块330可以用于基于操作习惯,设置缓存的容量大小。As shown in FIG. 3 , the apparatus 300 for setting cache may include: an acquisition module 310 , an identification module 320 and a first setting module 330 . Among them, the obtaining module 310 can be used to obtain the operating parameters when the user watches the video; the identifying module 320 can be used to identify the user's operating habits based on the operating parameters; the first setting module 330 can be used to set the capacity of the cache based on the operating habits size.
需要说明的是,各实施例中所示的功能单元或者功能模块的实现方式可以为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本发明的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。It should be noted that the implementation of the functional units or functional modules shown in each embodiment may be hardware, software, firmware or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments employed to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted over transmission media or communication links by data signals carried in carrier waves. "Machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. Code segments may be downloaded via a computer network such as the Internet, an Intranet, or the like.
可以理解,设置缓存的装置300可以是终端设备,例如,手机、平板电脑和计算机等。用于终端的缓存设置的装置中的各个功能单元可以进行不同程度的组合应用,为了简明,不再赘述各种组合的实现方式,本领域的技术人员可以按实际需要将上述的各个功能单元或者功能模块进行灵活调整,或者进行灵活组合等操作。此外,在具体配置上述各功能单元或者功能模块时,只要能够实现具体的功能即可,具体制造方法或者产品的型号等不做限制,各个功能单元或者功能模块的连接位置关系也不做限制。It can be understood that the apparatus 300 for setting a cache may be a terminal device, for example, a mobile phone, a tablet computer, a computer, and the like. Various functional units in the device for buffer setting of the terminal can be combined and applied in different degrees. The functional modules can be flexibly adjusted or combined flexibly. In addition, when configuring the above-mentioned functional units or functional modules, as long as specific functions can be realized, there is no limitation on the specific manufacturing method or model of the product, and there is no limitation on the connection position of each functional unit or functional module.
图4为本发明另一实施例的设置缓存的装置结构示意图。FIG. 4 is a schematic structural diagram of an apparatus for setting cache according to another embodiment of the present invention.
如图4所示,设置缓存的装置400可以包括:获取模块310、识别模块320、第一设置模块330和第二设置模块340。其中,获取模块310可以用于获取用户观看视频时的操作参数;识别模块320可以用于基于操作参数,识别该用户的操作习惯;第一设置模块330可以用于基于操作习惯,设置缓存的容量大小;第二设置模块340可以用于基于操作习惯,结合用户当前选择观看的视频的片源类型、片源格式、和播放情况中一个或多个设置缓存的容量大小。As shown in FIG. 4 , the apparatus 400 for setting cache may include: an acquisition module 310 , an identification module 320 , a first setting module 330 and a second setting module 340 . Among them, the obtaining module 310 can be used to obtain the operating parameters when the user watches the video; the identifying module 320 can be used to identify the user's operating habits based on the operating parameters; the first setting module 330 can be used to set the capacity of the cache based on the operating habits Size; the second setting module 340 can be used to set the capacity size of the cache based on one or more of the source type, source format, and playback conditions of the video currently selected by the user to watch based on operating habits.
本领域普通技术人员可以意识到,上述各个功能单元或者模块,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that each of the above-mentioned functional units or modules can be realized by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above-mentioned Function generally describes the composition and steps of each example. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
在一些实施例中,操作参数包括以下项中的至少一项:搜索次数、搜索方向和搜索频率。In some embodiments, the operational parameters include at least one of: number of searches, search direction, and search frequency.
在一些实施例中,操作习惯包括:快进的习惯和/或快退的习惯。In some embodiments, the operating habit includes: a habit of fast forwarding and/or a habit of fast rewinding.
在一些实施例中,第一设置模块330还用于:当快进的次数或者频率达到预设的阈值时,增大前向的缓存区的大小。In some embodiments, the first setting module 330 is further configured to: increase the size of the forward buffer when the number or frequency of fast forwarding reaches a preset threshold.
在一些实施例中,第一设置模块330还用于:当快退的操作次数或者频率达到预设的阈值时,增大后向的缓存区的大小。In some embodiments, the first setting module 330 is further configured to: increase the size of the backward buffer when the number or frequency of rewind operations reaches a preset threshold.
作为一个可选的实施例,可以在图2或者图3的基础上增加绑定单元。绑定单元可以用于将用户的操作习惯与用户的账户绑定。As an optional embodiment, a binding unit may be added on the basis of FIG. 2 or FIG. 3 . The binding unit can be used to bind the user's operating habits with the user's account.
在一些实施例中,第二设置模块340还用于:当片源类型为点播类型时,将缓存的总容量大小设置为固定值。In some embodiments, the second setting module 340 is further configured to: set the total capacity of the cache as a fixed value when the film source type is an on-demand type.
在一些实施例中,第二设置模块340还用于:当片源类型为直播时,将缓存的总容量大小设置为变动值。In some embodiments, the second setting module 340 is further configured to: set the total cache capacity as a variable value when the film source type is live broadcast.
在一些实施例中,第二设置模块340还用于:当片源类型为直播时,任意增大缓存中的前向缓存的大小。In some embodiments, the second setting module 340 is further configured to: arbitrarily increase the size of the forward cache in the cache when the film source type is live broadcast.
在一些实施例中,设置缓存的装置可以包括:上述缓存识别模块、缓存执行模块以及环形缓存区。In some embodiments, the apparatus for setting a cache may include: the above-mentioned cache identification module, cache execution module, and ring cache.
由此,本发明上述实施例提出了针对用户操作习惯调整缓存策略,由终端获取用户观看视频过程中进度条seek操作信息,包括seek方向、seek次数或者seek频率(或进一步检测是否等待缓存加载)。操作越频繁(等待越频繁)则调整对应方向缓存的大小和比例越大。此外,本发明上述实施例还公开了根据片源类型、片源格式或者网络情况调整缓存策略的具体方案。另外,终端能够根据用户视频的观看习惯调整缓存设置,更契合用户需求。在此基础上结合其他策略调整方案,能够使缓存设置灵活,充分利用已有网络和终端资源,提升用户体验。Therefore, the above-mentioned embodiment of the present invention proposes to adjust the cache strategy according to the user's operating habits, and the terminal obtains the seek operation information of the progress bar during the user's viewing of the video, including the seek direction, the number of seeks or the seek frequency (or to further detect whether to wait for the cache to load) . The more frequent the operation (the more frequent the wait), the larger the size and ratio of the corresponding direction buffer will be adjusted. In addition, the above-mentioned embodiments of the present invention also disclose specific solutions for adjusting the caching strategy according to the type of the film source, the format of the film source or network conditions. In addition, the terminal can adjust the cache settings according to the user's video viewing habits, which is more in line with the user's needs. On this basis, combined with other policy adjustment schemes, the cache setting can be made flexible, the existing network and terminal resources can be fully utilized, and the user experience can be improved.
需要说明的是,上述各实施例的装置可作为上述各实施例的方法中的执行主体,可以实现各个方法中的相应流程,上述各个实施例中的内容可以互相参考使用,为了简洁,此方面内容不再赘述。It should be noted that the devices in the above-mentioned embodiments can be used as the execution subject in the methods of the above-mentioned embodiments, and can realize the corresponding processes in each method. The contents in the above-mentioned embodiments can be used by referring to each other. The content will not be repeated.
以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使对应技术方案的本质脱离本发明各实施例技术方案的范围。The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended 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: it can still be applied to the foregoing embodiments Modifications to the technical solutions described in the examples, or equivalent replacement of some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611267955.9A CN106658067B (en) | 2016-12-31 | 2016-12-31 | Method and device for setting cache |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611267955.9A CN106658067B (en) | 2016-12-31 | 2016-12-31 | Method and device for setting cache |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106658067A true CN106658067A (en) | 2017-05-10 |
| CN106658067B CN106658067B (en) | 2019-11-12 |
Family
ID=58839052
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611267955.9A Active CN106658067B (en) | 2016-12-31 | 2016-12-31 | Method and device for setting cache |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106658067B (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109067916A (en) * | 2018-09-21 | 2018-12-21 | 深圳市九洲电器有限公司 | A kind of online multimedia document down loading method and device, electronic equipment |
| CN110234020A (en) * | 2018-03-06 | 2019-09-13 | 优酷网络技术(北京)有限公司 | Video broadcasting method and device |
| CN110807106A (en) * | 2019-10-31 | 2020-02-18 | 广州市网星信息技术有限公司 | Multimedia data processing method and device, computer equipment and storage medium |
| CN112631504A (en) * | 2019-09-24 | 2021-04-09 | 北京京东尚科信息技术有限公司 | Method and device for realizing local cache by using off-heap memory |
| CN114745572A (en) * | 2022-04-14 | 2022-07-12 | 中国联合网络通信集团有限公司 | Video cache control method, device, equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103442293A (en) * | 2013-08-30 | 2013-12-11 | 武汉眸博科技有限公司 | Method and system for quickly starting playing of network multimedia files |
| CN103442267A (en) * | 2013-08-20 | 2013-12-11 | 乐视网信息技术(北京)股份有限公司 | User behavior information collection method and television |
| CN103442270A (en) * | 2013-09-17 | 2013-12-11 | 北京奇艺世纪科技有限公司 | Method and device for acquiring viewing data of user |
| CN105144733A (en) * | 2013-02-06 | 2015-12-09 | 微软技术许可有限责任公司 | Dynamic buffer |
| CN105979346A (en) * | 2015-12-03 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Method and device for playing streaming media |
-
2016
- 2016-12-31 CN CN201611267955.9A patent/CN106658067B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105144733A (en) * | 2013-02-06 | 2015-12-09 | 微软技术许可有限责任公司 | Dynamic buffer |
| CN103442267A (en) * | 2013-08-20 | 2013-12-11 | 乐视网信息技术(北京)股份有限公司 | User behavior information collection method and television |
| CN103442293A (en) * | 2013-08-30 | 2013-12-11 | 武汉眸博科技有限公司 | Method and system for quickly starting playing of network multimedia files |
| CN103442270A (en) * | 2013-09-17 | 2013-12-11 | 北京奇艺世纪科技有限公司 | Method and device for acquiring viewing data of user |
| CN105979346A (en) * | 2015-12-03 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Method and device for playing streaming media |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110234020A (en) * | 2018-03-06 | 2019-09-13 | 优酷网络技术(北京)有限公司 | Video broadcasting method and device |
| CN110234020B (en) * | 2018-03-06 | 2021-11-19 | 阿里巴巴(中国)有限公司 | Video playing method and device |
| CN109067916A (en) * | 2018-09-21 | 2018-12-21 | 深圳市九洲电器有限公司 | A kind of online multimedia document down loading method and device, electronic equipment |
| CN109067916B (en) * | 2018-09-21 | 2021-05-11 | 深圳市九洲电器有限公司 | Online multimedia file downloading method and device and electronic equipment |
| CN112631504A (en) * | 2019-09-24 | 2021-04-09 | 北京京东尚科信息技术有限公司 | Method and device for realizing local cache by using off-heap memory |
| CN110807106A (en) * | 2019-10-31 | 2020-02-18 | 广州市网星信息技术有限公司 | Multimedia data processing method and device, computer equipment and storage medium |
| CN110807106B (en) * | 2019-10-31 | 2024-04-26 | 广州市网星信息技术有限公司 | Multimedia data processing method and device, computer equipment and storage medium |
| CN114745572A (en) * | 2022-04-14 | 2022-07-12 | 中国联合网络通信集团有限公司 | Video cache control method, device, equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106658067B (en) | 2019-11-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10419787B2 (en) | Dynamic programming across multiple streams | |
| US9716733B2 (en) | System and method for reusing file portions between different file formats | |
| US9529888B2 (en) | System and method for efficiently providing media and associated metadata | |
| EP2649792B1 (en) | Pre-buffering audio/video stream pairs | |
| US9571550B2 (en) | Optimized client side rate control and indexed file layout for streaming media | |
| CN106658067B (en) | Method and device for setting cache | |
| CN106688239B (en) | Video download method, device and system | |
| JP2018023133A (en) | Use of quality information for adaptive streaming of media content | |
| US11758203B2 (en) | Adaptive bitrate video cache | |
| WO2015009684A1 (en) | Quality optimization with buffer and horizon constraints in adaptive streaming | |
| US20230217085A1 (en) | Presenting media items on a playing device | |
| EP3047627B1 (en) | Dash representations adaptations in network | |
| CN107690093B (en) | A video playback method and device | |
| KR102222375B1 (en) | Method for file management and an electronic device thereof | |
| US11184655B1 (en) | System and method for intelligent delivery of segmented media streams | |
| KR102304476B1 (en) | Multipath-based block transmission system and streaming method for adaptive streaming service | |
| CN102739765A (en) | Reception apparatus, reception method, and program | |
| CN102202231B (en) | The processing method of time shifting channel and device | |
| CN120602718A (en) | Video playback method, device, electronic device, and computer-readable storage medium | |
| CN116347127A (en) | Audio and video sending method and device and communication equipment | |
| US20200059528A1 (en) | Client-side quality-of-service (qos) for viewing of adaptive bitrate (abr) streams | |
| JP2022039452A (en) | Reception terminal, distribution server, reception method and reception program | |
| WO2017145781A1 (en) | Pacing control device, pacing control method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |