Application usage permission settings, devices, electronic devices, and storage media

By detecting and controlling the usage permissions of applications, the security risks caused by applications obtaining private information on mobile terminals are resolved, thereby improving application security and protecting privacy.

CN115221497BActive Publication Date: 2026-11-17BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110334080.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-29
Publication Date
2026-11-17
Estimated Expiration
2041-03-29

AI Technical Summary

Technical Problem

Applications on mobile devices can obtain personal or public privacy information after use, leading to security risks. In particular, privacy can be easily leaked in important scenarios, affecting meeting security.

Method used

By detecting operations performed on display controls, the system can control whether application permissions are enabled or disabled, prevent or allow application startup, display permission status and prompts, and prevent privacy leaks.

Benefits of technology

It reduces privacy leaks caused by applications in specific scenarios, improves application security, and protects personal and public privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115221497B_ABST
    Figure CN115221497B_ABST
Patent Text Reader

Abstract

This disclosure relates to a method for setting application usage permissions, applied to an electronic device. The method includes: detecting a first operation performed on a first display control; in response to detecting the first operation, controlling the invalidation of usage permissions for a predetermined application; wherein the usage permissions include: permissions to use the predetermined application or permissions not to use the predetermined application; in response to the invalidation of usage permissions, prohibiting the launch of the predetermined application. In embodiments of this disclosure, after the usage permissions are invalidated, even if permissions to use the predetermined application are pre-set, the predetermined application can no longer be used. Thus, the first operation can reduce privacy leaks caused by using the predetermined application in corresponding scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic device technology, and in particular to methods, apparatus, electronic devices, and storage media for setting application usage permissions. Background Technology

[0002] With the rapid development of wireless mobile communication network technology, mobile terminals have become indispensable tools in people's lives and work. A large number of applications run on mobile terminals that may involve personal or public privacy, such as location services and recording applications. Once these applications are allowed to use, they can obtain personal or public private information, posing security risks. This is especially true in scenarios with high privacy protection requirements, where the risks are high. For example, in important meetings, crucial meeting information can easily be leaked by applications, posing a high risk to meeting security. Therefore, a secure mechanism for using applications is needed to improve application security and reduce privacy leaks. Summary of the Invention

[0003] This disclosure provides a method, apparatus, electronic device, and storage medium for setting application usage permissions. The technical solution is as follows:

[0004] According to a first aspect of the present disclosure, a method for setting usage permissions for an application is provided, applied to an electronic device, the method comprising:

[0005] Detect the first operation performed on the first display control;

[0006] In response to detecting the first operation, the usage permissions of the predetermined application are invalidated; wherein, the usage permissions include: permissions to use the predetermined application or permissions not to use the predetermined application;

[0007] In response to the expiration of the usage permission, the launch of the scheduled application is prohibited.

[0008] In one embodiment, the method further includes:

[0009] Detect the second operation performed on the first display control;

[0010] In response to detecting the second operation, the usage permission is controlled to take effect.

[0011] In one embodiment, the method further includes:

[0012] In response to the expiration of the usage permission, a permission expiration icon is displayed;

[0013] or,

[0014] In response to the aforementioned usage permission taking effect, the permission invalidation icon will stop being displayed.

[0015] In one embodiment, the method further includes:

[0016] In response to the expiration of the usage permission and the detection of a request to use the pre-defined application, a prompt message indicating that the pre-defined application cannot be used is displayed using a second display control.

[0017] In one embodiment, there are multiple pre-defined applications; displaying a prompt message indicating that a pre-defined application cannot be used using a second display control includes:

[0018] The prompt information for each of the predetermined applications is simultaneously displayed on the second display control;

[0019] or,

[0020] On the second display control, the prompt information for each of the predetermined applications is displayed in turn.

[0021] In one embodiment, the method further includes:

[0022] In response to detecting a third operation acting on the second display control, a display interface including the trigger to display the first display control is displayed;

[0023] The first display control is used to control whether the usage permissions of the multiple predetermined applications are enabled or disabled.

[0024] In one embodiment, the method further includes:

[0025] In response to a third operation that detects a prompt message acting on a single predetermined application on the second display control, a display interface including the trigger to display the third display control is displayed;

[0026] The third display control is used to control whether the usage permission of a single predetermined application is enabled or disabled.

[0027] In one embodiment, the method further includes:

[0028] In response to the expiration of the usage permission and the initial opening of the pre-defined application, the fourth display control of the pre-defined application is not displayed;

