CN107463809B - Application icon display method and device - Google Patents

Application icon display method and device Download PDF

Info

Publication number
CN107463809B
CN107463809B CN201710599740.5A CN201710599740A CN107463809B CN 107463809 B CN107463809 B CN 107463809B CN 201710599740 A CN201710599740 A CN 201710599740A CN 107463809 B CN107463809 B CN 107463809B
Authority
CN
China
Prior art keywords
application
icon
names
name
icons
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
CN201710599740.5A
Other languages
Chinese (zh)
Other versions
CN107463809A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710599740.5A priority Critical patent/CN107463809B/en
Publication of CN107463809A publication Critical patent/CN107463809A/en
Application granted granted Critical
Publication of CN107463809B publication Critical patent/CN107463809B/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/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

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

Abstract

The disclosure relates to a display method and a device of an application icon, comprising the following steps: receiving a privacy protection instruction input on a system desktop, and performing scrambling processing on a first corresponding relation of package names, icons and names of applications installed on terminal equipment according to the privacy protection instruction to obtain a scrambled second corresponding relation, wherein the icons and the names of the applications in the first corresponding relation are matched with the package names, the icons and/or the names of the applications in the scrambled second corresponding relation are not matched with the package names, the package name positions of the applications in the first corresponding relation and the scrambled second corresponding relation are unchanged, and then displaying the scrambled icons and the names of the applications on the system desktop according to the scrambled second corresponding relation. By disorganizing the package name and the icon of the application, the required application can not be accurately opened through the icon of the application on the desktop, so that the privacy of a user can be well protected.

Description

Application icon display method and device
Technical Field
The present disclosure relates to communications technologies, and in particular, to a method and an apparatus for displaying an application icon.
Background
As terminal devices enter an intelligent era, more and more applications (apps) are installed on the terminal devices, and privacy information of users is usually stored in the applications, for example, photos stored in an album, short message contents stored in a short message application, chat records in a WeChat application, and the like belong to user privacy. How to protect the privacy of users is more and more paid attention by people. At present, many mobile phones have an application hiding function, and can hide part of application icons. The user needs to set the hidden application in advance, and the setting process is complicated.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and apparatus for displaying an application icon.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for displaying an application icon, including:
receiving a privacy protection indication input on a system desktop;
according to the privacy protection indication, performing scrambling processing on a first corresponding relation among package names, icons and names of applications installed on the terminal equipment to obtain a scrambled second corresponding relation, wherein the icon and name of each application in the first corresponding relation are matched with the package names, the icon and/or name of each application in the scrambled second corresponding relation are not matched with the package names, and the package name position of each application in the first corresponding relation and the scrambled second corresponding relation is unchanged;
and displaying icons and names of the applications after disorder on a system desktop according to the second disordered corresponding relation.
Optionally, the method further includes: when a triggering operation of the application icon on the system desktop is received, acquiring the application package name corresponding to the position from the disturbed second corresponding relation according to the position of the triggered application icon, and starting and displaying the application data corresponding to the acquired application package name.
Optionally, the method further includes:
receiving a recovery instruction of the first corresponding relation;
restoring the second corresponding relation into the first corresponding relation according to the restoring instruction;
and displaying icons and names of the applications on the system desktop according to the first corresponding relation.
Optionally, the scrambling the first corresponding relationship among the names, icons, and application packages installed on the terminal device to obtain a scrambled second corresponding relationship includes:
performing scrambling processing on the icons of the applications in the first corresponding relation; and/or
And carrying out scrambling processing on the names of the applications in the first corresponding relation.
Optionally, the scrambling the first corresponding relationship among the names, icons, and application packages installed on the terminal device to obtain a scrambled second corresponding relationship includes:
and binding the icon and the name of each application in the first corresponding relation, and disordering the bound icon and the bound name of each application.
According to a second aspect of the embodiments of the present disclosure, there is provided a display device of an application icon, including:
a first receiving module configured to receive a privacy protection indication input on a system desktop;
a relationship adjustment module configured to perform, according to the privacy protection indication, a scrambling process on a first corresponding relationship among package names, icons, and names of applications installed on the terminal device to obtain a scrambled second corresponding relationship, where an icon and a name of each application in the first corresponding relationship are matched with a package name, an icon and/or a name of each application in the scrambled second corresponding relationship are not matched with a package name, and a package name position of each application in the first corresponding relationship and the scrambled second corresponding relationship is unchanged;
and the first display module is configured to display icons and names of the applications after disorder on the system desktop according to the second disordered corresponding relation.
Optionally, the apparatus further comprises:
the obtaining module is configured to obtain an application package name corresponding to the position from the disturbed second corresponding relation according to the position of the triggered application icon when the triggering operation of the application icon on the system desktop is received;
and the starting module is configured to start and display the application data corresponding to the acquired application package name.
Optionally, the apparatus further comprises:
a second receiving module configured to receive a restoration instruction of the first correspondence;
a restoring module configured to restore the second correspondence to the first correspondence according to the restoring instruction;
and the second display module is configured to display icons and names of the applications on the system desktop according to the first corresponding relation.
Optionally, the relationship adjusting module includes:
a first switching submodule configured to scramble the icons of the applications in the first correspondence; and/or performing scrambling processing on the names of the applications in the first corresponding relation.
Optionally, the relationship adjusting module includes:
and the second switching submodule is configured to bind the icons and the names of the applications in the first corresponding relation and carry out scrambling processing on the icons and the names after the applications are bound.
According to a third aspect of the embodiments of the present disclosure, there is provided a display device of an application icon, including: a memory having computer instructions stored therein and a processor executing the computer instructions to perform a method provided by a first aspect of embodiments of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method steps provided by the first aspect of embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps of conducting scrambling processing on a first corresponding relation among package names, icons and names of applications installed on a terminal device according to privacy protection instructions to obtain a second corresponding relation after scrambling, wherein the icons and the names of the applications in the first corresponding relation are matched with the package names, the icons and/or the names of the applications in the second corresponding relation after scrambling are not matched with the package names, the package name positions of the applications in the first corresponding relation and the second corresponding relation after scrambling are unchanged, and then displaying the icons and the names of the applications after scrambling on a system desktop according to the second corresponding relation after scrambling. By disorganizing the package name and the icon of the application, the required application can not be accurately opened through the icon of the application on the desktop, so that the privacy of a user can be well protected.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a display method of an application icon according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method of displaying an application icon according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of displaying an application icon according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a display apparatus for an application icon according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a display apparatus for an application icon according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a display apparatus for an application icon according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a display apparatus for an application icon according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a display apparatus for an application icon according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating an entity of a display device for an application icon according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a display apparatus 800 for an application icon according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for displaying an application icon, according to an exemplary embodiment, the method being performed by a terminal device, which may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or the like, as shown in fig. 1, and the method for displaying an application icon includes the following steps.
In step S101, a privacy protection instruction input on the system desktop is received.
Specifically, the terminal device receives a shaking operation input by a user on a system desktop, or receives a click or sliding operation of the user on a trigger button on the system desktop, where the trigger button is used for triggering a privacy protection operation.
In step S102, according to the privacy protection instruction, the first correspondence between the name, the icon, and the name of the application package installed on the terminal device is scrambled to obtain a scrambled second correspondence.
The icon and the name of each application in the first corresponding relation are matched with the package name, the icon and/or the name of each application in the second corresponding relation after disorder are not matched with the package name, and the position of the package name of each application in the first corresponding relation and the second corresponding relation after disorder is unchanged. It should be noted that, in the first corresponding relationship and the second corresponding relationship, the application is opened according to the application package name, the position of the application package name corresponds to the actual display position of the application data, and when the first corresponding relationship is compared and the disorder processing is performed, only the icon and the name of the application are disordered, and the package name of the application is not disordered, so that the actual display position of the application data on the system desktop is not changed.
The terminal device stores a first corresponding relationship of package names, icons and names of installed applications, the number of the installed applications is usually multiple, the icon and name of each application in the first corresponding relationship are matched with the package name, and the matching of the icon and name of an application with the package name specifically means that the package names, icons and names with the corresponding relationship all belong to the same application. Table one is an illustration of the first correspondence.
Watch 1
Figure BDA0001356844510000041
Figure BDA0001356844510000051
Table one contains the correspondence of three applications: WeChat, QQ, and Security center. In the existing scheme, the terminal device displays the icons and names of the applications at corresponding positions on the desktop according to the first corresponding relationship, and after a user clicks one of the application icons, the application corresponding to the application icon can be opened. In this embodiment, the first corresponding relationship is scrambled to obtain a scrambled second corresponding relationship, the icon and/or name of each application in the scrambled second corresponding relationship are not matched with the package name, and the mismatch between the icon and/or name of the application and the package name specifically means that the icon, name and package name having the corresponding relationship do not belong to the same application, for example, the icon in the corresponding relationship belongs to application 1, the name belongs to application 2, and the package name belongs to application 3.
The terminal equipment disordering the first corresponding relation comprises the following steps: and carrying out scrambling processing on the icons of the applications in the first corresponding relation, and/or scrambling processing on the names of the applications in the first corresponding relation, wherein the package name positions of the applications are unchanged. Or binding the icon and the name of each application in the first corresponding relation, and scrambling the icon and the name after the application is bound, wherein the position of the package name of each application is not changed. The mismatch between the icon and/or name of the application and the package name specifically includes the following three cases: (1) the icon of the application is not matched with the package name, and the name of the application is matched with the package name; (2) the name of the application is not matched with the package name, and the icon of the application is matched with the package name; (3) the icon and name of the application do not match the package name, and in case (3), the icon and name of the application may belong to the same application or may belong to different applications.
In the second mapping relationship after the obfuscation, the applications are distinguished by packet names, that is, the packet names of different applications are necessarily different, but icons or names of different applications may be the same or different. Assuming that N applications are installed on the terminal device, the icons and names of the N applications may be different. Or the icons and the names of the N applications are the same. Or, icons of some of the N applications are different from each other, and icons of the remaining applications are the same, and meanwhile, names of the N applications may be the same or different.
Table two is an illustration of the second correspondence after scrambling:
watch two
Name of bag Icon Name (R)
com.tencent.mm Safety center icon QQ
com.tencent.mobileqq WeChat icon Safety center
com.miui.securitycenter QQ icon WeChat
In the example shown in table two, the package names, icons, and names of all three applications do not match. The icon of the WeChat application is replaced by a safety center icon, the name of the WeChat application is replaced by a QQ name, the icon of the QQ application is replaced by a WeChat icon, the name of the QQ application is replaced by a safety center, the icon of the safety center application is replaced by a QQ icon, and the name of the safety center application is replaced by WeChat.
In step S103, the icons and names of the applications after the shuffle are displayed on the system desktop according to the shuffled second correspondence.
Since the icon and/or name of each application in the shuffled second correspondence does not match the package name, the icon and/or name of the application displayed on the system desktop according to the shuffled second correspondence does not match the package name. Taking the example shown in table two as an example, a security center icon and a QQ name are displayed at the position of the wechat application on the system desktop, a wechat icon and a security center are displayed at the position of the QQ application, and a QQ icon and a wechat are displayed at the position of the security center application. At this time, the icons and names of the applications displayed on the system desktop are not matched with the corresponding applications at all positions, and an operator cannot accurately open the applications required by the operator through the icons of the applications on the desktop, so that the privacy of the user can be well protected. For example, the operator clicks on the security center icon, the opened application is WeChat, the operator clicks on the WeChat icon, the opened application is QQ, the operator clicks on the QQ icon, and the opened application is the security center.
In this embodiment, a privacy protection instruction input on a system desktop is received, and according to the privacy protection instruction, a first corresponding relationship among package names, icons, and names of applications installed on a terminal device is subjected to a scrambling process to obtain a scrambled second corresponding relationship, where an icon and a name of each application in the first corresponding relationship are matched with a package name, an icon and/or a name of each application in the scrambled second corresponding relationship are not matched with a package name, a package name position of each application in the first corresponding relationship and the scrambled second corresponding relationship is unchanged, and then the scrambled icons and names of each application are displayed on the system desktop according to the scrambled second corresponding relationship. By disorganizing the package names and the icons of the applications, the required applications can not be accurately opened through the application icons on the desktop, so that the user privacy can be well protected.
Based on the embodiment shown in fig. 1, fig. 2 is a flowchart illustrating a method for displaying an application icon according to an exemplary embodiment, and as shown in fig. 2, the method for displaying an application icon includes the following steps.
In step S201, a privacy protection instruction input on the system desktop is received.
In step S202, according to the privacy protection instruction, the application package names installed on the terminal device, the icons of the applications in the first corresponding relationship between the icons and the names are scrambled, and/or the names of the applications in the first corresponding relationship are scrambled, so as to obtain the scrambled second corresponding relationship.
The icon and/or name of each application in the first corresponding relation are matched with the package name, the icon and/or name of each application in the second corresponding relation after disorder are not matched with the package name, and the position of the package name of each application in the first corresponding relation and the second corresponding relation after disorder is unchanged. In this embodiment, the terminal device may perform only the scrambling processing on the icon of each application in the first corresponding relationship, may perform only the scrambling processing on the name of each application in the first corresponding relationship, or may perform the scrambling processing on both the icon and the name of each application in the first corresponding relationship.
For example, the terminal device may perform the scrambling processing on the icons of the applications in the first corresponding relationship by: and generating a random number M, exchanging the icon of the ith application with the icon of the Mth N application in the first corresponding relation when M% N is not equal to 0, and exchanging the icon of the ith application with the icon of the Nth application when M% N is equal to 0. Wherein, N is the total number of applications installed on the terminal device, the value of i is 1 to N, the initial value of i is 1, N is an integer greater than or equal to 2, M is an integer greater than or equal to 1,% represents the remainder operation. And adding 1 to i, judging whether i is larger than N, if i is not larger than N, regenerating a random number M, executing the steps, and if i is larger than N, ending the application icon exchange. It should be noted that, each time the terminal device generates one random number M, values of the random numbers M generated twice before and after may be the same or different.
Illustratively, the terminal device may scramble the names of the applications in the first correspondence by: and generating a random number X, exchanging the name of the jth application and the name of the Xth Nth application in the first corresponding relation when X% N is not equal to 0, and exchanging the icon of the ith application and the icon of the Nth application when X% N is equal to 0. Wherein j takes a value from 1 to N, j takes an initial value of 1, and X is an integer greater than or equal to 1. And after the icon of the ith application is exchanged with the icon of the nth application, j is added with 1, whether j is larger than N is judged, if j is not larger than N, the step is returned to be executed, and if j is larger than N, the application name exchange is ended.
When the icons and the names of the applications in the first corresponding relationship are scrambled, the icons of the applications may be exchanged first according to the above-mentioned method, and then the names of the applications may be exchanged according to the above-mentioned method. Alternatively, the names of the applications may be exchanged first, and then the icons of the applications may be exchanged as described above.
According to the obfuscation method of this embodiment, in the obfuscated second correspondence finally generated, the icon and the name of each application are inconsistent.
In step S203, the icons and names of the applications after the shuffle are displayed on the system desktop according to the shuffled second correspondence.
When the icon and the name of each application in the second corresponding relationship are not matched with the package name, the icon and the name of the application displayed on the system desktop are finally inconsistent, for example, a WeChat name is displayed below the QQ icon, a safety center name is displayed below the WeChat icon, and a QQ name is displayed below the safety center icon.
In step S204, when a trigger operation on an application icon on the system desktop is received, an application package name corresponding to the triggered application icon is obtained from the disturbed second correspondence according to the position of the application icon, and application data corresponding to the obtained application package name is started and displayed.
In this embodiment, since the positions of the application package names in the first corresponding relationship and the second corresponding relationship are not changed, and the positions of the application package names correspond to the actual display positions of the application data, after the icons and names of the applications after disorder are displayed on the system desktop, when a trigger operation for the application icons on the system desktop is received, the applications corresponding to the triggered application icons are opened instead of the applications corresponding to the triggered application icons.
In step S205, a restoration instruction of the first correspondence relationship is received.
Optionally, the recovery instruction may be a shake operation or a click and slide operation on a recovery button, the recovery button may be set in a system setting page or on a system desktop, and the recovery button may be the same button as the trigger button. The function realized by the method of the embodiment is an optional function, so that an on-off button can be set in the setting of the terminal device, and after the user starts the function, some function options are also set, for example, a recovery button, and the user can realize the recovery of the first corresponding relationship by operating the recovery button.
In step S206, the second correspondence relationship is restored to the first correspondence relationship according to the restoration instruction.
In step S207, icons and names of the applications are displayed on the system desktop in accordance with the first correspondence.
Although the privacy of the user can be protected by disordering the icons and the names of the applications, the normal use of the user can be influenced, and when the user uses the terminal equipment normally, the first corresponding relation can be restored by shaking or operating the restoring button, so that the operation is convenient.
In this embodiment, according to the privacy protection instruction, the package name of the application installed on the terminal device, the icon of each application in the first corresponding relationship between the icon and the name of the application and/or the application name are/is scrambled to obtain a scrambled second corresponding relationship, and the scrambled icons and names of each application are displayed on the system desktop according to the scrambled second corresponding relationship. By disorganizing the name and/or the icon of the application, the required application can not be accurately opened through the application icon on the desktop, so that the privacy of a user can be well protected.
Fig. 3 is a flowchart illustrating a display method of an application icon, according to an exemplary embodiment, which includes the following steps, as shown in fig. 3.
In step S301, a privacy protection instruction input on the system desktop is received.
In step S302, according to the privacy protection instruction, the icons and names of the applications in the first corresponding relationship among the names, icons, and names of the application packages installed on the terminal device are bound, and the bound icons and names of the applications are scrambled to obtain a scrambled second corresponding relationship.
The icon and the name of each application in the first corresponding relation are matched with the package name, the icon and the name of each application in the second corresponding relation after disorder are not matched with the package name, and the position of the package name of each application in the first corresponding relation and the second corresponding relation after disorder is unchanged.
For example, the binding process of the icon and the name of each application in the first corresponding relationship may be implemented by performing a scrambling process on the bound icon and name of each application in the following two ways:
the first method is as follows: and generating a random number Y, exchanging the icon and the name of the ith application in the first corresponding relation with the icon and the name of the Yth% N application when Y% N is not equal to 0, and exchanging the icon of the ith application with the icon of the Nth application when Y% N is equal to 0. Wherein, N is the total number of applications installed on the terminal device, i takes a value of 1, … …, N, i have an initial value of 1, N is an integer greater than or equal to 2, Y is an integer greater than or equal to 1, and% represents the remainder operation. And after the icon and the name of the ith application in the first corresponding relation are exchanged with the icon and the name of the Y% N application, adding 1 to i, judging whether i is greater than N, if i is not greater than N, returning to execute the step S302, and if i is greater than N, ending the exchange process.
In the disturbed second corresponding relationship obtained according to the first mode, since the icons and the names of the applications are bound, the icons and the names of the two applications are exchanged together during the exchange, and in the finally generated disturbed second corresponding relationship, the icon and the name of each application are consistent, but the icons and the names of different applications are different.
The second method comprises the following steps: and binding the icons and the names of the applications in the first corresponding relation, arbitrarily selecting one target application from the first corresponding relation, exchanging the icons and the names of the rest applications except the target application in the first corresponding relation with the icons and the names bound by the target application, keeping the position of the package name of each application unchanged, and obtaining the disordered second corresponding relation.
According to the disturbed second corresponding relationship obtained in the second mode, the icons and the names of all the applications are the same, for example, if the target application is WeChat, the icons of all the applications displayed on the system desktop are WeChat icons, and the names of all the applications displayed on the system desktop are WeChat names. Therefore, the required application cannot be accurately opened through the icon of the application on the desktop of the system, and the privacy of the user can be well protected.
In step S303, icons and names of the applications after the shuffle are displayed on the system desktop according to the shuffled second correspondence.
In this embodiment, by binding the icon and the name of the application, the icon and the name of the application finally displayed on the system desktop are consistent, for example, a QQ name is displayed below the QQ icon, a WeChat name is displayed below the WeChat icon, and a security center name is displayed below the security center icon.
In step S304, when a trigger operation on an application icon on the system desktop is received, an application package name corresponding to the triggered application icon is acquired from the disturbed second correspondence according to the position of the application icon, and application data corresponding to the acquired application package name is started and displayed.
In step S305, a restoration instruction of the first correspondence relationship is received.
In step S306, the second correspondence relationship is restored to the first correspondence relationship according to the restoration instruction.
In step S307, icons and names of the applications are displayed on the system desktop according to the first correspondence.
The specific implementation manner of steps 304-307 is described with reference to the embodiment shown in fig. 2, and is not described herein again.
In this embodiment, according to the privacy protection instruction, the icons and names of the applications in the first corresponding relationship of the application package names, the icons and the names installed on the terminal device are bound, the icons and the names bound by the applications are exchanged, the package name positions of the applications are not changed, the disturbed second corresponding relationship is obtained, and the disturbed icons and names of the applications are displayed on the system desktop according to the disturbed second corresponding relationship. The names and icons of the applications are bound and then are subjected to disorder processing, and the required applications cannot be accurately opened through the application icons on the desktop, so that the user privacy can be well protected.
Fig. 4 is a block diagram illustrating a display apparatus of an application icon according to an exemplary embodiment, and as shown in fig. 4, the apparatus of the present embodiment includes:
a first receiving module 11 configured to receive a privacy protection indication input on a system desktop;
a relationship adjusting module 12, configured to perform, according to the privacy protection indication, a scrambling process on a first corresponding relationship among package names, icons, and names of applications installed on the terminal device, to obtain a scrambled second corresponding relationship, where an icon and a name of each application in the first corresponding relationship are matched with a package name, an icon and/or a name of each application in the scrambled second corresponding relationship are not matched with a package name, and a package name position of each application in the first corresponding relationship and the scrambled second corresponding relationship is unchanged;
and the first display module 13 is configured to display icons and names of the applications after the disorder on the system desktop according to the second disordered correspondence.
Fig. 5 is a block diagram of a display device for application icons according to an exemplary embodiment, and as shown in fig. 5, the device of the present embodiment further includes, on the basis of the device shown in fig. 4:
the obtaining module 14 is configured to, when receiving a trigger operation on an application icon on a system desktop, obtain, according to a position of the triggered application icon, an application package name corresponding to the position from the disturbed second correspondence;
the starting module 15 is configured to start and display the application data corresponding to the application package name acquired by the acquiring module 14.
Fig. 6 is a block diagram of a display device for application icons according to an exemplary embodiment, and as shown in fig. 6, the device of the present embodiment further includes, on the basis of the device shown in fig. 4:
a second receiving module 16 configured to receive a restoring instruction of the first corresponding relationship;
a restoring module 17 configured to restore the second corresponding relationship to the first corresponding relationship according to the restoring instruction;
and the second display module 18 is configured to display icons and names of the applications on the system desktop according to the first corresponding relation.
Fig. 7 is a block diagram of a display device for application icons according to an exemplary embodiment, and as shown in fig. 7, the device of this embodiment is based on the device shown in fig. 4, and the relationship adjustment module 12 includes:
a first switching submodule 121 configured to scramble icons of the applications in the first corresponding relationship; and/or performing scrambling processing on the names of the applications in the first corresponding relation.
Fig. 8 is a block diagram of a display device for application icons according to an exemplary embodiment, and as shown in fig. 8, the device of this embodiment is based on the device shown in fig. 4, and the relationship adjustment module 12 includes:
and a second switching sub-module 122 configured to bundle the icons and names of the applications in the first corresponding relationship, and perform a scrambling process on the bundled icons and names of the applications.
The functional modules in the display apparatus for application icons shown in fig. 4 to 8 may be used to implement the display method for application icons shown in fig. 1 to 3, and the specific implementation manner and the technical effect are similar.
Fig. 9 is a block diagram illustrating an entity of a display apparatus for application icons according to an exemplary embodiment, and as shown in fig. 9, the display apparatus 200 for application icons includes: a memory 22 and a processor 21, wherein the memory 22 stores computer instructions, and the processor 21 executes the computer instructions to perform the method steps of the embodiments shown in fig. 1 to 3.
It should be understood that in the above embodiments, the processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the aforementioned memory may be a read-only memory (ROM), a Random Access Memory (RAM), a flash memory, a hard disk, or a solid state disk. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
Fig. 10 is a block diagram illustrating a display apparatus 800 for an application icon according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute commands to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include commands, contact data, phonebook data, messages, pictures, videos, etc. for any application or method operating on the device 800. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described display method of the application icons shown in fig. 1 to 3.
In an exemplary embodiment, a non-transitory computer-readable storage medium including commands, such as the memory 804 including commands, executable by the processor 820 of the apparatus 800 to perform the above-described application icon display method shown in fig. 1 to 3 is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of the embodiments shown in fig. 1 to 3.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. A method for displaying an application icon, comprising:
receiving a privacy protection indication input on a system desktop;
according to the privacy protection indication, performing scrambling processing on a first corresponding relation of names, icons and names of application packages installed on the terminal equipment to obtain a scrambled second corresponding relation, wherein the icons and the names of each application in the first corresponding relation are matched with the package names, the icons and/or the names of each application in the scrambled second corresponding relation are not matched with the package names, and the package name positions of each application in the first corresponding relation and the scrambled second corresponding relation are unchanged;
displaying icons and names of the applications after disorder on a system desktop according to the second disordered corresponding relation;
the method for scrambling the first corresponding relationship among the names, the icons and the application packages installed on the terminal equipment to obtain the scrambled second corresponding relationship includes:
performing scrambling processing on the icon and the name of each application in the first corresponding relationship so that the icon and the name of each application in the second corresponding relationship after scrambling are not matched with the package name;
or binding the icons and the names of the applications in the first corresponding relationship, selecting one target application from the first corresponding relationship, exchanging the icons and the names of the remaining applications except the target application in the first corresponding relationship with the icons and the names of the bound target applications to obtain a disturbed second corresponding relationship;
wherein, the performing the scrambling processing on the icon and the name of each application in the first corresponding relationship comprises:
step S1: generating a random number M, exchanging the icon of the ith application with the icon of the Mth N application in the first corresponding relation when M% N is not equal to 0, and exchanging the icon of the ith application with the icon of the Nth application when M% N is equal to 0; wherein, N is the total number of applications installed on the terminal equipment, the value of i is 1 to N, the initial value of i is 1, N is an integer greater than or equal to 2, M is an integer greater than or equal to 1, and% represents the remainder operation;
step S2: adding 1 to i, judging whether i is larger than N, if i is not larger than N, regenerating a random number M, executing step S1, and if i is larger than N, ending the application icon exchange; step S3: generating a random number X, exchanging the name of the jth application and the name of the xth N application in the first corresponding relation when X% N is not equal to 0, and exchanging the icon of the ith application and the icon of the nth application when X% N is equal to 0, wherein j takes values from 1 to N, the initial value of j is 1, and X is an integer greater than or equal to 1, in the step S4: and after the icon of the ith application is exchanged with the icon of the nth application, j is added by 1, whether j is larger than N is judged, if j is not larger than N, the step S3 is returned to be executed, and if j is larger than N, the application name exchange is ended.
2. The method of claim 1, further comprising:
when a triggering operation of the application icon on the system desktop is received, acquiring the application package name corresponding to the position from the disturbed second corresponding relation according to the position of the triggered application icon, and starting and displaying the application data corresponding to the acquired application package name.
3. The method of claim 1, further comprising:
receiving a recovery instruction of the first corresponding relation;
restoring the second corresponding relation into the first corresponding relation according to the restoring instruction;
and displaying icons and names of the applications on the system desktop according to the first corresponding relation.
4. A display device for an application icon, comprising:
a first receiving module configured to receive a privacy protection indication input on a system desktop;
a relationship adjustment module configured to perform, according to the privacy protection indication, a scrambling process on a first corresponding relationship among package names, icons, and names of applications installed on a terminal device to obtain a scrambled second corresponding relationship, where the icon and the name of each application in the first corresponding relationship are matched with the package names, the icon and/or the name of each application in the scrambled second corresponding relationship are not matched with the package names, and the package name position of each application in the first corresponding relationship and the scrambled second corresponding relationship is unchanged;
the first display module is configured to display icons and names of the applications after disorder on a system desktop according to the second disordered corresponding relation;
wherein the relationship adjustment module comprises:
a first switching submodule configured to scramble the icon and the name of each application in the first corresponding relationship, so that the scrambled icon and name of each application in the second corresponding relationship are not matched with the package name;
or the relationship adjustment module comprises:
the second exchange submodule is configured to bind icons and names of applications in the first corresponding relationship, select one target application from the first corresponding relationship, and exchange the icons and names of the remaining applications except the target application in the first corresponding relationship with the icons and names bound by the target application to obtain a disturbed second corresponding relationship;
wherein, the performing the scrambling processing on the icon and the name of each application in the first corresponding relationship comprises:
step S1: generating a random number M, exchanging the icon of the ith application with the icon of the Mth N application in the first corresponding relation when M% N is not equal to 0, and exchanging the icon of the ith application with the icon of the Nth application when M% N is equal to 0; wherein, N is the total number of applications installed on the terminal equipment, the value of i is 1 to N, the initial value of i is 1, N is an integer greater than or equal to 2, M is an integer greater than or equal to 1, and% represents the remainder operation;
step S2: adding 1 to i, judging whether i is larger than N, if i is not larger than N, regenerating a random number M, executing step S1, and if i is larger than N, ending the application icon exchange; step S3: generating a random number X, exchanging the name of the jth application and the name of the xth N application in the first corresponding relation when X% N is not equal to 0, and exchanging the icon of the ith application and the icon of the nth application when X% N is equal to 0, wherein j takes values from 1 to N, the initial value of j is 1, and X is an integer greater than or equal to 1, in the step S4: and after the icon of the ith application is exchanged with the icon of the nth application, j is added with 1, whether j is larger than N is judged, if j is not larger than N, the step is returned to be executed, and if j is larger than N, the application name exchange is ended.
5. The apparatus of claim 4, further comprising:
the obtaining module is configured to obtain an application package name corresponding to the position from the disturbed second corresponding relation according to the position of the triggered application icon when the triggering operation of the application icon on the system desktop is received;
and the starting module is configured to start and display the application data corresponding to the application package name acquired by the acquiring module.
6. The apparatus of claim 4, further comprising:
a second receiving module configured to receive a restoration instruction of the first correspondence;
a restoring module configured to restore the second correspondence to the first correspondence according to the restoring instruction;
and the second display module is configured to display icons and names of the applications on the system desktop according to the first corresponding relation.
7. A display device for an application icon, comprising: a memory having computer instructions stored therein and a processor executing the computer instructions to perform the method of any of the preceding claims 1-3.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 3.
CN201710599740.5A 2017-07-21 2017-07-21 Application icon display method and device Active CN107463809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710599740.5A CN107463809B (en) 2017-07-21 2017-07-21 Application icon display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710599740.5A CN107463809B (en) 2017-07-21 2017-07-21 Application icon display method and device

Publications (2)

Publication Number Publication Date
CN107463809A CN107463809A (en) 2017-12-12
CN107463809B true CN107463809B (en) 2020-09-11

Family

ID=60543909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710599740.5A Active CN107463809B (en) 2017-07-21 2017-07-21 Application icon display method and device

Country Status (1)

Country Link
CN (1) CN107463809B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573169A (en) * 2018-04-10 2018-09-25 Oppo广东移动通信有限公司 Nearest task list display methods and device, storage medium, electronic equipment
CN110109582B (en) * 2019-04-19 2021-02-26 惠州Tcl移动通信有限公司 Display method and device of mobile terminal and storage medium
CN112346613A (en) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 Icon display effect control method, terminal and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404443A (en) * 2015-10-27 2016-03-16 努比亚技术有限公司 Application starting method and apparatus
CN105760737A (en) * 2016-02-23 2016-07-13 深圳市金立通信设备有限公司 Control method for applications and terminal
CN106407790A (en) * 2016-09-22 2017-02-15 北京奇虎科技有限公司 A privacy protection method and a privacy protection device for application programs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404443A (en) * 2015-10-27 2016-03-16 努比亚技术有限公司 Application starting method and apparatus
CN105760737A (en) * 2016-02-23 2016-07-13 深圳市金立通信设备有限公司 Control method for applications and terminal
CN106407790A (en) * 2016-09-22 2017-02-15 北京奇虎科技有限公司 A privacy protection method and a privacy protection device for application programs

