CN107506637B - Information display method and device, terminal and readable storage medium - Google Patents

Information display method and device, terminal and readable storage medium Download PDF

Info

Publication number
CN107506637B
CN107506637B CN201710708555.5A CN201710708555A CN107506637B CN 107506637 B CN107506637 B CN 107506637B CN 201710708555 A CN201710708555 A CN 201710708555A CN 107506637 B CN107506637 B CN 107506637B
Authority
CN
China
Prior art keywords
preset
display object
information
authority
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710708555.5A
Other languages
Chinese (zh)
Other versions
CN107506637A (en
Inventor
王靖宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710708555.5A priority Critical patent/CN107506637B/en
Publication of CN107506637A publication Critical patent/CN107506637A/en
Application granted granted Critical
Publication of CN107506637B publication Critical patent/CN107506637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

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

Abstract

The invention discloses an information display method and device, a terminal and a readable storage medium, wherein the method comprises the following steps: judging whether a display object is in a preset state or not, wherein the display object is a preset application program or a folder, and the folder comprises at least one preset application program; if yes, acquiring the authority information used by the display object; and displaying the authority information at a preset position corresponding to the display object. The method effectively solves the technical problems that the permission information display mode used by the application program is not visual and the user requirements cannot be met in the prior art.

Description

Information display method and device, terminal and readable storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information display method and apparatus, a terminal, and a readable storage medium.
Background
As information processing technology develops, more and more electronic devices appear in people's work and life, for example: the electronic devices are usually installed with various application programs, and the application programs need to call some permissions in the running process, such as: the weather application program needs to call a positioning authority, the WeChat application program needs to use the authority of starting a microphone of the electronic equipment when starting a voice call, and the Payment application program needs to use the authority of starting a camera of the electronic equipment when starting a scanning function. The more functions an application has, the more permissions a system needs to invoke, some of which relate to the privacy of the user or which may seriously affect the power consumption of the electronic device. In the prior art, a user can know which authorities are used by an application program after entering an authority management interface, so that the prior art has the technical problems that the authority information display mode used by the application program is not intuitive and the user requirements cannot be met.
Disclosure of Invention
The embodiment of the invention provides an information display method and device, a terminal and a readable storage medium, and aims to solve the technical problems that in the prior art, the permission information display mode used by an application program is not intuitive and cannot meet the requirements of users.
In a first aspect, an embodiment of the present invention provides an information displaying method, which is applied to a terminal, and the method includes:
judging whether a display object is in a preset state or not, wherein the display object is a preset application program or a folder, and the folder comprises at least one preset application program;
if yes, acquiring the authority information used by the display object;
and displaying the authority information at a preset position corresponding to the display object.
Optionally, when the display object is a preset application program, the preset state is:
the preset application program is in a background running state; or
After the preset application program is installed or upgraded, displaying the icon of the preset application program on a desktop; or
Detecting a state that an operation body carries out first preset operation on the icon of the preset application program;
and when the display object is a folder, the preset state is a state of detecting that an operation body performs second preset operation on the icon of the folder.
Optionally, the displaying the permission information at a preset position corresponding to the display object includes:
displaying the permission information in a corresponding area for displaying the display object icon; or
Displaying the permission information at a preset position of an icon area of the display object; or
And displaying the icon of the display object and the authority information used by the display object in a preset authority information display area.
Optionally, after displaying the permission information at a preset position corresponding to the display object, the method further includes:
hiding the authority information after a preset time length; or
And hiding the authority information after detecting a third preset operation of the operation body.
Optionally, the method further includes:
if a fourth preset operation acting on the icon of the display object or the displayed authority information is detected, entering an authority management interface of the display object; receiving an authorization instruction aiming at the authority information displayed in the authority management interface;
and carrying out authorization control on the corresponding authority information according to the authorization instruction.
In a second aspect, an embodiment of the present invention provides an information display apparatus, applied to a terminal, where the information display apparatus includes:
the device comprises a judging unit, a processing unit and a display unit, wherein the judging unit is used for judging whether a display object is in a preset state or not, the display object is a preset application program or a folder, and the folder comprises at least one preset application program;
the acquisition unit is used for acquiring the authority information used by the display object if the judgment result of the judgment unit is positive;
and the permission information display unit is used for displaying the permission information at a preset position corresponding to the display object.
Optionally, when the display object is a preset application program, the preset state is:
the preset application program is in a background running state; or
After the preset application program is installed or upgraded, displaying the icon of the preset application program on a desktop; or
Detecting a state that an operation body carries out first preset operation on the icon of the preset application program;
when the display object is a folder, the preset state is a state of detecting that an operation body performs second preset operation on the icon of the folder;
the permission information display unit is specifically configured to:
displaying the permission information in a corresponding area for displaying the display object icon; or
Displaying the permission information at a preset position of an icon area of the display object; or
And displaying the icon of the display object and the authority information used by the display object in a preset authority information display area.
Optionally, the information display apparatus further includes:
the permission information hiding unit is used for hiding the permission information after a preset time length or hiding the permission information after a third preset operation of the operation body is detected after the permission information is displayed at a preset position corresponding to the display object; or
The authorization control unit is used for entering an authority management interface of the display object if a fourth preset operation acting on the icon of the display object or the displayed authority information is detected; receiving an authorization instruction aiming at the authority information displayed in the authority management interface; and carrying out authorization control on the corresponding authority information according to the authorization instruction.
In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes a processor, and the processor is configured to implement the steps of the information presentation method as described in the foregoing first and second embodiments when executing a computer program stored in a memory.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the information presentation method as described in the foregoing first and second aspect embodiments.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
in the information display method in this embodiment, when the display object is in the preset state, the electronic device obtains the permission information used by the display object, and displays the permission information at the preset position corresponding to the display object. By the mode, the authority information can be visually displayed at the corresponding position of the display object, and a user can quickly acquire the authority information used by the display object, so that the authority can be effectively managed. Therefore, the technical problems that in the prior art, the permission information display mode used by the application program is not visual and the user requirements cannot be met can be effectively solved.
Drawings
Fig. 1 is a flowchart of an information displaying method according to a first embodiment of the present invention;
FIG. 2a is a diagram illustrating permission information of an application program according to a first embodiment of the present invention;
FIG. 2b is a diagram illustrating folder right information according to a first embodiment of the present invention;
FIG. 3a is a diagram illustrating permission information of an application program according to a second embodiment of the present invention;
FIG. 3b is a diagram illustrating folder right information according to a second embodiment of the present invention;
FIG. 4 is a diagram illustrating a third method for displaying rights information according to the first embodiment of the present invention;
FIG. 5 is a diagram of an information displaying apparatus according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, some terms in the present invention will be explained to facilitate understanding by those skilled in the art.
1) The terminal mentioned in the embodiment of the present invention includes but is not limited to: smart phones (such as Android phones and IOS phones), tablet computers, notebook computers, palmtop computers, wearable smart devices, and other electronic devices. Other electronic devices are also possible, and this is not necessarily the case.
2) The "plurality" in the embodiment of the present invention means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified.
The technical scheme provided by the embodiment of the invention is described in the following with the accompanying drawings of the specification.
Examples
Referring to fig. 1, a first embodiment of the present invention provides an information displaying method applied to a terminal, where the method includes:
s101: judging whether a display object is in a preset state or not, wherein the display object is a preset application program or a folder, and the folder comprises at least one preset application program;
s102: if yes, acquiring the authority information used by the display object;
s103: and displaying the authority information at a preset position corresponding to the display object.
When the display object is a preset application program, the preset state is as follows:
the preset application program is in a background running state; or
After the preset application program is installed or upgraded, displaying the icon of the preset application program on a desktop; or
Detecting a state that an operation body carries out first preset operation on the icon of the preset application program;
and when the display object is a folder, the preset state is a state of detecting that an operation body performs second preset operation on the icon of the folder.
Specifically, in this embodiment, various applications are installed in the terminal, and the terminal sets the permission information that the preset application or folder needs to be displayed. The preset application may be an application preset by a user. Such as: the preset application is a third-party application installed in the terminal, or an application frequently used by the user, that is, an application having a number of times of opening within a preset time range greater than a preset value, or an application of a certain type, such as a communication application and a shopping application. In the specific implementation process, the preset application program can be set according to actual needs. The folder includes at least one preset application program, and the application programs included in the folder may be application programs of the same type, such as: folder 1 contains shopping applications, folder 2 contains game applications, and folder 3 contains office applications.
In the information display method in this embodiment, it is first necessary to determine whether the display object is in a preset state, and the following two situations are adopted:
first, when the display object is a preset application, it is determined whether the preset application is in a background running state, and if the preset application is in the background running state, it is determined that the preset application is in the preset state. Or judging whether the preset application program is in a state that an icon of the preset application program is displayed on a desktop after the preset application program is installed or upgraded, and if so, determining that the preset application program is in the preset state. Or, whether the preset application program is in a state where it is detected that the operation body performs a first preset operation on an icon of the preset application program is judged, and if so, it is determined that the preset application program is in the preset state, where the first preset operation may be an operation of long-pressing the icon of the preset application program, double-clicking the icon of the preset application program, and the like.
Secondly, when the display object is a folder, whether the folder is in a state of detecting that an operation body performs a second preset operation on an icon of the folder is judged, if so, the folder is determined to be in the preset state, wherein the second preset operation can be an operation of long-pressing the icon of the folder or double-clicking the icon of the folder, and the second preset operation can be set according to actual needs in a specific implementation process, and the application is not limited.
Further, after the display object is determined to be in the preset state, the authority information used by the display object is acquired.
When the display object is a preset application program, the permission information is preset permission information used by the preset application program; when the display object is a folder, the permission information is preset permission information used by at least one preset application program in the folder or the permission information is the same preset permission information used by all application programs in the folder.
Specifically, in this embodiment, when the display object is a preset application program, if the preset application program is in a preset state of background running, the right information being used by the preset application program is acquired as the right information to be displayed.
If the preset application program is in a preset state that the icon of the preset application program is displayed on the desktop after the preset application program is installed, acquiring the key permission information of the preset application program requesting authorization as the permission information to be displayed, such as: the authority to modify the terminal data, the authority to use the terminal album, and the like.
If the preset application program is in a preset state that the icon of the preset application program is displayed on the desktop after being upgraded, acquiring key permission information and/or other key permission information in the newly added request permission of the preset application program as permission information to be displayed, such as: the icons of the application program A are displayed on the desktop after upgrading, the key authority requested by the application program A is authority 1 and authority 2, the key authority added after upgrading is authority 3, and the authority 3 is determined to be the authority information to be displayed or the authority 1, the authority 2 and the authority 3 are determined to be the authority information to be displayed.
Of course, the key permission information requested in the last use process of the preset program can also be used as the permission information to be displayed. And the authority information to be displayed is the authority information used by the preset application program. In a specific implementation process, the authority information to be displayed may be set according to actual needs, and the present application is not limited herein.
When the display object is a folder, the folder comprises a plurality of preset application programs, and the authority information used by the folder is the same authority information used by the plurality of preset application programs or key authority information in the same authority information. Such as: the folder comprises an application program A, an application program B and an application program C, wherein the application program A uses the authority 1, the authority 2 and the authority 3, the application program B uses the authority 1, the authority 2 and the authority 4, the application program C uses the authority 1, the authority 2 and the authority 5, the same authority information used by the application program A, the application program B and the application program C is the authority 1 and the authority 2, and the authority information used by the folder is the authority 1 and the authority 2.
Further, step S103 is executed: displaying the permission information at a preset position corresponding to the display object, wherein step S103 may be implemented in any one of the following manners:
the first mode is as follows: and displaying the authority information in a corresponding area for displaying the display object icon.
The second mode is as follows: displaying the permission information at a preset position of an icon area of the display object; or
The third mode is as follows: and displaying the icon of the display object and the authority information used by the display object in a preset authority information display area.
Specifically, in this embodiment, when the first manner is adopted, the authority information used by the display object is displayed in the area corresponding to the display object icon, as shown in fig. 2a, the key authority information used by the application program is displayed around the icon of the QQ application program, and is the position, the photo, the wireless data, and the camera. As shown in fig. 2b, the surrounding of the icon of the folder shows that the authority information used by the folder is photos, wireless data, camera, and microphone.
When the second method is adopted, the authority information used by the display object is displayed at the preset position of the display object icon area, as shown in fig. 3a, the key authority information used by the application program is displayed on the icon of the QQ application program as a position, a photo, wireless data, and a camera. As shown in fig. 3b, the icon of the folder displays that the authority information used by the folder is a photo, wireless data, a camera, and a microphone.
When the third mode is adopted, the terminal display screen is provided with the permission information display area, and the permission information display area can be set at any position of the display screen according to actual needs. The authority information display area is as shown in fig. 4, and icons of the QQ application and the folder a corresponding to the photo authority of the authority item indicate that the display object using the photo authority includes the QQ application and the folder a. And the icon of the weather application program and the icon of the folder B corresponding to the position authority of the authority item indicate that the display object using the position authority comprises the weather application program and the folder B.
In a specific implementation process, the manner of presenting the authority information used by the display object is not limited to the three manners, and may also be set according to actual needs, and the present application is not limited herein.
If the right information is always displayed at the preset position corresponding to the display object, the display content of the display interface may be confused, so that the information display method in this embodiment further includes, after step S103, the following steps:
hiding the authority information after a preset time length; or
And hiding the authority information after detecting a third preset operation of the operation body.
Specifically, in this embodiment, if the permission information displays a preset time length in the corresponding area, the permission information may be automatically hidden, the preset time length may be set to 5 seconds or 10 seconds, and in a specific implementation process, the preset time length may be set according to actual needs, which is not limited in this application. Or after detecting that the operation body is used for a third preset operation, hiding the permission information, where the third preset operation may be an operation of re-pressing the displayed object icon, or the third preset operation may be a zoom gesture performed in a region where the displayed object icon is located, or the third preset operation may be an operation of clicking a preset key, and in a specific implementation process, the third preset operation may be set according to actual needs.
Further, in order to facilitate the user to conveniently and quickly perform the right control on the display object, the information display method in this embodiment further includes the following steps:
if a fourth preset operation acting on the icon of the display object or the displayed authority information is detected, entering an authority management interface of the display object; receiving an authorization instruction aiming at the authority information displayed in the authority management interface;
and carrying out authorization control on the corresponding authority information according to the authorization instruction.
Specifically, in this embodiment, during the period of displaying the authority information of the display object, if a fourth preset operation acting on the icon of the display object or the authority information is detected, the fourth preset operation may be an operation of clicking the icon of the display object for a preset number of times, or the fourth preset operation may be an operation of clicking the authority information, and in a specific implementation process, the fourth preset operation may be set according to an actual need, which is not limited in this application. And displaying the authority management interface of the display object on a screen, wherein the authority management interface displays the authority information used by the display object, and a user can select to authorize or prohibit the corresponding authority information, generate a corresponding authorization instruction and further perform authorization control on the authority information of the display object. Such as: the authority management interface displays preset application program use authority 1, authority 2 and authority 3, and a user can authorize or prohibit the authority 1, the authority 2 and the authority 3 according to defined preset operations, such as: and clicking an opening key corresponding to the permission 1 to indicate that the preset application program permission 1 is authorized, and clicking a closing key corresponding to the permission 2 to indicate that the preset application program permission 2 is forbidden to be authorized.
For another example: the authority management interface displays folder use authority 2 and authority 3, the folder comprises an application program A and an application program B, and a user can authorize or prohibit authority 1 and authority 2 according to defined preset operation, such as: and clicking an opening key corresponding to the permission 1 to indicate that the application program A and the application program B in the folder are authorized to use the permission 1, and clicking a closing key corresponding to the permission 2 to indicate that the application program A and the application program B in the folder are forbidden to be authorized to use the permission 2. For the authority control of the folder, the authority management of a plurality of application programs can be conveniently carried out by a user, so that the authority control mode is simpler and more convenient.
Referring to fig. 5, a second embodiment of the present invention provides an information displaying apparatus applied to a terminal, including but not limited to: smart phones (such as Android phones and IOS phones), tablet computers, notebook computers, palmtop computers, wearable smart devices, and other electronic devices. Other electronic devices are also possible, and this is not necessarily the case.
The information presentation device includes:
a determining unit 501, configured to determine whether a display object is in a preset state, where the display object is a preset application program or a folder, and the folder includes at least one preset application program;
an obtaining unit 502, configured to obtain, if a determination result of the determining unit is yes, right information used by the display object;
a permission information presentation unit 503, configured to present the permission information at a preset position corresponding to the display object.
When the display object is a preset application program, the preset state is as follows:
the preset application program is in a background running state; or
After the preset application program is installed or upgraded, displaying the icon of the preset application program on a desktop; or
Detecting a state that an operation body carries out first preset operation on the icon of the preset application program;
and when the display object is a folder, the preset state is a state of detecting that an operation body performs second preset operation on the icon of the folder.
Specifically, in this embodiment, various applications are installed in the terminal, and the terminal sets the permission information that the preset application or folder needs to be displayed. The preset application may be an application preset by a user. Such as: the preset application is a third-party application installed in the terminal, or an application frequently used by the user, that is, an application having a number of times of opening within a preset time range greater than a preset value, or an application of a certain type, such as a communication application and a shopping application. In the specific implementation process, the preset application program can be set according to actual needs. The folder includes at least one preset application program, and the application programs included in the folder may be application programs of the same type, such as: folder 1 contains shopping applications, folder 2 contains game applications, and folder 3 contains office applications.
In this embodiment, the determining unit 501 needs to determine whether the display object is in the preset state, which includes the following two cases:
first, when the display object is a preset application, the determining unit 501 determines whether the preset application is in a background running state, and determines that the preset application is in the preset state if the preset application is in the background running state. Or, the determining unit 501 determines whether the preset application is in a state where an icon of the preset application is displayed on the desktop after the preset application is installed or upgraded, and if so, determines that the preset application is in the preset state. Or, the determining unit 501 determines whether the preset application is in a state where it is detected that the operation body performs a first preset operation on the icon of the preset application, and if so, determines that the preset application is in the preset state, where the first preset operation may be an operation of pressing the icon of the preset application for a long time, double-clicking the icon of the preset application, and the like, and in a specific implementation process, the first preset operation may be set according to an actual need, which is not limited in this application.
Secondly, when the display object is a folder, the determining unit 501 determines whether the folder is in a state where it is detected that an operator performs a second preset operation on an icon of the folder, and if so, determines that the folder is in the preset state, where the second preset operation may be an operation of long-pressing the icon of the folder or double-clicking the icon of the folder, and in a specific implementation process, the second preset operation may be set according to an actual need, which is not limited in this application.
Further, after the obtaining unit 502 determines that the display object is in the preset state, the right information used by the display object is obtained.
When the display object is a preset application program, the permission information is preset permission information used by the preset application program; when the display object is a folder, the permission information is preset permission information used by at least one preset application program in the folder or the permission information is the same preset permission information used by all application programs in the folder.
Specifically, in this embodiment, when the display object is a preset application, if the preset application is in a preset state of background running, the obtaining unit 502 obtains the permission information that is being used by the preset application as the permission information to be displayed.
If the preset application program is in a preset state in which the icon of the preset application program is displayed on the desktop after being installed, the obtaining unit 502 obtains the key permission information requested to be authorized by the preset application program as the permission information to be displayed, for example: the authority to modify the terminal data, the authority to use the terminal album, and the like.
If the preset application program is in a preset state in which the icon of the preset application program is displayed on the desktop after being upgraded, the obtaining unit 502 obtains the key permission information and/or other key permission information in the newly added request permission of the preset application program as permission information to be displayed, for example: the icons of the application program A are displayed on the desktop after upgrading, the key authority requested by the application program A is authority 1 and authority 2, the key authority added after upgrading is authority 3, and the authority 3 is determined to be the authority information to be displayed or the authority 1, the authority 2 and the authority 3 are determined to be the authority information to be displayed.
Of course, the key permission information requested in the last use process of the preset program can also be used as the permission information to be displayed. And the authority information to be displayed is the authority information used by the preset application program. In a specific implementation process, the authority information to be displayed may be set according to actual needs, and the present application is not limited herein.
When the display object is a folder, the folder comprises a plurality of preset application programs, and the authority information used by the folder is the same authority information used by the plurality of preset application programs or key authority information in the same authority information. Such as: the folder comprises an application program A, an application program B and an application program C, wherein the application program A uses the authority 1, the authority 2 and the authority 3, the application program B uses the authority 1, the authority 2 and the authority 4, the application program C uses the authority 1, the authority 2 and the authority 5, the same authority information used by the application program A, the application program B and the application program C is the authority 1 and the authority 2, and the authority information used by the folder is the authority 1 and the authority 2.
Further, the right information presentation unit 503 implements the right information presentation by any one of the following manners:
the first mode is as follows: and displaying the authority information in a corresponding area for displaying the display object icon.
The second mode is as follows: displaying the permission information at a preset position of an icon area of the display object; or
The third mode is as follows: and displaying the icon of the display object and the authority information used by the display object in a preset authority information display area.
Specifically, in this embodiment, when the first manner is adopted, the permission information display unit 503 displays the permission information used by the display object in the area corresponding to the display object icon, as shown in fig. 2a, the key permission information used by the application program is displayed around the icon of the QQ application program, and the key permission information is a position, a photograph, wireless data, or a camera. As shown in fig. 2b, the surrounding of the icon of the folder shows that the authority information used by the folder is photos, wireless data, camera, and microphone.
When the second method is adopted, the permission information display unit 503 displays the permission information used by the display object at a preset position in the display object icon area, as shown in fig. 3a, the key permission information used by the application program is displayed on the icon of the QQ application program as a position, a photo, wireless data, and a camera. As shown in fig. 3b, the icon of the folder displays that the authority information used by the folder is a photo, wireless data, a camera, and a microphone.
When the third method is adopted, the authority information display unit 503 displays the authority information display area, and the area can be set at any position of the display screen according to actual needs. The authority information display area is as shown in fig. 4, and icons of the QQ application and the folder a corresponding to the photo authority of the authority item indicate that the display object using the photo authority includes the QQ application and the folder a. And the icon of the weather application program and the icon of the folder B corresponding to the position authority of the authority item indicate that the display object using the position authority comprises the weather application program and the folder B.
In a specific implementation process, the manner of presenting the authority information used by the display object is not limited to the three manners, and may also be set according to actual needs, and the present application is not limited herein.
If the right information is always displayed at the preset position corresponding to the display object, the display content of the display interface is disordered, so the information display device in this embodiment further includes:
the permission information hiding unit is used for hiding the permission information after a preset time length or hiding the permission information after a third preset operation of the operation body is detected after the permission information is displayed at a preset position corresponding to the display object; or
The authorization control unit is used for entering an authority management interface of the display object if a fourth preset operation acting on the icon of the display object or the displayed authority information is detected; receiving an authorization instruction aiming at the authority information displayed in the authority management interface; and carrying out authorization control on the corresponding authority information according to the authorization instruction.
Specifically, in this embodiment, if the permission information is displayed in the corresponding area for a preset duration, the permission information hiding unit may automatically hide the permission information, where the preset duration may be set to 5 seconds or 10 seconds, and may be set according to actual needs in a specific implementation process, which is not limited in this application. Or, the permission information hiding unit hides the permission information after detecting that the operation body is used for a third preset operation, the third preset operation may be an operation of re-pressing the display object icon, or the third preset operation may be a zoom gesture performed in a region where the display object icon is located, or the third preset operation may be an operation of clicking a preset key.
In this embodiment, during the period of displaying the authority information of the display object, if the authorization control unit detects a fourth preset operation acting on the icon of the display object or the authority information, the fourth preset operation may be an operation of clicking the icon of the display object for a preset number of times, or the fourth preset operation may be an operation of clicking the authority information, and in a specific implementation process, the fourth preset operation may be set according to an actual need, which is not limited in this application. And displaying the authority management interface of the display object on a screen, wherein the authority management interface displays the authority information used by the display object, and a user can select to authorize or prohibit the corresponding authority information, generate a corresponding authorization instruction and further perform authorization control on the authority information of the display object. Such as: the authority management interface displays preset application program use authority 1, authority 2 and authority 3, and a user can authorize or prohibit the authority 1, the authority 2 and the authority 3 according to defined preset operations, such as: and clicking an opening key corresponding to the permission 1 to indicate that the preset application program permission 1 is authorized, and clicking a closing key corresponding to the permission 2 to indicate that the preset application program permission 2 is forbidden to be authorized.
For another example: the authority management interface displays folder use authority 2 and authority 3, the folder comprises an application program A and an application program B, and a user can authorize or prohibit authority 1 and authority 2 according to defined preset operation, such as: and clicking an opening key corresponding to the permission 1 to indicate that the application program A and the application program B in the folder are authorized to use the permission 1, and clicking a closing key corresponding to the permission 2 to indicate that the application program A and the application program B in the folder are forbidden to be authorized to use the permission 2. For the authority control of the folder, the authority management of a plurality of application programs can be conveniently carried out by a user, so that the authority control mode is simpler and more convenient.
As shown in fig. 6, a fifth embodiment of the present invention provides a terminal, including: a processor 601, a memory 602, and a computer program stored in the memory and capable of running on the processor, for example, a program corresponding to the information presentation method in the first embodiment. The processor implements the steps of the information presentation method in the first embodiment when executing the computer program. Alternatively, the processor implements the functions of the modules/units in the information presentation apparatus embodiment of the second embodiment when executing the computer program.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the terminal. For example, the computer program may be divided into functions of a determination unit, an acquisition unit, and a permission information presentation unit, where the specific functions of each unit are as follows:
the device comprises a judging unit, a processing unit and a display unit, wherein the judging unit is used for judging whether a display object is in a preset state or not, the display object is a preset application program or a folder, and the folder comprises at least one preset application program;
the acquisition unit is used for acquiring the authority information used by the display object if the judgment result of the judgment unit is positive;
and the permission information display unit is used for displaying the permission information at a preset position corresponding to the display object.
The terminal can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The terminal may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the schematic diagram 6 is merely an example of a terminal and is not intended to be limiting, and may include more or fewer components than those shown, or some components in combination, or different components, for example, the terminal may also include input and output devices, network access devices, buses, etc.
The Processor 601 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is the control center of the terminal and connects the various parts of the overall terminal using various interfaces and lines.
The memory 602 may be used to store the computer programs and/or modules, and the processor may implement various functions of the terminal by operating or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory 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. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
A fourth embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and the module integrated with the information presentation apparatus in the second embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the first embodiment may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
In the information display method in this embodiment, when the display object is in the preset state, the electronic device obtains the permission information used by the display object, and displays the permission information at the preset position corresponding to the display object. By the mode, the authority information can be visually displayed at the corresponding position of the display object, and a user can quickly acquire the authority information used by the display object, so that the authority can be effectively managed. Therefore, the technical problems that in the prior art, the permission information display mode used by the application program is not visual and the user requirements cannot be met can be effectively solved.
Having described preferred embodiments of the invention, further alterations and modifications may be effected to those embodiments by those skilled in the art, once apprised of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. An information display method is applied to a terminal, and is characterized by comprising the following steps:
judging whether a display object is in a preset state or not, wherein the display object is a preset application program or a folder, and the folder comprises at least one preset application program;
if yes, acquiring the authority information used by the display object;
displaying the permission information at a preset position corresponding to the display object; when the display object is a preset application program, taking key permission information requested in the last use process of the preset application program as permission information to be displayed; when the display object is a folder, using the same authority information or key authority information in the same authority information used by a plurality of preset application programs in the folder as the authority information to be displayed;
the displaying the permission information at a preset position corresponding to the display object includes:
displaying the permission information in a corresponding area of an icon displaying the display object; or
Displaying the permission information at a preset position of an icon area of the display object;
after displaying the permission information at a preset position corresponding to the display object, the method further includes:
hiding the authority information after a preset time length; or
And hiding the authority information after detecting a third preset operation of the operation body.
2. The information display method according to claim 1, wherein when the display object is a preset application program, the preset state is:
the preset application program is in a background running state; or
After the preset application program is installed or upgraded, displaying the icon of the preset application program on a desktop; or
Detecting a state that an operation body carries out first preset operation on the icon of the preset application program;
and when the display object is a folder, the preset state is a state of detecting that an operation body performs second preset operation on the icon of the folder.
3. The information presentation method of claim 1, further comprising:
if a fourth preset operation acting on the icon of the display object or the displayed authority information is detected, entering an authority management interface of the display object; receiving an authorization instruction aiming at the authority information displayed in the authority management interface;
and carrying out authorization control on the corresponding authority information according to the authorization instruction.
4. An information display device is applied to a terminal, and is characterized by comprising:
the device comprises a judging unit, a processing unit and a display unit, wherein the judging unit is used for judging whether a display object is in a preset state or not, the display object is a preset application program or a folder, and the folder comprises at least one preset application program;
the acquisition unit is used for acquiring the authority information used by the display object if the judgment result of the judgment unit is positive;
the permission information display unit is used for displaying the permission information at a preset position corresponding to the display object; when the display object is a preset application program, taking key permission information requested in the last use process of the preset application program as permission information to be displayed; when the display object is a folder, using the same authority information or key authority information in the same authority information used by a plurality of preset application programs in the folder as the authority information to be displayed;
the permission information display unit is specifically configured to:
displaying the permission information in a corresponding area of an icon displaying the display object; or
Displaying the permission information at a preset position of an icon area of the display object;
the information presentation device further comprises:
and the permission information hiding unit is used for hiding the permission information after a preset time length or hiding the permission information after a third preset operation of the operation body is detected after the permission information is displayed at a preset position corresponding to the display object.
5. The information presentation device of claim 4, wherein when the display object is a preset application, the preset state is:
the preset application program is in a background running state; or
After the preset application program is installed or upgraded, displaying the icon of the preset application program on a desktop; or
Detecting a state that an operation body carries out first preset operation on the icon of the preset application program;
and when the display object is a folder, the preset state is a state of detecting that an operation body performs second preset operation on the icon of the folder.
6. The information presentation device of claim 4, further comprising:
the authorization control unit is used for entering an authority management interface of the display object if a fourth preset operation acting on the icon of the display object or the displayed authority information is detected; receiving an authorization instruction aiming at the authority information displayed in the authority management interface; and carrying out authorization control on the corresponding authority information according to the authorization instruction.
7. A terminal, characterized in that the terminal comprises a processor for implementing the steps of the information presentation method according to any one of claims 1-3 when executing a computer program stored in a memory.
8. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the information presentation method according to any one of claims 1-3.
CN201710708555.5A 2017-08-17 2017-08-17 Information display method and device, terminal and readable storage medium Active CN107506637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710708555.5A CN107506637B (en) 2017-08-17 2017-08-17 Information display method and device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710708555.5A CN107506637B (en) 2017-08-17 2017-08-17 Information display method and device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN107506637A CN107506637A (en) 2017-12-22
CN107506637B true CN107506637B (en) 2020-11-20

Family

ID=60691168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710708555.5A Active CN107506637B (en) 2017-08-17 2017-08-17 Information display method and device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN107506637B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558197B (en) * 2018-11-27 2023-06-30 北京小米移动软件有限公司 Information recommendation method and device
CN110457921A (en) * 2019-08-01 2019-11-15 维沃移动通信有限公司 Right management method and terminal device
US11412382B2 (en) * 2019-11-07 2022-08-09 Humans, Inc Mobile application camera activation and de-activation based on physical object location
CN111460397A (en) * 2020-03-30 2020-07-28 维沃移动通信有限公司 Monitoring method for application permission calling and electronic equipment
CN112083862B (en) * 2020-09-16 2022-05-17 珠海格力电器股份有限公司 Camera permission display method and device, processor and terminal equipment
CN112199255A (en) * 2020-10-15 2021-01-08 Oppo广东移动通信有限公司 Authority use monitoring method, device, equipment and storage medium
CN112817498A (en) * 2021-02-23 2021-05-18 Oppo广东移动通信有限公司 Application authority management method, device, storage medium and terminal
CN112818372A (en) * 2021-02-23 2021-05-18 挂号网(杭州)科技有限公司 Authority display information processing method, device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678141A (en) * 2015-12-30 2016-06-15 魅族科技(中国)有限公司 Information exhibiting method and device and terminal
CN105677222A (en) * 2015-12-30 2016-06-15 魅族科技(中国)有限公司 Application information display method, application information display device and terminal
CN106254404A (en) * 2015-06-10 2016-12-21 中兴通讯股份有限公司 Application software authority recommends methods, devices and systems
CN106557687A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of authority control method and device of application program installation process

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012155408A (en) * 2011-01-24 2012-08-16 Kyocera Corp Portable electronic device
CN106293327A (en) * 2016-07-28 2017-01-04 西安酷派软件科技有限公司 End application fast operating method and system
CN106406657A (en) * 2016-08-30 2017-02-15 北京小米移动软件有限公司 Fast operation method and device and terminal
CN106843879A (en) * 2017-01-19 2017-06-13 北京珠穆朗玛移动通信有限公司 The display methods and mobile terminal of application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254404A (en) * 2015-06-10 2016-12-21 中兴通讯股份有限公司 Application software authority recommends methods, devices and systems
CN106557687A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of authority control method and device of application program installation process
CN105678141A (en) * 2015-12-30 2016-06-15 魅族科技(中国)有限公司 Information exhibiting method and device and terminal
CN105677222A (en) * 2015-12-30 2016-06-15 魅族科技(中国)有限公司 Application information display method, application information display device and terminal