[0029] The fourth display control is used to detect whether an operation that enables the use of the predetermined application's permissions is enabled or whether an operation that enables the use of the predetermined application's permissions is disabled.

[0030] In one embodiment, the predetermined application includes one or more of the following: an application for positioning, an application for capturing images, or an application for recording audio.

[0031] According to a second aspect of the present disclosure, an application usage permission setting device is provided, applied to an electronic device. The device includes a detection module, a control module, and a startup disabling module, wherein...

[0032] The detection module is used to detect the first operation applied to the first display control;

[0033] The control module is configured to: in response to detecting the first operation, control the invalidation of the usage permission of the predetermined application; wherein the usage permission includes: the permission to use the predetermined application or the permission not to use the predetermined application;

[0034] The startup prevention module is used to: prevent the startup of the predetermined application in response to the expiration of the usage permission.

[0035] In one embodiment,

[0036] The detection module is further configured to: detect a second operation performed on the first display control;

[0037] The control module is further configured to: in response to detecting the second operation, control the usage permission to take effect.

[0038] In one embodiment, the device further includes a display module, wherein,

[0039] The display module is used for:

[0040] In response to the expiration of the usage permission, a permission expiration icon is displayed;

[0041] or,

[0042] In response to the aforementioned usage permission taking effect, the permission invalidation icon will stop being displayed.

[0043] In one embodiment, the display module is further configured to:

[0044] In response to the expiration of the usage permission and the detection of a request to use the pre-defined application, a prompt message indicating that the pre-defined application cannot be used is displayed using a second display control.

[0045] In one embodiment, the predetermined applications are multiple; the display module is further configured to:

[0046] The prompt information for each of the predetermined applications is simultaneously displayed on the second display control;

[0047] or,

[0048] On the second display control, the prompt information for each of the predetermined applications is displayed in turn.

[0049] In one embodiment, the display module is further configured to:

[0050] In response to detecting a third operation acting on the second display control, a display interface including the trigger to display the first display control is displayed;

[0051] The first display control is used to control whether the usage permissions of the multiple predetermined applications are enabled or disabled.

[0052] In one embodiment, the display module is further configured to:

[0053] In response to a third operation that detects a prompt message acting on a single predetermined application on the second display control, a display interface including the trigger to display the third display control is displayed;

[0054] The third display control is used to control whether the usage permission of a single predetermined application is enabled or disabled.

[0055] In one embodiment, the display module is further configured to:

[0056] In response to the expiration of the usage permission and the initial opening of the pre-defined application, the fourth display control of the pre-defined application is not displayed;

[0057] The fourth display control is used to detect whether an operation that enables the use of the predetermined application's permissions is enabled or whether an operation that enables the use of the predetermined application's permissions is disabled.

[0058] According to a third aspect of the present disclosure, a display device is provided, comprising:

[0059] processor;

[0060] Memory used to store processor-executable instructions;

[0061] The processor is configured to implement any of the methods described above when running the executable instructions.

[0062] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of a display device, the display device is enabled to perform any of the methods described above.

[0063] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0064] In embodiments of this disclosure, a first operation acting on a first display control is detected; in response to detecting the first operation, the usage permission of a predetermined application is invalidated; wherein, the usage permission includes: permission to use the predetermined application or permission not to use the predetermined application; in response to the invalidation of the usage permission, the launch of the predetermined application is prohibited. Here, after the usage permission is invalidated, the launch of the predetermined application is prohibited. Thus, even if the predetermined application is pre-configured to be usable, it can no longer be used after the usage permission is invalidated. Compared to a method where the predetermined application can be used in any scenario after being configured to be usable, the first operation can reduce the privacy leakage caused by using the predetermined application in the corresponding scenario.

[0065] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0066] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0067] Figure 1 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0068] Figure 2 This is a schematic diagram illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0069] Figure 3 This is a schematic diagram illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0070] Figure 4 This is a schematic diagram illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0071] Figure 5 This is a schematic diagram illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0072] Figure 6 This is a schematic diagram illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0073] Figure 7 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0074] Figure 8 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0075] Figure 9 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0076] Figure 10 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0077] Figure 11 This is a schematic diagram illustrating the display of a prompt message according to an exemplary embodiment;

[0078] Figure 12 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0079] Figure 13 This is a schematic diagram illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0080] Figure 14 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0081] Figure 15 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment;

[0082] Figure 16 This is a schematic diagram illustrating an application usage permission setting device according to an exemplary embodiment;

[0083] Figure 17 This is a block diagram illustrating a display device according to an exemplary embodiment. Detailed Implementation

[0084] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0085] To facilitate understanding by those skilled in the art, this disclosure provides multiple embodiments to clearly illustrate the technical solutions of the embodiments of this disclosure. Of course, those skilled in the art will understand that the multiple embodiments provided in this disclosure can be executed individually, or in combination with the methods of other embodiments in this disclosure, or individually or in combination with some methods in other related technologies; this disclosure does not limit these aspects.

[0086] Figure 1 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment, such as... Figure 1 As shown, the method is applied to an electronic device, and the method includes:

[0087] Step 11: Detect the first operation applied to the first display control;

[0088] Step 12: In response to detecting the first operation, control the invalidation of the usage permission of the predetermined application; wherein, the usage permission includes: the permission to use the predetermined application or the permission not to use the predetermined application;

[0089] Step 13: In response to the invalidation of the usage permission, the launch of the scheduled application is prohibited.

[0090] Here, the electronic device can be a terminal device with display functionality. This terminal device can be a mobile terminal, a desktop computer, or a smart home device, etc.; wherein, a mobile terminal can be a mobile phone, wearable device, tablet computer, or laptop computer; and a smart home device can be a television set, etc.

[0091] In one embodiment, the first operation may be an operation such as clicking, inputting, or swiping on a first display control on the touchscreen of the electronic device. For example, the first operation may be a clicking operation on the first display control on the touchscreen. As another example, the first operation may be a swiping operation on the first display control on the touchscreen. Here, the first operation may be a touch operation.

[0092] In one embodiment, the first display control is provided with a switch button; wherein the switch button has a first closed state and a second open state. The switch button can switch between the first state and the second state according to the operation performed on the switch button.

[0093] In one embodiment, in response to detecting the first operation applied to the first display control, the switch button switches from the first state to the second state. In response to the switch button switching from the first state to the second state, the electronic device's access to control a predetermined application is invalidated.

[0094] In one embodiment, in response to detecting the second operation acting on the first display control, the switch button switches from the second state to the first state. In response to the switch button switching from the second state to the first state, the electronic device's access rights to control a predetermined application take effect.

[0095] In one embodiment, the second operation may be an operation such as clicking, inputting, or swiping on a first display control on the touchscreen of an electronic device. For example, the second operation may be a clicking operation on the first display control on the touchscreen. As another example, the second operation may be a swiping operation on the first display control on the touchscreen. Here, the second operation may be a touch operation.

[0096] In one embodiment, the first display control may be placed on the settings interface of the electronic device used for application and / or system settings. See also... Figure 2 Users can receive a pre-defined command to access a page containing the first display control from the incognito function module of the settings page. For example, accessing the "Privacy Protection" module from the "Privacy Protection" module in the settings interface, and then accessing the page containing the first display control.

[0097] In one embodiment, in response to detecting the first operation applied to the first display control, a confirmation display control is displayed; in response to detecting a confirmation operation on the confirmation display control, the switch button switches from a first state to a second state, and the electronic device's permission to control the predetermined application is invalidated.

[0098] In another embodiment, in response to detecting the first operation applied to the first display control, a confirmation display control is displayed; in response to detecting a cancellation operation on the confirmation display control, the switch button does not switch from the first state to the second state, and the electronic device does not control the invalidation of the usage permission of the predetermined application.

[0099] For example, see Figure 3 A confirmation control is displayed on the settings interface; in response to the confirmation control detecting a confirmation operation on the "Confirm" button, the switch button switches from a first state to a second state, and the electronic device's permission to control the predetermined application is invalidated. For example, please see... Figure 4 A confirmation control is displayed on the settings interface; in response to the confirmation control detecting a "cancel" confirmation operation on the confirmation control, the switch button does not switch from the first state to the second state, and the electronic device does not control the invalidation of the usage permission of the predetermined application.

[0100] In one embodiment, see Figure 5 In response to detecting the first operation, the system controls the invalidation of the access permissions for the predefined application and displays an invalidation icon on the display interface.

[0101] In one embodiment, see Figure 6The system detects a second operation applied to the first display control; in response to detecting the second operation, it controls the usage permission to take effect. It stops displaying the permission invalidation icon on the display interface.

[0102] In one embodiment, an electronic device is configured to use the predetermined application; detect a first operation performed on a first display control; and in response to detecting the first operation, control the invalidation of the usage permission of the predetermined application; wherein the usage permission includes: the permission to use the predetermined application; and in response to the invalidation of the usage permission, prohibit the launch of the predetermined application.

