Camera Callback Stream Processing with Parallel Preview Setup

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional camera applications on electronic devices require a long time to obtain callback stream data due to serial creation of preview and callback streams, leading to poor user experience.

Innovation Solution

The method involves creating a preview stream and a callback stream in parallel to expedite the process, allowing for immediate data processing and improved user experience.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If traditional batch processing is used for callback streams, then resource utilization is improved, but real-time processing capability deteriorates

Engineering Contradiction:
Improveresource utilizationVSAvoidreal-time processing capability
Core Design Contradiction:
Use of energy by moving objectVSSpeed

Solution Approach 1:

The patent implements dynamic processing by allowing callback streams to be processed in real-time when resources are available, while dynamically switching to batch processing when resources are constrained. The system continuously monitors resource availability and adjusts processing mode accordingly, enabling both high resource utilization and real-time processing capability under different conditions.

Inventive Principle:
Principle #15Dynamics

2Manufacturing precision

If complex filtering and sorting operations are performed on callback streams, then data processing accuracy is improved, but processing time increases

Engineering Contradiction:
Improvedata processing accuracyVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary filtering and sorting operations at the data source level before data enters the callback stream. By pre-processing data with basic filters and sorters at the source, the system reduces the volume of data requiring complex processing later, thereby maintaining high data processing accuracy while minimizing processing time losses.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments complex filtering and sorting operations into multiple independent, reusable components that can be applied incrementally. Instead of performing all complex operations simultaneously, the system divides them into discrete filter and sorter components that can be executed in sequence or parallel, reducing overall processing time while maintaining accuracy.

Inventive Principle:
Principle #1Segmentation

3Reliability

If multiple filters and sorters are chained together for complex data processing, then processing completeness is improved, but system complexity increases

Engineering Contradiction:
Improveprocessing completenessVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements universal filter and sorter components that can handle multiple data types and processing requirements through configurable parameters. Instead of creating specialized components for each processing scenario, the system uses multi-functional components that can be configured to perform different filtering and sorting operations, reducing system complexity while maintaining processing completeness.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent incorporates feedback mechanisms that monitor the output of each filter and sorter in the chain. The feedback system detects when processing objectives have been achieved and can dynamically terminate the processing chain early, preventing unnecessary execution of subsequent filters and sorters. This maintains processing completeness while reducing the effective complexity by avoiding redundant operations.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP4020966B1Callback stream processing method and device
Publication Date: 2026.05.06 HUAWEI TECH CO LTD
  • EP4020966B1 patent drawingFigure 1A
  • EP4020966B1 patent drawingFigure 1B
  • EP4020966B1 patent drawingFigure 1C

AI summary

Embodiments of this application provide a callback stream processing method and a device, and relate to the field of electronic technologies. In a callback stream scenario, an electronic device may set a preview stream and a callback stream in parallel. After an application sets a callback function, the electronic device may directly return, by using the callback function, callback stream data to the application for processing. This can shorten a time consumed for creating a preview stream and a callback stream, shorten a time consumed for obtaining callback stream data, and shorten a user waiting time. A specific solution is as follows: After detecting a first operation that a user uses a first function of a first application, the electronic device starts a camera application; displays a first interface corresponding to the first function; creates a preview stream and a first callback stream in parallel; obtains first data, where the first data is callback stream data corresponding to the first callback stream; sets a callback function; and provides, by using the callback function, the first data for the first application for processing. The embodiments of this application are used to process a callback stream.