CN109992941B - Authority management method and terminal equipment - Google Patents

Authority management method and terminal equipment Download PDF

Info

Publication number
CN109992941B
CN109992941B CN201910284996.6A CN201910284996A CN109992941B CN 109992941 B CN109992941 B CN 109992941B CN 201910284996 A CN201910284996 A CN 201910284996A CN 109992941 B CN109992941 B CN 109992941B
Authority
CN
China
Prior art keywords
input
permission
application control
user
responding
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
Application number
CN201910284996.6A
Other languages
Chinese (zh)
Other versions
CN109992941A (en
Inventor
彭保华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910284996.6A priority Critical patent/CN109992941B/en
Publication of CN109992941A publication Critical patent/CN109992941A/en
Application granted granted Critical
Publication of CN109992941B publication Critical patent/CN109992941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/31User authentication
    • 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/45Structures or tools for the administration of authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a permission management method and terminal equipment, wherein the method comprises the following steps: receiving a first input of a user; responding to the first input, and displaying a first permission application control; receiving a second input of the first permission application control from the user; and when the second input meets a first preset condition, allowing the first permission corresponding to the first permission application control to be used in the process of responding to the first input. Therefore, by managing the first authority corresponding to the first authority application control, the authority management of the application program is more detailed, and the flexibility of the authority management of the application program is improved.

Description

Authority management method and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for managing permissions and a terminal device.
Background
With the rapid development of terminal technology, terminal equipment has become an essential tool in people's life, and brings great convenience to various aspects of user's life. Many applications can be installed on the terminal device, and the applications can use some rights of the terminal device in the running process, such as recording rights, camera rights or storage rights, and the like.
However, in the prior art, in the process of managing the authority of the application program, if a certain authority is granted to the application program or the application is prohibited from using a certain authority, any functional object in the application program can use the authority, or any functional object in the application program is prohibited from using the authority. This results in poor flexibility in application rights management.
Disclosure of Invention
The embodiment of the invention provides a permission management method and terminal equipment, and aims to solve the problem that the flexibility of application program permission management of the terminal equipment is poor.
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 rights management method, applied to a terminal device, including:
receiving a first input of a user;
responding to the first input, and displaying a first permission application control;
receiving a second input of the first permission application control from the user;
and when the second input meets a first preset condition, allowing the first permission corresponding to the first permission application control to be used in the process of responding to the first input.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
the first receiving module is used for receiving a first input of a user;
the first display module is used for responding to the first input and displaying a first permission application control;
the second receiving module is used for receiving second input of the first permission application control from a user;
and the first permission module is used for permitting the first permission corresponding to the first permission application control to be used in the process of responding to the first input when the second input meets a first preset condition.
In a third aspect, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program that is stored in the memory and is executable on the processor, and when the computer program is executed by the processor, the steps of the rights management method are implemented.
In a fourth aspect, an 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 steps of the above-mentioned rights management method are implemented.
The authority management method of the embodiment of the invention receives a first input of a user; responding to the first input, and displaying a first permission application control; receiving a second input of the first permission application control from the user; and when the second input meets a first preset condition, allowing the first permission corresponding to the first permission application control to be used in the process of responding to the first input. Therefore, by managing the first authority corresponding to the first authority application control, the authority management of the application program is more detailed, and the flexibility of the authority management of the application program is improved.
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 flow chart of a rights management method provided by an embodiment of the invention;
FIG. 2 is a schematic diagram of a selection window provided by an embodiment of the present invention;
FIG. 3 is a second flowchart of a rights management method according to an embodiment of the invention;
fig. 4 is one of the structural diagrams of the terminal device provided in the embodiment of the present invention;
fig. 5 is a second structural diagram of a terminal device according to the embodiment of the present invention;
fig. 6 is a third structural diagram of a terminal device according to an embodiment of the present invention;
fig. 7 is a fourth structural diagram of a terminal device 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 provided by an embodiment of the present invention, and is applied to a terminal device, as shown in fig. 1, including the following steps:
step 101, receiving a first input of a user.
In this embodiment, the first input may be a single-click input, a double-click input, a slide input, a long-press input, or the like, and certainly, other inputs may also be provided, which is not limited in this embodiment.
And 102, responding to the first input, and displaying a first permission application control.
In this embodiment, the first right corresponding to the first right application control may be managed by operating the first right application control, and managing the first right may include allowing use of the first right and prohibiting use of the first right.
And 103, receiving a second input of the first permission application control from the user.
In this embodiment, the second input may be a click input on the first permission application control, or may also be an input for dragging the first permission application control. Of course, the second input may be some other input, and this embodiment is not limited thereto.
And 104, when the second input meets a first preset condition, allowing the first permission corresponding to the first permission application control to be used in the process of responding to the first input.
In this embodiment, when the second input satisfies the first preset condition, there may be a plurality of ways. For example: the first permission application control may display a permission option, and after the user clicks the permission option, the second input is considered to satisfy a first preset condition; or, a dragging operation of the first permission application control by the user may be received, and when the first permission application control is dragged to a preset position, it is determined that the second input meets the first preset condition. Of course, other conditions may be set besides the above, and this embodiment is not limited to this.
In this embodiment, the first authority may be a storage authority, a positioning authority, a camera authority, a microphone authority, or some other authority. It should be noted that the first right may also be some preset rights. For a better understanding of the whole process described above, for example: when the camera is called, the user clicks permission, and then the operation of calling the camera is responded after the user clicks permission, so that shooting can be performed, and the camera authority is used in the response process.
Therefore, by managing the first authority corresponding to the first authority application control, the authority management of the application program is more detailed, and the flexibility of the authority management of the application program is improved.
In this embodiment, the terminal Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Optionally, when the second input meets a first preset condition, in a process of responding to the first input, after allowing to use the first right corresponding to the first right application control, the method further includes:
receiving a third input of the user;
and when a second preset condition is met between the third input and the first input, allowing the first permission to be used in the process of responding to the third input.
In this embodiment, the third input may be a single-click input, a double-click input, a slide input, a long-press input, or the like, and of course, other inputs may also be provided, which is not limited in this embodiment.
In this embodiment, the second preset condition may be satisfied between the third input and the first input in various ways. For example: when a third input and a first input are inputs aiming at the same application program, a second preset condition can be considered to be met between the third input and the first input; or, when the time interval between the input time of the third input and the input time of the first input is smaller than the first preset time interval, it may be considered that the second preset condition is satisfied between the third input and the first input. Of course, other conditions may be set, and this embodiment is not limited to this.
In this embodiment, whether the first right can be used is determined according to the relationship between the third input and the first input, so that the step of operating the first right application control is omitted, and the third input meeting the second preset condition can use the first right quickly.
Optionally, a second preset condition is satisfied between the third input and the first input, and specifically includes at least one of the following:
the third input and the first input are inputs for the same application;
the third input and the first input are inputs aiming at different functional objects in the same display interface;
the third input and the first input are inputs aiming at different function objects in a preset function object group;
the third input and the first input are inputs aiming at the same function object in the same application program;
the input time of the third input and the input time of the first input are positioned in the same preset time period;
and the time interval between the input time of the third input and the input time of the first input is smaller than a first preset time interval.
In this embodiment, the function objects may be controls or links. The function object may be referred to as a content object, or some other name, and the like, and the present embodiment is not limited thereto. The above-mentioned group of functional objects may be understood as a collection of a plurality of functional objects.
In this embodiment, the preset time period may be an appropriate time period arbitrarily set. For example: the preset time period is four to six pm, and when the first input is between four and six pm and the third input is also between four and six pm, it can be considered that the second preset condition is satisfied between the third input and the first input.
In this embodiment, the first preset time interval may be an appropriate time interval set arbitrarily. For example: the first preset time interval is two hours, and when the input time of the first input is three pm and the input time of the third input is four pm, it is considered that the second preset condition is satisfied between the third input and the first input.
Referring to fig. 2, fig. 2 is a schematic diagram of a selection window according to an embodiment of the invention. As shown in fig. 2, the selection window includes "allow once", "allow this operation", "allow within application", and "prohibit". Also, after the user selects "prohibit", a popup menu may be popped up for a secondary selection, in which "prohibit once", "prohibit this operation", and "completely prohibit" are provided.
Assuming that fig. 2 is an interface for operating pop-up on the first function object, please refer to the following example for understanding.
Allowing a single: the user's operation allows the use of the rights (such as the camera rights), but the right needs to be applied again no matter the user selects the first functional object or selects the second functional object next time.
This operation is allowed: the user is allowed to use the camera authority when selecting the first functional object, the authorization is automatically obtained when the first functional object is selected next time, and the authority is required to be applied when the second functional object is selected.
Intra-application allowance: the right to use the camera anywhere within the application will be authorized.
And (3) forbidding: the three options in the disable are similar to the three in the enable because disabling this option is relatively less used by the user and therefore the three options can be dropped into the secondary menu.
In this embodiment, a plurality of second preset conditions are set, so that the third input may have a plurality of choices to satisfy the second preset conditions, thereby using the first right. In the process, the flexibility of the terminal equipment is improved. And when a second preset condition is met between the third input and the first input, the first permission can be allowed to be used, so that the step of operating the first permission application control is saved, and the purpose of quickly using the first permission is achieved.
Optionally, the same preset time period is the same preset time period on a certain day, or the same preset time period every day.
In this embodiment, the same preset time period is the same preset time period in a certain day, or the same preset time period in each day, so that the setting process can be more flexible, and the flexibility of the terminal device in use can be improved.
The authority management method of the embodiment of the invention receives a first input of a user; responding to the first input, and displaying a first permission application control; receiving a second input of the first permission application control from the user; and when the second input meets a first preset condition, allowing the first permission corresponding to the first permission application control to be used in the process of responding to the first input. Therefore, by managing the first authority corresponding to the first authority application control, the authority management of the application program is more detailed, and the flexibility of the authority management of the application program is improved.
Referring to fig. 3, fig. 3 is a flowchart of a rights management method provided in an embodiment of the present invention, and is applied to a terminal device, as shown in fig. 3, including the following steps:
step 301, receiving a first input of a user.
In this embodiment, the first input may be a single-click input, a double-click input, a slide input, a long-press input, or the like, and certainly, other inputs may also be provided, which is not limited in this embodiment.
And step 302, responding to the first input, and displaying a first permission application control.
In this embodiment, the first right corresponding to the first right application control may be managed by operating the first right application control, and managing the first right may include allowing use of the first right and prohibiting use of the first right.
And step 303, receiving a second input of the first permission application control from the user.
In this embodiment, the second input may be a click input on the first permission application control, or may also be an input for dragging the first permission application control. Of course, the second input may be some other input, and this embodiment is not limited thereto.
And 304, when the second input meets a first preset condition, allowing to use the first permission corresponding to the first permission application control in the process of responding to the first input.
In this embodiment, when the second input satisfies the first preset condition, there may be a plurality of ways. For example: the first permission application control may display a permission option, and after the user clicks the permission option, the second input is considered to satisfy a first preset condition; or, a dragging operation of the first permission application control by the user may be received, and when the first permission application control is dragged to a preset position, it is determined that the second input meets the first preset condition. Of course, other conditions may be set besides the above, and this embodiment is not limited to this.
In this embodiment, the first authority may be a storage authority, a positioning authority, a camera authority, a microphone authority, or some other authority. It should be noted that the first right may also be some preset rights. For a better understanding of the whole process described above, for example: when the camera is called, the user clicks permission, and then the operation of calling the camera is responded after the user clicks permission, so that shooting can be performed, and the camera authority is used in the response process.
Therefore, by managing the first authority corresponding to the first authority application control, the authority management of the application program is more detailed, and the flexibility of the authority management of the application program is improved.
In this embodiment, the terminal Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Optionally, the method further includes:
receiving first information;
responding to the first information, and displaying a second permission application control;
receiving a fourth input of the user to the second permission application control;
and when the fourth input meets a third preset condition, allowing the second permission corresponding to the second permission application control to be used in the process of responding to the first information.
In this embodiment, the first information is information for applying for the second authority, and the user can operate the second authority application control to determine whether the second authority can be used. The fourth input may be a click input on the second permission application control, or may also be an input for dragging the second permission application control. Of course, the fourth input may be some other input, and this embodiment is not limited thereto.
In this embodiment, when the fourth input satisfies the third preset condition, there may be a plurality of ways. For example: the second permission application control may display an allowance option, and after the user clicks the allowance option, the fourth input is considered to satisfy a third preset condition; or, a dragging operation of the second permission application control by the user may be received, and when the second permission application control is dragged to a preset position, it is determined that the fourth input meets a third preset condition. Of course, other conditions may be set besides the above, and this embodiment is not limited to this.
For example: and when the first information is received and the microphone needs to be called, the user clicks permission, and then responds to the operation of calling the microphone after the user clicks permission, so that operations such as recording can be performed, and the microphone permission is used in the response process.
In the embodiment, after the first information is received, the second permission application control can be displayed in response to the first information, so that the permission application control can be automatically popped up, the permission application control can be popped up without inputting by a user, the terminal equipment is more intelligent, and the user operation is more convenient and faster.
The authority management method of the embodiment of the invention receives a first input of a user; responding to the first input, and displaying a first permission application control; receiving a second input of the first permission application control from the user; and when the second input meets a first preset condition, allowing the first permission corresponding to the first permission application control to be used in the process of responding to the first input. Therefore, by managing the first authority corresponding to the first authority application control, the authority management of the application program is more detailed, and the flexibility of the authority management of the application program is improved.
Referring to fig. 4, fig. 4 is a structural diagram of a terminal device according to an embodiment of the present invention, which can implement details of the rights management method in the foregoing embodiment and achieve the same effects. As shown in fig. 4, the terminal device 400 includes a first receiving module 401, a first display module 402, a second receiving module 403, and a first enabling module 404, the first receiving module 401 is connected to the first display module 402, the first display module 402 is connected to the second receiving module 403, and the second receiving module 403 is connected to the first enabling module 404, wherein:
a first receiving module 401, configured to receive a first input of a user;
a first display module 402, configured to display a first permission application control in response to the first input;
a second receiving module 403, configured to receive a second input of the first permission application control from the user;
a first allowing module 404, configured to allow, when the second input meets a first preset condition, to use a first permission corresponding to the first permission application control in a process of responding to the first input.
Optionally, as shown in fig. 5, the terminal device 400 further includes:
a third receiving module 405, configured to receive a third input from the user;
a second allowing module 406, configured to allow the first right to be used in a process of responding to the third input when a second preset condition is satisfied between the third input and the first input.
Optionally, a second preset condition is satisfied between the third input and the first input, and specifically includes at least one of the following:
the third input and the first input are inputs for the same application;
the third input and the first input are inputs aiming at different functional objects in the same display interface;
the third input and the first input are inputs aiming at different function objects in a preset function object group;
the third input and the first input are inputs aiming at the same function object in the same application program;
the input time of the third input and the input time of the first input are positioned in the same preset time period;
and the time interval between the input time of the third input and the input time of the first input is smaller than a first preset time interval.
Optionally, the same preset time period is the same preset time period on a certain day, or the same preset time period every day.
Optionally, as shown in fig. 6, the terminal device 400 further includes:
a third receiving module 407, configured to receive the first information;
a second display module 408, configured to display a second permission application control in response to the first information;
a fourth receiving module 409, configured to receive a fourth input of the second permission application control from the user;
a third allowing module 410, configured to allow, when the fourth input meets a third preset condition, to use a second permission corresponding to the second permission application control in a process of responding to the first information.
The terminal device 400 can implement each process implemented by the terminal device in the above method embodiments, and is not described here again to avoid repetition.
The terminal device 400 of the embodiment of the present invention receives a first input from a user; responding to the first input, and displaying a first permission application control; receiving a second input of the first permission application control from the user; and when the second input meets a first preset condition, allowing the first permission corresponding to the first permission application control to be used in the process of responding to the first input. Therefore, by managing the first authority corresponding to the first authority application control, the authority management of the application program is more detailed, and the flexibility of the authority management of the application program is improved.
Referring to fig. 7, fig. 7 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 7 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device 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 710 is configured to control the user input unit 707 to receive a first input of a user; the control display unit 706 responds to the first input and displays a first permission application control; controlling the user input unit 707 to receive a second input of the first permission application control from the user; and when the second input meets a first preset condition, allowing the first permission corresponding to the first permission application control to be used in the process of responding to the first input. Therefore, by managing the first authority corresponding to the first authority application control, the authority management of the application program is more detailed, and the flexibility of the authority management of the application program is improved.
Optionally, the processor 710 is further configured to control the user input unit 707 to receive a third input from the user; and when a second preset condition is met between the third input and the first input, allowing the first permission to be used in the process of responding to the third input.
Optionally, a second preset condition is satisfied between the third input and the first input, and specifically includes at least one of the following: the third input and the first input are inputs for the same application; the third input and the first input are inputs aiming at different functional objects in the same display interface; the third input and the first input are inputs aiming at different function objects in a preset function object group; the third input and the first input are inputs aiming at the same function object in the same application program; the input time of the third input and the input time of the first input are positioned in the same preset time period; and the time interval between the input time of the third input and the input time of the first input is smaller than a first preset time interval.
Optionally, the same preset time period is the same preset time period on a certain day, or the same preset time period every day.
Optionally, the processor 710 is further configured to receive first information; the control display unit 706 responds to the first information and displays a second permission application control; controlling the user input unit 707 to receive a fourth input of the second permission application control from the user; and when the fourth input meets a third preset condition, allowing the second permission corresponding to the second permission application control to be used in the process of responding to the first information.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 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 701 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 702, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the terminal device 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds 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 701 in case of a phone call mode.
The terminal device 700 further comprises at least one sensor 705, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the luminance of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 7061 and/or a backlight when the terminal device 700 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 device 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 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 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 707 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 device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of 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 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although in fig. 7, the touch panel 7071 and the display panel 7061 are implemented as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the terminal apparatus 700. 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 708 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 apparatus 700 or may be used to transmit data between the terminal apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 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 709 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 710 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby performing overall monitoring of the terminal device. Processor 710 may include one or more processing units; preferably, the processor 710 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 processor 710.
The terminal device 700 may further include a power supply 711 (e.g., a battery) for supplying power to various components, and preferably, the power supply 711 may be logically connected to the processor 710 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 device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the above-mentioned rights management method embodiment, 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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A method for managing authority is applied to terminal equipment and is characterized by comprising the following steps:
receiving a first input of a user;
responding to the first input, and displaying a first permission application control;
receiving a second input of the first permission application control from the user;
when the second input meets a first preset condition, allowing a first permission corresponding to the first permission application control to be used in the process of responding to the first input;
when the second input meets a first preset condition, in the process of responding to the first input, after allowing the first permission corresponding to the first permission application control to be used, the method further comprises the following steps:
receiving a third input of the user;
when a second preset condition is met between the third input and the first input, allowing the first permission to be used in the process of responding to the third input;
a second preset condition is satisfied between the third input and the first input, and specifically at least one of the following conditions is included:
the third input and the first input are inputs for the same application;
the third input and the first input are inputs aiming at different functional objects in the same display interface;
the third input and the first input are inputs aiming at different function objects in a preset function object group;
the third input and the first input are inputs aiming at the same function object in the same application program;
the input time of the third input and the input time of the first input are positioned in the same preset time period;
the time interval between the input time of the third input and the input time of the first input is smaller than a first preset time interval;
the method further comprises the following steps:
receiving first information;
responding to the first information, and displaying a second permission application control;
receiving a fourth input of the user to the second permission application control;
when the fourth input meets a third preset condition, in the process of responding to the first information, allowing a second permission corresponding to the second permission application control to be used;
the first information is information for applying for a second authority.
2. The method according to claim 1, wherein the same preset time period is the same preset time period on a certain day or the same preset time period on each day.
3. A terminal device, comprising:
the first receiving module is used for receiving a first input of a user;
the first display module is used for responding to the first input and displaying a first permission application control;
the second receiving module is used for receiving second input of the first permission application control from a user;
the first permission module is used for permitting the first permission corresponding to the first permission application control to be used in the process of responding to the first input when the second input meets a first preset condition;
the terminal device further includes:
the third receiving module is used for receiving a third input of the user;
the second permission module is used for permitting the first permission to be used in the process of responding to the third input when a second preset condition is met between the third input and the first input;
a second preset condition is satisfied between the third input and the first input, and specifically at least one of the following conditions is included:
the third input and the first input are inputs for the same application;
the third input and the first input are inputs aiming at different functional objects in the same display interface;
the third input and the first input are inputs aiming at different function objects in a preset function object group;
the third input and the first input are inputs aiming at the same function object in the same application program;
the input time of the third input and the input time of the first input are positioned in the same preset time period;
the time interval between the input time of the third input and the input time of the first input is smaller than a first preset time interval;
the terminal device further includes:
the third receiving module is used for receiving the first information;
the second display module is used for responding to the first information and displaying a second permission application control;
the fourth receiving module is used for receiving fourth input of the user to the second permission application control;
a third permission module, configured to allow, when the fourth input meets a third preset condition, a second permission corresponding to the second permission application control to be used in a process of responding to the first information;
the first information is information for applying for a second authority.
4. The terminal device according to claim 3, wherein the same preset time period is the same preset time period on a certain day or the same preset time period on each day.
5. A terminal device 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 2.
6. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the rights management method according to any one of claims 1 to 2.
CN201910284996.6A 2019-04-10 2019-04-10 Authority management method and terminal equipment Active CN109992941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910284996.6A CN109992941B (en) 2019-04-10 2019-04-10 Authority management method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910284996.6A CN109992941B (en) 2019-04-10 2019-04-10 Authority management method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109992941A CN109992941A (en) 2019-07-09
CN109992941B true CN109992941B (en) 2021-02-12

Family

ID=67132838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910284996.6A Active CN109992941B (en) 2019-04-10 2019-04-10 Authority management method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109992941B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598382B (en) * 2019-08-13 2020-11-13 北京邮电大学 Sensitive authority control method and device and electronic equipment
CN113032766B (en) * 2021-05-26 2021-09-24 荣耀终端有限公司 Application authority management method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516701A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Data processing method and password management system
CN104298916A (en) * 2013-07-17 2015-01-21 财团法人工业技术研究院 Application management method, application management system and user device
CN106066810A (en) * 2016-05-26 2016-11-02 广东欧珀移动通信有限公司 A kind of application management method, device and mobile terminal
CN107145273A (en) * 2017-04-28 2017-09-08 努比亚技术有限公司 Application program authority configuring method and computer equipment
CN108632460A (en) * 2018-04-18 2018-10-09 Oppo广东移动通信有限公司 Right management method, device, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516701A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Data processing method and password management system
CN104298916A (en) * 2013-07-17 2015-01-21 财团法人工业技术研究院 Application management method, application management system and user device
CN106066810A (en) * 2016-05-26 2016-11-02 广东欧珀移动通信有限公司 A kind of application management method, device and mobile terminal
CN107145273A (en) * 2017-04-28 2017-09-08 努比亚技术有限公司 Application program authority configuring method and computer equipment
CN108632460A (en) * 2018-04-18 2018-10-09 Oppo广东移动通信有限公司 Right management method, device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN109992941A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
EP4047940A1 (en) Screencast control method and electronic device
CN108255378B (en) Display control method and mobile terminal
CN109194818B (en) Information processing method and terminal
CN110062105B (en) Interface display method and terminal equipment
CN109407921B (en) Application processing method and terminal device
CN109379484B (en) Information processing method and terminal
CN110837327B (en) Message viewing method and terminal
CN111027030B (en) Permission setting method and terminal device
CN110058836B (en) Audio signal output method and terminal equipment
CN109995933B (en) Method for controlling alarm clock of terminal equipment and terminal equipment
CN109032447B (en) Icon processing method and mobile terminal
CN109828705B (en) Icon display method and terminal equipment
CN110109604B (en) Application interface display method and mobile terminal
CN107992342B (en) Application configuration changing method and mobile terminal
CN108681427B (en) Access right control method and terminal equipment
CN109407948B (en) Interface display method and mobile terminal
CN110007822B (en) Interface display method and terminal equipment
CN111007976B (en) Application control method and terminal equipment
CN110049486B (en) SIM card selection method and terminal equipment
CN108920040B (en) Application icon sorting method and mobile terminal
CN110167006B (en) Method for controlling application program to use SIM card and terminal equipment
CN109522741B (en) Application program permission prompting method and terminal equipment thereof
CN110929273A (en) Permission setting method and electronic equipment
CN109992941B (en) Authority management method and terminal equipment
CN111125680A (en) Permission setting method and terminal 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