[0103] In another embodiment, the electronic device is configured to be unable to use the predetermined application; a first operation acting on a first display control is detected; in response to detecting the first operation, the usage permission of the predetermined application is invalidated; wherein the usage permission includes: the permission to be unable to use the predetermined application; in response to the invalidation of the usage permission, the launch of the predetermined application is prohibited.

[0104] In one embodiment, in response to the invalidation of the usage permission, a prompt control indicating that the usage permission is prohibited is displayed on the display interface. The prompt control is used to display a message indicating that the usage permission is prohibited.

[0105] In one embodiment, the display of the "Access Denied" message stops after a predetermined time. For example, the display stops after 3 seconds.

[0106] In one embodiment, in response to multiple pre-defined applications, the prompt control simultaneously displays prompts indicating that multiple pre-defined applications are blocked. For example, it may display a prompt stating "The camera, recording, and location applications are blocked." Alternatively, it may display a carousel of prompts indicating that multiple pre-defined applications are blocked. For example, it may display a carousel of prompts stating "The camera application is blocked," "The recording application is blocked," and "The location application is blocked." It may also display only the prompts indicating that pre-defined applications are blocked, without specifying which application is blocked. For example, it may display a prompt stating "Application blocked."

[0107] In one embodiment, in response to the prompt control simultaneously displaying multiple prompt messages indicating that the predetermined applications are blocked and receiving a click operation applied to the prompt control, an interface including the first display control is displayed.

[0108] In another embodiment, in response to the prompt control displaying a carousel of prompts indicating that multiple predetermined applications are blocked and receiving a click operation on the prompt control, an interface including the first display control is displayed.

[0109] In one embodiment, in response to the prompt control displaying a carousel of prompts indicating that multiple pre-defined applications are prohibited and receiving a click operation on the prompt control, an interface including a third display control is displayed; wherein, the third display control is used to control the effectiveness of the usage permissions of a single pre-defined application. The pre-defined application corresponding to the carousel of prompts during the click operation is the single pre-defined application.

[0110] In one embodiment, a search term is added to the search control of the electronic device interface, which is used to control the display of the first display control.

[0111] In one embodiment, the prompt control is displayed at a set frequency.

[0112] In one embodiment, the usage permission is set to take effect in response to the electronic device being upgraded.

[0113] In embodiments of this disclosure, a first operation acting on a first display control is detected; in response to detecting the first operation, the usage permission of a predetermined application is invalidated; wherein, the usage permission includes: permission to use the predetermined application or permission not to use the predetermined application; in response to the invalidation of the usage permission, the launch of the predetermined application is prohibited. Here, after the usage permission is invalidated, the launch of the predetermined application is prohibited. Thus, even if the predetermined application is pre-configured to be usable, it can no longer be used after the usage permission is invalidated. Compared to a method where the predetermined application can be used in any scenario after being configured to be usable, the first operation can reduce the privacy leakage caused by using the predetermined application in the corresponding scenario.

[0114] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0115] Figure 7 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment, such as... Figure 7 As shown, the method is applied to an electronic device, and the method includes:

[0116] Step 71: Detect the second operation performed on the first display control;

[0117] Step 72: In response to detecting the second operation, control the usage permission to take effect.

[0118] In one embodiment, the second operation may be an operation such as clicking, inputting, or swiping on a first display control on the touchscreen of an electronic device. For example, the second operation may be a clicking operation on the first display control on the touchscreen. As another example, the second operation may be a swiping operation on the first display control on the touchscreen.

[0119] In one embodiment, a switch button is provided on the first display control; wherein the switch button has a first closed state and a second open state. The switch button can switch between the first state and the second state according to a first operation performed on the switch button.

[0120] In one embodiment, in response to detecting a first operation applied to the switch button, the switch button switches from the first state to the second state; in response to detecting a second operation applied to the switch button, the switch button switches from the second state to the first state.

[0121] In one embodiment, in response to detecting the second operation acting on the first display control, the switch button switches from the second state to the first state. In response to the switch button switching from the second state to the first state, the electronic device's access rights to control a predetermined application take effect.

[0122] In one embodiment, in response to detecting the second operation acting on the first display control, a confirmation display control is displayed; in response to detecting a confirmation operation on the confirmation display control, the switch button switches from the second state to the first state, and the electronic device's access permission to control the predetermined application takes effect.

