[summary of the invention]
Based on this, be necessary to provide one can make user operation more quickly and easily cursor slidably input method.
A kind of cursor slidably inputs method, comprises the following steps:
Obtain the position of cursor on indicator screen;
Judge whether the position of cursor is positioned at the edge of indicator screen, if so, then obtain the glide direction of mouse;
Judge whether the glide direction of described mouse makes the trend of the oriented indicator screen of cursor movement outward, if so, then cursor is locked in screen edge and moves, and send the instruction preset to instruction process system.
Preferably, also comprise after the step of the glide direction of described acquisition mouse:
Obtain the sliding speed of mouse;
Also comprise before the step of the described instruction default to instruction process system transmission:
The instruction that predefine is corresponding with the speed of the sliding speed of mouse.
Preferably, described indicator screen is provided with and quantizes viewing area;
Also comprise after the step of the sliding speed of described acquisition mouse:
At described quantification viewing area numerical value or/and animation shows the sliding speed of the mouse got pro rata.
Preferably, described cursor is locked in the step of screen edge movement after also comprise:
Play sound prompting.
Preferably, described being locked in after screen edge moves by cursor also comprises:
Obtain the interval of cursor residing for the edge of display screen;
Also comprise before the step of the described instruction default to instruction process system transmission:
The instruction that predefine is corresponding with the interval at the edge of indicator screen.
Based on this, there is a need to provide one can make user operation cursor sliding input apparatus more quickly and easily.
A kind of cursor sliding input apparatus, comprises the display obtaining cursor position, the input media obtaining mouse glide direction, the processor that is connected with described display and described input media; Described processor receives the mouse glide direction that described input media sends, when detecting that described mouse glide direction makes cursor have to shift out the trend of described indicator screen, send the instruction preset to instruction process system, and send the first signal to described display; Cursor is locked in the edge of indicator screen after receiving described first signal by described display.
Preferably, the first memory be connected with described processor is also comprised; Described input media also comprises the sliding speed of mouse to the data that described processor sends; The instruction corresponding with the speed of the sliding speed of mouse is stored in described first memory; Described processor searches corresponding instruction according to the sliding speed of the mouse received in described first memory, and sends to instruction process system.
Preferably, described indicator screen is also provided with quantification viewing area; Described processor comprises the sliding speed of described mouse to the data that described display sends, and described display adopts numeral or/and the mode of animation is proportional, and described sliding speed is showed in described quantification viewing area.
Preferably, the audio frequency apparatus be connected with described processor is also comprised; After described processor sends the first signal to described display, continue to send secondary signal to described audio frequency apparatus; Described audio frequency apparatus plays sound after receiving described secondary signal prompting.
Preferably, the second memory be connected with described processor is also comprised; The instruction corresponding with the interval on display screen edge is stored in described second memory; The cursor that described processor sends according to described display searches corresponding instruction in the interval residing for display screen edge in described second memory, and sends to instruction process system.
Have employed after above-mentioned cursor slidably inputs method and apparatus, only need continue sliding mouse towards a direction when user inputs can complete input operation, need not click certain region accurately, makes input operation convenient and quick.
[embodiment]
In one embodiment, as shown in Figure 1, a kind of cursor slidably inputs method, comprises the following steps:
Step S102, obtains the position of cursor on indicator screen.
In the present embodiment, as shown in Figure 2, user by sliding mouse thus control cursor move freely on indicator screen 10.The first position of Real-time Obtaining cursor on indicator screen 10, preferably, records with the form of pixel coordinate.
Step S104, judges whether the position of cursor is positioned at the edge of indicator screen, if so, then performs step S106, otherwise terminates input step.
Step S106, obtains the glide direction of mouse.
After getting the position of cursor on indicator screen 10, namely in the present embodiment, after having got the coordinate figure of cursor on indicator screen 10, judge that whether the coordinate of cursor position is the edge of indicator screen.If so, the glide direction of mouse is then further obtained.Slip due to mouse causes cursor can move freely with four direction up and down on indicator screen 10, and therefore, the glide direction of mouse can convert to and indicator screen 10 direction that four direction is corresponding up and down by converting herein.For the situation of mouse reversion, simple negate is only needed to calculate.The glide direction of mouse further can be quantified as symbolization, code or electric signal and represents herein.
Step S108, judges whether the glide direction of described mouse makes the trend of the oriented indicator screen of cursor movement outward, if so, then performs step S110, otherwise terminates input step.
Step S110, is locked in screen edge by cursor and moves, and sends the instruction preset to instruction process system.
Be in the edge of indicator screen 10 at cursor, and after having got the glide direction of mouse, continue to judge whether the glide direction of mouse makes the trend of the outer movement of the oriented indicator screen 10 of cursor.When even cursor is positioned at the left hand edge of indicator screen 10, if the glide direction of the mouse got is also for left, then the glide direction of mouse makes the trend of the oriented indicator screen 10 that moves to left out of cursor (certainly, because cursor is virtual image, can not indicator screen be shifted out, therefore represent with " trend " herein).
When by after judging that the glide direction of mouse detects the trend of outer movement of the oriented indicator screen 10 of cursor, cursor is locked in screen edge and moves, and send default instruction to instruction process system.Cursor is locked in screen edge to move to be cursor can be moved along the edge of indicator screen, and cursor can not be made to shift out screen or disappearance.
In the present embodiment, preferably, after the glide direction obtaining mouse, also obtain the sliding speed of mouse.The instruction corresponding with the speed of the sliding speed of mouse is also predefined before sending to instruction process system the instruction preset.
Such as, the instruction of the adjustment volume corresponding with the speed of the sliding speed of mouse is predefined.That is, when the sliding speed of mouse is fast, the speed that volume increases or reduces is fast; When the sliding speed of mouse is slow, the speed that volume increases or reduces is slow.
Preferably, indicator screen 10 is also provided with quantification viewing area.Also viewing area numerical value is being quantized or/and animation shows the sliding speed of the mouse got pro rata after obtaining the sliding speed of mouse.
As shown in Figure 2, the lower left corner of indicator screen 10 is also provided with one piece in advance and quantizes viewing area 20, for quantizing the size showing mouse sliding speed.Quantize to comprise digital display area 22 and progress bar 24 in viewing area 20.When after the sliding speed getting mouse, convert according to certain proportion, then can be shown in digital display area 22 and progress bar 24.Preferably, can also the color of progress bar 24 be changed according to the size of mouse sliding speed and/or mark multiple reference velocity on progress bar 24.
Preferably, cursor is locked in the prompting that also to play sound after screen edge moves, for notifying that user inputs beginning.
In one embodiment, as shown in Figure 2, the edge up and down of indicator screen 10 is preset with multiple interval respectively, as in figure, A, B, C, D, E, F represent.Also obtain the interval of cursor residing for the edge of display screen being locked in by cursor after screen edge moves.Before send the instruction preset to instruction process system, also predefine has the instruction corresponding with the interval at the edge of indicator screen.
Such as, in the present embodiment, the interval corresponding instruction of predefined A is " amplification ", and the interval corresponding instruction of B is " reducing ", and the interval corresponding instruction of C is " recovery original size ".Then, when getting cursor and be positioned at the A interval at indicator screen 10 edge, and during the trend of the oriented indicator screen 10 that moves to left out of cursor, then the instruction of " amplification " is sent to instruction process system; When getting cursor and be positioned at the C interval at indicator screen 10 edge, and when cursor has the trend upwards shifting out indicator screen 10, then send the instruction of " recovery original size " to instruction process system.
Again such as, in the present embodiment, the interval corresponding instruction of predefined D is " quiet ", and the interval corresponding instruction of E is " switching desktop ".Then, when getting cursor and being positioned at the D interval at indicator screen 10 edge, volume is regulated to be quiet; When getting cursor and being positioned at the E interval at indicator screen 10 edge, then indicator screen 10 is switched to predetermined desktop.
In one embodiment, as shown in Figure 3, cursor sliding input apparatus 100 comprises the display 102 obtaining cursor position, the input media 104 obtaining mouse glide direction, the processor 106 that is connected with display 102 and input media 104 respectively.Processor 106 receives the data comprising mouse glide direction that input media 104 sends, when detecting that mouse glide direction makes cursor have to shift out the trend of the screen of display 102, send the instruction preset to instruction process system, and send the first signal to display 102.After display 102 receives the first signal, cursor is locked in the edge of the display screen of display.
In the present embodiment, as shown in Figure 2, display 102 comprises display screen 10.Display screen 10 shows cursor, the position of display 102 Real-time Obtaining cursor, preferably, adopt pixel coordinate value recording light target position.
In the present embodiment, input media 104 is arranged in mouse, in other embodiments, also can be arranged at trace ball, in the devices such as touch pad.Input media 104 is for obtaining the glide direction of mouse.Slip due to mouse causes cursor can move freely with four direction up and down on indicator screen 10, and therefore, the glide direction of mouse can convert to and indicator screen 10 direction that four direction is corresponding up and down by converting herein.For the situation of mouse reversion, simple negate is only needed to calculate.The glide direction of mouse further can be quantified as symbolization, code or electric signal and represents herein.The glide direction of the mouse got is sent to processor 106 by input media 104.
Processor 106 receives the data comprising the direction that mouse slides that input media 104 sends.When cursor is in the edge of indicator screen 10, and after processor 106 got the glide direction of mouse, processor 106 continues to judge whether the glide direction of mouse makes the trend of the oriented indicator screen 10 of cursor movement outward.When even cursor is positioned at the left hand edge of indicator screen 10, if the glide direction of the mouse got is also for left, then the glide direction of mouse makes cursor shift out again the trend of indicator screen 10 left (certainly, because cursor is virtual image, can not indicator screen be shifted out, therefore represent with " trend " herein).
When processor 106 detects that mouse glide direction makes cursor have to shift out the trend of display 102 screen, send the instruction preset to instruction process system, and send the first signal to display 102.After display 102 receives the first signal, cursor is locked in the edge of indicator screen.Cursor is locked in screen edge to move to be cursor can be moved along the edge of the screen of display 102, and cursor can not be made to shift out screen or disappearance.
Preferably, input media 104 also detects the sliding speed of mouse, and the data to processor 106 transmission also comprise the sliding speed of mouse, and preferably, symbolization, code or electric signal represent.Cursor sliding input apparatus 100 also comprises the first memory 108 be connected with processor 106.The instruction corresponding with the speed of the sliding speed of mouse is stored in first memory 108.Processor 106 searches corresponding instruction according to the sliding speed of the mouse received in first memory 108, and sends to instruction process system.
Such as, the instruction of the adjustment volume that pre-stored is directly proportional to the speed of the sliding speed of mouse in first memory 108.When then processor 106 receives the mouse sliding speed of large numerical value, use and significantly regulate volume amplitude; When processor 106 receives the mouse sliding speed of fractional value, use adjustment volume amplitude by a small margin.That is, when the sliding speed of mouse is fast, the speed that volume increases or reduces is fast; When the sliding speed of mouse is slow, the speed that volume increases or reduces is slow.
Preferably, indicator screen 10 is also provided with quantification viewing area.Processor 106 also comprises the sliding speed of mouse to the data that display 102 sends, and display 102 adopts numeral or/and proportional sliding speed being showed in of the mode of animation quantizes in viewing area.
As shown in Figure 2, the lower left corner of indicator screen 10 is also provided with one piece in advance and quantizes viewing area 20, for quantizing the size showing mouse sliding speed.Quantize to comprise digital display area 22 and progress bar 24 in viewing area 20.After display 102 gets the sliding speed of mouse, convert according to certain proportion, then can be shown in digital display area 22 and progress bar 24.Preferably, can also the color of progress bar 24 be changed according to the size of mouse sliding speed and/or mark multiple reference velocity on progress bar 24.
Preferably, cursor sliding input apparatus 100 also comprises the audio frequency apparatus 110 be connected with processor 106.After processor 106 sends the first signal to display 102, continue to send secondary signal to audio frequency apparatus 110.Audio frequency apparatus 110 plays sound after receiving secondary signal prompting, starts input for pointing out user.
In the present embodiment, preferably, as shown in Figure 2, the edge up and down of indicator screen 10 is preset with multiple interval respectively, as in figure, A, B, C, D, E, F represent.Display 102 also obtains the interval of cursor residing for the edge of indicator screen 10 being locked in by cursor after screen edge moves.
Cursor sliding input apparatus 100 also comprises the second memory 112 be connected with processor 106.The instruction corresponding with the interval on indicator screen 10 edge is stored in second memory 112.The interval of cursor residing for indicator screen 10 edge that processor 106 sends according to display 102, searches corresponding instruction, and sends to instruction process system in second memory 112.
Such as, in the present embodiment, in second memory 112, the corresponding relation of the interval and instruction of pre-stored is: the interval corresponding instruction of A is " amplification ", and the interval corresponding instruction of B is " reducing ", and the interval corresponding instruction of C is " recovery original size ".Then, when getting cursor and be positioned at the A interval at indicator screen 10 edge, and during the trend of the oriented indicator screen 10 that moves to left out of cursor, then the instruction of " amplification " is sent to instruction process system; When getting cursor and be positioned at the C interval at indicator screen 10 edge, and when cursor has the trend upwards shifting out indicator screen 10, then send the instruction of " recovery original size " to instruction process system.
Again such as, in the present embodiment, the interval corresponding instruction of predefined D is " quiet ", and the interval corresponding instruction of E is " switching desktop ".Then, when getting cursor and being positioned at the D interval at indicator screen 10 edge, volume is regulated to be quiet; When getting cursor and being positioned at the E interval at indicator screen 10 edge, then indicator screen 10 is switched to predetermined desktop.
Have employed after above-mentioned cursor slidably inputs method and apparatus, only need continue sliding mouse towards a direction when user inputs can complete input operation, need not click certain region accurately, makes input operation convenient and quick.
After adding Mouse Scroll demapping instruction and Mouse Scroll quantification viewing area, user can be pointed out the instruction of current input.After adding voice prompt function, user can be pointed out well when to input and to start, efficiently avoid user and repeat to start.After adding the Interval Maps instruction at display screen edge, add the sample set of input instruction, facilitate user to input multiple instruction.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It 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.