WO2020238448A1 - Permission management method and terminal - Google Patents

Permission management method and terminal Download PDF

Info

Publication number
WO2020238448A1
WO2020238448A1 PCT/CN2020/084791 CN2020084791W WO2020238448A1 WO 2020238448 A1 WO2020238448 A1 WO 2020238448A1 CN 2020084791 W CN2020084791 W CN 2020084791W WO 2020238448 A1 WO2020238448 A1 WO 2020238448A1
Authority
WO
WIPO (PCT)
Prior art keywords
target application
input
permission information
terminal
menu bar
Prior art date
Application number
PCT/CN2020/084791
Other languages
French (fr)
Chinese (zh)
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 WO2020238448A1 publication Critical patent/WO2020238448A1/en

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
    • G06F21/44Program or device authentication
    • 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/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/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Definitions

  • the present disclosure relates to the field of communication technology, and in particular, to a rights management method and terminal.
  • the terminal usually completes the permission setting of the application when the application is installed.
  • you want to view or change the permissions of an application later you need to go through a specific path, such as finding the application from the settings application on the terminal, in order to view the permission information corresponding to the application, resulting in the existing terminal
  • the management of application permissions is cumbersome.
  • the embodiments of the present disclosure provide a permission management method and terminal, so as to solve the problem of cumbersome management operations of application permissions by terminals in related technologies.
  • the embodiments of the present disclosure provide a rights management method, including:
  • a menu bar is displayed, the menu bar including the permission information that the target application has acquired.
  • the embodiments of the present disclosure also provide a terminal, including:
  • the receiving module is used to receive the first input when the target application running interface or the target application icon is displayed;
  • the display module is configured to display a menu bar in response to the first input, the menu bar including the permission information that the target application has acquired.
  • the embodiments of the present disclosure also provide a terminal, including a processor, a memory, and a program stored on the memory and capable of running on the processor.
  • the program is executed when the processor is executed. The steps of the rights management method as described in the first aspect.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a program is stored, and when the program is executed by a processor, the steps of the rights management method as described in the first aspect are implemented.
  • the terminal in the case of displaying the target application running interface or the target application icon, displays a menu bar in response to the first input received, and the menu bar includes the information obtained by the target application Permission information.
  • the terminal can open the permission information of the target application in one step, making the terminal's permission management operation of the application easier and more convenient, and it does not require the user to spend a long time and operation steps, simplifying the user to view the target application The operation flow of program permission information.
  • FIG. 1 is a flowchart of a permission management method provided by an embodiment of the present disclosure
  • Fig. 2 is a schematic diagram of a terminal display interface applying the permission management method provided in Fig. 1;
  • FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present disclosure.
  • Fig. 4 is a structural diagram of another terminal provided by an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a rights management method provided by an embodiment of the present disclosure. As shown in FIG. 1, the rights management method includes the following steps 101 and 102.
  • Step 101 Receive a first input when the target application running interface or the target application icon is displayed.
  • the target application is any application installed on the terminal.
  • the terminal displaying the running interface of the target application program may refer to the state where the target application program is currently running in the foreground; the terminal displaying the target application program icon may mean that the current display interface of the terminal is the desktop.
  • the operation form of the first input is not limited.
  • the first input may be a touch operation such as a single click, double tap, or slide that acts on the display screen, or may also be a voice operation , Or it can also be a pressing operation on a physical button on the terminal.
  • the first input may be an input operation acting on the target application running interface, such as triggering a designated virtual button on the target application running interface, or It can be a sliding operation acting on the terminal display interface, such as a sliding operation from top to bottom; etc.
  • Step 102 In response to the first input, display a menu bar, where the menu bar includes the permission information obtained by the target application.
  • the menu bar may refer to a display interface including multiple function adjustment buttons, such as volume adjustment buttons, brightness adjustment buttons, WIFI connection buttons, wireless connection buttons, screen capture buttons, etc.
  • the menu bar provided by the embodiment of the present disclosure displays the permission information that the target application has acquired.
  • the permission information may refer to the function information of the target application to access, read or call other applications, files, or controls on the terminal; for example, the permission corresponding to the permission information may include obtaining real-time positioning of the terminal, Call the camera, call the microphone, read contact information and other functions.
  • the terminal when the terminal displays the target application running interface or the target application icon, if the first input is received, the menu bar may be displayed, and the target application is displayed on the menu bar.
  • the permission information obtained by the target application displayed on the menu bar includes the permission name and the corresponding switch button.
  • the permission name includes: storage, microphone, location, camera, contacts, etc., each permission
  • the corresponding switch button is displayed after the name, and the user can determine the corresponding authority function by touching the switch button. In this way, the user can quickly and intuitively know which permission information has been obtained by the currently running target application through the menu bar, and it is also more convenient for the user to manage the permission of the target application.
  • the authority information displayed on the menu bar corresponds to the application currently running in the foreground, that is, if the terminal is currently running in the foreground is different, the authority information displayed on the menu bar is It may be different.
  • the first input is the startup input for the target application.
  • the first input may be a click The target application icon; in response to the first input, the terminal starts the target application and displays a menu bar.
  • the first input can trigger the terminal to start the target application, that is, the first input is an operation to start or open the target application.
  • the terminal starts the target application and displays the menu bar.
  • the menu bar is displayed immediately, and the user can know the permission information that the target application has acquired when starting the target application, and can know which permissions of the target application are open Status, which permissions are in the closed state, so as to facilitate the user to change unnecessary permissions to the closed state before performing operations on the target application, which improves the running speed of the terminal and also protects the data security of the terminal. In this way, it is more convenient for users to manage target applications.
  • the terminal receives the first input while displaying the target application running interface, and the terminal displays the menu bar in response to the first input.
  • the terminal displays the menu bar by receiving the first input when the target application is running in the foreground.
  • the user can trigger the terminal to display the menu bar while the target application is running, and then quickly learn which permissions the target application has acquired, and can intuitively know which permissions are in the open state and which permissions It is closed, which is convenient for users to change the permissions of the target application.
  • the authority information includes the first type of authority information and the second type of authority information.
  • the first type of authority information refers to the information that must be in an open state when the target application is running.
  • Permission information refers to the permission information other than the first type of permission information in the permission information, that is, the permission information that can be in a closed state when the target application is running.
  • the first type of permission information of the target application includes at least location permission information, that is, when the target application is running, the location permission must be open
  • the current location of the terminal can be obtained only by the status
  • the second type of permission information of the target application may include the permission information of the camera, that is, when the target application is running, the camera permission may be in a closed state.
  • the terminal highlights the first type of authority information in the menu bar when displaying the menu bar.
  • the first type of authority information may be highlighted.
  • the first type of permission information and the second type of permission information are displayed differently, so that the user can more intuitively know which of the permission information that the currently running target application has acquired, which permissions must be open Yes, and which permissions can be turned off, which is convenient for users to operate and manage the second type of permission information, and can also prevent users from changing the first type of permission information, avoiding misoperations and affecting the normal operation of the target application .
  • the terminal encrypts the second type of authority information, and when displaying the menu bar, displays the encrypted second type of authority information.
  • the target application is a video playback application
  • the second type of permission information corresponding to the target application includes the permission information of the address book, and the address book belongs to the user’s privacy data
  • the terminal encrypts the permission information of the address book.
  • the encrypted address book authority information is displayed in the menu bar, so that the address book authority information is in an unavailable state, or it can be obtained by the target application only after receiving a correct decryption operation.
  • the switch button corresponding to the permission information of the address book may be controlled to be in the off state and inoperable, so that the permission information of the address book is in an unavailable state; or, even if the permission information of the address book is in the on state, the terminal will The content corresponding to the address book permission information is replaced with special symbols, so that the target application cannot read the content corresponding to the address book permission information; or, the terminal encrypts the address book permission information, and when the terminal receives the communication
  • the address book authority information is changed to the open state
  • the password input box is displayed. After receiving the correct decryption operation, the address book authority information is changed to the open state.
  • the terminal can encrypt this type of permission information, so that the target application cannot obtain this type of permission information or needs to receive the correct decryption operation It can be obtained to better protect the data security on the terminal.
  • the terminal when the menu bar is displayed, the terminal can change the first permission of the target application by receiving a second input from the user on the menu bar.
  • the first permission is at least one of the permission information obtained by the target application. That is to say, when the target application is running and the menu bar is displayed, the terminal can change the first permission of the target application by receiving the second input on the menu bar.
  • the authority information displayed on the menu bar includes the authority name and a switch button corresponding to each authority name.
  • the second input may refer to a touch operation acting on the switch button, such as opening all
  • the switch button or the switch button is turned off, so that the authority information corresponding to the switch button is in the on state or in the off state. For example, if the switch button of the first permission is turned on, the first permission is also in the on state, and the target application can directly obtain the first permission when it is started.
  • the terminal can complete the modification of the permission information of the target application by receiving the second input on the menu bar, so that the permission management of the application The operation is simpler and faster, so that users have a better terminal experience.
  • the permission information may also include the permission of the push information associated with the target application, such as whether to receive or unsubscribe the push information
  • the menu bar may display a switch button corresponding to the push information permission, for example, The user can turn off the switch button corresponding to the push information authority through the second input, and the terminal may automatically send an unsubscribe short message to the background server corresponding to the target application to unsubscribe the push information of the target application. No more push messages associated with the target application will be received. In this way, the terminal's unsubscribe operation for the push information is simpler and faster, and the terminal frequently receives push information to avoid the user's boredom, and further improves the terminal's use experience.
  • the method may further include:
  • the target application in response to the second input, the target application is closed, and the permission information that is in the open state among the permission information that the target application has acquired Change to closed state.
  • the terminal when the terminal exits the current target application, that is, the display interface of the terminal does not display the target application running interface.
  • the terminal when the target application is running in the background, the terminal can simultaneously obtain the target application.
  • the permission information that is in the open state in the permission information is changed to the closed state.
  • the permission information obtained by the target application may be all in the closed state, which can reduce the memory occupied by the target application and improve the running speed of the terminal.
  • said changing the permission information that is in the open state among the permission information that the target application has acquired to the closed state includes:
  • the usage frequency of the target application is greater than the first preset frequency, changing the permission information in the open state in the second type of permission information that the target application has acquired to the closed state; In the case that the use frequency of the target application is less than the second preset frequency, all the permission information in the open state that has been obtained by the target application is changed to the closed state; the first preset frequency is greater than the second preset frequency Set frequency.
  • the use frequency of the target application is greater than the first preset frequency, for example, the use frequency of the target application is greater than three times a day, it indicates that the target application is an application frequently used by the user.
  • the second type of permission information is not permission information that must be in the open state when the target application is running. Then when the terminal receives the second input to close the target application, the terminal closes the target application, and The permission information in the open state in the second type of permission information corresponding to the target application is changed to the closed state. In this way, the memory occupied by the target application program running in the background can be reduced, the running speed of the terminal can be improved, and the risk of terminal input leakage or tampering can be reduced.
  • the use frequency of the target application is less than the second preset frequency, for example, the use frequency of the target application is less than three times a month, it indicates that the frequency of the user using the target application is very small .
  • the terminal receives the second input to close the target application, the terminal closes the target application, and removes all the open target applications that have been acquired by the target application.
  • the permission information is changed to the closed state. In this way, it is possible to prevent the permission information of the infrequently used applications from being left open, thereby freeing up the terminal memory and improving the running speed of the terminal.
  • a prompt message is output.
  • the prompt information is used to prompt to change the permission information in the open state to the closed state in the permission information that the target application has acquired, and the prompt information may be a short message prompt.
  • the terminal can output a prompt message to prompt the user to change the permission information that is in the open state among the permission information obtained by the target application to the closed state.
  • this operation can also prevent user data from leaking and improve the security of user data on the terminal. Sex.
  • FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present disclosure. As shown in FIG. 3, the terminal 300 includes:
  • the receiving module 301 is configured to receive the first input when the target application running interface or the target application icon is displayed;
  • the display module 302 is configured to display a menu bar in response to the first input, the menu bar including the permission information obtained by the target application.
  • the display module 302 is further configured to:
  • the target application In response to the first input, the target application is started, and the menu bar is displayed.
  • the authority information includes the first type of authority information and the second type of authority information; the display module 302 is further configured to:
  • the terminal 300 further includes:
  • the closing module is configured to respond to the second input in the case of receiving a second input to close the target application, close the target application, and set the permission information obtained by the target application to The permission information in the open state is changed to the closed state.
  • the closing module is also used for:
  • the first preset frequency is greater than the second preset frequency.
  • the terminal 300 further includes:
  • the output module is configured to output prompt information when the use frequency of the target application is less than the third preset frequency, the prompt information is used to prompt to change the permission information obtained by the target application to a closed state .
  • the terminal 300 can implement each process of the above-mentioned rights management method embodiment, and can achieve the same technical effect. To avoid repetition, details are not described here.
  • the terminal 300 when the terminal 300 displays the target application running interface or the target application icon, it displays a menu bar in response to the first input received, and the menu bar includes the target application acquired Permission information.
  • the terminal 300 can open the permission information of the target application in one operation, making the terminal 300 easier and more convenient for the permission management operation of the application, and does not require the user to spend a long time and operating steps, which simplifies the user's viewing Operation process of target application permission information.
  • FIG. 4 is a structural diagram of another terminal that implements an embodiment of the present disclosure.
  • the terminal 400 can implement each process of the above-mentioned rights management method embodiment, and can achieve the same technical effect.
  • the terminal 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, processing 410, and power supply 411.
  • the terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than those shown in the figure, or combine certain components, or arrange different components.
  • terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 410 is used for:
  • a menu bar is displayed, the menu bar including the permission information that the target application has acquired.
  • the processor 410 is further configured to:
  • the target application In response to the first input, the target application is started, and the menu bar is displayed.
  • the authority information includes the first type of authority information and the second type of authority information; the processor 410 is further configured to:
  • the processor 410 is also used for:
  • the target application in response to the second input, the target application is closed, and the permission information that is in the open state among the permission information that the target application has acquired Change to closed state.
  • the processor 410 is also used for:
  • the first preset frequency is greater than the second preset frequency.
  • the processor 410 is also used for:
  • the terminal 400 when the terminal 400 displays the target application running interface or the target application icon, it displays a menu bar in response to the first input received, and the menu bar includes the target application acquired Permission information.
  • the terminal 400 can open the permission information of the target application with only one operation, making the terminal 400 easier and more convenient for the permission management operation of the application, without requiring the user to spend a long time and operating steps, and simplifying the user to view Operation process of target application permission information.
  • the radio frequency unit 401 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 410; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 401 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 401 can also communicate with the network and other devices through a wireless communication system.
  • the terminal 400 provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 403 can convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into audio signals and output them as sounds. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal 400 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 404 is used to receive audio or video signals.
  • the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042.
  • the graphics processor 4041 is configured to monitor the still image or video image obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 406.
  • the image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other computer-readable storage medium) or sent via the radio frequency unit 401 or the network module 402.
  • the microphone 4042 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 a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
  • the terminal 400 also includes at least one sensor 405, 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 4041 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 4041 and/or when the terminal 400 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 stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 405 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 406 is used to display information input by the user or information provided to the user.
  • the display unit 406 may include a display panel 4041, and the display panel 4041 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal 400.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 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 4071 or near the touch panel 4071. operating).
  • the touch panel 4071 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 410, the command sent by the processor 410 is received and executed.
  • the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 407 may also include other input devices 4072.
  • other input devices 4072 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 4071 can be overlaid on the display panel 4041.
  • the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 4041.
  • the touch panel 4071 and the display panel 4041 are used as two independent components to implement the input and output functions of the terminal 400, in some embodiments, the touch panel 4071 and the display panel 4041 can be integrated
  • the implementation of the input and output functions of the terminal 400 is not specifically limited here.
  • the interface unit 408 is an interface for connecting an external device with the terminal 400.
  • 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 408 may 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 400 or may be used to communicate between the terminal 400 and the external device. Transfer data between.
  • the memory 409 can be used to store software programs and various data.
  • the memory 409 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 409 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 410 is the control center of the terminal 400, which uses various interfaces and lines to connect the various parts of the entire terminal 400, runs or executes software programs and/or modules stored in the memory 409, and calls data stored in the memory 409 , Perform various functions of the terminal 400 and process data, thereby monitoring the terminal 400 as a whole.
  • the processor 410 may include one or more processing units; optionally, the processor 410 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 410.
  • the terminal 400 may also include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the terminal 400 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal, including a processor, a memory, and a program stored on the memory and running on the processor, and when the program is executed by the processor, the above embodiment of the permission management method is implemented
  • a terminal including a processor, a memory, and a program stored on the memory and running on the processor, and when the program is executed by the processor, the above embodiment of the permission management method is implemented
  • Each process can achieve the same technical effect. To avoid repetition, I won’t repeat them here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a program is stored.
  • a program is stored.
  • the program is executed by a processor, each process of the above-mentioned rights management method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • 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 (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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

A permission management method and a terminal (300, 400). Said permission management method comprises: in cases where a target application program running interface or a target application program icon is displayed, receiving a first input (101); and displaying a menu bar in response to the first input, the menu bar comprising permission information which has been acquired by the target application program (102).

Description

权限管理方法及终端Authority management method and terminal
相关申请的交叉引用Cross references to related applications
本申请主张在2019年5月28日在中国提交的中国专利申请No.201910452059.7的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201910452059.7 filed in China on May 28, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种权限管理方法及终端。The present disclosure relates to the field of communication technology, and in particular, to a rights management method and terminal.
背景技术Background technique
随着科技的迅速发展,适用于终端上的应用程序也越来越多。目前,终端通常是在应用程序安装时完成应用程序的权限设置。当后期想要查看或者更改应用程序的权限时,则需要通过特定的路径,如从终端上的设置应用程序中找到该应用程序,才能查看到该应用程序对应的权限信息,导致现有的终端对于应用权限的管理操作较为繁琐。With the rapid development of technology, there are more and more applications suitable for terminals. Currently, the terminal usually completes the permission setting of the application when the application is installed. When you want to view or change the permissions of an application later, you need to go through a specific path, such as finding the application from the settings application on the terminal, in order to view the permission information corresponding to the application, resulting in the existing terminal The management of application permissions is cumbersome.
发明内容Summary of the invention
本公开实施例提供一种权限管理方法及终端,以解决相关技术中的终端对于应用权限的管理操作较为繁琐的问题。The embodiments of the present disclosure provide a permission management method and terminal, so as to solve the problem of cumbersome management operations of application permissions by terminals in related technologies.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种权限管理方法,包括:In the first aspect, the embodiments of the present disclosure provide a rights management method, including:
在显示目标应用程序运行界面或者目标应用程序图标的情况下,接收第一输入;In the case of displaying the target application running interface or the target application icon, receiving the first input;
响应于所述第一输入,显示菜单栏,所述菜单栏包括所述目标应用程序已获取的权限信息。In response to the first input, a menu bar is displayed, the menu bar including the permission information that the target application has acquired.
第二方面,本公开实施例还提供了一种终端,包括:In the second aspect, the embodiments of the present disclosure also provide a terminal, including:
接收模块,用于在显示目标应用程序运行界面或者目标应用程序图标的情况下,接收第一输入;The receiving module is used to receive the first input when the target application running interface or the target application icon is displayed;
显示模块,用于响应于所述第一输入,显示菜单栏,所述菜单栏包括所 述目标应用程序已获取的权限信息。The display module is configured to display a menu bar in response to the first input, the menu bar including the permission information that the target application has acquired.
第三方面,本公开实施例还提供了一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如第一方面中所述的权限管理方法的步骤。In a third aspect, the embodiments of the present disclosure also provide a terminal, including a processor, a memory, and a program stored on the memory and capable of running on the processor. The program is executed when the processor is executed. The steps of the rights management method as described in the first aspect.
第四方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有程序,所述程序被处理器执行时实现如第一方面中所述的权限管理方法的步骤。In a fourth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium on which a program is stored, and when the program is executed by a processor, the steps of the rights management method as described in the first aspect are implemented.
本公开实施例中,终端在显示目标应用程序运行界面或者目标应用程序图标的情况下,通过响应于接收到的第一输入,显示菜单栏,且该菜单栏包括所述目标应用程序已获取的权限信息。这样,终端只需通过一步操作就能打开目标应用程序的权限信息,使得终端对于应用程序的权限管理操作更为简单便捷,也无需用户耗费较长的时间和操作步骤,简化了用户查看目标应用程序权限信息的操作流程。In the embodiment of the present disclosure, in the case of displaying the target application running interface or the target application icon, the terminal displays a menu bar in response to the first input received, and the menu bar includes the information obtained by the target application Permission information. In this way, the terminal can open the permission information of the target application in one step, making the terminal's permission management operation of the application easier and more convenient, and it does not require the user to spend a long time and operation steps, simplifying the user to view the target application The operation flow of program permission information.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1是本公开实施例提供的一种权限管理方法的流程图;FIG. 1 is a flowchart of a permission management method provided by an embodiment of the present disclosure;
图2是应用图1提供的权限管理方法的终端显示界面的示意图;Fig. 2 is a schematic diagram of a terminal display interface applying the permission management method provided in Fig. 1;
图3是本公开实施例提供的一种终端的结构图;FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present disclosure;
图4是本公开实施例提供的另一种终端的结构图。Fig. 4 is a structural diagram of another terminal provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
请参见图1,图1是本公开实施例提供的一种权限管理方法的流程图,如图1所示,所述权限管理方法包括以下步骤101和102。Please refer to FIG. 1. FIG. 1 is a flowchart of a rights management method provided by an embodiment of the present disclosure. As shown in FIG. 1, the rights management method includes the following steps 101 and 102.
步骤101、在显示目标应用程序运行界面或者目标应用程序图标的情况下,接收第一输入。Step 101: Receive a first input when the target application running interface or the target application icon is displayed.
需要说明地,所述目标应用程序为安装于终端上的任意一个应用程序。终端显示目标应用程序的运行界面,可以是指所述目标应用程序当前处于前台运行的状态;终端显示目标应用程序图标,可以是指终端当前的显示界面为桌面。It should be noted that the target application is any application installed on the terminal. The terminal displaying the running interface of the target application program may refer to the state where the target application program is currently running in the foreground; the terminal displaying the target application program icon may mean that the current display interface of the terminal is the desktop.
本公开实施例中,对所述第一输入的操作形式不做限定,例如所述第一输入可以是作用在显示屏上的单击、双击、滑动等触控操作,或者也可以是语音操作,或者还可以是对终端上物理按键的按压操作等。例如,在终端显示目标应用程序运行界面的情况下,所述第一输入可以是作用于所述目标应用程序运行界面上的输入操作,如触发目标应用程序运行界面上的指定虚拟按键,或者也可以是作用于终端显示界面上的滑动操作,如从上往下的滑动操作;等。In the embodiments of the present disclosure, the operation form of the first input is not limited. For example, the first input may be a touch operation such as a single click, double tap, or slide that acts on the display screen, or may also be a voice operation , Or it can also be a pressing operation on a physical button on the terminal. For example, when the terminal displays the target application running interface, the first input may be an input operation acting on the target application running interface, such as triggering a designated virtual button on the target application running interface, or It can be a sliding operation acting on the terminal display interface, such as a sliding operation from top to bottom; etc.
步骤102、响应于所述第一输入,显示菜单栏,所述菜单栏包括所述目标应用程序已获取的权限信息。Step 102: In response to the first input, display a menu bar, where the menu bar includes the permission information obtained by the target application.
可选地,所述菜单栏可以是指包括多个功能调节按钮的显示界面,例如包括音量调节按钮、亮度调节按钮、WIFI连接按钮、无线连接按钮、截屏按钮等。本公开实施例所提供的菜单栏上显示有所述目标应用程序已获取的权限信息。所述权限信息可以是指所述目标应用程序访问、读取或调用终端上其他应用程序、文件或控件等的功能信息;例如,所述权限信息对应的权限可以是包括获取终端的实时定位、调用摄像头、调用麦克风、读取联系人信息等功能。Optionally, the menu bar may refer to a display interface including multiple function adjustment buttons, such as volume adjustment buttons, brightness adjustment buttons, WIFI connection buttons, wireless connection buttons, screen capture buttons, etc. The menu bar provided by the embodiment of the present disclosure displays the permission information that the target application has acquired. The permission information may refer to the function information of the target application to access, read or call other applications, files, or controls on the terminal; for example, the permission corresponding to the permission information may include obtaining real-time positioning of the terminal, Call the camera, call the microphone, read contact information and other functions.
本公开实施例中,终端在显示目标应用程序运行界面或目标应用程序图标的情况下,若接收到第一输入时,可以显示菜单栏,而所述菜单栏上显示有所述目标应用程序已获取的权限信息。如图2所示,所述菜单栏上显示的目标应用程序已获取的权限信息包括权限名称及对应的开关按钮,如权限名称包括:存储、麦克风、定位、相机、联系人等,每一个权限名称后显示有对 应的开关按钮,用户能够通过触控开关按钮以决定对应的权限功能。这样,也就使得用户通过菜单栏即能快速、直观地获知当前运行的目标应用程序已获取的有哪些权限信息,也更加方便用户对目标应用程序权限的管理操作。In the embodiment of the present disclosure, when the terminal displays the target application running interface or the target application icon, if the first input is received, the menu bar may be displayed, and the target application is displayed on the menu bar. The permission information obtained. As shown in Figure 2, the permission information obtained by the target application displayed on the menu bar includes the permission name and the corresponding switch button. For example, the permission name includes: storage, microphone, location, camera, contacts, etc., each permission The corresponding switch button is displayed after the name, and the user can determine the corresponding authority function by touching the switch button. In this way, the user can quickly and intuitively know which permission information has been obtained by the currently running target application through the menu bar, and it is also more convenient for the user to manage the permission of the target application.
可以理解地,菜单栏上显示的权限信息是与终端当前处于前台运行的应用程序相对应的,也就是说,若终端当前处于前台运行的应用程序不同,则菜单栏上显示的权限信息则有可能不同。Understandably, the authority information displayed on the menu bar corresponds to the application currently running in the foreground, that is, if the terminal is currently running in the foreground is different, the authority information displayed on the menu bar is It may be different.
需要说明的是,终端在显示目标应用程序图标的情况下,所述第一输入为针对所述目标应用程序的启动输入,例如终端在显示桌面的情况下,所述第一输入可以是单击所述目标应用程序图标;终端响应于该第一输入,启动所述目标应用程序,并显示菜单栏。It should be noted that when the terminal displays the target application icon, the first input is the startup input for the target application. For example, when the terminal displays the desktop, the first input may be a click The target application icon; in response to the first input, the terminal starts the target application and displays a menu bar.
本实施方式中,所述第一输入能够触发终端启动所述目标应用程序,也就是说,所述第一输入是启动或打开目标应用程序的操作。在接收到启动所述目标应用程序的第一输入时,则终端启动所述目标应用程序,并显示所述菜单栏。这样,也就使得目标应用程序一启动,则立即显示所述菜单栏,用户能够在启动目标应用程序时就获知目标应用程序已获取的权限信息,并能够知道目标应用程序的哪些权限是处于开启状态,哪些权限是处于关闭状态,进而以方便用户在对目标应用程序执行操作前,将不必要的权限更改为关闭状态,提高终端的运行速度,也保护了终端的数据安全。这样,也就更加方便用户对目标应用程序的管理。In this embodiment, the first input can trigger the terminal to start the target application, that is, the first input is an operation to start or open the target application. When receiving the first input to start the target application, the terminal starts the target application and displays the menu bar. In this way, as soon as the target application is started, the menu bar is displayed immediately, and the user can know the permission information that the target application has acquired when starting the target application, and can know which permissions of the target application are open Status, which permissions are in the closed state, so as to facilitate the user to change unnecessary permissions to the closed state before performing operations on the target application, which improves the running speed of the terminal and also protects the data security of the terminal. In this way, it is more convenient for users to manage target applications.
可选地,在另一种实施方式中,终端在显示目标应用程序运行界面的情况下,接收第一输入,终端响应于所述第一输入,显示菜单栏。Optionally, in another implementation manner, the terminal receives the first input while displaying the target application running interface, and the terminal displays the menu bar in response to the first input.
本实施方式中,终端是在目标应用程序处于前台运行的情况下,通过接收第一输入,来显示菜单栏。这样,也就使得用户能够在目标应用程序运行的过程中,触发终端显示菜单栏,进而快速地获知目标应用程序已获取的权限有哪些,并且能够直观地获知哪些权限是处于开启状态,哪些权限是处于关闭状态,方便用户对目标应用程序的权限进行更改。In this embodiment, the terminal displays the menu bar by receiving the first input when the target application is running in the foreground. In this way, the user can trigger the terminal to display the menu bar while the target application is running, and then quickly learn which permissions the target application has acquired, and can intuitively know which permissions are in the open state and which permissions It is closed, which is convenient for users to change the permissions of the target application.
另外,本公开实施例中,所述权限信息包括第一类权限信息和第二类权限信息,可选地,所述第一类权限信息是指所述目标应用程序运行时必须处于打开状态的权限信息,第二类权限信息是指所述权限信息中除所述第一类 权限信息以外的权限信息,也就是所述目标应用程序运行时可以处于关闭状态的权限信息。In addition, in the embodiment of the present disclosure, the authority information includes the first type of authority information and the second type of authority information. Optionally, the first type of authority information refers to the information that must be in an open state when the target application is running. Permission information, the second type of permission information refers to the permission information other than the first type of permission information in the permission information, that is, the permission information that can be in a closed state when the target application is running.
例如,所述目标应用程序为共享交通类应用程序,则所述目标应用程序的第一类权限信息至少包括定位权限信息,也就是说,该目标应用程序在运行时,定位权限必须是处于打开状态,才能获取终端的当前定位;该目标应用程序的第二类权限信息可以是包括如摄像头的权限信息,也就是说,该目标应用程序运行时,摄像头权限可以是处于关闭状态。For example, if the target application is a shared traffic application, the first type of permission information of the target application includes at least location permission information, that is, when the target application is running, the location permission must be open The current location of the terminal can be obtained only by the status; the second type of permission information of the target application may include the permission information of the camera, that is, when the target application is running, the camera permission may be in a closed state.
可选地,在这种情况下,终端在显示所述菜单栏时,将所述菜单栏中的所述第一类权限信息突出显示。例如,可以是将所述第一类权限信息高亮显示。这样,也就将第一类权限信息与第二类权限信息在显示上进行了区别,使得用户能够更加直观地获知当前运行的目标应用程序已获取的权限信息中,哪些权限是必须处于打开状态的,而哪些权限是可以处于关闭状态的,方便用户对第二类权限信息进行操作管理,也能够避免用户对第一类权限信息进行更改,避免出现误操作,而影响目标应用程序的正常运行。Optionally, in this case, the terminal highlights the first type of authority information in the menu bar when displaying the menu bar. For example, the first type of authority information may be highlighted. In this way, the first type of permission information and the second type of permission information are displayed differently, so that the user can more intuitively know which of the permission information that the currently running target application has acquired, which permissions must be open Yes, and which permissions can be turned off, which is convenient for users to operate and manage the second type of permission information, and can also prevent users from changing the first type of permission information, avoiding misoperations and affecting the normal operation of the target application .
另外,在第二类权限信息包括隐私数据的情况下,终端对所述第二类权限信息进行加密处理,并在显示所述菜单栏时,显示加密后的所述第二类权限信息。例如,所述目标应用程序为视频播放类应用程序,该目标应用程序对应的第二类权限信息包括通讯录权限信息,而通讯录属于用户的隐私数据,则终端对通讯录权限信息进行加密,并在所述菜单栏显示加密后的通讯录权限信息,使得该通讯录权限信息处于不可获取状态,或者是需要接收到正确的解密操作后才能被目标应用程序获取。In addition, when the second type of authority information includes privacy data, the terminal encrypts the second type of authority information, and when displaying the menu bar, displays the encrypted second type of authority information. For example, the target application is a video playback application, and the second type of permission information corresponding to the target application includes the permission information of the address book, and the address book belongs to the user’s privacy data, and the terminal encrypts the permission information of the address book. And the encrypted address book authority information is displayed in the menu bar, so that the address book authority information is in an unavailable state, or it can be obtained by the target application only after receiving a correct decryption operation.
例如,可以是控制所述通讯录权限信息对应的开关按钮处于关闭状态,且不可操作,以使得通讯录权限信息处于不可获取状态;或者,所述通讯录权限即使处于打开状态,终端将所述通讯录权限信息对应的内容以特殊符号代替显示,使得目标应用程序不能读取通讯录权限信息对应的内容;或者,终端对所述通讯录权限信息进行加密处理,当终端接收到将所述通讯录权限信息更改为打开状态时,显示密码输入框,在接收到正确的解密操作后,通讯录权限信息更改为打开状态。For example, the switch button corresponding to the permission information of the address book may be controlled to be in the off state and inoperable, so that the permission information of the address book is in an unavailable state; or, even if the permission information of the address book is in the on state, the terminal will The content corresponding to the address book permission information is replaced with special symbols, so that the target application cannot read the content corresponding to the address book permission information; or, the terminal encrypts the address book permission information, and when the terminal receives the communication When the address book authority information is changed to the open state, the password input box is displayed. After receiving the correct decryption operation, the address book authority information is changed to the open state.
这样,对于涉及隐私数据且不是目标应用程序运行必须获取的权限信息, 终端能够对该类型的权限信息进行加密处理,以使得目标应用程序不能获取该类权限信息,或者需要接收到正确的解密操作才能获取,以更好地保护了终端上的数据安全。In this way, for permission information that involves private data and is not necessary for the operation of the target application, the terminal can encrypt this type of permission information, so that the target application cannot obtain this type of permission information or needs to receive the correct decryption operation It can be obtained to better protect the data security on the terminal.
本公开实施例中,在显示菜单栏的情况下,终端能够通过接收用户针对所述菜单栏的第二输入,来更改所述目标应用程序的第一权限。In the embodiment of the present disclosure, when the menu bar is displayed, the terminal can change the first permission of the target application by receiving a second input from the user on the menu bar.
其中,所述第一权限为所述目标应用程序已获取的权限信息中的至少一个。也就是说,终端在目标应用程序运行且显示有菜单栏的情况下,通过接收作用于菜单栏上的第二输入,进而以更改目标应用程序的第一权限。Wherein, the first permission is at least one of the permission information obtained by the target application. That is to say, when the target application is running and the menu bar is displayed, the terminal can change the first permission of the target application by receiving the second input on the menu bar.
如图2所示,菜单栏上显示的权限信息包括权限名称及对应于每一个权限名称后的开关按钮,所述第二输入可以是指作用于该开关按钮上的触控操作,例如打开所述开关按钮或是关闭所述开关按钮,进而以使该开关按钮对应的权限信息处于开启状态或处于关闭状态。例如,若第一权限的开关按钮打开,该第一权限也就处于开启状态,那么目标应用程序在启动运行时也就能够直接获取该第一权限。As shown in Figure 2, the authority information displayed on the menu bar includes the authority name and a switch button corresponding to each authority name. The second input may refer to a touch operation acting on the switch button, such as opening all The switch button or the switch button is turned off, so that the authority information corresponding to the switch button is in the on state or in the off state. For example, if the switch button of the first permission is turned on, the first permission is also in the on state, and the target application can directly obtain the first permission when it is started.
相比于相关技术中需要从终端上的设置应用程序中找到目标应用程序对应的权限信息来进行更改,或是通过目标应用程序的设置功能中找到权限信息的更改选项来进行更改,本公开提供的技术方案中,终端在目标应用程序运行且显示有菜单栏的情况下,通过接收作用于菜单栏上的第二输入,就能完成目标应用程序权限信息的更改,使得对应用程序的权限管理操作更为简单迅速,以使用户具有更好的终端使用体验。Compared with the related technology, you need to find the permission information corresponding to the target application from the setting application on the terminal to make changes, or find the permission information change option in the setting function of the target application to make changes. This disclosure provides In the technical solution, when the target application is running and the menu bar is displayed, the terminal can complete the modification of the permission information of the target application by receiving the second input on the menu bar, so that the permission management of the application The operation is simpler and faster, so that users have a better terminal experience.
需要说明的是,所述权限信息还可以包括与所述目标应用程序关联的推送信息的权限,例如是否接收或退订推送信息,菜单栏上可以是显示有推送信息权限对应的开关按钮,例如用户可以通过第二输入来关闭所述推送信息权限对应的开关按钮,则终端可以是自动发送退订短信至目标应用程序对应的后台服务器,以退订目标应用程序的推送信息,那么终端也就不会再接收到目标应用程序关联的推送信息。这样,使得终端对于推送信息的退订操作更为简单快捷,避免终端频繁接收推送信息而导致用户产生厌烦心理,进一步提高了终端的使用体验。It should be noted that the permission information may also include the permission of the push information associated with the target application, such as whether to receive or unsubscribe the push information, and the menu bar may display a switch button corresponding to the push information permission, for example, The user can turn off the switch button corresponding to the push information authority through the second input, and the terminal may automatically send an unsubscribe short message to the background server corresponding to the target application to unsubscribe the push information of the target application. No more push messages associated with the target application will be received. In this way, the terminal's unsubscribe operation for the push information is simpler and faster, and the terminal frequently receives push information to avoid the user's boredom, and further improves the terminal's use experience.
本公开实施例中,所述步骤102之后,所述方法还可以包括:In the embodiment of the present disclosure, after the step 102, the method may further include:
在接收到关闭所述目标应用程序的第二输入的情况下,响应所述第二输入,关闭所述目标应用程序,并将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态。In the case of receiving the second input of closing the target application, in response to the second input, the target application is closed, and the permission information that is in the open state among the permission information that the target application has acquired Change to closed state.
也就是说,当终端退出当前目标应用程序时,也就是终端的显示界面不是显示目标应用程序运行界面,例如所述目标应用程序处于后台运行时,终端能够同时将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态。这样,对于目标应用程序不处于前台运行的状态时,目标应用程序已获取的权限信息可以是全部处于关闭状态,这样能够减小目标应用程序所占用的内存,提高终端的运行速度。That is to say, when the terminal exits the current target application, that is, the display interface of the terminal does not display the target application running interface. For example, when the target application is running in the background, the terminal can simultaneously obtain the target application. The permission information that is in the open state in the permission information is changed to the closed state. In this way, when the target application is not running in the foreground, the permission information obtained by the target application may be all in the closed state, which can reduce the memory occupied by the target application and improve the running speed of the terminal.
可选地,所述将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态,包括:Optionally, said changing the permission information that is in the open state among the permission information that the target application has acquired to the closed state includes:
在所述目标应用程序的使用频率大于第一预设频率的情况下,将所述目标应用程序已获取的所述第二类权限信息中处于打开状态的权限信息更改为关闭状态;在所述目标应用程序的使用频率小于第二预设频率的情况下,将所述目标应用程序已获取的所有处于打开状态的权限信息更改为关闭状态;所述第一预设频率大于所述第二预设频率。In the case that the usage frequency of the target application is greater than the first preset frequency, changing the permission information in the open state in the second type of permission information that the target application has acquired to the closed state; In the case that the use frequency of the target application is less than the second preset frequency, all the permission information in the open state that has been obtained by the target application is changed to the closed state; the first preset frequency is greater than the second preset frequency Set frequency.
具体地,在目标应用程序的使用频率大于第一预设频率的情况下,例如所述目标应用程序的使用频率大于每天三次,说明该目标应用程序为用户经常使用的应用程序。可以理解地,第二类权限信息不是所述目标应用程序运行时必须处于打开状态的权限信息,那么在终端接收到关闭该目标应用程序的第二输入时,终端关闭所述目标应用程序,并将所述目标应用程序对应的第二类权限信息中处于打开状态的权限信息更改为关闭状态。这样,能够减小目标应用程序在处于后台运行时所占用的内存,提高终端的运行速度,并能够降低终端输入泄露或被篡改的风险。Specifically, in the case where the use frequency of the target application is greater than the first preset frequency, for example, the use frequency of the target application is greater than three times a day, it indicates that the target application is an application frequently used by the user. Understandably, the second type of permission information is not permission information that must be in the open state when the target application is running. Then when the terminal receives the second input to close the target application, the terminal closes the target application, and The permission information in the open state in the second type of permission information corresponding to the target application is changed to the closed state. In this way, the memory occupied by the target application program running in the background can be reduced, the running speed of the terminal can be improved, and the risk of terminal input leakage or tampering can be reduced.
可选地,在另一种情况中,若目标应用程序的使用频率小于第二预设频率,例如所述目标应用程序的使用频率小于每月三次,说明用户使用该目标应用程序的频率非常小。对于这种使用频率较低的目标应用程序,在终端接收到关闭该目标应用程序的第二输入时,终端关闭所述目标应用程序,并将所述目标应用程序已获取的所有处于打开状态的权限信息更改为关闭状态。 这样,也就能够避免不经常使用的应用程序的权限信息还处于打开状态,进而以释放终端内存,提高终端运行速度。Optionally, in another case, if the use frequency of the target application is less than the second preset frequency, for example, the use frequency of the target application is less than three times a month, it indicates that the frequency of the user using the target application is very small . For this kind of target application with a low frequency of use, when the terminal receives the second input to close the target application, the terminal closes the target application, and removes all the open target applications that have been acquired by the target application. The permission information is changed to the closed state. In this way, it is possible to prevent the permission information of the infrequently used applications from being left open, thereby freeing up the terminal memory and improving the running speed of the terminal.
另外,在所述目标应用程序的使用频率小于第三预设频率的情况下,输出提示信息。其中,所述提示信息用于提示将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态,所述提示信息可以是短信提示。例如,若所述目标应用程的使用频率小于每周三次,但该目标应用程序已获取的权限信息中包括处于打开状态的权限信息,这样会占用终端内存,并且对于一些涉及用户隐私数据的权限信息,其安全性也不能得到保障,那么终端可以输出提示信息,以提示用户将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态。这样,也就能够避免目标应用程序的权限信息长期处于打开状态而影响终端的运行速度,另外对于涉及用户数据的权限信息,这样的操作也能避免用户数据泄露,提高了终端上用户数据的安全性。In addition, in the case where the use frequency of the target application is less than the third preset frequency, a prompt message is output. Wherein, the prompt information is used to prompt to change the permission information in the open state to the closed state in the permission information that the target application has acquired, and the prompt information may be a short message prompt. For example, if the usage frequency of the target application is less than three times a week, but the permission information obtained by the target application includes the permission information in the open state, this will occupy the terminal memory, and for some permissions involving user privacy data The security of the information cannot be guaranteed, so the terminal can output a prompt message to prompt the user to change the permission information that is in the open state among the permission information obtained by the target application to the closed state. In this way, it can prevent the permission information of the target application from being opened for a long time and affecting the running speed of the terminal. In addition, for permission information involving user data, this operation can also prevent user data from leaking and improve the security of user data on the terminal. Sex.
请参见图3,图3是本公开实施例提供的一种终端的结构图,如图3所示,所述终端300包括:Please refer to FIG. 3. FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present disclosure. As shown in FIG. 3, the terminal 300 includes:
接收模块301,用于在显示目标应用程序运行界面或者目标应用程序图标的情况下,接收第一输入;The receiving module 301 is configured to receive the first input when the target application running interface or the target application icon is displayed;
显示模块302,用于响应于所述第一输入,显示菜单栏,所述菜单栏包括所述目标应用程序已获取的权限信息。The display module 302 is configured to display a menu bar in response to the first input, the menu bar including the permission information obtained by the target application.
可选地,终端300在显示所述目标应用程序图标的情况下,所述第一输入为针对所述目标应用程序的启动输入;所述显示模块302还用于:Optionally, when the terminal 300 displays the target application icon, the first input is a startup input for the target application; the display module 302 is further configured to:
响应于所述第一输入,启动所述目标应用程序,并显示所述菜单栏。In response to the first input, the target application is started, and the menu bar is displayed.
可选地,所述权限信息包括第一类权限信息及第二类权限信息;所述显示模块302还用于:Optionally, the authority information includes the first type of authority information and the second type of authority information; the display module 302 is further configured to:
显示所述菜单栏,并将所述菜单栏中的所述第一类权限信息突出显示。Display the menu bar, and highlight the first type of authority information in the menu bar.
可选地,所述终端300还包括:Optionally, the terminal 300 further includes:
关闭模块,用于在接收到关闭所述目标应用程序的第二输入的情况下,响应所述第二输入,关闭所述目标应用程序,并将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态。The closing module is configured to respond to the second input in the case of receiving a second input to close the target application, close the target application, and set the permission information obtained by the target application to The permission information in the open state is changed to the closed state.
可选地,所述关闭模块还用于:Optionally, the closing module is also used for:
在所述目标应用程序的使用频率大于第一预设频率的情况下,将所述目标应用程序已获取的所述第二类权限信息中处于打开状态的权限信息更改为关闭状态;In the case that the usage frequency of the target application is greater than the first preset frequency, changing the permission information in the open state in the second type of permission information that the target application has acquired to the closed state;
在所述目标应用程序的使用频率小于第二预设频率的情况下,将所述目标应用程序已获取的所有处于打开状态的权限信息更改为关闭状态;In the case that the use frequency of the target application is less than the second preset frequency, changing all the permission information in the open state that the target application has acquired to the closed state;
其中,所述第一预设频率大于所述第二预设频率。Wherein, the first preset frequency is greater than the second preset frequency.
可选地,所述终端300还包括:Optionally, the terminal 300 further includes:
输出模块,用于在所述目标应用程序的使用频率小于第三预设频率的情况下,输出提示信息,所述提示信息用于提示将所述目标应用程序已获取的权限信息更改为关闭状态。The output module is configured to output prompt information when the use frequency of the target application is less than the third preset frequency, the prompt information is used to prompt to change the permission information obtained by the target application to a closed state .
需要说明的是,终端300能够实现上述权限管理方法实施例的各个过程,并能达到相同的技术效果,为避免重复,这里不再赘述。It should be noted that the terminal 300 can implement each process of the above-mentioned rights management method embodiment, and can achieve the same technical effect. To avoid repetition, details are not described here.
本公开实施例中,终端300在显示目标应用程序运行界面或者目标应用程序图标的情况下,通过响应于接收到的第一输入,显示菜单栏,且该菜单栏包括所述目标应用程序已获取的权限信息。这样,终端300只需通过一步操作就能打开目标应用程序的权限信息,使得终端300对于应用程序的权限管理操作更为简单便捷,也无需用户耗费较长的时间和操作步骤,简化了用户查看目标应用程序权限信息的操作流程。In the embodiment of the present disclosure, when the terminal 300 displays the target application running interface or the target application icon, it displays a menu bar in response to the first input received, and the menu bar includes the target application acquired Permission information. In this way, the terminal 300 can open the permission information of the target application in one operation, making the terminal 300 easier and more convenient for the permission management operation of the application, and does not require the user to spend a long time and operating steps, which simplifies the user's viewing Operation process of target application permission information.
请参照图4,图4为实现本公开实施例的另一种终端的结构图,终端400能够实现上述权限管理方法实施例的各个过程,并能达到相同的技术效果。如图4所示,终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Please refer to FIG. 4, which is a structural diagram of another terminal that implements an embodiment of the present disclosure. The terminal 400 can implement each process of the above-mentioned rights management method embodiment, and can achieve the same technical effect. As shown in FIG. 4, the terminal 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, processing 410, and power supply 411. Those skilled in the art can understand that the terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than those shown in the figure, or combine certain components, or arrange different components. In the embodiments of the present disclosure, terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器410,用于:Among them, the processor 410 is used for:
在显示目标应用程序运行界面或者目标应用程序图标的情况下,接收第一输入;In the case of displaying the target application running interface or the target application icon, receiving the first input;
响应于所述第一输入,显示菜单栏,所述菜单栏包括所述目标应用程序已获取的权限信息。In response to the first input, a menu bar is displayed, the menu bar including the permission information that the target application has acquired.
其中,显示单元406在显示所述目标应用程序图标的情况下,所述第一输入为针对所述目标应用程序的启动输入;处理器410,还用于:Wherein, when the display unit 406 displays the target application icon, the first input is a startup input for the target application; the processor 410 is further configured to:
响应于所述第一输入,启动所述目标应用程序,并显示所述菜单栏。In response to the first input, the target application is started, and the menu bar is displayed.
其中,所述权限信息包括第一类权限信息及第二类权限信息;处理器410,还用于:Wherein, the authority information includes the first type of authority information and the second type of authority information; the processor 410 is further configured to:
显示所述菜单栏,并将所述菜单栏中的所述第一类权限信息突出显示。Display the menu bar, and highlight the first type of authority information in the menu bar.
其中,处理器410,还用于:Among them, the processor 410 is also used for:
在接收到关闭所述目标应用程序的第二输入的情况下,响应所述第二输入,关闭所述目标应用程序,并将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态。In the case of receiving the second input of closing the target application, in response to the second input, the target application is closed, and the permission information that is in the open state among the permission information that the target application has acquired Change to closed state.
其中,处理器410,还用于:Among them, the processor 410 is also used for:
在所述目标应用程序的使用频率大于第一预设频率的情况下,将所述目标应用程序已获取的所述第二类权限信息中处于打开状态的权限信息更改为关闭状态;In the case that the usage frequency of the target application is greater than the first preset frequency, changing the permission information in the open state in the second type of permission information that the target application has acquired to the closed state;
在所述目标应用程序的使用频率小于第二预设频率的情况下,将所述目标应用程序已获取的所有处于打开状态的权限信息更改为关闭状态;In the case that the use frequency of the target application is less than the second preset frequency, changing all the permission information in the open state that has been obtained by the target application to the closed state;
其中,所述第一预设频率大于所述第二预设频率。Wherein, the first preset frequency is greater than the second preset frequency.
其中,处理器410,还用于:Among them, the processor 410 is also used for:
在所述目标应用程序的使用频率小于第三预设频率的情况下,输出提示信息,所述提示信息用于提示将所述目标应用程序已获取的权限信息更改为关闭状态。In the case that the use frequency of the target application is less than the third preset frequency, output prompt information, the prompt information being used to prompt to change the permission information obtained by the target application to a closed state.
本公开实施例中,终端400在显示目标应用程序运行界面或者目标应用程序图标的情况下,通过响应于接收到的第一输入,显示菜单栏,且该菜单栏包括所述目标应用程序已获取的权限信息。这样,终端400只需通过一步操作就能打开目标应用程序的权限信息,使得终端400对于应用程序的权限 管理操作更为简单便捷,也无需用户耗费较长的时间和操作步骤,简化了用户查看目标应用程序权限信息的操作流程。In the embodiment of the present disclosure, when the terminal 400 displays the target application running interface or the target application icon, it displays a menu bar in response to the first input received, and the menu bar includes the target application acquired Permission information. In this way, the terminal 400 can open the permission information of the target application with only one operation, making the terminal 400 easier and more convenient for the permission management operation of the application, without requiring the user to spend a long time and operating steps, and simplifying the user to view Operation process of target application permission information.
应理解的是,本公开实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 401 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 410; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 401 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. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
终端400通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal 400 provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 can convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into audio signals and output them as sounds. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal 400 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图像或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它计算机可读存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 is configured to monitor the still image or video image obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other computer-readable storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 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 a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4041的亮度,接近传感器可在终端400移动到耳边时,关闭显示面板4041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关 游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4041 according to the brightness of the ambient light. The proximity sensor can close the display panel 4041 and/or when the terminal 400 is moved to the ear. Or backlight. As a kind of motion sensor, 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 stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared Sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4041,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4041。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4041, and the display panel 4041 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与终端400的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal 400. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, 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 4071 or near the touch panel 4071. operating). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, 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 410, the command sent by the processor 410 is received and executed. In addition, the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 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.
进一步的,触控面板4071可覆盖在显示面板4041上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4041上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4041是作为两个独立的部件来实现终端400的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4041集成而实现终端400的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can be overlaid on the display panel 4041. When the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 4041. Although in FIG. 4, the touch panel 4071 and the display panel 4041 are used as two independent components to implement the input and output functions of the terminal 400, in some embodiments, the touch panel 4071 and the display panel 4041 can be integrated The implementation of the input and output functions of the terminal 400 is not specifically limited here.
接口单元408为外部装置与终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线 数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端400内的一个或多个元件或者可以用于在终端400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device with the terminal 400. For example, 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 408 may 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 400 or may be used to communicate between the terminal 400 and the external device. Transfer data between.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs and various data. The memory 409 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. In addition, the memory 409 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.
处理器410是终端400的控制中心,利用各种接口和线路连接整个终端400的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行终端400的各种功能和处理数据,从而对终端400进行整体监控。处理器410可包括一个或多个处理单元;可选地,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the terminal 400, which uses various interfaces and lines to connect the various parts of the entire terminal 400, runs or executes software programs and/or modules stored in the memory 409, and calls data stored in the memory 409 , Perform various functions of the terminal 400 and process data, thereby monitoring the terminal 400 as a whole. The processor 410 may include one or more processing units; optionally, the processor 410 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 410.
终端400还可以包括给各个部件供电的电源411(比如电池),可选地,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 400 may also include a power source 411 (such as a battery) for supplying power to various components. Optionally, the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,终端400包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 400 includes some functional modules not shown, which will not be repeated here.
可选地,本公开实施例还提供一种终端,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序,该程序被处理器执行时实现上述权限管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a terminal, including a processor, a memory, and a program stored on the memory and running on the processor, and when the program is executed by the processor, the above embodiment of the permission management method is implemented Each process can achieve the same technical effect. To avoid repetition, I won’t repeat them here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有程序,该程序被处理器执行时实现上述权限管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计 算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium on which a program is stored. When the program is executed by a processor, each process of the above-mentioned rights management method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here. Among them, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, 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 (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.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present disclosure. It should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (14)

  1. 一种权限管理方法,包括:A method of rights management, including:
    在显示目标应用程序运行界面或者目标应用程序图标的情况下,接收第一输入;In the case of displaying the target application running interface or the target application icon, receiving the first input;
    响应于所述第一输入,显示菜单栏,所述菜单栏包括所述目标应用程序已获取的权限信息。In response to the first input, a menu bar is displayed, the menu bar including the permission information that the target application has acquired.
  2. 根据权利要求1所述的方法,其中,在显示所述目标应用程序图标的情况下,所述第一输入为针对所述目标应用程序的启动输入;The method according to claim 1, wherein, when the target application icon is displayed, the first input is a start input for the target application;
    所述响应于所述第一输入,显示菜单栏,包括:The displaying a menu bar in response to the first input includes:
    响应于所述第一输入,启动所述目标应用程序,并显示所述菜单栏。In response to the first input, the target application is started, and the menu bar is displayed.
  3. 根据权利要求1所述的方法,其中,所述权限信息包括第一类权限信息及第二类权限信息;所述显示菜单栏,包括:The method according to claim 1, wherein the authority information includes a first type of authority information and a second type of authority information; the display menu bar includes:
    显示所述菜单栏,并将所述菜单栏中的所述第一类权限信息突出显示。Display the menu bar, and highlight the first type of authority information in the menu bar.
  4. 根据权利要求3所述的方法,其中,所述显示菜单栏后,所述方法还包括:The method according to claim 3, wherein, after the menu bar is displayed, the method further comprises:
    在接收到关闭所述目标应用程序的第二输入的情况下,响应所述第二输入,关闭所述目标应用程序,并将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态。In the case of receiving the second input of closing the target application, in response to the second input, the target application is closed, and the permission information that is in the open state among the permission information that the target application has acquired Change to closed state.
  5. 根据权利要求4所述的方法,其中,所述将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态,包括:The method according to claim 4, wherein said changing the permission information that is in the open state among the permission information obtained by the target application program to the closed state comprises:
    在所述目标应用程序的使用频率大于第一预设频率的情况下,将所述目标应用程序已获取的所述第二类权限信息中处于打开状态的权限信息更改为关闭状态;In the case that the usage frequency of the target application is greater than the first preset frequency, changing the permission information in the open state in the second type of permission information that the target application has acquired to the closed state;
    在所述目标应用程序的使用频率小于第二预设频率的情况下,将所述目标应用程序已获取的所有处于打开状态的权限信息更改为关闭状态;In the case that the use frequency of the target application is less than the second preset frequency, changing all the permission information in the open state that has been obtained by the target application to the closed state;
    其中,所述第一预设频率大于所述第二预设频率。Wherein, the first preset frequency is greater than the second preset frequency.
  6. 根据权利要求1所述的方法,其中,所述显示菜单栏后,所述方法还包括:The method according to claim 1, wherein, after the menu bar is displayed, the method further comprises:
    在所述目标应用程序的使用频率小于第三预设频率的情况下,输出提示信息,所述提示信息用于提示将所述目标应用程序已获取的权限信息更改为关闭状态。In the case that the use frequency of the target application is less than the third preset frequency, output prompt information, the prompt information being used to prompt to change the permission information obtained by the target application to a closed state.
  7. 一种终端,包括:A terminal, including:
    接收模块,用于在显示目标应用程序运行界面或者目标应用程序图标的情况下,接收第一输入;The receiving module is used to receive the first input when the target application running interface or the target application icon is displayed;
    显示模块,用于响应于所述第一输入,显示菜单栏,所述菜单栏包括所述目标应用程序已获取的权限信息。The display module is configured to display a menu bar in response to the first input, the menu bar including the authority information that the target application has acquired.
  8. 根据权利要求7所述的终端,其中,在显示所述目标应用程序图标的情况下,所述第一输入为针对所述目标应用程序的启动输入;The terminal according to claim 7, wherein, in a case where the target application icon is displayed, the first input is a start input for the target application;
    所述显示模块还用于:The display module is also used for:
    响应于所述第一输入,启动所述目标应用程序,并显示所述菜单栏。In response to the first input, the target application is started, and the menu bar is displayed.
  9. 根据权利要求7所述的终端,其中,所述权限信息包括第一类权限信息及第二类权限信息;所述显示模块还用于:The terminal according to claim 7, wherein the authority information includes a first type of authority information and a second type of authority information; the display module is further used for:
    显示所述菜单栏,并将所述菜单栏中的所述第一类权限信息突出显示。Display the menu bar, and highlight the first type of authority information in the menu bar.
  10. 根据权利要求9所述的终端,还包括:The terminal according to claim 9, further comprising:
    关闭模块,用于在接收到关闭所述目标应用程序的第二输入的情况下,响应所述第二输入,关闭所述目标应用程序,并将所述目标应用程序已获取的权限信息中处于打开状态的权限信息更改为关闭状态。The closing module is configured to respond to the second input in the case of receiving a second input to close the target application, close the target application, and set the permission information obtained by the target application to The permission information in the open state is changed to the closed state.
  11. 根据权利要求10所述的终端,其中,所述关闭模块还用于:The terminal according to claim 10, wherein the closing module is further used for:
    在所述目标应用程序的使用频率大于第一预设频率的情况下,将所述目标应用程序已获取的所述第二类权限信息中处于打开状态的权限信息更改为关闭状态;In the case that the usage frequency of the target application is greater than the first preset frequency, changing the permission information in the open state in the second type of permission information that the target application has acquired to the closed state;
    在所述目标应用程序的使用频率小于第二预设频率的情况下,将所述目标应用程序已获取的所有处于打开状态的权限信息更改为关闭状态;In the case that the use frequency of the target application is less than the second preset frequency, changing all the permission information in the open state that has been obtained by the target application to the closed state;
    其中,所述第一预设频率大于所述第二预设频率。Wherein, the first preset frequency is greater than the second preset frequency.
  12. 根据权利要求7所述的终端,还包括:The terminal according to claim 7, further comprising:
    输出模块,用于在所述目标应用程序的使用频率小于第三预设频率的情况下,输出提示信息,所述提示信息用于提示将所述目标应用程序已获取的 权限信息更改为关闭状态。The output module is configured to output prompt information when the use frequency of the target application is less than the third preset frequency, the prompt information is used to prompt to change the permission information obtained by the target application to a closed state .
  13. 一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,其中,所述程序被所述处理器执行时实现如权利要求1至6中任一项所述的权限管理方法的步骤。A terminal, comprising a processor, a memory, and a program stored on the memory and capable of running on the processor, wherein the program is executed by the processor as in any one of claims 1 to 6 The steps of the rights management method described in the item.
  14. 一种计算机可读存储介质,其中,其上存储有程序,所述程序被处理器执行时实现如权利要求1至6中任一项所述的权限管理方法的步骤。A computer-readable storage medium, wherein a program is stored thereon, and when the program is executed by a processor, the steps of the rights management method according to any one of claims 1 to 6 are realized.
PCT/CN2020/084791 2019-05-28 2020-04-14 Permission management method and terminal WO2020238448A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910452059.7 2019-05-28
CN201910452059.7A CN110210206B (en) 2019-05-28 2019-05-28 Authority management method and terminal

Publications (1)

Publication Number Publication Date
WO2020238448A1 true WO2020238448A1 (en) 2020-12-03

Family

ID=67789063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/084791 WO2020238448A1 (en) 2019-05-28 2020-04-14 Permission management method and terminal

Country Status (2)

Country Link
CN (1) CN110210206B (en)
WO (1) WO2020238448A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210206B (en) * 2019-05-28 2021-04-06 维沃移动通信有限公司 Authority management method and terminal
CN111859356B (en) * 2020-06-30 2021-10-12 维沃移动通信有限公司 Application program login method and device
CN114564707A (en) * 2022-02-18 2022-05-31 维沃移动通信有限公司 Application authority management method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106169043A (en) * 2016-06-30 2016-11-30 宇龙计算机通信科技(深圳)有限公司 The management method of application program, managing device and terminal
CN108469965A (en) * 2018-03-15 2018-08-31 维沃移动通信有限公司 A kind of setting method and mobile terminal of application program
CN108681668A (en) * 2018-04-18 2018-10-19 Oppo广东移动通信有限公司 Equipment manager management method, device and mobile terminal
WO2019061248A1 (en) * 2017-09-29 2019-04-04 深圳传音通讯有限公司 Virtual key operation method, terminal, storage medium, and computer program
CN109766680A (en) * 2018-12-27 2019-05-17 维沃移动通信有限公司 Authority control method and terminal
CN110210206A (en) * 2019-05-28 2019-09-06 维沃移动通信有限公司 A kind of right management method and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746978A (en) * 2013-12-30 2014-04-23 华为技术有限公司 Content viewing method and server
CN105335643B (en) * 2015-10-28 2017-10-27 广东欧珀移动通信有限公司 The processing method and processing system of file
CN105740670B (en) * 2016-01-28 2019-01-22 百度在线网络技术(北京)有限公司 Using encryption, starting method and apparatus
CN107979684A (en) * 2016-10-21 2018-05-01 中兴通讯股份有限公司 Right management method, device and terminal
CN109241765B (en) * 2018-07-17 2022-06-17 奇酷互联网络科技(深圳)有限公司 Mobile terminal and method and device for managing authority of application program
CN109348041B (en) * 2018-08-13 2021-07-27 珠海格力电器股份有限公司 Application program networking control method and device, storage medium and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106169043A (en) * 2016-06-30 2016-11-30 宇龙计算机通信科技(深圳)有限公司 The management method of application program, managing device and terminal
WO2019061248A1 (en) * 2017-09-29 2019-04-04 深圳传音通讯有限公司 Virtual key operation method, terminal, storage medium, and computer program
CN108469965A (en) * 2018-03-15 2018-08-31 维沃移动通信有限公司 A kind of setting method and mobile terminal of application program
CN108681668A (en) * 2018-04-18 2018-10-19 Oppo广东移动通信有限公司 Equipment manager management method, device and mobile terminal
CN109766680A (en) * 2018-12-27 2019-05-17 维沃移动通信有限公司 Authority control method and terminal
CN110210206A (en) * 2019-05-28 2019-09-06 维沃移动通信有限公司 A kind of right management method and terminal

Also Published As

Publication number Publication date
CN110210206A (en) 2019-09-06
CN110210206B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2020156111A1 (en) Interface display method and terminal
WO2020020126A1 (en) Information processing method and terminal
WO2020186945A1 (en) Interface display method and terminal device
WO2021104347A1 (en) Camera control method and electronic device
WO2021109958A1 (en) Application program sharing method and electronic device
WO2020238449A1 (en) Notification message processing method and terminal
WO2020238448A1 (en) Permission management method and terminal
WO2020238408A1 (en) Application icon display method and terminal
WO2020238463A1 (en) Message processing method and terminal
US11354017B2 (en) Display method and mobile terminal
WO2020220876A1 (en) Application interface displaying method and mobile terminal
JP7229365B2 (en) Authority management method and terminal equipment
WO2021136138A1 (en) Information prompting method and electronic device
WO2021004306A1 (en) Operation control method and terminal
WO2020156123A1 (en) Information processing method and terminal device
CN109062634B (en) Application starting method and mobile terminal
WO2020156441A1 (en) Privacy space operation method and terminal device
WO2020199987A1 (en) Message display method and mobile terminal
WO2020238445A1 (en) Screen recording method and terminal
WO2020211596A1 (en) Control method and terminal device
WO2021197265A1 (en) Information presentation method, electronic device and storage medium
WO2021104251A1 (en) Control method and first electronic device
WO2021031868A1 (en) Interface display method and terminal
WO2021037074A1 (en) Audio output method and electronic apparatus

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: 20812914

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20812914

Country of ref document: EP

Kind code of ref document: A1