[0123] In another embodiment, in response to detecting the second operation acting on the first display control, a confirmation display control is displayed; in response to detecting a cancellation operation on the confirmation display control, the switch button does not switch from the second state to the first state, and the electronic device does not control the usage permissions of the predetermined application to take effect.

[0124] In one embodiment, in response to detecting the first operation, the usage permission of the predetermined application is invalidated, and a permission invalidation icon is displayed on the display interface. A second operation acting on the first display control is detected; in response to detecting the second operation, the usage permission is made effective. The display of the permission invalidation icon on the display interface is stopped.

[0125] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0126] Figure 8 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment, such as... Figure 8 As shown, the method is applied to an electronic device, and the method includes:

[0127] Step 81: In response to the invalidation of the usage permission, display the permission invalidation icon; or, in response to the validity of the usage permission, stop displaying the permission invalidation icon.

[0128] In one embodiment, in response to the expiration of the usage permission, an expiration icon is displayed at a predetermined frequency; wherein the predetermined frequency is greater than a frequency threshold.

[0129] In one embodiment, in response to the expiration of the usage permission, an expiration permission icon is displayed and the display of the expiration permission icon stops after a predetermined time.

[0130] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0131] Figure 9 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment, such as... Figure 9 As shown, the method is applied to an electronic device, and the method includes:

[0132] Step 91: In response to the invalidation of the usage permission and the detection of a request to use the pre-defined application, display a prompt message indicating that the pre-defined application cannot be used using the second display control.

[0133] In one embodiment, in response to the expiration of the access permission and the detection of a request to use the predetermined application triggered by an operation performed on the electronic device, a prompt message indicating that the predetermined application cannot be used is displayed using a second display control.

[0134] In one embodiment, in response to the expiration of the usage permission and the detection of a triggered request to use the predetermined application sent from another electronic device, a prompt message indicating that the predetermined application cannot be used is displayed using a second display control.

[0135] In one embodiment, in response to the expiration of the usage permission and the detection of a triggered request to use the predetermined application sent from another electronic device, a prompt message indicating that the predetermined application cannot be used is displayed using a second display control; and the prompt message indicating that the predetermined application cannot be used is sent to other devices.

[0136] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0137] Figure 10 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment, such as... Figure 10 As shown, the method is applied to an electronic device, and the predetermined applications are multiple; the step of displaying a prompt message indicating that the predetermined applications cannot be used using a second display control includes:

[0138] Step 101: Simultaneously display the prompt information for each of the predetermined applications on the second display control;

[0139] or,

[0140] On the second display control, the prompt information for each of the predetermined applications is displayed in turn.

[0141] In one embodiment, the prompt information for each of the predetermined applications is displayed in a cyclic manner on the second display control.

[0142] In one embodiment, in response to multiple pre-defined applications, the prompt control simultaneously displays prompts indicating that multiple pre-defined applications are blocked. For example, the second display control displays a prompt stating "The camera, recording, and location applications are blocked." Alternatively, the prompts indicating that multiple pre-defined applications are blocked can be displayed in turn. For example, a loop can be displayed showing prompts indicating "The camera application is blocked," "The recording application is blocked," and "The location application is blocked." Alternatively, only the prompts indicating that pre-defined applications are blocked can be displayed, without specifying which application is blocked. For example, a prompt stating that "Application" is blocked can be displayed.

[0143] For example, see Figure 11 The system can display prompts from the recording, camera, and location apps in turn. The order in which these prompts are displayed could be: "Incognito mode is enabled, app cannot record audio," "Incognito mode is enabled, app cannot take photos," and "Incognito mode is enabled, app cannot locate." Alternatively, the system can display prompts from these three apps simultaneously, showing all three messages concurrently.

[0144] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0145] Figure 12 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment, such as... Figure 12 As shown, the method is applied to an electronic device, and the method includes:

[0146] Step 121: In response to detecting a third operation acting on the second display control, display an interface that triggers the display of the first display control;

[0147] The first display control is used to control whether the usage permissions of the multiple predetermined applications are enabled or disabled.

[0148] In one embodiment, the third operation may be an operation such as clicking, inputting, or swiping on a second display control on the touchscreen of an electronic device. For example, the third operation may be a clicking operation on a second display control on the touchscreen. As another example, the third operation may be a swiping operation on a second display control on the touchscreen. Here, the third operation may be a touch operation.

[0149] In one embodiment, see Figure 13 In response to detecting a click operation on the second display control, a display interface is displayed that triggers the display of the first display control; wherein the first display control is used to control the effectiveness of the usage permissions of the multiple predetermined applications.

