Carry out the method for gesture identification by the induction area that detects TrackpadTechnical field
The present invention relates to a kind of gesture identification method of Trackpad, especially a kind of method of carrying out gesture identification by the induction area that detects Trackpad.
Background technology
Nowadays Trackpad has been widely used on the electronic equipments such as personal digital assistant (PDA), mobile phone, palm PC, flat computer.Trackpad be for the user with the input media that hand or electric conductivity object (for example pointer) slide or contact on panel, the cursor generation is relatively moved and support other extensibility functions, as the key press emulation function etc.
Existing Trackpad gesture mainly contains to be clicked, double-click, pulls etc.At present, the gestures detection recognition methods of the Trackpad mainly size of the capacitive sensing amount by detecting Trackpad is determined to touch object and whether is contacted or leave Trackpad, produce the combination of sequential, thereby realize different gesture operations, be difficult to satisfy the requirements at the higher level of effective and degree of accuracy, because electric capacity is easy to be subjected to external environment (humidity, temperature, radio) interference, for addressing the above problem, some improving technologies have appearred, and be in 200510077572 the patent as the patent No., be according to setting up electric capacity threshold values and variation tendency to reduce this external interference, perhaps judging the validity of touching and gesture according to the threshold values of pressure.But these methods can not fundamentally overcome in traditional Trackpad gesture identification method and only to rely on the change that detects electric capacity whether to judge the drawback of touch-control, so need a kind of anti-interference and Trackpad gesture identification method that degree of accuracy is high badly.
Summary of the invention
The object of the present invention is to provide and a kind ofly confirm to touch method with gesture according to system's induction area, a more accurate determination methods can be provided, more a step has reduced the influence of external environment.
Technical scheme of the present invention is:
A kind of method of carrying out gesture identification by the induction area that detects Trackpad, comprise and judge whether the touching object touches Trackpad, and by the touch-control sensing module to main frame launching position information, the inside output that it is characterized in that described touch-control sensing module comprise position signalling (X, Y), input number induction amount N and induction area S;
The step whether described judgement touching object touches Trackpad comprises:
Detect the input number induction amount N of touch objects touch to Trackpad;
If input number induction amount N is 1 from 0 saltus step, then continue to detect this variation of induction area S constantly;
If detect the trend that this moment induction area S has increase, the expression touch objects touch arrives Trackpad, and sends one and confirm the touching signal;
If input number induction amount N is 0 from 1 saltus step, then continue to detect this variation of induction area S constantly;
If detect this moment induction area S the trend that reduces is arranged, expression touching object leaves Trackpad.
Described input number induction amount N is the number that touches the touching object of Trackpad, and the value of input number induction amount N is 0 or 1.
The area size of the induction region when described induction area S touches Trackpad for the touching object on Trackpad.
Further comprising the steps of:
Confirm that a touch objects touch is to Trackpad;
Confirm that this touching object leaves Trackpad;
Calculate the time interval Ttap1 that the touching object touches Trackpad for the first time;
If time interval Ttap1 less than very first time interval, simultaneously greater than second time interval, and in time interval Ttap1, once detected induction area S and discerned threshold values Stap greater than default touching;
Confirm not detect touch objects touch to Trackpad in the default time interval after the touching object leaves;
Send to main frame and to click signal.
Further comprising the steps of:
Confirm that a touch objects touch is to Trackpad;
Confirm that this touching object leaves Trackpad;
Calculate the time interval Ttap1 that the touching object touches Trackpad for the first time;
If time interval Ttap1 less than very first time interval, simultaneously greater than second time interval, and in time interval Ttap1, once detected induction area S and discerned threshold values Stap greater than default touching;
Confirm that a touching object touches Trackpad for the second time;
Confirm that the touching object leaves Trackpad for the second time;
Calculate the touching object and leave Trackpad for the first time to the time interval Ttap10 that touches for the second time Trackpad;
If time interval Ttap10 is less than a default time interval;
Then calculate the time interval Ttap2 that the touching object touches Trackpad for the second time;
If time interval Ttap2 less than very first time interval, simultaneously greater than second time interval, and in time interval Ttap2, once detected induction area S and discerned threshold values Stap greater than default touching;
Confirm not detect touch objects touch to Trackpad in the default time interval after the touching object leaves for the second time;
Send the double-click signal to main frame.
Further comprising the steps of:
Confirm that a touch objects touch is to Trackpad;
Confirm that this touching object leaves Trackpad;
Calculate the time interval Ttap1 that the touching object touches Trackpad for the first time;
If time interval Ttap1 less than very first time interval, simultaneously greater than second time interval, and in time interval Ttap1, once detected induction area S and discerned threshold values Stap greater than default touching;
Confirm that a touching object touches Trackpad for the second time;
Calculate the touching object and leave Trackpad for the first time to the time interval Ttap10 that touches for the second time Trackpad;
If time interval Ttap10 is less than a default time interval;
Then calculate the time interval Ttap2 that the touching object touches Trackpad for the second time;
If time interval Ttap2 is greater than second time interval, and in time interval Ttap2, once detected induction area S greater than a default identification threshold values Stap that touches;
And do not leave Trackpad after this detecting the touching object;
Send to main frame and to pull signal.
Described step to main frame launching position information comprises:
Confirm that touch objects touch is to Trackpad;
In confirming that the Preset Time of touch objects touch behind the Trackpad is at interval,
Do not detect the touching object and leave Trackpad;
Judge the touching object for will or carry out a shift action, and lasting position signalling to a touching of main frame transmission object (X, Y).
The invention has the beneficial effects as follows:
Method of carrying out gesture identification by the induction area that detects Trackpad provided by the invention has overcome traditional Trackpad gesture identification method and has only relied on the change that detects electric capacity to judge whether touch-control Trackpad of touching object, the drawback that is interfered easily, have anti-interference, the advantage that degree of accuracy is high.
Description of drawings
Fig. 1 is that the induction area S of embodiments of the invention one changes synoptic diagram.
Fig. 2 is that the induction area S of embodiments of the invention three changes synoptic diagram.
Fig. 3 is that the induction area S of embodiments of the invention four changes synoptic diagram.
Fig. 4 is that the induction area S of embodiments of the invention five changes synoptic diagram.
Embodiment
The present invention is further illustrated below in conjunction with drawings and Examples.
Embodiment one.
A kind ofly carry out the method for gesture identification, judge that wherein the step whether the touching object touches Trackpad comprises by the induction area that detects Trackpad:
Detect the input number induction amount N of touch objects touch to Trackpad;
If input number induction amount N is 1 from 0 saltus step, then continue to detect this variation of induction area S constantly;
If detect the trend that this moment induction area S has increase, the expression touch objects touch arrives Trackpad, and sends one and confirm the touching signal;
If input number induction amount N is 0 from 1 saltus step, then continue to detect this variation of induction area S constantly;
If detect this moment induction area S the trend that reduces is arranged, expression touching object leaves Trackpad.
In conjunction with Fig. 1, when induction area S from null value become on the occasion of the time, promptly sensed touching object contact Contact plate just, the input number induction amount N of touch-control sensing module is 1 from 0 saltus step; When induction area S reduced than previous moment, input number induction amount N was 0 from 1 saltus step.
Among Fig. 1, when the rate of curve of induction area S be on the occasion of the time, expression induction area S has the trend of increase, then touch objects touch is to Contact plate; When the rate of curve of induction area S was negative value, expression induction area S had the trend that reduces, and then touches object and leaves Contact plate.
Embodiment two.
A kind of induction area by the detection Trackpad carries out the method for gesture identification, and wherein the step to main frame launching position information comprises:
Confirm that touch objects touch is to Trackpad;
In confirming that the Preset Time of touch objects touch behind the Trackpad is at interval,
Do not detect the touching object and leave Trackpad,
Judge the touching object for will or carry out a shift action, by the touch-control sensing module continue to main frame send a position signalling of touching object (X, Y).
Embodiment three.
In conjunction with Fig. 2, a kind ofly carry out the method for gesture identification by the induction area that detects Trackpad, wherein send and click hand signal and may further comprise the steps to main frame:
Confirm that a touch objects touch is to Trackpad;
Confirm that this touching object leaves Trackpad;
Calculate the time interval Ttap1 that the touching object touches Trackpad for the first time;
If time interval Ttap1 less than very first time interval, simultaneously greater than second time interval, and in time interval Ttap1, once detected induction area S and discerned threshold values Stap greater than default touching;
Confirm not detect touch objects touch to Trackpad in the default time interval after the touching object leaves;
Send to main frame by the touch-control sensing module and to click signal.
Embodiment four.
In conjunction with Fig. 3, a kind of induction area by the detection Trackpad carries out the method for gesture identification, wherein sends the double-click hand signal to main frame and may further comprise the steps:
Confirm that a touch objects touch is to Trackpad;
Confirm that this touching object leaves Trackpad;
Calculate the time interval Ttap1 that the touching object touches Trackpad for the first time;
If time interval Ttap1 less than very first time interval, simultaneously greater than second time interval, and in time interval Ttap1, once detected induction area S and discerned threshold values Stap greater than default touching;
Confirm that a touching object touches Trackpad for the second time;
Confirm that the touching object leaves Trackpad for the second time;
Calculate the touching object and leave Trackpad for the first time to the time interval Ttap10 that touches for the second time Trackpad;
If time interval Ttap10 is less than a default time interval;
Calculate the time interval Ttap2 that the touching object touches Trackpad for the second time;
If time interval Ttap2 less than very first time interval, simultaneously greater than second time interval, and in time interval Ttap2, once detected induction area S and discerned threshold values Stap greater than default touching;
Confirm not detect touch objects touch to Trackpad in the default time interval after the touching object leaves for the second time;
Send the double-click signal by the touch-control sensing module to main frame.
Embodiment five.
In conjunction with Fig. 4, a kind ofly carry out the method for gesture identification by the induction area that detects Trackpad, wherein send and pull hand signal and may further comprise the steps to main frame:
Confirm that a touch objects touch is to Trackpad;
Confirm that this touching object leaves Trackpad;
Calculate the time interval Ttap1 that the touching object touches Trackpad for the first time;
If time interval Ttap1 less than very first time interval, simultaneously greater than second time interval, and in time interval Ttap1, once detected induction area S and discerned threshold values Stap greater than default touching;
Confirm that a touching object touches Trackpad for the second time;
Calculate the touching object and leave Trackpad for the first time to the time interval Ttap10 that touches for the second time Trackpad;
If time interval Ttap10 is less than a default time interval;
Then calculate the time interval Ttap2 that the touching object touches Trackpad for the second time;
If time interval Ttap2 is greater than second time interval, and in time interval Ttap2, once detected induction area S greater than a default identification threshold values Stap that touches;
And do not leave Trackpad after this detecting the touching object;
Send to main frame by the touch-control sensing module and to pull signal.
Trackpad involved in the present invention can be capacitive touch control plate, can on capacitive touch control plate, preset several capacitive sensing unit, the area of each capacitive sensing unit is as the induction area S0 of unit, number and position that the touch-control sensing module in the time of can detecting touching object contact Trackpad in real time and touch Contact plate the capacitive sensing unit of capacitance variation takes place, and then can obtain the position signalling (X of the inside output of touch-control sensing module, Y) and input number induction amount N and induction area S, induction area S be plurality of unit induction area S0's and.By arithmetic element calculate, relatively the touch-control sequential, again by coordinate mobile unit and gesture motion unit realize to position signalling (X, Y) and the control of hand signal.
Touch-control sensing module involved in the present invention, arithmetic element, coordinate mobile unit, gesture motion unit and capacitive touch control plate all can pass through existing techniques in realizing.
In the foregoing description, in order further to get rid of external interference, the time interval Ttap1 that the touching object touches Trackpad for the first time starts at during greater than the induction area S0 of unit from induction area S, ends when induction area S has the trend of reducing.The time interval Ttap2 that the touching object touches Trackpad for the second time starts at during greater than the induction area S0 of unit from induction area S, ends when induction area S has the trend of reducing.
Touching identification threshold values Stap can adjust according to actual needs, is limited to an induction area S0 of unit down.The very first time interval and second time interval also can be adjusted according to user's use habit and hobby, and also predeterminable a plurality of different values are to adapt to the different user's of skill level use-pattern.