Method and apparatus for dynamically downloading a video, electronic device and storage medium
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorsAoyang Zhang, Qing Huang, Qian Ma
Life of this patent
Estimating the term…
Abstract
A method and an apparatus for dynamically downloading a video, an electronic device and a non-transient computer-readable storage medium are provided. The method includes determining a current video segment corresponding to a current playback time point during a playback process of a current video; acquiring a cache decision threshold value corresponding to the current video segment; and determining a download strategy for the current video based on an amount of cached data that is currently cached and not laved and the cache decision threshold value.
Claims20
A method for dynamically downloading a video, comprising:
- determining a current video segment corresponding to a current playback time point during a playback process of a current video;
- acquiring a cache decision threshold value corresponding to the current video segment;
- and
- determining a download strategy for the current video based on an amount of cached data that is currently cached and not played and the cache decision threshold value,
- wherein the determining the current video segment corresponding to the current playback time point comprises:
- determining a playback duration range corresponding to each video segment in distribution of video segments respectively, wherein a manner of determining the distribution of video segments comprises:
- determining a historical playback video based on at least one of video duration and video resolution, and
- determining the distribution of video segments based on an exit rate at a plurality of playback time points in the historical playback video;
- and
- determining the current video segment corresponding to the current playback time point according to a playback duration range to which the current playback time point belongs.
An electronic device comprising:
- at least one processor;
- and
- a storage apparatus, configured to store at least one program,
- wherein when the at least one program executed by the at least one processor, causes the at least one processor to implement operations, the operations comprise:
- determining a current video segment corresponding to a current playback time point during a playback process of a current video;
- acquiring a cache decision threshold value corresponding to the current video segment;
- and
- determining a download strategy for the current video based on an amount of cached data that is currently cached and not played and the cache decision threshold value,
- wherein the determining the current video segment corresponding to the current playback time point comprises:
- determining a playback duration range corresponding to each video segment in distribution of video segments respectively, wherein a manner of determining the distribution of video segments comprises:
- determining a historical playback video based on at least one of video duration and video resolution, and
- determining the distribution of video segments based on an exit rate at a plurality of playback time points in the historical playback video;
- and
- determining the current video segment corresponding to the current playback time point according to a playback duration range to which the current playback time point belongs.
A non-transitory computer-readable storage medium comprising computer-executable instructions, when the computer-executable instructions executed by a computer processor, are used to perform operations, the operations comprise:
- determining a current video segment corresponding to a current playback time point during a playback process of a current video;
- acquiring a cache decision threshold value corresponding to the current video segment;
- and
- determining a download strategy for the current video based on an amount of cached data that is currently cached and not played and the cache decision threshold value,
- wherein the determining the current video segment corresponding to the current playback time point comprises:
- determining a playback duration range corresponding to each video segment in distribution of video segments respectively, wherein a manner of determining the distribution of video segments comprises:
- determining a historical playback video based on at least one of video duration and video resolution, and
- determining the distribution of video segments based on an exit rate at a plurality of playback time points in the historical playback video;
- and
- determining the current video segment corresponding to the current playback time point according to a playback duration range to which the current playback time point belongs.
Dependencies are inferred from the claim text.