Application lifecycle callback function calling method, apparatus, device and terminal
By monitoring lifecycle trigger events and obtaining callback function indices in the embedded operating system, and directly calling the callback functions, the problem of insufficient memory in resource-constrained devices is solved, thereby improving device performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING TONGFANG MICROELECTRONICS
- Filing Date
- 2024-08-29
- Publication Date
- 2026-07-03
AI Technical Summary
In resource-constrained devices, calling callback functions in existing technologies can lead to insufficient memory resources and affect device performance.
In embedded operating systems, callback function call identifiers are determined by monitoring lifecycle trigger events, and the callback function index is obtained based on the callback function table in the application registry. The corresponding callback function is then called directly without having to record the address of the callback function in memory.
This solves the memory shortage problem caused by callback function calls in resource-constrained devices, improving device performance and resource utilization efficiency.
Smart Images

Figure CN121501378B_ABST