CN112799545B - Touch action determination method and device, capacitive touch panel and storage medium - Google Patents

Touch action determination method and device, capacitive touch panel and storage medium Download PDF

Info

Publication number
CN112799545B
CN112799545B CN202110364621.8A CN202110364621A CN112799545B CN 112799545 B CN112799545 B CN 112799545B CN 202110364621 A CN202110364621 A CN 202110364621A CN 112799545 B CN112799545 B CN 112799545B
Authority
CN
China
Prior art keywords
value
touch
array
smaller
parameter values
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
CN202110364621.8A
Other languages
Chinese (zh)
Other versions
CN112799545A (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.)
SUZHOU HUAXIN MICRO-ELECTRONICS CO LTD
Original Assignee
SUZHOU HUAXIN MICRO-ELECTRONICS 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 SUZHOU HUAXIN MICRO-ELECTRONICS CO LTD filed Critical SUZHOU HUAXIN MICRO-ELECTRONICS CO LTD
Priority to CN202110364621.8A priority Critical patent/CN112799545B/en
Publication of CN112799545A publication Critical patent/CN112799545A/en
Application granted granted Critical
Publication of CN112799545B publication Critical patent/CN112799545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches

Abstract

The invention discloses a touch action judgment method, which comprises the following steps: s1, collecting parameter values for touch judgment, and forming an array by a plurality of continuous parameter values collected within a preset time length; s2, if the parameter values at the head end in the array are all close to a and the parameter values at the tail end in the array are all close to b, further judging, if a is smaller than b and b-a is larger than the set threshold, judging that the touch action is generated; if a is larger than b and a-b > the set threshold, no touch action is determined. The invention also discloses a touch action judging device, the capacitance touch pad and a storage medium. According to the technical scheme, the judgment of finger touch is realized according to the variation trend of the sampling data, and the stability problem caused by the background of the preset value in the traditional touch key algorithm can be effectively improved.

Description

Touch action determination method and device, capacitive touch panel and storage medium
Technical Field
The invention belongs to the technical field of touch control, and particularly relates to a touch action judgment method and device, a capacitive touch pad and a storage medium, which can be applied to equipment such as a touch desk lamp and a touch small household appliance and the like needing to replace physical keys with touch keys.
Background
Touch keys are currently replacing physical keys gradually as an important way of human-computer interaction. Touch keys have received consumer acceptance and favor because of their simplicity of operation, friendly feedback, aesthetic appearance, and small size.
At present, most of feedback mechanisms of touch keys in the market adopt a capacitive sensing key principle, however, the capacitive touch keys are more or less influenced by the environment, such as the temperature and humidity of the environment, internal electromagnetic interference noise, a filling medium, the distance between a touch contact and a finger, and the like. Due to the unpredictability of the environment, the touch key inevitably has unreliable factors, so that the problems of misjudgment or missed judgment of the touch key and the like occur.
At present, most of touch key processing is to obtain a fixed touch key triggering baseline value according to pre-test verification data, and then judge whether the key responds or not through comparison and analysis of a current acquisition value and the triggering baseline value. This type of approach appears to be poorly adaptable in the face of unreliable effects caused by environmental factors.
Therefore, in order to solve the above-mentioned technical problem, it is necessary to provide a touch operation determination method with high adaptability.
Disclosure of Invention
The invention aims to provide a touch action judging method, a touch action judging device, a capacitive touch panel and a storage medium, and aims to solve the problem that the method in the prior art is insufficient in adaptability under the unreliable influence caused by environmental factors.
In order to achieve the above object, an embodiment of the present invention provides the following technical solutions:
in one embodiment, a touch action determination method includes:
s1, collecting parameter values for touch judgment, and forming an array by a plurality of continuous parameter values collected within a preset time length;
s2, analysis conditions (i): whether a plurality of parameter values at the head end in the array are stable on a horizontal line with the same value of a or not;
analysis conditions 2: whether a plurality of parameter values positioned at the tail end in the array are stabilized on the same horizontal line with the value b or not;
if both the condition (i) and the condition (ii) are satisfied, further analyzing the condition (iii):
if a is obviously smaller than b and b-a is larger than the set threshold, judging that the touch action is generated;
if a is obviously larger than b and a-b is larger than the set threshold value, judging that no touch action exists,
s3, after 1 new parameter value for touch determination is collected, updating the parameter value to the tail end of the array, correspondingly removing the 1 st parameter value in the array, and repeating s 2.
Preferably, in the touch operation determination method, in step s2, a window is set, the window having an upper limit value and a lower limit value,
if a is smaller than b, b-a is smaller than or equal to a set threshold, b is larger than an upper limit value, and a is smaller than a lower limit value, judging that a touch action is generated;
if a is larger than b, a-b is smaller than or equal to the set threshold, b is smaller than the lower limit value, and a is larger than the upper limit value, no touch action is judged.
Preferably, the touch operation determination method further includes,
after 1 new parameter value for touch judgment is collected, updating the parameter value to the tail end of the array, and correspondingly removing the 1 st parameter value in the array;
s2 is repeated.
Preferably, in the touch operation determination method, each of the parameter values is an average value of a plurality of sample values collected continuously.
Preferably, in the touch operation determination method, a maximum value and/or a minimum value of the plurality of sample values is discarded, and a mean value of remaining sample values is calculated as the parameter value.
In one embodiment, a touch action determination system includes:
the sensing unit is used for acquiring parameter values for touch judgment and forming an array by a plurality of continuous parameter values acquired within a preset time length;
a processing unit for analyzing conditions (i): whether a plurality of parameter values at the head end in the array are stable on a horizontal line with the same value of a or not;
analysis conditions 2: whether a plurality of parameter values positioned at the tail end in the array are stabilized on the same horizontal line with the value b or not;
if both the condition (i) and the condition (ii) are satisfied, further analyzing the condition (iii):
if a is obviously smaller than b and b-a is larger than the set threshold, judging that the touch action is generated;
if a is obviously larger than b and a-b is larger than the set threshold value, judging that no touch action exists,
s3, after 1 new parameter value for touch determination is collected, updating the parameter value to the tail end of the array, correspondingly removing the 1 st parameter value in the array, and repeating s 2.
Preferably, in the touch operation determination system, the processing unit further executes:
setting a window having an upper limit and a lower limit,
if a is smaller than b, b-a is smaller than or equal to a set threshold, b is larger than an upper limit value, and a is smaller than a lower limit value, judging that a touch action is generated;
if a is larger than b, a-b is smaller than or equal to the set threshold, b is smaller than the lower limit value, and a is larger than the upper limit value, no touch action is judged.
Preferably, in the touch operation determination system, the processing unit further executes:
and after 1 new parameter value for touch judgment is acquired, updating the parameter value to the tail end of the array, and correspondingly removing the 1 st parameter value in the array.
In one embodiment, a capacitive touch pad
A memory for storing a computer program;
a processor for implementing the steps of any of the touch action determination methods when executing the computer program.
In one embodiment, a computer-readable storage medium has a computer program stored thereon, which, when executed by a processor, implements the steps of any of the touch action determination methods.
Compared with the prior art, the technical scheme of the invention realizes the judgment of finger touch according to the variation trend of the sampling data, and can effectively improve the stability problem caused by the background of the preset value in the traditional touch key algorithm.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a touch action determination method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an implementation of sorting Sample [ N ] according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of filtering out maximum and minimum sample values and calculating a final result of filtering according to an embodiment of the present disclosure;
FIG. 4 is an example of data that satisfies the presence of a finger (from none to none) in one embodiment of the present application;
FIG. 5 is an example of data satisfying no finger (from present to absent) in one embodiment of the present application;
FIG. 6 is an exemplary graph of normal speed and slow speed touch data in one embodiment of the present application;
FIG. 7 is a schematic diagram of a window threshold region for determining the presence (from absence to presence or from presence to absence) of a finger according to an embodiment of the present disclosure;
fig. 8 is a schematic view of a touch operation determination device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a capacitive touch pad in an embodiment of the present application.
Detailed Description
The present invention will be described in detail below with reference to embodiments shown in the drawings. The embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to the embodiments are included in the scope of the present invention.
In general electronic equipment, a touch panel is a device which is directly contacted by a user and frequently used, and it is important to ensure that the touch panel can normally work under various conditions. The touch pad in this application can be the touch pad on electronic equipment such as mobile device, domestic appliance, intelligent wearing equipment (like intelligent earphone). For a capacitive touchpad, the general operation is as follows: recording the capacitance value of the touch pad in a normal state (not touched or covered) as a reference capacitance value, if a finger presses the touch pad, the capacitance value of the touch pad changes, reporting a pressing event when the change value exceeds a certain threshold value, and after the finger leaves the touch pad, recovering the capacitance value of the touch pad to the reference capacitance value, reporting a lifting event at the moment and responding to the lifting event.
Fig. 1 is a flowchart of an exemplary touch action determination method. Referring to fig. 1, the touch action determination method sequentially includes data acquisition, data processing, data analysis, finger judgment, and key response.
S101: data acquisition and data processing.
Firstly, collecting parameter values for touch judgment, and forming an array by using a plurality of continuous parameter values collected within a preset time length. Each parameter value is the average value of a plurality of sample values collected continuously.
In one embodiment, the "preset time" is a time interval from the touch start to the touch depression completion by performing the touch at the regular speed, i.e. a time interval (RS) between the highest point and the lowest point in fig. 47To RS0)。
Secondly, the maximum value and/or the minimum value of the plurality of sample values are cut off, and the average value of the rest sample values is calculated and is used as the parameter value.
The present embodiment mainly performs "anti-pulse interference filtering" processing, and the present embodiment only performs processing on one touch key for example.
The calculation formula of the anti-pulse interference filtering processing is as follows:
Figure 935177DEST_PATH_IMAGE001
wherein:
RSample is the final filtering calculation result;
n is the number of data collected by the touch keys;
m is the number of the truncated maximum (or minimum) interference sample values;
Figure 665367DEST_PATH_IMAGE002
is a sorted sample value, an
Figure 507421DEST_PATH_IMAGE003
Assuming that the collected data sample array is
Figure 450100DEST_PATH_IMAGE004
And N is the number of samples collected by the touch channel.
For example, the data collected are:
Sample[10]={207,208,206,200,207,201,209,208,208,207}
fig. 2 shows a flowchart of a specific implementation of sorting Sample [ N ].
The sorted arrays are:
Sample[10]={200,201,206,207,207,207,208,208,208,209}
a flow chart for filtering out the largest and smallest sample values and calculating the final result of the filtering is shown in fig. 3.
S102: data analysis and finger judgment.
(1) And the judging and executing comprises: if the parameter values at the head end in the array are all close to a and the parameter values at the tail end in the array are all close to b, further judgment is made
If a is smaller than b and b-a is larger than the set threshold, judging that the touch action is generated;
if a is larger than b and a-b > the set threshold, no touch action is determined.
A window is set, and the window has an upper limit value and a lower limit value.
If a is smaller than b, b-a is smaller than or equal to a set threshold, b is larger than an upper limit value, and a is smaller than a lower limit value, judging that a touch action is generated;
if a is larger than b, a-b is smaller than or equal to the set threshold, b is smaller than the lower limit value, and a is larger than the upper limit value, no touch action is judged.
(2) After 1 new parameter value for touch judgment is collected, updating the parameter value to the tail end of the array, and correspondingly removing the 1 st parameter value in the array; the above determination method is then repeated.
The following is a specific example.
Assuming that the data obtained by removing the maximum and minimum value data from the touch data samples is as follows: RSample =207, the above-mentioned touch data acquisition and processing is continued while the data is formed into a new array RSample [ K]={
Figure 326789DEST_PATH_IMAGE005
And then, every time a new array element is added, the array updates data by recursion according to the FIFO method,
Figure 962301DEST_PATH_IMAGE006
every time the data is updated, the following data analysis scheme is performed (here for convenience of example, assume K = 8);
Figure 557231DEST_PATH_IMAGE007
here the finger movements are divided into regular speed and slow speed movements.
Conventional speed action analysis (finger down touch data lower than finger not down touch data):
first, the condition is:
Figure 569180DEST_PATH_IMAGE008
whether the three data are stable on the same horizontal line (the numerical values are similar in size),
Figure 300376DEST_PATH_IMAGE009
Figure 372368DEST_PATH_IMAGE010
Figure 189014DEST_PATH_IMAGE011
condition two: followed by analysis
Figure 739075DEST_PATH_IMAGE012
Whether data isAre stable on the same horizontal line,
Figure 324778DEST_PATH_IMAGE013
condition (c): data of
Figure 567671DEST_PATH_IMAGE014
Is significantly lower than the data
Figure 137193DEST_PATH_IMAGE015
(satisfy the conditions of (c) and (c) will analyze the processing conditions of (c)) judge there is a finger like figure 4, data
Figure 237084DEST_PATH_IMAGE016
Is significantly higher than the data
Figure 942872DEST_PATH_IMAGE017
Judging that no finger is present as shown in FIG. 5.
And (3) slow speed action analysis:
judging whether the data meets the conditions I and II in the conventional speed data analysis or not, and judging whether the data is slow-speed action or not when the conditions I and II are met but the conditions III are not met; to touch a variable TK Base that introduces a baseline value for slow speed action, two cases may result in the baseline value, case (r): no finger is present for a long time, and the data are stable on the same horizontal line, TK _ Base is generated, case two: the process of conventional speed producing a finger would generate TK Base as shown in fig. 6. When processing the slow-speed touch data, in order to increase the anti-interference, a window threshold area is added, as shown in fig. 7:
s103: and (5) key response.
In the following, a touch action determination device provided by an embodiment of the present application is introduced, and the touch action determination device described below and the touch action determination method described above may be referred to each other.
Referring to fig. 8, in an embodiment of the present application, there is provided a touch action determination device including:
the sensing unit 110 is used for collecting parameter values for touch determination and forming an array of a plurality of continuous parameter values collected within a preset time length;
the processing unit 120 further determines that the parameter values at the head end of the array are close to a and the parameter values at the tail end of the array are close to b
If a is smaller than b and b-a is larger than the set threshold, judging that the touch action is generated;
if a is larger than b and a-b > the set threshold, no touch action is determined.
In an embodiment of the present application, the processing unit further performs:
setting a window having an upper limit and a lower limit,
if a is smaller than b, b-a is smaller than or equal to a set threshold, b is larger than an upper limit value, and a is smaller than a lower limit value, judging that a touch action is generated;
if a is larger than b, a-b is smaller than or equal to the set threshold, b is smaller than the lower limit value, and a is larger than the upper limit value, no touch action is judged.
In an embodiment of the present application, the processing unit further performs:
and after 1 new parameter value for touch judgment is acquired, updating the parameter value to the tail end of the array, and correspondingly removing the 1 st parameter value in the array.
Referring to fig. 9, in another embodiment of the present application, there is provided a capacitive touch panel including:
a memory 210 for storing a computer program;
a processor 220, configured to implement the steps of the touch action determination method according to the above-mentioned embodiment when executing the computer program.
Specifically, the memory 210 includes a nonvolatile storage medium, an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 220 provides the touch panel with calculation and control capabilities, and when executing the computer program stored in the memory 210, the steps of the touch action determination method according to the above-described embodiment may be implemented.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
In conclusion, the processing method for processing the touch key can effectively improve the stability problem caused by the background of the preset value in the traditional touch key algorithm, and can judge the finger touch according to the variation trend of the sampling data. The scanning time is set according to the peak-valley value of the touch finger action, and the touch system has better adaptability.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (8)

1. A touch action determination method is characterized by comprising:
s1, collecting parameter values for touch judgment, and forming an array by a plurality of continuous parameter values collected within a preset time length, wherein the parameter values are capacitance values;
s2, analysis conditions (i): whether a plurality of parameter values at the head end in the array are stable on a horizontal line with the same value as a, and the absolute value of the difference value of any 2 parameter values at the head end in the array is smaller than
Figure DEST_PATH_IMAGE001
Analysis conditions 2: whether a plurality of parameter values at the tail end in the array are stabilized on the same horizontal line with the same value b or not, and the absolute value of the difference value of any 2 parameter values at the tail end in the array is smaller than
Figure 422573DEST_PATH_IMAGE001
If both the condition (i) and the condition (ii) are satisfied, further analyzing the condition (iii):
if a is smaller than b and b-a is larger than the set threshold, judging that the touch action is generated;
if a is larger than b and a-b > the set threshold, determining no touch action,
s3, after 1 new parameter value for touch determination is collected, updating the parameter value to the tail end of the array, correspondingly removing the 1 st parameter value in the array, and repeating s 2.
2. The touch behavior determination method according to claim 1, wherein in step s2, a window is set, the window having an upper limit value and a lower limit value,
if a is smaller than b, b-a is smaller than or equal to a set threshold, b is larger than an upper limit value, and a is smaller than a lower limit value, judging that a touch action is generated;
if a is larger than b, a-b is smaller than or equal to the set threshold, b is smaller than the lower limit value, and a is larger than the upper limit value, no touch action is judged.
3. The touch action determination method according to claim 1, wherein each of the parameter values is an average value of a plurality of sample values collected in succession.
4. The touch motion determination method according to claim 3, wherein a maximum value and/or a minimum value of the plurality of sample values is discarded, and a mean value of remaining sample values is calculated as the parameter value.
5. A touch action determination device, comprising:
the sensing unit is used for acquiring parameter values for touch judgment and forming an array by a plurality of continuous parameter values acquired within a preset time length, wherein the parameter values are capacitance values;
a processing unit for analyzing conditions (i): whether a plurality of parameter values at the head end in the array are stable on a horizontal line with the same value as a, and the absolute value of the difference value of any 2 parameter values at the head end in the array is smaller than
Figure 768104DEST_PATH_IMAGE001
Analysis conditions 2: whether a plurality of parameter values at the tail end in the array are stabilized on the same horizontal line with the same value b or not, and the absolute value of the difference value of any 2 parameter values at the tail end in the array is smaller than
Figure 121725DEST_PATH_IMAGE001
If both the condition (i) and the condition (ii) are satisfied, further analyzing the condition (iii):
if a is smaller than b and b-a is larger than the set threshold, judging that the touch action is generated;
if a is larger than b and a-b > the set threshold, determining no touch action,
s3, after 1 new parameter value for touch determination is collected, updating the parameter value to the tail end of the array, correspondingly removing the 1 st parameter value in the array, and repeating s 2.
6. The touch action determination device according to claim 5, wherein the processing unit further performs:
setting a window having an upper limit and a lower limit,
if a is smaller than b, b-a is smaller than or equal to a set threshold, b is larger than an upper limit value, and a is smaller than a lower limit value, judging that a touch action is generated;
if a is larger than b, a-b is smaller than or equal to the set threshold, b is smaller than the lower limit value, and a is larger than the upper limit value, no touch action is judged.
7. A capacitive touch pad, characterized in that,
a memory for storing a computer program;
a processor for implementing the steps of the touch action determination method according to any one of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the touch action determination method according to any one of claims 1 to 4.
CN202110364621.8A 2021-04-06 2021-04-06 Touch action determination method and device, capacitive touch panel and storage medium Active CN112799545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110364621.8A CN112799545B (en) 2021-04-06 2021-04-06 Touch action determination method and device, capacitive touch panel and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110364621.8A CN112799545B (en) 2021-04-06 2021-04-06 Touch action determination method and device, capacitive touch panel and storage medium

Publications (2)

Publication Number Publication Date
CN112799545A CN112799545A (en) 2021-05-14
CN112799545B true CN112799545B (en) 2021-06-29

Family

ID=75816295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110364621.8A Active CN112799545B (en) 2021-04-06 2021-04-06 Touch action determination method and device, capacitive touch panel and storage medium

Country Status (1)

Country Link
CN (1) CN112799545B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135262A (en) * 2013-04-30 2014-11-05 株式会社有信 Touch switch and control panel
CN104935320A (en) * 2014-03-20 2015-09-23 安凯(广州)微电子技术有限公司 Method for detecting state of capacitive touch key
CN107817919A (en) * 2017-10-26 2018-03-20 歌尔科技有限公司 A kind of decision method of touch action, device and touch sensor
CN111404534A (en) * 2020-03-18 2020-07-10 北京经纬恒润科技有限公司 Triggering judgment method and device of capacitive touch switch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135262A (en) * 2013-04-30 2014-11-05 株式会社有信 Touch switch and control panel
CN104935320A (en) * 2014-03-20 2015-09-23 安凯(广州)微电子技术有限公司 Method for detecting state of capacitive touch key
CN107817919A (en) * 2017-10-26 2018-03-20 歌尔科技有限公司 A kind of decision method of touch action, device and touch sensor
CN111404534A (en) * 2020-03-18 2020-07-10 北京经纬恒润科技有限公司 Triggering judgment method and device of capacitive touch switch

Also Published As

Publication number Publication date
CN112799545A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN101739207B (en) Mobile terminal having touch screen and method for displaying tag information therof
JP6641306B2 (en) Touch classification
EP2521959B1 (en) User interface methods and systems for providing force-sensitive input
CN103488337B (en) A kind of method of adjusting sensitivity of touch screen in pad pasting situation
JP5481581B2 (en) Touch detection method and touch control device
US20110018825A1 (en) Sensing a type of action used to operate a touch panel
CN106610774B (en) Webpage table editing method and device
CN102314274B (en) Bimodule input device and method for sending data by using same
CN107422901B (en) Method and system for preventing mistaken touch of touch screen
CN105205377A (en) Device, method and mobile terminal for preventing mistakenly starting of camera
US11537238B2 (en) Touch control identification method, device and system
CN112416181B (en) Curved surface fingerprint sensor, fingerprint detection method thereof and electronic equipment
CN110796250A (en) Convolution processing method and system applied to convolutional neural network and related components
CN111881000A (en) Fault prediction method, device, equipment and machine readable medium
CN112799545B (en) Touch action determination method and device, capacitive touch panel and storage medium
WO2020147105A1 (en) Touch control screen temperature state detection method and apparatus, touch control chip and electronic device
CN113311981A (en) Erasing method and device, intelligent terminal and computer readable storage medium
CN112597255A (en) Method and device for determining abnormal data
CN105373323A (en) Method for operating electronic equipment, operation device and electronic equipment
CN111459346B (en) Capacitive touch device and gesture recognition method, chip and storage medium thereof
CN104750415A (en) Terminal operating method and terminal
CN106547807B (en) Data analysis method and device
CN117055747A (en) Gesture recognition method and device and terminal equipment
CN111061394B (en) Touch force identification method, training method and device of model thereof and electronic system
CN113220992A (en) Information flow content recommendation method, system and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant