Sub-Application Native Object Interaction for Multimedia Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing sub-applications (mini programs) can only realize audio and video capabilities through third-party libraries, leading to large front-end application package volumes, limiting their functionality and efficiency.

Innovation Solution

The method involves transmitting object creation and calling instructions between a sub-application and a native application to utilize native objects for multimedia content processing, eliminating the need for third-party libraries and enabling same-layer rendering, thus maintaining performance without increasing package volume.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If third-party audio and video editing library is introduced into sub-application, then audio and video capabilities are achieved, but front-end application package volume becomes large

Engineering Contradiction:
Improveaudio and video capabilitiesVSAvoidpackage volume
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent extracts the audio and video editing capabilities from the front-end sub-application package and relocates them to the native application layer. The sub-application only retains the interface and control logic, while the actual processing is performed by native objects in the host application, thereby removing the bulky third-party library from the front-end package.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary mechanism (message passing interface) between the sub-application and native application. The sub-application sends processing requests to the native application, which then executes the audio and video editing operations using native capabilities, avoiding the need for the sub-application to directly include heavy editing libraries.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If third-party audio and video editing library is introduced into sub-application, then audio and video editing functions are enabled, but device storage space is occupied

Engineering Contradiction:
Improveaudio and video editing functionsVSAvoidstorage space
Core Design Contradiction:
Adaptability or versatilityVSWeight of moving object

Solution Approach 1:

The patent extracts the storage burden of audio and video editing libraries from the sub-application and places it in the native application. The sub-application package size is minimized by removing these heavy libraries, while the native application provides the actual processing capabilities when needed.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The native application provides self-service audio and video editing capabilities that can be called upon by the sub-application. Instead of the sub-application carrying its own editing libraries, it leverages the host application's native capabilities, allowing the system to serve itself without duplicating functionality.

Inventive Principle:
Principle #25Self-service

3Quantity of substance

If sub-application uses native application objects, then package volume is reduced, but interaction complexity between applications increases

Engineering Contradiction:
Improvepackage volumeVSAvoidinteraction complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent segments the system into two distinct layers: the sub-application layer that handles user interface and control logic, and the native application layer that provides processing capabilities. This clear segmentation allows each layer to focus on its specific function while reducing overall complexity through well-defined boundaries.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a universal message passing interface that can handle various types of audio and video processing requests. This standardized communication mechanism works for different operations (editing, filtering, formatting) without requiring separate interaction protocols, thereby reducing complexity while maintaining versatility.

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

Data Source

PatentEP4210053B1Application program control method and apparatus, electronic device, and storage medium
Publication Date: 2025.06.25 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • EP4210053B1 patent drawingFigure 1~2
  • EP4210053B1 patent drawingFigure 3
  • EP4210053B1 patent drawingFigure 4

AI summary

The present application relates to the technical field of computers, and relates in particular to an application program control method and apparatus, an electronic device, and a storage medium. The method comprises: running, in an electronic device, a native application and a sub-application nested in the native application; when the sub-application detects an operation request for target multimedia content, sending an object creation instruction to the native application, the object creation instruction comprising parameter information corresponding to a native object to be created, so that the native application creates the native object according to the parameter information, the native object being used to operate the target multimedia content in the sub-application; when determining that the native application has created the native object, sending an object calling instruction to the native application, so that the native application calls the native object and executes a function code of the native object; and receiving an execution result returned by the native application, and performing a corresponding operation on the target multimedia content according to the execution result.