WO2020015656A1 - Mobile terminal and permission management method and device for application program - Google Patents

Mobile terminal and permission management method and device for application program Download PDF

Info

Publication number
WO2020015656A1
WO2020015656A1 PCT/CN2019/096211 CN2019096211W WO2020015656A1 WO 2020015656 A1 WO2020015656 A1 WO 2020015656A1 CN 2019096211 W CN2019096211 W CN 2019096211W WO 2020015656 A1 WO2020015656 A1 WO 2020015656A1
Authority
WO
WIPO (PCT)
Prior art keywords
permission
application
application program
floating window
management list
Prior art date
Application number
PCT/CN2019/096211
Other languages
French (fr)
Chinese (zh)
Inventor
李静
Original Assignee
奇酷互联网络科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 奇酷互联网络科技(深圳)有限公司 filed Critical 奇酷互联网络科技(深圳)有限公司
Publication of WO2020015656A1 publication Critical patent/WO2020015656A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the field of computers, and in particular, to a method and device for managing rights of a mobile terminal and an application program.
  • the main purpose of the present invention is to provide a method and a device for managing the permissions of a mobile terminal and an application, which are aimed at solving the problem that when setting permissions of an application in the prior art, it is necessary to enter a specific setting interface for setting, and the setting process takes time.
  • the invention proposes a method for managing the authority of an application, which includes:
  • step of obtaining a permission call instruction for the application program includes:
  • the step of displaying the rights management list in the form of a floating window at a specified position includes:
  • the step of displaying the permission management list in the form of a floating window at a specified position includes:
  • step of obtaining a permission call instruction for the application program includes:
  • the step of obtaining the first permission that the application needs to be opened / closed according to a user's operation instruction includes:
  • the step of generating a permission call instruction that calls the first permission is performed.
  • the method includes:
  • the authority operation set in the floating window is restored.
  • the method includes:
  • the authority operation set in the floating window is restored.
  • step of reading the permissions corresponding to the application includes:
  • the step of displaying the rights management list in the form of a floating window at a specified position includes:
  • a first right corresponding to the basic function is obtained from the right management list, and the first right corresponding to the basic function is displayed in a specified window in the form of a floating window.
  • step of displaying the permission management list in the form of a floating window at a specified position further includes:
  • This application also provides a permission management device for an application, including:
  • An obtaining unit configured to obtain a permission call instruction for the application program
  • the reading forming unit is configured to read the permission corresponding to the application according to the permission call instruction, and form the permission into a permission management list, wherein a switch for controlling each permission is set in the permission management list. ;
  • a display unit is configured to display the rights management list in a floating window in a specified position.
  • the obtaining unit includes:
  • a first determining module configured to determine whether the entry information of the application program has received a triggering operation of permission call before opening the application program
  • a first generating module is configured to generate the permission call instruction if the trigger operation is received.
  • the display unit includes:
  • a second determining module configured to determine a first position of the entry information of the application on a system desktop
  • a display module configured to display the permission management list in the form of a floating window at a second position close to or overlapping the first position.
  • the obtaining unit includes:
  • An obtaining module configured to obtain a first permission that the application needs to be opened / closed according to a user's operation instruction after the application is opened;
  • the second generating module is configured to generate a permission call instruction for invoking the first permission.
  • This application also provides a mobile terminal, including a processor and a memory,
  • the memory is configured to store a program that implements a permission management device of the application to execute the permission management method of the application according to any one of the foregoing;
  • the processor is configured to execute a program stored in the memory.
  • the mobile terminal and the permission management method and device of the application of this application when managing the permission of an application, there is no need to first enter the system setting interface, and then find the application and click the application to enter its corresponding
  • the permission management interface is used to set the permissions, but the permissions corresponding to the application are directly mapped to a permission management list and displayed in the form of a floating window, so that users can complete the permission setting of the application in the floating window to improve Speed of setting permissions for applications, reducing the processes required for users to set permissions for applications, saving users time, and improving user experience.
  • FIG. 1 is a schematic flowchart of an application program permission management method according to an embodiment of the present invention
  • FIG. 2 is a schematic block diagram of a structure of an authority management device for an application according to an embodiment of the present application
  • FIG. 3 is a schematic block diagram of a mobile terminal according to an embodiment of the present application.
  • an embodiment of the present application provides a method for managing a permission of an application, which includes steps:
  • the permission call command is a permission management command generated when the mobile terminal on which the application is installed receives a specified operation by the user, or when a permission setting is required due to the user operation.
  • the above-mentioned mobile terminal is an electronic device such as a mobile phone or a tablet computer that can execute an application program.
  • the system of the mobile terminal will find the installation package of the application according to the unique information such as the package name of the application, and then parse out the attributes and functions of the application , And then read out the various permissions that the application may need to open or close during execution.
  • Different applications may have different permissions.
  • navigation applications include GPS permissions, network permissions, voice broadcast permissions, and WeChat applications include network permissions, camera permissions, and so on.
  • all permissions corresponding to the application can be read. You can also read out some permissions based on the user ’s usage habits. For example, each time a user opens an application, certain permissions are set, and only these permissions are read. The read permissions are mapped to a permission management list, which is convenient for users to handle.
  • the above permission switch is generally the opening permission or the closing permission.
  • the floating window is a window suspended above the current interface, so that users can directly set permissions in the floating window, greatly reducing the user's process of setting application permissions and improving settings. Efficiency, improve user rights management experience.
  • the above application program when the above application program is reset in the floating window, it will be synchronized to the setting interface, that is, after the setting interface is opened, the permission setting of the application is consistent with the setting in the floating window.
  • the user also includes the following determination process: determine the basic function of the application, and display the first permission closely related to the basic function of the application during the initial opening process; for example, start navigation software, such as For Gaode maps, etc., if you need to obtain the current location information, you need to open the “location” permission.
  • start navigation software such as For Gaode maps, etc.
  • the “location” permission is used as a closely related first permission in the application.
  • this specific function belongs to the scene permissions in a certain application scenario, and as a second permission, is temporarily displayed for the user to choose, for example, using Gaode map as For example, when the camera needs to be called, the camera permission switch is temporarily displayed in suspension for the user to choose; subsequently, when the user closes the relevant specific function, the second permission is turned off; at the same time, the second permission switch is turned off Set to two states, permanent on and temporary on; When the second permission switch is called for the second time, it is displayed to the user; this prevents the first user from turning on the second permission, and the second time the user wants to turn on the second permission switch, the user is given a choice of temporarily or permanently .
  • This method can show the user the most important permission control related to the use of the basic function of the application when the user first opens the application; then, when the user occasionally calls the corresponding specific function, the specific function is corresponding
  • the second permission switch is temporarily provided to the user; and when the user turns on the second permission switch for the second time, the user is given the option to temporarily or permanently enable the permission; both the implementation of the application function and the actual user are considered. demand.
  • the above-mentioned step S1 of obtaining a permission call instruction for the application program includes:
  • the permission obtaining instruction is obtained before the application is opened.
  • the specific obtaining method is to perform a specified operation on the entry information of the application, so that the system knows which application permission to read, etc. .
  • the triggering operation of the foregoing permission retrieval includes multiple types, for example, the time for pressing the entry information of the application program is greater than a preset time threshold; or the pressure for pressing the entry information of the application program is greater than a preset pressure threshold.
  • step S3 of displaying the authority management list in the form of a floating window at a specified position includes:
  • the above floating window will be suspended on the system desktop because no application is currently open. At this time, for the convenience of operation, first obtain the entry information at the first position on the system desktop, and then set the floating window at Close to the first position or at a second position overlapping the first position.
  • the floating window when the floating window is disposed on one side of the first position, the floating window is further provided with a mark or the like pointing to its corresponding application program.
  • the floating window is displayed on the bottom of the mobile terminal, which is convenient for users to perform one-handed operation. Further, it is also determined which hand the user is holding the mobile terminal, and a floating window is set at the bottom of the system desktop of the mobile terminal, leaning to the side holding the hand of the mobile terminal, and so on.
  • the above-mentioned step S1 of obtaining a permission call instruction for the application program includes:
  • the permission obtaining instruction is obtained after the application is opened.
  • the specific obtaining method is whether the user's operation instruction can be executed normally. If it cannot be executed normally, it is judged that it cannot be executed normally. Whether it is because the corresponding first permission is not turned on / off, and if so, a permission call instruction that calls the first permission is generated, so as to put the first permission in the permission management list, and then in the form of a floating window It is displayed on the current interface. There is no need for the user to put the application into the background to run or directly jump to the setting interface to set the first permission.
  • a user opens a navigation application to view a route, because a large amount of map information is cached in the mobile terminal.
  • a planned route is automatically generated. No GPS signal is required.
  • the permission to call the GPS signal is generated in order to generate a floating window and complete the setting of the GPS signal permission in the floating window.
  • the method includes:
  • the permissions operation set in the floating window is used for restoration.
  • the permission to "get GPS signals” is not turned on, and the permission to "get GPS signals” is turned on in the floating window.
  • the navigation application is closed, Will generate a restore command to automatically turn off the permission to "get GPS signal permission” and so on.
  • the method includes:
  • the authority operation set in the floating window is restored.
  • the use frequency of the above-mentioned application program in the system foreground refers to the frequency that the above-mentioned application program is opened and used in the system foreground.
  • it is necessary to obtain the frequency of use of the application in the system foreground because although some application users are not opened in the system foreground, they will be pulled in the system background by push advertisements sent by the server corresponding to the application From then on, although the above application program is used, it is used in the background of the system and will not be used to calculate the frequency of use in this application. If the application is used frequently, the permission to open or close in the floating window may be the permission mode that the user wants to fix for a long time.
  • the permissions set in the floating box will be restored after exiting the application. It will contradict the user's assumptions, so it will not be restored. If the application is used relatively infrequently, the permission to open or close in the floating window may be the user's current permission mode. In this case, the permissions set in the floating box will be restored after exiting the application. , Will improve the user experience.
  • the interface sets permissions, but directly maps the permissions corresponding to the application to a permission management list and displays them in the form of a floating window, so that users can complete the permission setting of the application in the floating window and improve the application program.
  • the speed of setting permissions reduces the processes required for users to set permissions on applications, saves users time, and improves user experience.
  • an embodiment of the present application further provides an authority management device for an application program, including:
  • An obtaining unit 10 configured to obtain a permission call instruction for the application program
  • the reading forming unit 20 is configured to read a permission corresponding to the application according to the permission call instruction, and form the permission into a permission management list.
  • the permission management list is provided with a control for each permission. switch;
  • the display unit 30 is configured to display the rights management list in a floating window in a specified position.
  • the authority obtaining command is a authority management command generated when the mobile terminal on which the application is installed receives a user-specified operation, or when the authority setting is required due to the user operation.
  • the above-mentioned mobile terminal is an electronic device such as a mobile phone or a tablet computer that can execute an application program.
  • the system of the mobile terminal finds the installation package of the application according to the unique information such as the package name of the application, and then parses out the attributes of the application And functions to read out multiple permissions that the application may need to open or close during execution.
  • Different applications may have different permissions.
  • navigation applications include GPS permissions, network permissions, and voice broadcast permissions
  • WeChat applications include network permissions, camera permissions, and so on.
  • all permissions corresponding to the application can be read.
  • the above permission switch is generally the opening permission or the closing permission.
  • the floating window is a window suspended above the current interface, so that users can directly set permissions in the floating window, which greatly reduces the user's process of setting application permissions and improves settings. Efficiency, improve user rights management experience.
  • the above application program when the above application program is reset in the floating window, it will be synchronized to the setting interface, that is, after the setting interface is opened, the permission setting of the application is consistent with the setting in the floating window.
  • an initial management unit which is used to determine the basic functions of the application, and displays the first permission closely related to the basic functions of the application during the initial opening process; for example, enabling navigation Software, such as Gaode maps, needs to open the “location” permission to obtain the current location information.
  • the “location” permission related to the basic functions of the application is used as a closely related first permission. After the application is opened, it is highlighted; subsequent specific functions are triggered in the application; this specific function belongs to the scene permissions under a certain application scenario, and is temporarily displayed as a second permission for the user to choose.
  • the camera permission switch is temporarily displayed for the user to choose; in the case of the user closing the related specific function, the second permission is closed; at the same time, the first The two permission switches are set to two states, permanently on and temporarily on; When the user calls the second permission switch for the second time, it is displayed to the user; this prevents the first user from turning on the second permission, and the second time the user wants to turn on the second permission switch, giving the user a temporary or permanent permission s Choice.
  • This method can show the user the most important permission control related to the use of the basic function of the application when the user first opens the application; then, when the user occasionally calls the corresponding specific function, the specific function is corresponding
  • the second permission switch is temporarily provided to the user; and when the user turns on the second permission switch for the second time, the user is given the option to temporarily or permanently enable the permission; both the implementation of the application function and the actual user are considered. demand.
  • the obtaining unit 10 includes:
  • a first determining module configured to determine whether the entry information of the application program has received a triggering operation of permission call before opening the application program
  • a first generating module is configured to generate the permission call instruction if the trigger operation is received.
  • the permission obtaining instruction is obtained before the application is opened.
  • the specific obtaining method is to perform a specified operation on the entry information of the application, so that the system knows which application permission to read, etc. .
  • the triggering operation of the foregoing permission retrieval includes multiple types, for example, the time for pressing the entry information of the application program is greater than a preset time threshold; or the pressure for pressing the entry information of the application program is greater than a preset pressure threshold.
  • the display unit 30 includes:
  • a second determining module configured to determine a first position of the entry information of the application on a system desktop
  • a display module configured to display the permission management list in the form of a floating window at a second position close to or overlapping the first position.
  • the above floating window will be suspended on the system desktop because no application is currently open. At this time, for the convenience of operation, first obtain the entry information at the first position on the system desktop, and then set the floating window at Close to the first position or at a second position overlapping the first position.
  • the floating window when the floating window is disposed on one side of the first position, the floating window is further provided with a mark or the like pointing to its corresponding application program.
  • the floating window is displayed on the bottom of the mobile terminal, which is convenient for users to perform one-handed operation. Further, it is also determined which hand the user is holding the mobile terminal, and a floating window is set at the bottom of the system desktop of the mobile terminal, leaning to the side holding the hand of the mobile terminal, and so on.
  • the obtaining unit 10 includes:
  • An obtaining module configured to obtain a first permission that the application needs to be opened / closed according to a user's operation instruction after the application is opened;
  • the second generating module is configured to generate a permission call instruction for invoking the first permission.
  • the permission obtaining instruction is obtained after the application is opened.
  • the specific obtaining method is whether the user's operation instruction can be executed normally. If it cannot be executed normally, it is judged that it cannot be executed normally. Whether it is because the corresponding first permission is not turned on / off, and if so, a permission call instruction that calls the first permission is generated, so as to put the first permission in the permission management list, and then in the form of a floating window It is displayed on the current interface. There is no need for the user to put the application into the background to run or directly jump to the setting interface to set the first permission.
  • a user opens a navigation application to view a route, because a large amount of map information is cached in the mobile terminal.
  • a planned route is automatically generated. No GPS signal is required.
  • the permission to call the GPS signal is generated in order to generate a floating window and complete the setting of the GPS signal permission in the floating window.
  • the device for managing rights of the application further includes:
  • Closing the generating unit configured to generate a recovery command when the application is closed
  • the restoration unit is configured to restore the authority operation set in the floating window according to the restoration command.
  • the permission operation set in the floating window is used for restoration.
  • the permission to "get GPS signals” is not turned on, and the permission to "get GPS signals” is turned on in the floating window.
  • the navigation application is closed, Will generate a restore command to automatically turn off the permission to "get GPS signal permission” and so on.
  • the above-mentioned application rights management device further includes:
  • a frequency judging unit configured to judge a use frequency of the application program in the foreground of the system
  • Closing the generating unit configured to generate a recovery command when the application is closed if the frequency of use is less than a preset frequency threshold
  • the restoration unit is configured to restore the authority operation set in the floating window according to the restoration command.
  • the use frequency of the above-mentioned application program in the system foreground refers to the frequency that the above-mentioned application program is opened and used in the system foreground.
  • it is necessary to obtain the frequency of use of the application in the system foreground because although some application users are not opened in the system foreground, they will be pulled in the system background by push advertisements sent by the server corresponding to the application From then on, although the above application program is used, it is used in the background of the system and will not be used to calculate the frequency of use in this application. If the application is used frequently, the permission to open or close in the floating window may be the permission mode that the user wants to fix for a long time.
  • the permissions set in the floating box will be restored after exiting the application. It will contradict the user's assumptions, so it will not be restored. If the application is used relatively infrequently, the permission to open or close in the floating window may be the user's current permission mode. In this case, the permissions set in the floating box will be restored after exiting the application. , Will improve the user experience.
  • the authority management device of the application in the embodiment of the present application does not need to first enter the system setting interface when managing the authority of an application, and then finds the application and clicks the application to enter its corresponding authority management.
  • the interface sets permissions, but directly maps the permissions corresponding to the application to a permission management list and displays them in the form of a floating window, so that users can complete the permission setting of the application in the floating window and improve the application program.
  • the speed of setting permissions reduces the processes required for users to set permissions on applications, saves users time, and improves user experience.
  • an embodiment of the present invention further provides a mobile terminal, including a processor 1080 and a memory 1020, where the memory 1020 is configured to store a program for a permission management device of an application program to execute the permission management method of the foregoing application program;
  • the processor 1080 is configured to execute a program stored in the memory.
  • the mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), and a vehicle-mounted computer.
  • a mobile phone a mobile phone
  • PDA Personal Digital Assistant
  • POS Point of Sales
  • FIG. 3 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention.
  • the mobile phone includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, and a processor 1080 , And power supply 1090 and other components.
  • RF radio frequency
  • the RF circuit 1010 can be used for receiving and transmitting signals during information transmission and reception or during a call.
  • the downlink information of the base station is received and processed by the processor 1080; in addition, the uplink data of the design is transmitted to the base station.
  • the RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • the RF circuit 1010 can also communicate with a network and other devices through wireless communication.
  • the above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division Multiple Access) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory 1020 may be used to store software programs and modules.
  • the processor 1080 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1020.
  • the memory 1020 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 1020 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage device.
  • the input unit 1030 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the mobile phone.
  • the input unit 1030 may include a touch panel 1031 and other input devices 1032.
  • Touch panel 1031 also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 1031 or near touch panel 1031 Operation), and drive the corresponding connection device according to a preset program.
  • the touch panel 1031 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 1080, and can receive the commands sent by the processor 1080 and execute them.
  • various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 1031.
  • the input unit 1030 may include other input devices 1032.
  • other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, an operation lever, and the like.
  • the display unit 1040 may be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 1040 may include a display panel 1041, and optionally, the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1031 may cover the display panel 1041. When the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch panel 1031 transmits the touch operation to the processor 1080 to determine the type of the touch event. The type provides corresponding visual output on the display panel 1041.
  • the touch panel 1031 and the display panel 1041 are implemented as two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 1031 and the display panel 1041 can be integrated and Realize the input and output functions of the mobile phone.
  • the mobile phone may further include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor.
  • the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light.
  • the proximity sensor may close the display panel 1041 and / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary.
  • the mobile phone can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; as for the mobile phone can also be equipped with gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors, no longer here To repeat.
  • attitude of mobile phones such as horizontal and vertical screen switching, Games, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tap
  • the mobile phone can also be equipped with gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors, no longer here To repeat.
  • the audio circuit 1060, the speaker 1061, and the microphone 1062 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 1060 can transmit the received electrical data converted electrical signal to the speaker 1061, and the speaker 1061 converts the sound signal to an audio signal output.
  • the microphone 1062 converts the collected sound signal into an electrical signal, and the audio circuit 1060 After receiving, it is converted into audio data, and then the audio data is output to the processor 1080 for processing, and then sent to, for example, another mobile phone via the RF circuit 1010, or the audio data is output to the memory 1020 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1070. It provides users with wireless broadband Internet access.
  • FIG. 3 shows the WiFi module 1070, it can be understood that it does not belong to the necessary configuration of the mobile phone, and can be omitted as needed without changing the essence of the invention.
  • the processor 1080 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone.
  • the processor 1080 runs or executes software programs and / or modules stored in the memory 1020, and calls data stored in the memory 1020 to execute.
  • Various functions and processing data of the mobile phone so as to monitor the mobile phone as a whole.
  • the processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1080.
  • the mobile phone also includes a power supply 1090 (such as a battery) for supplying power to various components.
  • a power supply 1090 (such as a battery) for supplying power to various components.
  • the power supply can be logically connected to the processor 1080 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 1080 included in the mobile terminal also has the following functions:
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • the program may be stored in a computer-readable storage medium.
  • the medium may be a read-only memory, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

