WO2021004327A1 - 应用权限设置方法及终端设备 - Google Patents

应用权限设置方法及终端设备 Download PDF

Info

Publication number
WO2021004327A1
WO2021004327A1 PCT/CN2020/099040 CN2020099040W WO2021004327A1 WO 2021004327 A1 WO2021004327 A1 WO 2021004327A1 CN 2020099040 W CN2020099040 W CN 2020099040W WO 2021004327 A1 WO2021004327 A1 WO 2021004327A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
icon
application
control
terminal device
Prior art date
Application number
PCT/CN2020/099040
Other languages
English (en)
French (fr)
Inventor
叶传坤
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021004327A1 publication Critical patent/WO2021004327A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a method for setting application permissions and a terminal device.
  • the user can first find the permission setting entry of the application program, and then set the permission of the application program.
  • the user can click the icon of the "Settings" application to trigger the terminal device to display the main interface of the "Settings” application; then, the user can click the main interface
  • the application management option in the interface triggers the terminal device to update the main interface to display the application management interface; after that, the user can click the icon of the application A in the application management interface to trigger the terminal device to update the application management interface Display the permission setting interface for this application A.
  • the user can set the microphone, location, phone, storage, camera, and contact permissions in the permission setting interface of the application A.
  • the permission setting entry of the application program is relatively secretive, the user may not be able to find the permission setting entry of the application program, resulting in the inability to set the permission setting of the application program.
  • embodiments of the present disclosure provide a method for setting application permissions.
  • the method is applied to a terminal device, and the method includes: receiving a first input for a first icon, the first icon being an icon of a first application program; in response to the first input, being in a preset area of the first icon Display a first control; receive a second input for the first control; in response to the second input, display at least one first option; receive a third input for the first option, and respond to the third input to A function permission of an application is set.
  • the embodiments of the present disclosure provide a terminal device.
  • the terminal equipment includes a receiving module and a display module.
  • the receiving module is configured to receive a first input for a first icon, and the first icon is an icon of a first application program; and the display module is configured to display in a preset area of the first icon in response to the first input A first control; a receiving module, which is also used to receive a second input for the first control; a display module, which is also used to display at least one first option in response to the second input; a receiving module, which is also used to receive The third input of the first option; the display module is also used to respond to the third input to set a function permission of the first application.
  • the embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program implements the first The steps of the application permission setting method provided by the aspect.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the application permission setting method provided in the first aspect are implemented.
  • FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the disclosure
  • FIG. 3 is one of the schematic diagrams of displaying a first control in a desktop interface provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a display option provided by an embodiment of the disclosure.
  • FIG. 5 is a second schematic diagram of an application permission setting method provided by an embodiment of the disclosure.
  • FIG. 6 is the third schematic diagram of an application permission setting method provided by an embodiment of the disclosure.
  • FIG. 7 is a second schematic diagram of displaying a first control on a desktop interface according to an embodiment of the disclosure.
  • FIG. 8 is a fourth schematic diagram of an application permission setting method provided by an embodiment of the disclosure.
  • FIG. 9 is a schematic diagram of a plurality of applications provided by an embodiment of the disclosure in an editing state
  • FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 11 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
  • first and second in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects.
  • first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • the embodiments of the present disclosure provide a method for setting application permissions and a terminal device, which can receive a first input for a first icon, and in response to the first input, display a first control in a preset area of the first icon.
  • An icon is an icon of the first application; and receiving a second input for the first control, in response to the second input, displaying at least one first option; and receiving a third input for the first option, in response to the The third input is to set a function permission of the first application.
  • the user can directly input the icon of the application to trigger the terminal device to display the first control in the preset area of the first icon, and pass The input of the first control triggers the terminal device to display at least one option for setting the functional authority of the application.
  • the user can directly find the permission setting entry of the application to be set by inputting the icon of the application to be set, and quickly complete the permission setting of the application.
  • the terminal device in the embodiment of the present disclosure may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
  • the following uses the Android operating system as an example to introduce the software environment applied by the application permission setting method provided by the embodiments of the present disclosure.
  • FIG. 1 it is a schematic structural diagram of an Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the application permission setting method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG.
  • the application permission setting method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the application permission setting method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
  • the terminal device in the embodiment of the present disclosure may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the non-mobile terminal device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
  • the execution subject of the application permission setting method provided by the embodiments of the present disclosure may be the above-mentioned terminal device, or may be a functional module and/or functional entity in the terminal device that can implement the application permission setting method. Specifically, it may be used according to actual usage. The requirements are determined, and the embodiments of the present disclosure are not limited.
  • the following takes a terminal device as an example to illustrate the application permission setting method provided by the embodiment of the present disclosure.
  • the terminal device when the terminal device displays the icons of multiple applications, if the user wants to set the authority of the first application in the multiple applications, the user directly uses the icon of the first application.
  • the input triggers the terminal device to quickly enter the permission setting interface and complete the permission setting of the application without having to find the setting interface and the application management interface.
  • an embodiment of the present disclosure provides a method for setting application permissions.
  • the method may include the following steps 101 to 105.
  • Step 101 The terminal device receives a first input for a first icon.
  • the above-mentioned first icon may be an icon of the first application program.
  • the above-mentioned first application program may be any one of the following: a video application program, a shopping application program, a social application program, a reading application program, a navigation application program, a browser type Application etc.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the above-mentioned first icon may be an icon displayed on the screen of the terminal device.
  • the first icon may be an icon in a first interface displayed on the screen of the terminal device, and the first interface may be a desktop interface or an interface of a target application.
  • the target application may be a file management application, and the file management application may be used to manage multiple applications including the first application .
  • the foregoing first input may be an input for M second application icons in the terminal device.
  • M is an integer greater than or equal to 2.
  • the foregoing M second application program icons may include the first icon, or may not include the first icon.
  • the aforementioned M application icons may be icons in one desktop interface, or icons in multiple desktop interfaces, or icons in the interface of the target application program.
  • the above-mentioned first input may be touch input, voice input, gesture input, or key input for the first icon displayed on the terminal device.
  • the touch input may specifically be a click input to the first icon, or a drag input to the first icon.
  • the first input may specifically be a single click input, a double click input, or a long press input of the first icon by the user.
  • the first input is a drag input of the first icon, the first input may specifically be an input of dragging the first icon along the graph "Z", or an input of dragging the first icon along the graph "S", or the like.
  • Step 102 In response to the first input, the terminal device displays a first control in a preset area of the first icon.
  • displaying the first control in the preset area of the first icon may specifically include: the first icon is superimposed and displayed in the preset area of the first control with a preset transparency.
  • the preset transparency can be any value between 0% and 100%. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the shape of the first control may be a rectangle, a circle, a gear shape, or any other possible geometric shapes.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the preset area of the first icon may be any one of the following: the first control is displayed in the border of the first icon, the first control is displayed at the edge of the first icon, The first control is displayed at a preset distance from the first icon.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the first control can be displayed at any of the following positions: the position where any one frame of the first icon is located, or the two adjacent frames of the first icon The junction location.
  • the first interface 001 of the terminal device may display an icon 002 of "application 1", if the user wants to set the authority of the application corresponding to "application 1" , Then the user can long press the "application 1" icon 002.
  • the terminal device can receive the user's long press input (ie the first input), and as shown in Figure 3 (b), the first icon is displayed on the upper right of the icon 002 (ie, the preset area) of "Application 1" Control 003.
  • the shape of the first control 003 may be a gear shape.
  • Step 103 The terminal device receives a second input for the first control.
  • the above-mentioned second input may be touch input, voice input, gesture input, or key input for the first control.
  • the touch input may specifically be a click input to the first control, or a drag input to the first control.
  • Step 104 In response to the second input, the terminal device displays at least one first option.
  • each of the above at least one first option may be used to set a function permission for the first application.
  • the display manner of the at least one first option may be any of the following: displaying the at least one first option through a menu, and displaying the at least one first option through a floating control.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the terminal device may display the setting interface of the first application.
  • the setting interface includes a setting menu
  • the setting menu includes a plurality of menu items, and each menu item can be a first option.
  • Step 105 The terminal device receives a third input for the first option, and responds to the third input to set a function permission of the first application.
  • the first option in step 105 is any one of the at least one first option in step 104.
  • the aforementioned third input may be a touch input to a first option.
  • the touch input may specifically be a single-click input, a double-click input, a long-press input, or a drag input to a first option.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the above-mentioned setting of a function permission of the first application program may specifically include: enabling a function permission corresponding to a first option; or disabling a function permission corresponding to a first option.
  • enabling the function permission corresponding to the first option may specifically be: allowing authorization of the function; disabling the function permission corresponding to the first option may specifically be: prohibiting the function Authorization.
  • the icon 002 of "application 1" may be displayed in the first interface 001 of the terminal device, and the icon 002 of "application 1" can be displayed at the upper right of the icon 002 (that is, the preset Set area) can display a first control 003. If the user wants to set the authority of the application corresponding to "application 1", the user can click the first control 003. As shown in (b) of FIG. 4, the terminal device can receive the single-click input (ie, the second input), and in response to the single-click input, display the "authorization setting interface of application 1" 004. The user can set the permissions of the application according to his own needs.
  • the application is a weather application
  • the user can set the "location” option to the on state in the "Permission Setting Interface of Application 1" 004, and Set other options to off.
  • the application can obtain the location information of the terminal device in real time, and provide weather information corresponding to the location information according to the location information obtained in real time.
  • the embodiment of the present disclosure provides an application permission setting method, which can receive a first input for a first icon, and in response to the first input, display a first control in a preset area of the first icon, the first icon being An icon of the first application; and receiving a second input for the first control, in response to the second input, displaying at least one first option; and receiving a third input for the first option, and responding to the third input To set a function permission of the first application.
  • the user can directly input the icon of the application to trigger the terminal device to display the first control in the preset area of the first icon, and pass The input of the first control triggers the terminal device to display at least one option for setting the functional authority of the application. In this way, the user can directly find the permission setting entry of the application to be set by inputting the icon of the application to be set, and quickly complete the permission setting of the application.
  • the application permission setting method provided in the embodiment of the present disclosure further includes step 106 and step 107.
  • Step 106 The terminal device receives the sixth input of the user.
  • the above-mentioned sixth input may be an input to a physical key of the terminal device, or a touch input to a setting interface of the first application, or a user's voice input.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the sixth input is an input to a physical button of the terminal device
  • the sixth input specifically includes any one of the following: input to the "home" button of the terminal device, input to the return button of the terminal device, and input to the terminal device Input of the volume buttons of the device, etc.
  • Step 107 In response to the sixth input, the terminal device cancels the display of at least one first option of the first application.
  • canceling the display of the at least one first option of the first application may specifically include: closing the first option.
  • a setting option interface of an application and display the desktop interface of the terminal device.
  • the icon of each application program in the desktop interface is in a non-editing state.
  • the application permission setting method provided by the embodiment of the present disclosure can trigger the terminal device to cancel the display of the setting options of the first application by receiving the user input after the permission setting of the first application is completed, thereby avoiding setting options It occludes the interface to facilitate other operations by the user.
  • the application permission setting method provided by the embodiment of the present disclosure further includes: Step 108 and step 109, and "display the first control in the preset area of the first icon" in step 102 can be specifically implemented by the following step 102a.
  • Step 108 In response to the first input, the terminal device displays the second control in the preset area of the first icon.
  • displaying the second control in the preset area of the first icon may specifically include: the first icon is superimposed and displayed in the preset area of the second control with a preset transparency.
  • the preset transparency can be any value between 0% and 100%. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the shape of the second control may be a rectangle, a circle, a gear shape, or any other possible geometric shapes.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • Step 109 The terminal device receives a fourth input for the second control.
  • the aforementioned fourth input may be a single-click input to the second control, or a double-click input to the second control, or a long-press input to the second control.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • Step 102a In response to the fourth input, the terminal device displays the first control in a preset area for the first icon.
  • an icon 002 of "application 1" may be displayed in the first interface 001 of the terminal device, and a second control 005 may be displayed at the bottom right of the icon 002 . If the user wants to set permissions for an application, the user can double-click the second control 005, as shown in (b) in Figure 7, and the terminal device can respond to the double-click input by setting the icon 002 of "Application 1"
  • the first control 003 is displayed at the bottom right of the.
  • the user can first trigger the terminal device to display the second control, and then trigger the terminal device to display the first control by inputting the second control. In this way, the user can trigger the terminal device to display the first control in a variety of ways, thereby improving the diversity and flexibility of setting application permissions.
  • step 102a may be specifically implemented by the following step 102a1.
  • Step 102a1 In response to the fourth input, the terminal device displays N controls in the preset area of the first icon, and the N controls include the first control.
  • N is an integer greater than or equal to 2.
  • the above-mentioned first control may specifically be a permission setting control.
  • the aforementioned N controls may specifically include: permission setting control (ie, the first control), creating clone control, file management control, push setting control, sound setting control, message reminding setting control, etc.
  • permission setting control ie, the first control
  • creating clone control file management control
  • push setting control ie, the first control
  • sound setting control ie, the message reminding setting control
  • etc. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the arrangement of the above N controls may be preset, or determined according to the frequency of use of the user, or may be sorted according to the degree of relevance of each control to the application. of.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the terminal device displays the icon of the first application program on the current interface, and the user can trigger the terminal device to display the icon of the first application program on the current interface by inputting the icon of the first application program.
  • the N controls include the creation of a clone control
  • the user can trigger the terminal device to create another icon of the first application on the current interface by inputting the creation of the clone control.
  • the user can trigger the terminal device to run the first application by inputting any icon of the first application.
  • the user can trigger the terminal device to log in to the two icons respectively by inputting the two icons of the first application. Different user accounts.
  • the N controls include a file management control
  • the user can trigger the terminal device to display the file management interface of the first application by inputting the file management control
  • the file management interface may specifically include at least one of the following: The path of the file downloaded through the first application program, the thumbnail of the file downloaded through the first application program, the installation path of the first application program, and the identification of the installation file of the first application program.
  • FIG. 7 is still used as an example for illustrative description.
  • an icon 002 of "application 1" can be displayed in the first interface 001 of the terminal device, and the icon The second control 005 can be displayed at the bottom right of 002.
  • the terminal device can respond to the double-click input (that is, the third input) in the "Application
  • the "1" icon 002 displays the "Permission Settings” control, "Create Clone” control, "Manage File” control, "Push Settings” control and "Sound Settings” control at the bottom right of the icon 002 respectively.
  • the "Permission Setting” control 003 is the first control. If the user clicks on the "authority setting” control 003, the terminal device can display the "authority setting interface of application 1" as shown in (b) of FIG. 4.
  • the application permission setting method provided by the embodiment of the present disclosure further includes the following steps 110 and 111.
  • Step 110 In response to the fourth input, the terminal device displays at least one second option in a preset area of the first icon.
  • Step 111 The terminal device receives a fifth input for the second option, and responds to the fifth input to set a function permission of the first application.
  • each of the at least one second option may be used to set a function permission for the first application.
  • the first possible implementation manner is: each second option in the at least one second option is different from each first option in the at least one first option.
  • a second possible implementation manner is that one second option in the at least one second option is the same as one first option in the at least one first option.
  • the first option may be an option provided by other applications related to the first application, and the second option may be Options provided by the application.
  • At least one first option may include a storage option, a phone option, a location option, a contact option, a microphone option, a body sensor option, and a camera option.
  • These first options It may be an option provided by other applications related to the first application.
  • the second options are sound setting options and push setting options, respectively, these two second options are options provided by the first application.
  • the one second option may be an option that is frequently used by users among the at least one first option, or may Is an option selected by the user from the at least one first option.
  • At least one first option may include a storage option, a phone option, a location option, a contact option, a microphone option, a body sensor option, and a camera option.
  • These first options It may be an option provided by other applications related to the first application.
  • the second options are respectively a positioning option, a contact option, and a microphone option, each second option is the same as a first option.
  • the terminal device when the second control is displayed on the first icon, the terminal device can be triggered to display in the preset area of the first icon by receiving the user's input to the second control At least one second option. In this way, the user can realize the control of different functions corresponding to the first application program through the input of different options, thereby improving the user experience.
  • the foregoing first input may be an input for M second application icons in the terminal device.
  • the foregoing step 102 may be specifically implemented by the following step 102c.
  • Step 102c In response to the first input, the terminal device controls the M second application programs corresponding to the M second application program icons to be in the editing state, and respectively locate each second application program in the M second application program icons In the preset area of the icon, a first control is displayed.
  • the above M second application program icons may include the first icon or may not include the first icon.
  • the icon of each second application may correspond to a preset area.
  • the preset area of the icon of each second application can be any one of the following: the first control is displayed in the border of the icon of each second application, and the first control is displayed in each second application. The edge position of the icon and the first control are displayed at a preset distance from the icon of each second application.
  • the icons of the M second application programs may be displayed in one interface or in different interfaces.
  • the terminal device has a total of 8 application program icons, among which, the icons of 3 application programs may be located on the first desktop interface, and the icons of 5 application programs may be located on the second desktop interface.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the terminal device may not only display a first control on the icon of the M second application, but also
  • the icons of the second application program respectively display at least one of the following: a delete logo, a avatar logo, a message reminder logo, etc.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • three icons of the second application may be displayed on the first interface 001, namely, the icon 002 of "Application 1", the icon of "Application 2" and the icon of "Application 3" icon.
  • the user can long-press the icon 002 of "Application 1", and the terminal device can respond to the long-press input, as shown in Figure 9 (b), in the "Application 1" icon, "Application 2" icon and "Application Three controls are displayed on the 3" icon, namely a first control, a avatar logo and a delete logo.
  • a avatar logo 006 can be displayed at the lower right of the icon 002 of "application 1"
  • a delete logo 007 can be displayed at the upper left of the icon 002 of "application 1”.
  • a first control 003 is displayed at the upper right of the icon 002 of "application 1".
  • the terminal device after receiving the first input of the user, the terminal device can respond to the first input to control M applications to be in the editing state, and to select The first control is displayed on the icons, so the user can set permissions for different applications by inputting the first control displayed on different applications.
  • the terminal device may include a receiving module 1001 and a display module 1002.
  • the receiving module 1001 can be used to receive a first input for a first icon, and the first icon is an icon of a first application.
  • the display module 1002 may be configured to display a first control in a preset area of the first icon in response to the first input received by the receiving module 1001.
  • the receiving module 1001 can also be used to receive a second input for the first control.
  • the display module 1002 can also be used to display at least one first option in response to the second input.
  • the receiving module 1001 may also be used to receive a third input for the first option.
  • the display module 1002 can also be used to set a function permission of the first application in response to the third input.
  • the display module 1002 may also be configured to display a second control in the preset area of the first icon before displaying the first control in the preset area of the first icon after responding to the first input.
  • the receiving module 1001 may also be used to receive a fourth input for the second control displayed by the display module 1002.
  • the display module 1002 may be specifically configured to display the first control in the preset area of the first icon in response to the fourth input received by the receiving module 1001.
  • the display module 1002 may be specifically configured to display N controls in a preset area of the first icon, the N controls include the first control, and N is an integer greater than or equal to 2.
  • the terminal device provided in the embodiment of the present disclosure may further include a processing module 1003.
  • the display module 1002 may also be configured to display at least one second option in the preset area of the first icon in response to the fourth input received by the receiving module 1001.
  • the receiving module 1001 may also be used to receive the fifth input for the second option.
  • the processing module 1003 can be used to respond to the fifth input to set a function permission of the first application. Among them, each second option is different from each first option.
  • the first input is an input for M second application program icons in the terminal device, and M is an integer greater than or equal to 2.
  • the display module 1002 can be specifically configured to control the M second application programs corresponding to the M second application program icons to be in the editing state in response to the first input received by the receiving module 1001, and display the M second application programs in the editing state respectively. In the preset area of each second application icon in the icons, a first control is displayed.
  • the terminal device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the embodiments of the present disclosure provide a terminal device. If a user wants to set permissions for an application, the user can directly input the icon of the application to trigger the terminal device to display in the preset area of the first icon The first control, and through the input of the first control, triggers the terminal device to display at least one option for setting the functional authority of the application. In this way, the user can directly find the permission setting entry of the application to be set by inputting the icon of the application to be set, and quickly complete the permission setting of the application.
  • FIG. 11 is a schematic diagram of the hardware structure of a terminal device implementing various embodiments of the present disclosure.
  • the terminal device 200 includes but is not limited to: a radio frequency unit 201, a network module 202, an audio output unit 203, an input unit 204, a sensor 205, a display unit 206, a user input unit 207, an interface unit 208, and a memory 209 , Processor 210, and power supply 211.
  • the structure of the terminal device shown in FIG. 11 does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components Layout.
  • terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.
  • the user input unit 207 may be configured to receive a first input for a first icon, and the first icon is an icon of the first application.
  • the display unit 206 may be configured to display a first control in a preset area on the first icon in response to the first input received by the user input unit 207.
  • the user input unit 207 may also be used to receive a second input for the first control.
  • the display unit 206 may also be configured to display at least one first option in response to the second input received by the user input unit 207.
  • the user input unit 207 may also be used to receive a third input for the first option.
  • the display unit 206 can also be used to set a function permission of the first application in response to the third input received by the user input unit 207.
  • the embodiments of the present disclosure provide a terminal device. If a user wants to set permissions for an application, the user can directly input the icon of the application to trigger the terminal device to display in the preset area of the first icon The first control, and through the input of the first control, triggers the terminal device to display at least one option for setting the functional authority of the application. In this way, the user can directly find the permission setting entry of the application to be set by inputting the icon of the application to be set, and quickly complete the permission setting of the application.
  • the radio frequency unit 201 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 210; Uplink data is sent to the base station.
  • the radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 201 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device provides users with wireless broadband Internet access through the network module 202, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 203 can convert the audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into audio signals and output them as sounds. Moreover, the audio output unit 203 may also provide audio output related to a specific function performed by the terminal device 200 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 204 is used to receive audio or video signals.
  • the input unit 204 may include a graphics processing unit (GPU) 2041 and a microphone 2042.
  • the graphics processing unit 2041 is configured to monitor still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 206.
  • the image frame processed by the graphics processor 2041 may be stored in the memory 209 (or other storage medium) or sent via the radio frequency unit 201 or the network module 202.
  • the microphone 2042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 201 in the case of a telephone call mode for output.
  • the terminal device 200 also includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 2061 and the display panel 2061 when the terminal device 200 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 205 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 206 is used to display information input by the user or information provided to the user.
  • the display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 207 can be used to receive input digital or character information, and generate key signal inputs related to user settings and function control of the terminal device.
  • the user input unit 207 includes a touch panel 2071 and other input devices 2072.
  • the touch panel 2071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 2071 or near the touch panel 2071. operating).
  • the touch panel 2071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 210, the command sent by the processor 210 is received and executed.
  • the touch panel 2071 can be realized in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 207 may also include other input devices 2072.
  • other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 2071 can be overlaid on the display panel 2061.
  • the touch panel 2071 detects a touch operation on or near it, it transmits it to the processor 210 to determine the type of touch event, and then the processor 210 The type of touch event provides corresponding visual output on the display panel 2061.
  • the touch panel 2071 and the display panel 2061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 208 is an interface for connecting an external device with the terminal device 200.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 208 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 200 or can be used to connect the terminal device 200 to an external device. Transfer data between devices.
  • the memory 209 can be used to store software programs and various data.
  • the memory 209 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 209 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 210 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 209, and calls the data stored in the memory 209. , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 210.
  • the terminal device 200 may also include a power source 211 (such as a battery) for supplying power to various components.
  • a power source 211 such as a battery
  • the power source 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 200 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal device, including a processor 210 as shown in FIG. 11, a memory 209, a computer program stored in the memory 209 and running on the processor 210, and the computer program is
  • the processor 210 implements each process of the foregoing method embodiment when executing, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program When the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • computer-readable storage media such as read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

一种应用权限设置方法及终端设备,该方法包括:接收针对第一图标的第一输入,该第一图标为第一应用程序的图标;响应于该第一输入,在该第一图标的预设区域内显示第一控件;接收针对该第一控件的第二输入;响应于该第二输入,显示至少一个第一选项;接收针对该第一选项的第三输入,响应该第三输入,对该第一应用程序的一个功能权限进行设置。

Description

应用权限设置方法及终端设备
相关申请的交叉引用
本申请主张在2019年07月08日提交国家知识产权局、申请号为201910610409.8申请名称为“一种应用权限设置方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种应用权限设置方法及终端设备。
背景技术
随着通信技术和终端技术的发展,终端设备中安装的应用程序越来越多,且每个应用程序的权限设置可以不同。
相关技术中,用户可以先找到应用程序的权限设置入口,再对应用程序的权限进行设置。示例性的,如果用户想要对应用程序A的权限进行设置,那么用户可以点击“设置”应用程序的图标,以触发终端设备显示“设置”应用程序的主界面;然后,用户可以点击该主界面中的应用管理选项,以触发终端设备将该主界面更新显示为应用管理界面;之后,用户可以在该应用管理界面中点击该应用程序A的图标,以触发终端设备将该应用管理界面更新显示为该应用程序A的权限设置界面。如此,用户可以在该应用程序A的权限设置界面中,对麦克风、定位、电话、存储、相机和联系人等权限进行设置。
然而,如果应用程序的权限设置入口设置较为隐秘,那么用户可能无法查找到应用程序的权限设置入口,导致无法对应用程序的权限进行设置。
发明内容
本公开实施例是这样实现的:
第一方面,本公开实施例提供了一种应用权限设置方法。该方法应用于终端设备,该方法包括:接收针对第一图标的第一输入,该第一图标为第一应用程序的图标;响应于该第一输入,在该第一图标的预设区域内显示第一控件;接收针对该第一控件的第二输入;响应于该第二输入,显示至少一个第一选项;接收针对该第一选项的第三输入,响应该第三输入,对该第一应用程序的一个功能权限进行设置。
第二方面,本公开实施例提供了一种终端设备。该终端设备包括接收模块和显示模块。接收模块,用于接收针对第一图标的第一输入,该第一图标为第一应用程序的图标;显示模块,用于响应于该第一输入,在该第一图标的预设区域内显示第一控件;接收模块,还用于接收针对该第一控件的第二输入;显示模块,还用于响应于该第二输入,显示至少一个第一选项;接收模块,还用于接收针对该第一选项的第三输入;显示模块,还用于响应于该第三输入,对该第一应用程序的一个功能权限进行设置。
第三方面,本公开实施例提供了一种终端设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现第一方面提供的应用权限设置方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现第一方面提供的应用权限设置方法的步骤。
附图说明
图1为本公开实施例提供的一种安卓操作系统的架构示意图;
图2为本公开实施例提供的一种应用权限设置方法的示意图之一;
图3为本公开实施例提供的一种在桌面界面中显示第一控件的示意图之一;
图4为本公开实施例提供的一种显示选项的示意图;
图5为本公开实施例提供的一种应用权限设置方法的示意图之二;
图6为本公开实施例提供的一种应用权限设置方法的示意图之三;
图7为本公开实施例提供的一种在桌面界面中显示第一控件的示意图之二;
图8为本公开实施例提供的一种应用权限设置方法的示意图之四;
图9为本公开实施例提供的多个应用程序处于编辑状态的示意图;
图10为本公开实施例提供的终端设备的结构示意图;
图11为本公开实施例提供的终端设备的硬件示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。
本公开实施例提供一种应用权限设置方法及终端设备,可以接收针对第一图标的第一输入,响应于该第一输入,在该第一图标的预设区域内显示第一控件,该第一图标为第一应用程序的图标;并接收针对该第一控件的第二输入,响应于该第二输入,显示至少一个第一选项;以及接收针对该第一选项的第三输入,响应该第三输入,对该第一应用程序的一个功能权限进行设置。通过该方案,如果用户想要对一个应用程序进行权限设置,那么用户可以直接通过对该一个应用程序的图标的输入,触发终端设备在第一图标的预设区域内显示第一控件,并通过对该第一控件的输入,触发终端设备显示至少一个用于设置该应 用程序功能权限的选项。如此,用户可以直接通过对待设置的应用程序的图标的输入,查找到待设置的应用程序的权限设置入口,并快速完成对该应用程序的权限设置。
本公开实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本公开实施例提供的应用权限设置方法所应用的软件环境。
如图1所示,为本公开实施例提供的一种安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本公开实施例提供的应用权限设置方法的软件程序,从而使得该应用权限设置方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的应用权限设置方法。
本公开实施例中的终端设备可以为移动终端设备,也可以为非移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本公开实施例不作具体限定。
本公开实施例提供的应用权限设置方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该应用权限设置方法的功能模块和/或功能实体,具体地,可以根据实际使用需求确定,本公开实施例不作限定。下面以终端设备为例,对本公开实施例提供的应用权限设置方法进行示例性的说明。
本公开实施例中,当终端设备显示多个应用程序的图标时,如果用户想要对该多个应用程序中第一应用程序的权限进行设置,那么用户直接通过对该第一应用程序的图标的输入,触发终端设备快速进入权限设置界面,并完成对该应用程序的权限设置,而无需查找设置界面和应用管理界面。
如图2所示,本公开实施例提供一种应用权限设置方法,该方法可以包括下述的步骤 101至步骤105。
步骤101、终端设备接收针对第一图标的第一输入。
其中,上述第一图标可以为第一应用程序的图标。
可选地,本公开实施例中,上述第一应用程序可以为以下任意一项:视频类应用程序、购物类应用程序、社交类应用程、阅读类应用程序、导航类应用程序、浏览器类应用程序等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
可选地,本公开实施例中,上述第一图标可以为终端设备的屏幕中显示的图标。具体地,第一图标可以为在终端设备的屏幕显示的第一界面中的图标,该第一界面可以为桌面界面或为目标应用程序的界面。
示例性的,在第一界面为目标应用程序的界面的情况下,目标应用程序可以为一个文件管理应用程序,该文件管理应用程序可以用于管理包括第一应用程序在内的多个应用程序。
可选地,上述第一输入可以为针对终端设备中的M个第二应用程序图标的输入。其中,M为大于或等于2的整数。
可选地,上述M个第二应用程序图标可以包括第一图标,也可以不包括第一图标。
可选地,上述M个应用程序图标可以为一个桌面界面中的图标,也可以为多个桌面界面中的图标,还可以为目标应用程序的界面中的图标。
可选地,本公开实施例中,上述第一输入可以为针对终端设备显示的第一图标的触控输入、语音输入、手势输入或按键输入等。例如,触控输入具体可以为对第一图标的点击输入,或对第一图标的拖动输入等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
例如,若第一输入为对第一图标的点击输入,则第一输入具体可以为用户对第一图标的单击输入、双击输入或长按输入等。若第一输入为对第一图标的拖动输入,则第一输入具体可以为沿图形“Z”拖动第一图标的输入,或对沿图形“S”拖动第一图标的输入等。
步骤102、终端设备响应于该第一输入,在该第一图标的预设区域内显示第一控件。
可选地,本公开实施例中,在第一图标的预设区域内显示第一控件,具体可以包括:第一图标以预设透明度叠加显示在第一控件的预设区域内。其中,该预设透明度具体可以为0%到100%之间的任意值。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
可选地,本公开实施例中,第一控件的形状可以为矩形、圆形、齿轮形或者其他任意可能的几何形状。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
可选地,本公开实施例中,上述第一图标的预设区域可以为下述任意一种:第一控件显示在第一图标的边框内、第一控件显示在第一图标的边缘位置、第一控件显示在距离第一图标预设距离的位置处。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
示例性的,若第一控件显示在第一图标的边缘位置,则第一控件可以显示在以下任意一个位置:第一图标的任意一个边框所在的位置,或第一图标的相邻两个边框的 交界位置。
示例性的,如图3中(a)的所示,终端设备的第一界面001上可以显示有“应用1”的图标002,如果用户想要对“应用1”对应的应用程序进行权限设置,那么用户可以长按“应用1”的图标002。如此,终端设备可以接收用户的长按输入(即第一输入),并且如图3中(b)的所示,在“应用1”的图标002的右上方(即预设区域)显示第一控件003。其中,该第一控件003的形状可以为齿轮形状。
步骤103、终端设备接收针对该第一控件的第二输入。
可选地,本公开实施例中,上述第二输入可以为针对第一控件的触控输入、语音输入、手势输入或按键输入等。例如,触控输入具体可以为对第一控件的点击输入,或对第一控件的拖动输入等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
步骤104、终端设备响应于该第二输入,显示至少一个第一选项。
本公开实施例中,上述至少一个第一选项中的每个第一选项可以用于为第一应用程序设置一个功能权限。
可选地,本公开实施例中,上述至少一个第一选项的显示方式可以为以下任一项:通过菜单进行显示至少一个第一选项、通过悬浮控件进行显示至少一个第一选项。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
例如,终端设备可以显示第一应用程序的设置界面。其中,该设置界面包括一个设置菜单,该设置菜单包括多个菜单项,每个菜单项可以为一个第一选项。
步骤105、终端设备接收针对该第一选项的第三输入,响应该第三输入,对第一应用程序的一个功能权限进行设置。
需要说明的是,本公开实施例中,上述步骤105中的第一选项为上述步骤104中的至少一个第一选项中的任意一个第一选项。
可选地,本公开实施例中,上述第三输入可以为对一个第一选项的触控输入。其中,触控输入具体可以为对一个第一选项的单击输入、双击输入、长按输入或拖动输入等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
可选地,本公开实施例中,上述对第一应用程序的一个功能权限进行设置具体可以为:开启与一个第一选项对应的功能权限;或者,关闭与一个第一选项对应的功能权限。
需要说明的是,本公开实施例中,开启第一选项所对应的功能权限,具体可以为:允许对该功能的授权;关闭第一选项所对应的功能权限,具体可以为:禁止对该功能的授权。
示例性的,如图4中的(a)所示,在终端设备的第一界面001中可以显示有“应用1”的图标002,并且在“应用1”的图标002的右上方(即预设区域)可以显示有第一控件003。如果用户想要对“应用1”对应的应用程序进行权限设置,那么用户可以单击该第一控件003。如图4中的(b)所示,终端设备可以接收该单击输入(即第二输入),并响应于该单击输入,显示“应用1的权限设置界面”004。用户可以根据自身需求对该应用程序进行权限设置,例如,如果该应用程序为天气类应用程序,那么用户可以在“应用1的权限设置界面”004中将“定位”选项设置为开启状态,而 将其他选项设置为关闭状态。如此,该应用程序可以实时获取终端设备的位置信息,并根据实时获取的位置信息,提供与该位置信息相对应的天气信息。
本公开实施例提供一种应用权限设置方法,可以接收针对第一图标的第一输入,响应于该第一输入,在该第一图标的预设区域内显示第一控件,该第一图标为第一应用程序的图标;并接收针对该第一控件的第二输入,响应于该第二输入,显示至少一个第一选项;以及接收针对该第一选项的第三输入,响应该第三输入,对该第一应用程序的一个功能权限进行设置。通过该方案,如果用户想要对一个应用程序进行权限设置,那么用户可以直接通过对该一个应用程序的图标的输入,触发终端设备在第一图标的预设区域内显示第一控件,并通过对该第一控件的输入,触发终端设备显示至少一个用于设置该应用程序功能权限的选项。如此,用户可以直接通过对待设置的应用程序的图标的输入,查找到待设置的应用程序的权限设置入口,并快速完成对该应用程序的权限设置。
可选地,结合图2,如图5所示,在步骤104之后,本公开实施例所提供的应用权限设置方法还包括步骤106和步骤107。
步骤106、终端设备接收用户的第六输入。
可选地,本公开实施例中,上述第六输入可以为对终端设备的物理按键的输入,也可以为对第一应用程序的设置界面的触控输入,还可以为用户的语音输入。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
示例性的,若第六输入为对终端设备的物理按键的输入,则第六输入具体以下任一项:对终端设备的“home”按键的输入、对终端设备的返回按键的输入、对终端设备的音量按键的输入等。
步骤107、终端设备响应于该第六输入,取消对第一应用程序的至少一个第一选项的显示。
可选地,本公开实施例中,假设至少一个第一选项显示在第一应用程序的权限设置界面中,则取消对第一应用程序的至少一个第一选项的显示具体可以包括:关闭该第一应用程序的设置选项界面,并显示终端设备的桌面界面。其中,该桌面界面中每个应用程序的图标均处于非编辑状态。
本公开实施例所提供的应用权限设置方法,在对第一应用程序的权限设置完成之后,通过接收用户的输入,可以触发终端设备取消对第一应用程序的设置选项的显示,从而避免设置选项对界面造成遮挡,进而方便用户进行其他操作。
可选地,结合图2,如图6所示,在步骤102中的“在第一图标的预设区域内显示第一控件”之前,本公开实施例所提供的应用权限设置方法还包括:步骤108和步骤109,并且步骤102中的“在第一图标的预设区域内显示第一控件”具体可以通过下述的步骤102a实现。
步骤108、终端设备响应于第一输入,在第一图标的预设区域内显示第二控件。
可选地,本公开实施例中,在第一图标的预设区域内显示第二控件,具体可以包括:第一图标以预设透明度叠加显示在第二控件的预设区域内。其中,该预设透明度具体可以为0%到100%之间的任意值。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
可选地,本公开实施例中,第二控件的形状可以为矩形、圆形、齿轮形或者其他 任意可能的几何形状。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
步骤109、终端设备接收针对该第二控件的第四输入。
可选地,本公开实施例中,上述第四输入可以为对第二控件的单击输入,也可以为对第二控件的双击输入,还可以为对第二控件的长按输入等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
步骤102a、终端设备响应于该第四输入,在针对第一图标的预设区域内显示该第一控件。
示例性的,如图7中的(a)所示,在终端设备的第一界面001中可以显示有“应用1”的图标002,并且在该图标002的右下方可以显示有第二控件005。如果用户想要对一个应用程序进行权限设置,那么用户可以双击该第二控件005,如图7中的(b)所示,终端设备可以响应于该双击输入,在“应用1”的图标002的右下方显示第一控件003。
本公开实施例所提供的应用权限设置方法,用户可以先触发终端设备显示第二控件,再通过对第二控件的输入触发终端设备显示第一控件。如此,用户可以通过多种方式,以触发终端设备显示第一控件,从而提高设置应用权限的多样性和灵活性。
可选地,结合图6,如图8所示,上述步骤102a具体可以通过下述步骤102a1实现。
步骤102a1、终端设备响应于第四输入,在第一图标的预设区域内显示N个控件,该N个控件包括第一控件。
其中,N为大于或等于2的整数。
可选地,本公开实施例中,上述第一控件具体可以为权限设置控件。
可选地,本公开实施例中,上述N个控件具体可以包括:权限设置控件(即第一控件)、创建分身控件、管理文件控件,推送设置控件、声音设置控件、消息提醒设置控件等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
可选地,本公开实施例中,上述N个控件的排列方式,可以为预先设定的,也可以为依据用户使用频率确定的,还可以为根据每个控件与应用程序的相关程度进行排序的。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
例如,终端设备在当前界面显示有第一应用程序的图标,用户可以通过对第一应用程序的图标的输入,触发终端设备在当前界面显示第一应用程序的图标。若N个控件中包括创建分身控件,则用户可以通过对该创建分身控件的输入,触发终端设备在当前界面创建第一应用程序的另一个图标。如此,用户可以通过对第一应用程序的任意一个图标的输入,触发终端设备运行该第一应用程序,例如,用户可以通过对第一应用程序的两个图标的输入,触发终端设备分别登陆两个不同的用户账号。
再例如,若N个控件中包括管理文件控件,则用户可以通过对该管理文件控件的输入,触发终端设备显示第一应用程序的文件管理界面,该文件管理界面具体可以包括以下至少一项:通过第一应用程序下载的文件的路径、通过第一应用程序下载的文件的缩略图、第一应用程序的安装路径、第一应用程序的安装文件的标识。
示例性的,仍以上述图7为例进行示例性说明,如图7中的(a)所示,在终端设备的第一界面001中可以显示“应用1”的图标002,并且在该图标002的右下方可以 显示有第二控件005。如果用户双击如图7中的(a)所示的该第二控件005,那么如图7中的(b)所示,终端设备可以响应于该双击输入(即第三输入),在“应用1”的图标002的右下方分别显示“权限设置”控件、“创建分身”控件、“管理文件”控件、“推送设置”控件和“声音设置”控件。其中,“权限设置”控件003为第一控件。若用户点击“权限设置”控件003,则终端设备可以显示如图4中的(b)所示的“应用1的权限设置界面”。
可选地,在上述步骤109之后,本公开实施例所提供的应用权限设置方法还包括下述步骤110和步骤111。
步骤110、终端设备响应于第四输入,在第一图标的预设区域内显示至少一个第二选项。
步骤111、终端设备接收针对该第二选项的第五输入,响应该第五输入,对第一应用程序的一个功能权限进行设置。
本公开实施例中,至少一个第二选项中的每个第二选项可以用于为第一应用程序设置一个功能权限。
可选地,本公开实施例中,第一种可能的实现方式为:至少一个第二选项中的每个第二选项与至少一个第一选项中的每个第一选项均不相同。
第二种可能的实现方式为:至少一个第二选项中的一个第二选项与至少一个第一选项中的一个第一选项相同。
可选地,针对每个第二选项与每个第一选项均不相同的情况,第一选项可以为由与第一应用程序相关的其他应用程序提供的选项,第二选项可以为由第一应用程序提供的选项。
示例性的,仍以上述图4为例进行示例性说明,至少一个第一选项可以包括存储选项、电话选项、定位选项、联系人选项、麦克风选项、身体传感器选项和相机选项,这些第一选项可以为由与第一应用程序相关的其他应用程序提供的选项。假设第二选项分别为声音设置选项和推送设置选项,这两个第二选项为由第一应用程序提供的选项。
可选地,针对上述一个第二选项与至少一个第一选项中的一个第一选项相同的情况,该一个第二选项可以为该至少一个第一选项中用户使用频率较高的选项,或者可以为用户从该至少一个第一选项中选择的选项。
示例性的,仍以上述图4为例进行示例性说明,至少一个第一选项可以包括存储选项、电话选项、定位选项、联系人选项、麦克风选项、身体传感器选项和相机选项,这些第一选项可以为由与第一应用程序相关的其他应用程序提供的选项。假设第二选项分别为定位选项、联系人选项和麦克风选项,则每个第二选项均与一个第一选项相同。
本公开实施例所提供的应用权限设置方法,在第一图标上显示第二控件的情况下,通过接收用户对第二控件的输入,可以触发终端设备在该第一图标的预设区域内显示至少一个第二选项。如此,用户可以通过不同选项的输入,实现对第一应用程序对应的不同功能的控制,从而可以提高用户的体验感。
可选地,上述第一输入可以为针对终端设备中的M个第二应用程序图标的输入。 上述步骤102具体可以通过下述的步骤102c实现。
步骤102c、终端设备响应于第一输入,控制M个第二应用程序图标对应的M个第二应用程序处于编辑状态,并分别在该M个第二应用程序图标中的每个第二应用程序的图标的预设区域内,显示一个第一控件。
可选地,本公开实施例中,上述M个第二应用程序图标可以包括第一图标,也可以不包括第一图标。
本公开实施例中,针对M个第二应用程序中的每个第二应用程序,每个第二应用程序的图标均可以对应一个预设区域。其中,每个第二应用程序的图标的预设区域可以为下述任意一种:第一控件显示在每个第二应用程序的图标的边框内、第一控件显示在每个第二应用程序的图标的边缘位置、第一控件显示在距离每个第二应用程序的图标预设距离的位置处。
需要说明的,本公开实施例中,上述M个第二应用程序的图标,可以显示在一个界面内,也可以显示在不同界面内。例如,终端设备共有8个应用程序的图标,其中,3个应用程序的图标可以位于第一桌面界面,5个应用程序的图标可以位于第二桌面界面。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
可选地,本公开实施例中,当上述M个第二应用程序处于编辑状态时,终端设备不但可以在该M个第二应用程序的图标上分别显示一个第一控件,还可以在该M个第二应用程序的图标上分别显示以下至少一项:删除标识、分身标识、消息提醒标识等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。
示例性的,如图9中的(a)所示,在第一界面001上可以显示有三个第二应用程序的图标,即“应用1”的图标002、“应用2”的图标和“应用3”的图标。用户可以长按“应用1”的图标002,终端设备可以响应于该长按输入,如图9中的(b)所示,在“应用1”的图标、“应用2”的图标和“应用3”的图标上分别显示三个控件,即一个第一控件、一个分身标识和一个删除标识。以“应用1”的图标002为例进行说明,在“应用1”的图标002的右下方可以显示有一个分身标识006,在“应用1”的图标002的左上方显示有一个删除标识007,在“应用1”的图标002的右上方显示有一个第一控件003。
本公开实施例所提供的应用权限设置方法,由于在接收到用户的第一输入之后,终端设备可以响应于该第一输入,控制M个应用程序处于编辑状态,并在该M个应用程序的图标上均显示第一控件,因此用户可以通过对不同的应用程序上显示的第一控件的输入,分别对不同的应用程序进行权限设置。
需要说明的是,本公开实施例中,上述各个附图所示的应用权限设置方法均是以结合本公开实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的应用权限设置方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。
如图10所示,本公开实施例提供一种终端设备1000。该终端设备可以包括接收模块1001和显示模块1002。其中,接收模块1001,可以用于接收针对第一图标的第一输入,该第一图标为第一应用程序的图标。显示模块1002,可以用于响应于接收模块1001接收的该第一输入,在该第一图标的预设区域内显示第一控件。接收模块1001,还可以用于接 收针对该第一控件的第二输入。显示模块1002,还可以用于响应于该第二输入,显示至少一个第一选项。接收模块1001,还可以用于接收针对该第一选项的第三输入。显示模块1002,还可以用于响应于该第三输入,对该第一应用程序的一个功能权限进行设置。
可选地,显示模块1002,还可以用于在响应于第一输入之后,在第一图标的预设区域内显示第一控件之前,在该第一图标的预设区域内显示第二控件。接收模块1001,还可以用于接收针对显示模块1002显示的第二控件的第四输入。显示模块1002,具体可以用于响应于接收模块1001接收的该第四输入,在该第一图标的预设区域内显示该第一控件。
可选地,显示模块1002,具体可以用于在第一图标的预设区域内显示N个控件,该N个控件包括该第一控件,N为大于或等于2的整数。
可选地,如图10所示,本公开实施例提供的终端设备还可以包括处理模块1003。显示模块1002,还可以用于响应于接收模块1001接收的第四输入,在第一图标的预设区域内显示至少一个第二选项。接收模块1001,还可以用于接收针对该第二选项的第五输入。处理模块1003,可以用于响应该第五输入,对第一应用程序的一个功能权限进行设置。其中,每个第二选项与每个第一选项均不相同。
可选地,第一输入为针对终端设备中的M个第二应用程序图标的输入,M为大于或等于2的整数。显示模块1002,具体可以用于响应于接收模块1001接收的第一输入,控制该M个第二应用程序图标对应的M个第二应用程序处于编辑状态,并分别在该M个第二应用程序图标中的每个第二应用程序图标的预设区域内,显示一个第一控件。
本公开实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。
本公开实施例提供一种终端设备,如果用户想要对一个应用程序进行权限设置,那么用户可以直接通过对该一个应用程序的图标的输入,触发终端设备在第一图标的预设区域内显示第一控件,并通过对该第一控件的输入,触发终端设备显示至少一个用于设置该应用程序功能权限的选项。如此,用户可以直接通过对待设置的应用程序的图标的输入,查找到待设置的应用程序的权限设置入口,并快速完成对该应用程序的权限设置。
图11为实现本公开各个实施例的一种终端设备的硬件结构示意图。如图11所示,该终端设备200包括但不限于:射频单元201、网络模块202、音频输出单元203、输入单元204、传感器205、显示单元206、用户输入单元207、接口单元208、存储器209、处理器210、以及电源211等部件。本领域技术人员可以理解,图11中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。
其中,用户输入单元207,可以用于接收针对第一图标的第一输入,该第一图标为第一应用程序的图标。显示单元206,可以用于响应于用户输入单元207接收的该第一输入,在该第一图标上的预设区域内显示第一控件。用户输入单元207,还可以用于接收针对该第一控件的第二输入。显示单元206,还可以用于响应于用户输入单元207接收的该第二 输入,显示至少一个第一选项。用户输入单元207,还可以用于接收针对该第一选项的第三输入。显示单元206,还可以用于响应于用户输入单元207接收的该第三输入,对该第一应用程序的一个功能权限进行设置。
本公开实施例提供一种终端设备,如果用户想要对一个应用程序进行权限设置,那么用户可以直接通过对该一个应用程序的图标的输入,触发终端设备在第一图标的预设区域内显示第一控件,并通过对该第一控件的输入,触发终端设备显示至少一个用于设置该应用程序功能权限的选项。如此,用户可以直接通过对待设置的应用程序的图标的输入,查找到待设置的应用程序的权限设置入口,并快速完成对该应用程序的权限设置。
应理解的是,本公开实施例中,射频单元201可用于收发信息或通话过程中,信号的接收和发送,具体地,将来自基站的下行数据接收后,给处理器210处理;另外,将上行的数据发送给基站。通常,射频单元201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元201还可以通过无线通信系统与网络和其他设备通信。
终端设备通过网络模块202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元203可以将射频单元201或网络模块202接收的或者在存储器209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元203还可以提供与终端设备200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元203包括扬声器、蜂鸣器以及受话器等。
输入单元204用于接收音频或视频信号。输入单元204可以包括图形处理器(graphics processing unit,GPU)2041和麦克风2042,图形处理器2041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元206上。经图形处理器2041处理后的图像帧可以存储在存储器209(或其它存储介质)中或者经由射频单元201或网络模块202进行发送。麦克风2042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元201发送到移动通信基站的格式输出。
终端设备200还包括至少一种传感器205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2061的亮度,接近传感器可在终端设备200移动到耳边时,关闭显示面板2061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元206用于显示由用户输入的信息或提供给用户的信息。显示单元206可包括显示面板2061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板2061。
用户输入单元207可用于接收输入的数字或字符信息,以及产生与终端设备的用户设 置以及功能控制有关的键信号输入。具体地,用户输入单元207包括触控面板2071以及其他输入设备2072。触控面板2071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2071上或在触控面板2071附近的操作)。触控面板2071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器210,接收处理器210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2071。除了触控面板2071,用户输入单元207还可以包括其他输入设备2072。具体地,其他输入设备2072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
可选地,触控面板2071可覆盖在显示面板2061上,当触控面板2071检测到在其上或附近的触摸操作后,传送给处理器210以确定触摸事件的类型,随后处理器210根据触摸事件的类型在显示面板2061上提供相应的视觉输出。虽然在图11中,触控面板2071与显示面板2061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板2071与显示面板2061集成而实现终端设备的输入和输出功能,具体此处不做限定。
接口单元208为外部装置与终端设备200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备200内的一个或多个元件或者可以用于在终端设备200和外部装置之间传输数据。
存储器209可用于存储软件程序以及各种数据。存储器209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器210是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器209内的软件程序和/或模块,以及调用存储在存储器209内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器210可包括一个或多个处理单元;可选地,处理器210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器210中。
终端设备200还可以包括给各个部件供电的电源211(比如电池),可选地,电源211可以通过电源管理系统与处理器210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端设备200包括一些未示出的功能模块,在此不再赘述。
可选地,本公开实施例还提供一种终端设备,包括如图11所示的处理器210,存储器209,存储在存储器209上并可在处理器210上运行的计算机程序,该计算机程序被处理 器210执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机可读存储介质,如只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例描述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (12)

  1. 一种应用权限设置方法,应用于终端设备,所述方法包括:
    接收针对第一图标的第一输入,所述第一图标为第一应用程序的图标;
    响应于所述第一输入,在所述第一图标的预设区域内显示第一控件;
    接收针对所述第一控件的第二输入;
    响应于所述第二输入,显示至少一个第一选项;
    接收针对所述第一选项的第三输入,响应所述第三输入,对所述第一应用程序的一个功能权限进行设置。
  2. 根据权利要求1所述的方法,其中,所述响应于所述第一输入之后,所述在所述第一图标的预设区域内显示第一控件之前,所述方法还包括:
    在所述第一图标的预设区域内显示第二控件;
    接收针对所述第二控件的第四输入;
    所述在所述第一图标的预设区域内显示第一控件,包括:
    响应于所述第四输入,在所述第一图标的预设区域内显示所述第一控件。
  3. 根据权利要求2所述的方法,其中,所述在所述第一图标的预设区域内显示所述第一控件,包括:
    在所述第一图标的预设区域内显示N个控件,所述N个控件包括所述第一控件,N为大于或等于2的整数。
  4. 根据权利要求2所述的方法,其中,所述接收针对所述第二控件的第四输入之后,所述方法还包括:
    响应于所述第四输入,在所述第一图标的预设区域内显示至少一个第二选项;
    接收针对所述第二选项的第五输入,响应所述第五输入,对所述第一应用程序的一个功能权限进行设置;
    其中,每个第二选项与每个第一选项均不相同。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述第一输入为针对所述终端设备中的M个第二应用程序图标的输入,M为大于或等于2的整数;
    所述响应于所述第一输入,在所述第一图标的预设区域内显示第一控件,包括:
    响应于所述第一输入,控制所述M个第二应用程序图标对应的M个第二应用程序处于编辑状态,并分别在所述M个第二应用程序图标中的每个第二应用程序图标的预设区域内,显示一个第一控件。
  6. 一种终端设备,所述终端设备包括:接收模块和显示模块;
    所述接收模块,用于接收针对第一图标的第一输入,所述第一图标为第一应用程序的图标;
    所述显示模块,用于响应于所述第一输入,在所述第一图标的预设区域内显示第一控件;
    所述接收模块,还用于接收针对所述第一控件的第二输入;
    所述显示模块,还用于响应于所述第二输入,显示至少一个第一选项;
    所述接收模块,还用于接收针对所述第一选项的第三输入;
    所述显示模块,还用于响应于所述第三输入,对所述第一应用程序的一个功能权 限进行设置。
  7. 根据权利要求6所述的终端设备,其中,
    所述显示模块,还用于在响应于所述第一输入之后,在所述第一图标的预设区域内显示第一控件之前,在所述第一图标的预设区域内显示第二控件;
    所述接收模块,还用于接收针对所述第二控件的第四输入;
    所述显示模块,具体用于响应于所述第四输入,在所述第一图标的预设区域内显示所述第一控件。
  8. 根据权利要求7所述的终端设备,其中,
    所述显示模块,具体用于在所述第一图标的预设区域内显示N个控件,所述N个控件包括所述第一控件,N为大于或等于2的整数。
  9. 根据权利要求7所述的终端设备,其中,所述终端设备还包括处理模块;
    所述显示模块,还用于响应于所述第四输入,在所述第一图标的预设区域内显示至少一个第二选项;
    所述接收模块,还用于接收针对所述第二选项的第五输入;
    所述处理模块,用于响应所述第五输入,对所述第一应用程序的一个功能权限进行设置;
    其中,每个第二选项与每个第一选项均不相同。
  10. 根据权利要求6至9中任一项所述的终端设备,其中,所述第一输入为针对所述终端设备中的M个第二应用程序图标的输入,M为大于或等于2的整数;
    所述显示模块,具体用于响应于所述第一输入,控制所述M个第二应用程序图标对应的M个第二应用程序处于编辑状态,并分别在所述M个第二应用程序图标中的每个第二应用程序图标的预设区域内,显示一个第一控件。
  11. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的应用权限设置方法的步骤。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的应用权限设置方法的步骤。
PCT/CN2020/099040 2019-07-08 2020-06-29 应用权限设置方法及终端设备 WO2021004327A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910610409.8 2019-07-08
CN201910610409.8A CN110502878A (zh) 2019-07-08 2019-07-08 一种应用权限设置方法及终端设备

Publications (1)

Publication Number Publication Date
WO2021004327A1 true WO2021004327A1 (zh) 2021-01-14

Family

ID=68586223

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099040 WO2021004327A1 (zh) 2019-07-08 2020-06-29 应用权限设置方法及终端设备

Country Status (2)

Country Link
CN (1) CN110502878A (zh)
WO (1) WO2021004327A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502878A (zh) * 2019-07-08 2019-11-26 维沃移动通信有限公司 一种应用权限设置方法及终端设备
CN111125680A (zh) * 2019-11-29 2020-05-08 维沃移动通信有限公司 一种权限设置方法及终端设备
CN111459352A (zh) * 2020-03-30 2020-07-28 维沃移动通信有限公司 应用程序图标显示方法及电子设备
CN111966258B (zh) * 2020-08-28 2022-06-10 维沃移动通信有限公司 权限设置方法、装置及电子设备
CN112817555B (zh) * 2021-02-01 2023-06-23 维沃移动通信(杭州)有限公司 音量控制方法及音量控制装置
US20230267231A1 (en) * 2022-02-23 2023-08-24 Red Hat, Inc. Implementing privilege capabilities for devices used for container native function operations

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108469965A (zh) * 2018-03-15 2018-08-31 维沃移动通信有限公司 一种应用程序的设置方法及移动终端
CN109407917A (zh) * 2018-09-21 2019-03-01 维沃移动通信有限公司 一种设置应用程序状态的方法和装置
CN109542282A (zh) * 2018-10-30 2019-03-29 维沃移动通信有限公司 一种界面显示方法及终端设备
CN109981878A (zh) * 2017-12-28 2019-07-05 华为终端有限公司 一种图标管理的方法及装置
CN110502878A (zh) * 2019-07-08 2019-11-26 维沃移动通信有限公司 一种应用权限设置方法及终端设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130142301A (ko) * 2012-06-19 2013-12-30 삼성전자주식회사 단말기의 메뉴환경 설정 장치 및 방법
US9591489B2 (en) * 2015-07-09 2017-03-07 International Business Machines Corporation Controlling application access to applications and resources via graphical representation and manipulation
CN106406657A (zh) * 2016-08-30 2017-02-15 北京小米移动软件有限公司 快捷操作方法、装置及终端
CN106529334A (zh) * 2016-10-24 2017-03-22 深圳市金立通信设备有限公司 一种隐藏图标的方法及终端
CN109067982A (zh) * 2018-07-16 2018-12-21 珠海格力电器股份有限公司 一种快速卸载移动应用程序的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981878A (zh) * 2017-12-28 2019-07-05 华为终端有限公司 一种图标管理的方法及装置
CN108469965A (zh) * 2018-03-15 2018-08-31 维沃移动通信有限公司 一种应用程序的设置方法及移动终端
CN109407917A (zh) * 2018-09-21 2019-03-01 维沃移动通信有限公司 一种设置应用程序状态的方法和装置
CN109542282A (zh) * 2018-10-30 2019-03-29 维沃移动通信有限公司 一种界面显示方法及终端设备
CN110502878A (zh) * 2019-07-08 2019-11-26 维沃移动通信有限公司 一种应用权限设置方法及终端设备

Also Published As

Publication number Publication date
CN110502878A (zh) 2019-11-26

Similar Documents

Publication Publication Date Title
WO2021218902A1 (zh) 显示控制方法、装置及电子设备
WO2021004327A1 (zh) 应用权限设置方法及终端设备
WO2020063091A1 (zh) 一种图片处理方法及终端设备
WO2020181942A1 (zh) 图标控制方法及终端设备
WO2021057337A1 (zh) 操作方法及电子设备
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2021012927A1 (zh) 图标显示方法及终端设备
WO2021104163A1 (zh) 图标整理方法及电子设备
WO2021129536A1 (zh) 图标移动方法及电子设备
WO2021083087A1 (zh) 截屏方法及终端设备
WO2020181955A1 (zh) 界面控制方法及终端设备
WO2020151525A1 (zh) 消息发送方法及终端设备
WO2020220873A1 (zh) 图像显示方法及终端设备
WO2020151460A1 (zh) 对象处理方法及终端设备
WO2020199783A1 (zh) 界面显示方法及终端设备
WO2020181945A1 (zh) 标识显示方法及终端设备
WO2021121265A1 (zh) 摄像头启动方法及电子设备
WO2021057290A1 (zh) 信息控制方法及电子设备
WO2020192282A1 (zh) 通知消息显示方法及终端设备
WO2020192297A1 (zh) 屏幕界面切换方法及终端设备
CN111273993B (zh) 图标整理方法及电子设备
WO2020173235A1 (zh) 任务切换方法及终端设备
WO2021057301A1 (zh) 文件控制方法及电子设备
WO2020215967A1 (zh) 内容选中方法及终端设备
WO2021057224A1 (zh) 消息提示方法及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20837413

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20837413

Country of ref document: EP

Kind code of ref document: A1