Also Published As

Publication number Publication date
CN107463809A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
EP3086539B1 (en) Method and device for deleting smart scene
CN104866179B (en) Terminal application program management method and device
US11086482B2 (en) Method and device for displaying history pages in application program and computer-readable medium
CN107436784B (en) Floating window display method and device
CN106453052B (en) Message interaction method and device
JP2017518598A (en) Authority management method, apparatus, program, and recording medium
CN106156561B (en) Application locking method, application unlocking method and device
EP2940977B1 (en) Method and device for sending information in voice service
CN107147815B (en) Call processing method and device based on taxi taking
US20180144546A1 (en) Method, device and terminal for processing live shows
EP3462367B1 (en) Method and apparatus for displaying application interface
JP6442493B2 (en) Method and apparatus for unlocking
CN107463809B (en) Application icon display method and device
CN109413157B (en) Message shielding method and device
CN108900553B (en) Communication method, device and computer readable storage medium
CN105979062B (en) Communication event processing method and device
WO2018049610A1 (en) Permission control method and device
CN107171938B (en) Method and device for shielding social friends
JP2016537923A (en) Traffic control method and apparatus for mobile router
CN107656616B (en) Input interface display method and device and electronic equipment
CN107491238B (en) Display method and device of push information
CN106447747B (en) Image processing method and device
CN105760796B (en) Application security processing method and device
CN107483605B (en) File downloading method and device and storage medium
CN107885571B (en) Display page control method and 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