Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 is the schematic flow sheet of an embodiment of the method for control interface application icon of the present invention.As shown in Figure 1, it can comprise:
Step S110 when satisfying the trigger condition of control interface application icon, judges the classification of the application icon on the interface.
In the specific implementation, the trigger condition of described satisfied control interface application icon comprise satisfy in the following condition at least a: terminal is shaken; The new set up applications of terminal; Terminal has application program to be removed; Reach the preset trigger time point; Reach the preset trigger place.Be shaken with terminal and be example, in the specific implementation, terminal can be installed the motion state of the real-time acquisition terminal of acceleration transducer, and set in advance the acceleration rate threshold that a definite terminal is shaken (such as, be 19), when the accekeration of the acceleration transducer collection of terminal is greater than or equal to acceleration rate threshold, can determine that then terminal is shaken like this.In addition, reaching the preset trigger time point, such as, the terminal user arranges 8 triggered time points for control interface application icon every morning, like this, just can determine reach preset trigger time point when being 8 of mornings when the time that terminal system collects terminal every day.
In the specific implementation, can enumerate the dual mode of Fig. 2 and Fig. 3 below, as shown in Figure 2 by the classification of the application icon on the recognized in various manners interface, when satisfying the trigger condition of control interface application icon, judge that the classification of the application icon on the interface specifically can comprise following flow process:
Step S1101 when satisfying the trigger condition of control interface application icon, obtains the package name of the application icon corresponding application program on the interface;
Step S1102, in each file with the classification name that preserve on the backstage, search the file that comprises the described package name of obtaining, if find the file that comprises the described package name of obtaining, with the name of the described file that the finds classification as the application icon of the described package name correspondence of obtaining.
In the specific implementation, before the interface application icon is classified, the routine package name of known application program can be shifted to an earlier date typing terminal background data base, and the routine package name of typing is classified one by one according to certain classifying rules, and will divide the routine package life of class to place in the file of naming with classification, these files include but not limited to: game class, the security of system class, wallpaper beautifies class, the chat communication class, life utility classes, books are read class, video/audio image class, study office class, Web Community's class, the digital map navigation class, financing and shopping class, other software class, such as, comprise in the game class file: the routine package name of qq Games Software: qq.game com; Security of system class file folder comprises: the routine package name of 360 desktop softwares: com.qihoo360.launcher, the routine package name of dessert desktop software: com.dianxinos.dxhome_154441.
Like this as step S1101, when satisfying the trigger condition of control interface application icon, obtain the package name of certain the application icon correspondence on the interface, such as, the routine package name of 360 desktop softwares: behind the com.qihoo360.launcher, at step S1102, in the terminal background data base, search the file of naming with classification, and the routine package name of obtaining: com.qihoo360.launcher and each mated one by one with the routine package name in the file of classification name, finally, can in the file of security of system class, find com.qihoo360.launcher, at this moment, the name " security of system class " that just the security of system class file can be pressed from both sides is as the classification of the application icon of 360 desktop softwares on the interface.In the specific implementation, if travel through in the database all with files that class name is named, when all not finding corresponding routine package name, just the class declaration with the application icon on the interface that obtains is other classes.
As shown in Figure 3, when satisfying the trigger condition of control interface application icon, judge that the classification of the application icon on the interface specifically can comprise following flow process:
Step S1103, the time that the application icon corresponding application program of record on the interface is used or the place that is used, and the number of times that is used in described time period or place.
Step S1104, when satisfying the trigger condition of control interface application icon, search described application program in the time cycle of setting, the number of times that is repeated to use is more than or equal to time or the place of frequency threshold value, and with the classification of time of finding out or the place binding classification as the application icon of described application program.
In the specific implementation, but the time that the application icon corresponding application program on the terminal real time recording interface is used or the place that is used, such as, weather forecast software and microblogging software are used between the 7-8 point in the morning and qq recreation is used at subway usually.And, within a week, the number of times that weather forecast software is used at the 7-8 point comes to 2 times, and 6 times of the number of times that microblogging software is used between the 7-8 point in the morning, terminal has preestablished as the time cycle of classification foundation and frequency threshold value, such as the time cycle be 1 week, frequency threshold value is 5 times.Then at step S1104, judge weather forecast software in a week, the number of times that is used of 7-8 point 2 times is less than frequency threshold value 5 times in the morning, then not can with the classification of 7-8 point binding in morning (such as, be " 8 points early ") as the classification of weather forecast software, and owing to judge microblogging software in a week, the number of times that is used of 7-8 point 6 times is greater than frequency threshold value 5 times in the morning, therefore, step S1104 can with the classification of 7-8 point binding in morning (such as, be " 8 points early ") as the classification of weather forecast software.For the mode classification of the application icon of the application program that is repeated to use in the appointed place to chronological classification mode similar, do not give unnecessary details at this.
Step S111 puts into described application icon on the interface file of the application icon that is used for the described classification of storage.
In the specific implementation, at step S111, judge the file that whether has existed on the described interface for the application icon of the described classification of storage, if the judgment is Yes, then described application icon is put into the file for the application icon of the described classification of storage, if the judgment is No, create the file of the application icon that is used for the described classification of storage at described interface, and described application icon is put into the file of the application icon that is used for the described classification of storage of described establishment.Such as, the file with the security of system name that exists on the desktop is used for the application icon of storage system security classes, and belong to the security of system class through the application icon classification that step S110 determines 360 desktop softwares, then then can directly the application icon of 360 desktop softwares be put into the file with security of system name on the desktop at step S111, if there is not the file with the security of system name on the desktop, then need to create the file of naming with security of system at first on the table at step S111, then the application icon of 360 desktop softwares is put into the file with the security of system name of establishment.
In the specific implementation, the title that is used for the file of storage application icon on the desktop can be identical or different with the classification life of the application icon of its placement.
This shows, when the embodiment of the invention satisfies the trigger condition of control interface application icon, judge the classification of the application icon on the interface; Described application icon is put into the file of the application icon that is used for the described classification of storage on the interface.Thus, can realize automatically the interface application icon being controlled, experience to the user and be with very big improvement.Such as, with reference to figure 4, before the control of application icon at interface not being classified, icon on the interface is arranged desultorily, such as, icon 360 desktops and one of the Jinshan anti-virus software that are the relevant application program of security of system equally are positioned at the top, interface, and one is positioned at below, interface, is unfavorable for so very much user's searching and operating the application icon.And with reference to figure 5, interface after the application icon among Fig. 4 is classified, can see the file that comprised on the interface with the name of various classifications (such as, the security of system file, the game file folder), like this when the user need search certain type application icon, search in the corresponding file and get final product, very convenient.
In addition, in the specific implementation, after described application icon being put into the file of interface for the application icon of the described classification of storage, the method for the embodiment of the invention also can comprise: the current demonstration time of the terminal of collection or the current place that is used;
According to the time or be used the place and the interface on be used for the corresponding relation of the file of storage application icon, the time range under described current demonstration time or described current demonstration time or the described current file that is used for the storage application icon on the corresponding interface, place that is used are adjusted to the forefront, interface.Thus, the residing file of application icon that the user might be most interested in special time or locality can be presented on the easiest position of seeing and operating of user, thus, further to the user operation of interface application icon have been brought facility.With reference to figure 6 and Fig. 7, Fig. 6 be not with the file that is used for the storage application icon of the current demonstration of terminal times 8.00 correspondence (such as, " 8 points early ") be placed on the interface synoptic diagram of forefront, interface.And Fig. 7 be with the file that is used for the storage application icon of the current demonstration of terminal time correspondence (such as, " 8 points early ") be placed on the interface synoptic diagram of forefront, interface.Fig. 7 and Fig. 6 are compared just as can be known, and on the interface of Fig. 7, the file of " early 8 points " is in the interface Far Left, and the user is the easiest to be seen and operate on it.
Fig. 8 is that the structure of an embodiment of terminal of the present invention is formed synoptic diagram.As shown in Figure 8, the terminal of the embodiment of the invention can comprise: classification identification module 81, classification execution module 82, wherein:
Classification identification module 81 is used for judging the classification of the application icon on the interface when satisfying the trigger condition of control interface application icon.
In the specific implementation, the trigger condition of described satisfied control interface application icon comprise satisfy in the following condition at least a: terminal is shaken; The new set up applications of terminal; Terminal has application program to be removed; Reach the preset trigger time point; Reach the preset trigger place.Be shaken with terminal and be example, in the specific implementation, terminal can be installed the motion state of the real-time acquisition terminal of acceleration transducer, and set in advance the acceleration rate threshold that a definite terminal is shaken (such as, be 19), when the accekeration of the acceleration transducer collection of terminal is greater than or equal to acceleration rate threshold, can determine that then terminal is shaken like this.In addition, reaching the preset trigger time point, such as, the terminal user arranges 8 triggered time points for control interface application icon every morning, like this, just can determine reach preset trigger time point when being 8 of mornings when the time that terminal system collects terminal every day.
In the specific implementation, classification identification module 81 can be by the classification of the application icon on the recognized in various manners interface, and as shown in Figure 9, as a kind of possible implementation, classification identification module 81 can further comprise: acquisition module 811 and identification module 812, wherein:
Acquisition module 811 is used for obtaining the package name of the application icon corresponding application program on the interface when satisfying the trigger condition of control interface application icon;
Identification module 812, each file with the classification name that is used for preserving on the backstage is searched the file of the package name that comprises that described acquisition module obtains, if find the file that comprises the described package name of obtaining, with the name of the described file that the finds classification as the application icon of the described package name correspondence of obtaining.
In the specific implementation, before the interface application icon is classified, the routine package name of known application program can be shifted to an earlier date typing terminal background data base, and the routine package name of typing is classified one by one according to certain classifying rules, and will divide the routine package life of class to place in the file of naming with classification, these files include but not limited to: game class, the security of system class, wallpaper beautifies class, the chat communication class, life utility classes, books are read class, video/audio image class, study office class, Web Community's class, the digital map navigation class, financing and shopping class, other software class, such as, comprise in the game class file: the routine package name of qq Games Software: qq.game com; Security of system class file folder comprises: the routine package name of 360 desktop softwares: com.qihoo360.launcher, the routine package name of dessert desktop software: com.dianxinos.dxhome_154441.
Like this when satisfying the trigger condition of control interface application icon, acquisition module 811 obtains the package name of certain the application icon correspondence on the interface, such as, the routine package name of 360 desktop softwares: behind the com.qihoo360.launcher, identification module 812 can arrive the file of searching in the terminal background data base with the classification name, and the routine package name of obtaining: com.qihoo360.launcher and each mated one by one with the routine package name in the file of classification name, finally, can in the file of security of system class, find com.qihoo360.launcher, at this moment, the name " security of system class " that just the security of system class file can be pressed from both sides is as the classification of the application icon of 360 desktop softwares on the interface.In the specific implementation, if travel through in the database all with files that class name is named, when all not finding corresponding routine package name, just the class declaration with the application icon on the interface that obtains is other classes.
As shown in figure 10, as another kind of possible implementation, classification identification module 81 can further comprise: statistical module 815 and identification module 816, wherein:
Statistical module 815 is used for the time that the application icon corresponding application program on the record interface is used or the place that is used, and the number of times that is used in described time period or place;
Identification module 816, be used for when satisfying the trigger condition of control interface application icon, search described application program in the time cycle of setting, the number of times that is repeated to use is more than or equal to time or the place of frequency threshold value, and with the classification of time of finding out or the place binding classification as the application icon of described application program.
In the specific implementation, but the time that the application icon corresponding application program on the terminal real time recording interface is used or the place that is used, such as, weather forecast software and microblogging software are used between the 7-8 point in the morning and qq recreation is used at subway usually.And, within a week, the number of times that weather forecast software is used at the 7-8 point comes to 2 times, and 6 times of the number of times that microblogging software is used between the 7-8 point in the morning, terminal has preestablished as the time cycle of classification foundation and frequency threshold value, such as the time cycle be 1 week, frequency threshold value is 5 times.Then identification module 816 is judged weather forecast software in a week, the number of times that is used of 7-8 point 2 times is less than frequency threshold value 5 times in the morning, then not can with the classification of 7-8 point binding in morning (such as, be " 8 points early ") as the classification of weather forecast software, and owing to judge microblogging software in a week, the number of times that is used of 7-8 point 6 times is greater than frequency threshold value 5 times in the morning, therefore, can with the classification of 7-8 point binding in morning (such as, be " 8 points morning ") as the classification of weather forecast software.For the mode classification of the application icon of the application program that is repeated to use in the appointed place to chronological classification mode similar, do not give unnecessary details at this.
Sort out execution module 82, be used for the judged result according to the classification of the application icon on 81 pairs of interfaces of described classification identification module, described application icon is put into the file of the application icon that is used for the described classification of storage on the interface.
With reference to Figure 11, in the specific implementation, sorting out execution module 82 can further comprise: judge module 821 and execution module 822, wherein:
Judge module 821 is used for judging the file that whether has existed on the described interface for the application icon of the described classification of storage.
Execution module 822, be used for when the judged result of described judge module 821 when being, then described application icon is put into the file for the application icon of storing described classification; When the judged result of described judge module for not the time, create the file of the application icon that is used for the described classification of storage at described interface, and described application icon put into the file of the application icon that is used for the described classification of storage of described establishment.Such as, the file with the security of system name that exists on the desktop is used for the application icon of storage system security classes, and the application icon classification of determining 360 desktop softwares through classification identification module 81 belongs to the security of system class, judge module 821 can be judged desktop and have the file of naming with security of system, then execution module 822 can directly be put into the application icon of 360 desktop softwares the file with the security of system name on the desktop, if there is not the file with the security of system name on the desktop, execution module 822 needs to create at first on the table the file with the security of system name, then the application icon of 360 desktop softwares is put into the file with the security of system name of establishment.
In the specific implementation, the title that is used for the file of storage application icon on the desktop can be identical or different with the classification life of the application icon of its placement.
This shows, when the embodiment of the invention satisfies the trigger condition of control interface application icon, judge the classification of the application icon on the interface; Described application icon is put into the file of the application icon that is used for the described classification of storage on the interface.Thus, can realize automatically the interface application icon being controlled, experience to the user and be with very big improvement.Such as, with reference to figure 4, before the control of application icon at interface not being classified, icon on the interface is arranged desultorily, such as, icon 360 desktops and one of the Jinshan anti-virus software that are the relevant application program of security of system equally are positioned at the top, interface, and one is positioned at below, interface, is unfavorable for so very much user's searching and operating the application icon.And with reference to figure 5, when with the interface after the classification of the application icon among Fig. 4, can see the file that has comprised on the interface with various classification names, like this when the user need search certain type application icon, search in the corresponding file and get final product, very convenient.
In addition, in the specific implementation, sort out execution module 82 after described application icon being put into the file of interface for the application icon of the described classification of storage, the terminal of the embodiment of the invention also can comprise (not shown):
Real-time acquisition module is for current demonstration time or the current place that is used of terminal;
Adjusting module, be used for according to the time or be used the place with the interface on be used for the corresponding relation of the file of storage application icon, the time range under described current demonstration time or described current demonstration time or the described current file that is used for storing application icon on the corresponding interface, place that is used are adjusted to the forefront, interface.
The step order of the method for the embodiment of the invention can be adjusted according to actual needs.The module of the terminal of the embodiment of the invention can be integrated according to actual needs and further be divided.The terminal of the embodiment of the invention can be mobile phone, computer, portable set etc.
The module of the embodiment of the invention or module can be with universal integrated circuit (as central processor CPUs), or realize with special IC (ASIC).One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above disclosed only is preferred embodiment of the present invention, certainly can not limit the present invention's interest field with this, one of ordinary skill in the art will appreciate that all or part of flow process that realizes above-described embodiment, and according to the equivalent variations that claim of the present invention is done, still belong to the scope that invention is contained.