[summary of the invention]
Based on this, be necessary to provide a kind of energy so that the user operates more quickly and easily menu displaying method.
A kind of menu displaying method may further comprise the steps:
Obtain the position of cursor on display screen, described display screen is provided with the input field;
Judge whether cursor is in the described input field, if then show first function items corresponding with described input field;
Judge whether cursor moves into described the first function items from described input field, if then carry out the instruction corresponding with described the first function items.
Preferably, the step of the first function items that described displaying is corresponding with described input field is: take the center of described input field as the center of circle, on the circumference take preseting length as radius, described the first function items is showed on equal angles spacing ground.
Preferably, after the step of described displaying first function items corresponding with described input field, also comprise: control described the first function items and rotate around described input field.
Preferably, the step of the described execution instruction corresponding with described the first function items is specially:
Show second function items related with the first function items;
Judge whether cursor moves into described the second function items from the first function items, if then carry out the instruction corresponding with described the second function items.
Preferably, the described execution instruction corresponding with described the first function items also comprises afterwards:
Conceal described the first function items.
Based on this, be necessary to provide a kind of energy so that the user operates more quickly and easily menu displaying device.
A kind of menu displaying device, comprise obtain cursor at the input media of the position on the display screen, when cursor is in input field on the display screen, show the display device of first function items related with described input field, the processor of execution and described the first function items are corresponding when cursor moves into described the first function items from described input field instruction.
Preferably, described the first function items is positioned at center take described input field as the center of circle, and on the circumference take preseting length as radius, and angle intervals equates.
Preferably, described the first function items rotates around described input field.
Preferably, described processor also comprises the second function items that is connected with the first function items for showing, and when cursor moves into described the second function items from the first function items, carries out the first processing unit of the instruction corresponding with described the second function items.
Preferably, described processor also is included in and carries out the second processing unit that conceals described the first function items after the described instruction.
After having adopted above-mentioned menu displaying method and device, do not need when the user inputs to click by mouse, only need between input field and options region, slide and can finish input, compare with conventional art, more quick and convenient.
[embodiment]
In one embodiment, as shown in Figure 1, a kind of input method may further comprise the steps:
Step S102 obtains the position of cursor on display screen, and described display screen is provided with the input field.
In the present embodiment, as shown in Figure 2, it is input field 20 that a zone can be set on display screen 10, and input field 20 can be set to button, link etc., and shows with icon style.Input equipment in the present embodiment is mouse, controls cursor when display screen 10 moves when user's sliding mouse, can follow the tracks of getting access to the position of cursor on display screen 10.In another embodiment, display screen 10 is touch-screen, then follows the tracks of the position (be about to press points as cursor) of press points on touch-screen that obtains the user.
Step S104 judges whether cursor is in the described input field, if, execution in step S106 then; Step S106 shows first function items corresponding with the input field.
The position of cursor on display 10 obtained in tracking, and judges whether cursor enters in the input field 20.If, the first related function items of a plurality of and input field 20 then is set around 20 in the input field, the first function items is preferably the employing icon representation herein, each first function items correspondence a kind of instruction.For example, in the present embodiment, as shown in Figure 2, be provided with three the first function items around the input field 20, comprise opening function item 31, delete function item 32 and cancellation function items 33, they are corresponding respectively " opening ", " deletion " and " cancellation " three kinds of instructions.
In the present embodiment, preferred, shows that the step of the function items corresponding with described input field is: 20 center is the center of circle take the input field, on the circumference take preseting length as radius, the equal angles spacing displaying the first function items.In the present embodiment, as shown in Figure 2, opening function item 31, delete function item 32 and cancellation function items 33 be separated by in twos 120 degree symmetric offset spread take the center of input field 20 on the circumference in the center of circle.
The mode that the first function items is set has multiple, the fixing region division icon that can be connected with input field 20 on display screen 10 in advance is as the first function items, then it is set to hidden state, when cursor enters input field 20, the first function items is set to visible state.The icon related with input field 20 also can be when cursor enters input field 20 dynamically be set as the first function items around 20 in the input field.
In other embodiments, after showing the first function items, also can control the first function items and rotate around input field 20.For example, when on-screen keyboard is inputted password by the selection icon, in order to prevent the operating process of some Malware recording user, allow a plurality of characters for the input password rotate around the input field, when the user inputs at every turn like this, the position that cursor stops is all different, thereby so that some steals Malware inefficacy of user profile by record cursor track.
Step S108 judges that whether cursor moves into described the first function items from the input field, if, execution in step S110 then; Step S110 carries out the instruction corresponding with described the first function items.
After around the input field, being provided with the first function items, continue the position of tracking cursor on display screen.When detecting cursor and enter the first function items from the input field, carry out the instruction corresponding with described the first function items.
In the present embodiment, after cursor movement is in the first function items, if there be second function items related with the first function items, then continue at the first function items ambient display second function items related with the first function items, the second function items and instruction has default mapping relations.Simultaneously, continue tracking and obtain the position of cursor on display 10.When cursor enters the second function items from the first function items, carry out the instruction corresponding with described the second function items.
In the present embodiment, as shown in Figure 2, after cursor moves on to delete function item 32, continue at two related the second function items of the ambient display of delete function item 32 and delete function item 32, i.e. definite function items 41 and abort function item 42.At this moment, again detect the position of cursor on display 10.When cursor moves into definite function items 41 from delete function item 32, then carry out the operation of " deletion "; When cursor moves into abort function item 42 from delete function item 32, then carry out the operation of " abandoning ".
That is to say, behind cursor entered function item, can also be in a plurality of subfunction items of regeneration on every side of function items, the corresponding different instruction of each function items.This scheme can satisfy the more and input demand when having hierarchical structure of instruction.
In the present embodiment, preferred, behind cursor entered function item, if the function items at cursor place can not a plurality of subfunction items of regeneration, namely corresponding instruction is final instruction rather than branch instruction, then highlighted function items.For example, the instruction of above-mentioned abort function item 42 correspondences is that final instruction " is abandoned ", and then abort function item 42 will be highlighted; The instruction of above-mentioned delete function item 32 correspondences is branch instruction, also will eject after cursor moves into and determine function items 41 and abort function item 42, so delete function item 32 is not highlighted.Like this, just can whether also have the subfunction item by certain function items of prompting user, thereby avoid user's input error instruction.
In the present embodiment, preferred, after carrying out the instruction corresponding with the first function items, also to carry out the step that conceals function items.In the present embodiment, after executing the instruction corresponding with function items, then the first function items and the second function items are concealed.Displaying when inputting next time.In other examples, also can directly function items be removed.
In one embodiment, as shown in Figure 3, the menu displaying device comprises and obtains cursor is carried out the instruction corresponding with described the first function items in the display device 104 of described input field ambient display the first function items, when cursor moves into described the first function items from described input field at the input media 102 of the position on the display screen, when cursor is in input field on the display screen processor 106.
In the present embodiment, input media 102 comprises mouse, as shown in Figure 2, and display device 104 is provided with display screen 10.It is input field 20 that a zone is set on the display screen 10, and the input field is set to button, link etc., and shows with icon style.
Control cursor when display screen 10 moves when user's sliding mouse, input media 102 can be followed the tracks of and get access to the position of cursor on display screen 10.In another embodiment, display screen 10 is touch-screen, and then input media 102 is followed the tracks of the position (be about to press points as cursor) of press points on touch-screen that obtains the user.
The position of cursor on display screen that input media 102 obtains tracking sends to display device 104, and display device 104 judges whether cursor enters in the input field 20.If, then a plurality of the first function items that are connected with the input field are set in the input field around 20, the first function items is preferably the employing icon representation herein, each first function items correspondence a kind of instruction.For example, in the present embodiment, as shown in Figure 2, be provided with three the first function items around the input field 20, comprise opening function item 31, delete function item 32 and cancellation function items 33, they are corresponding respectively " opening ", " deletion " and " cancellation " three kinds of instructions.
In the present embodiment, preferred, the first function items is positioned at take the input field 20 center and is the center of circle, and on the circumference take preseting length as radius, and angle intervals equates.In the present embodiment, as shown in Figure 2, opening function item 31, delete function item 32 and cancellation function items 33 be separated by in twos 120 degree symmetric offset spread take the center of input field 20 on the circumference in the center of circle.
The mode that the first function items is set has multiple, the fixing region division icon that can be connected with input field 20 on display screen 10 in advance is as the first function items, then it is set to hidden state, when cursor enters input field 20, the first function items is set to visible state.The icon related with input field 20 also can be when cursor enters input field 20 dynamically be set as the first function items around 20 in the input field.
In other embodiments, the first function items can also be set to 20 rotations around the input field.For example, when on-screen keyboard is inputted password by the selection icon, in order to prevent the operating process of some Malware recording user, allowing a plurality of characters for the input password center on input field 20 rotates, when the user inputs at every turn like this, the position that cursor stops is all different, thereby so that some steals Malware inefficacy of user profile by record cursor track.
Input media 102 continues the position of tracking cursor on display screen, and sends to display device 104 after being provided with the first function items around the input field 20.When display device 104 detects cursor from the input field 20 when entering the first function items, processor 106 is carried out the instruction corresponding with described the first function items.
In the present embodiment, processor 106 also is included in the second function items that the first function items ambient display is connected with the first function items, and when cursor moves into described the second function items from the first function items, carry out the first processing unit 108 of the instruction corresponding with described the second function items.Be preset with the mapping relations of the second function items and instruction in the processor 106.When cursor entered the second function items from the first function items, the first processing unit 108 found first corresponding instruction according to default mapping relations, then carried out the instruction corresponding with described the second function items.
In the present embodiment, as shown in Figure 2, after cursor moves on to delete function item 32, continue at two related the second function items of the ambient display of delete function item 32 and delete function item 32, i.e. definite function items 41 and abort function item 42.At this moment, again detect the position of cursor on display 10.When cursor moves into definite function items 41 from delete function item 32, then carry out the operation of " deletion "; When cursor moves into abort function item 42 from delete function item 32, then carry out the operation of " abandoning ".
That is to say, behind cursor entered function item, display device 104 is a plurality of subfunction items of regeneration around function items also, the corresponding different instruction of each function items.This scheme can satisfy the more and input demand when having hierarchical structure of instruction.
In the present embodiment, preferred, behind cursor entered function item, if the function items at cursor place can not a plurality of subfunction items of regeneration, namely corresponding instruction is final instruction rather than branch instruction, then changes the effect of visualization of function items, such as highlighted, flicker, shake etc.For example, the instruction of above-mentioned abort function item 42 correspondences is that final instruction " is abandoned ", and then abort function item 42 will be highlighted; The instruction of above-mentioned delete function item 32 correspondences is branch instruction, also will eject after cursor moves into and determine function items 41 and abort function item 42, so delete function item 32 is not highlighted.Like this, just can whether also have the subfunction item by certain function items of prompting user, thereby avoid user's input error instruction.
In the present embodiment, preferred, processor 106 also is included in carries out the second processing unit 110 that conceals the first function items after the instruction.In the present embodiment, after executing the instruction corresponding with function items, 110 of the second processing units conceal the first function items and the second function items.Displaying when inputting next time.In other examples, the second processing unit 110 also can directly remove function items.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.