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.

CN121501378BActive Publication Date: 2026-07-03BEIJING TONGFANG MICROELECTRONICS

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

Technical Problem

In resource-constrained devices, calling callback functions in existing technologies can lead to insufficient memory resources and affect device performance.

Method used

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.

Benefits of technology

This solves the memory shortage problem caused by callback function calls in resource-constrained devices, improving device performance and resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121501378B_ABST
    Figure CN121501378B_ABST
Patent Text Reader

Abstract

The application discloses a kind of application life cycle callback function calling method, device, equipment and terminal, comprising: in the case where the life cycle trigger event of target application is monitored in embedded operating system, the callback function calling identification corresponding to life cycle trigger event is determined;Based on the callback function mark in the callback function table of the application registry of target application, the callback function index corresponding to callback function calling identification is obtained from callback function table;Based on callback function index, the callback function corresponding to life cycle trigger event is called, based on this, by setting callback function table in application registry, and based on the callback function mark in callback function table, callback function index is determined, to realize the callback of corresponding callback function, without recording the address of callback function in memory, solve the problem of memory occupation in callback function calling process, solve the problem that resource shortage can be caused when calling callback function in resource limited device.
Need to check novelty before this filing date? Find Prior Art