Disclosed by the present invention are a mobile terminal and a permission management method and device for an application program, wherein the method comprises: obtaining a permission retrieval instruction for the application program; reading, according to the permission retrieval instruction, permissions corresponding to the application program and forming the permissions into a permission management list, wherein switches for controlling each permission are provided in the permission management list; and displaying the permission management list at a specified position in a form of a floating window. According to the present application, when the permission of an application program is subjected to management, it is unnecessary to enter a setting interface of a system, and the permission corresponding to the application program is directly mapped to a permission management list and displayed in a form of a floating window, so that a user can complete permission setting of the application program in the floating window. Thus, the permission setting speed of the application program is improved, the process required for the user to set the permission of the application program is reduced, the time of the user is saved and the user experience is improved.

Description

移动终端和应用程序的权限管理方法、装置Method and device for managing rights of mobile terminal and application program 【技术领域】[Technical Field]
本发明涉及到计算机领域,特别是涉及到一种移动终端和应用程序的权限管理方法、装置。The present invention relates to the field of computers, and in particular, to a method and device for managing rights of a mobile terminal and an application program.
【背景技术】【Background technique】
以往我们设置应用程序的网络权限、数据库访问权限、摄像头使用权限等,需要从设置中不同的入口进入,且需多次查找相关权限入口进行操作,操作很复杂。所以如何简单、快速地设置应用程序的访问权限,是亟需解决的问题。In the past, we set the application's network permissions, database access permissions, camera usage permissions, etc., which need to be entered from different entrances in the settings, and it is necessary to find the relevant permission entries multiple times for operation, which is very complicated. So how to easily and quickly set the access permissions of the application is an urgent problem.
【发明内容】[Summary of the Invention]
本发明的主要目的为提供移动终端和应用程序的权限管理方法、装置,旨在解决现有技术中设置应用程序的权限时,需要进入具体的设置界面进行设置,设置流程耗时的问题。The main purpose of the present invention is to provide a method and a device for managing the permissions of a mobile terminal and an application, which are aimed at solving the problem that when setting permissions of an application in the prior art, it is necessary to enter a specific setting interface for setting, and the setting process takes time.
本发明提出一种应用程序的权限管理方法,包括:The invention proposes a method for managing the authority of an application, which includes:
获取针对所述应用程序的权限调取指令;Obtaining a permission call instruction for the application;
根据所述权限调取指令,读取所述应用程序对应的权限,并将所述权限形成权限管理列表,其中,所述权限管理列表中设置有控制各权限的开关;Reading the permissions corresponding to the application according to the permission calling instruction, and forming the permissions into a permission management list, wherein a switch for controlling each permission is set in the permission management list;
将所述权限管理列表以悬浮窗的形式显示在指定位置。Displaying the rights management list in the form of a floating window at a specified position.
进一步地,所述获取针对所述应用程序的权限调取指令的步骤,包括:Further, the step of obtaining a permission call instruction for the application program includes:
在打开所述应用程序之前,判断所述应用程序的入口信息是否接收到权限调取的触发操作;Before opening the application program, determining whether the entry information of the application program has received a trigger operation of permission call;
若是,则生成所述权限调取指令。If yes, the authority call instruction is generated.
进一步地,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤,包括:Further, the step of displaying the rights management list in the form of a floating window at a specified position includes:
判断所述应用程序的入口信息在系统桌面上的第一位置;Determine the first position of the entry information of the application on the system desktop;
将所述权限管理列表以悬浮窗的形式显示在靠近或重叠所述第一位置的第二位置。Displaying the rights management list in the form of a floating window at a second position close to or overlapping the first position.
进一步地,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步 骤,包括:Further, the step of displaying the permission management list in the form of a floating window at a specified position includes:
将所述权限管理列表以悬浮窗的形式显示在所述系统桌面的底部。Displaying the rights management list in the form of a floating window at the bottom of the system desktop.
进一步地,所述获取针对所述应用程序的权限调取指令的步骤,包括:Further, the step of obtaining a permission call instruction for the application program includes:
在打开所述应用程序之后,根据用户的操作指令,获取所述应用程序需要开启/关闭的第一权限;After opening the application, obtaining a first permission that the application needs to be opened / closed according to a user's operation instruction;
生成调用所述第一权限的权限调取指令。Generate a permission call instruction that calls the first permission.
进一步地,所述在打开所述应用程序之后,根据用户的操作指令,获取所述应用程序需要开启/关闭的第一权限的步骤,包括:Further, after the application is opened, the step of obtaining the first permission that the application needs to be opened / closed according to a user's operation instruction includes:
在打开所述应用程序之后,执行所述用户的操作指令,并判断所述操作指令是否能够正常执行;After opening the application, executing the operation instruction of the user, and determining whether the operation instruction can be normally executed;
若不能正常执行,则判断所述不能正常执行的原因是否为相应的第一权限没有开启/关闭;If the execution fails, determine whether the reason for the failure is that the corresponding first authority is not enabled / disabled;
若能正常执行,则执行所述生成调用所述第一权限的权限调取指令的步骤。If it can be executed normally, the step of generating a permission call instruction that calls the first permission is performed.
进一步地,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤之后,包括:Further, after the step of displaying the rights management list in the form of a floating window at a specified position, the method includes:
关闭所述应用程序时生成恢复命令;Generating a recovery command when the application is closed;
根据所述恢复命令,将在所述悬浮窗中设定的权限操作复原。According to the restoration command, the authority operation set in the floating window is restored.
进一步地,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤之后,包括:Further, after the step of displaying the rights management list in the form of a floating window at a specified position, the method includes:
判断所述应用程序在系统前台的使用频率;Judging the use frequency of the application program in the foreground of the system;
如果所述使用频率小于预设的频率阈值,则在关闭所述应用程序时生成恢复命令;If the use frequency is less than a preset frequency threshold, generating a recovery command when the application is closed;
根据所述恢复命令,将在所述悬浮窗中设定的权限操作复原。According to the restoration command, the authority operation set in the floating window is restored.
进一步地,所述读取所述应用程序对应的权限的步骤,包括:Further, the step of reading the permissions corresponding to the application includes:
查找所述应用程序的安装包;Find the installation package of the application;
从所述安装包中获取所述应用程序的属性和功能;Obtaining attributes and functions of the application from the installation package;
根据所述属性和功能读取所述应用程序在执行时需要打开或关闭的多种权限。Read multiple permissions that need to be opened or closed when the application is executed according to the attributes and functions.
进一步地,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤,包括:Further, the step of displaying the rights management list in the form of a floating window at a specified position includes:
获取所述应用程序的基本功能;Obtaining basic functions of the application;
从所述权限管理列表中获取与所述基本功能对应的第一权限,并将与所述基本功能对应的第一权限以悬浮窗的形式显示在指定位置。A first right corresponding to the basic function is obtained from the right management list, and the first right corresponding to the basic function is displayed in a specified window in the form of a floating window.
进一步地,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤,还包括:Further, the step of displaying the permission management list in the form of a floating window at a specified position further includes:
获取所述应用程序被触发的特定功能;Obtaining a specific function triggered by the application;
从所述权限管理列表中获取与所述特定功能对应的第二权限,并将与所述特定功能对应的第二权限以悬浮窗的形式显示在指定位置。Obtain a second right corresponding to the specific function from the right management list, and display the second right corresponding to the specific function in a specified window in the form of a floating window.
本申请还提供一种应用程序的权限管理装置,包括:This application also provides a permission management device for an application, including:
获取单元,用于获取针对所述应用程序的权限调取指令;An obtaining unit, configured to obtain a permission call instruction for the application program;
读取形成单元,用于根据所述权限调取指令,读取所述应用程序对应的权限,并将所述权限形成权限管理列表,其中,所述权限管理列表中设置有控制各权限的开关;The reading forming unit is configured to read the permission corresponding to the application according to the permission call instruction, and form the permission into a permission management list, wherein a switch for controlling each permission is set in the permission management list. ;
显示单元,用于将所述权限管理列表以悬浮窗的形式显示在指定位置。A display unit is configured to display the rights management list in a floating window in a specified position.
进一步地,所述获取单元,包括:Further, the obtaining unit includes:
第一判断模块,用于在打开所述应用程序之前,判断所述应用程序的入口信息是否接收到权限调取的触发操作;A first determining module, configured to determine whether the entry information of the application program has received a triggering operation of permission call before opening the application program;
第一生成模块,用于若接收到所述触发操作,则生成所述权限调取指令。A first generating module is configured to generate the permission call instruction if the trigger operation is received.
进一步地,所述显示单元,包括:Further, the display unit includes:
第二判断模块,用于判断所述应用程序的入口信息在系统桌面上的第一位置;A second determining module, configured to determine a first position of the entry information of the application on a system desktop;
显示模块,用于将所述权限管理列表以悬浮窗的形式显示在靠近或重叠所述第一位置的第二位置。A display module, configured to display the permission management list in the form of a floating window at a second position close to or overlapping the first position.
进一步地,所述获取单元,包括:Further, the obtaining unit includes:
获取模块,用于在打开所述应用程序之后,根据用户的操作指令,获取所述应用程序需要开启/关闭的第一权限;An obtaining module, configured to obtain a first permission that the application needs to be opened / closed according to a user's operation instruction after the application is opened;
第二生成模块,用于生成调用所述第一权限的权限调取指令。The second generating module is configured to generate a permission call instruction for invoking the first permission.
本申请还提供一种移动终端,包括处理器和存储器,This application also provides a mobile terminal, including a processor and a memory,
所述存储器用于存储实现应用程序的权限管理装置执行上述任一项所述的应用程序的权限管理方法的程序;The memory is configured to store a program that implements a permission management device of the application to execute the permission management method of the application according to any one of the foregoing;
所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute a program stored in the memory.
本申请的移动终端和应用程序的权限管理方法、装置,在对某个应用程序 的权限进行管理时,无需先进入系统的设置界面,然后查找到该应用程序之后点击该应用程序进入到其对应的权限管理界面进行权限设置,而是直接将该应用程序对应的权限映射到一个权限管理列表中,并以悬浮窗的形式显示,使用户可以在悬浮窗内完成该应用程序的权限设置,提高对应用程序的权限设置的速度,减少用户对应用程序的权限设置所需要的流程,节约用户的时间,提高用户的体验。The mobile terminal and the permission management method and device of the application of this application, when managing the permission of an application, there is no need to first enter the system setting interface, and then find the application and click the application to enter its corresponding The permission management interface is used to set the permissions, but the permissions corresponding to the application are directly mapped to a permission management list and displayed in the form of a floating window, so that users can complete the permission setting of the application in the floating window to improve Speed of setting permissions for applications, reducing the processes required for users to set permissions for applications, saving users time, and improving user experience.
【附图说明】[Brief Description of the Drawings]
图1为本发明一实施例的应用程序的权限管理方法的流程示意图;FIG. 1 is a schematic flowchart of an application program permission management method according to an embodiment of the present invention; FIG.
图2为本申请一实施例的应用程序的权限管理装置的结构示意框图;2 is a schematic block diagram of a structure of an authority management device for an application according to an embodiment of the present application;
图3为本申请一实施例的移动终端的结构示意框图。FIG. 3 is a schematic block diagram of a mobile terminal according to an embodiment of the present application.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional characteristics and advantages of the present invention will be further explained with reference to the embodiments and the drawings.
【具体实施方式】【detailed description】
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
参照图1,本申请实施例提供一种应用程序的权限管理方法,包括步骤:Referring to FIG. 1, an embodiment of the present application provides a method for managing a permission of an application, which includes steps:
S1、获取针对所述应用程序的权限调取指令;S1. Obtain a permission call instruction for the application;
S2、根据所述权限调取指令,读取所述应用程序对应的权限,并将所述权限形成权限管理列表,其中,所述权限管理列表中设置有控制各权限的开关;S2. Read the permissions corresponding to the application according to the permission call instruction, and form the permissions into a permission management list, where a switch for controlling each permission is set in the permission management list;
S3、将所述权限管理列表以悬浮窗的形式显示在指定位置。S3. Display the rights management list in the form of a floating window at a specified position.
如上述步骤S1所述,上述权限调取命令是安装上述应用程序的移动终端接收到用户的指定操作,或因用户操作而产生某些需要权限设置时所生成的权限管理命令。上述移动终端是如手机、平板电脑等可以执行应用程序的电子设备。As described in step S1 above, the permission call command is a permission management command generated when the mobile terminal on which the application is installed receives a specified operation by the user, or when a permission setting is required due to the user operation. The above-mentioned mobile terminal is an electronic device such as a mobile phone or a tablet computer that can execute an application program.
如上述步骤S2所述,当获取到权限调取命令之后,移动终端的系统会根据上述应用程序的包名等唯一信息,查找到应用程序的安装包,然后解析出该应用程序的属性和功能,进而读取出该应用程序在执行时可能需要打开或关闭的多种权限。不同的应用程序可能对应的权限不同,比如,导航应用程序对应的 权限包括GPS权限、网络权限、语音播报权限等,而微信应用程序对应的权限包括网络权限、摄像头权限等。本实施例中,可以读取出应用程序对应的全部权限。也可以根据用户的使用习惯等读取出部分权限,比如,用户每次打开某个应用程序,都会对某些权限进行设置,则只读取这些权限等。将读取出的权限映射到一个权限管理列表中,方便用户集中处理等。上述权限开关一般为打开权限或则关闭权。As described in step S2 above, after obtaining the permission call command, the system of the mobile terminal will find the installation package of the application according to the unique information such as the package name of the application, and then parse out the attributes and functions of the application , And then read out the various permissions that the application may need to open or close during execution. Different applications may have different permissions. For example, navigation applications include GPS permissions, network permissions, voice broadcast permissions, and WeChat applications include network permissions, camera permissions, and so on. In this embodiment, all permissions corresponding to the application can be read. You can also read out some permissions based on the user ’s usage habits. For example, each time a user opens an application, certain permissions are set, and only these permissions are read. The read permissions are mapped to a permission management list, which is convenient for users to handle. The above permission switch is generally the opening permission or the closing permission.
如上述步骤S3所述,上述悬浮窗即为悬浮在当前的界面之上的一个窗口,使用户直接可以在悬浮窗口中进行权限设置,大大地减少了用户设置应用程序的权限的流程,提高设置效率,提高用户的权限管理体验。在本实施例中,当上述应用程序在悬浮窗中被重新设置的时候,会同步到设置界面,即打开设置界面后,该应用程序的权限的设置与悬浮窗中的设置保持一致。As mentioned in step S3 above, the floating window is a window suspended above the current interface, so that users can directly set permissions in the floating window, greatly reducing the user's process of setting application permissions and improving settings. Efficiency, improve user rights management experience. In this embodiment, when the above application program is reset in the floating window, it will be synchronized to the setting interface, that is, after the setting interface is opened, the permission setting of the application is consistent with the setting in the floating window.
为了进一步方便用户的操作,还包括如下判定过程:判定应用程序的基本功能,并在初次开启过程中,将与应用程序基本功能密切相关的第一权限显示出来;例如,开启导航类软件,如高德地图等,需要获取当前位置信息,则需要将“定位”这一权限开放,则在用户开启此应用程序的基本功能相关的“定位”权限作为一个密切相关的第一权限,在应用程序开启后,突出显示出来;后续在应用程序触发特定功能;此特定功能的属于在一定应用场景下的场景权限,作为第二权限,临时显示出来,供用户选择,例如,还以高德地图为例,在需要调取摄像头的情况下,临时将摄像头权限的开关悬浮显示出来供用户进行选择;后续在用户关闭相关特定功能的情况下,把第二权限进行关闭;同时,将第二权限开关设置为两种状态,永久开启和临时开启;在用户第二次调用该第二权限开关时,展示给用户;这样避免第一次用户开启第二权限,第二次用户又想开启第二权限开关时,给用户一个临时开启权限还是永久开启权限的选择。In order to further facilitate the user's operation, it also includes the following determination process: determine the basic function of the application, and display the first permission closely related to the basic function of the application during the initial opening process; for example, start navigation software, such as For Gaode maps, etc., if you need to obtain the current location information, you need to open the “location” permission. When the user opens the basic function of the application, the “location” permission is used as a closely related first permission in the application. After opening it, it is highlighted; subsequent triggering of a specific function in the application; this specific function belongs to the scene permissions in a certain application scenario, and as a second permission, is temporarily displayed for the user to choose, for example, using Gaode map as For example, when the camera needs to be called, the camera permission switch is temporarily displayed in suspension for the user to choose; subsequently, when the user closes the relevant specific function, the second permission is turned off; at the same time, the second permission switch is turned off Set to two states, permanent on and temporary on; When the second permission switch is called for the second time, it is displayed to the user; this prevents the first user from turning on the second permission, and the second time the user wants to turn on the second permission switch, the user is given a choice of temporarily or permanently .
这种方式能够在用户第一次开启应用程序时,将最重要的涉及到应用程序基本功能使用的权限控制展现给用户;然后在用户偶尔调取相应的特定功能的情况下,将特定功能对应的第二权限开关,临时提供给用户;并且在用户第二次开启第二权限开关时,给用户临时开启权限还是永久开启权限的选择;既考虑了应用程序的功能实现,也考虑了用户实际需求。This method can show the user the most important permission control related to the use of the basic function of the application when the user first opens the application; then, when the user occasionally calls the corresponding specific function, the specific function is corresponding The second permission switch is temporarily provided to the user; and when the user turns on the second permission switch for the second time, the user is given the option to temporarily or permanently enable the permission; both the implementation of the application function and the actual user are considered. demand.
在一个实施例中,上述获取针对所述应用程序的权限调取指令的步骤S1,包括:In one embodiment, the above-mentioned step S1 of obtaining a permission call instruction for the application program includes:
S101、在打开所述应用程序之前,判断所述应用程序的入口信息是否接收到权限调取的触发操作;S101. Before opening the application program, determine whether the entry information of the application program has received a trigger operation of permission call;
S102、若是,则生成所述权限调取指令。S102. If yes, generate the permission call instruction.
本实施例中,上述权限调取指令是在打开应用程序之前获取到的,具体的获取方法是对上述应用程序的入口信息进行指定的操作,以便于系统知道读取哪一个应用程序的权限等。上述权限调取的触发操作包括多种,比如,按压应用程序的入口信息的时间大于预设的时间阈值;或者,按压应用程序的入口信息的压力大于预设的压力阈值等。In this embodiment, the permission obtaining instruction is obtained before the application is opened. The specific obtaining method is to perform a specified operation on the entry information of the application, so that the system knows which application permission to read, etc. . The triggering operation of the foregoing permission retrieval includes multiple types, for example, the time for pressing the entry information of the application program is greater than a preset time threshold; or the pressure for pressing the entry information of the application program is greater than a preset pressure threshold.
在本实施例中,上述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤S3,包括:In this embodiment, the above-mentioned step S3 of displaying the authority management list in the form of a floating window at a specified position includes:
S31、判断所述应用程序的入口信息在系统桌面上的第一位置;S31. Determine the first position of the entry information of the application on the system desktop;
S32、将所述权限管理列表以悬浮窗的形式显示在靠近或重叠所述第一位置的第二位置。S32. Display the rights management list in the form of a floating window at a second position close to or overlapping the first position.
本实施例中,因为当前还没有打开应用程序,所以上述悬浮窗会悬浮在系统桌面上,此时,为了方便操作,先获取到入口信息在系统桌面的第一位置,然后将悬浮窗设置在靠近第一位置或重叠于第一位置的第二位置处。在一个具体实施例中,当悬浮窗设置在第一位置的一侧的时候,悬浮窗还会设置有指向其对应的应用程序的标记等。In this embodiment, the above floating window will be suspended on the system desktop because no application is currently open. At this time, for the convenience of operation, first obtain the entry information at the first position on the system desktop, and then set the floating window at Close to the first position or at a second position overlapping the first position. In a specific embodiment, when the floating window is disposed on one side of the first position, the floating window is further provided with a mark or the like pointing to its corresponding application program.
在另一个实时中,上述悬浮窗在移动终端的底部显示,方便用户进行单手操作。进一步地,还会判断用户是哪一只手握持所述移动终端,并将悬浮窗设置在移动终端的系统桌面底部,靠向握持移动终端的手的一侧等。In another real time, the floating window is displayed on the bottom of the mobile terminal, which is convenient for users to perform one-handed operation. Further, it is also determined which hand the user is holding the mobile terminal, and a floating window is set at the bottom of the system desktop of the mobile terminal, leaning to the side holding the hand of the mobile terminal, and so on.
在一个实施例中,上述获取针对所述应用程序的权限调取指令的步骤S1,包括:In one embodiment, the above-mentioned step S1 of obtaining a permission call instruction for the application program includes:
S111、在打开所述应用程序之后,根据用户的操作指令,获取所述应用程序需要开启/关闭的第一权限;S111. After opening the application, according to a user operation instruction, obtain a first permission that the application needs to be opened / closed;
S112、生成调用所述第一权限的权限调取指令。S112. Generate a permission call instruction to call the first permission.
在本实施例中,上述权限调取指令是在打开应用程序之后获取到的,具体的获取方法是执行所述用户的操作指令时,是否可以正常执行,如果不能正常执行,则判断不能正常执行是否是因为相应的第一权限没有打开/关闭,如果是,则生成调用所述第一权限的权限调取指令,以便于将第一权限放入到权限管理列表中,然后以悬浮窗的形式显示在当前界面之上,无需用户将应用程序放入 到后台运行或者直接跳转到设置界面对第一权限进行设定。在一个具体实施例中,用户打开导航应用程序,查看路线,因为移动终端中缓存有大量的地图信息,所述查看路线,只需要输入起始点和终点,然后就会自动生成规划的路线,此时不需要GPS信号,当用户选择按照规划的路线进行导航的时候,如果该导航应用程序调取GPS信号的权限被关闭,则需要将该权限重新打开,此时,当发出按照规划的路线进行导航的命令时,即会生成调用“调取GPS信号的权限”的权限调取指令,以便于生成悬浮窗以及在悬浮窗中完成对GPS信号的权限的设置。In this embodiment, the permission obtaining instruction is obtained after the application is opened. The specific obtaining method is whether the user's operation instruction can be executed normally. If it cannot be executed normally, it is judged that it cannot be executed normally. Whether it is because the corresponding first permission is not turned on / off, and if so, a permission call instruction that calls the first permission is generated, so as to put the first permission in the permission management list, and then in the form of a floating window It is displayed on the current interface. There is no need for the user to put the application into the background to run or directly jump to the setting interface to set the first permission. In a specific embodiment, a user opens a navigation application to view a route, because a large amount of map information is cached in the mobile terminal. To view a route, only a start point and an end point need to be input, and then a planned route is automatically generated. No GPS signal is required. When the user chooses to follow the planned route for navigation, if the navigation application's permission to retrieve GPS signals is turned off, the permission needs to be re-opened. At this time, when issuing according to the planned route When the navigation command is issued, a permission call instruction called "the permission to call the GPS signal" is generated in order to generate a floating window and complete the setting of the GPS signal permission in the floating window.
在一个实施例中,上述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤S3之后,包括:In an embodiment, after the step S3 of displaying the permission management list in a floating window in a specified position, the method includes:
S4、关闭所述应用程序时生成恢复命令;S4. Generate a recovery command when the application is closed;
S5、根据所述恢复命令,将在所述悬浮窗中设定的权限操作复原。S5. Restore the authority operation set in the floating window according to the restore command.
如上述步骤S4和S5所述,即为关闭应用程序之后,将利用在悬浮窗中设定的权限操作进行复原。比如,当使用导航应用程序的时候,由于“调取GPS信号的权限”的权限没有打开,而在悬浮窗中将该“调取GPS信号的权限”的权限打开,当关闭导航应用程序的时候,会生成一个恢复命令,自动将“调取GPS信号的权限”的权限关闭等。As described in steps S4 and S5 above, that is, after the application is closed, the permissions operation set in the floating window is used for restoration. For example, when using a navigation application, the permission to "get GPS signals" is not turned on, and the permission to "get GPS signals" is turned on in the floating window. When the navigation application is closed, , Will generate a restore command to automatically turn off the permission to "get GPS signal permission" and so on.
在一个实施例中,上述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤S3之后,包括:In an embodiment, after the step S3 of displaying the permission management list in a floating window in a specified position, the method includes:
判断所述应用程序在系统前台的使用频率;Judging the use frequency of the application program in the foreground of the system;
如果所述使用频率小于预设的频率阈值,则在关闭所述应用程序时生成恢复命令;If the use frequency is less than a preset frequency threshold, generating a recovery command when the application is closed;
根据所述恢复命令,将在所述悬浮窗中设定的权限操作复原。According to the restoration command, the authority operation set in the floating window is restored.
在本实施例中,上述应用程序在系统前台的使用频率是指上述应用程序在系统前台被打开使用的频率。本实施例中,一定要获取到应用程序在系统前台的使用频率,因为,某些应用程序用户虽然没有被在系统前台打开,但是会被应用程序对应的服务器发送的推送广告等在系统后台拉起,此时上述应用程序虽然被使用,但是是在系统后台使用,不会用来计算在本申请的使用频率。如果应用程序的使用频率较高,那么在悬浮窗中打开或关闭的权限,可能是用户想长期固定的权限模式,此种情况下,退出应用程序后将在悬浮框中设置的权限复原,可能会与用户的设想矛盾,因此不会进行复原。如果应用程序的使用 频率较低高,那么在悬浮窗中打开或关闭的权限,可能是用户仅仅是当前需要的权限模式,此种情况下,退出应用程序后将在悬浮框中设置的权限复原,会提高用户的体验。In this embodiment, the use frequency of the above-mentioned application program in the system foreground refers to the frequency that the above-mentioned application program is opened and used in the system foreground. In this embodiment, it is necessary to obtain the frequency of use of the application in the system foreground, because although some application users are not opened in the system foreground, they will be pulled in the system background by push advertisements sent by the server corresponding to the application From then on, although the above application program is used, it is used in the background of the system and will not be used to calculate the frequency of use in this application. If the application is used frequently, the permission to open or close in the floating window may be the permission mode that the user wants to fix for a long time. In this case, the permissions set in the floating box will be restored after exiting the application. It will contradict the user's assumptions, so it will not be restored. If the application is used relatively infrequently, the permission to open or close in the floating window may be the user's current permission mode. In this case, the permissions set in the floating box will be restored after exiting the application. , Will improve the user experience.
本申请实施例的应用程序的权限管理方法,在对某个应用程序的权限进行管理时,无需先进入系统的设置界面,然后查找到该应用程序之后点击该应用程序进入到其对应的权限管理界面进行权限设置,而是直接将该应用程序对应的权限映射到一个权限管理列表中,并以悬浮窗的形式显示,使用户可以在悬浮窗内完成该应用程序的权限设置,提高对应用程序的权限设置的速度,减少用户对应用程序的权限设置所需要的流程,节约用户的时间,提高用户的体验。In the method for managing permissions of an application in the embodiment of the present application, when managing the permissions of an application, there is no need to first enter the system setting interface, and then find the application and click the application to enter its corresponding permission management. The interface sets permissions, but directly maps the permissions corresponding to the application to a permission management list and displays them in the form of a floating window, so that users can complete the permission setting of the application in the floating window and improve the application program. The speed of setting permissions reduces the processes required for users to set permissions on applications, saves users time, and improves user experience.
参照图2,本申请实施例还提供一种应用程序的权限管理装置,包括:Referring to FIG. 2, an embodiment of the present application further provides an authority management device for an application program, including:
获取单元10,用于获取针对所述应用程序的权限调取指令;An obtaining unit 10, configured to obtain a permission call instruction for the application program;
读取形成单元20,用于根据所述权限调取指令,读取所述应用程序对应的权限,并将所述权限形成权限管理列表,其中,所述权限管理列表中设置有控制各权限的开关;The reading forming unit 20 is configured to read a permission corresponding to the application according to the permission call instruction, and form the permission into a permission management list. The permission management list is provided with a control for each permission. switch;
显示单元30,用于将所述权限管理列表以悬浮窗的形式显示在指定位置。The display unit 30 is configured to display the rights management list in a floating window in a specified position.
在上述获取单元10中,上述权限调取命令是安装上述应用程序的移动终端接收到用户的指定操作,或因用户操作而产生某些需要权限设置时所生成的权限管理命令。上述移动终端是如手机、平板电脑等可以执行应用程序的电子设备。In the obtaining unit 10, the authority obtaining command is a authority management command generated when the mobile terminal on which the application is installed receives a user-specified operation, or when the authority setting is required due to the user operation. The above-mentioned mobile terminal is an electronic device such as a mobile phone or a tablet computer that can execute an application program.
在上述读取形成单元20中,当获取到权限调取命令之后,移动终端的系统会根据上述应用程序的包名等唯一信息,查找到应用程序的安装包,然后解析出该应用程序的属性和功能,进而读取出该应用程序在执行时可能需要打开或关闭的多种权限。不同的应用程序可能对应的权限不同,比如,导航应用程序对应的权限包括GPS权限、网络权限、语音播报权限等,而微信应用程序对应的权限包括网络权限、摄像头权限等。本实施例中,可以读取出应用程序对应的全部权限。也可以根据用户的使用习惯等读取出部分权限,比如,用户每次打开某个应用程序,都会对某些权限进行设置,则只读取这些权限等。将读取出的权限映射到一个权限管理列表中,方便用户集中处理等。上述权限开关一般为打开权限或则关闭权。In the above-mentioned reading forming unit 20, after obtaining the permission call command, the system of the mobile terminal finds the installation package of the application according to the unique information such as the package name of the application, and then parses out the attributes of the application And functions to read out multiple permissions that the application may need to open or close during execution. Different applications may have different permissions. For example, navigation applications include GPS permissions, network permissions, and voice broadcast permissions, while WeChat applications include network permissions, camera permissions, and so on. In this embodiment, all permissions corresponding to the application can be read. You can also read out some permissions based on the user ’s usage habits. For example, each time a user opens an application, certain permissions are set, and only these permissions are read. The read permissions are mapped to a permission management list, which is convenient for users to handle. The above permission switch is generally the opening permission or the closing permission.
在上述显示单元30中,上述悬浮窗即为悬浮在当前的界面之上的一个窗口, 使用户直接可以在悬浮窗口中进行权限设置,大大地减少了用户设置应用程序的权限的流程,提高设置效率,提高用户的权限管理体验。在本实施例中,当上述应用程序在悬浮窗中被重新设置的时候,会同步到设置界面,即打开设置界面后,该应用程序的权限的设置与悬浮窗中的设置保持一致。In the display unit 30, the floating window is a window suspended above the current interface, so that users can directly set permissions in the floating window, which greatly reduces the user's process of setting application permissions and improves settings. Efficiency, improve user rights management experience. In this embodiment, when the above application program is reset in the floating window, it will be synchronized to the setting interface, that is, after the setting interface is opened, the permission setting of the application is consistent with the setting in the floating window.
为了进一步方便用户的操作,还包括如初始管理单元,用于判定应用程序的基本功能,并在初次开启过程中,将与应用程序基本功能密切相关的第一权限显示出来;例如,开启导航类软件,如高德地图等,需要获取当前位置信息,则需要将“定位”这一权限开放,则在用户开启此应用程序的基本功能相关的“定位”权限作为一个密切相关的第一权限,在应用程序开启后,突出显示出来;后续在应用程序触发特定功能;此特定功能的属于在一定应用场景下的场景权限,作为第二权限,临时显示出来,供用户选择,例如,还以高德地图为例,在需要调取摄像头的情况下,临时将摄像头权限的开关悬浮显示出来供用户进行选择;后续在用户关闭相关特定功能的情况下,把第二权限进行关闭;同时,将第二权限开关设置为两种状态,永久开启和临时开启;在用户第二次调用该第二权限开关时,展示给用户;这样避免第一次用户开启第二权限,第二次用户又想开启第二权限开关时,给用户一个临时开启权限还是永久开启权限的选择。In order to further facilitate the operation of the user, it also includes, for example, an initial management unit, which is used to determine the basic functions of the application, and displays the first permission closely related to the basic functions of the application during the initial opening process; for example, enabling navigation Software, such as Gaode maps, needs to open the “location” permission to obtain the current location information. The “location” permission related to the basic functions of the application is used as a closely related first permission. After the application is opened, it is highlighted; subsequent specific functions are triggered in the application; this specific function belongs to the scene permissions under a certain application scenario, and is temporarily displayed as a second permission for the user to choose. For example, For example, in the case of the German map, when the camera needs to be called, the camera permission switch is temporarily displayed for the user to choose; in the case of the user closing the related specific function, the second permission is closed; at the same time, the first The two permission switches are set to two states, permanently on and temporarily on; When the user calls the second permission switch for the second time, it is displayed to the user; this prevents the first user from turning on the second permission, and the second time the user wants to turn on the second permission switch, giving the user a temporary or permanent permission s Choice.
这种方式能够在用户第一次开启应用程序时,将最重要的涉及到应用程序基本功能使用的权限控制展现给用户;然后在用户偶尔调取相应的特定功能的情况下,将特定功能对应的第二权限开关,临时提供给用户;并且在用户第二次开启第二权限开关时,给用户临时开启权限还是永久开启权限的选择;既考虑了应用程序的功能实现,也考虑了用户实际需求。This method can show the user the most important permission control related to the use of the basic function of the application when the user first opens the application; then, when the user occasionally calls the corresponding specific function, the specific function is corresponding The second permission switch is temporarily provided to the user; and when the user turns on the second permission switch for the second time, the user is given the option to temporarily or permanently enable the permission; both the implementation of the application function and the actual user are considered. demand.
在一个实施例中,上述获取单元10,包括:In one embodiment, the obtaining unit 10 includes:
第一判断模块,用于在打开所述应用程序之前,判断所述应用程序的入口信息是否接收到权限调取的触发操作;A first determining module, configured to determine whether the entry information of the application program has received a triggering operation of permission call before opening the application program;
第一生成模块,用于若接收到所述触发操作,则生成所述权限调取指令。A first generating module is configured to generate the permission call instruction if the trigger operation is received.
本实施例中,上述权限调取指令是在打开应用程序之前获取到的,具体的获取方法是对上述应用程序的入口信息进行指定的操作,以便于系统知道读取哪一个应用程序的权限等。上述权限调取的触发操作包括多种,比如,按压应用程序的入口信息的时间大于预设的时间阈值;或者,按压应用程序的入口信息的压力大于预设的压力阈值等。In this embodiment, the permission obtaining instruction is obtained before the application is opened. The specific obtaining method is to perform a specified operation on the entry information of the application, so that the system knows which application permission to read, etc. . The triggering operation of the foregoing permission retrieval includes multiple types, for example, the time for pressing the entry information of the application program is greater than a preset time threshold; or the pressure for pressing the entry information of the application program is greater than a preset pressure threshold.
在本实施例中,上述显示单元30,包括:In this embodiment, the display unit 30 includes:
第二判断模块,用于判断所述应用程序的入口信息在系统桌面上的第一位置;A second determining module, configured to determine a first position of the entry information of the application on a system desktop;
显示模块,用于将所述权限管理列表以悬浮窗的形式显示在靠近或重叠所述第一位置的第二位置。A display module, configured to display the permission management list in the form of a floating window at a second position close to or overlapping the first position.
本实施例中,因为当前还没有打开应用程序,所以上述悬浮窗会悬浮在系统桌面上,此时,为了方便操作,先获取到入口信息在系统桌面的第一位置,然后将悬浮窗设置在靠近第一位置或重叠于第一位置的第二位置处。在一个具体实施例中,当悬浮窗设置在第一位置的一侧的时候,悬浮窗还会设置有指向其对应的应用程序的标记等。In this embodiment, the above floating window will be suspended on the system desktop because no application is currently open. At this time, for the convenience of operation, first obtain the entry information at the first position on the system desktop, and then set the floating window at Close to the first position or at a second position overlapping the first position. In a specific embodiment, when the floating window is disposed on one side of the first position, the floating window is further provided with a mark or the like pointing to its corresponding application program.
在另一个实时中,上述悬浮窗在移动终端的底部显示,方便用户进行单手操作。进一步地,还会判断用户是哪一只手握持所述移动终端,并将悬浮窗设置在移动终端的系统桌面底部,靠向握持移动终端的手的一侧等。In another real time, the floating window is displayed on the bottom of the mobile terminal, which is convenient for users to perform one-handed operation. Further, it is also determined which hand the user is holding the mobile terminal, and a floating window is set at the bottom of the system desktop of the mobile terminal, leaning to the side holding the hand of the mobile terminal, and so on.
在一个实施例中,上述获取单元10,包括:In one embodiment, the obtaining unit 10 includes:
获取模块,用于在打开所述应用程序之后,根据用户的操作指令,获取所述应用程序需要开启/关闭的第一权限;An obtaining module, configured to obtain a first permission that the application needs to be opened / closed according to a user's operation instruction after the application is opened;
第二生成模块,用于生成调用所述第一权限的权限调取指令。The second generating module is configured to generate a permission call instruction for invoking the first permission.
在本实施例中,上述权限调取指令是在打开应用程序之后获取到的,具体的获取方法是执行所述用户的操作指令时,是否可以正常执行,如果不能正常执行,则判断不能正常执行是否是因为相应的第一权限没有打开/关闭,如果是,则生成调用所述第一权限的权限调取指令,以便于将第一权限放入到权限管理列表中,然后以悬浮窗的形式显示在当前界面之上,无需用户将应用程序放入到后台运行或者直接跳转到设置界面对第一权限进行设定。在一个具体实施例中,用户打开导航应用程序,查看路线,因为移动终端中缓存有大量的地图信息,所述查看路线,只需要输入起始点和终点,然后就会自动生成规划的路线,此时不需要GPS信号,当用户选择按照规划的路线进行导航的时候,如果该导航应用程序调取GPS信号的权限被关闭,则需要将该权限重新打开,此时,当发出按照规划的路线进行导航的命令时,即会生成调用“调取GPS信号的权限”的权限调取指令,以便于生成悬浮窗以及在悬浮窗中完成对GPS信号的权限的设置。In this embodiment, the permission obtaining instruction is obtained after the application is opened. The specific obtaining method is whether the user's operation instruction can be executed normally. If it cannot be executed normally, it is judged that it cannot be executed normally. Whether it is because the corresponding first permission is not turned on / off, and if so, a permission call instruction that calls the first permission is generated, so as to put the first permission in the permission management list, and then in the form of a floating window It is displayed on the current interface. There is no need for the user to put the application into the background to run or directly jump to the setting interface to set the first permission. In a specific embodiment, a user opens a navigation application to view a route, because a large amount of map information is cached in the mobile terminal. To view a route, only a start point and an end point need to be input, and then a planned route is automatically generated. No GPS signal is required. When the user chooses to follow the planned route for navigation, if the navigation application's permission to retrieve GPS signals is turned off, the permission needs to be re-opened. At this time, when issuing according to the planned route When the navigation command is issued, a permission call instruction called "the permission to call the GPS signal" is generated in order to generate a floating window and complete the setting of the GPS signal permission in the floating window.
在一个实施例中,上述应用程序的权限管理装置还包括:In one embodiment, the device for managing rights of the application further includes:
关闭生成单元,用于关闭所述应用程序时生成恢复命令;Closing the generating unit, configured to generate a recovery command when the application is closed;
恢复单元,用于根据所述恢复命令,将在所述悬浮窗中设定的权限操作复原。The restoration unit is configured to restore the authority operation set in the floating window according to the restoration command.
本实施例中,即为关闭应用程序之后,将利用在悬浮窗中设定的权限操作进行复原。比如,当使用导航应用程序的时候,由于“调取GPS信号的权限”的权限没有打开,而在悬浮窗中将该“调取GPS信号的权限”的权限打开,当关闭导航应用程序的时候,会生成一个恢复命令,自动将“调取GPS信号的权限”的权限关闭等。In this embodiment, after the application program is closed, the permission operation set in the floating window is used for restoration. For example, when using a navigation application, the permission to "get GPS signals" is not turned on, and the permission to "get GPS signals" is turned on in the floating window. When the navigation application is closed, , Will generate a restore command to automatically turn off the permission to "get GPS signal permission" and so on.
在一个实施例中,上述上述应用程序的权限管理装置还包括:In one embodiment, the above-mentioned application rights management device further includes:
频率判断单元,用于判断所述应用程序在系统前台的使用频率;A frequency judging unit, configured to judge a use frequency of the application program in the foreground of the system;
关闭生成单元,用于如果所述使用频率小于预设的频率阈值,则在关闭所述应用程序时生成恢复命令;Closing the generating unit, configured to generate a recovery command when the application is closed if the frequency of use is less than a preset frequency threshold;
恢复单元,用于根据所述恢复命令,将在所述悬浮窗中设定的权限操作复原。The restoration unit is configured to restore the authority operation set in the floating window according to the restoration command.
在本实施例中,上述应用程序在系统前台的使用频率是指上述应用程序在系统前台被打开使用的频率。本实施例中,一定要获取到应用程序在系统前台的使用频率,因为,某些应用程序用户虽然没有被在系统前台打开,但是会被应用程序对应的服务器发送的推送广告等在系统后台拉起,此时上述应用程序虽然被使用,但是是在系统后台使用,不会用来计算在本申请的使用频率。如果应用程序的使用频率较高,那么在悬浮窗中打开或关闭的权限,可能是用户想长期固定的权限模式,此种情况下,退出应用程序后将在悬浮框中设置的权限复原,可能会与用户的设想矛盾,因此不会进行复原。如果应用程序的使用频率较低高,那么在悬浮窗中打开或关闭的权限,可能是用户仅仅是当前需要的权限模式,此种情况下,退出应用程序后将在悬浮框中设置的权限复原,会提高用户的体验。In this embodiment, the use frequency of the above-mentioned application program in the system foreground refers to the frequency that the above-mentioned application program is opened and used in the system foreground. In this embodiment, it is necessary to obtain the frequency of use of the application in the system foreground, because although some application users are not opened in the system foreground, they will be pulled in the system background by push advertisements sent by the server corresponding to the application From then on, although the above application program is used, it is used in the background of the system and will not be used to calculate the frequency of use in this application. If the application is used frequently, the permission to open or close in the floating window may be the permission mode that the user wants to fix for a long time. In this case, the permissions set in the floating box will be restored after exiting the application. It will contradict the user's assumptions, so it will not be restored. If the application is used relatively infrequently, the permission to open or close in the floating window may be the user's current permission mode. In this case, the permissions set in the floating box will be restored after exiting the application. , Will improve the user experience.
本申请实施例的应用程序的权限管理装置,在对某个应用程序的权限进行管理时,无需先进入系统的设置界面,然后查找到该应用程序之后点击该应用程序进入到其对应的权限管理界面进行权限设置,而是直接将该应用程序对应的权限映射到一个权限管理列表中,并以悬浮窗的形式显示,使用户可以在悬浮窗内完成该应用程序的权限设置,提高对应用程序的权限设置的速度,减少用户对应用程序的权限设置所需要的流程,节约用户的时间,提高用户的体验。The authority management device of the application in the embodiment of the present application does not need to first enter the system setting interface when managing the authority of an application, and then finds the application and clicks the application to enter its corresponding authority management. The interface sets permissions, but directly maps the permissions corresponding to the application to a permission management list and displays them in the form of a floating window, so that users can complete the permission setting of the application in the floating window and improve the application program. The speed of setting permissions reduces the processes required for users to set permissions on applications, saves users time, and improves user experience.
参照图3,本发明实施例还提供一种移动终端,包括处理器1080和存储器1020,所述存储器1020用于存储应用程序的权限管理装置执行上述的应用程序的权限管理方法的程序;所述处理器1080被配置为用于执行所述存储器中存储的程序。Referring to FIG. 3, an embodiment of the present invention further provides a mobile terminal, including a processor 1080 and a memory 1020, where the memory 1020 is configured to store a program for a permission management device of an application program to execute the permission management method of the foregoing application program; The processor 1080 is configured to execute a program stored in the memory.
为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以移动终端为手机为例:For ease of description, only the parts related to the embodiment of the present invention are shown, and specific technical details are not disclosed, please refer to the method part of the embodiment of the present invention. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), and a vehicle-mounted computer. Taking the mobile terminal as a mobile phone as an example:
图3示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图3,手机包括:射频(Radio Frequency,RF)电路1010、存储器1020、输入单元1030、显示单元1040、传感器1050、音频电路1060、无线保真(wireless fidelity,WiFi)模块1070、处理器1080、以及电源1090等部件。本领域技术人员可以理解,图3中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 3 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to FIG. 3, the mobile phone includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, and a processor 1080 , And power supply 1090 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 3 does not constitute a limitation on the mobile phone, and may include more or fewer parts than those shown in the figure, or combine certain parts, or arrange different parts.
下面结合图3对手机的各个构成部件进行具体的介绍:The following describes each component of the mobile phone in detail with reference to FIG. 3:
RF电路1010可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1080处理;另外,将设计上行的数据发送给基站。通常,RF电路1010包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1010还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1010 can be used for receiving and transmitting signals during information transmission and reception or during a call. In particular, the downlink information of the base station is received and processed by the processor 1080; in addition, the uplink data of the design is transmitted to the base station. Generally, the RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1010 can also communicate with a network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division Multiple Access) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
存储器1020可用于存储软件程序以及模块,处理器1080通过运行存储在存储器1020的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1020可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1020可以包括高速随机存取存储器,还可以包括非易失 性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1020 may be used to store software programs and modules. The processor 1080 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 1020 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage device.
输入单元1030可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1030可包括触控面板1031以及其他输入设备1032。触控面板1031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元1030还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1030 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. Touch panel 1031, also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 1031 or near touch panel 1031 Operation), and drive the corresponding connection device according to a preset program. Optionally, the touch panel 1031 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 1080, and can receive the commands sent by the processor 1080 and execute them. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 1031. In addition to the touch panel 1031, the input unit 1030 may include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, an operation lever, and the like.
显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1040可包括显示面板1041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。进一步的,触控面板1031可覆盖显示面板1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图3中,触控面板1031与显示面板1041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示面板1041集成而实现手机的输入和输出功能。The display unit 1040 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1040 may include a display panel 1041, and optionally, the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 1031 may cover the display panel 1041. When the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch panel 1031 transmits the touch operation to the processor 1080 to determine the type of the touch event. The type provides corresponding visual output on the display panel 1041. Although in FIG. 3, the touch panel 1031 and the display panel 1041 are implemented as two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 1031 and the display panel 1041 can be integrated and Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器1050,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可 配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile phone may further include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light. The proximity sensor may close the display panel 1041 and / Or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. It can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; as for the mobile phone can also be equipped with gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors, no longer here To repeat.
音频电路1060、扬声器1061,传声器1062可提供用户与手机之间的音频接口。音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转换为音频数据,再将音频数据输出处理器1080处理后,经RF电路1010以发送给比如另一手机,或者将音频数据输出至存储器1020以便进一步处理。The audio circuit 1060, the speaker 1061, and the microphone 1062 can provide an audio interface between the user and the mobile phone. The audio circuit 1060 can transmit the received electrical data converted electrical signal to the speaker 1061, and the speaker 1061 converts the sound signal to an audio signal output. On the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, and the audio circuit 1060 After receiving, it is converted into audio data, and then the audio data is output to the processor 1080 for processing, and then sent to, for example, another mobile phone via the RF circuit 1010, or the audio data is output to the memory 1020 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块1070可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图3示出了WiFi模块1070,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1070. It provides users with wireless broadband Internet access. Although FIG. 3 shows the WiFi module 1070, it can be understood that it does not belong to the necessary configuration of the mobile phone, and can be omitted as needed without changing the essence of the invention.
处理器1080是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1080可包括一个或多个处理单元;优选的,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1080中。The processor 1080 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. The processor 1080 runs or executes software programs and / or modules stored in the memory 1020, and calls data stored in the memory 1020 to execute. Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1080.
手机还包括给各个部件供电的电源1090(比如电池),优选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 1090 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 1080 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
参照图3,在本发明实施例中,该移动终端所包括的处理器1080还具有以下功能:Referring to FIG. 3, in an embodiment of the present invention, the processor 1080 included in the mobile terminal also has the following functions:
获取针对所述应用程序的权限调取指令;Obtaining a permission call instruction for the application;
根据所述权限调取指令,读取所述应用程序对应的权限,并将所述权限形成权限管理列表,其中,所述权限管理列表中设置有控制各权限的开关;Reading the permissions corresponding to the application according to the permission calling instruction, and forming the permissions into a permission management list, wherein a switch for controlling each permission is set in the permission management list;
将所述权限管理列表以悬浮窗的形式显示在指定位置。Displaying the rights management list in the form of a floating window at a specified position.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程, 在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the method of the foregoing embodiment may be implemented by a program instructing related hardware. The program may be stored in a computer-readable storage medium. The medium may be a read-only memory, a magnetic disk, or an optical disk.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only a preferred embodiment of the present invention, and thus does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description and drawings of the present invention, or directly or indirectly used in other related The technical field is included in the patent protection scope of the present invention.