[0150] In one embodiment, in response to detecting the third operation acting on the second display control, a confirmation display control is displayed; in response to detecting a confirmation operation for the confirmation display control, a display interface including the trigger to display the first display control is displayed.

[0151] In another embodiment, in response to detecting the third operation acting on the second display control, a confirmation display control is displayed; in response to detecting a cancellation operation on the confirmation display control, the display interface that triggered the display of the first display control is not displayed.

[0152] In one embodiment, a switch button is provided on the first display control; wherein the switch button has a first closed state and a second open state. The switch button can switch between the first state and the second state according to the operation performed on the switch button.

[0153] In one embodiment, in response to detecting the second operation acting on the first display control, the switch button switches from the second state to the first state. In response to the switch button switching from the second state to the first state, the electronic device's access rights to control a predetermined application take effect.

[0154] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0155] Figure 14 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment, such as... Figure 14 As shown, the method is applied to an electronic device, and the method includes:

[0156] Step 141: In response to a third operation that detects a prompt message acting on a single predetermined application on the second display control, display an interface including the trigger to display the third display control;

[0157] The third display control is used to control whether the usage permission of a single predetermined application is enabled or disabled.

[0158] In one embodiment, the prompt message for a single predetermined application on the second display control can be the prompt message corresponding to any one of the prompt messages for multiple predetermined applications. For example, Figure 11 The app will display any of the following prompts: "Incognito mode is enabled, the app cannot record audio", "Incognito mode is enabled, the app cannot take photos", and "Incognito mode is enabled, the app cannot locate".

[0159] For example, in response to a third operation that detects a "Stealth mode is enabled, application cannot record" message applied to the recording application on the second display control, a display interface is displayed that triggers the display of a third display control; wherein the third display control is used to control whether the recording application's usage permission is enabled or disabled.

[0160] In one embodiment, in response to detecting a third operation acting on a single predetermined application on the second display control, a confirmation display control is displayed; in response to detecting a confirmation operation for the confirmation display control, a display interface including triggering the display of the third display control is displayed.

[0161] In another embodiment, in response to detecting the third operation acting on a single predetermined application on the second display control, a confirmation display control is displayed; in response to detecting a cancellation operation on the confirmation display control, the display interface containing the trigger to display the third display control is not displayed.

[0162] In one embodiment, a switch button is provided on the third display control; wherein the switch button has a first closed state and a second open state. The switch button can switch between the first state and the second state according to the operation performed on the switch button.

[0163] In one embodiment, in response to detecting the second operation acting on a third display control, the switch button switches from the second state to the first state. In response to the switch button switching from the second state to the first state, the electronic device controls the usage permissions of the single predetermined application.

[0164] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0165] Figure 15 This is a flowchart illustrating a method for setting usage permissions for an application according to an exemplary embodiment, such as... Figure 15 As shown, the method is applied to an electronic device, and the method includes:

[0166] Step 151: In response to the expiration of the usage permission and the initial opening of the pre-defined application, the fourth display control of the pre-defined application is not displayed;

[0167] The fourth display control is used to detect whether an operation that enables the use of the predetermined application's permissions is enabled or whether an operation that enables the use of the predetermined application's permissions is disabled.

[0168] In one embodiment, a switch button is provided on the fourth display control; wherein the switch button has a first closed state and a second open state. The switch button can switch between the first state and the second state according to the operation performed on the switch button.

[0169] In one embodiment, in response to detecting an activation operation on a fourth display control, the switch button switches from the first state to the second state. In response to the switch button switching from the first state to the second state, the electronic device control is enabled to use the predetermined application.

[0170] In one embodiment, in response to detecting a power-off operation on a fourth display control, the switch button switches from the second state to the first state. In response to the switch button switching from the second state to the first state, the electronic device control is unable to use the predetermined application.

[0171] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0172] In one embodiment, the predetermined application includes one or more of the following: an application for positioning, an application for capturing images, or an application for recording audio.

[0173] Figure 16 This is an exemplary embodiment illustrating an application access permission setting device applied to an electronic device. The device includes a detection module 161, a control module 162, and a startup disabling module 163, wherein...

[0174] The detection module 161 is used to detect the first operation applied to the first display control;

[0175] The control module 162 is configured to: in response to detecting the first operation, control the invalidation of the usage permission of the predetermined application; wherein, the usage permission includes: the permission to use the predetermined application or the permission not to use the predetermined application;

[0176] The startup prohibition module 163 is used to: prohibit the startup of the predetermined application in response to the expiration of the usage permission.

