Livestreaming Video Cache Sequencing for Synchronized Playback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for playing livestreaming videos often result in time mismatches between preloaded video data blocks and real-time livestreaming data, leading to issues like frame skipping and lagging.
Innovation Solution
A method and apparatus for playing livestreaming videos that involve updating video data blocks periodically, playing a target video data block, and then playing target cache data from historical livestreaming data after the target video data block ends, ensuring seamless connection and reducing delays.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If video data blocks are preloaded at a fixed time interval, then the video playback can start smoothly, but time mismatch occurs between preloaded video data and real-time livestreaming data, causing frame skipping and lagging
Solution Approach 1:
The patent implements dynamic adjustment of the video data block loading interval based on the actual playback state and network conditions. Instead of using a fixed time interval, the system continuously monitors playback progress and adjusts the loading interval in real-time to match the actual playback speed and maintain synchronization with live streaming data, thereby resolving the contradiction between smooth playback initiation and data synchronization reliability
Solution Approach 2:
The system establishes a feedback mechanism that continuously monitors the synchronization status between preloaded video data blocks and real-time livestreaming data. Based on this feedback, the system dynamically adjusts the loading strategy to maintain temporal consistency, preventing frame skipping and lagging by ensuring that loaded video data remains synchronized with the live stream
2Duration of action of stationary object
If latest livestreaming data is pulled after the latest loaded video data block ends playing, then continuous playback is maintained, but time mismatch causes frame skipping and lagging in the played video picture
Solution Approach 1:
The patent applies preliminary action by preloading video data blocks with dynamic interval adjustment before they are needed for playback. The system calculates and adjusts the loading interval in advance based on expected playback conditions, ensuring that when data blocks are loaded and played sequentially, they maintain temporal consistency with the live stream without causing frame skipping or lagging
Solution Approach 2:
The system dynamically adjusts the loading interval of video data blocks based on real-time playback state and network conditions. This dynamic adjustment ensures that as playback continues, the timing of loaded video data blocks remains synchronized with the live streaming data, maintaining both continuous playback and temporal consistency
Data Source
AI summary
A livestreaming video playing method executed by a computer device includes displaying an information flow page including at least one livestreaming video. A video data block of each of the at least one livestreaming video is updated periodically in the information flow page at an update period. The method further includes playing a target video data block of a first livestreaming video of the at least one livestreaming video in response to a playing instruction for the first livestreaming video, obtaining target cache data of the first livestreaming video that belong to historical livestreaming data of the first livestreaming video at a target duration that is before a current livestreaming time point and greater than or equal to the update period, and playing the target cache data after the target video data block ends playing.