Claims (16)

  1. 一种应用程序的权限管理方法,其中,包括:An application program permission management method, including:
    获取针对所述应用程序的权限调取指令;Obtaining a permission call instruction for the application;
    根据所述权限调取指令,读取所述应用程序对应的权限,并将所述权限形成权限管理列表,其中,所述权限管理列表中设置有控制各权限的开关;Reading the permissions corresponding to the application according to the permission calling instruction, and forming the permissions into a permission management list, wherein a switch for controlling each permission is set in the permission management list;
    将所述权限管理列表以悬浮窗的形式显示在指定位置。Displaying the rights management list in the form of a floating window at a specified position.
  2. 根据权利要求1所述的应用程序的权限管理方法,其中,所述获取针对所述应用程序的权限调取指令的步骤,包括:The method for managing permissions of an application program according to claim 1, wherein the step of obtaining a permission call instruction for the application program comprises:
    在打开所述应用程序之前,判断所述应用程序的入口信息是否接收到权限调取的触发操作;Before opening the application program, determining whether the entry information of the application program has received a trigger operation of permission call;
    若是,则生成所述权限调取指令。If yes, the authority call instruction is generated.
  3. 根据权利要求2所述的应用程序的权限管理方法,其中,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤,包括:The method for managing rights of an application program according to claim 2, wherein the step of displaying the rights management list at a specified position in the form of a floating window comprises:
    判断所述应用程序的入口信息在系统桌面上的第一位置;Determine the first position of the entry information of the application on the system desktop;
    将所述权限管理列表以悬浮窗的形式显示在靠近或重叠所述第一位置的第二位置。Displaying the rights management list in the form of a floating window at a second position close to or overlapping the first position.
  4. 根据权利要求2所述的应用程序的权限管理方法,其中,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤,包括:The method for managing rights of an application program according to claim 2, wherein the step of displaying the rights management list at a specified position in the form of a floating window comprises:
    将所述权限管理列表以悬浮窗的形式显示在所述系统桌面的底部。Displaying the rights management list in the form of a floating window at the bottom of the system desktop.
  5. 根据权利要求1所述的应用程序的权限管理方法,其中,所述获取针对所述应用程序的权限调取指令的步骤,包括:The method for managing permissions of an application program according to claim 1, wherein the step of obtaining a permission call instruction for the application program comprises:
    在打开所述应用程序之后,根据用户的操作指令,获取所述应用程序需要开启/关闭的第一权限;After opening the application, obtaining a first permission that the application needs to be opened / closed according to a user's operation instruction;
    生成调用所述第一权限的权限调取指令。Generate a permission call instruction that calls the first permission.
  6. 根据权利要求5所述的应用程序的权限管理方法,其中,所述在打开所 述应用程序之后,根据用户的操作指令,获取所述应用程序需要开启/关闭的第一权限的步骤,包括:The permission management method for an application program according to claim 5, wherein after the opening the application program, the step of obtaining a first permission that the application program needs to open / close according to a user's operation instruction, comprising:
    在打开所述应用程序之后,执行所述用户的操作指令,并判断所述操作指令是否能够正常执行;After opening the application, executing the operation instruction of the user, and determining whether the operation instruction can be normally executed;
    若不能正常执行,则判断所述不能正常执行的原因是否为相应的第一权限没有开启/关闭;If the execution fails, determine whether the reason for the failure is that the corresponding first authority is not enabled / disabled;
    若能正常执行,则执行所述生成调用所述第一权限的权限调取指令的步骤。If it can be executed normally, the step of generating a permission call instruction that calls the first permission is performed.
  7. 根据权利要求1-5中任一项所述的应用程序的权限管理方法,其中,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤之后,包括:The method for managing a permission of an application program according to any one of claims 1 to 5, wherein after the step of displaying the permission management list at a specified position in the form of a floating window, comprises:
    关闭所述应用程序时生成恢复命令;Generating a recovery command when the application is closed;
    根据所述恢复命令,将在所述悬浮窗中设定的权限操作复原。According to the restoration command, the authority operation set in the floating window is restored.
  8. 根据权利要求1-5中任一项所述的应用程序的权限管理方法,其中,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤之后,包括:The method for managing a permission of an application program according to any one of claims 1 to 5, wherein after the step of displaying the permission management list at a specified position in the form of a floating window, comprises:
    判断所述应用程序在系统前台的使用频率;Judging the use frequency of the application program in the foreground of the system;
    如果所述使用频率小于预设的频率阈值,则在关闭所述应用程序时生成恢复命令;If the use frequency is less than a preset frequency threshold, generating a recovery command when the application is closed;
    根据所述恢复命令,将在所述悬浮窗中设定的权限操作复原。According to the restoration command, the authority operation set in the floating window is restored.
  9. 根据权利要求1所述的应用程序的权限管理方法,其中,所述读取所述应用程序对应的权限的步骤,包括:The method for managing permissions of an application program according to claim 1, wherein the step of reading the permissions corresponding to the application program comprises:
    查找所述应用程序的安装包;Find the installation package of the application;
    从所述安装包中获取所述应用程序的属性和功能;Obtaining attributes and functions of the application from the installation package;
    根据所述属性和功能读取所述应用程序在执行时需要打开或关闭的多种权限。Read multiple permissions that need to be opened or closed when the application is executed according to the attributes and functions.
  10. 根据权利要求1所述的应用程序的权限管理方法,其中,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤,包括:The method for managing rights of an application program according to claim 1, wherein the step of displaying the rights management list at a specified position in the form of a floating window comprises:
    获取所述应用程序的基本功能;Obtaining basic functions of the application;
    从所述权限管理列表中获取与所述基本功能对应的第一权限,并将与所述基本功能对应的第一权限以悬浮窗的形式显示在指定位置。A first right corresponding to the basic function is obtained from the right management list, and the first right corresponding to the basic function is displayed in a specified window in the form of a floating window.
  11. 根据权利要求10所述的应用程序的权限管理方法,其中,所述将所述权限管理列表以悬浮窗的形式显示在指定位置的步骤,还包括:The permission management method for an application program according to claim 10, wherein the step of displaying the permission management list in the form of a floating window at a specified position further comprises:
    获取所述应用程序被触发的特定功能;Obtaining a specific function triggered by the application;
    从所述权限管理列表中获取与所述特定功能对应的第二权限,并将与所述特定功能对应的第二权限以悬浮窗的形式显示在指定位置。Obtain a second right corresponding to the specific function from the right management list, and display the second right corresponding to the specific function in a specified window in the form of a floating window.
  12. 一种应用程序的权限管理装置,其中,包括:An application program authority management device, including:
    获取单元,用于获取针对所述应用程序的权限调取指令;An obtaining unit, configured to obtain a permission call instruction for the application program;
    读取形成单元,用于根据所述权限调取指令,读取所述应用程序对应的权限,并将所述权限形成权限管理列表,其中,所述权限管理列表中设置有控制各权限的开关;The reading forming unit is configured to read the permission corresponding to the application according to the permission call instruction, and form the permission into a permission management list, wherein a switch for controlling each permission is set in the permission management list. ;
    显示单元,用于将所述权限管理列表以悬浮窗的形式显示在指定位置。A display unit is configured to display the rights management list in a floating window in a specified position.
  13. 根据权利要求12所述的应用程序的权限管理装置,其中,所述获取单元,包括:The authority management device for an application program according to claim 12, wherein the obtaining unit comprises:
    第一判断模块,用于在打开所述应用程序之前,判断所述应用程序的入口信息是否接收到权限调取的触发操作;A first determining module, configured to determine whether the entry information of the application program has received a triggering operation of permission call before opening the application program;
    第一生成模块,用于若接收到所述触发操作,则生成所述权限调取指令。A first generating module is configured to generate the permission call instruction if the trigger operation is received.
  14. 根据权利要求13所述的应用程序的权限管理方法,其中,所述显示单元,包括:The method for managing rights of an application program according to claim 13, wherein the display unit comprises:
    第二判断模块,用于判断所述应用程序的入口信息在系统桌面上的第一位置;A second determining module, configured to determine a first position of the entry information of the application on a system desktop;
    显示模块,用于将所述权限管理列表以悬浮窗的形式显示在靠近或重叠所述第一位置的第二位置。A display module, configured to display the permission management list in the form of a floating window at a second position close to or overlapping the first position.
  15. 根据权利要求12所述的应用程序的权限管理方法,其中,所述获取单元,包括:The method according to claim 12, wherein the obtaining unit comprises:
    获取模块,用于在打开所述应用程序之后,根据用户的操作指令,获取所述应用程序需要开启/关闭的第一权限;An obtaining module, configured to obtain a first permission that the application needs to be opened / closed according to a user's operation instruction after the application is opened;
    第二生成模块,用于生成调用所述第一权限的权限调取指令。The second generating module is configured to generate a permission call instruction for invoking the first permission.
  16. 一种移动终端,其中,包括处理器和存储器,A mobile terminal including a processor and a memory,
    所述存储器用于存储实现应用程序的权限管理装置执行权1至权11中任一项所述的应用程序的权限管理方法的程序;The memory is configured to store a program that implements a rights management device of an application to execute the rights management method of the application according to any one of rights 1 to 11;
    所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute a program stored in the memory.
