US 12,244,897 B2
Playback optimization method and system
Jianqiang Ding, Shanghai (CN); and Zhaoxin Tan, Shanghai (CN)
Assigned to SHANGHAI BILIBILI TECHNOLOGY CO., LTD., Shanghai (CN)
Appl. No. 18/033,525
Filed by SHANGHAI BILIBILI TECHNOLOGY CO., LTD., Shanghai (CN)
PCT Filed Aug. 9, 2021, PCT No. PCT/CN2021/111382
§ 371(c)(1), (2) Date Apr. 24, 2023,
PCT Pub. No. WO2022/095527, PCT Pub. Date May 12, 2022.
Claims priority of application No. 202011211482.7 (CN), filed on Nov. 3, 2020.
Prior Publication US 2023/0388590 A1, Nov. 30, 2023
Int. Cl. H04N 21/462 (2011.01); H04N 19/40 (2014.01); H04N 21/414 (2011.01); H04N 21/44 (2011.01); H04N 21/442 (2011.01); H04N 21/4425 (2011.01); H04N 21/845 (2011.01)
CPC H04N 21/462 (2013.01) [H04N 19/40 (2014.11); H04N 21/41407 (2013.01); H04N 21/44004 (2013.01); H04N 21/44209 (2013.01); H04N 21/4424 (2013.01); H04N 21/4425 (2013.01); H04N 21/8456 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A method of optimizing media playback, comprising:
determining whether a player is in a freezing state;
in response to determining that the player is in the freezing state, obtaining first freezing information and second freezing information;
identifying a target freezing reason from a plurality of freezing reasons based on the first freezing information, wherein the plurality of freezing reasons comprise seeking reasons associated with seeking media, network reasons associated with a network, media reasons associated with the media, GAP reasons associated with time stamps between buffers, performance reasons associated with performance, and player internal reasons associated with an interior of the player;
identifying an inducing reason of inducing the freezing state based on the second freezing information, wherein the inducing reason comprises a target playback state of the player, and the target playback state comprises a state of normal playback, a state of seeking video, a state of switching resolution quality, a state of switching video source, a state of updating video source, or a state of appending video source;
determining a freezing type from a plurality of freezing types based on the target freezing reason and the inducing reason; and
causing the player to perform an operation of optimizing the media playback corresponding to the freezing type, wherein the causing the player to perform an operation of optimizing the media playback corresponding to the freezing type further comprising:
progressively increasing a timeout duration to obtain a maximum duration for a connection timeout in response to determining that the freezing type corresponds to the connection timeout among the network reasons,
progressively increasing a timeout duration to obtain a maximum duration for a video stream reading timeout in response to determining that the freezing type corresponds to the video stream reading timeout among the network reasons,
progressively increasing a timeout duration to obtain a maximum duration for a download timeout in response to determining that the freezing type corresponds to the download timeout among the network reasons,
switching to an alternative address in response to determining that the freezing type corresponds to a download clip error among the network reasons, and
adjusting, based on a network speed, the maximum duration for the connection timeout, the maximum duration for the video stream reading timeout, and the maximum duration for the download timeout, or increasing a time interval between adjacent requests in response to determining that the freezing type corresponds to no support of network speed among the network reasons.