CN109241765B - Mobile terminal and method and device for managing authority of application program - Google Patents
Mobile terminal and method and device for managing authority of application program Download PDFInfo
- Publication number
- CN109241765B CN109241765B CN201810784999.1A CN201810784999A CN109241765B CN 109241765 B CN109241765 B CN 109241765B CN 201810784999 A CN201810784999 A CN 201810784999A CN 109241765 B CN109241765 B CN 109241765B
- Authority
- CN
- China
- Prior art keywords
- authority
- application program
- permission
- floating window
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/629—Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
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)
- Stored Programmes (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for managing the authority of a mobile terminal and an application program, wherein the method comprises the following steps: acquiring an authority calling instruction aiming at the application program; reading the authority corresponding to the application program according to the authority calling instruction, and forming an authority management list by the authority, wherein a switch for controlling each authority is arranged in the authority management list; and displaying the authority management list at a specified position in a floating window mode. When the authority of a certain application program is managed, the setting interface of the system does not need to be accessed first, the authority corresponding to the application program is directly mapped to an authority management list and is displayed in a suspended window mode, so that a user can complete the authority setting of the application program in the suspended window, the speed of the authority setting of the application program is improved, the flow required by the user for the authority setting of the application program is reduced, the time of the user is saved, and the experience of the user is improved.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for managing permissions of a mobile terminal and an application program.
Background
In the past, the network authority, the database access authority, the camera use authority and the like of an application program need to enter from different set entries, and related authority entries need to be searched for many times for operation, so that the operation is complex. Therefore, how to simply and quickly set the access authority of the application program is an urgent problem to be solved.
Disclosure of Invention
The invention mainly aims to provide a mobile terminal and a method and a device for managing the authority of an application program, and aims to solve the problems that when the authority of the application program is set in the prior art, a specific setting interface is required to be set, and the setting process is time-consuming.
The invention provides a method for managing the authority of an application program, which comprises the following steps:
acquiring an authority calling instruction aiming at the application program;
reading the authority corresponding to the application program according to the authority calling instruction, and forming an authority management list by the authority, wherein a switch for controlling each authority is arranged in the authority management list;
and displaying the authority management list at a specified position in a floating window mode.
Further, the step of obtaining the permission invoking instruction for the application program includes:
before the application program is opened, judging whether entrance information of the application program receives trigger operation of permission calling;
and if so, generating the authority calling instruction.
Further, the step of displaying the rights management list in a designated location in the form of a floating window includes:
judging a first position of the entrance information of the application program on a system desktop;
and displaying the authority management list at a second position close to or overlapping the first position in the form of a floating window.
Further, the step of obtaining the permission invoking instruction for the application program includes:
after the application program is opened, acquiring a first permission of the application program needing to be opened/closed according to an operation instruction of a user;
and generating an authority calling instruction for calling the first authority.
Further, after the step of displaying the rights management list in a floating window at a specified position, the method includes:
generating a recovery command when the application program is closed;
and restoring the authority operation set in the floating window according to the recovery command.
The present application further provides an authority management device for an application, including:
the acquisition unit is used for acquiring an authority calling instruction aiming at the application program;
the reading forming unit is used for reading the authority corresponding to the application program according to the authority calling instruction and forming an authority management list with the authority, wherein the authority management list is provided with a switch for controlling each authority;
and the display unit is used for displaying the authority management list at a specified position in a floating window mode.
Further, the acquiring unit includes:
the first judgment module is used for judging whether the entrance information of the application program receives the trigger operation of permission calling or not before the application program is opened;
and the first generation module is used for generating the permission calling instruction if the trigger operation is received.
Further, the display unit includes:
the second judgment module is used for judging the first position of the entrance information of the application program on the system desktop;
and the display module is used for displaying the authority management list at a second position close to or overlapped with the first position in a floating window mode.
Further, the acquiring unit includes:
the acquisition module is used for acquiring a first permission that the application program needs to be opened/closed according to an operation instruction of a user after the application program is opened;
and the second generation module is used for generating an authority calling instruction for calling the first authority.
The present application also provides a mobile terminal, comprising a processor and a memory,
the memory is used for storing a program for realizing that the authority management device of the application program executes the authority management method of the application program;
the processor is configured to execute programs stored in the memory.
According to the mobile terminal and the authority management method and device of the application program, when the authority of a certain application program is managed, the setting interface of a system does not need to be entered first, then the application program is found and then the application program is clicked to enter the corresponding authority management interface for authority setting, the authority corresponding to the application program is directly mapped to an authority management list and displayed in a floating window mode, a user can complete the authority setting of the application program in the floating window, the speed of the authority setting of the application program is improved, the flow required by the user for the authority setting of the application program is reduced, the time of the user is saved, and the experience of the user is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for managing rights of an application according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating a structure of a rights management device of an application according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a mobile terminal according to an embodiment of the present application.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, an embodiment of the present application provides a method for managing rights of an application program, including:
s1, acquiring an authority calling instruction aiming at the application program;
s2, reading the authority corresponding to the application program according to the authority calling instruction, and forming an authority management list with the authority, wherein the authority management list is provided with switches for controlling each authority;
and S3, displaying the authority management list at a specified position in a floating window mode.
As described in step S1, the permission retrieval command is a permission management command generated when the mobile terminal that installs the application receives a user' S designated operation or when some required permission setting is generated due to a user operation. The mobile terminal is an electronic device such as a mobile phone and a tablet computer which can execute an application program.
As described in step S2, after the permission calling command is obtained, 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 analyzes the attribute and the function of the application, thereby reading the multiple permissions that may need to be opened or closed when the application is executed. The permissions corresponding to different applications may be different, for example, the permission corresponding to the navigation application includes a GPS permission, a network permission, a voice broadcast permission, and the like, and the permission corresponding to the wechat application includes a network permission, a camera permission, and the like. In this embodiment, all permissions corresponding to the application program can be read. And partial rights can be read according to the use habits of the user, for example, each time the user opens a certain application program, some rights can be set, and only the rights can be read. And mapping the read authority into an authority management list, so that the centralized processing by the user is facilitated, and the like. The authority switch is generally an opening authority or a closing authority.
As described in step S3, the floating window is a window floating on the current interface, so that the user can directly set the permission in the floating window, which greatly reduces the process of setting the permission of the application program for the user, improves the setting efficiency, and improves the permission management experience of the user. In this embodiment, when the application program is reset in the floating window, the setting interface is synchronized, that is, after the setting interface is opened, the setting of the authority of the application program is consistent with the setting in the floating window.
In order to further facilitate the operation of the user, the following judgment process is further included: determining the basic function of the application program, and displaying a first authority closely related to the basic function of the application program in the initial starting process; for example, when navigation software such as a high-end map is started, if current position information needs to be acquired, the permission of "positioning" needs to be opened, and the permission of "positioning" related to the basic function of the application program started by a user serves as a closely related first permission, and the first permission is highlighted after the application program is started; subsequently triggering a specific function in the application program; the scene authority belonging to the specific function in a certain application scene is used as a second authority to be temporarily displayed for a user to select, for example, taking a Gaode map as an example, and temporarily displaying a switch of the camera authority in a suspension manner for the user to select under the condition that the camera needs to be called; subsequently, under the condition that the user closes the related specific function, closing the second authority; meanwhile, the second permission switch is set to be in two states, namely permanent opening and temporary opening; when the user calls the second permission switch for the second time, displaying the second permission switch to the user; therefore, the first time that the user opens the second permission and the second time that the user wants to open the second permission switch, the user is prevented from selecting whether the temporary permission or the permanent permission is opened.
The method can show the most important authority control related to the basic function use of the application program to the user when the user starts the application program for the first time; then, under the condition that the user occasionally calls the corresponding specific function, the second permission switch corresponding to the specific function is temporarily provided for the user; when the user turns on the second permission switch for the second time, the user is given the option of temporarily turning on the permission or permanently turning on the permission; not only the function realization of the application program is considered, but also the actual requirements of the user are considered.
In an embodiment, the step S1 of obtaining the permission invoking instruction for the application program includes:
s101, before the application program is opened, judging whether entrance information of the application program receives trigger operation of permission calling;
and S102, if so, generating the authority calling instruction.
In this embodiment, the permission calling instruction is obtained before the application program is opened, and a specific obtaining method is to perform a specified operation on the entry information of the application program, so that the system knows which permission to read the application program, and the like. The trigger operation of the authority calling includes various types, for example, the time for pressing the entry information of the application program is greater than a preset time threshold; or the pressure of the entry information of the pressing application is greater than a preset pressure threshold value and the like.
In this embodiment, the step S3 of displaying the rights management list in a designated position in the form of a floating window includes:
s31, judging a first position of the entrance information of the application program on a system desktop;
and S32, displaying the authority management list at a second position close to or overlapped with the first position in the form of a floating window.
In this embodiment, because the application program is not currently opened, the floating window floats on the system desktop, and at this time, for convenience of operation, the first position of the portal information on the system desktop is acquired first, and then the floating window is disposed at the second position close to or overlapping the first position. In one embodiment, when the floating window is disposed at one side of the first position, the floating window is further provided with a mark or the like pointing to its corresponding application.
In another real-time mode, the floating window is displayed at the bottom of the mobile terminal, and a user can conveniently operate the floating window with one hand. Furthermore, the method can also judge which hand of the user holds the mobile terminal, and the floating window is arranged at the bottom of the system desktop of the mobile terminal and is close to one side of the hand holding the mobile terminal.
In an embodiment, the step S1 of obtaining the permission invoking instruction for the application program includes:
s111, after the application program is opened, acquiring a first authority required to be opened/closed of the application program according to an operation instruction of a user;
and S112, generating an authority calling instruction for calling the first authority.
In this embodiment, the permission retrieval instruction is obtained after the application program is opened, and a specific obtaining method is to execute the operation instruction of the user, determine whether the execution is abnormal because the corresponding first permission is not opened/closed, if the execution is abnormal, generate a permission retrieval instruction for retrieving the first permission so as to put the first permission into the permission management list, and then display the first permission on the current interface in a floating window manner, without setting the first permission by the user by putting the application program into a background for operation or directly jumping to a setting interface. In a specific embodiment, a user opens a navigation application program to check a route, because a large amount of map information is cached in a mobile terminal, the route checking only needs to input a starting point and a terminal point, and then a planned route is automatically generated, at this time, a GPS signal is not needed, when the user selects to navigate according to the planned route, if the authority of the navigation application program for calling the GPS signal is closed, the authority needs to be opened again, at this time, when a command for navigating according to the planned route is sent, an authority calling instruction for calling the authority for calling the GPS signal is generated, so that a floating window is generated, and the setting of the authority for the GPS signal in the floating window is completed.
In one embodiment, after the step S3 of displaying the rights management list in a floating window form at the designated position, the method includes:
s4, generating a recovery command when the application program is closed;
and S5, restoring the authority operation set in the floating window according to the restoring command.
As described in the above steps S4 and S5, the operation of the authority set in the floating window is restored after the application is closed. For example, when the navigation application is used, since the right to "right to call GPS signal" is not opened, but the right to "right to call GPS signal" is opened in the floating window, when the navigation application is closed, a recovery command is generated to automatically close the right to "right to call GPS signal", and the like.
In one embodiment, after the step S3 of displaying the rights management list in a floating window form at the designated position, the method includes:
judging the use frequency of the application program in a system foreground;
if the use frequency is smaller than a preset frequency threshold value, generating a recovery command when the application program is closed;
and restoring the authority operation set in the floating window according to the recovery command.
In this embodiment, the frequency of the application program in the system foreground refers to the frequency of the application program being opened and used in the system foreground. In this embodiment, the use frequency of the application program in the foreground of the system must be obtained, because some application program users are not opened in the foreground of the system, but are pulled up in the background of the system by a push advertisement and the like sent by a server corresponding to the application program, at this time, the application program is used in the background of the system, but is not used to calculate the use frequency in the present application. If the application program is used more 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. If the application program is used less frequently, the permission to open or close in the floating window may be the only permission mode currently required by the user, and in this case, the permission set in the floating frame is restored after exiting the application program, which may improve the user experience.
According to the method for managing the authority of the application program, when the authority of a certain application program is managed, the setting interface of a system does not need to be entered first, then the application program is found and then the application program is clicked to enter the corresponding authority management interface for authority setting, the authority corresponding to the application program is directly mapped into an authority management list and displayed in a floating window mode, a user can complete the authority setting of the application program in the floating window, the speed of the authority setting of the application program is improved, the flow required by the user for the authority setting of the application program is reduced, the time of the user is saved, and the experience of the user is improved.
Referring to fig. 2, an embodiment of the present application further provides an apparatus for managing rights of an application program, including:
an obtaining unit 10, configured to obtain an authority invoking instruction for the application program;
the reading forming unit 20 is configured to read the authority corresponding to the application program according to the authority calling instruction, and form the authority into an authority management list, where a switch for controlling each authority is set in the authority management list;
and a display unit 30 for displaying the rights management list in a floating window form at a designated position.
In the acquiring unit 10, the permission invoking command is a permission management command generated when a mobile terminal installed with the application receives a user's designated operation or some required permission setting is generated due to the user's operation. The mobile terminal is an electronic device such as a mobile phone and a tablet computer which can execute an application program.
In the above-mentioned read forming unit 20, after the permission calling command is obtained, the system of the mobile terminal finds the installation package of the application program according to the unique information such as the package name of the application program, and then analyzes the attribute and the function of the application program, thereby reading out various permissions that may need to be opened or closed when the application program is executed. The permissions corresponding to different applications may be different, for example, the permission corresponding to the navigation application includes a GPS permission, a network permission, a voice broadcast permission, and the like, and the permission corresponding to the wechat application includes a network permission, a camera permission, and the like. In this embodiment, all permissions corresponding to the application program can be read. And partial rights can be read according to the use habits of the user, for example, each time the user opens a certain application program, some rights can be set, and only the rights can be read. And mapping the read authority into an authority management list, so that the centralized processing by the user is facilitated, and the like. The authority switch is generally an opening authority or a closing authority.
In the display unit 30, the floating window is a window floating on the current interface, so that a user can directly set the permission in the floating window, the process of setting the permission of the application program by the user is greatly reduced, the setting efficiency is improved, and the permission management experience of the user is improved. In this embodiment, when the application program is reset in the floating window, the setting interface is synchronized, that is, after the setting interface is opened, the setting of the authority of the application program is consistent with the setting in the floating window.
In order to further facilitate the operation of the user, the system also comprises an initial management unit, a first permission display unit and a second permission display unit, wherein the initial management unit is used for judging the basic functions of the application program and displaying the first permission closely related to the basic functions of the application program in the initial starting process; for example, when navigation software such as a high-grade map is started and current position information needs to be acquired, the authority of 'positioning' needs to be opened, the 'positioning' authority related to the basic function of the application program opened by a user serves as a closely related first authority, and the first authority is highlighted after the application program is opened; subsequently triggering a specific function in the application program; the scene authority belonging to the specific function in a certain application scene is used as a second authority to be temporarily displayed for a user to select, for example, taking a Gaode map as an example, and temporarily displaying a switch of the camera authority in a suspension manner for the user to select under the condition that the camera needs to be called; subsequently, under the condition that the user closes the related specific function, closing the second authority; meanwhile, the second permission switch is set to be in two states, namely permanent opening and temporary opening; when the user calls the second permission switch for the second time, displaying the second permission switch to the user; therefore, the first time that the user starts the second permission is avoided, and the second time that the user wants to start the second permission switch, the user is given a choice of temporary permission starting or permanent permission starting.
The method can show the most important authority control related to the basic function use of the application program to the user when the user starts the application program for the first time; then, under the condition that the user occasionally calls the corresponding specific function, the second permission switch corresponding to the specific function is temporarily provided for the user; when the user turns on the second permission switch for the second time, the user is given the option of temporarily turning on the permission or permanently turning on the permission; not only the function realization of the application program is considered, but also the actual requirements of the user are considered.
In one embodiment, the obtaining unit 10 includes:
the first judgment module is used for judging whether the entrance information of the application program receives the trigger operation of permission calling or not before the application program is opened;
and the first generation module is used for generating the permission calling instruction if the trigger operation is received.
In this embodiment, the permission calling instruction is obtained before the application program is opened, and a specific obtaining method is to perform a specified operation on the entry information of the application program, so that the system knows which permission to read the application program, and the like. The trigger operation of the authority calling includes various types, for example, the time for pressing the entry information of the application program is greater than a preset time threshold; or the pressure of the entry information of the pressing application is greater than a preset pressure threshold value and the like.
In this embodiment, the display unit 30 includes:
the second judgment module is used for judging the first position of the entrance information of the application program on the system desktop;
and the display module is used for displaying the authority management list at a second position close to or overlapped with the first position in a floating window mode.
In this embodiment, because the application program is not opened currently, the floating window may be floated on the system desktop, and at this time, for convenience of operation, the first position of the entry information on the system desktop is obtained first, and then the floating window is set at the second position close to or overlapping with the first position. In one embodiment, when the floating window is disposed at one side of the first position, the floating window is further provided with a mark or the like pointing to its corresponding application.
In another real-time mode, the floating window is displayed at the bottom of the mobile terminal, and a user can conveniently operate the floating window with one hand. Further, the user can also judge which hand holds the mobile terminal, and the floating window is arranged at the bottom of the system desktop of the mobile terminal and close to one side of the hand holding the mobile terminal.
In one embodiment, the obtaining unit 10 includes:
the acquisition module is used for acquiring a first permission that the application program needs to be opened/closed according to an operation instruction of a user after the application program is opened;
and the second generation module is used for generating an authority calling instruction for calling the first authority.
In this embodiment, the permission retrieval instruction is obtained after the application program is opened, and a specific obtaining method is to execute the operation instruction of the user, determine whether the execution is abnormal because the corresponding first permission is not opened/closed, if the execution is abnormal, generate a permission retrieval instruction for retrieving the first permission so as to put the first permission into the permission management list, and then display the first permission on the current interface in a floating window manner, without setting the first permission by the user by putting the application program into a background for operation or directly jumping to a setting interface. In a specific embodiment, a user opens a navigation application program to check a route, because a large amount of map information is cached in a mobile terminal, the route checking only needs to input a starting point and a terminal point, and then a planned route is automatically generated, at this time, a GPS signal is not needed, when the user selects to navigate according to the planned route, if the authority of the navigation application program for calling the GPS signal is closed, the authority needs to be opened again, at this time, when a command for navigating according to the planned route is sent, an authority calling instruction for calling the authority for calling the GPS signal is generated, so that a floating window is generated, and the setting of the authority for the GPS signal in the floating window is completed.
In one embodiment, the apparatus for managing rights of an application further includes:
a closing generation unit, configured to generate a recovery command when the application is closed;
and the recovery unit is used for recovering the authority operation set in the floating window according to the recovery command.
In this embodiment, after the application is closed, the application is restored by using the authority operation set in the floating window. For example, when the navigation application is used, since the right to "right to call GPS signal" is not opened, but the right to "right to call GPS signal" is opened in the floating window, when the navigation application is closed, a recovery command is generated to automatically close the right to "right to call GPS signal", and the like.
In one embodiment, the apparatus for managing rights of the application program further includes:
the frequency judging unit is used for judging the use frequency of the application program in a system foreground;
a closing generation unit, configured to generate a recovery command when the application is closed if the usage frequency is less than a preset frequency threshold;
and the recovery unit is used for recovering the authority operation set in the floating window according to the recovery command.
In this embodiment, the frequency of the application program being used in the system foreground refers to the frequency of the application program being opened and used in the system foreground. In this embodiment, the use frequency of the application program in the foreground of the system must be obtained, because some application program users are not opened in the foreground of the system, but are pulled up in the background of the system by a push advertisement and the like sent by a server corresponding to the application program, at this time, the application program is used in the background of the system, but is not used to calculate the use frequency in the present application. If the application program is used more 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. If the application program is used less frequently, the permission to open or close in the floating window may be the only permission mode currently required by the user, and in this case, the permission set in the floating frame is restored after exiting the application program, which may improve the user experience.
When the authority of an application program is managed, the authority management device of the application program does not need to enter a setting interface of a system first, then clicks the application program after finding the application program to enter a corresponding authority management interface for authority setting, but directly maps the authority corresponding to the application program to an authority management list and displays the authority management list in a floating window mode, so that a user can complete the authority setting of the application program in the floating window, the speed of the authority setting of the application program is improved, the flow required by the user for the authority setting of the application program is reduced, the time of the user is saved, and the experience of the user is improved.
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 used for storing a program that a rights management apparatus of an application program executes the rights management method of the application program; the processor 1080 is configured to execute programs stored in the memory.
For convenience of explanation, only the parts related to the embodiments of the present invention are shown, and details of the specific techniques are not disclosed. 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), a vehicle-mounted computer, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 3 is a block diagram illustrating 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 cellular phone includes: radio Frequency (RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuit 1060, wireless fidelity (WiFi) module 1070, processor 1080, and power source 1090. Those skilled in the art will appreciate that the handset configuration shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 3:
The memory 1020 can be used for storing software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by operating 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, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1020 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1030 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 1031 using any suitable object or accessory such as a finger, a stylus, etc.) and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1030 may include other input devices 1032 in addition to the touch panel 1031. In particular, 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 track ball, a mouse, a joystick, or the like.
The display unit 1040 may be used to display information input by a user or information provided to the user and various menus of the cellular 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 can cover the display panel 1041, and when the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch operation is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Although in fig. 3, the touch panel 1031 and the display panel 1041 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1041 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1070, which provides wireless broadband internet access for the user. Although fig. 3 shows the WiFi module 1070, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1080 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the mobile phone. Optionally, processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor, which handles primarily the operating system, user interfaces, applications, etc., and a modem processor, which handles primarily the wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080.
The handset also includes a power source 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1080 via a power management system to manage charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
Referring to fig. 3, in the embodiment of the present invention, the processor 1080 included in the mobile terminal further has the following functions:
acquiring an authority calling instruction aiming at the application program;
reading the authority corresponding to the application program according to the authority calling instruction, and forming an authority management list by the authority, wherein a switch for controlling each authority is arranged in the authority management list;
and displaying the authority management list at a specified position in a floating window mode.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
It will be understood by those skilled in the art that all or part of the steps in the method according to the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, where the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (8)
1. A method for managing rights of an application program, comprising:
acquiring an authority calling instruction aiming at the application program;
reading the authority corresponding to the application program according to the authority calling instruction, and forming an authority management list by the authority, wherein a switch for controlling each authority is arranged in the authority management list;
displaying the authority management list at a specified position in a floating window form;
the step of displaying the rights management list in a designated location in the form of a floating window includes:
judging a first position of the entrance information of the application program on a system desktop;
displaying the rights management list in the form of a floating window at a second location that is close to or overlaps the first location;
after the step of displaying the rights management list in a floating window at a specified location, the method includes:
judging the use frequency of the application program in a system foreground;
if the use frequency is smaller than a preset frequency threshold value, generating a recovery command when the application program is closed;
and restoring the authority operation set in the floating window according to the recovery command.
2. The method for managing the authority of the application program according to claim 1, wherein the step of obtaining the authority calling instruction for the application program comprises:
before the application program is opened, judging whether entrance information of the application program receives trigger operation of permission calling;
and if so, generating the authority calling instruction.
3. The method for managing the authority of the application program according to claim 1, wherein the step of obtaining the authority calling instruction for the application program comprises:
after the application program is opened, acquiring a first permission of the application program needing to be opened/closed according to an operation instruction of a user;
and generating an authority calling instruction for calling the first authority.
4. The method for managing the authority of the application program according to any one of claims 1 to 3, wherein the step of displaying the authority management list in a floating window form at a specified position is followed by:
generating a recovery command when the application program is closed;
and restoring the authority operation set in the floating window according to the recovery command.
5. An apparatus for managing rights of an application program, comprising:
the acquisition unit is used for acquiring an authority calling instruction aiming at the application program;
the reading forming unit is used for reading the authority corresponding to the application program according to the authority calling instruction and forming an authority management list with the authority, wherein the authority management list is provided with a switch for controlling each authority;
the display unit is used for displaying the authority management list at a specified position in a floating window mode;
the display unit includes:
the second judgment module is used for judging the first position of the entrance information of the application program on the system desktop;
the display module is used for displaying the authority management list at a second position close to or overlapping the first position in a floating window mode;
the frequency judging unit is used for judging the use frequency of the application program in a system foreground;
a closing generation unit, configured to generate a recovery command when the application is closed if the usage frequency is less than a preset frequency threshold;
and the recovery unit is used for recovering the authority operation set in the floating window according to the recovery command.
6. The apparatus for managing right of an application program according to claim 5, wherein the acquiring unit includes:
the first judgment module is used for judging whether the entrance information of the application program receives the trigger operation of permission calling or not before the application program is opened;
and the first generation module is used for generating the permission calling instruction if the trigger operation is received.
7. The apparatus for managing right of an application program according to claim 5, wherein the acquiring unit includes:
the acquisition module is used for acquiring a first permission that the application program needs to be opened/closed according to an operation instruction of a user after the application program is opened;
and the second generation module is used for generating an authority calling instruction for calling the first authority.
8. A mobile terminal comprising a processor and a memory,
the memory is used for storing a program for realizing that a right management device of an application program executes a right management method of the application program according to any one of the right 1 to the right 4;
the processor is configured to execute programs stored in the memory.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810784999.1A CN109241765B (en) | 2018-07-17 | 2018-07-17 | Mobile terminal and method and device for managing authority of application program |
PCT/CN2019/096211 WO2020015656A1 (en) | 2018-07-17 | 2019-07-16 | Mobile terminal and permission management method and device for application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810784999.1A CN109241765B (en) | 2018-07-17 | 2018-07-17 | Mobile terminal and method and device for managing authority of application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109241765A CN109241765A (en) | 2019-01-18 |
CN109241765B true CN109241765B (en) | 2022-06-17 |
Family
ID=65072086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810784999.1A Active CN109241765B (en) | 2018-07-17 | 2018-07-17 | Mobile terminal and method and device for managing authority of application program |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109241765B (en) |
WO (1) | WO2020015656A1 (en) |
Families Citing this family (18)
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 |
CN113342390B (en) * | 2021-07-01 | 2024-06-04 | 统信软件技术有限公司 | Authority management method and system for application program |
CN114564707A (en) * | 2022-02-18 | 2022-05-31 | 维沃移动通信有限公司 | Application authority management method and device and electronic equipment |
CN114629989B (en) * | 2022-03-23 | 2024-05-17 | 深圳麦风科技有限公司 | Android application management and control method and device, intelligent terminal and storage medium |
CN115314245B (en) * | 2022-06-30 | 2024-03-22 | 青岛海尔科技有限公司 | Authority management method, system, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354399A (en) * | 2015-07-16 | 2017-01-25 | 阿里巴巴集团控股有限公司 | Method, device, and electronic device for assignment of application permission |
CN106775707A (en) * | 2016-12-12 | 2017-05-31 | 北京奇虎科技有限公司 | The management method and device of application attribute |
CN107145273A (en) * | 2017-04-28 | 2017-09-08 | 努比亚技术有限公司 | Application program authority configuring method and computer equipment |
CN107180186A (en) * | 2017-04-13 | 2017-09-19 | 珠海市魅族科技有限公司 | Authority configuring method, control method, device and the mobile terminal of application program |
Family Cites Families (5)
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 |
CN106446614B (en) * | 2016-08-31 | 2019-09-27 | 维沃移动通信有限公司 | A kind of right management method and mobile terminal of application program |
CN106445596B (en) * | 2016-09-27 | 2020-01-14 | 依偎科技(南昌)有限公司 | Method and device for managing setting items |
CN109241765B (en) * | 2018-07-17 | 2022-06-17 | 奇酷互联网络科技(深圳)有限公司 | Mobile terminal and method and device for managing authority of application program |
-
2018
- 2018-07-17 CN CN201810784999.1A patent/CN109241765B/en active Active
-
2019
- 2019-07-16 WO PCT/CN2019/096211 patent/WO2020015656A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354399A (en) * | 2015-07-16 | 2017-01-25 | 阿里巴巴集团控股有限公司 | Method, device, and electronic device for assignment of application permission |
CN106775707A (en) * | 2016-12-12 | 2017-05-31 | 北京奇虎科技有限公司 | The management method and device of application attribute |
CN107180186A (en) * | 2017-04-13 | 2017-09-19 | 珠海市魅族科技有限公司 | Authority configuring method, control method, device and the mobile terminal of application program |
CN107145273A (en) * | 2017-04-28 | 2017-09-08 | 努比亚技术有限公司 | Application program authority configuring method and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109241765A (en) | 2019-01-18 |
WO2020015656A1 (en) | 2020-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109241765B (en) | Mobile terminal and method and device for managing authority of application program | |
US11237724B2 (en) | Mobile terminal and method for split screen control thereof, and computer readable storage medium | |
CN105022552B (en) | A kind of method and apparatus for showing messaging list | |
WO2020238351A1 (en) | Application downloading and classification method and terminal device | |
CN107404572A (en) | A kind of charge prompting method and terminal | |
CN105975190B (en) | Graphical interface processing method, device and system | |
CN108984066B (en) | Application icon display method and mobile terminal | |
CN106227588A (en) | The creation method of a kind of multi-instance object, device and mobile terminal | |
CN109062634B (en) | Application starting method and mobile terminal | |
CN105320882A (en) | Method and device for controlling permission of application programs | |
CN107436758A (en) | The method for information display and mobile terminal of a kind of mobile terminal | |
CN106951492B (en) | File searching method and device and electronic equipment | |
US10298590B2 (en) | Application-based service providing method, apparatus, and system | |
WO2015067142A1 (en) | Webpage display method and device | |
CN106126675A (en) | A kind of method of recommendation of audio, Apparatus and system | |
CN110879680A (en) | Icon management method and electronic equipment | |
CN108304575B (en) | Identification display method and terminal | |
US11150913B2 (en) | Method, device, and terminal for accelerating startup of application | |
CN106528284B (en) | application program configuration method and device and terminal equipment | |
CN111475066A (en) | Background switching method of application program and electronic equipment | |
WO2020011211A1 (en) | Mobile terminal and method and device for automatically logging into application platform | |
CN111367450A (en) | Application program control method, electronic device and medium | |
CN106201536A (en) | The replacing options of a kind of application icon and terminal unit | |
CN111223478A (en) | Terminal control method based on AI voice, terminal device and storage medium | |
CN106484230B (en) | A kind of method for handover control and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |