Summary of the invention
In order to solve the problem of above-mentioned technology, the embodiment of the invention provides a kind of display packing and device of application program shortcut, to improve the efficient that the application programs shortcut is searched on the portable terminal.Described technical scheme is as follows:
On the one hand, provide a kind of display packing of application program shortcut, described method comprises:
Obtain the scene information of portable terminal;
Determine the use scenes of portable terminal according to described scene information;
According to the use weight of application program under described use scenes, determine the display mode of the shortcut of described application program;
The shortcut that shows described application program according to the display mode of determining.
Preferably, describedly determine the use scenes of portable terminal according to described scene information, for: in the scene information of each use scenes of storage, inquire about the use scenes that described current scene information mates;
Described according to the use weight of application program under described use scenes, determine the display mode of the shortcut of described application program, for: according to weights and/or the history run information of each application program under the use scenes that inquires of storage, determine the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut;
The display mode that described basis is determined shows the shortcut of described application program, for: when receiving application idsplay order commonly used, described application display page commonly used is shown.
Preferably, described weights and/or the history run information of each application program under the use scenes that inquires according to storage is determined the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut, for:
According to history run information and the weights of each application program under the described use scenes that inquires of storage, determine the preferred value of each application program under the described use scenes that inquires;
According to the preferred value of described each application program, determine the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut.
Preferably, described history run information is the historical number of starts and/or history run time.
Preferably, described history run information and the weights of each application program under the described use scenes that inquires according to storage are determined the preferred value of each application program under the described use scenes that inquires, for:
According to P (x, t)=PC (x, t) * (T (x, t) * K
T+ N (x, t) * K
N), determine the preferred value of each application program under the described use scenes that inquires, wherein, P (x, t) be the preferred value of application program x under use scenes t, PC (x, t) is the weights of application program x under use scenes t, T (x, t) be the history run time of application program x under use scenes t, N (x, t) is the historical number of starts of application program x under use scenes t, K
TAnd K
NBe default constant coefficient.
Preferably, described preferred value according to described each application program is determined the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut, for:
Determine the shortcut of application program of preferred value maximum of preset number in the shortcut of using the application program that shows in the display page commonly used, and putting in order of each shortcut is the size order of the preferred value of correspondence.
Preferably, the described scene information that obtains portable terminal, for:
When described mobile terminal-opening, and when described portable terminal enters released state by screen lock state, and when described portable terminal keeps released state to reach predetermined period, obtain the scene information of described portable terminal.
Preferably, described scene information comprises a kind of in the following information or combination in any:
Temporal information, geographical location information, translational speed information.
Preferably, the method to set up of the scene information of use scenes comprises:
According to the geographical location information of described portable terminal in Preset Time section corresponding to use scenes, determine the scene information of described use scenes; Perhaps,
Set in advance the translational speed information in the scene information of use scenes; According in Preset Time section corresponding to described use scenes, and when the translational speed of described portable terminal meets described translational speed information, the geographical location information of described portable terminal, and the described translational speed information that sets in advance are determined the scene information of described use scenes; Perhaps,
Determine corresponding use scenes according to the event information in the routing information of mobile terminal stores, and according to temporal information and geographical location information in the described routing information, determine the scene information of described use scenes.
Preferably, trigger the method for described application idsplay order commonly used, comprise: when the touching information at the screen place that detects described portable terminal, trigger described application idsplay order commonly used, wherein, described touching information comprises motion track information, and the distance at the starting point in the described motion track information and the edge of described screen is less than the predeterminable range threshold value, moving direction is the direction away from described edge in the described motion track information, and displacement is default displacement in the described motion track information;
Described described application display page commonly used is shown, for: in described screen, prolong described moving direction and pull out display window, and in described display window, show described application display page commonly used.
On the other hand, provide a kind of display device of application program shortcut, described device comprises:
Acquisition module is for the scene information that obtains portable terminal;
The first determination module is for the use scenes of determining portable terminal according to described scene information;
The second determination module is used for according to the use weight of application program under described use scenes, determines the display mode of the shortcut of described application program;
Display module is used for the shortcut that the definite display mode of basis shows described application program.
Preferably, described the first determination module is used for: at the scene information of each use scenes of storing, inquire about the use scenes that described current scene information mates;
Described the second determination module, be used for: according to weights and/or the history run information of each application program under the use scenes that inquires of storage, determine the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut;
Described display module is used for: when receiving application idsplay order commonly used, described application display page commonly used is shown.
Preferably, described the second determination module is used for:
According to history run information and the weights of each application program under the described use scenes that inquires of storage, determine the preferred value of each application program under the described use scenes that inquires;
According to the preferred value of described each application program, determine the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut.
Preferably, described history run information is the historical number of starts and/or history run time.
Preferably, described the second determination module is used for:
According to P (x, t)=PC (x, t) * (T (x, t) * K
T+ N (x, t) * K
N), determine the preferred value of each application program under the described use scenes that inquires, wherein, P (x, t) be the preferred value of application program x under use scenes t, PC (x, t) is the weights of application program x under use scenes t, T (x, t) be the history run time of application program x under use scenes t, N (x, t) is the historical number of starts of application program x under use scenes t, K
TAnd K
NBe default constant coefficient.
Preferably, described the second determination module is used for:
Determine the shortcut of application program of preferred value maximum of preset number in the shortcut of using the application program that shows in the display page commonly used, and putting in order of each shortcut is the size order of the preferred value of correspondence.
Preferably, described acquisition module is used for:
When described mobile terminal-opening, and when described portable terminal enters released state by screen lock state, and when described portable terminal keeps released state to reach predetermined period, obtain the scene information of described portable terminal.
Preferably, described scene information comprises a kind of in the following information or combination in any:
Temporal information, geographical location information, translational speed information.
Preferably, described the first determination module also is used for:
According to the geographical location information of described portable terminal in Preset Time section corresponding to use scenes, determine the scene information of described use scenes; Perhaps,
Set in advance the translational speed information in the scene information of use scenes; According in Preset Time section corresponding to described use scenes, and when the translational speed of described portable terminal meets described translational speed information, the geographical location information of described portable terminal, and the described translational speed information that sets in advance are determined the scene information of described use scenes; Perhaps,
Determine corresponding use scenes according to the event information in the routing information of mobile terminal stores, and according to temporal information and geographical location information in the described routing information, determine the scene information of described use scenes.
Preferably, described display module, also be used for: when the touching information at the screen place that detects described portable terminal, trigger described application idsplay order commonly used, wherein, described touching information comprises motion track information, and the distance at the edge of the starting point in the described motion track information and described screen is less than the predeterminable range threshold value, moving direction is the direction away from described edge in the described motion track information, and displacement is default displacement in the described motion track information;
Described display module is used for: prolong described moving direction at described screen and pull out display window, and show described application display page commonly used in described display window.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
In embodiments of the present invention, scene information according to portable terminal, determine the residing use scenes of user, according to the use weight of each application program under this use scenes, determine the display mode of the shortcut of application program, and show, thus can be for the residing different use scenes of user, the shortcut of the application program commonly used under the current use scenes is shown recommendation, can improve the efficient that the application programs shortcut is searched on the portable terminal.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
The embodiment of the invention provides a kind of display packing of application program shortcut, and as shown in Figure 1, the treatment scheme of the method can comprise the steps:
Step 101 is obtained the scene information of portable terminal.
Step 102 is determined the use scenes of portable terminal according to the scene information that obtains.
Step 103 according to the use weight of application program under this use scenes, is determined the display mode of the shortcut of application program.
Step 104 shows the shortcut of corresponding application program according to the display mode of determining.
In embodiments of the present invention, scene information according to portable terminal, determine the residing use scenes of user, according to the use weight of each application program under this use scenes, determine the display mode of the shortcut of application program, and show, thus can be for the residing different use scenes of user, the shortcut of the application program commonly used under the current use scenes is shown recommendation, can improve the efficient that the application programs shortcut is searched on the portable terminal.
Embodiment two
The embodiment of the invention provides a kind of display packing of application program shortcut.The executive agent of the method can be portable terminal.
In the method, scene information that can pre-stored a plurality of use scenes, and weights and/or the history run information of each application program under each use scenes.Wherein, this scene information can comprise a kind of in the following information or combination in any: temporal information, geographical location information, translational speed information.In addition, can also comprise temperature information, information volume or illuminance information etc. on the basis of these information comprising.
Concrete, use scenes is user's residing scene when using portable terminal, such as (or dormitory) scene in the family, company (or school) scene, by bus (going to school and leaving school) on and off duty scene, walking (going to school and leaving school) on and off duty scene, with girl friend date scene, party scene, shopping scene etc.Can set in advance a plurality of use scenes in system, such as above-mentioned these scenes that exemplify etc., and can store corresponding scene information for different scenes, for example, the scene information of company's scene can be the geographical location information of company.The scene information of use scenes can ask the user to arrange, and also can set in advance according to the characteristic of use scenes, and is preferred in addition, can be as follows the scene information of use scenes be arranged:
Method one according to the geographical location information of portable terminal in Preset Time section corresponding to use scenes, is determined the scene information of this use scenes.Herein, obtaining of address location information can be carried out according to predetermined period.Obtaining of geographical location information can be passed through GPS(Global Position System, GPS), LBS(Location Based Service, the geographical location information service), Wifi (Wireless Fidelity, Wireless Fidelity) location waits positioning service to obtain.The Preset Time section that use scenes is corresponding can set in advance and be recorded in the system, can be that every day 22 was up to 6 o'clock next day such as Preset Time section corresponding to (or dormitory) scene in the family.
For example, for (or dormitory) scene in the family, can obtain every day 22 up to the geographical location information of 6 o'clock portable terminals next day, like this, all can get access to a plurality of geographical location information every day, can screen presetting location point corresponding to geographical location information that obtains in the fate, remove the location point of away from most of location points (for example 60% location point) mistake (distance surpasses certain threshold value), remaining geographical location information corresponding to each location point then can be used as the scene information of a Scene, perhaps also can determine a scope (scope of family) according to each remaining location point, with the geographical location information of this scope scene information as family's Scene.The set-up mode of the scene information of company (or school) scene and family's Scene are similar.
Method two sets in advance the translational speed information in the scene information of use scenes; According in Preset Time section corresponding to this use scenes, and the translational speed of portable terminal is when meeting this translational speed information, and the geographical location information of described portable terminal, and this translational speed information that sets in advance are determined the scene information of this use scenes.
For example, for walking (going to school and leaving school) on and off duty scene, can set in advance and comprise translational speed information in its scene information, and this translational speed information is less than certain default translational speed.Then, can on every Mondays to Friday 7 up to the translational speed of 10 o'clock (this time period can be determined according to the geographic position Variation Features of portable terminal history) and portable terminal during less than above-mentioned default translational speed, obtain the geographical location information of portable terminal, then can screen location point corresponding to geographical location information, remove first basically do not change each location point (these location points may be to be in or company) of (change in location is very little or constant) of position, remove again from the location point of most of location point hypertelorisms, geographical location information corresponding to each remaining location point then can with above-mentioned translational speed information jointly as the scene information of walking (going to school and leaving school) on and off duty scene, perhaps also can determine according to each remaining location point the scope (scope of circuit on and off duty) of a band shape, the geographical location information of this scope then can with above-mentioned translational speed information jointly as the scene information of walking (going to school and leaving school) on and off duty scene.
Method three is determined corresponding use scenes according to the event information in the routing information of mobile terminal stores, and according to the temporal information in the trip arrangement information and geographical location information, is determined the scene information of this use scenes.
For example, in the routing information of mobile terminal stores, get access to a routing is to date on the sunlight square with the girl friend 19 o'clock on the 12nd Dec, so can according to the event of its record determine corresponding use scenes for girl friend's scene of dating, then, can with the temporal information in the routing and geographical location information as with the date scene information of scene of girl friend.
In the embodiment of the invention, history run information is the information that the reflection application history is used situation, and history run information specifically can be the historical number of starts and/or history run time.The historical number of starts of application program under use scenes, it is this application program total number of starts under this use scenes in default historical time section (such as 20 days before the current time), the history run time of application program under use scenes is this application program total run time under this use scenes in default historical time section.Weights can be used for the different importance that the expression application program has under different use scenes, can determine according to the type of the application program under the different use scenes.
Below in conjunction with concrete embodiment, treatment scheme shown in Figure 1 is described in detail, particular content is as follows.
Step 101 is obtained the scene information of portable terminal.Can obtain the information such as the current temporal information of portable terminal, geographical location information, translational speed information.
For this operation of obtaining corresponding trigger condition can be set, obtain operation as can when reaching predetermined period, triggering this.Preferably, when described mobile terminal-opening, and when described portable terminal enters released state by screen lock state, and when described portable terminal keeps released state to reach predetermined period, obtain the scene information of described portable terminal.Adopt this triggering mode, can under released state, periodically obtain scene information at portable terminal, and, under the screen lock state (dormancy) of portable terminal, can stop to obtain operation, save battery electric quantity.
Step 102 is determined the use scenes of portable terminal according to the scene information that obtains.Concrete, can in the scene information of each use scenes of storing, inquire about the use scenes that current scene information mates.
In the process of carrying out matching inquiry, the scene information under scene information that can the portable terminal that get access to is current and each use scenes of storage compares, and inquires about the scene information that current scene information can mate, and determines corresponding use scenes.
Coupling for geographical location information, the location point that geographical location information in the current scene information is corresponding, if with distance between at least one location point in each location point corresponding to geographical location information in the scene information of storage less than default threshold value, then can judge the geographical location information coupling that current geographical location information is stored therewith.
For the coupling of temporal information, the time that the temporal information in the current scene information is corresponding, if in time range corresponding to temporal information in the scene information of storage, then can judge the temporal information coupling that current temporal information is stored therewith.
Coupling for translational speed information, translational speed corresponding to translational speed information in the current scene information, if in translational speed scope corresponding to translational speed information in the scene information of storage, then can judge the translational speed information matches that current translational speed information is stored therewith.
If the various information (temporal information, geographical location information, translational speed information etc.) in the scene information under certain use scenes of storage can both be moved the corresponding information coupling in the current scene information of terminal, then can judge the scene information coupling that current scene information is stored therewith.
Step 103 according to the use weight of application program under described use scenes, is determined the display mode of the shortcut of described application program.Concrete, can be according to weights and/or the history run information of each application program under the use scenes that inquires of storage, determine the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut.Be that this uses weight can comprise weights and/or history run information.
Concrete, when carrying out this step, can carry out in the following manner:
At first, according to history run information and the weights of each application program under this use scenes of storage, determine the preferred value of each application program under this use scenes.
Concrete, can be according to P (x, t)=PC (x, t) * (T (x, t) * K
T+ N (x, t) * K
N) (being denoted as formula (1)), determine the preferred value of each application program under the use scenes that inquires, wherein, P (x, t) be the preferred value of application program x under use scenes t, PC (x, t) is the weights of application program x under use scenes t, T (x, t) be the history run time of application program x under use scenes t, N (x, t) is the historical number of starts of application program x under use scenes t, K
TAnd K
NBe default constant coefficient.K
TAnd K
N, can for the relative weighting of expression T (x, t) and N (x, t), can set in advance according to actual conditions, and can adjust according to applicable cases K
TAnd K
NIn have one can be 0.Preferably, can select K
NGreater than K
T
Can find out that according to formula (1) weights can be used for the different importance that the expression application program has under different use scenes.Can be according to actual conditions, in advance PC (x, t) is arranged and with use scenes t and application program x corresponding record.For example, for (going to school and leaving school) on and off duty scene by bus, can be to reading the higher weights of setting such as applications, media play application, game class application, news category application; For walking (going to school and leaving school) on and off duty scene, can higher weights be set to communication applications, music application etc.; For the shopping scene, can use shopping guide, the higher weights of setting such as good drink applications of cuisines, financial management application, navigation application, map application; For the appointment scene, can higher weights be set to weather forecast application, the good drink application of cuisines, shopping guide application, navigation application, map application etc.
Then, according to the preferred value of each application program, determine the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut.Wherein, application display page commonly used is for the page of the application program commonly used under the current use scenes being recommended show, is provided with the shortcut of application program commonly used in this page.
Preferably, can determine the shortcut of application program of preferred value maximum of preset number in the shortcut of using the application program that shows in the display page commonly used, and putting in order of each shortcut is the size order of the preferred value of correspondence.Concrete, in the page, each shortcut can be by the preferred value size order, from left to right, arrange from top to bottom.Certainly, also can arrange not according to the size order of preferred value, for example, can random alignment.
Step 104 shows the shortcut of corresponding application program according to the display mode of determining.Concrete, can work as when receiving application idsplay order commonly used, this display page of using commonly used is shown.The display mode of using display page commonly used can have multiple, for example, can open with the form storage of grouping and by shortcut commonly using the application display page, in this case, can detect this shortcut when clicked, trigger the idsplay order of using commonly used.
Preferably, shown in Fig. 2 a, 2b, 3a, 3b, 4a, 4b, triggering the method for using idsplay order commonly used can be: when the touching information at the screen place that detects portable terminal, trigger the idsplay order of using commonly used, wherein, touching information comprises motion track information, and the distance at the starting point in this motion track information and the edge of screen is less than the predeterminable range threshold value, moving direction is the direction away from this edge in this motion track information, and displacement is default displacement in this motion track information.That is to say that the user clicks screen edge vicinity and paddling, until the paddling distance component on vertical this edge direction when reaching default displacement, just triggers the idsplay order of using commonly used.The edge of above-mentioned screen is preferably lower limb, left hand edge or the right hand edge of screen, specifically selects which edge to be set in advance by the user.
Like this, when receiving application idsplay order commonly used, can in screen, pull out display window along the moving direction of stating, and in this display window, show the display page of using commonly used.
In embodiments of the present invention, scene information according to portable terminal, determine the residing use scenes of user, according to the use weight of each application program under this use scenes, determine the display mode of the shortcut of application program, and show, thus can be for the residing different use scenes of user, the shortcut of the application program commonly used under the current use scenes is shown recommendation, can improve the efficient that the application programs shortcut is searched on the portable terminal.
Embodiment three
Based on identical technical conceive, the embodiment of the invention also provides a kind of display device of application program shortcut, and the function of this device can be realized that by portable terminal as shown in Figure 5, described device comprises:
Acquisition module 510 is for the scene information that obtains portable terminal;
The first determination module 520 is for the use scenes of determining portable terminal according to described scene information;
The second determination module 530 is used for according to the use weight of application program under described use scenes, determines the display mode of the shortcut of described application program;
Display module 540 is used for the shortcut that the definite display mode of basis shows described application program.
Preferably, described the first determination module 520 is used for: at the scene information of each use scenes of storing, inquire about the use scenes that described current scene information mates;
Described the second determination module 530, be used for: according to weights and/or the history run information of each application program under the use scenes that inquires of storage, determine the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut;
Described display module 540 is used for: when receiving application idsplay order commonly used, described application display page commonly used is shown.
Preferably, described the second determination module 530 is used for:
According to history run information and the weights of each application program under the described use scenes that inquires of storage, determine the preferred value of each application program under the described use scenes that inquires;
According to the preferred value of described each application program, determine the shortcut of using the application program that shows in the display page commonly used, and the putting in order of each shortcut.
Preferably, described history run information is the historical number of starts and/or history run time.
Preferably, described the second determination module 530 is used for:
According to P (x, t)=PC (x, t) * (T (x, t) * K
T+ N (x, t) * K
N), determine the preferred value of each application program under the described use scenes that inquires, wherein, P (x, t) be the preferred value of application program x under use scenes t, PC (x, t) is the weights of application program x under use scenes t, T (x, t) be the history run time of application program x under use scenes t, N (x, t) is the historical number of starts of application program x under use scenes t, K
TAnd K
NBe default constant coefficient.
Preferably, described the second determination module 530 is used for:
Determine the shortcut of application program of preferred value maximum of preset number in the shortcut of using the application program that shows in the display page commonly used, and putting in order of each shortcut is the size order of the preferred value of correspondence.
Preferably, described acquisition module 510 is used for:
When described mobile terminal-opening, and when described portable terminal enters released state by screen lock state, and when described portable terminal keeps released state to reach predetermined period, obtain the scene information of described portable terminal.
Preferably, described scene information comprises a kind of in the following information or combination in any:
Temporal information, geographical location information, translational speed information.
Preferably, described the first determination module 520 also is used for:
According to the geographical location information of described portable terminal in Preset Time section corresponding to use scenes, determine the scene information of described use scenes; Perhaps,
Set in advance the translational speed information in the scene information of use scenes; According in Preset Time section corresponding to described use scenes, and when the translational speed of described portable terminal meets described translational speed information, the geographical location information of described portable terminal, and the described translational speed information that sets in advance are determined the scene information of described use scenes; Perhaps,
Determine corresponding use scenes according to the event information in the routing information of mobile terminal stores, and according to temporal information and geographical location information in the described routing information, determine the scene information of described use scenes.
Preferably, described display module 540, also be used for: when the touching information at the screen place that detects described portable terminal, trigger described application idsplay order commonly used, wherein, described touching information comprises motion track information, and the distance at the edge of the starting point in the described motion track information and described screen is less than the predeterminable range threshold value, moving direction is the direction away from described edge in the described motion track information, and displacement is default displacement in the described motion track information;
Described display module 540 is used for: prolong described moving direction at described screen and pull out display window, and show described application display page commonly used in described display window.
In embodiments of the present invention, scene information according to portable terminal, determine the residing use scenes of user, according to the use weight of each application program under this use scenes, determine the display mode of the shortcut of application program, and show, thus can be for the residing different use scenes of user, the shortcut of the application program commonly used under the current use scenes is shown recommendation, can improve the efficient that the application programs shortcut is searched on the portable terminal.
Need to prove: the display device of the application program shortcut that above-described embodiment provides is when carrying out the demonstration of application program shortcut, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure that is about to device is divided into different functional modules, to finish all or part of function described above.In addition, the display device of the application program shortcut that above-described embodiment provides and the display packing embodiment of application program shortcut belong to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.