Also Published As

Publication number Publication date
CN107506637A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN107506637B (en) Information display method and device, terminal and readable storage medium
CN108900770B (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
EP3242195A1 (en) Control implementation method and apparatus for intelligent hardware device
CN104375797B (en) Information processing method and electronic equipment
CN108400868B (en) Seed key storage method and device and mobile terminal
CN107451244B (en) Folder naming method, mobile terminal and computer readable storage medium
CN110457963B (en) Display control method, display control device, mobile terminal and computer-readable storage medium
EP2927833A1 (en) Methods and devices for granting access to and enabling passcode protection for a file
CN107909368B (en) Payment control method and device, terminal and readable storage medium
CN104751071A (en) Information processing method and electronic equipment
CN111190677A (en) Information display method, information display device and terminal equipment
CN107770845B (en) mobile hotspot management method and device, terminal and storage medium
CN109359582B (en) Information searching method, information searching device and mobile terminal
CN111695151A (en) Application permission setting method and device, electronic equipment and readable storage medium
CN110618852B (en) View processing method, view processing device and terminal equipment
CN109358927B (en) Application program display method and device and terminal equipment
WO2018049609A1 (en) Permission control method and device
WO2018049611A1 (en) Permission control method and device
CN105760796B (en) Application security processing method and device
CN112016080A (en) Application authority management method and device and electronic equipment
CN112214774A (en) Permission setting method, file playing method and device and electronic equipment
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN107204914B (en) Information processing method and device, computer device and storage medium
CN107316197B (en) Payment protection method, mobile terminal and computer readable storage medium
US11490160B2 (en) Screen recording from a remote device

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