CN108319406A - Desktop icon display method, device and computer readable storage medium - Google Patents

Desktop icon display method, device and computer readable storage medium Download PDF

Info

Publication number
CN108319406A
CN108319406A CN201711281547.3A CN201711281547A CN108319406A CN 108319406 A CN108319406 A CN 108319406A CN 201711281547 A CN201711281547 A CN 201711281547A CN 108319406 A CN108319406 A CN 108319406A
Authority
CN
China
Prior art keywords
icon
desktop
desktop icons
foreground
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.)
Pending
Application number
CN201711281547.3A
Other languages
Chinese (zh)
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.)
Shenzhen Nestle Holdings Ltd
Original Assignee
Shenzhen Nestle Holdings 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 Shenzhen Nestle Holdings Ltd filed Critical Shenzhen Nestle Holdings Ltd
Priority to CN201711281547.3A priority Critical patent/CN108319406A/en
Publication of CN108319406A publication Critical patent/CN108319406A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The invention discloses a kind of desktop icon display methods, including:When detecting that desktop starts, corresponding desktop icons are obtained;It is determined whether to enable desktop icons Dynamic Display functions;If so, based on the data that preset sensor obtains, controls the desktop icons and carry out Hierarchical Mobile, to realize the Dynamic Display of desktop icons.The invention also discloses a kind of desktop icons displaying device and computer readable storage mediums.The present invention realizes the 3D Dynamic Displays of desktop icons.

Description