[0177] In one embodiment,

[0178] The detection module 161 is further configured to: detect a second operation performed on the first display control;

[0179] The control module 162 is further configured to: control the usage permission to take effect in response to detecting the second operation.

[0180] In one embodiment, the device further includes a display module 164, wherein,

[0181] The display module 164 is used for:

[0182] In response to the expiration of the usage permission, a permission expiration icon is displayed;

[0183] or,

[0184] In response to the aforementioned usage permission taking effect, the permission invalidation icon will stop being displayed.

[0185] In one embodiment, the display module 164 is further configured to:

[0186] In response to the expiration of the usage permission and the detection of a request to use the pre-defined application, a prompt message indicating that the pre-defined application cannot be used is displayed using a second display control.

[0187] In one embodiment, the predetermined applications are multiple; the display module 164 is further configured to:

[0188] The prompt information for each of the predetermined applications is simultaneously displayed on the second display control;

[0189] or,

[0190] On the second display control, the prompt information for each of the predetermined applications is displayed in turn.

[0191] In one embodiment, the display module 164 is further configured to:

[0192] In response to detecting a third operation acting on the second display control, a display interface including the trigger to display the first display control is displayed;

[0193] The first display control is used to control whether the usage permissions of the multiple predetermined applications are enabled or disabled.

[0194] In one embodiment, the display module 164 is further configured to:

[0195] In response to a third operation that detects a prompt message acting on a single predetermined application on the second display control, a display interface including the trigger to display the third display control is displayed;

[0196] The third display control is used to control whether the usage permission of a single predetermined application is enabled or disabled.

[0197] In one embodiment, the display module 164 is further configured to:

[0198] In response to the expiration of the usage permission and the initial opening of the pre-defined application, the fourth display control of the pre-defined application is not displayed;

[0199] The fourth display control is used to detect whether an operation that enables the use of the predetermined application's permissions is enabled or whether an operation that enables the use of the predetermined application's permissions is disabled.

[0200] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0201] Figure 17 This is a block diagram illustrating a display device 800 according to an exemplary embodiment. For example, the display device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0202] Reference Figure 17 The display device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0203] Processing component 802 typically controls the overall operation of display device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0204] Memory 804 is configured to store various types of data to support the operation of display device 800. Examples of this data include instructions for any application or method operating on display device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0205] Power supply component 806 provides power to various components of display device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to display device 800.

[0206] Multimedia component 808 includes a screen that provides an output interface between the display device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0207] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when display device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0208] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0209] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of display device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of display device 800, changes in position of display device 800 or a component of display device 800, the presence or absence of user contact with display device 800, orientation or acceleration / deceleration of display device 800, and temperature changes of display device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0210] Communication component 816 is configured to facilitate wired or wireless communication between display device 800 and other devices. Display device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0211] In an exemplary embodiment, the display device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0212] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of a display device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0213] A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a display device, enable the display device to perform the methods described in the above embodiments.

[0214] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.

[0215] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method of setting a usage right of an application, characterized by, The method includes: The system detects a first operation performed on a first display control; wherein the first display control is located on the settings interface of the system settings; the first operation is a click operation on the first display control; the first display control is provided with a switch button; the switch button on the first display control has a first off state and a second on state; the switch button on the first display control switches between the first state and the second state according to the operation performed on the switch button; In response to detecting the first operation, a confirmation display control is displayed; In response to detecting a confirmation operation for the confirmation display control, the switch button on the first display control switches from the first state to the second state, and the electronic device's access to control the predetermined application is invalidated; In response to detecting a cancellation operation for the confirmation display control, the switch button on the first display control does not switch from the first state to the second state, and the electronic device does not control the invalidation of the usage permission of the predetermined application; The usage permissions include: all applications in the electronic device may or may not use the permissions of the predetermined application; the predetermined application includes one or more of the following: camera, recording, and location applications; In response to the expiration of the access permission, all applications in the electronic device are prohibited from launching the predetermined application; In response to the expiration of the usage permission and the detection of a request to use the pre-defined application, a second display control is used to sequentially display prompt information corresponding to each pre-defined application; wherein, the prompt information is a prompt information indicating that the pre-defined application cannot be used; In response to the second display control sequentially displaying prompts indicating that each of the pre-defined applications is prohibited from use and receiving a click operation on the second display control, an interface including a third display control is displayed; wherein, the third display control is used to control the effectiveness of the usage permissions of a single pre-defined application; wherein, the pre-defined application corresponding to the prompts displayed during the click operation is the single pre-defined application; In response to the expiration of the usage permission and the initial opening of the predetermined application, the fourth display control of the predetermined application is not displayed; wherein, the fourth display control is provided with a switch button having a first closed state and a second open state; when the switch button on the fourth display control switches from the first state to the second state according to an opening operation performed on the fourth display control, the usage permission of the predetermined application is effective; when the switch button on the fourth display control switches from the second state to the first state according to a closing operation performed on the fourth display control, the usage permission of the predetermined application is invalidated. Detect the second operation performed on the first display control; In response to detecting the second operation, the usage permission is controlled to take effect.

