IP Library Granted Patent US 12689776
Granted Patent B2
US 12689776 · App. 18/846,370 · Granted Jul 21, 2026

Method and device for preloading live stream in video stream, and storage medium

Inventor: Ruijia Su (Guangzhou, CN)
Assignee: BIGO TECHNOLOGY PTE. LTD.
H04N21/2187H04N21/23106H04N21/2402H04N21/4852
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12689776
App. No.
18/846,370
Granted
Jul 21, 2026
Kind
B2
Abstract

Provided is a method for preloading a live stream in a video stream. The method includes: acquiring current device environment information and current service environment information in response to detecting a preload trigger scenario being satisfied during play of video stream data, wherein the preload trigger scenario comprises: current play data being a short video and next play data being a live video in a case of switching play content by a swipe-up operation; or current play data being a short video and previous play data being a live video in a case of switching play content by a swipe-down operation; determining whether the device environment information meets a preload device condition, and determining whether the service environment information meets a preload service condition; and preloading a live stream resource in response to determination results that the preload device condition and the preload service condition are met.

Claims (65)

1 . A method for preloading a live stream in a video stream, the method comprising:

acquiring current device environment information and current service environment information in response to detecting a preload trigger scenario being satisfied during play of video stream data, wherein

the preload trigger scenario comprises: current play data being a short video and next play data being a live video in a case of switching play content by a swipe-up operation; or current play data being a short video and previous play data being a live video in a case of switching play content by a swipe-down operation;

the device environment information comprises one or more of a network type, a network bandwidth, and a short video download bandwidth; and

the service environment information comprises at least one of short video download data or short video cache data;

determining whether the device environment information meets a preload device condition, and determining whether the service environment information meets a preload service condition; and

preloading a live stream resource in response to determination results that the preload device condition and the preload service condition are met.

2 . The method according to claim 1 , wherein acquiring the current device environment information and the current service environment information comprises:

acquiring the current device environment information and the current service environment information in response to a preload trigger timing being satisfied, wherein the preload trigger timing comprises the short video being played up to a predetermined time point or a predetermined time interval point following the predetermined time point.

3 . The method according to claim 1

determining whether the device environment information meets the preload device condition comprises at least one of:

determining whether the network type is a predetermined network type;

determining whether the network bandwidth is greater than a predetermined network bandwidth threshold; or

determining whether the short video download bandwidth is greater than a predetermined download bandwidth threshold.

4 . The method according to claim 1

determining whether the service environment information meets the preload service condition comprises at least one of:

determining, based on the short video download data, whether a short video is completely downloaded; or

determining, based on the short video cache data, whether a duration that the short video has been cached but is not played is greater than a predetermined time period.

5 . The method according to claim 1 , wherein prior to preloading the live stream resource, the method further comprises:

acquiring a preloading strategy from a server, the preloading strategy being determined by the server based on acquired device basic information, the device basic information comprising at least one of a number of processor cores, a processor frequency, or a running memory of a device.

6 . The method according to claim 1 , wherein preloading the live stream resource comprises:

acquiring the live stream resource and entering the live stream corresponding to the live stream resource; and

performing audio blocking and video stream play blocking for the live stream.

7 . The method according to claim 6 , wherein performing audio blocking and video stream play blocking for the live stream comprises:

setting a play volume corresponding to the live stream to a predetermined volume; and

drawing a live screen of the live stream in a single pixel point mode.

8 . The method according to claim 6 , wherein upon preloading the live stream resource, the method further comprises:

resuming play of audio and a video stream of the live stream in response to detecting that current play content is switched to a live video.

9 . The method according to claim 6 , wherein upon preloading the live stream resource, the method further comprises:

exiting the live stream and releasing the live stream resource in response to detecting that a live stream resource release condition is met, wherein the live stream resource release condition comprises at least one of a predetermined operation condition, a network change condition, a background operation condition, or a secondary page switch condition.

