A method of managing permissions and related apparatus
By setting the validity period of permissions to the duration of the application's foreground runtime and revoking permissions when the application switches to non-foreground runtime, the privacy leakage problem caused by applications obtaining permissions in the background or when the screen is locked is solved, achieving more secure permission management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-01-15
- Publication Date
- 2026-07-17
AI Technical Summary
In existing technologies, applications can still obtain permissions while running in the background or in a locked screen state, which poses a high risk of user privacy information leakage, and users cannot effectively control the granting and revocation of permissions.
The validity period of permissions set on electronic devices is the duration of the application's foreground runtime, and permissions are revoked when the application switches to a non-foreground running state. This is combined with security control management services and UI extension processes to achieve temporary permission management.
It reduces the risk of apps maliciously obtaining user privacy in the background or when the screen is locked, enhances users' control over personal data and privacy, and reduces the possibility of permission abuse.
Smart Images

Figure CN122413397A_ABST