2. The method of claim 1, wherein, The method further includes: In response to the expiration of the usage permission, a permission expiration icon is displayed; or, In response to the aforementioned usage permission taking effect, the permission invalidation icon will stop being displayed.

3. The method of claim 1, wherein, The method further includes: In response to detecting a third operation acting on the second display control, a display interface including the trigger to display the first display control is displayed; The first display control is used to control whether the usage permissions of the multiple predetermined applications are enabled or disabled.

4. A device for setting application usage permissions, characterized in that, The device includes a detection module, a control module, a start-prevention module, and a display module, wherein, The detection module is used to detect a first operation applied to a first display control; wherein, the first display control is set on the settings interface of the system settings; the first operation is a click operation on the first display control; a switch button is provided on the first display control; the switch button on the first display control has a first off state and a second on state; the switch button on the first display control switches between the first state and the second state according to the operation applied to the switch button; The control module is configured to: in response to detecting the first operation, display a confirmation display control; in response to detecting a confirmation operation on the confirmation display control, switch the toggle button on the first display control from the first state to the second state, and disable the electronic device's access permission to the predetermined application; in response to detecting a cancellation operation on the confirmation display control, not switch the toggle button on the first display control from the first state to the second state, and not disable the electronic device's access permission to the predetermined application; wherein, the access permission includes: all applications in the electronic device being able to use the permissions of the predetermined application or not being able to use the permissions of the predetermined application; the predetermined application includes one or more of the following: camera, recording, and location applications; The startup prevention module is configured to: in response to the expiration of the usage permission, prevent all applications in the electronic device from launching the predetermined application; The display module is configured to: in response to the invalidation of usage permissions and the detection of a request to use the pre-defined application, use a second display control to sequentially display prompt information corresponding to each pre-defined application; wherein the prompt information is a prompt information indicating that the pre-defined application cannot be used; in response to the second display control sequentially displaying prompt information indicating that each pre-defined application is prohibited from use and receiving a click operation on the second display control, display an interface including a third display control; wherein the third display control is configured to control the effectiveness of the usage permissions of a single pre-defined application; wherein the pre-defined application corresponding to the prompt information displayed during the click operation is the single pre-defined application; in response to the invalidation of usage permissions and the initial opening of the pre-defined application, not display a fourth display control for the pre-defined application; wherein the fourth display control is provided with a switch button having a first closed state and a second open state; when the switch button on the fourth display control switches from the first state to the second state according to an open operation on the fourth display control, the usage permissions of the pre-defined application are effective; when the switch button on the fourth display control switches from the second state to the first state according to a close operation on the fourth display control, the usage permissions of the pre-defined application are invalidated. The detection module is further configured to: detect a second operation performed on the first display control; The control module is further configured to: in response to detecting the second operation, control the usage permission to take effect.

5. The apparatus according to claim 4, characterized in that, The device also includes a display module, wherein... The display module is used for: In response to the expiration of the usage permission, a permission expiration icon is displayed; or, In response to the aforementioned usage permission taking effect, the permission invalidation icon will stop being displayed.

6. The apparatus according to claim 4, characterized in that, The display module is also used for: In response to detecting a third operation acting on the second display control, a display interface including the trigger to display the first display control is displayed; The first display control is used to control whether the usage permissions of the multiple predetermined applications are enabled or disabled.

7. An electronic device, characterized in that, The electronic device includes: a processor and a memory for storing computer services that can run on the processor, wherein the processor, when running the computer services, implements the method of any one of claims 1 to 3.

8. A storage medium, characterized in that, The storage medium contains computer-executable instructions, which are executed by a processor to implement the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Terminal rights management method and terminal device

    CN103617389A

  • Authority control method and terminal

    CN109766680A

  • Information display method and terminal equipment

    CN110908557A

  • Global permission control method and device, storage medium and electronic equipment

    CN111079134A