PCT/CN2019/096211 2018-07-17 2019-07-16 Mobile terminal and permission management method and device for application program WO2020015656A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810784999.1 2018-07-17
CN201810784999.1A CN109241765B (en) 2018-07-17 2018-07-17 Mobile terminal and method and device for managing authority of application program

Publications (1)

Publication Number Publication Date
WO2020015656A1 true WO2020015656A1 (en) 2020-01-23

Family

ID=65072086

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/096211 WO2020015656A1 (en) 2018-07-17 2019-07-16 Mobile terminal and permission management method and device for application program

Country Status (2)

Country Link
CN (1) CN109241765B (en)
WO (1) WO2020015656A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629989A (en) * 2022-03-23 2022-06-14 深圳麦风科技有限公司 Android application control method and device, intelligent terminal and storage medium
CN115314245A (en) * 2022-06-30 2022-11-08 青岛海尔科技有限公司 Authority management method, system, storage medium and electronic device

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241765B (en) * 2018-07-17 2022-06-17 奇酷互联网络科技(深圳)有限公司 Mobile terminal and method and device for managing authority of application program
CN110012163B (en) * 2019-03-28 2021-01-08 北京金山安全软件有限公司 Suspended window setting method and device and electronic equipment
CN110210206B (en) * 2019-05-28 2021-04-06 维沃移动通信有限公司 Authority management method and terminal
CN110244999A (en) * 2019-06-17 2019-09-17 广州酷狗计算机科技有限公司 Control method, apparatus, equipment and the storage medium of destination application operation
CN110457921A (en) * 2019-08-01 2019-11-15 维沃移动通信有限公司 Right management method and terminal device
CN110502304B (en) * 2019-08-21 2020-12-01 珠海格力电器股份有限公司 Equipment parameter configuration method and device, computer equipment and storage medium
CN110674490B (en) * 2019-08-29 2022-03-15 维沃移动通信有限公司 Application permission display method and device and mobile terminal
CN110908557B (en) * 2019-10-28 2021-07-20 维沃移动通信有限公司 Information display method and terminal equipment
CN110851863B (en) * 2019-11-07 2022-06-03 北京无限光场科技有限公司 Application program authority control method and device and electronic equipment
CN111913722A (en) * 2020-06-15 2020-11-10 北京爱接力科技发展有限公司 Third-party application program management method and device applied to robot
CN111859356B (en) * 2020-06-30 2021-10-12 维沃移动通信有限公司 Application program login method and device
CN112148169B (en) * 2020-09-29 2022-06-10 维沃移动通信有限公司 Identification display control method and device and electronic equipment
CN112181529A (en) * 2020-10-12 2021-01-05 Oppo广东移动通信有限公司 Application program control method and device and electronic equipment
CN113591106B (en) * 2021-06-30 2022-10-18 荣耀终端有限公司 Application authorization method and device and terminal equipment
CN114564707A (en) * 2022-02-18 2022-05-31 维沃移动通信有限公司 Application authority management method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446614A (en) * 2016-08-31 2017-02-22 维沃移动通信有限公司 Permission management method of application program, and mobile terminal
CN106445596A (en) * 2016-09-27 2017-02-22 依偎科技(南昌)有限公司 Method and device for managing setting items
CN106775707A (en) * 2016-12-12 2017-05-31 北京奇虎科技有限公司 The management method and device of application attribute
CN109241765A (en) * 2018-07-17 2019-01-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the right management method of application program, device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716461B2 (en) * 2006-01-12 2010-05-11 Microsoft Corporation Capturing and restoring application state after unexpected application shutdown
CN104636375B (en) * 2013-11-12 2019-05-07 中兴通讯股份有限公司 A kind of automated back-up application data and the method and device restored on demand
CN106354399A (en) * 2015-07-16 2017-01-25 阿里巴巴集团控股有限公司 Method, device, and electronic device for assignment of application permission
CN107180186B (en) * 2017-04-13 2020-11-03 珠海市魅族科技有限公司 Permission configuration method, control method and device of application program and mobile terminal
CN107145273A (en) * 2017-04-28 2017-09-08 努比亚技术有限公司 Application program authority configuring method and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446614A (en) * 2016-08-31 2017-02-22 维沃移动通信有限公司 Permission management method of application program, and mobile terminal
CN106445596A (en) * 2016-09-27 2017-02-22 依偎科技(南昌)有限公司 Method and device for managing setting items
CN106775707A (en) * 2016-12-12 2017-05-31 北京奇虎科技有限公司 The management method and device of application attribute
CN109241765A (en) * 2018-07-17 2019-01-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the right management method of application program, device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629989A (en) * 2022-03-23 2022-06-14 深圳麦风科技有限公司 Android application control method and device, intelligent terminal and storage medium
CN114629989B (en) * 2022-03-23 2024-05-17 深圳麦风科技有限公司 Android application management and control method and device, intelligent terminal and storage medium
CN115314245A (en) * 2022-06-30 2022-11-08 青岛海尔科技有限公司 Authority management method, system, storage medium and electronic device
CN115314245B (en) * 2022-06-30 2024-03-22 青岛海尔科技有限公司 Authority management method, system, storage medium and electronic device