Desktop icon display method, device and computer readable storage medium
Technical field
The present invention relates to a kind of technical field of mobile terminals more particularly to desktop icon display method, device and computers Readable storage medium storing program for executing.
Background technology
With the development of the communication technology, the application on terminal device is more and more abundant, such as wechat, QQ etc., these applications After installation, corresponding desktop icons are just had in the system desktop of terminal device, user clicks the desktop icons of application, i.e., Corresponding application can be run.
The application icon of most domestic mobile phone desktop is static icon at present, even in order to make icon more vertical Body, the processing that also only single application icon itself is projected.External is then by first to known system application drawing Mark carry out 3D modeling, be then integrated on mobile phone, then the data rotation 3D icons received by sensor model, to reach The effect of 3D desktop icons;And for the icon of third-party application, then it is then to pass through sensing by way of adding icon projection The icon of the data rotation application of device and projection reach 3D effect.But realize 3D effect pair by way of 3D modeling Artificial and technical support is more demanding, the development cycle is longer, and carries out the 3D effect that projection process obtains to single icon It is not apparent.Therefore, intelligent not enough.
Invention content
The main purpose of the present invention is to provide a kind of desktop icon display method, device and computer-readable storage mediums Matter, it is intended to solve the process complexity that the function of desktop icons 3D Dynamic Displays in the prior art is realized and the unconspicuous skill of effect Art problem.
To achieve the above object, the present invention provides a kind of desktop icon display method, the desktop icon display method packet It includes:
When detecting that desktop starts, corresponding desktop icons are obtained;
Based on user's operation, it is determined whether to enable desktop icons Dynamic Display functions;
If so, based on the data that preset sensor obtains, control the desktop icons and carry out Hierarchical Mobile, to realize The Dynamic Display of desktop icons.
Optionally, the desktop icon display method, which is characterized in that described when detecting that desktop starts, acquisition pair The step of desktop icons answered includes:
When detecting that desktop starts, the desktop icons under preset path are obtained, wherein the desktop icons include at least Foreground icon, intermediate icon, background icon and synthesis icon, the synthesis icon is by the foreground icon, intermediate icon and the back of the body Scape icon synthesizes.
Optionally, the desktop icon display method, which is characterized in that described when detecting that desktop starts, acquisition pair After the step of desktop icons answered, further include:
The foreground icon, intermediate icon, background icon and synthesis icon are stored to preset icon cache file, and will The synthesis icon static display is on the table.
Optionally, the desktop icon display method, which is characterized in that described it is determined whether to enable tables based on user's operation The step of face icon Dynamic Display function includes:
Obtain the condition of preset triggering desktop icons Dynamic Display function;
User's operation is obtained, judges whether the user's operation meets the condition of triggering desktop icons Dynamic Display function.
Optionally, the desktop icon display method, which is characterized in that the acquisition user's operation judges the user After whether operation meets the step of condition of triggering desktop icons Dynamic Display function, further include:
If the user's operation is unsatisfactory for the condition of triggering desktop icons Dynamic Display function, the desktop icons are kept Static display.
Optionally, the desktop icon display method, which is characterized in that described if so, being obtained based on preset sensor The step of data taken control the desktop icons and carry out Hierarchical Mobile, Dynamic Display to realize desktop icons include:
If confirming, the desktop icons Dynamic Display function is opened, and obtains the foreground picture in the icon cache file Mark, intermediate icon and background icon;
Based on the data that preset sensor obtains, the foreground icon, intermediate icon and the movement of Background target are determined Data, and the foreground icon, intermediate icon and Background target are controlled according to the mobile data and moved.
Optionally, the desktop icon display method, which is characterized in that the number obtained based on preset sensor According to, determine the foreground icon, intermediate icon and Background target mobile data, and according to mobile data control it is described before The step of scape icon, intermediate icon and the movement of Background target includes:
Obtain the data that preset sensor detects, according to the data determine the foreground icon, intermediate icon and Background target moving direction and mobile range;
According to the foreground icon, intermediate icon and Background target moving direction and mobile range, the foreground is controlled Icon, intermediate icon and background icon are moved according to corresponding moving direction and mobile range.
Optionally, the desktop icon display method, which is characterized in that the background icon does not rotate, the foreground picture Target mobile range is more than the middle graph target mobile range.
In addition, to achieve the above object, the present invention also provides a kind of desktop icons to show device, the desktop icons displaying Device includes:Memory, processor and it is stored in the desktop icons exhibition that can be run on the memory and on the processor Show that program, the desktop icons presentation program realize desktop icon display method as described above when being executed by the processor Step.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Desktop icons presentation program is stored on storage medium, the desktop icons presentation program realizes institute as above when being executed by processor The step of desktop icon display method stated.
A kind of desktop icon display method that the embodiment of the present invention proposes obtains desktop when detecting that desktop starts Icon, and it is determined whether to enable the functions of desktop icons Dynamic Display according to user's operation, if it is not, then being carried out to desktop icons quiet State is shown, if so, obtaining the data that sensor is monitored, Hierarchical Mobile displaying is carried out to desktop icons according to the data of acquisition, Reach visual 3D dynamic effects, provides better usage experience to the user.
Description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of desktop icon display method first embodiment of the present invention;
Fig. 3 is the flow diagram of desktop icon display method second embodiment of the present invention;
Fig. 4 is the flow diagram of desktop icon display method 3rd embodiment of the present invention;
Fig. 5 is the refinement flow diagram of step S32 in Fig. 4.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:When detecting that desktop starts, corresponding desktop icons are obtained;Base In user's operation, it is determined whether to enable desktop icons Dynamic Display functions;If so, based on the data that preset sensor obtains, It controls the desktop icons and carries out Hierarchical Mobile, to realize the Dynamic Display of desktop icons.Technology through the embodiment of the present invention Scheme solves the process complexity that the function of desktop icons 3D Dynamic Displays in the prior art is realized and the unconspicuous skill of effect Art problem.
As shown in Figure 1, the terminal structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to.
Terminal of the embodiment of the present invention can be PC, can also be smart mobile phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency level 3) the packaged type terminal device with display function such as player, pocket computer.
As shown in Figure 1, the terminal may include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally that the wired of standard connects Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axis) acceleration, quiet Size and the direction that can detect that gravity when only, the application that can be used to identify mobile terminal posture are (such as horizontal/vertical screen switching, related Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are set, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, either combines certain components or different components arrangement.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media Believe module, Subscriber Interface Module SIM and desktop icons presentation program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server Data communicate;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor 1001, memory 1005 can be arranged in desktop icons show device, and the desktop icons displaying device passes through processor The desktop icons presentation program stored in 1001 calling memories 1005, and execute following operation:
When detecting that desktop starts, corresponding desktop icons are obtained;
Based on user's operation, it is determined whether to enable desktop icons Dynamic Display functions;
If so, based on the data that preset sensor obtains, control the desktop icons and carry out Hierarchical Mobile, to realize The Dynamic Display of desktop icons.
Further, processor 1001 can call the desktop icons presentation program stored in memory 1005, also execute It operates below:
When detecting that desktop starts, the desktop icons under preset path are obtained, wherein the desktop icons include at least Foreground icon, intermediate icon, background icon and synthesis icon, the synthesis icon is by the foreground icon, intermediate icon and the back of the body Scape icon synthesizes.
Further, processor 1001 can call the desktop icons presentation program stored in memory 1005, also execute It operates below:
The foreground icon, intermediate icon, background icon and synthesis icon are stored to preset icon cache file, and will The synthesis icon static display is on the table.
Further, processor 1001 can call the desktop icons presentation program stored in memory 1005, also execute It operates below:
Obtain the condition of preset triggering desktop icons Dynamic Display function;
User's operation is obtained, judges whether the user's operation meets the condition of triggering desktop icons Dynamic Display function.
Further, processor 1001 can call the desktop icons presentation program stored in memory 1005, also execute It operates below:
If the user's operation is unsatisfactory for the condition of triggering desktop icons Dynamic Display function, the desktop icons are kept Static display.
Further, processor 1001 can call the desktop icons presentation program stored in memory 1005, also execute It operates below:
If confirming, the desktop icons Dynamic Display function is opened, and obtains the foreground picture in the icon cache file Mark, intermediate icon and background icon;
Based on the data that preset sensor obtains, the foreground icon, intermediate icon and the movement of Background target are determined Data, and the foreground icon, intermediate icon and Background target are controlled according to the mobile data and moved.
Further, processor 1001 can call the desktop icons presentation program stored in memory 1005, also execute It operates below:
Obtain the data that preset sensor detects, according to the data determine the foreground icon, intermediate icon and Background target moving direction and mobile range;
According to the foreground icon, intermediate icon and Background target moving direction and mobile range, the foreground is controlled Icon, intermediate icon and background icon are moved according to corresponding moving direction and mobile range.
Scheme provided in this embodiment obtains desktop icons, and it is determined whether to enable tables when detecting that desktop starts The function of face icon Dynamic Display, if it is not, then static display is carried out to desktop icons, if so, obtaining the number that sensor is monitored According to, according to the data of acquisition to desktop icons carry out Hierarchical Mobile displaying, reach visual 3D dynamic effects, provide to the user Better usage experience.
Based on above-mentioned hardware configuration, desktop icon display method embodiment of the present invention is proposed.
With reference to Fig. 2, Fig. 2 is the flow diagram of desktop icon display method first embodiment of the present invention, in the embodiment In, the method includes:
Step S10 obtains corresponding desktop icons when detecting that desktop starts;
Step S20, based on user's operation, it is determined whether to enable desktop icons Dynamic Display functions;If so, thening follow the steps S30;If it is not, thening follow the steps S40;
Step S30 controls the desktop icons and carries out Hierarchical Mobile, with reality based on the data that preset sensor obtains The Dynamic Display of existing desktop icons;
Step S40 keeps the static display of the desktop icons.
With the development of the communication technology, the application on terminal device is more and more abundant, such as wechat, QQ etc., these applications After installation, corresponding desktop icons are just had in the system desktop of terminal device, user clicks the desktop icons of application, i.e., Corresponding application can be run.Currently, the application icon of most domestic mobile phone desktop is static icon, static desktop icons The content shown is relatively simple, it is difficult to attract user to go to click, therefore, be unfavorable for increasing the customer flow of application.
Currently, the mobile phone of most domestic in order to make desktop icons more three-dimensional, is all using to single application drawing sample The processing that body is projected, the 3D effect obtained in this way are not apparent.External is then by first to known system application Icon carry out 3D modeling, be then integrated on mobile phone, then the data rotation 3D icons received by sensor model, to reach To the effect of 3D desktop icons;And for the icon of third-party application, then it is then to pass through biography by way of adding icon projection The icon of the data rotation application of sensor and projection reach 3D effect.But realize 3D effect by way of 3D modeling It is more demanding to artificial and technical support, the development cycle is longer.
Therefore, for overcome the deficiencies in the prior art, the present invention proposes a kind of desktop icon display method, passes through the party Method can not have to 3D modeling process, and only need to obtain the icon resource corresponding to desktop application icon, and by obtaining the figure The picture for marking the corresponding multi-layer of resource, reaches the dynamic effect of 3D by Hierarchical Mobile, in this way in addition adding drop shadow to icon Both the cost of exploitation can have been reduced and shortened the time needed for exploitation, work(can also be reduced while reducing developer's development difficulty Consumption, provides better customer experience.
Specifically, the step S10 includes:
Step a obtains the desktop icons under preset path, wherein the desktop icons are extremely when detecting that desktop starts Include foreground icon, intermediate icon, background icon and synthesis icon less, the synthesis icon is by the foreground icon, middle graph Mark and the synthesis of background icon.
Icon is a kind of iconic format, and for system icon, software icon etc., this icon extends entitled * .icon, * .ico, icon is typically all Icon formats those of on common cell phone software or windows desktops.
Specifically, in the present embodiment, each desktop icons correspond to the icon resource there are four Icon formats, respectively: BgIcon (background Icon, background icon), mdIcon (middle Icon, intermediate icon), fgIcon (foreground Icon, foreground icon) and mIcon, mIcon icon are synthesized to obtain by first three icon resource Icon, m therein indicate variable.In four icon resources, mdIcon and fgIcon are the picture with projection, the edge of picture Shadowed processing is carried out, when carrying out Hierarchical Mobile to each figure layer, can reach visual 3D effect.
When detecting desktop startup, i.e., when user enters desktop interface of main menu, obtain the above-mentioned icon under preset path Resource, and judge whether desktop icons Dynamic Display function opens at this time, whether desktop icons Dynamic Display function is opened Opening can be decided in its sole discretion by user.It is not turned on desktop icons Dynamic Display function if detecting, the mIcon icons got is quiet State is shown on the table;If desktop icons Dynamic Display function is opened, the other three icon resource of each application icon is obtained, That is bgIcon, mdIcon and fgIcon, the spatial position sequences of three icon resources are bgIcon at the bottom, mdIcon In centre position, fgIcon is in top layer position.Wherein, mdIcon and fgIcon can be moved with sensor sensing direction, and The mobile range ratio fgIcon's of mdIcon is small.Therefore, the data listened to by obtaining sensor, the data indicate movement The change in location that terminal occurs when moving carries out corresponding mobile processing, by each layer according to change in location to each layer icon resource The difference of variation and variation that icon occurs, you can achieve the effect that visual 3D dynamic icons.
In the present embodiment, when detecting that desktop starts, that is, desktop icons are obtained, and judges whether to open desktop icons The function of Dynamic Display, if it is not, static display then is carried out to desktop icons, if so, listened to according to the sensor of acquisition Data carry out Hierarchical Mobile displaying according to the data of acquisition to desktop icons, are user to reach visual 3D dynamic effects Provide better usage experience.
Further, with reference to Fig. 3, it is based on above-described embodiment, proposes desktop icon display method second embodiment of the present invention, In the present embodiment, the step S20 includes:
Step S21 obtains the condition of preset triggering desktop icons Dynamic Display function;
Step S22 obtains user's operation, judges whether the user's operation meets triggering desktop icons Dynamic Display function Condition.
In the present embodiment, being turned on and off for the more humane function of removing control 3D dynamic desktop icons, also The condition that triggering desktop icons Dynamic Display function can be pre-set by user, improves the sense of participation of user.
Specifically, the condition of preset triggering desktop icons Dynamic Display function, you can be preset user's operation, lead to The operation for crossing detection user, to judge whether the operation of user is the preset operation for triggering desktop icons Dynamic Display function; It can also be that user is turned on and off the function of desktop icons Dynamic Display in mobile phone setting, to realize to desk-top picture The autonomous control for marking displaying, greatlys improve the sense of participation of user.It is understood that in the present embodiment, to triggering desktop The condition of icon Dynamic Display function is not limited.
Further, after the step S10, further include:
Step b stores the foreground icon, intermediate icon, background icon and synthesis icon to preset icon and caches text Part, and on the table by the synthesis icon static display.
In the present embodiment, after detecting that desktop starts, that is, corresponding desktop icons are obtained, each desktop icons correspond to There are four icon resources, i.e. bgIcon, mdIcon, fgIcon and mIcon, wherein in primary desktop system, only provides One Bitmap (bitmap file) object is for mIcon assignment.Bitmap is Windows reference format graphic files, it is by image It is defined as being made of point or pixel.Therefore, it is also desirable to other 3 Bitmap objects, respectively for bgIcon, mdIcon and FgIcon carries out assignment.After the completion of assignment, i.e., icon resource and its association of corresponding Bitmap objects are preserved to corresponding figure It marks in cache file, is removed with preventing these icon resources to be taken as background process during terminal operating, after can not executing Continuous desktop icons Dynamic Display step.
In the present embodiment, by judging whether user's operation meets the condition of triggering desktop icons Dynamic Display function, To determine whether desktop icons Dynamic Display function opens, and the icon resource corresponding to desktop icons is stored to preset slow It deposits in file, so that when needing Dynamic Display desktop icons, the icon resource needed for Dynamic Display is obtained from the cache file, Visual 3D dynamic effects are presented for user.
Further, with reference to Fig. 4, it is based on above-described embodiment, proposes desktop icon display method 3rd embodiment of the present invention, In the present embodiment, the step S30 includes:
Step S31, if confirming, the desktop icons Dynamic Display function is opened, and is obtained in the icon cache file Foreground icon, intermediate icon and background icon;
Step S32 determines the foreground icon, intermediate icon and Background based on the data that preset sensor obtains Target mobile data, and the foreground icon, intermediate icon and Background target are controlled according to the mobile data and moved.
In the present embodiment, after detecting that desktop starts, i.e., it is to desktop icons Dynamic Display function in current system No unlatching is detected, if confirming, the function is in open state, obtains the assignment being stored in icon cache file Icon resource, i.e. background icon bgIcon, centre icon mdIcon and foreground icon fgIcon, for moving for follow-up desktop icons State is shown.
Specifically, in the present invention, above-mentioned icon can be moved with the direction of sensor sensing, the shifting that sensor detects Dynamic direction is moving direction of the user to terminal.Wherein, background icon bgIcon, centre icon mdIcon and foreground icon FgIcon, with sensor sensing to the mobile data that is moved of direction it is different, fgIcon is moved with sensor sensing direction Amplitude is maximum, and mdIcon is small with the mobile range for the Amplitude Ratio fgIcon that sensor sensing direction is moved, and bgIcon then not with It moves in sensor sensing direction.Therefore, when the data obtained by real-time monitoring sensing device, you can determine each layer according to the data The variation of position occurs while mobile terminal rotates for the data that icon is moved, each layer icon, according to variation and variation Difference can be obtained 3D dynamic effects, provide visual desktop icons Dynamic Display effect to the user.
Further, as shown in figure 5, the step S32 further includes:
Step S321 obtains the data that preset sensor detects, according to the data determine the foreground icon, in Between icon and Background target moving direction and mobile range;
Step S322, according to the foreground icon, intermediate icon and Background target moving direction and mobile range, control The foreground icon, intermediate icon and background icon are moved according to corresponding moving direction and mobile range.
Specifically, in the present embodiment, the picture of each figure layer with sensor sensing to the mobile data that is moved of direction Including moving direction and mobile range, wherein because bgIcon is not moved with sensor sensing direction, background icon Moving direction and mobile range corresponding to bgIcon are zero.
Based on the data that preset sensor is listened to, that is, correspond to the mobile side corresponding to user's operation mobile terminal To according to acquired data, you can determine foreground icon, intermediate icon and Background target moving direction and mobile range, And corresponding figure layer is controlled, it is moved according to corresponding moving direction and mobile range, is moved respectively in each figure layer In the process, you can visual 3D dynamic effects are presented for user.
In the present embodiment, when confirming the unlatching of desktop icons Dynamic Display function, that is, corresponding desktop icons, and base are obtained Data acquired in sensor determine moving direction and mobile range corresponding to each figure layer, control corresponding figure layer, according to Corresponding moving direction and mobile range are moved, and achieve the effect that visual 3D dynamic icons, embodiment and user Between interaction, more improve the usage experience of user.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with desktop icons presentation program, following operation is realized when the desktop icons presentation program is executed by processor:
When detecting that desktop starts, corresponding desktop icons are obtained;
Based on user's operation, it is determined whether to enable desktop icons Dynamic Display functions;
If so, based on the data that preset sensor obtains, control the desktop icons and carry out Hierarchical Mobile, to realize The Dynamic Display of desktop icons.
Further, following operation is also realized when the desktop icons presentation program is executed by processor:
When detecting that desktop starts, the desktop icons under preset path are obtained, wherein the desktop icons include at least Foreground icon, intermediate icon, background icon and synthesis icon, the synthesis icon is by the foreground icon, intermediate icon and the back of the body Scape icon synthesizes.
Further, following operation is also realized when the desktop icons presentation program is executed by processor:
The foreground icon, intermediate icon, background icon and synthesis icon are stored to preset icon cache file, and will The synthesis icon static display is on the table.
Further, following operation is also realized when the desktop icons presentation program is executed by processor:
Obtain the condition of preset triggering desktop icons Dynamic Display function;
User's operation is obtained, judges whether the user's operation meets the condition of triggering desktop icons Dynamic Display function.
Further, following operation is also realized when the desktop icons presentation program is executed by processor:
If the user's operation is unsatisfactory for the condition of triggering desktop icons Dynamic Display function, the desktop icons are kept Static display.
Further, following operation is also realized when the desktop icons presentation program is executed by processor:
If confirming, the desktop icons Dynamic Display function is opened, and obtains the foreground picture in the icon cache file Mark, intermediate icon and background icon;
Based on the data that preset sensor obtains, the foreground icon, intermediate icon and the movement of Background target are determined Data, and the foreground icon, intermediate icon and Background target are controlled according to the mobile data and moved.
Further, following operation is also realized when the desktop icons presentation program is executed by processor:
Obtain the data that preset sensor detects, according to the data determine the foreground icon, intermediate icon and Background target moving direction and mobile range;
According to the foreground icon, intermediate icon and Background target moving direction and mobile range, the foreground is controlled Icon, intermediate icon and background icon are moved according to corresponding moving direction and mobile range.
Scheme provided in this embodiment obtains desktop icons when detecting that desktop starts, and judge that desktop icons are dynamic Whether the function of state displaying is opened, if it is not, then static display is carried out to desktop icons, if so, obtaining what sensor was monitored Data carry out Hierarchical Mobile displaying to desktop icons according to the data of acquisition, reach visual 3D dynamic effects, carried for user Better usage experience is supplied.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of desktop icon display method, which is characterized in that the desktop icon display method includes the following steps:
When detecting that desktop starts, corresponding desktop icons are obtained;
Based on user's operation, it is determined whether to enable desktop icons Dynamic Display functions;
If so, based on the data that preset sensor obtains, controls the desktop icons and carry out Hierarchical Mobile, to realize desktop The Dynamic Display of icon.
2. desktop icon display method as described in claim 1, which is characterized in that it is described when detecting that desktop starts, it obtains The step of taking corresponding desktop icons include:
When detecting that desktop starts, the desktop icons under preset path are obtained, wherein the desktop icons include at least foreground Icon, intermediate icon, background icon and synthesis icon, the synthesis icon is by the foreground icon, intermediate icon and Background Mark synthesis.
3. desktop icon display method as claimed in claim 2, which is characterized in that it is described when detecting that desktop starts, it obtains After the step of taking corresponding desktop icons, further include:
The foreground icon, intermediate icon, background icon and synthesis icon are stored to preset icon cache file, and will be described Synthesize icon static display on the table.
4. desktop icon display method as described in claim 1, which is characterized in that described to be judged whether out based on user's operation The step of opening desktop icons Dynamic Display function include:
Obtain the condition of preset triggering desktop icons Dynamic Display function;
User's operation is obtained, judges whether the user's operation meets the condition of triggering desktop icons Dynamic Display function.
5. desktop icon display method as claimed in claim 4, which is characterized in that the acquisition user's operation, described in judgement After whether user's operation meets the step of condition of triggering desktop icons Dynamic Display function, further include:
If the user's operation is unsatisfactory for the condition of triggering desktop icons Dynamic Display function, the quiet of the desktop icons is kept State is shown.
6. desktop icon display method as claimed in claim 3, which is characterized in that described if so, based on preset sensing The step of data that device obtains control the desktop icons and carry out Hierarchical Mobile, Dynamic Display to realize desktop icons include:
If confirming, the desktop icons Dynamic Display function is opened, obtain foreground icon in the icon cache file, in Between icon and background icon;
Based on the data that preset sensor obtains, the foreground icon, intermediate icon and Background target mobile data are determined, And the foreground icon, intermediate icon and Background target are controlled according to the mobile data and moved.
7. desktop icon display method as claimed in claim 6, which is characterized in that described to be obtained based on preset sensor Data determine the foreground icon, intermediate icon and Background target mobile data, and according to described in mobile data control The step of foreground icon, intermediate icon and the movement of Background target includes:
The data that preset sensor detects are obtained, the foreground icon, intermediate icon and background are determined according to the data The moving direction and mobile range of icon;
According to the foreground icon, intermediate icon and Background target moving direction and mobile range, control the foreground icon, Intermediate icon and background icon are moved according to corresponding moving direction and mobile range.
8. desktop icon display method as claimed in claim 7, which is characterized in that the background icon does not rotate, before described The mobile range of scape icon is more than the middle graph target mobile range.
9. a kind of desktop icons show device, which is characterized in that the desktop icons show that device includes:Memory, processor And it is stored in the desktop icons presentation program that can be run on the memory and on the processor, the desktop icons displaying It is realized such as the step of desktop icon display method described in any item of the claim 1 to 8 when program is executed by the processor.
10. a kind of computer readable storage medium, which is characterized in that be stored with desk-top picture on the computer readable storage medium Presentation program is marked, is realized as described in any item of the claim 1 to 8 when the desktop icons presentation program is executed by processor The step of desktop icon display method.
CN201711281547.3A 2017-12-06 2017-12-06 Desktop icon display method, device and computer readable storage medium Pending CN108319406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711281547.3A CN108319406A (en) 2017-12-06 2017-12-06 Desktop icon display method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711281547.3A CN108319406A (en) 2017-12-06 2017-12-06 Desktop icon display method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108319406A true CN108319406A (en) 2018-07-24

Family

ID=62892544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711281547.3A Pending CN108319406A (en) 2017-12-06 2017-12-06 Desktop icon display method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108319406A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111610898A (en) * 2020-04-26 2020-09-01 北京小米移动软件有限公司 Application icon display method and device and storage medium
CN112256165A (en) * 2019-12-13 2021-01-22 华为技术有限公司 Application icon display method and electronic equipment
CN114356196A (en) * 2020-09-30 2022-04-15 荣耀终端有限公司 Display method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140282064A1 (en) * 2013-03-12 2014-09-18 Jeremy Sheldon Miller Multilayered icon, graphical user interfaces, and methods for displaying and manipulation of information
CN106325649A (en) * 2015-06-19 2017-01-11 深圳创锐思科技有限公司 3d dynamic display method and mobile terminal
CN106325835A (en) * 2015-06-19 2017-01-11 深圳创锐思科技有限公司 A 3D application icon interaction method applied to a touch terminal and a touch terminal
CN106325655A (en) * 2015-06-19 2017-01-11 深圳创锐思科技有限公司 3D application icon interaction method applied to touch terminal and touch terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140282064A1 (en) * 2013-03-12 2014-09-18 Jeremy Sheldon Miller Multilayered icon, graphical user interfaces, and methods for displaying and manipulation of information
CN106325649A (en) * 2015-06-19 2017-01-11 深圳创锐思科技有限公司 3d dynamic display method and mobile terminal
CN106325835A (en) * 2015-06-19 2017-01-11 深圳创锐思科技有限公司 A 3D application icon interaction method applied to a touch terminal and a touch terminal
CN106325655A (en) * 2015-06-19 2017-01-11 深圳创锐思科技有限公司 3D application icon interaction method applied to touch terminal and touch terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256165A (en) * 2019-12-13 2021-01-22 华为技术有限公司 Application icon display method and electronic equipment
WO2021115194A1 (en) * 2019-12-13 2021-06-17 华为技术有限公司 Application icon display method and electronic device
CN112256165B (en) * 2019-12-13 2022-05-10 华为技术有限公司 Application icon display method and electronic equipment
US11762529B2 (en) 2019-12-13 2023-09-19 Huawei Technologies Co., Ltd. Method for displaying application icon and electronic device
CN111610898A (en) * 2020-04-26 2020-09-01 北京小米移动软件有限公司 Application icon display method and device and storage medium
US11494049B2 (en) 2020-04-26 2022-11-08 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for displaying application icon, and storage medium
CN114356196A (en) * 2020-09-30 2022-04-15 荣耀终端有限公司 Display method and electronic equipment

Similar Documents

Publication Publication Date Title
US11941762B2 (en) System and method for augmented reality scenes
EP3586316B1 (en) Method and apparatus for providing augmented reality function in electronic device
US11054978B2 (en) Portable device and method for controlling brightness of the same
CN107102936A (en) The appraisal procedure and mobile terminal and storage medium of a kind of fluency
KR20160037647A (en) User Terminal Device and Method for controlling the user terminal device thereof
CN107977141B (en) Interaction control method and device, electronic equipment and storage medium
US20200008142A1 (en) Method for Controlling Terminal, and Terminal
KR20150136440A (en) Method for controlling display and electronic device supporting the same
US10049625B1 (en) Context-based rendering
US11294533B2 (en) Method and terminal for displaying 2D application in VR device
CN107608550B (en) Touch operation response method and device
CN110865758B (en) Display method and electronic equipment
CN108052368B (en) A kind of application display interface control method and mobile terminal
US20200133479A1 (en) Touch Operation Response Method and Device
CN110442267B (en) Touch operation response method and device, mobile terminal and storage medium
CN109917995A (en) A kind of object processing method and terminal device
CN108319406A (en) Desktop icon display method, device and computer readable storage medium
CN109857289A (en) Display control method and terminal device
WO2019019818A1 (en) Method and apparatus for accelerating black screen gesture processing, storage medium, and mobile terminal
CN113220176B (en) Display method and device based on widget, electronic equipment and readable storage medium
CN109814930A (en) A kind of application loading method, device and mobile terminal
CN109947327A (en) A kind of interface inspection method, wearable device and computer readable storage medium
CN108920069A (en) A kind of touch operation method, device, mobile terminal and storage medium
CN109885302A (en) A kind of methods of exhibiting and terminal device applied fastly
CN106873851A (en) Method, device and terminal that 3D regards the Widget imitated are created in interactive interface

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180724