Permission optimization method and related device
AssigneeHonor Device Co., Ltd.
InventorXing PU
Life of this patent
Estimating the term…
Abstract
This application discloses a permission optimization method and a related device. An electronic device may determine, based on a permission access record of an application, whether a privacy risk exists. If the privacy risk exists, the electronic device may remind and guide a user to perform permission optimization, which reduces a risk of user privacy disclosure and improves user experience.
Claims21
A permission optimization method, applied to an electronic device, wherein the method comprises:
- displaying, by the electronic device, a first permission access record interface, wherein the first permission access record interface comprises a first permission access record of a first application, the first permission access record comprises an access record in which a privacy risk exists, and the access record in which a privacy risk exists comprises a record in which a first permission is used by the first application when a specific function of the first application is disabled;
- detecting, by the electronic device, an operation performed by the user on the first permission access record of the first permission access record interface, and displaying a first pop-up interface, wherein the first pop-up interface comprises prompt information and a permission optimization option, and the prompt information is used to remind the user that a risk exists in the first permission of the first application and advise the user to perform permission optimization;
- detecting, by the electronic device, a permission optimization operation performed by the user on the permission optimization option, wherein the electronic device performs the following operation:
- allowing the first application to use the first permission only when the specific function is enabled;
- displaying, by the electronic device, a second permission access record interface, wherein the second permission access record interface comprises a first permission access record obtained after the permission optimization operation is performed, the first permission access record comprises an access record in which no privacy risk exists, and the second permission access record interface is different from the first permission access record interface;
- and
- detecting, by the electronic device, an operation performed by the user on the first permission access record of the second permission access record interface, and displaying a second pop-up interface, wherein the second pop-up interface is different from the first pop-up interface.
(canceled)
A permission optimization method, applied to an electronic device, wherein the method comprises:
- displaying, by the electronic device, a fourth user interface, wherein the fourth user interface comprises an abnormal use record of a first permission and an over-authorization record, the abnormal use record of the first permission comprises a record in which the first permission is used by one or more applications when a specific function of the one or more applications is disabled, the over-authorization record comprises a record in which the one or more applications are granted a second permission, and the second permission is not a permission allowed to be granted to the one or more applications, and
- the fourth user interface comprises prompt information and a permission optimization option, wherein the prompt information is used to remind a user that a risk exists in the first permission and the second permission that are of the application, and advise the user to perform permission optimization;
- detecting, by the electronic device, a permission optimization operation performed by the user on the permission optimization option, wherein the electronic device performs the following operations:
- allowing, by the electronic device, the one or more applications to use the first permission only when the specific function of the one or more applications is enabled, and
- prohibiting, by the electronic device, the one or more applications from using the second permission;
- and
- displaying, by the electronic device, a fifth user interface, wherein the fifth user interface comprises an interface obtained after the permission optimization operation is performed, the fifth user interface comprises an access record in which no privacy risk exists, and the fifth user interface is different from the fourth user interface.
An electronic device, wherein the electronic device comprises one or more processors and one or more memories, the one or more memories are coupled to the one or more processors, the one or more memories are configured to store computer program code, and the computer program code comprises computer instructions;
- and when the one or more processors execute the computer instructions, the electronic device is enabled to perform a method, the method comprising:
- displaying a first permission access record interface, wherein the first permission access record interface comprises a first permission access record of a first application, the first permission access record comprises an access record in which a privacy risk exists, and the access record in which a privacy risk exists comprises a record in which a first permission is used by the first application when a specific function of the first application is disabled;
- detecting an operation performed by the user on the first permission access record of the first permission access record interface, and displaying a first pop-up interface, wherein the first pop-up interface comprises prompt information and a permission optimization option, and the prompt information is used to remind the user that a risk exists in the first permission of the first application and advise the user to perform permission optimization;
- detecting a permission optimization operation performed by the user on the permission optimization option, wherein the electronic device performs the following operation:
- allowing the first application to use the first permission only when the specific function is enabled;
- displaying a second permission access record interface, wherein the second permission access record interface comprises a first permission access record obtained after the permission optimization operation is performed, the first permission access record comprises an access record in which no privacy risk exists, and the second permission access record interface is different from the first permission access record interface;
- and
- detecting an operation performed by the user on the first permission access record of the second permission access record interface, and displaying a second pop-up interface, wherein the second pop-up interface is different from the first pop-up interface.
Dependencies are inferred from the claim text.