Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of an embodiment of control inerface application drawing calibration method of the present invention.As shown in Figure 1, it can comprise:
Step S110, when meeting the trigger condition of control inerface application icon, judges the classification of the application icon on interface.
In specific implementation, the described trigger condition meeting control inerface application icon comprises at least one in satisfied following condition: terminal is shaken; The new set up applications of terminal; Terminal has application program to be removed; Reach default triggered time point; Reach default triggering place.Be shaken for terminal, in specific implementation, terminal can install the motion state of acceleration transducer Real-time Collection terminal, and pre-set one and determine that acceleration rate threshold that terminal is shaken (such as, be 19), like this when the accekeration of the acceleration transducer collection of terminal is greater than or equal to acceleration rate threshold, then can determine that terminal is shaken.In addition, to reach default triggered time point, such as, terminal user arranges the triggered time point that every morning 8 is control inerface application icon, like this, every day, when the time that terminal system collects terminal is morning 8, just can determine to reach default triggered time point.
In specific implementation, judge the classification of the application icon on interface by various mode, enumerate two kinds of modes of Fig. 2 and Fig. 3 below, as shown in Figure 2, when meeting the trigger condition of control inerface application icon, judge that the classification of the application icon on interface specifically can comprise following flow process:
Step S1101, when meeting the trigger condition of control inerface application icon, the package name of the application program that the application icon on acquisition interface is corresponding;
Step S1102, the file of the package name comprising described acquisition is searched in each file named with classification that backstage is preserved, the file of the package name of described acquisition is comprised, using the classification of the name of the described file found as application icon corresponding to the package name of described acquisition if find.
In specific implementation, before 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 the routine package of point good class life is placed with in the file of classification name, these files include but not limited to: game class, security of system class, wallpaper beautifies class, Chat communication class, life utility classes, class read by books, video/audio image class, study office class, Web Community's class, digital map navigation class, financing and shopping class, other software class, such as, game class file comprises: the routine package name of qq Games Software: qq.gamecom, 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 meeting the trigger condition of control inerface application icon, the package name that certain application icon on acquisition interface is corresponding, such as, the routine package name of 360 desktop softwares: after com.qihoo360.launcher, in step S1102, search with the file of classification name in terminal background data base, and the routine package name that will obtain: com.qihoo360.launcher mates one by one with the routine package name in each file named with classification, finally, com.qihoo360.launcher can be found in the file of security of system class, now, just the name " security of system class " security of system class file can pressed from both sides is as the classification of the application icon of 360 desktop softwares on interface.In specific implementation, if it is all with the files of class name name to have traveled through in database, when all not finding corresponding routine package name, be just other classes by the class declaration of application icon on the interface of acquisition.
As shown in Figure 3, when meeting the trigger condition of control inerface application icon, judge that the classification of the application icon on interface specifically can comprise following flow process:
Step S1103, application program corresponding to application icon on record interface by time of using or by the place used, and in described time period or place by the number of times used.
Step S1104, when meeting the trigger condition of control inerface application icon, search described application program within the time cycle of setting, the number of times be reused is more than or equal to time or the place of frequency threshold value, and the classification of being bound the time found out or place is as the classification of the application icon of described application program.
In specific implementation, terminal can application program corresponding to application icon in real time recording interface by time of using or by the place used, such as, between 7-8 point, by using, qq game is used usually on subway in the morning for weather forecast software and microblogging software.And, within a week, weather forecast software is come to 2 times at 7-8 point by the number of times used, and microblogging software in the morning between 7-8 point by 6 times of number of times that use, terminal has preset time cycle as classification foundation and frequency threshold value, the such as time cycle was 1 week, and frequency threshold value is 5 times.Then in step S1104, judge that weather forecast software is within a week, 7-8 point is less than frequency threshold value 5 times for 2 times by the number of times used in the morning, then can not by with the classification that morning, 7-8 point was bound (such as, for " early 8 points ") as the classification of weather forecast software, and owing to judging that microblogging software is within a week, 7-8 point is greater than frequency threshold value 5 times for 6 times by the number of times used in the morning, therefore, step S1104 can by with the classification of the classification that morning, 7-8 point was bound (such as, being " early 8 points ") as weather forecast software.Mode classification for the application icon of the application program be reused in appointed place is similar to mode chronological classification, does not repeat at this.
Step S111, puts into file interface being used for the application icon storing described classification by described application icon.
In specific implementation, in step S111, judge the file whether described interface having existed the application icon for storing described classification, if the judgment is Yes, then described application icon is put into the file of the application icon for storing described classification, if the judgment is No, described interface creates the file of the application icon for storing described classification, and described application icon is put into the file being used for the application icon storing described classification of described establishment.Such as, desktop exists with the file of security of system name for the application icon of storage system security classes, and determine that the application icon classification of 360 desktop softwares belongs to security of system class through step S110, then then directly the application icon of 360 desktop softwares can be put into the file named with security of system on desktop in step S111, if desktop does not exist with the file of security of system name, then need to create the file with security of system name first on the table in step S111, then the application icon of 360 desktop softwares is put into the file named with security of system of establishment.
In specific implementation, the title for storing the file of application icon on desktop can be ordered identical or different from the classification of the application icon of its placement.
As can be seen here, when the embodiment of the present invention meets the trigger condition of control inerface application icon, judge the classification of the application icon on interface; Described application icon is put into file interface being used for the application icon storing described classification.Thus, can realize automatically controlling interface application icon, the very big improvement to user's body test strip.Such as, with reference to figure 4, before the application icon at interface not being carried out to classification control, icon on interface arranges desultorily, such as, be that icon 360 desktop and one, the Jinshan anti-virus software of the application program that security of system is correlated with is positioned at the top, interface equally, one is positioned at interface bottom, is unfavorable for so very much user's searching and operating application icon.And with reference to figure 5, interface after the application icon in Fig. 4 is classified, can see and interface include the file named with various classification (such as, security of system file, game file presss from both sides), like this when user needs the application icon searching certain type, carry out searching in corresponding file, very convenient.
In addition, in specific implementation, after described application icon being put into file interface being used for the application icon storing described classification, the method for the embodiment of the present invention also can comprise: the current display time or current by the place used of the terminal of collection;
According to the time or by place to use and interface for storing the corresponding relation of the file of application icon, the file time range belonging to described current display time or described current display time or described current interface corresponding to place to use being used for storing application icon is adjusted to forefront, interface.Thus, the file residing for application icon that user likely can be most interested at special time or locality is presented on the position that user the most easily sees and operates, and thus, brings facility further to the operation of user to interface application icon.It is the interface the schematic diagram file (such as, " early 8 points ") being used for storing application icon of terminal current display time 8.00 correspondence not being placed on forefront, interface with reference to figure 6 and Fig. 7, Fig. 6.And Fig. 7 is the interface schematic diagram file (such as, " early 8 points ") being used for storing application icon corresponding for terminal current display time being placed on forefront, interface.Compared by Fig. 7 and Fig. 6 just known, on the interface of Fig. 7, the file of " early 8 points " is in interface Far Left, and user the most easily sees and operates on it.
Fig. 8 is the structure composition schematic diagram of an embodiment of terminal of the present invention.As shown in Figure 8, the terminal of the embodiment of the present invention can comprise: classification identification module 81, classification execution module 82, wherein:
Classification identification module 81, for when meeting the trigger condition of control inerface application icon, judges the classification of the application icon on interface.
In specific implementation, the described trigger condition meeting control inerface application icon comprises at least one in satisfied following condition: terminal is shaken; The new set up applications of terminal; Terminal has application program to be removed; Reach default triggered time point; Reach default triggering place.Be shaken for terminal, in specific implementation, terminal can install the motion state of acceleration transducer Real-time Collection terminal, and pre-set one and determine that acceleration rate threshold that terminal is shaken (such as, be 19), like this when the accekeration of the acceleration transducer collection of terminal is greater than or equal to acceleration rate threshold, then can determine that terminal is shaken.In addition, to reach default triggered time point, such as, terminal user arranges the triggered time point that every morning 8 is control inerface application icon, like this, every day, when the time that terminal system collects terminal is morning 8, just can determine to reach default triggered time point.
In specific implementation, classification identification module 81 judges the classification of the application icon on interface by various mode, and as shown in Figure 9, as a kind of feasible embodiment, classification identification module 81 can comprise further: acquisition module 811 and identification module 812, wherein:
Acquisition module 811, for when meeting the trigger condition of control inerface application icon, the package name of the application program that the application icon on acquisition interface is corresponding;
Identification module 812, for the file to search the package name comprising the acquisition of described acquisition module in each file of classification name preserved on backstage, the file of the package name of described acquisition is comprised, using the classification of the name of the described file found as application icon corresponding to the package name of described acquisition if find.
In specific implementation, before 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 the routine package of point good class life is placed with in the file of classification name, these files include but not limited to: game class, security of system class, wallpaper beautifies class, Chat communication class, life utility classes, class read by books, video/audio image class, study office class, Web Community's class, digital map navigation class, financing and shopping class, other software class, such as, game class file comprises: the routine package name of qq Games Software: qq.gamecom, 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 meeting the trigger condition of control inerface application icon, acquisition module 811 obtains package name corresponding to certain application icon on interface, such as, the routine package name of 360 desktop softwares: after com.qihoo360.launcher, identification module 812 can be searched with the file of classification name in terminal background data base, and the routine package name that will obtain: com.qihoo360.launcher mates one by one with the routine package name in each file named with classification, finally, com.qihoo360.launcher can be found in the file of security of system class, now, just the name " security of system class " security of system class file can pressed from both sides is as the classification of the application icon of 360 desktop softwares on interface.In specific implementation, if it is all with the files of class name name to have traveled through in database, when all not finding corresponding routine package name, be just other classes by the class declaration of application icon on the interface of acquisition.
As shown in Figure 10, as the embodiment that another kind is feasible, classification identification module 81 can comprise further: statistical module 815 and identification module 816, wherein:
Statistical module 815, for recording application program corresponding to application icon on interface by time of using or by the place used, and in described time period or place by the number of times used;
Identification module 816, for when meeting the trigger condition of control inerface application icon, search described application program within the time cycle of setting, the number of times be reused is more than or equal to time or the place of frequency threshold value, and the classification of being bound the time found out or place is as the classification of the application icon of described application program.
In specific implementation, terminal can application program corresponding to application icon in real time recording interface by time of using or by the place used, such as, between 7-8 point, by using, qq game is used usually on subway in the morning for weather forecast software and microblogging software.And, within a week, weather forecast software is come to 2 times at 7-8 point by the number of times used, and microblogging software in the morning between 7-8 point by 6 times of number of times that use, terminal has preset time cycle as classification foundation and frequency threshold value, the such as time cycle was 1 week, and frequency threshold value is 5 times.Then identification module 816 judges that weather forecast software is within a week, 7-8 point is less than frequency threshold value 5 times for 2 times by the number of times used in the morning, then can not by with the classification that morning, 7-8 point was bound (such as, for " early 8 points ") as the classification of weather forecast software, and owing to judging that microblogging software is within a week, 7-8 point is greater than frequency threshold value 5 times for 6 times by the number of times used in the morning, therefore, can by with the classification of the classification that morning, 7-8 point was bound (such as, being " morning 8 points ") as weather forecast software.Mode classification for the application icon of the application program be reused in appointed place is similar to mode chronological classification, does not repeat at this.
Sort out execution module 82, for the judged result of the classification according to the application icon on described classification identification module 81 pairs of interfaces, described application icon is put into file interface being used for the application icon storing described classification.
With reference to Figure 11, in specific implementation, sorting out execution module 82 can comprise further: judge module 821 and execution module 822, wherein:
Judge module 821, for judging the file whether described interface having existed the application icon for storing described classification.
Execution module 822, for when the judged result of described judge module 821 is for being, then puts into the file of the application icon for storing described classification by described application icon; When the judged result of described judge module is no, described interface creates the file of the application icon for storing described classification, and described application icon is put into the file being used for the application icon storing described classification of described establishment.Such as, desktop exists with the file of security of system name for the application icon of storage system security classes, and determine that the application icon classification of 360 desktop softwares belongs to security of system class through classification identification module 81, judge module 821 can judge that desktop has existed with the file of security of system name, then the application icon of 360 desktop softwares directly can be put into the file named with security of system on desktop by execution module 822, if desktop does not exist with the file of security of system name, execution module 822 needs to create the file with security of system name first on the table, then the application icon of 360 desktop softwares is put into the file named with security of system of establishment.
In specific implementation, the title for storing the file of application icon on desktop can be ordered identical or different from the classification of the application icon of its placement.
As can be seen here, when the embodiment of the present invention meets the trigger condition of control inerface application icon, judge the classification of the application icon on interface; Described application icon is put into file interface being used for the application icon storing described classification.Thus, can realize automatically controlling interface application icon, the very big improvement to user's body test strip.Such as, with reference to figure 4, before the application icon at interface not being carried out to classification control, icon on interface arranges desultorily, such as, be that icon 360 desktop and one, the Jinshan anti-virus software of the application program that security of system is correlated with is positioned at the top, interface equally, one is positioned at interface bottom, is unfavorable for so very much user's searching and operating application icon.And with reference to figure 5, when by the interface after the application icon classification in Fig. 4, file interface including and names with various classification can be seen, like this when user needs the application icon searching certain type, carry out searching in corresponding file, very convenient.
In addition, in specific implementation, sort out execution module 82 after described application icon being put into file interface being used for the application icon storing described classification, the terminal of the embodiment of the present invention also can comprise (not shown):
Real-time Obtaining module, for the current display time or current by the place used of terminal;
Adjusting module, for according to the time or by place to use and interface for storing the corresponding relation of the file of application icon, the file time range belonging to described current display time or described current display time or described current interface corresponding to place to use being used for storing application icon is adjusted to forefront, interface.
The sequence of steps of the method for the embodiment of the present invention can adjust according to actual needs.The module of the terminal of the embodiment of the present invention can carry out integrating and Further Division according to actual needs.The terminal of the embodiment of the present invention can be mobile phone, computer, portable set etc.
The module of the embodiment of the present invention or module, with universal integrated circuit (as central processor CPU), or can realize with special IC (ASIC).One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-OnlyMemory, ROM), random access device (RandomAccessMemory, RAM), disk or CD etc.
Above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.