CN103905026A - Method for double-key gesture recognition based on capacitance single-point touch keys - Google Patents
Method for double-key gesture recognition based on capacitance single-point touch keys Download PDFInfo
- Publication number
- CN103905026A CN103905026A CN201410150326.2A CN201410150326A CN103905026A CN 103905026 A CN103905026 A CN 103905026A CN 201410150326 A CN201410150326 A CN 201410150326A CN 103905026 A CN103905026 A CN 103905026A
- Authority
- CN
- China
- Prior art keywords
- type single
- condenser type
- point touches
- variable
- memory block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention provides a method for double-key gesture recognition based on capacitance single-point touch keys. The method is applied to the two independent capacitance single-point touch keys or applied to multiple sets of capacitance single-point touch keys with every two capacitance single-point touch keys arranged in a set. According to the method for double-key gesture recognition based on the two capacitance single-point touch keys, if a human-computer interaction interface is composed of more single-point touch keys, more function operations can be derived, the limitation that a slider needs multiple touch induction channels is effectively broken, and the restraint of the high hardware cost required by the multi-touch technology is avoided.
Description
Technical field
The present invention relates to a kind of method of carrying out gesture identification by touching the direction of finger motion of two buttons and speed, can be used on independent two buttons, also can be used in two buttons and be on many groups button of a group, button used is condenser type single-point touches button.
Background technology
Electrical technology is a technological revolution that continuous evolution, modern society's various aspects all in various degree embodying the intellectuality that electrical technology revolution brings, the feature of hommization.Capacitance type touch key is that developing one of electrical technology is widely used and ripe technology at present, and it utilizes the principle of capacitive sensing, and the variation of identification exterior object to capacitor plate both end voltage, makes corresponding control action.Compared to conventional mechanical switch, there is very outstanding technical advantage.
But in existing touch key-press technology, the equipment of most of touch key-presss is that simple switching point is by action, also some touch control device has a lot of one of single-point touch buttons composition the touch key-press of sliding function, gesture identification that neither complete meaning.Although capacitance touch screen can be identified gesture, it is based on multipoint-touch-technology, and its method realizes with the application principle of single-point touch technology and being not quite similar.
Application number is 201010161126.9 (publication number is CN102214028A), the patent of invention that name is called " gesture identification method of Trackpad and gesture identifying device " discloses a kind of device that is applied to Trackpad, it is provided with multiple transducers, produce multiple sensing value according to touch control operation, the implementation method complexity of this invention, need multiple transducer sensings, the cost of realization is high.
Application number is 201180060802.6 (publication number is CN201180060802), name is called a touch-screen of patent of invention needs of " system with gesture identification unit " (applying for artificial German Luodeshiwazi Joint Limited Partnership), by a kind of multiple point touching gesture identification that needs correspondence self operation system interface of numerous and diverse cell formation, and the concrete methods of realizing of its gesture identification is not open.
Summary of the invention
The object of this invention is to provide a kind of technical method that just can realize gesture identification between two single-point touches buttons that utilizes.
In order to achieve the above object, technical scheme of the present invention has been to provide a kind of two key gesture identification methods based on condenser type single-point touches button, or be applied on independent two condenser type single-point touches buttons, or to be applied in two condenser type single-point touches buttons be on many groups condenser type single-point touches button of a group, it is characterized in that, step is:
Step 1, after having a condenser type single-point touches button to be pressed in two condenser type single-point touches buttons, or after having a condenser type single-point touches button to be pressed in one group of condenser type single-point touches button organizing in condenser type single-point touches buttons more, judge by key-press status Processing Algorithm module whether current condenser type single-point touches button is effectively pressed, if not, continue initial holding state, if, enable time slot algorithm module, after the button passage of the another one of forbidden energy locking simultaneously condenser type single-point touches button, enter step 2;
Step 2, the mode timing of time slot being counted by the utilization of time slot algorithm module, until current condenser type single-point touches button is no longer touched, enable the button passage of another one condenser type single-point touches button, if when the number of current time slots exceedes predefined threshold value, be judged to be overtime, preserve overtime mark to the variable X 1 corresponding with current condenser type single-point touches button or set memory block X2 and variable Y 1 or the setting memory block Y2 corresponding with another one condenser type single-point touches button, enter step 4, otherwise, the number of current time slots is saved to variable X 1 or sets memory block X2, enter step 3,
Step 3, judge by key-press status Processing Algorithm module whether another one condenser type single-point touches button is effectively pressed, if not, enter step 4, if, the mode timing of by the utilization of time slot algorithm module, time slot being counted, until current condenser type single-point touches button is no longer touched, the number of current time slots is saved to variable Y 1 or sets memory block Y2, enter step 4;
Step 4, whether be overtime mark by feature operation algoritic module judgment variable X1 or setting memory block X2, if, directly output and the long corresponding function value of current condenser type single-point touches button of pressing, enter step 5, if not, read variable Y 1 or set memory block Y2, if variable Y 1 is initial value or sets the countless certificates of memory block Y2, the corresponding function value of number of the time slot that output is stored with variable X 1 or setting memory block X2, enter step 5, otherwise, whether judgment variable Y1 or setting memory block Y2 are overtime mark, if, directly finish the processing of this feature operation algoritic module, enter step 5, if not, according to the number of the time slot of variable Y 1 or setting memory block Y2 storage, export corresponding function value, enter step 5, the number of the time slot of variable Y 1 or setting memory block Y2 storage has determined the gesture translational speed to another one condenser type single-point touches button by current condenser type single-point touches button, number is fewer, speed is faster,
Step 5, variable X 1 is made as to initial value or empty set memory block X2 and variable Y 1 is made as to initial value or empty set memory block Y2, return to step 1.
The present invention proposes a kind of technical method that just can realize gesture identification between two condenser type single-point touches buttons that utilizes, form human-computer interaction interface if any more single-point touches buttons, can derive more feature operation, effectively solve the restriction that slider bar needs multiple touch sensible passages, avoid the constraint of the required expensive hardware cost of multiple point touching technology.
Brief description of the drawings
Fig. 1 is the gesture operation schematic diagram being moved toward touch key-press B from touch key-press A;
Fig. 2 is the frame diagram of two key gesture identification methods of gesture operation in Fig. 1;
Fig. 3 is the signal flow graph of two key gesture identification methods of gesture operation in Fig. 1;
Fig. 4 is the gesture operation schematic diagram of multiple buttons.
Embodiment
For the present invention is become apparent, hereby with preferred embodiment, and coordinate accompanying drawing to be described in detail below.
The invention provides a kind of two key gesture identification methods based on condenser type single-point touches button, the position difference that two of foundations and plural condenser type single-point touches button are put on an effective physical surface of reality, realize the gesture motion of the various orientation angles of up and down or left and right etc., it is combined by 3 specific logical algorithm modules, be respectively key-press status Processing Algorithm module, wait for time slot algorithm module and feature operation algoritic module, wherein:
Key-press status Processing Algorithm module mainly comprises that denoising Processing, misoperation elimination, state control submodule form.This module completes the effective action of button, and the operate condition validity of this button is controlled.
Wait for that time slot algorithm module mainly comprises timer, counter, Status Flag control submodule.Wait for that time slot algorithm module has two logic states, one is definition status, and one is timeout mode.This module is mainly processed the control of mobile direction and velocity information and timing and timeout mode mark.
Feature operation algoritic module comprises key-press status buffering area, data comparator, logical process and fuction output submodule.Process the data of key-press status buffering area, the Status Flag of output corresponding function action.
Taking the gesture operation being moved toward touch key-press B from touch key-press A as operating personnel as shown in Figure 1 as example, further illustrate the present invention below, in conjunction with Fig. 2 and Fig. 3, the steps include:
Step 1, key-press status processing:
After touch key-press A is pressed, judge that by key-press status Processing Algorithm module whether it is effective, if effectively, export a logic state position and trigger the startup of waiting for time slot algorithm module, the state that simultaneously continues judge touch key-press A whether sustained touch or release is upspring, and forbidden energy locks the button passage of touch key-press B simultaneously, enters step 2, if invalid, continue initial holding state.
Step 2, timing are with overtime:
After startup, start the timing to touch key-press A by it, timing is divided into multiple time slots, and time slot is counted until touch key-press A is effectively discharged, when the number of time slot reaches after predefined threshold value, overtime mark is sent into A district, buffering area, otherwise, the number of time slot is sent into A district, buffering area, simultaneously the button passage of enable open touch key-press B, wait for that touch key-press B is pressed, and reset for the second time and start and wait for time slot algorithm module and key-press status Processing Algorithm module.
Starting for the second time in the process of waiting for time slot algorithm module, if timeout mode is effective, skips and judge whether touch key-press B presses, output overtime Status Flag is to B district, buffering area; If have touch key-press B to send into B district, buffering area by the next number by the time slot of waiting for for the second time time slot algorithm module in definition status.No matter have or not button to press, all will finish thereafter and forbidden energy wait time slot algorithm module and key-press status Processing Algorithm module, finally trigger start-up performance operative algorithm module, enter step 3.
Step 3, feature operation algoritic module:
Feature operation algoritic module after starting is processed the data in the data in A district, buffering area and B district, buffering area.After completing processing, empty buffering area.Restart key-press status Processing Algorithm module and wait for time slot algorithm module.
When the timeout mode in A district, buffering area is effective, do not process B district, buffering area, directly output function value correspond to long by.
The timeout mode in A district, buffering area is invalid, judges the number of time slots in B district, buffering area.If the countless certificates in B district, buffering area, the output function value corresponding with the number of time slots in A district, buffering area.
In the time that there are data in B district, buffering area, if the timeout mode in this district is effectively, be abnormality, directly finish the processing of this feature operation algoritic module.The invalid number of time slots of calculating B district, buffering area of timeout mode, number of time slots has determined the gesture translational speed of touch key-press A to touch key-press B, and number is fewer, and speed is faster.According to the number of time slots in B district, buffering area, export corresponding function value.
Said method can also be applied in multiple buttons as shown in Figure 4, as between touch key-press A and touch key-press B in Fig. 4, between touch key-press A and touch key-press C, between touch key-press A and touch key-press D, between touch key-press B and touch key-press C, between touch key-press B and touch key-press D and all can adopt said method between touch key-press C and touch key-press D.
Claims (1)
1. the two key gesture identification methods based on condenser type single-point touches button, or be applied on independent two condenser type single-point touches buttons, or to be applied in two condenser type single-point touches buttons be, on many groups condenser type single-point touches button of a group, to it is characterized in that, step is:
Step 1, after having a condenser type single-point touches button to be pressed in two condenser type single-point touches buttons, or after having a condenser type single-point touches button to be pressed in one group of condenser type single-point touches button organizing in condenser type single-point touches buttons more, judge by key-press status Processing Algorithm module whether current condenser type single-point touches button is effectively pressed, if not, continue initial holding state, if, enable time slot algorithm module, after the button passage of the another one of forbidden energy locking simultaneously condenser type single-point touches button, enter step 2;
Step 2, the mode timing of time slot being counted by the utilization of time slot algorithm module, until current condenser type single-point touches button is no longer touched, enable the button passage of another one condenser type single-point touches button, if when the number of current time slots exceedes predefined threshold value, be judged to be overtime, preserve overtime mark to the variable X 1 corresponding with current condenser type single-point touches button or set memory block X2 and variable Y 1 or the setting memory block Y2 corresponding with another one condenser type single-point touches button, enter step 4, otherwise, the number of current time slots is saved to variable X 1 or sets memory block X2, enter step 3,
Step 3, judge by key-press status Processing Algorithm module whether another one condenser type single-point touches button is effectively pressed, if not, enter step 4, if, the mode timing of by the utilization of time slot algorithm module, time slot being counted, until current condenser type single-point touches button is no longer touched, the number of current time slots is saved to variable Y 1 or sets memory block Y2, enter step 4;
Step 4, whether be overtime mark by feature operation algoritic module judgment variable X1 or setting memory block X2, if, directly output and the long corresponding function value of current condenser type single-point touches button of pressing, enter step 5, if not, read variable Y 1 or set memory block Y2, if variable Y 1 is initial value or sets the countless certificates of memory block Y2, the corresponding function value of number of the time slot that output is stored with variable X 1 or setting memory block X2, enter step 5, otherwise, whether judgment variable Y1 or setting memory block Y2 are overtime mark, if, directly finish the processing of this feature operation algoritic module, enter step 5, if not, according to the number of the time slot of variable Y 1 or setting memory block Y2 storage, export corresponding function value, enter step 5, the number of the time slot of variable Y 1 or setting memory block Y2 storage has determined the gesture translational speed to another one condenser type single-point touches button by current condenser type single-point touches button, number is fewer, speed is faster,
Step 5, variable X 1 is made as to initial value or empty set memory block X2 and variable Y 1 is made as to initial value or empty set memory block Y2, return to step 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410150326.2A CN103905026B (en) | 2014-04-14 | 2014-04-14 | A kind of double bond gesture identification method based on condenser type single-touch button |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410150326.2A CN103905026B (en) | 2014-04-14 | 2014-04-14 | A kind of double bond gesture identification method based on condenser type single-touch button |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103905026A true CN103905026A (en) | 2014-07-02 |
CN103905026B CN103905026B (en) | 2016-08-17 |
Family
ID=50996203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410150326.2A Active CN103905026B (en) | 2014-04-14 | 2014-04-14 | A kind of double bond gesture identification method based on condenser type single-touch button |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103905026B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090821A (en) * | 2014-07-10 | 2014-10-08 | 东莞市乐升电子有限公司 | Full-touch system activating method and system |
CN110878951A (en) * | 2019-07-26 | 2020-03-13 | 杭州九阳小家电有限公司 | Control method for slide bar key of cooking appliance |
CN112532226A (en) * | 2020-11-05 | 2021-03-19 | 广东瑞德智能科技股份有限公司 | Novel touch man-machine interaction processing method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5825352A (en) * | 1996-01-04 | 1998-10-20 | Logitech, Inc. | Multiple fingers contact sensing method for emulating mouse buttons and mouse operations on a touch sensor pad |
CN102214028A (en) * | 2010-04-06 | 2011-10-12 | 晨星软件研发(深圳)有限公司 | Gesture recognition method and device for touch panel |
US20130293504A1 (en) * | 2010-12-17 | 2013-11-07 | Rohde & Schwarz Gmbh & Co. Kg | System with a gesture-identification unit |
-
2014
- 2014-04-14 CN CN201410150326.2A patent/CN103905026B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5825352A (en) * | 1996-01-04 | 1998-10-20 | Logitech, Inc. | Multiple fingers contact sensing method for emulating mouse buttons and mouse operations on a touch sensor pad |
CN102214028A (en) * | 2010-04-06 | 2011-10-12 | 晨星软件研发(深圳)有限公司 | Gesture recognition method and device for touch panel |
US20130293504A1 (en) * | 2010-12-17 | 2013-11-07 | Rohde & Schwarz Gmbh & Co. Kg | System with a gesture-identification unit |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090821A (en) * | 2014-07-10 | 2014-10-08 | 东莞市乐升电子有限公司 | Full-touch system activating method and system |
CN110878951A (en) * | 2019-07-26 | 2020-03-13 | 杭州九阳小家电有限公司 | Control method for slide bar key of cooking appliance |
CN110878951B (en) * | 2019-07-26 | 2021-12-28 | 杭州九阳小家电有限公司 | Control method for slide bar key of cooking appliance |
CN112532226A (en) * | 2020-11-05 | 2021-03-19 | 广东瑞德智能科技股份有限公司 | Novel touch man-machine interaction processing method |
Also Published As
Publication number | Publication date |
---|---|
CN103905026B (en) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205485930U (en) | Input device and keyboard | |
CN104503699B (en) | A kind of contactless space gesture intelligent lock system and its operating method | |
US20140189604A1 (en) | Method and system for unlocking a touchscreen of an electronic device | |
CN106886766B (en) | A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal | |
CN105389102A (en) | Control method for home key of electronic equipment | |
CN103116450A (en) | Method and device for controlling equipment state and equipment | |
CN102043584A (en) | Input method and device applied to digital terminal | |
CN107025019A (en) | The exchange method and terminal device of virtual key | |
CN103984495A (en) | Operating method and electronic device | |
CN106815546A (en) | fingerprint identification method and device | |
CN103092523A (en) | Unlocking method and terminal | |
WO2013155798A1 (en) | Method, device, and electronic terminal for unlocking | |
CN105867821A (en) | Icon arranging method and device and terminal | |
CN102799292A (en) | Touch control method, device and electronic equipment | |
CN103793175A (en) | Touch screen communication terminal and touch response method and system in communication state thereof | |
CN103513817A (en) | Touch control equipment and method and device for controlling touch control equipment to configure operation mode | |
CN102323875A (en) | Mouse event-based multi-point touch gesture interaction method and middleware | |
CN103905026A (en) | Method for double-key gesture recognition based on capacitance single-point touch keys | |
CN106406496A (en) | Low power consumption control method for pressure-sensitive key identification device | |
CN101393496B (en) | Touch control point detecting method of touch control plate | |
CN105630345B (en) | A kind of method and apparatus controlling display direction | |
CN102053765B (en) | Capacitive touch induction device and detection method thereof | |
JP2009157755A (en) | Electrostatic capacitance type digital touch panel | |
CN103176723A (en) | Processing method and processing device for touch response | |
CN102214028B (en) | Gesture recognition method and device for touch panel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |