CN110210206B - Authority management method and terminal - Google Patents
Authority management method and terminal Download PDFInfo
- Publication number
- CN110210206B CN110210206B CN201910452059.7A CN201910452059A CN110210206B CN 110210206 B CN110210206 B CN 110210206B CN 201910452059 A CN201910452059 A CN 201910452059A CN 110210206 B CN110210206 B CN 110210206B
- Authority
- CN
- China
- Prior art keywords
- target application
- application program
- information
- type
- terminal
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04817—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing 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/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
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
The invention provides a permission management method and a terminal, wherein the permission management method comprises the following steps: receiving a first input under the condition that a target application program running interface or a target application program icon is displayed; displaying a menu bar in response to the first input, the menu bar including permission information that the target application has acquired. The technical scheme provided by the invention solves the problem that the management operation of the application authority of the existing terminal is relatively complicated.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a terminal for managing permissions.
Background
With the rapid development of science and technology, more and more applications are applied to the terminal. Currently, a terminal generally completes the authority setting of an application program when the application program is installed. When the authority of the application program is to be checked or changed in the later stage, the authority information corresponding to the application program can be checked only by finding the application program from the set application program on the terminal through a specific path, so that the management operation of the existing terminal on the application authority is complicated.
Disclosure of Invention
The embodiment of the invention provides a permission management method and a terminal, and aims to solve the problem that the management operation of the conventional terminal on application permission is relatively complicated.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for rights management, including:
receiving a first input under the condition that a target application program running interface or a target application program icon is displayed;
displaying a menu bar in response to the first input, the menu bar including permission information that the target application has acquired.
In a second aspect, an embodiment of the present invention further provides a terminal, including:
the receiving module is used for receiving first input under the condition that a target application program running interface or a target application program icon is displayed;
and the display module is used for responding to the first input and displaying a menu bar, and the menu bar comprises the acquired authority information of the target application program.
In a third aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the rights management method according to the first aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the rights management method as described in the first aspect.
In the embodiment of the invention, the terminal displays a menu bar in response to the received first input under the condition of displaying the target application program running interface or the target application program icon, wherein the menu bar comprises the authority information acquired by the target application program. Therefore, the terminal can open the authority information of the target application program only through one-step operation, so that the authority management operation of the terminal on the application program is simpler and more convenient, a user does not need to spend longer time and operation steps, and the operation flow of the user for checking the authority information of the target application program is simplified.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a rights management method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a terminal display interface to which the rights management method provided in FIG. 1 is applied;
fig. 3 is a structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a rights management method according to an embodiment of the present invention, and as shown in fig. 1, the rights management method includes the following steps:
The target application is any application installed on the terminal. The method comprises the steps that a terminal displays an operation interface of a target application program, wherein the operation interface can refer to a state that the target application program is currently in foreground operation; the terminal displays the target application icon, which may mean that the current display interface of the terminal is a desktop.
In the embodiment of the present invention, an operation form of the first input is not limited, for example, the first input may be a touch operation such as a single click, a double click, and a slide operation that is performed on a display screen, or may also be a voice operation, or may also be a pressing operation of a physical key on a terminal. For example, in a case that the terminal displays a target application program running interface, the first input may be an input operation acting on the target application program running interface, such as triggering a designated virtual key on the target application program running interface, or may also be a sliding operation acting on the terminal display interface, such as a sliding operation from top to bottom; and the like.
And 102, responding to the first input, and displaying a menu bar, wherein the menu bar comprises the acquired authority information of the target application program.
Optionally, the menu bar may refer to a display interface including a plurality of function adjustment buttons, for example, a volume adjustment button, a brightness adjustment button, a WIFI connection button, a wireless connection button, a screen capture button, and the like. The menu bar provided by the embodiment of the invention displays the authority information acquired by the target application program. The permission information may refer to function information of the target application program for accessing, reading or calling other application programs, files or controls on the terminal; for example, the authority corresponding to the authority information may include functions of acquiring real-time positioning of the terminal, calling a camera, calling a microphone, reading contact information, and the like.
In the embodiment of the invention, under the condition that the terminal displays the running interface or the icon of the target application program, if the first input is received, a menu bar can be displayed, and the authority information acquired by the target application program is displayed on the menu bar. As shown in fig. 2, the authority information acquired by the target application displayed on the menu bar includes an authority name and a corresponding switch button, and the authority name includes: the system comprises a storage unit, a microphone, a positioning unit, a camera, a contact person and the like, wherein a corresponding switch button is displayed behind each authority name, and a user can determine a corresponding authority function by touching the switch button. Therefore, the user can quickly and intuitively know which authority information is acquired by the currently running target application program through the menu bar, and the management operation of the user on the authority of the target application program is more convenient.
It can be understood that the permission information displayed on the menu bar corresponds to the application currently in the foreground of the terminal, that is, if the application currently in the foreground of the terminal is different, the permission information displayed on the menu bar may be different.
It should be noted that, when the terminal displays a target application icon, the first input is a start input for the target application, for example, when the terminal displays a desktop, the first input may be a click on the target application icon; the terminal starts the target application program in response to the first input, and displays a menu bar.
In this embodiment, the first input may trigger the terminal to start the target application, that is, the first input is an operation of starting or opening the target application. And when a first input for starting the target application program is received, the terminal starts the target application program and displays the menu bar. Therefore, the menu bar is immediately displayed when the target application program is started, and a user can know the authority information acquired by the target application program when the target application program is started, and can know which authorities of the target application program are in the open state and which authorities are in the closed state, so that the user can conveniently change unnecessary authorities into the closed state before the user operates the target application program, the running speed of the terminal is improved, and the data security of the terminal is protected. Therefore, the management of the target application program by the user is more convenient.
Or, in another embodiment, the terminal receives a first input in a state that the target application running interface is displayed, and the terminal displays the menu bar in response to the first input.
In this embodiment, the terminal receives the first input to display the menu bar when the target application is running in the foreground. Therefore, the user can trigger the terminal to display the menu bar in the running process of the target application program, and further can quickly know which authorities the target application program has acquired, and can intuitively know which authorities are in the open state and which authorities are in the closed state, so that the user can conveniently change the authorities of the target application program.
In addition, in the embodiment of the present invention, the permission information includes first type permission information and second type permission information, optionally, the first type permission information refers to permission information that the target application program must be in an open state when running, and the second type permission information refers to permission information that is different from the first type permission information in the permission information, that is, permission information that the target application program may be in a closed state when running.
For example, if the target application is a shared traffic application, the first type of permission information of the target application at least includes positioning permission information, that is, when the target application runs, the positioning permission must be in an open state to obtain the current positioning of the terminal; the second type of permission information of the target application program may include permission information such as a camera, that is, when the target application program runs, the camera permission may be in a closed state.
Optionally, in this case, the terminal highlights the first type of permission information in the menu bar when displaying the menu bar. For example, the first type of authority information may be highlighted. Therefore, the first type of authority information and the second type of authority information are distinguished on the display, so that a user can more visually know which authorities are required to be in an open state and which authorities can be in a closed state in the acquired authority information of the currently running target application program, the user can conveniently operate and manage the second type of authority information, the user can be prevented from changing the first type of authority information, misoperation is avoided, and normal running of the target application program is prevented from being influenced.
In addition, when the second type of authority information includes private data, the terminal encrypts the second type of authority information and displays the encrypted second type of authority information when the menu bar is displayed. For example, the target application is a video playing application, the second type of permission information corresponding to the target application includes address book permission information, and the address book belongs to the private data of the user, the terminal encrypts the address book permission information and displays the encrypted address book permission information on the menu bar, so that the address book permission information is in an unavailable state or can be acquired by the target application after a correct decryption operation is received.
For example, the switch button corresponding to the address book permission information may be controlled to be in an off state and be inoperable, so that the address book permission information is in an unavailable state; or even if the address book authority is in an open state, the terminal replaces and displays the content corresponding to the address book authority information by a special symbol, so that the target application program cannot read the content corresponding to the address book authority information; or the terminal encrypts the address book permission information, displays a password input box when the terminal receives the address book permission information changed into an open state, and changes the address book permission information into the open state after receiving correct decryption operation.
In this way, for the authority information which relates to the privacy data and is not necessarily acquired by the running of the target application program, the terminal can encrypt the authority information of the type, so that the target application program cannot acquire the authority information or can acquire the authority information only by receiving correct decryption operation, and the data security on the terminal is better protected.
In the embodiment of the invention, under the condition of displaying the menu bar, the terminal can change the first permission of the target application program by receiving the second input of the user aiming at the menu bar.
Wherein the first authority is at least one of the authority information acquired by the target application program. That is, the terminal changes the first right of the target application by receiving the second input acting on the menu bar in a case where the target application is operated and the menu bar is displayed.
As shown in fig. 2, the authority information displayed on the menu bar includes authority names and switch buttons corresponding to the authority names, and the second input may be a touch operation applied to the switch button, for example, turning on the switch button or turning off the switch button, so that the authority information corresponding to the switch button is in an on state or in an off state. For example, if the switch button of the first right is turned on, the first right is in an open state, and the target application program can directly acquire the first right when starting up and running.
Compared with the prior art that the permission information corresponding to the target application program needs to be found from the setting application program on the terminal for changing, or the permission information needs to be found from the setting function of the target application program for changing, in the technical scheme provided by the invention, under the condition that the target application program runs and the menu bar is displayed, the permission information of the target application program can be changed by receiving the second input acting on the menu bar, so that the permission management operation of the application program is simpler and quicker, and a user has better terminal use experience.
It should be noted that the authority information may further include an authority of the push information associated with the target application, for example, whether to receive or unsubscribe the push information, a switch button corresponding to the authority of the push information may be displayed on the menu bar, for example, a user may close the switch button corresponding to the authority of the push information through a second input, and then the terminal may be a background server corresponding to the target application to unsubscribe the push information of the target application, and then the terminal may not receive the push information associated with the target application. Therefore, the unsubscribing operation of the terminal on the push information is simpler and quicker, the phenomenon that the terminal frequently receives the push information to cause the user to feel boring is avoided, and the use experience of the terminal is further improved.
In this embodiment of the present invention, after the step 102, the method may further include:
under the condition that second input for closing the target application program is received, responding to the second input, closing the target application program, and changing the authority information in the open state in the acquired authority information of the target application program into the closed state.
That is to say, when the terminal exits from the current target application program, that is, the display interface of the terminal does not display the target application program running interface, for example, the target application program is in background running, the terminal can change the authority information in the open state in the authority information acquired by the target application program to the closed state at the same time. In this way, when the target application program is not in the foreground running state, the authority information acquired by the target application program can be all in the closed state, so that the memory occupied by the target application program can be reduced, and the running speed of the terminal can be improved.
Optionally, the changing the authority information in the open state in the acquired authority information of the target application program into the closed state includes:
under the condition that the use frequency of the target application program is greater than a first preset frequency, the authority information in the open state in the second type of authority information acquired by the target application program is changed into the closed state; under the condition that the use frequency of the target application program is less than a second preset frequency, all the authority information which is in an open state and is acquired by the target application program is changed into a closed state; the first preset frequency is greater than the second preset frequency.
Specifically, in the case that the usage frequency of the target application is greater than the first preset frequency, for example, the usage frequency of the target application is greater than three times per day, which indicates that the target application is an application frequently used by the user. It can be understood that the second type of permission information is not the permission information that the target application program must be in the open state when running, and then when the terminal receives the second input for closing the target application program, the terminal closes the target application program and changes the permission information in the open state in the second type of permission information corresponding to the target application program into the closed state. Therefore, the memory occupied by the target application program in background operation can be reduced, the operation speed of the terminal can be improved, and the risk of terminal input leakage or tampering can be reduced.
Or, in another case, if the usage frequency of the target application is less than the second preset frequency, for example, the usage frequency of the target application is less than three times per month, it indicates that the frequency of the target application used by the user is very small. For the target application program with low use frequency, when the terminal receives a second input for closing the target application program, the terminal closes the target application program and changes all the authority information which is acquired by the target application program and is in the open state into the closed state. Therefore, the permission information of the application program which is not frequently used can be prevented from being in an open state, so that the memory of the terminal is released, and the running speed of the terminal is improved.
In addition, when the use frequency of the target application program is less than a third preset frequency, prompt information is output. The prompt information is used for prompting that the authority information in the open state in the acquired authority information of the target application program is changed into the closed state, and the prompt information can be a short message prompt. For example, if the usage frequency of the target application is less than three times per week, but the permission information acquired by the target application includes permission information in an open state, which occupies a memory of the terminal, and for some permission information related to user privacy data, security of the permission information cannot be guaranteed, the terminal may output a prompt message to prompt the user to change the permission information in the open state in the permission information acquired by the target application to a closed state. Therefore, the condition that the authority information of the target application program is in an open state for a long time to influence the running speed of the terminal can be avoided, and in addition, for the authority information related to user data, the user data can be prevented from being leaked through the operation, and the safety of the user data on the terminal is improved.
Referring to fig. 3, fig. 3 is a structural diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 3, the terminal 300 includes:
a receiving module 301, configured to receive a first input when a target application running interface or a target application icon is displayed;
a display module 302, configured to display a menu bar in response to the first input, where the menu bar includes the permission information that has been obtained by the target application.
Optionally, in the case that the terminal 300 displays the target application icon, the first input is a starting input for the target application; the display module 302 is further configured to:
in response to the first input, the target application is launched and the menu bar is displayed.
Optionally, the permission information includes first type permission information and second type permission information; the display module 302 is further configured to:
and displaying the menu bar, and highlighting the first type of authority information in the menu bar.
Optionally, the terminal 300 further includes:
and the closing module is used for responding to a second input under the condition of receiving the second input for closing the target application program, closing the target application program and changing the authority information in the opening state in the acquired authority information of the target application program into the closing state.
Optionally, the shutdown module is further configured to:
under the condition that the use frequency of the target application program is greater than a first preset frequency, the authority information in the open state in the second type of authority information acquired by the target application program is changed into the closed state;
under the condition that the use frequency of the target application program is less than a second preset frequency, all the authority information which is in an open state and is acquired by the target application program is changed into a closed state;
wherein the first preset frequency is greater than the second preset frequency.
Optionally, the terminal 300 further includes:
and the output module is used for outputting prompt information under the condition that the use frequency of the target application program is less than a third preset frequency, wherein the prompt information is used for prompting that the permission information acquired by the target application program is changed into a closed state.
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, and for avoiding repetition, details are not described here again.
In the embodiment of the present invention, in the case of displaying the target application execution interface or the target application icon, the terminal 300 displays a menu bar in response to the received first input, where the menu bar includes the permission information that has been acquired by the target application. Therefore, the terminal 300 can open the authority information of the target application program only through one-step operation, so that the authority management operation of the terminal 300 on the application program is simpler and more convenient, a user does not need to spend longer time and operation steps, and the operation flow of the user for checking the authority information of the target application program is simplified.
Referring to fig. 4, fig. 4 is a structural diagram of another terminal for implementing the embodiment of the present invention, and the terminal 400 can implement each process of the above-mentioned right management method embodiment and can achieve the same technical effect. As shown in fig. 4, the terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 410 is configured to:
receiving a first input under the condition that a target application program running interface or a target application program icon is displayed;
displaying a menu bar in response to the first input, the menu bar including permission information that the target application has acquired.
Wherein, when the display unit 406 displays the target application icon, the first input is a start input for the target application; processor 410, further configured to:
in response to the first input, the target application is launched and the menu bar is displayed.
The authority information comprises first type authority information and second type authority information; processor 410, further configured to:
and displaying the menu bar, and highlighting the first type of authority information in the menu bar.
Wherein, the processor 410 is further configured to:
under the condition that second input for closing the target application program is received, responding to the second input, closing the target application program, and changing the authority information in the open state in the acquired authority information of the target application program into the closed state.
Wherein, the processor 410 is further configured to:
under the condition that the use frequency of the target application program is greater than a first preset frequency, the authority information in the open state in the second type of authority information acquired by the target application program is changed into the closed state;
under the condition that the use frequency of the target application program is less than a second preset frequency, all the authority information which is in an open state and is acquired by the target application program is changed into a closed state;
wherein the first preset frequency is greater than the second preset frequency.
Wherein, the processor 410 is further configured to:
and under the condition that the use frequency of the target application program is less than a third preset frequency, outputting prompt information, wherein the prompt information is used for prompting that the permission information acquired by the target application program is changed into a closed state.
In the embodiment of the present invention, in a case where the terminal 400 displays the target application execution interface or the target application icon, a menu bar is displayed in response to the received first input, and the menu bar includes the permission information that the target application has acquired. In this way, the terminal 400 can open the permission information of the target application program through one-step operation, so that the permission management operation of the terminal 400 on the application program is simpler and more convenient, a user does not need to spend longer time and operation steps, and the operation flow of the user for checking the permission information of the target application program is simplified.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio 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. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The terminal 400 provides the user with wireless broadband internet access via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal 400 (e.g., a call signal reception sound, a 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, and the Graphics processor 4041 processes image data of a still image or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other computer-readable storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4041 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4041 and/or a backlight when the terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
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 (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs 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. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4041, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4041 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4041 are 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 may be integrated to implement the input and output functions of the terminal 400, which is not limited herein.
The interface unit 408 is an interface for connecting an external device to the terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 400 or may be used to transmit data between the terminal 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the terminal 400, connects various parts of the entire terminal 400 using various interfaces and lines, performs various functions of the terminal 400 and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the terminal 400. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal 400 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned embodiment of the rights management method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the rights management method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (13)
1. A method of rights management, comprising:
receiving a first input under the condition that a target application program running interface or a target application program icon is displayed;
displaying a menu bar in response to the first input, the menu bar including permission information that the target application has acquired;
the permission information comprises first type permission information and second type permission information, the first type permission information is permission information which is required to be in an open state when the target application program operates, and the second type permission information is permission information except the first type permission information in the permission information;
displaying the encrypted second type of authority information when the menu bar is displayed under the condition that the second type of authority information comprises private data;
after the menu bar is displayed, the method further comprises:
and changing the second type of authority information into an open state under the condition of receiving correct decryption operation.
2. The method according to claim 1, wherein the first input is a launch input for the target application in a case where the target application icon is displayed;
the displaying a menu bar in response to the first input, comprising:
in response to the first input, the target application is launched and the menu bar is displayed.
3. The method of claim 1, wherein the rights information comprises a first type of rights information and a second type of rights information; the display menu bar includes:
and displaying the menu bar, and highlighting the first type of authority information in the menu bar.
4. The method of claim 3, wherein after displaying the menu bar, the method further comprises:
under the condition that second input for closing the target application program is received, responding to the second input, closing the target application program, and changing the authority information in the open state in the acquired authority information of the target application program into the closed state.
5. The method according to claim 4, wherein the changing the rights information in the open state from the rights information acquired by the target application to the closed state comprises:
under the condition that the use frequency of the target application program is greater than a first preset frequency, the authority information in the open state in the second type of authority information acquired by the target application program is changed into the closed state;
under the condition that the use frequency of the target application program is less than a second preset frequency, all the authority information which is in an open state and is acquired by the target application program is changed into a closed state;
wherein the first preset frequency is greater than the second preset frequency.
6. The method of claim 1, wherein after displaying the menu bar, the method further comprises:
and under the condition that the use frequency of the target application program is less than a third preset frequency, outputting prompt information, wherein the prompt information is used for prompting that the permission information acquired by the target application program is changed into a closed state.
7. A terminal, comprising:
the receiving module is used for receiving first input under the condition that a target application program running interface or a target application program icon is displayed;
a display module for displaying a menu bar in response to the first input, the menu bar including the permission information that the target application has acquired;
the permission information comprises first type permission information and second type permission information, the first type permission information is permission information which is required to be in an open state when the target application program operates, and the second type permission information is permission information except the first type permission information in the permission information;
displaying the encrypted second type of authority information when the menu bar is displayed under the condition that the second type of authority information comprises private data;
the display module is further configured to:
and changing the second type of authority information into an open state under the condition of receiving correct decryption operation.
8. The terminal of claim 7, wherein the first input is a launch input for the target application in a case where the target application icon is displayed;
the display module is further configured to:
in response to the first input, the target application is launched and the menu bar is displayed.
9. The terminal of claim 7, wherein the permission information comprises a first type of permission information and a second type of permission information; the display module is further configured to:
and displaying the menu bar, and highlighting the first type of authority information in the menu bar.
10. The terminal of claim 9, wherein the terminal further comprises:
and the closing module is used for responding to a second input under the condition of receiving the second input for closing the target application program, closing the target application program and changing the authority information in the opening state in the acquired authority information of the target application program into the closing state.
11. The terminal of claim 10, wherein the shutdown module is further configured to:
under the condition that the use frequency of the target application program is greater than a first preset frequency, the authority information in the open state in the second type of authority information acquired by the target application program is changed into the closed state;
under the condition that the use frequency of the target application program is less than a second preset frequency, all the authority information which is in an open state and is acquired by the target application program is changed into a closed state;
wherein the first preset frequency is greater than the second preset frequency.
12. The terminal of claim 7, further comprising:
and the output module is used for outputting prompt information under the condition that the use frequency of the target application program is less than a third preset frequency, wherein the prompt information is used for prompting that the permission information acquired by the target application program is changed into a closed state.
13. A terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the rights management method as claimed in any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910452059.7A CN110210206B (en) | 2019-05-28 | 2019-05-28 | Authority management method and terminal |
PCT/CN2020/084791 WO2020238448A1 (en) | 2019-05-28 | 2020-04-14 | Permission management method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910452059.7A CN110210206B (en) | 2019-05-28 | 2019-05-28 | Authority management method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110210206A CN110210206A (en) | 2019-09-06 |
CN110210206B true CN110210206B (en) | 2021-04-06 |
Family
ID=67789063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910452059.7A Active CN110210206B (en) | 2019-05-28 | 2019-05-28 | Authority management method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110210206B (en) |
WO (1) | WO2020238448A1 (en) |
Families Citing this family (3)
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 |
Family Cites Families (12)
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 |
CN106169043A (en) * | 2016-06-30 | 2016-11-30 | 宇龙计算机通信科技(深圳)有限公司 | The management method of application program, managing device and terminal |
CN107979684A (en) * | 2016-10-21 | 2018-05-01 | 中兴通讯股份有限公司 | Right management method, 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 |
CN108681668B (en) * | 2018-04-18 | 2021-03-12 | Oppo广东移动通信有限公司 | Equipment manager management method and device and mobile 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 |
CN109766680B (en) * | 2018-12-27 | 2021-01-08 | 维沃移动通信有限公司 | Authority control method and terminal |
CN110210206B (en) * | 2019-05-28 | 2021-04-06 | 维沃移动通信有限公司 | Authority management method and terminal |
-
2019
- 2019-05-28 CN CN201910452059.7A patent/CN110210206B/en active Active
-
2020
- 2020-04-14 WO PCT/CN2020/084791 patent/WO2020238448A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
CN110210206A (en) | 2019-09-06 |
WO2020238448A1 (en) | 2020-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111027030B (en) | Permission setting method and terminal device | |
CN109241775B (en) | Privacy protection method and terminal | |
CN109815676B (en) | Privacy space operation method and terminal equipment | |
CN107992342B (en) | Application configuration changing method and mobile terminal | |
CN110210206B (en) | Authority management method and terminal | |
CN111163260B (en) | Camera starting method and electronic equipment | |
CN110308834B (en) | Setting method of application icon display mode and terminal | |
CN109062634B (en) | Application starting method and mobile terminal | |
CN111339515A (en) | Application program starting method and electronic equipment | |
CN111459362A (en) | Information display method, information display device, electronic apparatus, and storage medium | |
CN108710806B (en) | Terminal unlocking method and mobile terminal | |
CN111338524A (en) | Application program control method and electronic equipment | |
CN111125680A (en) | Permission setting method and terminal equipment | |
CN110908562A (en) | Icon display method and device, electronic equipment and medium | |
CN109522741B (en) | Application program permission prompting method and terminal equipment thereof | |
CN108762641B (en) | Text editing method and terminal equipment | |
CN111027107A (en) | Object display control method and electronic equipment | |
CN108153460B (en) | Icon hiding method and terminal | |
WO2021121178A1 (en) | Application startup method and electronic device | |
CN110795746B (en) | Information processing method and electronic equipment | |
CN110633045B (en) | Data processing method and electronic equipment | |
CN110096893B (en) | Object limiting method and terminal equipment | |
CN111104189A (en) | Application program control method and electronic equipment | |
CN111310250A (en) | Application sharing method and electronic equipment | |
CN111475067B (en) | Message indication method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |