Summary of the invention
The embodiment of the invention provides a kind of generation method and terminal of terminal desktop widget, can generate expediently more flexibly the desktop small tool.
A kind of generation method of terminal desktop widget comprises:
Obtain the instruction that the user selects terminal applies;
When determining to have the desktop widget related with described terminal applies according to described instruction, generate the desktop widget at terminal desktop.
Optionally, wherein, before the described step of obtaining the instruction that the user selects terminal applies, can also comprise:
Determine that the user starts terminal applies for the first time.
Wherein, described when determine having the desktop widget related with described terminal applies according to described instruction, the step at terminal desktop generation desktop widget is specifically as follows:
When determining to have the desktop widget related with described terminal applies according to described instruction, generating run is selected information on terminal applies, and described operation selection information comprises generation desktop widget option;
Receive the user to the selection instruction of described generation desktop widget option;
Generate the desktop widget at terminal desktop.
Optionally, wherein, described when determine having related desktop widget according to described instruction, generating run is selected information on terminal applies, and described operation selection information comprises the step that generates desktop widget option, is specifically as follows:
When determine having at least two desktop widgets related with described terminal applies according to described instruction, generating run is selected information on terminal applies, and described operation selection information comprises generation desktop widget option;
Wherein, generation widget option that described at least two desktop widgets related with described terminal applies are corresponding shows after to the fancy grade of desktop widget or user-defined sort by ascending order or descending sort the frequency of utilization of desktop widget, user according to the size of desktop widget, user again in described operation selection information.
Optionally, wherein, described step at terminal desktop generation desktop widget, be specifically as follows: the preset position on terminal desktop generates the desktop widget.
A kind of terminal comprises instruction fetch unit and generation unit;
Instruction fetch unit is used for obtaining the instruction that the user selects the terminal applies on the terminal desktop;
Generation unit is when being used for determining to have the desktop widget related with described terminal applies according to described instruction, at terminal desktop generation desktop widget.
Optionally, this terminal can also comprise determining unit;
Determining unit is used for determining that the user starts terminal applies for the first time.
Optionally, wherein, described generation unit, in the time of specifically can being used for determining to have the desktop widget related with described terminal applies according to described instruction, generating run is selected information on terminal applies, described operation selection information comprises generation desktop widget option, receives the user to the selection instruction of described generation desktop widget option, generates the desktop widget at terminal desktop.
Optionally, wherein, described generation unit, in the time of specifically can being used for determining to exist at least two desktop widgets related with described terminal applies according to described instruction, generating run is selected information on using, described operation selection information comprises and generates desktop widget option, and generation desktop widget option that described at least two desktop widgets related with described terminal applies are corresponding is according to the size of desktop widget in described operation selection information, the user is to the frequency of utilization of desktop widget, the user is to the fancy grade of desktop widget, or show again after user-defined sort by ascending order or the descending sort.
Optionally, wherein, described generation unit, the preset position that specifically can be used on terminal desktop generates the desktop widget.
The embodiment of the invention adopts when the user generates the desktop widget by the selection to terminal applies, determine whether to exist the desktop widget related with this terminal applies, if exist, then generate the desktop widget at desktop, can only pass through separately " interpolation " operation in this scheme and the prior art, the widget that selection needs from all widgets seems more flexible, is convenient to user's operation.
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 only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those skilled in the art belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention provides a kind of generation method and terminal of terminal desktop widget.Below be elaborated respectively.
Embodiment one,
Present embodiment will be described from the angle of terminal, and this terminal is specifically as follows the equipment such as panel computer or mobile phone.
A kind of generation method of terminal desktop widget comprises:
Obtain the user to the selection instruction of terminal applies;
When determining to have the desktop widget related with this terminal applies according to this selection instruction, generate the desktop widget at terminal desktop.
As shown in Figure 1, idiographic flow can be as follows:
101, terminal is obtained the instruction that the user selects the terminal applies on the terminal desktop;
The instruction of herein terminal applies being selected can be that the user uses the clicks or long by terminal applies such as finger/pointer, certainly, can also be other modes.
Optionally, obtain before the step of user to the selection instruction of the terminal applies on the terminal desktop, the method can also comprise:
Determine that the user is that (for the first time namely) starts the terminal applies on the terminal desktop first.
In addition, start first this terminal applies if determine the user, then can operate according to existing flow process, click the operation interface that directly enters this terminal applies after the terminal applies such as the user, etc., do not repeat them here.
When 102, terminal is determined to have the desktop widget related with this terminal applies according to this instruction, generate the desktop widget at terminal desktop.For example, specifically can be as follows:
When according to the user instruction of terminal applies selection being determined to have the desktop widget related with this terminal applies, generating run is selected information on terminal applies, and wherein, operation selection information can comprise the information such as generation desktop widget option;
Receive the user this is generated the selection instruction of desktop widget option;
Generate the desktop widget at terminal desktop.
Wherein, the operation that generates selects information to arrange according to the demand of practical application, such as, if there is multinomial desktop widget, then according to data from big to small or order from small to large the option of these desktop widgets is shown, perhaps, the height of estimating according to the user shows the option of these desktop widgets, etc.Be that step " when determining to have the desktop widget related with this terminal applies according to this selection instruction, generating run is selected information on terminal applies " is specifically as follows:
When according to this user the selection instruction of terminal applies being determined to have the desktop widget of at least two associations, generating run is selected information on terminal applies, and wherein, operation selection information can comprise information such as generating desktop widget option;
Wherein, the generation widget option that the desktop widget related with this terminal applies is corresponding with these at least two in this operation selection information shows after to the fancy grade of desktop widget or user-defined sort by ascending order or descending sort the frequency of utilization of desktop widget, user according to the size of desktop widget, user again.
For example, the application of certain weather has desktop widget A and the B of two associations on the terminal, and wherein the size of desktop widget A is less is 4 * 1, and the size of desktop widget B more greatly 4 * 4; Then can when showing, arrange according to the size of the desktop widget generation desktop widget option ascending order that the desktop widget is corresponding, before soon generation desktop widget A option corresponding to A will be presented at, after the generation desktop widget B option that B is corresponding is presented at; Perhaps, can be according to descending sort when showing, before soon generation desktop widget B option corresponding to B will be presented at, after the generation desktop widget A option that A is corresponding is presented at.
Wherein, this operation selection information can be to produce a dialog box in terminal applies, also can be a pop-up window etc.For example, after the user starts the microblogging application first, then can use at microblogging and generate a dialog box, dialog box shows two options, be included in desktop and generate the option of microblogging application icon and the option of generation microblogging desktop widget, etc.If the widget of an association has when a plurality of, the effect that increases operation selection information can allow the user operate and select, and avoids clicking all adding all widgets to desktop after using and causing puzzlement to the user, improves user's experience.
In addition, when generating the desktop widget, specifically can generate at random the desktop widget on any room of desktop, also can generate the desktop widget at preset position, namely step " generates the desktop widget at terminal desktop ", specifically can comprise:
Preset position on terminal desktop generates the desktop widget.
Generate the desktop widget with so that the desktop widget that adds does not destroy the desktop that the user arranges at preset position, avoid causing puzzlement to the user.Wherein, preset position can arrange according to the demand of practical application and user's hobby, does not repeat them here.
Optionally, if the instruction of terminal applies being selected according to this user determines not exist related desktop widget, then can inoperation, perhaps, also can generate the non-existent information of indication widget, to notify the user, that is, the generation method of this desktop widget can also comprise:
When according to this user the instruction of terminal applies selection being determined not have the desktop widget related with this terminal applies, generate the non-existent information of indication widget, show the information of this generation.
As from the foregoing, present embodiment adopts when the user generates the desktop widget by the selection to terminal applies, determine whether to exist the desktop widget related with this terminal applies, if exist, then generate on the table the desktop widget, can only pass through separately " interpolation " operation in this scheme and the prior art, from all desktop widgets, select the desktop widget that needs, seem more flexible, be convenient to user's operation.
Embodiment two,
According to embodiment one described method, below will be described in further detail for example.
In the present embodiment, will be specially mobile phone take this terminal describes as example.
As shown in Figure 2, idiographic flow can be as follows:
201, mobile phone receives the triggering command that the user starts terminal applies.
202, mobile phone determines according to triggering command whether the user starts this terminal applies first, if then execution in step 203, if not, then can directly enter the operation interface of this terminal applies, and flow process finishes.
203, mobile phone obtains the instruction that the user selects the terminal applies on the terminal desktop.
When 204, mobile phone was determined to have the desktop widget related with this terminal applies according to this instruction to the selection of the terminal applies on the terminal desktop, generating run selected information for user selection, and wherein, operation selection information comprises generation desktop widget option;
Wherein, the operation that generates selects information to arrange according to the demand of practical application, such as, if there is multinomial desktop widget, then can according to the widget size from big to small or order from small to large generation desktop widget option corresponding to these desktop widgets shown, perhaps, can also show generation desktop widget option corresponding to these desktop widgets the height of widget evaluation according to the user, etc.Be that step 204 is specifically as follows:
When according to this user the selection instruction of terminal applies being determined to exist at least two desktop widgets related with terminal applies, generating run is selected information on terminal applies, and wherein, operation selection information can comprise the information such as generation desktop widget option;
The generation widget option that the desktop widget related with terminal applies is corresponding with these at least two in this operation selection information shows after to the fancy grade of desktop widget or user-defined sort by ascending order or descending sort the frequency of utilization of desktop widget, user according to the size of desktop widget, user again.
For example, the application of certain weather has desktop widget A and the B of two associations on the terminal, and wherein the size of desktop widget A is less is 4 * 1, and the size of desktop widget B more greatly 4 * 4; Then can when showing, arrange according to the size of the desktop widget generation desktop widget option ascending order that the desktop widget is corresponding, before soon generation desktop widget A option corresponding to A will be presented at, after the generation desktop widget B option that B is corresponding is presented at; Perhaps, can be according to descending sort when showing, before soon generation desktop widget B option corresponding to B will be presented at, after the generation desktop widget A option that A is corresponding is presented at.
Wherein, this operation selection information can be to produce a dialog box in terminal applies, also can be a pop-up window etc.For example, after the user starts the microblogging application first, then can use at microblogging and generate a dialog box, dialog box shows two options, be included in desktop and generate the option of microblogging application icon and the option of generation microblogging desktop widget, etc.
Optionally, this operation selection information can also comprise other desktop display mode, such as generating on the table shortcut etc., does not repeat them here.
It should be noted that, when if mobile phone is determined not have the desktop widget related with this terminal applies according to this instruction that terminal applies on terminal desktop is selected, then can generate the non-existent information of indication desktop widget, the information that shows this generation, to notify the user, flow process finishes.
205, when user selection generated desktop widget option, mobile phone received the user this is generated the selection instruction of desktop widget option.
206, mobile phone generates the desktop widget at mobile phone desktop, for example, and specifically can be as follows:
Such as, specifically can on any room of desktop, generate at random the desktop widget, also can generate the desktop widget at preset position.
Wherein, presetting display mode can arrange according to the demand of practical application,
It should be noted that, in the present embodiment, only describe with the example that is chosen as that " whether generating the desktop widget " is provided when the user starts terminal applies first, should be understood that, also can be when the user starts terminal applies each time, the selection of " whether generating the desktop widget " all is provided, and its implementation does not similarly repeat them here.
As from the foregoing, present embodiment adopts when the user starts terminal applies first, the selection that generates the desktop widget is provided for the user, and when user selection generates the desktop widget, generate the desktop widget, can only pass through separately " interpolation " operation in this scheme and the prior art, from all desktop widgets, select the desktop widget that needs, seem more flexible, be convenient to user's operation.
Embodiment three,
In order to implement better above method, the embodiment of the invention also correspondingly provides a kind of terminal, and as shown in Figure 3, this terminal specifically can comprise instruction fetch unit 301 and generation unit 302;
Instruction fetch unit 301 is used for obtaining the instruction that the user selects the terminal applies on the terminal desktop;
Generation unit 302 is used for the instruction to the selection of the terminal applies on the terminal desktop according to this user, when determining to have the desktop widget related with this terminal applies, generates the desktop widget at terminal desktop.
Wherein, generation unit 302, specifically can be used for the instruction to the selection of the terminal applies on the terminal desktop according to this user, generating run is selected information on terminal applies, wherein, this operation selection information comprises generation desktop widget option, receives the user this is generated the selection instruction of desktop widget option, generates the desktop widget at terminal desktop.
Wherein, the operation that generates selects information to arrange according to the demand of practical application, such as, if there is multinomial desktop widget, then can according to the size of desktop widget from big to small or order from small to large generation desktop widget option corresponding to these desktop widgets shown, perhaps, according to the user height of desktop widget evaluation is shown etc. generation desktop widget option corresponding to these desktop widgets.That is:
Generation unit 302, in the time of specifically can determining to exist at least two desktop widgets related with terminal applies to the selection instruction of terminal applies according to this user, generating run is selected information on terminal applies, and wherein, operation selection information can comprise information such as generating desktop widget option; The generation widget option that the desktop widget related with terminal applies is corresponding with these at least two in this operation selection information shows after to the fancy grade of desktop widget or user-defined sort by ascending order or descending sort the frequency of utilization of desktop widget, user according to the size of desktop widget, user again.
For example, the application of certain weather has desktop widget A and the B of two associations on the terminal, and wherein the size of desktop widget A is less is 4 * 1, and the size of desktop widget B more greatly 4 * 4; Then can when showing, arrange according to the size of the desktop widget generation desktop widget option ascending order that the desktop widget is corresponding, before soon generation desktop widget A option corresponding to A will be presented at, after the generation desktop widget B option that B is corresponding is presented at; Perhaps, can be according to descending sort when showing, before soon generation desktop widget B option corresponding to B will be presented at, after the generation desktop widget A option that A is corresponding is presented at.
Wherein, this operation selection information can be to produce a dialog box in terminal applies, also can be a pop-up window etc.For example, after the user starts the microblogging application first, then can use at microblogging and generate a dialog box, dialog box shows two options, be included in desktop and generate the option of microblogging application icon and the option of generation microblogging desktop widget, etc.
In addition, when generating the desktop widget, specifically can on any room of desktop, generate at random the desktop widget, also can generate the desktop widget at preset position, that is:
Generation unit 302, the preset position that specifically can be used on terminal desktop generates the desktop widget.
If the desktop widget related with terminal applies exists a plurality of, then generate the desktop widget at the desktop preset position, then can make the desktop widget of generation not destroy original user's desktop to the layout of icon and/or widget, generate arbitrarily a plurality of desktop widgets when avoiding not assigned address and cause puzzlement to the user.
Optionally, this terminal can also comprise determining unit;
Determining unit is used for determining that the user is the terminal applies that starts for the first time on the terminal desktop;
Such as, specifically can receive the triggering command that the user starts terminal applies, determine according to this triggering command whether the user starts described terminal applies first.Determine that first the user starts terminal applies first, then can when the complete terminal applies of user installation is prepared to use, directly obtain instruction, provide convenience to the user.
In addition, if determining unit is determined the user and whether is started first the terminal applies on the terminal desktop, such as specifically determining that the user starts this terminal applies first according to triggering command, then can operate according to existing flow process, such as operation interface that directly enters this terminal applies etc., do not repeat them here.
Certainly, except when definite user starts this terminal applies first, generating run selects information for outside the user selection, also can be when the user start this terminal applies each time, and all generating run selects information for user selection, that is:
Determining unit also can be used for receiving the triggering command that the user starts terminal applies.
Optionally, if determine not exist the desktop widget related with this terminal applies according to the instruction that the user selects terminal applies, then can inoperation, perhaps, also can generate the non-existent information of indication widget to notify the user, namely this terminal can also comprise Tip element;
Tip element when determining not have the desktop widget related with this terminal applies for the instruction of terminal applies being selected according to the user, generates the non-existent information of indication widget, shows this information.
This terminal is specifically as follows the equipment such as home computer, panel computer or mobile phone.
During implementation, above unit can be used as independently entity realization, also can carry out combination in any, realizes that as same or several entities the enforcement of above unit specifically can referring to the embodiment of the method for front, not repeat them here.
As from the foregoing, the instruction fetch unit 301 of the terminal of present embodiment can be obtained the instruction that the user selects terminal applies, then by generation unit 302 when determine having the desktop widget related with terminal applies, generate the desktop widget at terminal desktop, can only pass through separately " interpolation " operation in this scheme and the prior art, the desktop widget that selection needs from all desktop widgets seems more flexible, is convenient to user's operation.
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 come the relevant hardware of instruction finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: ROM (read-only memory) (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than generation method and the terminal of a kind of terminal desktop widget that the embodiment of the invention is provided be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.