CN106411323B - Method for preventing false triggering of pressure type key - Google Patents
Method for preventing false triggering of pressure type key Download PDFInfo
- Publication number
- CN106411323B CN106411323B CN201610823052.8A CN201610823052A CN106411323B CN 106411323 B CN106411323 B CN 106411323B CN 201610823052 A CN201610823052 A CN 201610823052A CN 106411323 B CN106411323 B CN 106411323B
- Authority
- CN
- China
- Prior art keywords
- pressure
- key
- sensors
- effective
- triggering
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M11/00—Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
- H03M11/02—Details
- H03M11/04—Coding of multifunction keys
- H03M11/06—Coding of multifunction keys by operating the multifunction key itself in different ways
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/23—Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Input From Keyboards Or The Like (AREA)
- Electronic Switches (AREA)
Abstract
The invention discloses a method for preventing false triggering of a pressure type key, which comprises the steps of confirming the triggering effective positions of the pressure keys and the number of sensors, confirming the effective positions of the sensors, measuring pressure values corresponding to all the sensors, judging whether pressure is pressed down or not, confirming whether the triggering positions of the pressure keys are at the effective positions or not, executing corresponding operation according to the result and the like. The invention can accurately judge whether the pressure is the real touch pressure, solves the problem that the pressure key is triggered by mistake in an invalid pressing area, accurately controls the valid pressing area, and greatly improves the performance and the practicability of the pressure key.
Description
Technical Field
The invention belongs to the technical field of touch control, and particularly relates to a method for preventing a pressure type key from being touched mistakenly.
Background
With the rapid development of intelligent electronic devices, the pressure touch technology is applied to mobile phones, smart watches, notebooks and household appliances, and has a tendency of wide popularization. However, in the case of the pressure key application, false triggering may be easily caused.
As disclosed in patent application 201610166341.5, an AD key confirmation method and apparatus, and an electronic product, the AD key confirmation method includes: acquiring an AD key sampling value in a key pressing process; calculating the difference value between the maximum value and the minimum value in the acquired AD key sampling values; comparing the calculated difference value with a preset threshold value, if the difference value is larger than the preset threshold value, judging that the number of the pressed AD keys is larger than one, and determining the corresponding AD keys according to the AD key sampling combination value; otherwise, judging the number of the pressed AD keys to be one, and determining the corresponding AD keys according to the AD key sampling combination value; and the AD key sampling combination value is an AD key sampling value after all AD keys are pressed in the key pressing process. However, in the method, the effective key is determined by judging whether the effective key exceeds the threshold, and only one threshold is judged, so that misjudgment is caused in many cases, and the judgment accuracy is not high.
Disclosure of Invention
Therefore, the invention provides a method for preventing false triggering of a pressure type key, which solves the problem that the pressure key can be triggered by mistake in an invalid pressing area, accurately controls the valid pressing area and greatly improves the performance and the practicability of the pressure key.
In order to achieve the purpose, the technical scheme of the invention is as follows:
a method for preventing false triggering of a pressure type key is characterized by comprising the following steps:
101. confirming the effective triggering positions of the pressure keys and the number of sensors;
the trigger effective position is an effective circle position formed by the trigger position of the pressure key and the peripheral lock of the pressure key; the number of the sensors is the number of the sensors N +1(N > -3) used by the pressure key triggering lock.
According to the requirement of the pressure key, the effective triggering position of the key is determined (namely, the key function can be responded by applying pressure in the area), and the effective triggering position is represented by a circle Q with the radius R (the radius R is determined by specific specifications or application scenes, and usually the radius R is 0.3-1 cm); meanwhile, according to the accuracy of the effective position triggered by the pressure key and the cost of the sensor, the number of the sensors used is confirmed to be N +1(N > -3) (the number of the sensors is determined by the accuracy of the effective position and the cost of the sensors, the more the sensors are, the higher the cost is, but the higher the accuracy of the effective position is, 3-10 sensors are generally selected), and the sensor numbers are S0, S1, S2, …, SN and SN + 1.
102. Confirming the effective position of the sensor;
1 pressure sensor SN +1 is arranged at the central point of the trigger effective circle; the center of the effective circle is triggered by the pressure key, and a concentric circle Q' with the radius of 2R is drawn. N pressure sensors S0, S1, S2, … and SN are placed at N end points of a positive N-edge type P inscribed circle Q', wherein the side length of the positive N-edge type P is 2L.
The central sensor SN +1 and other N sensors S0, S1, S2 and S … are connected, and perpendicular bisectors of connecting lines of the SN are intersected to form a positive N-edge type P', the positive N-edge type is circumscribed on a circle Q and has the side length L, wherein L is 2R/tan (180 degrees/N). The positive N-edge type P' inner area is the effective position for triggering the actual pressure key by the method. The larger N is, the more the actual key triggering effective position tends to trigger the effective circle Q.
103. Measuring pressure values corresponding to all sensors;
when the pressure keys work normally, the controller measures the sensors S0, S1, S2, …, SN and SN +1 in real time through the pressure detection module to obtain pressure values V0, V1, V2, …, VN and VN +1 of each sensor.
104. Judging whether the pressure is pressed down or not;
if the pressure value VN +1 of the sensor is larger than or equal to the pressure threshold value, the pressing of the pressure is indicated, the next operation is carried out, and otherwise, the pressure values of all the sensors are continuously tested in a circulating mode.
105. And confirming whether the trigger position of the pressure key is at the effective position or not, and executing corresponding operation according to the result.
When the pressure value VN +1 of the sensor is larger than or equal to each pressure value of all other sensors, the pressure is triggered in the positive N-side type P area of the effective position, the key function is triggered, and otherwise, the key function is discarded.
Any position of the positive N-side P region is less than or equal to half the distance between the center sensor SN +1 and all other sensors, so that the pressure value VN +1 of the center sensor is greater than or equal to each of the pressure values of all other sensors as long as the positive N-side P presses on the effective region. Through comparing with perimeter sensor's pressure value, just can judge whether the sensor is located effective trigger region, whether touched by the mistake.
According to the method for preventing the false triggering of the pressure type key, the triggering position and the pressure value are combined, whether the pressure is the real touch control pressure can be accurately judged, the problem that the pressure key is triggered by mistake in an invalid pressing area is solved, the effective pressing area is accurately controlled, and the performance and the practicability of the pressure key are greatly improved.
Drawings
FIG. 1 is a control flow diagram of the lock implementation of the present invention.
Fig. 2 is a diagram of a pressure sensor arrangement in which the present invention is implemented.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a control flow chart of a method for implementing the false triggering prevention of the pressure type key of the lock of the invention, wherein the lock of the invention comprises the following steps:
101) and confirming the position of the pressure key triggering effective circle and the number N +1(N > -3) of the sensors.
Referring to fig. 2, according to the requirement of pressing the key, the effective triggering position of the key is determined (i.e. the key is pressed in the area to respond to the key function), and is represented by a circle Q with a radius R (the radius R is determined by the specific specification or application scenario, and in this embodiment, the radius R is 0.5 cm). Meanwhile, according to the accuracy of the effective position triggered by the pressure key and the cost of the sensor, the number of the sensors used is confirmed to be N +1(N > -3) (the number of the sensors is determined by the accuracy of the effective position and the cost of the sensors, the more the sensors are, the higher the cost is, but the accuracy of the effective position is, in the embodiment, 6 sensors are selected), and the sensor numbers are S0, S1, S2, …, SN, SN + 1.
102) Confirming the placement of the sensor.
1 pressure sensor SN +1 is arranged at the central point of the trigger effective circle; the center of the effective circle is triggered by the pressure key, and a concentric circle Q' with the radius of 2R is drawn. N pressure sensors S0, S1, S2, … and SN are placed at N end points of a positive N-edge type P inscribed circle Q', wherein the side length of the positive N-edge type P is 2L.
The central sensor SN +1 and other N sensors S0, S1, S2 and S … are connected, and perpendicular bisectors of connecting lines of the SN are intersected to form a positive N-edge type P', the positive N-edge type is circumscribed on a circle Q and has the side length L, wherein L is 2R/tan (180 degrees/N). The positive N-edge type P' inner area is the effective position for triggering the actual pressure key by the method. The larger N is, the more the actual key triggering effective position tends to trigger the effective circle Q.
103) And measuring the pressure values corresponding to all the sensors.
When the pressure keys work normally, the controller measures the sensors S0, S1, S2, …, SN and SN +1 in real time through the pressure detection module, and pressure values V0, V1, V2, …, VN and VN +1 of each sensor are obtained after the sensitivity consistency adjustment.
104) And judging whether the pressure is pressed down.
If the pressure value VN +1 of the sensor is larger than or equal to the pressure threshold value, the pressing of the pressure is indicated, the next operation is carried out, and otherwise, the pressure values of all the sensors are continuously tested in a circulating mode.
105) And confirming whether the trigger position of the pressure key is at the effective position or not, and executing corresponding operation according to the result.
When the pressure value VN +1 of the sensor is larger than or equal to each pressure value of all other sensors, the pressure is triggered in the positive N-side type P area of the effective position, the key function is triggered, and otherwise, the key function is discarded.
Any position of the positive N-side P region is less than or equal to half the distance between the center sensor SN +1 and all other sensors, so that the pressure value VN +1 of the center sensor is greater than or equal to each of the pressure values of all other sensors as long as the positive N-side P presses on the effective region.
According to the method, the judgment of the trigger position and the pressure value are combined, so that whether the real touch pressure exists can be accurately judged, meanwhile, the effective pressing area can be accurately controlled, and the performance and the practicability of the pressure key are greatly improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (2)
1. A method for preventing false triggering of a pressure type key is characterized by comprising the following steps:
101. confirming the effective triggering positions of the pressure keys and the number of sensors; the trigger effective position is an effective circle position formed by the trigger position of the pressure key and the periphery of the trigger position; the number of the sensors refers to the number of the sensors used for triggering the pressure keys, namely N +1, N > = 3;
102. confirming the effective position of the sensor; 1 pressure sensor SN +1 is placed at the center point of the trigger effective circle; triggering the center of an effective circle by using a pressure key, and drawing a concentric circle Q' with the radius of 2R; placing N pressure sensors S0, S1, S2, … and SN at N endpoints of a positive N-edge type P inscribed circle Q', wherein the side length of the positive N-edge type P is 2L; the central sensor SN +1 and other N sensors S0, S1, S2 and … are connected, perpendicular bisectors of connecting lines of the SN are intersected to form a positive N-edge type P ', the positive N-edge type is circumscribed to a circle Q, the side length is L, wherein L =2R/tan (180 degrees/N), and the inner area of the positive N-edge type P' is an effective triggering position of an actual pressure key of the method; the larger N is, the more the actual key triggering effective position tends to trigger an effective circle Q;
103. measuring pressure values corresponding to all sensors; measuring the sensors to obtain the pressure value of each sensor;
104. judging whether the pressure is pressed down or not;
if the pressure value VN +1 of the central sensor SN +1 is larger than or equal to the pressure threshold, the central sensor SN +1 is pressed down under pressure, then the next operation is carried out, and otherwise, the pressure values of all the sensors are continuously tested in a circulating mode;
105. confirming whether the trigger position of the pressure key is at an effective position or not, and executing corresponding operation according to the result;
when the pressure value VN +1 of the central sensor SN +1 is larger than or equal to each pressure value of all other sensors, the pressure is triggered in the positive N-side type P area of the effective position, the key function is triggered, and otherwise, the key function is discarded.
2. The method for preventing false triggering of a pressure type key according to claim 1, wherein the method for determining the effective triggering position of the key comprises: the circle Q with the radius R represents the trigger effective position; meanwhile, according to the accuracy of the effective position triggered by the pressure key and the cost of the sensor, the number of the sensors used is determined to be N +1, N > =3, and the numbers of the sensors are S0, S1, S2, …, SN and SN + 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610823052.8A CN106411323B (en) | 2016-09-14 | 2016-09-14 | Method for preventing false triggering of pressure type key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610823052.8A CN106411323B (en) | 2016-09-14 | 2016-09-14 | Method for preventing false triggering of pressure type key |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106411323A CN106411323A (en) | 2017-02-15 |
CN106411323B true CN106411323B (en) | 2020-03-17 |
Family
ID=58000142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610823052.8A Active CN106411323B (en) | 2016-09-14 | 2016-09-14 | Method for preventing false triggering of pressure type key |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106411323B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106909109A (en) * | 2017-03-30 | 2017-06-30 | 上海龙东光电子有限公司 | Photoelectric nacelle push-button control system and its control method |
CN106919292A (en) * | 2017-04-13 | 2017-07-04 | 芯海科技(深圳)股份有限公司 | A kind of method and device of the man-machine interaction of mobile phone side virtual key |
CN107707731B (en) * | 2017-08-15 | 2021-02-19 | 深圳天珑无线科技有限公司 | Intelligent terminal, control method thereof and device with storage function |
WO2019109208A1 (en) * | 2017-12-04 | 2019-06-13 | 深圳和而泰智能控制股份有限公司 | Smart carpet |
CN111459323B (en) * | 2020-03-26 | 2023-04-28 | 维沃移动通信有限公司 | Control method, electronic device and medium |
CN114684684B (en) * | 2022-04-24 | 2023-12-29 | 深圳市呤云科技有限公司 | Trigger detection method and equipment for virtual elevator keys and elevator control panel |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096516A (en) * | 2009-12-15 | 2011-06-15 | 北京汇冠新技术股份有限公司 | Touch positioning method |
CN102473074A (en) * | 2010-05-20 | 2012-05-23 | 松下电器产业株式会社 | Operation device, operation method, program, recording medium, and integrated circuit |
CN105183232A (en) * | 2015-09-21 | 2015-12-23 | 广东欧珀移动通信有限公司 | Control method for mobile terminal without solid keys and mobile terminal |
CN105809141A (en) * | 2016-03-17 | 2016-07-27 | 广东欧珀移动通信有限公司 | Screen assembly, fingerprint acquisition and identification method, mobile terminal and electronic device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101644960A (en) * | 2008-08-08 | 2010-02-10 | 深圳富泰宏精密工业有限公司 | Mistaken touch prevention method of combined keys and electronic device using same |
EP2681509A4 (en) * | 2011-02-28 | 2018-01-17 | Baanto International Ltd. | Systems and methods for sensing and tracking radiation blocking objects on a surface |
CN204360174U (en) * | 2015-01-26 | 2015-05-27 | 河南工业大学 | The dry automatic control system of a kind of starch |
-
2016
- 2016-09-14 CN CN201610823052.8A patent/CN106411323B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096516A (en) * | 2009-12-15 | 2011-06-15 | 北京汇冠新技术股份有限公司 | Touch positioning method |
CN102473074A (en) * | 2010-05-20 | 2012-05-23 | 松下电器产业株式会社 | Operation device, operation method, program, recording medium, and integrated circuit |
CN105183232A (en) * | 2015-09-21 | 2015-12-23 | 广东欧珀移动通信有限公司 | Control method for mobile terminal without solid keys and mobile terminal |
CN105809141A (en) * | 2016-03-17 | 2016-07-27 | 广东欧珀移动通信有限公司 | Screen assembly, fingerprint acquisition and identification method, mobile terminal and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN106411323A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106411323B (en) | Method for preventing false triggering of pressure type key | |
CN105320924B (en) | Electronic device and fingerprint identification device control method | |
CN103376932B (en) | Anti-misoperation system and method | |
CN107844754B (en) | Method and device for judging foreign matters on surface of terminal fingerprint sensor | |
CN107609540B (en) | Method and device for acquiring calibration parameters of fingerprint sensor and mobile terminal | |
CN109976500B (en) | Fingerprint identification device, mobile terminal and awakening method of fingerprint identification device | |
WO2017031808A1 (en) | Fingerprint recognition-based account login method, apparatus and terminal | |
KR101742410B1 (en) | Intelligent terminal with built-in screenshot function and implementation method thereof | |
CN101546233A (en) | Identification and operation method of touch screen interface gestures | |
CN103455265B (en) | The control method of controlled plant and system, mobile terminal and controlled plant | |
CN108647505A (en) | Unlocked by fingerprint method and Related product | |
CN106899751A (en) | The method and terminal of content are sent and received by terminal | |
EP3196738B1 (en) | Method for controlling blank screen gesture processing and terminal | |
CN105388993A (en) | Terminal with fingerprint recognition function | |
CN107330308B (en) | Terminal locking/unlocking method, device, terminal and computer readable storage medium | |
EP3432128B1 (en) | Button detection method and device | |
CN107392108B (en) | Control method and electronic equipment | |
CN104281295A (en) | Method and system for preventing false slide triggering on touch screen and electronic device | |
CN105095735B (en) | A kind of method and terminal of pattern unblock | |
CN103869947A (en) | Method for controlling electronic device and electronic device | |
CN102279672A (en) | Capacitive proximity sensing and touch detecting device and method | |
CN105677197A (en) | Screen unlocking method and intelligent device | |
CN104144248A (en) | Method and device for triggering communication with contacts | |
WO2016082251A1 (en) | Touch signal processing method and device | |
CN110945464B (en) | Identification method of sliding signal, MCU, touch equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |