A stack security management method and device, a computer device and a storage medium

By implementing global lifecycle callbacks and dual-process exit procedures, the problems of page stack management and data transfer in Android applications are solved, achieving orderly stack management and reliable data transfer, thereby improving application stability and resource utilization efficiency.

CN122153870APending Publication Date: 2026-06-05SHENZHEN LEAGSOFT TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN LEAGSOFT TECH
Filing Date
2026-01-12
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing Android mobile applications have shortcomings in page stack management, data transfer, and process collaboration, leading to memory leaks, resource waste, and security risks, especially in multi-process scenarios where there is a lack of effective process identity determination and differentiated management.

Method used

By registering global lifecycle callbacks, maintaining the global page stack and result cache, centralized management of Activities is achieved, and a dual-process exit process is executed when the application exits, ensuring the reliability of data transmission and the complete release of resources.

Benefits of technology

It achieves orderly management of Android multi-page application stacks, reliable cross-page data transfer, and complete release of multi-process resources, improving application robustness and resource management efficiency, and reducing memory leaks and security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122153870A_ABST
    Figure CN122153870A_ABST
Patent Text Reader

Abstract

The application discloses a stack security control method and device, computer equipment and a storage medium, and relates to the technical field of application stack management, and comprises the following steps: registering a global life cycle callback for all activities when an application is started; maintaining a global page stack based on a life cycle event monitored by the callback, so as to record all live activity instances and a current foreground activity; setting a global result buffer area in the application, so that data writing and reading are performed between activities; and when a quit instruction is received, executing a dual-process quit process of ending a non-main process first and then quitting the main process. The method realizes centralized and orderly management of the activity stack, guarantees the reliability of cross-page data transmission through the global buffer, and ensures that resources are completely released by using the sequential process quit mechanism, so that the stability and resource management efficiency of the application are improved.
Need to check novelty before this filing date? Find Prior Art