10 . A device for preloading a live stream in a video stream, comprising: a processor, a memory, and one or more computer programs stored in the memory and runnable on the processor, wherein the processor, when loading and running the one or more computer programs, is caused to perform: acquiring current device environment information and current service environment information in response to detecting a preload trigger scenario being satisfied during play of video stream data, wherein

the preload trigger scenario comprises: current play data being a short video and next play data being a live video in a case of switching play content by a swipe-up operation; or current play data being a short video and previous play data being a live video in a case of switching play content by a swipe-down operation;

the device environment information comprises one or more of a network type, a network bandwidth, and a short video download bandwidth; and

the service environment information comprises at least one of short video download data or short video cache data;

determining whether the device environment information meets a preload device condition, and determining whether the service environment information meets a preload service condition; and

preloading a live stream resource in response to determination results that the preload device condition and the preload service condition are met.

11 . A non-transitory computer-readable storage medium storing one or more computer-executable instructions, wherein the one or more computer-executable instructions, when loaded and executed by a processor of a computer, cause the computer to perform:

acquiring current device environment information and current service environment information in response to detecting a preload trigger scenario being satisfied during play of video stream data, wherein

the preload trigger scenario comprises: current play data being a short video and next play data being a live video in a case of switching play content by a swipe-up operation; or current play data being a short video and previous play data being a live video in a case of switching play content by a swipe-down operation;

the device environment information comprises one or more of a network type, a network bandwidth, and a short video download bandwidth; and

the service environment information comprises at least one of short video download data or short video cache data;

determining whether the device environment information meets a preload device condition, and determining whether the service environment information meets a preload service condition; and

preloading a live stream resource in response to determination results that the preload device condition and the preload service condition are met.

12 . A computer program product comprising a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the method for preloading the live stream in the video stream as defined in claim 1 .

13 . The device according to claim 10 , wherein the processor, when loading and running the one or more computer programs, is caused to perform:

acquiring the current device environment information and the current service environment information in response to a preload trigger timing being satisfied, wherein the preload trigger timing comprises the short video being played up to a predetermined time point or a predetermined time interval point following the predetermined time point.

14 . The device according to claim 10 , wherein the processor, when loading and running the one or more computer programs, is caused to perform:

determining whether the network type is a predetermined network type;

determining whether the network bandwidth is greater than a predetermined network bandwidth threshold; or

determining whether the short video download bandwidth is greater than a predetermined download bandwidth threshold.

15 . The device according to claim 10 , wherein the processor, when loading and running the one or more computer programs, is caused to perform at least one of:

determining, based on the short video download data, whether a short video is completely downloaded; or

determining, based on the short video cache data, whether a duration that the short video has been cached but is not played is greater than a predetermined time period.

16 . The device according to claim 10 , wherein the processor, when loading and running the one or more computer programs, is caused to perform:

acquiring a preloading strategy from a server, the preloading strategy being determined by the server based on acquired device basic information, the device basic information comprising at least one of a number of processor cores, a processor frequency, or a running memory of a device.

17 . The device according to claim 10 , wherein the processor, when loading and running the one or more computer programs, is caused to perform:

acquiring the live stream resource and entering the live stream corresponding to the live stream resource; and

performing audio blocking and video stream play blocking for the live stream.

18 . The device according to claim 17 , wherein the processor, when loading and running the one or more computer programs, is caused to perform:

setting a play volume corresponding to the live stream to a predetermined volume; and

drawing a live screen of the live stream in a single pixel point mode.

19 . The device according to claim 17 , wherein the processor, when loading and running the one or more computer programs, is caused to perform:

resuming play of audio and a video stream of the live stream in response to detecting that current play content is switched to a live video.

20 . The device according to claim 17 , wherein the processor, when loading and running the one or more computer programs, is caused to perform:

exiting the live stream and releasing the live stream resource in response to detecting that a live stream resource release condition is met, wherein the live stream resource release condition comprises at least one of a predetermined operation condition, a network change condition, a background operation condition, or a secondary page switch condition.