Bullet Comment Processing System Memory Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The excessive consumption of computing resources, particularly memory resources, caused by a large number of bullet comments in popular videos, leads to inefficiencies and resource wastage.

Innovation Solution

A method and system for processing bullet comments that involves obtaining a video playing page, identifying and deleting expired bullet comment data, and implementing a recycling mechanism to reduce memory usage and avoid re-traversing unnecessary data, thereby optimizing resource utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a large number of bullet comment data are stored to maintain real-time interaction, then user interaction capability is improved, but memory resource consumption increases

Engineering Contradiction:
Improveuser interaction capabilityVSAvoidmemory resource consumption
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent implements dynamic management of bullet comment data by continuously filtering expired comments based on video playback time. The system dynamically adds new comments and removes expired ones from the data structure, transforming a static storage problem into a dynamic processing solution that maintains optimal memory usage throughout video playback.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the state of bullet comment data by marking comments as expired when their playback time window has passed. By parameterizing comment validity based on timing information, the system can selectively remove unnecessary data while preserving interactive functionality during relevant time periods.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If all bullet comment data are traversed to ensure complete processing, then data processing completeness is improved, but computing time increases

Engineering Contradiction:
Improvedata processing completenessVSAvoidcomputing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts and removes expired bullet comment data from the processing pipeline before it reaches the rendering stage. By pre-filtering out comments that will never be displayed due to their expired state, the system reduces the amount of data that needs to be traversed and processed, thereby decreasing computing time without sacrificing completeness of relevant data processing.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary filtering of expired comments during the data collection phase rather than during the rendering phase. This preliminary action ensures that only valid, non-expired comments are processed later, avoiding wasted computing cycles on already-expired data while maintaining complete processing of all potentially relevant comments.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11991420B2Live commenting processing method and system
Publication Date: 2024.05.21 SHANGHAI BILIBILI TECH CO LTD
  • US11991420B2 patent drawing
  • US11991420B2 patent drawing
  • US11991420B2 patent drawing

AI summary

The present disclosure describes techniques of processing bullet comments. The techniques comprise acquiring a page of playing a video to output a video stream; acquiring multiple pieces of bullet comment data associated with the video stream; traversing the multiple pieces of bullet comment data and determining whether the multiple pieces of bullet comment data comprise at least one piece of bullet comment data in an expired state; and deleting the at least one piece of bullet comment data in the expired state from the plurality of pieces of bullet comment data in response to determining that the plurality of pieces of bullet comment data comprise the at least one piece of bullet comment data in the expired state.