Icon display method and terminalTechnical Field
The present invention relates to the field of terminals, and in particular, to a method for displaying an icon and a terminal.
Background
With the continuous development of terminal technology, a plurality of applications can be run in the terminal to provide various services for users. The application program operated by the terminal can correspond to an icon, and in the using process, after a user clicks one icon, the terminal starts to operate the application program corresponding to the icon. In order to facilitate the user to select the clicked icon, the terminal generally needs to display the icon on the terminal desktop.
When the current terminal displays the icons, the terminal desktop is divided into n x m squares, and a plurality of icons of the terminal are respectively displayed in the corresponding squares of the n x m squares according to a preset sequence, wherein n and m are positive integers greater than or equal to 1.
The above method of displaying icons has at least the following problems:
when the icons are displayed, the icons are displayed in the corresponding squares in sequence, and the icon display mode is single; and when the number of displayed icons is large, the desktop background can be shielded in a large area by the large number of icons, so that the display effect of the desktop background is poor.
Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide a method and a terminal for displaying an icon. The technical scheme is as follows:
in one aspect, a method of displaying an icon is provided, the method comprising:
detecting an operation state of the terminal;
and if the operation state of the terminal is detected to be an idle state, hiding at least one icon to be hidden in the icons on the terminal desktop.
Preferably, before hiding at least one icon to be hidden in the icons on the terminal desktop, the method further includes:
determining the use frequency of each icon in the icons on the terminal desktop, and determining at least one icon to be hidden according to the use frequency of each icon; or,
and determining an icon selected by a user in the icons on the terminal desktop, and determining at least one icon to be hidden from the icons on the terminal desktop according to the icon selected by the user.
Preferably, the determining at least one icon to be hidden from the icons on the terminal desktop according to the icon selected by the user includes:
determining an icon selected by a user from icons on the terminal desktop as an icon to be hidden; or,
and determining at least one other icon except the icon selected by the user in the icons on the terminal desktop as an icon to be hidden.
Preferably, when hiding at least one icon to be hidden in the icons on the terminal desktop, the method further includes:
displaying other icons except the at least one icon to be hidden in the icons on the terminal desktop at corresponding positions in a preselected desktop; or,
and the display positions of other icons except the at least one icon to be hidden in the icons on the terminal desktop are unchanged.
Preferably, after hiding at least one icon to be hidden in the icons on the terminal desktop, the method further includes:
and if the operation state of the terminal is detected to be the activated state, displaying the at least one icon to be hidden.
Preferably, the detecting an operation state of the terminal includes:
if the operation instruction input by the user is not received within the preset time, detecting that the operation state of the terminal is an idle state;
and if an operation instruction input by a user is received, detecting that the operation state of the terminal is an activation state.
In another aspect, a terminal is provided, which includes:
the detection module is used for detecting the operation state of the terminal;
and the hiding module is used for hiding at least one icon to be hidden in the icons on the terminal desktop when the detection module detects that the operation state of the terminal is an idle state.
Preferably, the terminal further includes:
the terminal desktop comprises a first determining module, a second determining module and a display module, wherein the first determining module is used for determining the use frequency of each icon in the icons on the terminal desktop;
the second determining module is used for determining at least one icon to be hidden according to the use frequency of each icon determined by the first determining module;
the third determining module is used for determining the icon selected by the user in the icon on the terminal desktop;
and the fourth determining module is used for determining at least one icon to be hidden from the icons on the terminal desktop according to the icon selected by the user and determined by the third determining module.
Preferably, the fourth determining module includes:
the first determining unit is used for determining an icon selected by a user from icons on the terminal desktop as an icon to be hidden;
and the second determining unit is used for determining at least one other icon except the icon selected by the user in the icons on the terminal desktop as the icon to be hidden.
Preferably, the terminal further includes:
the processing module is used for displaying other icons except the at least one icon to be hidden in the icons on the terminal desktop at corresponding positions in a preselected desktop; or the display positions of other icons except the at least one icon to be hidden in the icons on the terminal desktop are unchanged.
Preferably, the terminal further includes:
and the display module is used for displaying the at least one icon to be hidden when the detection module detects that the operation state of the terminal is the activation state.
Preferably, the detection module includes:
the terminal comprises a first detection unit, a second detection unit and a control unit, wherein the first detection unit is used for detecting that the operation state of the terminal is an idle state when an operation instruction input by a user is not received within preset time;
and the second detection unit is used for detecting that the operation state of the terminal is an activation state when receiving an operation instruction input by a user.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
when the operation state of the terminal is detected to be an idle state, at least one icon to be hidden in the icons on the terminal desktop is hidden, so that the icon display mode is expanded; after the icons to be hidden on the terminal desktop are hidden, the number of the icons displayed on the terminal desktop is reduced, so that the shielding of the desktop background is reduced, and the desktop background can be well displayed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for displaying icons according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for displaying icons according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of an icon displayed on a desktop of a terminal according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first terminal according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second terminal according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a fourth determining module according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a third terminal according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of a fourth terminal according to a third embodiment of the present invention;
fig. 9 is a schematic structural diagram of a detection module 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 more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
Example one
The embodiment of the invention provides a method for displaying an icon, and referring to fig. 1, the method comprises the following steps:
101: an operation state of the terminal is detected.
Preferably, the detecting of the operation state of the terminal includes:
if the operation instruction input by the user is not received within the preset time, detecting that the operation state of the terminal is an idle state;
and if an operation instruction input by a user is received, detecting that the operation state of the terminal is an activation state.
102: and if the operation state of the terminal is detected to be an idle state, hiding at least one icon to be hidden in the icons on the terminal desktop.
Preferably, before hiding at least one icon to be hidden in the icons on the terminal desktop, the method further includes:
determining the use frequency of each icon in the icons on the terminal desktop, and determining at least one icon to be hidden according to the use frequency of each icon; or,
the method comprises the steps of determining an icon selected by a user in icons on a terminal desktop, and determining at least one icon to be hidden from the icons on the terminal desktop according to the icon selected by the user.
Preferably, determining at least one icon to be hidden from icons on a terminal desktop according to the icon selected by the user includes:
determining an icon selected by a user from icons on a terminal desktop as an icon to be hidden; or,
and determining at least one other icon except the icon selected by the user in the icons on the terminal desktop as the icon to be hidden.
Preferably, when at least one icon to be hidden in the icons on the terminal desktop is hidden, the method further includes:
displaying other icons except at least one icon to be hidden in the icons on the terminal desktop at corresponding positions in a preselected desktop; or,
the display positions of other icons except at least one icon to be hidden in the icons on the terminal desktop are unchanged.
Preferably, after hiding at least one icon to be hidden in the icons on the terminal desktop, the method further includes:
and if the operation state of the terminal is detected to be the activated state, displaying at least one icon to be hidden.
In summary, the method provided in the embodiment of the present invention hides at least one icon to be hidden in the icons on the desktop of the terminal when detecting that the operating state of the terminal is the idle state, thereby expanding the way of displaying the icons; after the icons to be hidden on the terminal desktop are hidden, the number of the icons displayed on the terminal desktop is reduced, so that the shielding of the desktop background is reduced, and the desktop background can be well displayed.
Example two
In order to expand the way icons are displayed, the embodiment of the invention provides a method for displaying icons. The embodiment of the present invention is mainly illustrated by applying the method for displaying an icon to a terminal, and the terminal may include a smart phone, a tablet computer, a notebook computer, an e-book reader, an MP3 player (movingpictureexpeerproperioupamudiolayer iii, mpeg audio layer 3), an MP4 player (movingpictureexpeerproperiolayer iv, mpeg audio layer 4), a laptop portable computer, a desktop computer, and the like. With reference to fig. 2, the method provided by the embodiment of the present invention includes:
201: an operation state of the terminal is detected.
For this step, the operation state of the terminal may be divided into an idle state and an active state. According to the method for displaying the icon, provided by the embodiment of the invention, the icon is expected to be displayed in different modes aiming at different operation states of the terminal.
Preferably, the detecting of the operation state of the terminal includes: if the operation instruction input by the user is not received within the preset time, detecting that the operation state of the terminal is an idle state; and if an operation instruction input by a user is received, detecting that the operation state of the terminal is an activation state.
In the using process of the terminal, if the user does not input an operation instruction, such as clicking, sliding and other operation instructions, to the terminal within a preset time, it may be determined that the operation state of the terminal is an idle state. The preset time may be set according to an actual situation, for example, set to 10s, 15s, or 20s, and the embodiment of the present invention does not specifically limit the preset time here. The operation state of the terminal is detected to be an activation state as long as the terminal receives an operation instruction input by a user.
In the implementation, the operation state of the terminal may be detected in real time, and if the operation state of the terminal is detected to be an idle state, an icon may be displayed according to the idle state, specifically refer to step 202 and step 203 below.
202: and if the operation state of the terminal is detected to be an idle state, hiding at least one icon to be hidden in the icons on the terminal desktop.
For this step, the number of terminal desktops can be one or more, and icons are displayed on any terminal desktop in advance. When a plurality of icons are displayed on the desktop of the terminal, the desktop background can be shielded in a large area, so that the display effect of the desktop background is poor. In order to better display the icons and not influence the display effect of the desktop background, at least one icon to be hidden in the icons on the terminal desktop can be hidden when the operation state of the terminal is in an idle state, so that the number of the icons displayed in the terminal desktop is reduced.
The specific method for hiding at least one icon to be hidden in the icons on the terminal desktop comprises the following steps: and acquiring information of at least one icon to be hidden determined in advance from the icons on the terminal desktop, and hiding the at least one icon to be hidden according to the information of the at least one icon to be hidden. The acquired information of the icon to be hidden may include an identifier of the icon to be hidden or a position where the icon to be hidden is displayed on a terminal desktop. In addition, at least one icon to be hidden in the icons on the terminal desktop may also be hidden in other manners, which is not specifically limited herein in the embodiment of the present invention.
Before hiding at least one icon to be hidden in the icons on the terminal desktop, the method further comprises the following steps: at least one icon to be hidden is determined from icons on a terminal desktop. The number of the determined icons to be hidden may be one or more, all the icons on the terminal desktop may be determined as the icons to be hidden, or some of the icons on the terminal desktop may be determined as the icons to be hidden. Preferably, the specific manner of determining at least one icon to be hidden from the icons on the terminal desktop may adopt any one of the following two manners:
the first method is as follows: determining the use frequency of each icon in the icons on the terminal desktop, and determining at least one icon to be hidden according to the use frequency of each icon.
In this way, since some icons on the terminal desktop are frequently used by the user and some icons are less frequently used by the user, the frequency of use of each of the icons on the terminal desktop can be determined according to the use of the user. When determining the use frequency of each icon in the icons on the terminal desktop, the use frequency of each icon in a period of time can be determined, for example, the use frequency of each icon in a day; the use frequency of the application program corresponding to each icon in the icons on the terminal desktop after the application program is installed in the terminal can also be determined. The embodiment of the present invention is not particularly limited herein for determining the frequency of use of each icon in the icons on the terminal desktop.
After determining the use frequency of each icon, at least one icon to be hidden may be determined according to the use frequency of each icon. Specifically, each icon may be sorted according to the frequency of use, and then at least one icon sorted later is determined as an icon to be hidden according to the sorting result. The number of the determined icons to be hidden can be set according to actual conditions, in order to better display the icons when the terminal is in an idle state, more icons in the icons on the terminal desktop can be determined to be the icons to be hidden, so that after the icons to be hidden are hidden subsequently, the number of the icons displayed in the terminal desktop is small, and the shielding area of the desktop background is small. The icon to be hidden is determined according to the use frequency of each icon, so that the icon to be hidden with lower use frequency can be hidden subsequently, and the icon with higher use frequency is displayed, and therefore, a user can select the icon displayed on the terminal desktop conveniently.
For example, taking the terminal shown in fig. 3 (a) as an example, the terminal has 3 desktops, and a total of 20 icons are displayed on the 3 desktops. After the use frequency of each icon in the 20 icons is determined, the icons are sorted according to the use frequency, and the icons with the 16 last icons as the icons to be hidden are determined.
The second method comprises the following steps: the method comprises the steps of determining an icon selected by a user in icons on a terminal desktop, and determining at least one icon to be hidden from the icons on the terminal desktop according to the icon selected by the user.
For this way, it is possible for the user to select which icons of the icons that the terminal has can be displayed when the terminal is in the idle state, and which icons can be regarded as icons to be hidden and are not displayed when the terminal is in the idle state. When the icon selected by the user in the icon on the terminal desktop is determined, the option corresponding to each icon on the terminal desktop can be displayed on the screen of the terminal, and after the option selected by the user is determined, the icon corresponding to the option selected by the user is determined as the icon selected by the user.
The specific manner of determining at least one icon to be hidden from the icons on the terminal desktop according to the icon selected by the user may include, but is not limited to: determining an icon selected by a user from icons on a terminal desktop as an icon to be hidden; or determining at least one other icon except the icon selected by the user in the icons on the terminal desktop as the icon to be hidden.
For example, still taking the terminal shown in fig. 3 (a) as an example, the options corresponding to 20 icons on the terminal desktop are displayed on the screen of the terminal, and after determining the "clock" icon, the "information" icon, the "picture" icon and the "network" icon selected by the user, 16 icons other than the "clock" icon, the "information" icon, the "picture" icon and the "network" icon in the 20 icons on the terminal desktop are determined as the icons to be hidden.
In a specific implementation, the user may select to determine at least one icon to be hidden from the icons on the terminal desktop in the foregoing manner one or manner two, or the terminal may fixedly set at least one icon to be hidden from the icons on the terminal desktop in the foregoing manner one or manner two, which is not specifically limited in this embodiment of the present invention. Of course, besides the first and second manners, other manners may also be used to determine at least one icon to be hidden from the icons on the terminal desktop, for example, at least one icon to be hidden is arbitrarily selected from the icons on the terminal desktop, and the embodiment of the present invention also does not specifically limit the manner of selecting the icon to be hidden from the icons on the terminal desktop.
It should be noted that, after at least one icon to be hidden in the icons on the terminal desktop is predetermined, it is not necessary to re-determine the icon to be hidden each time, but at least one icon to be hidden in the icons on the terminal desktop is directly hidden. In addition, for the first mode, since the user may continuously use the icons on the terminal desktop, and the use frequency of each icon may continuously change, if the first mode is adopted to determine the icon to be hidden, the icon to be hidden may be re-determined each time or may be re-determined after a certain time interval, and then at least one icon to be hidden in the icons on the terminal desktop is hidden. According to the second mode, when the user needs to change the icons selected in advance, the user can reselect the icons, the icons to be hidden are determined according to the icons selected by the user again, and then at least one icon to be hidden in the icons on the terminal desktop is hidden.
Further, after the icons to be hidden are hidden, other icons except at least one icon to be hidden in the icons on the terminal desktop are still displayed on the terminal desktop. The specific display mode of other icons except for at least one icon to be hidden in the icons on the terminal desktop can be any one of the following two modes:
the first method is as follows: and displaying other icons except at least one icon to be hidden in the icons on the terminal desktop at corresponding positions in the preselected desktop.
Because the number of the terminal desktops can be one or more, each desktop can display a preset number of icons. Therefore, if the number of the terminal desktops is one, the terminal desktop is selected in advance, and if the number of the terminal desktops is multiple, one or more of the terminal desktops can be selected in advance from the terminal desktop, so that icons on the terminal desktop except for at least one icon to be hidden are displayed in corresponding positions of the preselected desktop.
Since each desktop is usually pre-divided into n × m squares, each square can display one icon, and thus the number of icons that can be displayed on each desktop is n × m, where n and m are positive integers greater than or equal to 1. For example, as shown in fig. 3 (a), each desktop is divided into 3 × 3=9 squares, and each desktop may display 9 icons. Therefore, the desktop can be selected in advance according to the number of icons that can be displayed on each desktop and the number of icons other than the at least one icon to be hidden. If the number of other icons except at least one icon to be hidden in the icons on the terminal desktop is less than or equal to the preset number of icons which can be displayed on each desktop, any desktop of the terminal can be selected in advance. If the number of other icons except at least one icon to be hidden in the icons on the terminal desktop is larger than the preset number of icons which can be displayed on each desktop, the number of the other icons except the at least one icon to be hidden in the icons on the terminal desktop can be compared with the number of the desktops of the terminal which are selected in advance, and therefore the fact that the other icons except the at least one icon to be hidden can be displayed on the plurality of desktops which are selected in advance is guaranteed.
When other icons except at least one icon to be hidden in the icons on the terminal desktop are displayed, if the other icons except the at least one icon to be hidden are positioned on other desktops except the preselected desktop, moving the other icons except the at least one icon to be hidden to the preselected desktop for display; if the icons except the at least one icon to be hidden are located in the preselected desktop, keeping the icons except the at least one icon to be hidden in the preselected desktop for limitation. When icons other than at least one icon to be hidden are displayed in the preselected desktop, since the preselected desktop is also divided into n × m blocks, the icons other than the icon to be hidden may be displayed in sequence or at any position corresponding to any block of the n × m blocks in the preselected desktop, which is not specifically limited in the embodiment of the present invention.
For example, after determining 16 icons to be hidden in the icons displayed in fig. 3 (a) in step 202, taking the icons other than 16 icons to be hidden in the 20 icons on the terminal desktop as "clock" icons, "information" icons, "picture" icons, and "network" icons as examples, hiding the 16 icons to be hidden according to the information of the 16 icons to be hidden, and displaying the "clock" icons, "information" icons, "picture" icons, and "network" icons except the 16 icons to be hidden in the 20 icons on the terminal desktop at corresponding positions in the preselected desktop 1 of the terminal in sequence, as shown in fig. 3 (b).
The second method comprises the following steps: the display positions of other icons except at least one icon to be hidden in the icons on the terminal desktop are unchanged.
For this way, since the icons on the terminal desktop except for the at least one icon to be hidden are already displayed on the terminal desktop in advance, only the display positions of the icons on the terminal desktop except for the at least one icon to be hidden need to be kept unchanged, and of course, the icons on the terminal desktop except for the at least one icon to be hidden can be displayed at the corresponding positions on the desktop where the icons are located in advance again,
for example, after determining 16 icons to be hidden in the icons displayed in fig. 3 (a) in step 202, taking other icons except the 16 icons to be hidden in the icons on the terminal desktop as "clock" icons, "information" icons, "picture" icons, and "network" icons as examples, the "clock" icons and the "information" icons are displayed at positions where they are located in advance in the desktop 1; displaying the picture icon at a preset position in the desktop 2 where the picture icon is preset; the "network" icon is displayed in a pre-existing location in the desktop 3 where it was pre-existing.
Because more icons in the icons on the terminal desktop can be determined as the icons to be hidden, the number of other icons except at least one icon to be hidden is less, the icons to be hidden are hidden, and the other icons except the at least one icon to be hidden are displayed on the terminal desktop, so that the desktop background is less in the shielded part, and the desktop background can be better displayed.
In a specific implementation, a user may select to display, by using the first mode or the second mode, other icons except for at least one icon to be hidden in the icons on the desktop of the terminal, or the terminal may fixedly set, by using the first mode or the second mode, other icons except for at least one icon to be hidden in the icons on the desktop of the terminal, which is not specifically limited in this embodiment of the present invention. Of course, besides the above-mentioned first and second modes, other modes may also be adopted to display other icons than the at least one icon to be hidden in the icons on the terminal desktop, for example, other icons than the at least one icon to be hidden in the icons on the terminal desktop are displayed at any position in any desktop, and the like. The embodiment of the present invention is not particularly limited in the manner of displaying other icons except for at least one icon to be hidden in the icons on the desktop of the terminal.
It should be noted that, since the operation state of the terminal is detected in real time in step 201, if it is detected that the operation state of the terminal is always in an idle state, the icon to be hidden is kept hidden all the time. If an operation instruction input by the user, such as an operation instruction of clicking, sliding, etc., is received, it is detected that the operation state of the terminal is an active state, at which point the subsequent step 203 may be continued.
203: and if the operation state of the terminal is detected to be the activated state, displaying at least one icon to be hidden.
For the step, when the operation state of the terminal is the idle state, the icon to be hidden is hidden and is not displayed on the desktop of the terminal. Therefore, when the operation state of the terminal is in the active state, it indicates that the user needs to operate the terminal normally, and in order to facilitate the operation of the user, at least one icon to be hidden may be displayed.
When at least one icon to be hidden is displayed, the at least one icon to be hidden may be displayed at a corresponding position in a desktop where the icon to be hidden is located in advance, or the at least one icon to be hidden may be displayed at a corresponding position in another desktop. At this time, if in step 202, in the icons on the terminal desktop, other icons except for the at least one icon to be hidden are moved from the desktop where the icon to be hidden is located in advance to other desktops, or from the position where the original desktop is located in advance to other positions of the original desktop, in order to ensure normal display of the icons on the terminal desktop, the icons moved to other desktops or other positions in step 202 may be moved to the corresponding positions of the desktop where the icons are located in advance. Of course, other icons except at least one icon to be hidden in the icons on the terminal desktop displayed in step 203 may not be moved, and it is only necessary to ensure that the icons on the terminal desktop can be normally displayed on the desktop. The icons to be hidden are displayed after the operation state of the terminal is the activation state, so that the icons to be hidden and other icons except at least one icon to be hidden can be normally displayed in a desktop, and a user can randomly select all icons on the desktop of the terminal.
For example, 16 icons to be hidden of the terminal are displayed at corresponding positions in a desktop where the icons are located in advance. If the icons except the 16 icons to be hidden in the terminal are the "clock" icon, the "information" icon, the "picture" icon and the "network" icon in the manner one shown in step 203, the "clock" icon, the "information" icon, the "picture" icon and the "network" icon are moved to other positions of the original desktop again, and the icons displayed in the desktop of the terminal are as shown in fig. 3 (a).
In a specific implementation, the steps 201 to 204 may be continuously performed, the operation state of the terminal is detected in real time, and the icon is displayed according to the detected operation state of the terminal.
In summary, the method provided in the embodiment of the present invention hides at least one icon to be hidden in the icons on the desktop of the terminal when detecting that the operating state of the terminal is the idle state, thereby expanding the way of displaying the icons; after the icons to be hidden on the terminal desktop are hidden, the number of the icons displayed on the terminal desktop is reduced, so that the shielding of the desktop background is reduced, and the desktop background can be well displayed. When the operation state of the terminal is the idle state, other icons except the icon to be hidden in the icons on the terminal desktop are continuously displayed on the terminal desktop, and when the operation state of the terminal is the activated state, the icon to be hidden is continuously displayed on the terminal desktop, so that the user can still select the icon on the terminal desktop, and the convenience of the user in using the icon is not reduced.
EXAMPLE III
The embodiment of the invention provides a terminal, which is used for executing the method for displaying the icon provided by the first embodiment or the second embodiment. Referring to fig. 4, the terminal includes:
a detection module 401, configured to detect an operation state of a terminal;
a hiding module 402, configured to hide at least one icon to be hidden in the icons on the terminal desktop when the detection module 401 detects that the operation state of the terminal is an idle state.
Preferably, referring to fig. 5, the terminal further includes:
a first determining module 403, configured to determine a frequency of use of each of the icons on the terminal desktop;
a second determining module 404, configured to determine at least one icon to be hidden according to the frequency of use of each icon determined by the first determining module 403;
a third determining module 405, configured to determine an icon selected by a user in an icon on a terminal desktop;
a fourth determining module 406, configured to determine at least one icon to be hidden from the icons on the terminal desktop according to the icon selected by the user and determined by the third determining module 405.
Preferably, referring to fig. 6, the fourth determination module 406 includes:
a first determining unit 4061, configured to determine an icon selected by a user from icons on a terminal desktop as an icon to be hidden;
a second determining unit 4062, configured to determine at least one other icon of the icons on the terminal desktop except the icon selected by the user as an icon to be hidden.
Preferably, referring to fig. 7, the terminal further includes:
the processing module 407 is configured to display other icons except at least one icon to be hidden in the icons on the terminal desktop at corresponding positions in a preselected desktop; or the display positions of other icons except at least one icon to be hidden in the icons on the terminal desktop are unchanged.
Preferably, referring to fig. 8, the terminal further includes:
the display module 408 is configured to display at least one icon to be hidden when the detection module detects that the operation state of the terminal is an active state.
Preferably, referring to fig. 9, the detection module 401 includes:
the first detecting unit 4011 is configured to detect that an operation state of the terminal is an idle state when an operation instruction input by a user is not received within a preset time;
the second detecting unit 4012 is configured to detect that the operation state of the terminal is an active state when an operation instruction input by a user is received.
In summary, the terminal provided in the embodiment of the present invention hides at least one icon to be hidden in the icons on the terminal desktop when detecting that the operating state of the terminal is the idle state, so as to expand the way of displaying the icons; after the icons to be hidden on the terminal desktop are hidden, the number of the icons displayed on the terminal desktop is reduced, so that the shielding of the desktop background is reduced, and the desktop background can be well displayed. When the operation state of the terminal is the idle state, other icons except the icon to be hidden in the icons on the terminal desktop are continuously displayed on the terminal desktop, and when the operation state of the terminal is the activated state, the icon to be hidden is continuously displayed on the terminal desktop, so that the user can still select the icon on the terminal desktop, and the convenience of the user in using the icon is not reduced.
It should be noted that: in the terminal provided in the foregoing embodiment, when displaying a icon, only the division of the functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the above described functions. In addition, the terminal and the method for displaying the icon provided by the above embodiment belong to the same concept, and the specific implementation process thereof is described in the method embodiment, which is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.