Also Published As

Publication number Publication date
CN109241765B (en) 2022-06-17
CN109241765A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
WO2020015656A1 (en) Mobile terminal and permission management method and device for application program
US11237724B2 (en) Mobile terminal and method for split screen control thereof, and computer readable storage medium
WO2021017776A1 (en) Information processing method and terminal
WO2020199934A1 (en) Information processing method and terminal device
WO2020238351A1 (en) Application downloading and classification method and terminal device
CN105975190B (en) Graphical interface processing method, device and system
CN111027030B (en) Permission setting method and terminal device
WO2020156123A1 (en) Information processing method and terminal device
WO2014206143A1 (en) Method, apparatus and device for displaying number of unread messages
US11354017B2 (en) Display method and mobile terminal
WO2021027466A1 (en) Positioning method and terminal device
CN110427165B (en) Icon display method and mobile terminal
WO2020215969A1 (en) Content input method and terminal device
WO2020211596A1 (en) Control method and terminal device
WO2021238719A1 (en) Information display method and electronic device
WO2015067142A1 (en) Webpage display method and device
CN109062634B (en) Application starting method and mobile terminal
WO2020181954A1 (en) Application program control method and terminal device
CN110837327A (en) Message viewing method and terminal
WO2019076377A1 (en) Image viewing method and mobile terminal
WO2020135092A1 (en) Permission management method and terminal device
WO2020010965A1 (en) Mobile terminal, and method and device for updating application thereof
KR20220158794A (en) Information presentation methods, electronic devices and storage media
WO2017206853A1 (en) Swiping response acceleration method and related products
WO2020238448A1 (en) Permission management method and terminal

Legal Events

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

Ref document number: 19838752

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19838752

Country of ref document: EP

Kind code of ref document: A1