CN103905026B - A kind of double bond gesture identification method based on condenser type single-touch button - Google Patents

A kind of double bond gesture identification method based on condenser type single-touch button Download PDF

Info

Publication number
CN103905026B
CN103905026B CN201410150326.2A CN201410150326A CN103905026B CN 103905026 B CN103905026 B CN 103905026B CN 201410150326 A CN201410150326 A CN 201410150326A CN 103905026 B CN103905026 B CN 103905026B
Authority
CN
China
Prior art keywords
condenser type
type single
touch button
touch
variable
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.)
Active
Application number
CN201410150326.2A
Other languages
Chinese (zh)
Other versions
CN103905026A (en
Inventor
吴小东
顾双玲
聂佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Electrical Apparatus Research Institute Group Co Ltd
Original Assignee
Shanghai Electrical Apparatus Research Institute Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Electrical Apparatus Research Institute Group Co Ltd filed Critical Shanghai Electrical Apparatus Research Institute Group Co Ltd
Priority to CN201410150326.2A priority Critical patent/CN103905026B/en
Publication of CN103905026A publication Critical patent/CN103905026A/en
Application granted granted Critical
Publication of CN103905026B publication Critical patent/CN103905026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of double bond gesture identification method based on condenser type single-touch button, or apply on independent two condenser type single-touch buttons, or apply on many groups condenser type single-touch button that two condenser type single-touch buttons are a group.The present invention proposes a kind of technical method utilizing and just can realizing gesture identification between two condenser type single-touch buttons, human-computer interaction interface is constituted if any more single-touch buttons, then can derive more feature operation, effectively solve slider bar and need the restriction of multiple touch sensible passages, avoid the constraint of expensive hardware cost needed for multiple point touching technology.

Description

A kind of double bond gesture identification method based on condenser type single-touch button
Technical field
The direction that the present invention relates to a kind of finger motion by touching two buttons carries out gesture knowledge with speed Method for distinguishing, can be used on independent two buttons, it is also possible to be used in many groups button that two buttons are a group On, used button is condenser type single-touch button.
Background technology
Electrical technology is the technological revolution that a continuous evolution, modern society's various aspects body the most in various degree Show intellectuality, the feature of hommization that electrical technology revolution brings.Capacitance type touch key is electric skill at present Developing one of art is widely used and the technology of maturation, and it utilizes the principle of capacitive sensing, identifies exterior object Change to capacitor plate both end voltage, makes corresponding control action.Compared to conventional mechanical switch, have The most prominent technical advantage.
But in existing touch key-press technology, the equipment of most of touch key-presss is that simple switching point is pressed Make, also some touch control device a lot of single-point touch buttons are formed a touch with sliding function by Key, is not the gesture identification of complete meaning.Although capacitance touch screen can identify gesture, but it is based on many Point touch technology, the application principle that its method realizes with single-point touch technology is not quite similar.
Application No. 201010161126.9 (Publication No. CN102214028A), entitled " Trackpad Gesture identification method and gesture identifying device " patent of invention disclose a kind of device being applied to Trackpad, its Being provided with multiple sensor, produce multiple sensing value according to touch control operation, the implementation method of this invention is complicated, needs Want multiple sensors sensing, it is achieved cost high.
Application No. 201180060802.6 (Publication No. CN201180060802), entitled " have gesture The system of recognition unit " patent of invention of (application artificial Germany Luodeshiwazi Joint Limited Partnership) needs Want a touch screen, constitute a kind of multiple point touching needing self operation system interface corresponding by numerous and diverse unit Gesture identification, and the concrete methods of realizing of its gesture identification is the openest.
Summary of the invention
It is an object of the invention to provide one to utilize and between two single-touch buttons, just can realize gesture identification Technical method.
In order to achieve the above object, the technical scheme is that provide a kind of based on condenser type single-touch by The double bond gesture identification method of key, or apply on independent two condenser type single-touch buttons, or apply two Individual condenser type single-touch button is on many groups condenser type single-touch button of a group, it is characterised in that step For:
Step 1, after two condenser type single-touch buttons having a condenser type single-touch button be pressed, One group of condenser type single-touch button in the condenser type single-touch button of group more than or there is a condenser type single-point After touch key-press is pressed, key-press status Processing Algorithm module whether judge capacitance present formula single-touch button Effectively pressed, if it is not, then continue initial holding state, the most then enable time slot algorithm module, prohibit simultaneously Step 2 is entered after locking the button passage of another one condenser type single-touch button;
Step 2, mode timing time slot counted by the utilization of time slot algorithm module, until current electric capacity Formula single-touch button is no longer touched, and enables the button passage of another one condenser type single-touch button, if When the number of current time slots exceedes threshold value set in advance, be then judged to time-out, preserve timeout flag to currently Variable X 1 that condenser type single-touch button is corresponding or set memory block X2 and with another one condenser type list Variable Y 1 that touch button is corresponding or set memory block Y2, enters step 4, otherwise, by current time slots Number preserve to variable X 1 or set memory block X2, enter step 3;
Step 3, judged by key-press status Processing Algorithm module another one condenser type single-touch button whether by Effectively press, if it is not, then enter step 4, the most then utilized by time slot algorithm module and time slot is counted Mode timing, until current condenser type single-touch button is no longer touched, the number of current time slots is protected Deposit to variable Y 1 or set memory block Y2, entering step 4;
Step 4, by feature operation algoritic module judgment variable X1 or whether set memory block X2 be time-out mark Will, the most directly output and the long function value corresponding by current condenser type single-touch button, enter Step 5, if it is not, then read variable Y 1 or set memory block Y2, if variable Y 1 is deposited for initial value or setting Storage area Y2 no data, then output is relative with the number of the time slot that variable X 1 or setting memory block X2 are stored The function value answered, enters step 5, otherwise, it is judged that whether variable Y 1 or setting memory block Y2 are time-out mark Will, has the most directly terminated the process of this feature operation algoritic module, enters step 5, if it is not, Then according to variable Y 1 or the number of the time slot 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 determines by current condenser type list Touch button is to the gesture translational speed of another one condenser type single-touch button, and number is the fewest, and speed is more Hurry up;
Step 5, variable X 1 is set to initial value or empties setting memory block X2 variable Y 1 being set to initially Value or empty setting memory block Y2, return step 1.
The present invention proposes one and utilizes and just can realize gesture identification between two condenser type single-touch buttons Technical method, if any more single-touch buttons constitute human-computer interaction interface, then can derive more merit Operation, effectively solution slider bar can need the restriction of multiple touch sensible passages, needed for avoiding multiple point touching technology The constraint of expensive hardware cost.
Accompanying drawing explanation
Fig. 1 is the gesture operation schematic diagram moved toward touch key-press B from touch key-press A;
Fig. 2 is the frame diagram of the double bond gesture identification method of gesture operation in Fig. 1;
Fig. 3 is the signal flow graph of the double bond gesture identification method of gesture operation in Fig. 1;
Fig. 4 is the gesture operation schematic diagram of multiple button.
Detailed description of the invention
For making the present invention become apparent, hereby with preferred embodiment, and accompanying drawing is coordinated to be described in detail below.
The invention provides a kind of double bond gesture identification method based on condenser type single-touch button, according to two And position that plural condenser type single-touch button is put on an effective physical surface of reality is different, Realizing the gesture motion of the various orientation angles of up and down or left and right etc., it is by 3 specific logical algorithm modules Combine, respectively key-press status Processing Algorithm module, wait time slot algorithm module and feature operation algorithm mould Block, wherein:
Key-press status Processing Algorithm module mainly includes denoising Processing, misoperation elimination, mode control word module structure Become.This module completes the effective action of button, and is controlled the operating state effectiveness of this button.
Wait that time slot algorithm module mainly includes that intervalometer, enumerator, Status Flag control submodule.During wait Gap algoritic module has two logic states, and one is definition status, and one is a time out state.This module is main Process movement direction and velocity information and regularly with the control of timeout mode mark.
Feature operation algoritic module includes key-press status relief area, data comparator, logical process and fuction output Submodule.Process the data of key-press status relief area, the Status Flag of output corresponding function action.
Below with the gesture behaviour moved from touch key-press A toward touch key-press B as operator as shown in Figure 1 As example, further illustrate the present invention, in conjunction with Fig. 2 and Fig. 3, the steps include:
Step 1, key-press status process:
After touch key-press A is pressed, key-press status Processing Algorithm module judge that it is the most effective, if having Effect, then the startup waiting time slot algorithm module is triggered in one logic state position of output, the most persistently judges that touch is pressed The state of key A whether sustained touch or release are upspring, the button passage of the touch key-press B of forbidden energy locking simultaneously, Enter step 2, if invalid, then continue initial holding state.
Step 2, timing and time-out:
After startup, by it to touch key-press A timing, timing is divided into multiple time slot, and to slot count Until touch key-press A is effectively discharged, after the number of time slot reaches threshold value set in advance, by time-out mark Will sends into A district, relief area, otherwise, the number of time slot is sent into A district, relief area, enables open touch simultaneously The button passage of button B, waits that touch key-press B is pressed, and second time resets and starts wait time slot and calculates Method module and key-press status Processing Algorithm module.
During second time starts and waits time slot algorithm module, if timeout mode is effective, then skip judgement Whether touch key-press B presses, and output overtime Status Flag is to B district, relief area;If have tactile in definition status Touch button B and press the number feeding B district, relief area of the time slot that then second time is waited time slot algorithm module.Nothing Opinion is pressed with or without button, the most all will terminate and forbidden energy waits time slot algorithm module and key-press status Processing Algorithm mould Block, finally triggers and starts feature operation algoritic module, enter step 3.
Step 3, feature operation algoritic module:
Feature operation algoritic module start after by the data in A district, relief area and the data in B district, relief area Reason.Emptying buffer after completing to process.Restart key-press status Processing Algorithm module and wait time slot algorithm module.
When the timeout mode in A district, relief area is effective, the most do not process B district, relief area, direct output function value Correspond to long by.
The timeout mode in A district, relief area is invalid, then judge the number of time slots in B district, relief area.If relief area B district no data, then export the function value corresponding with the number of time slots in A district, relief area.
When there are data in B district, relief area, if the timeout mode in this district is effectively, it is abnormality, directly ties Restraint the process of this feature operation algoritic module.The invalid time slot then calculating B district, relief area of timeout mode Number, number of time slots determines the gesture translational speed of touch key-press A to touch key-press B, and number is the fewest, Speed is the fastest.According to the number of time slots in B district, relief area, export corresponding function value.
Said method can be applied in multiple buttons as shown in Figure 4, such as the touch key-press A in Fig. 4 And between touch key-press B, between touch key-press A and touch key-press C, touch key-press A and touch key-press D Between, between touch key-press B and touch key-press C, between touch key-press B and touch key-press D and touch press Said method all can be used between key C and touch key-press D.

Claims (1)

1. a double bond gesture identification method based on condenser type single-touch button, or apply on independent two condenser type single-touch buttons, or apply on many groups condenser type single-touch button that two condenser type single-touch buttons are a group, it is characterised in that step is:
Step 1, after two condenser type single-touch buttons having a condenser type single-touch button be pressed, after one group of condenser type single-touch button in the condenser type single-touch button of group more than or has a condenser type single-touch button to be pressed, judged whether capacitance present formula single-touch button is effectively pressed by key-press status Processing Algorithm module, if not, then continue initial holding state, if, then enable time slot algorithm module, after the button passage of forbidden energy another one condenser type single-touch button, enter step 2 simultaneously;
Step 2, the mode timing that time slot is counted is utilized by time slot algorithm module, until current condenser type single-touch button is no longer touched, enable the button passage of another one condenser type single-touch button, if the number of current time slots exceedes threshold value set in advance, then it is judged to time-out, preserve timeout flag to the variable X 1 corresponding with capacitance present formula single-touch button or set memory block X2 and the variable Y 1 corresponding with another one condenser type single-touch button or set memory block Y2, enter step 4, otherwise, the number of current time slots is preserved 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-touch button is effectively pressed, if not, then enter step 4, if, the mode timing that time slot is counted then is utilized by time slot algorithm module, until current condenser type single-touch button is no longer touched, the number of current time slots is preserved to variable Y 1 or sets memory block Y2, entering step 4;
nullStep 4、Whether it is whether timeout flag or setting memory block X2 have stored timeout flag by feature operation algoritic module judgment variable X1,If,The most directly output and the long function value corresponding by current condenser type single-touch button,Enter step 5,If not,Then read variable Y 1 or set the data in the Y2 of memory block,If variable Y 1 is initial value or sets memory block Y2 no data,The function value that then output is corresponding with the number of the time slot that variable X 1 or setting memory block X2 are stored,Enter step 5,Otherwise,Whether judgment variable Y1 is timeout flag or sets in the Y2 of memory block whether stored timeout flag,If,The most directly terminate the process of this feature operation algoritic module,Enter step 5,If not,Then according to variable Y 1 or the number of the time slot 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 determines by the gesture translational speed of current condenser type single-touch button to another one condenser type single-touch button,Number is the fewest,Speed is the fastest;
Step 5, variable X 1 is set to initial value or empty setting memory block X2 and variable Y 1 is set to initial value or empty setting memory block Y2, return step 1.
CN201410150326.2A 2014-04-14 2014-04-14 A kind of double bond gesture identification method based on condenser type single-touch button Active CN103905026B (en)

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 CN103905026A (en) 2014-07-02
CN103905026B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090821B (en) * 2014-07-10 2018-04-20 东莞市乐升电子有限公司 Full touch system Activiation method and its system
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

Citations (2)

* Cited by examiner, † Cited by third party
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102010054859A1 (en) * 2010-12-17 2012-06-21 Rohde & Schwarz Gmbh & Co. Kg System with gesture recognition unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN103905026A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN104007932B (en) A kind of touch point recognition methods and device
CN106886766B (en) A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN205485930U (en) Input device and keyboard
CN102722333B (en) A kind of touch screen unlocking method and terminal
TWI455004B (en) Touch display panel and driving method thereof
CN103905026B (en) A kind of double bond gesture identification method based on condenser type single-touch button
CN103116450A (en) Method and device for controlling equipment state and equipment
CN103984495A (en) Operating method and electronic device
TWI543064B (en) Method for sensing fast motion, controller and electromagnetic sensing apparatus
CN104503699B (en) A kind of contactless space gesture intelligent lock system and its operating method
CN103793175A (en) Touch screen communication terminal and touch response method and system in communication state thereof
WO2013155798A1 (en) Method, device, and electronic terminal for unlocking
CN106815546A (en) fingerprint identification method and device
WO2014019124A1 (en) Touch event reporting method, device and mobile terminal
TWI711974B (en) Method and fingerprint sensing device with finger lost detection
CN103605465A (en) Method for controlling handheld equipment and handheld equipment
CN101211235A (en) Intelligentized touch pad input control method
JP2012113485A (en) Touch panel device and touch panel detection method
WO2020034123A1 (en) Touch control chip, electronic device, and touch control method
CN104793824B (en) A kind of wake-up of mobile terminal and unlocking method and mobile terminal
CN108399042B (en) Touch identification method, device and system
CN106469013A (en) Terminal, fingerprint Identification sensor awakening method and device
CN105630345B (en) A kind of method and apparatus controlling display direction
CN110084082B (en) Electronic equipment, fingerprint identification device and finger touch detection circuit thereof
JP2007157371A (en) Electrostatic capacity type digital 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