Live Stream Preloading via Device and Service Condition Checks
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video processing technologies struggle to preload live streams without affecting the consumption experience of short videos, due to the complexity of live streaming and terminal fragmentation.
Innovation Solution
A method, apparatus, and device that acquire current device and service environment information during video playback, determine if the conditions meet preload criteria, and preload live stream resources only when both conditions are met, ensuring a smooth transition from short videos to live streams.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If live stream is abruptly preloaded during short video playback, then live stream loading speed is improved, but video stuttering occurs and short video consumption experience deteriorates
Solution Approach 1:
The preloading strategy dynamically adjusts based on current playback state and network conditions. The system monitors whether the current video is a short video or live stream, and whether preloading is currently in progress, then adaptively controls the preloading behavior to avoid conflicts and ensure smooth user experience.
Solution Approach 2:
The system performs preliminary checks before initiating preloading: it verifies that the current video is not a short video and that no preloading is already in progress. This preliminary validation prevents harmful preloading actions while enabling beneficial ones.
2Loss of time
If live stream preloading is performed during short video playback, then switching speed to live stream is improved, but network bandwidth is overwhelmed and both services deteriorate
Solution Approach 1:
The system applies partial preloading action by checking specific conditions (current video type, preloading state) before executing preloading. This selective approach ensures preloading only occurs when beneficial, avoiding network overload while still achieving fast switching when appropriate.
Solution Approach 2:
The system continuously monitors the preloading state and current playback type, using this feedback to control preloading behavior. This closed-loop control prevents network bandwidth overload by adjusting preloading based on real-time system state.
3Ease of operation
If preloading conditions are not properly checked, then preloading execution is simplified, but preloading may occur at inappropriate times affecting user experience
Solution Approach 1:
The system performs preliminary condition checks (is current video a short video?, is preloading already in progress?) before executing preloading. These preliminary validations ensure preloading occurs only at appropriate times while maintaining clear, structured execution logic.
Solution Approach 2:
The system automatically manages preloading state tracking and condition verification without requiring external control. The preloading module self-regulates by checking its own state and the current playback context, ensuring reliable timing while keeping the operation simple.
Data Source
AI summary
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.


