Background technology
Form interface (Graphical User Interface, GUI) the formula operation interface of being released by full high post PARC research department the earliest, collocation indicator device (as mouse) uses, the user only needs the rolling mouse with the index of vision formula to add and clicks action, can easily finish and want the action carried out, solve in the past type mode and need import numerous and diverse instruction and cause awkward obstacle.Therefore the form interface is adopted by Apple Computers and Microsoft (Microsoft) one after another, becomes the prevailing model of All Jobs system.At the electronic equipment of using the form interface system, for example desktop computer, notebook computer, panel computer, personal digital assistant machine (PDA) or the like, indicator device (pointing device) has become basic outfit.
At present indicator device comprise external device (ED) mouse, in be built in trace ball and the Trackpad (touch pad) in the portable computer system and the contact panel (touch panel) that combines with screen or the like, wherein mouse is the indicator device of release the earliest.With the mouse is the function that example illustrates indicator device, index (pointer) on the screen of mouse may command electronic installation, promptly where mouse moves on to, and index is also followed and where is moved on to, the target of on screen desire being carried out is pressed the control button then, can assign execution command to electronic installation.Yet present design of electronic devices is towards short and small frivolous development, and for example notebook computer replaces the shipment of desktop computer gradually, causes the little contactor control device of volume (such as Trackpad) that the situation that becomes the indicator device main flow is gradually arranged.
The technology of contactor control device roughly comprises condenser type, resistance-type, electromagnetic type, pressure type, inductance type, surface acoustic wave type, ultrasonic formula, optical profile type or the like at present.And on contactor control device, move when the object such as finger, can controlling index move along the direction of movement of objects.Yet indicator device also has the function of assigning execution command concurrently except controlling index moves.With the example that is operating as of mouse, when index moves to the target (as formula, file) that desire starts, can press twice mousebutton (Double Clicking) continuously, General System is preset as left mouse button, but select target and make its unlatching then.Yet, with the contactor control device such as Trackpad, present more than setting up two control buttons below it to replace the right and left key of mouse, perhaps define object certain action gesture on contactor control device, next correspondence produces the signal that twice mousebutton pressed in simulation continuously.
Contactor control device is to make with the gesture (hereinafter to be referred as double-clicking gesture) of knocking twice contactor control device (Double tap) continuously clicking the target unlatching at present, to replace continuous action by twice mousebutton in the mouse.Thereby, at United States Patent (USP) the 6th, 414, the previous methods of the double-click gesture on a kind of how identification contactor control device is proposed in No. 671.Cooperate Fig. 1 (Fig.15F in the 6th, 414, No. 671 instructionss of corresponding United States Patent (USP)), at first the time span t of the first time appearance of object on contactor control device
19(promptly referring to the residence time that object occurs for the first time on contactor control device) compares with the first reference time value, as if the time span t that occurs for the first time
19Less than first reference time value, then produce first signal 11; Then,, then stop first signal if in one second reference time value, do not detect when occurring for the second time, in other words, the time interval t between first and second time occurs
20Need to be worth less than second reference time; Secondly, the time span t that occurs for the second time
21Compare with the 3rd reference time value, if the time span t that occurs the second time
21When being worth, then stopping first signal and produce one second signal 12 less than the 3rd reference time, like this exportable two signals 11,12, with simulation output continuously by signal that twice mousebutton produced.
Though previous methods can reach the purpose that gesture is double-clicked in identification, yet because in the previous methods, the time span t that occurs for the first time
19, the time interval t between twice appearance
20, with the time span t that occurs for the second time
21Judge with the corresponding reference time value respectively, comparatively complicated in the feasible judgement.Moreover, because user's individual differences, so everyone carries out time of each stage action of double-clicking gesture or variant on contactor control device, very the same user of person also may have difference in carrying out each time length of moving of double-clicking gesture each time, causes previous methods to have the situation of erroneous judgement to take place easily.Again, noise that is produced by false touch or because of contactor control device itself work easily in the use of contactor control device or the noise that comes from external environment disturb, thereby occur the first time that can produce of short duration surging formula (spike), the phenomenon of the appearance second time, previous methods is not done the minimum time restriction to the time span of first and second time appearance, time interval between twice appearance, so easily the interference signal that produces because of the noise interference is done improper judgement, and have the situation of erroneous judgement to take place easily.In addition, because towing (Tap﹠amp; Drag) gesture also is to knock contactor control device twice, and towing when knocking for the second time, owing to the accumulative total displacement between the apparition second time is not included in judgement in the previous methods, obscures with the towing gesture so easily and situation about judging by accident.
Embodiment
At first explanation is that the method that gesture is double-clicked in identification of the present invention is to be used for a contactor control device.For illustrative purposes, select in the present embodiment to explain with capacitive touch device.
As Fig. 2, capacitive touch device 2 comprises computing module, a displacement unit 25, a gesture unit 26 and the transmission interface 27 that a Trackpad 21, has a directions X processing unit 22, a Y direction processing unit 23, an arithmetic element 24 at least.Trackpad 21 has plurality of wires to distribute respectively at X, Y direction, for example 16 of directions Xs, 12 in Y direction.So, when the object of tool electric conductivity such as finger 10 touches or during near Trackpad 21, then can produce capacitance variation on the Trackpad 21, and then, X, Y direction processing unit 22,23 are handled respectively behind the capacitance of X, Y direction and are passed to arithmetic element 24, and arithmetic element 24 can calculate the Building X scale value and the Building Y scale value of object contact position in view of the above.Then, displacement unit 25 receives the operation result X and the Building Y scale value of arithmetic element 24, and calculate object according to this behind relative displacement DX, DY on the Trackpad 21 (referring to press signal), gesture unit 26 and transmission interface 27 are given in transmission, so result of calculation DX, DY can be sent to a main frame (host) 3 through transmission interface 27, for main frame 3 its indexs of control moving on screen.Main frame 3 can be PC, notebook computer, personal digital processor (PDA) or mobile phone etc.At this, owing to aforementioned components is not the improved characteristics of this case and widely is familiar with present technique field person and knows, so do not give unnecessary details at this.In addition, this routine computing module, displacement unit 25, gesture unit 26 and transmission interface 27 are to be integrated in the controller such as wafer.
Gesture unit 26 receives result of calculation DX, the DY of displacement unit 25, whether on Trackpad 21, produce one with judgment object and meet the action of double-clicking gesture, and continuous first signal by twice mousebutton is simulated in corresponding output one when being judged as the double-click gesture, to do correspondence control through transmission interface 27 feed-in main frames 3.Technical characterictic of the present invention is the method for identification double-click gesture in the gesture unit 26.This gesture unit 26 can software, a piece of wood serving as a brake to halt a carriage body or hardware are reached the method that gesture is double-clicked in identification.Moreover, though this routine gesture unit 26 is to be integrated in the controller of contactor control device 2, however also can software or the hardware mode be arranged in the main frame 3, should not be subject to present embodiment and disclose.
In addition, though present embodiment is that example explains with capacitive touch device 2, yet be familiar with present technique field person when knowing, the present invention also can be applicable to the contactor control device of other kenels, for example optical profile type, resistance-type, electromagnetic type, pressure type, inductance type, surface acoustic wave type, ultrasonic formula or the like should not be subject to present embodiment and disclose.
Cooperate Fig. 3 and Fig. 4 that the judgement flow process of one example of present embodiment is described.In this example, hypothesis Trackpad 21 is knocked (Tap) twice continuously such as the object of pointing 10 earlier.For convenience of description, object is represented to point 10 hereinafter.It should be noted, though serve as that the object of finger 10 is that example illustrates with one in the explanation of following example, ought know that this routine contactor control device 2 also can detect the conductive body of other kinds yet be familiar with present technique field person, maybe can detect a plurality of conductive bodies, should not be subject to present embodiment and disclose.
At first, in step 41, contactor control device 2 detects the beginning that finger 10 occurs for the first time on Trackpad 21.Detect the beginning of appearance for the first time when contactor control device 2 after, gesture unit 2 promptly can pick up counting.
Secondly, in step 42, be used for judging that detecting appearance end has for the first time reached one first reference time value T with the timing that begins from appearance for the first time
1Two conditions in which condition reached earlier.Suppose in this example in the first reference time value T
1The secondary that the planted agent can detect double-click occurs.First reference time value T of this example
1Scope be about 100 microseconds ~ 1000 microsecond (100ms<T
1<1000ms), can be according to deviser's needs or user's operating habit and adjust.
If in the step 42, judge timing earlier and reached the first reference time value T
1The time, occur owing to occur being not over yet for the first time and do not detect for the second time, can confirm not to be to be the double-click gesture, thereby execution in step 43, to judge whether to be other gestures.
If in the step 42, judge earlier when occurring having finished for the first time, then timing does not reach the first reference time value T as yet
1So, execution in step 44.In step 44, in order to continue to judge that detecting the beginning and the timing that occur has for the second time reached the first reference time value T
1Two conditions in which condition reached earlier.
Similarly, if in step 44, judge timing earlier and reached the first reference time value T
1The time, because not at first reference time value T
1In detect for the second time and occur, can clearly judge not to be the double-click gesture, thereby execution in step 43, to judge whether to be other gestures.
On the contrary,, judge earlier when detecting the beginning that occurs for the second time, mean at the first reference time T if in step 44
1In twice appearance of double-clicking gesture may appear meeting, thereby continuation step 45.Cooperate Fig. 3, after beginning occurring for the second time, gesture unit 26 can obtain a time span T who occurs for the first time by previous signal input
Down1And one is positioned at the time interval T first time between occurring for the first time and occurring for the second time
Up1
Noise that is produced by false touch or because of Trackpad 21 work itself easily in the use of Trackpad 21 or the noise that comes from external environment disturb the improper signal that produces, and first, second for example of short duration time occurs, the time interval of first and second time between occurring.Because these improper signals only continue blink, so, require time of each action must be in following step 45,46,48,49 respectively in the present embodiment,, and then increase the precision of identification with these improper signals of effective filtering respectively greater than corresponding minimum time value.
In step 45, judgement earlier is to mention the time interval T first time of signal for the first time between being positioned at and occurring for the first time and occur for the second time
Up1Whether mention reference time value T greater than one first minimum
21First minimum is mentioned reference time value T
21Promptly point 10 and mention the minimum active period that (UP) touches (down) again.Time interval T for the first time
Up1Be after finger 10 knocks for the first time, to mention and leave Trackpad 21, the time interval before knocking the second time of finger 10.First minimum of this example is mentioned reference time value T
21Scope be 1 microsecond ~ 10 microsecond (1ms≤T
21≤ 10ms), can need or user's operating habit and adjusting according to the deviser.If step 45 is judged time interval T for the first time
Up1Mention reference time value T greater than first minimum
21(T
Up1>T
21) time, represent time interval T for the first time
Up1Signal be effective signal, thereby continue step 46.If judge time interval T for the first time in the step 45
Up1Be not more than first minimum and mention reference time value T
21(T
Up1≤ T
21) time, mean that this mentions signal for the first time and should be considered as noise because of the time is too short, thus occur for the first time really finishing, thereby rebound step 42, to continue to detect the end that occurs for the first time.
In step 46, judge the time span T that occurs for the first time
Down1Whether knock reference time value T greater than first minimum
31Because coming across Trackpad 21, general finger 10 means that 10 on finger touches (Down) on Trackpad 21, so, on Trackpad 21, knock the minimum active period that is stopped for the first time at this finger 10 and call first minimum and knock reference time value T
31If judge the time span T that occurs for the first time in the step 46
Down1Knock reference time value T greater than first minimum
31The time (T
Down1>T
31), then mean to appear as effective signal for the first time, thereby continue step 47.On the contrary, if be judged as not (T in the step 46
Down1≤ T
31) time, mean for the first time to appear as noise, thus sublate need not, thereby rebound step 41 is waited for nextly occurring for the first time again.
After detecting the beginning that occurs for the second time, gesture unit 26 also utilizes displacement unit 25 to calculate the accumulative total displacement M that occurs for the second time except that continuing timing
Down2In step 47, judge to detect for the second time the accumulative total displacement M that end occurs, occur for the second time
Down2Be not less than one with reference to displacement M
1Arrived at the first reference time value T with the time that occurs beginning to count from the first time
1Three conditions in which condition reached earlier.
If in the step 47, to judge earlier when occurring finishing for the second time, representative is at first reference time value T
1In the accumulative total displacement M that detects twice appearance really and occur for the second time
Down2Less than reference displacement M
1(M
Down2<M
1), next only needing respectively at confirming in the step 48 and 49 to occur for the second time is really to finish and appear as effective signal for the second time, can reach definite twice and appear as the double-click gesture.
In step 48, judge the time interval T second time after this end that occurs for the second time
Up2Whether mention reference time value T greater than second minimum
22If step 48 is judged time interval T for the second time
Up2Mention reference time value T greater than second minimum
22(T
Up1>T
22) time, mean that occurring for the second time is really to finish, thereby continue step 49.On the contrary, if judge time interval T for the second time in the step 48
Up2Be not more than second minimum and mention reference time value T
22(T
Up1≤ T
22), mean that for the second time the signal of mentioning of time interval is a noise, thus sublate need not, rebound step 47 means and mentions signal the real second time that occurs finishing for the second time to wait for again.Can set second minimum in this example and mention reference time value T
22Mention reference time value T with first minimum
21Identical.
In step 49, judge the time span T that occurs for the second time
Down2Whether knock reference time value T greater than second minimum
32If judge the time span T that occurs for the second time in the step 49
Down2Knock reference time value T greater than second minimum
32(T
Down2>T
32) time, then representing the signal that occurs for the second time is effective signal, then the time span T because of occurring for the first time
Down1, time interval T for the first time
Up1With the time span T that occurs for the second time
Down2Totalling less than first reference time value T
1[(T
Down1+ T
Down2+ T
Up1)<T
1] and the accumulating displacement M that occurs for the second time
Down2Less than reference displacement M
1(M
Down2<M
1), with execution in step 50.On the contrary, if step 49 is judged as not (T
Down2≤ T
32) time, for the second time time of occurrence is too short and should be noise, thus second signal that occurs is sublated without rebound step 44, to wait for the beginning of the real appearance second time.Can set second minimum in this example and knock reference time value T
32Knock reference time value T with first minimum
31Identical.
In step 50, output first signal in gesture unit 26 is with through transmission interface 27 feed-in main frames 3, with the generation of informing that main frame 3 is double-clicked gestures, the signal that the button of analog mouse is pressed continuously and is produced for twice.As Fig. 3, this routine signal 51 and 52 occurs in detecting for the second time, and after finishing the judgement of double-click, sends together just now.Be different from the past that first signal produces immediately in the discrimination method after knocking for the first time.
If in the step 47, judge the accumulating displacement M that occurs for the second time earlier
Down2Be not less than with reference to displacement M
1(M
Down2〉=M
1) time, mean that finger 10 moves on Trackpad 21 in knocking for the second time Trackpad 21 fashion, therefore may be the towing gesture, non-double-click gesture, thereby skip to step 43, to judge whether to be other gestures.Whereby, avoid effectively to avoid the erroneous judgement of towing gesture is taken place for the chance of double-clicking gesture.
The reference displacement M of this example
1Scope can be 1 pixel (pixel) ~ 10 pixel (1pixel≤M
1≤ 10pixel), for example be 3 pixels, can be according to deviser's demand and user's operating habit and adjust.
Similarly, if in the step 47, judge earlier from the time of picking up counting occurring for the first time and arrived at the first reference time value T
1, mean the time span T that occurs for the first time
Down1, time interval T for the first time
Up1With the time span T that occurs for the second time
Down2Totalling be not less than the first reference time value T
1, refer to (T
Down1+ T
Down2+ T
Up1) 〉=T
1, then this twice appearance is non-is the double-click gesture, thereby skips to step 43, to judge whether to be other gestures.
Conclude aforementionedly, present embodiment is for requirement condition such as the following formula 1 ~ 5 of double-clicking gesture:
T
Down1>T
31Formula 1
T
Down2>T
32Formula 2
T
Up1>T
21Formula 3
T
Up1>T
22Formula 4
(T
Down1+ T
Down2+ T
Up1)<T
1Formula 5
M
Down2<M
1Formula 6
It should be noted,, yet be familiar with present technique field person when knowing that the condition of abovementioned steps 42,44,47 also can be judged in regular turn, should not be subject to this enforcement and disclose though abovementioned steps the 42,44, the 47th is judged a plurality of conditions simultaneously.
According to described, be different from judge each stage action individually in the past time whether less than corresponding reference time value, each of length T is double-clicked in the method for gesture comprehensively in identification of the present invention actuation time
Down1, T
Down2, T
Up1Totalling judge whether to be not less than the first reference time value T
1(with reference to formula 5) also is succinct and reliable effect to reach judgement.In addition, the present invention also requires each length to need greater than corresponding reference value T actuation time
31(with reference to formula 1), T
32(with reference to formula 2), T
21(with reference to formula 3), T
22(with reference to formula 4), the improper signal that produces with effective filtering interfering is to reach the more accurate effect of judgement.Moreover, also require the accumulative total displacement M that knocks for the second time among the present invention
Down2Need less than reference displacement M
1(with reference to formula 6) to distinguish to some extent with the towing gesture, can effectively be avoided erroneous judgement towing gesture to be the double-click gesture, and then reach the more accurate effect of judgement.
Though the present invention describes with reference to current specific embodiment, but those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, under the situation that does not break away from spirit of the present invention, also can make the variation and the modification of various equivalences, therefore, as long as variation, the modification to the foregoing description all will drop in the scope of claims of the present invention in connotation scope of the present invention.