CN113037268B - Method and device for adjusting key touch threshold - Google Patents
Method and device for adjusting key touch threshold Download PDFInfo
- Publication number
- CN113037268B CN113037268B CN202110302434.7A CN202110302434A CN113037268B CN 113037268 B CN113037268 B CN 113037268B CN 202110302434 A CN202110302434 A CN 202110302434A CN 113037268 B CN113037268 B CN 113037268B
- Authority
- CN
- China
- Prior art keywords
- key
- capacitance
- value
- threshold
- adjusted
- 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
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000004364 calculation method Methods 0.000 claims abstract description 13
- 230000001105 regulatory effect Effects 0.000 claims abstract 23
- 238000004590 computer program Methods 0.000 claims description 10
- 230000035945 sensitivity Effects 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000002159 abnormal effect Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/96—Touch switches
- H03K17/962—Capacitive touch switches
Landscapes
- Position Input By Displaying (AREA)
- Electronic Switches (AREA)
Abstract
Description
技术领域Technical Field
本公开涉及按键控制领域,尤其涉及一种调节按键触摸阈值的方法和装置。The present disclosure relates to the field of key control, and in particular to a method and device for adjusting a key touch threshold.
背景技术Background technique
触摸按键应用越来越广泛,触摸按键的灵敏度问题直接影响按键的应用。在相关技术中,记录每一次按键被触摸时的电容值并统计触摸按键的次数,在触摸按键次数达到设定次数,判断数据中是否存在异常数据。若存在异常数据,将异常数据删除并重新获取电容值,以补足设定次数的触摸电容值,直至不存在异常数据,并计算设定次数的按键的电容值的平均值,进而得到触摸电容值阈值。Touch buttons are increasingly widely used, and the sensitivity of touch buttons directly affects the application of buttons. In related technologies, the capacitance value of each button is recorded and the number of times the button is touched is counted. When the number of times the button is touched reaches a set number, it is determined whether there is abnormal data in the data. If there is abnormal data, the abnormal data is deleted and the capacitance value is re-obtained to make up for the touch capacitance value of the set number of times until there is no abnormal data, and the average capacitance value of the button of the set number of times is calculated to obtain the touch capacitance value threshold.
相关技术中,在记录每次触摸按键的电容值的时候考虑不够全面,会导致最终计算得到的触摸阈值不理想,依然会影响按键的灵敏度。In the related art, when recording the capacitance value of each touch button, the consideration is not comprehensive enough, which will lead to the touch threshold finally calculated to be not ideal, and still affect the sensitivity of the button.
发明内容Summary of the invention
本公开要解决的一个技术问题是,提供一种调节按键触摸阈值的方法和装置,能够提高触摸阈值计算的准确性,确保触摸按键灵敏度始终保持在合适的水平。A technical problem to be solved by the present disclosure is to provide a method and device for adjusting a key touch threshold, which can improve the accuracy of touch threshold calculation and ensure that the touch key sensitivity is always maintained at an appropriate level.
根据本公开一方面,提出一种调节按键触摸阈值的方法,包括:根据有效按键个数、待调节按键的被触摸有效时间、电容阈值更新下限值和噪声电容平均值,判断是否记录待调节按键的电容值为第一电容值;以及在记录的待调节按键的第一电容值个数大于第一个数阈值时,根据记录的待调节按键的第一电容值的平均值,调节待调节按键的触摸阈值。According to one aspect of the present disclosure, a method for adjusting a key touch threshold is proposed, comprising: judging whether to record a capacitance value of a key to be adjusted as a first capacitance value according to the number of valid keys, the effective touch time of the key to be adjusted, a capacitance threshold update lower limit value, and a noise capacitance average value; and adjusting the touch threshold of the key to be adjusted according to the average value of the recorded first capacitance values of the key to be adjusted when the number of recorded first capacitance values of the key to be adjusted is greater than a first numerical threshold.
在一些实施例中,判断是否记录待调节按键的电容值为第一电容值包括:在待调节按键为有效按键,且被触摸有效时间小于有效持续时间,相同时间内的有效按键个数小于等于第二个数阈值的情况下,记录待调节按键的电容值为第一电容值;在待调节按键为无效按键,但待调节按键的电容值大于电容阈值更新下限值的情况下,记录待调节按键的电容值为第一电容值;以及在待调节按键为无效按键,且待调节按键的电容值小于等于阈值更新下限值的情况下,若检测到待调节按键的电容值大于噪声电容平均值的第一倍数的次数大于次数阈值时,则记录待调节按键的电容值为第一电容值。In some embodiments, determining whether to record the capacitance value of the key to be adjusted as the first capacitance value includes: when the key to be adjusted is a valid key, and the effective touch time is less than the effective duration, and the number of valid keys within the same time is less than or equal to a second numerical threshold, recording the capacitance value of the key to be adjusted as the first capacitance value; when the key to be adjusted is an invalid key, but the capacitance value of the key to be adjusted is greater than the capacitance threshold update lower limit value, recording the capacitance value of the key to be adjusted as the first capacitance value; and when the key to be adjusted is an invalid key, and the capacitance value of the key to be adjusted is less than or equal to the threshold update lower limit value, if it is detected that the capacitance value of the key to be adjusted is greater than the first multiple of the average value of the noise capacitance for a number greater than the number threshold, then recording the capacitance value of the key to be adjusted as the first capacitance value.
在一些实施例中,在待调节按键的电容值小于噪声电容阈值,且小于噪声电容平均值的第二倍数时,记录待调节按键的电容值为第二电容值,其中,第二倍数小于第一倍数,噪声电容阈值小于阈值更新下限值;以及对多次记录的待调节按键的第二电容值进行平均值计算,得到噪声电容平均值。In some embodiments, when the capacitance value of the key to be adjusted is less than the noise capacitance threshold and less than the second multiple of the noise capacitance average value, the capacitance value of the key to be adjusted is recorded as the second capacitance value, wherein the second multiple is less than the first multiple, and the noise capacitance threshold is less than the threshold update lower limit value; and the average value of the second capacitance values of the key to be adjusted recorded multiple times is calculated to obtain the noise capacitance average value.
在一些实施例中,在待调节按键的电容值大于有效电容阈值时,确定待调节按键为有效按键。In some embodiments, when the capacitance value of the key to be adjusted is greater than the effective capacitance threshold, the key to be adjusted is determined to be a valid key.
在一些实施例中,根据记录的待调节按键的第一电容值的平均值,调节待调节按键的触摸阈值包括:将待调节按键的第一电容值的平均值,去除噪声电容平均值的第二倍数后得到的电容值,作为待调节按键的触摸阈值。In some embodiments, adjusting the touch threshold of the key to be adjusted according to the recorded average value of the first capacitance value of the key to be adjusted includes: taking the capacitance value obtained by removing the second multiple of the average value of the noise capacitance from the average value of the first capacitance value of the key to be adjusted as the touch threshold of the key to be adjusted.
在一些实施例中,根据记录的待调节按键的第一电容值的平均值,调节待调节按键的触摸阈值包括:将待调节按键的第一电容值的平均值,乘以噪声影响因子系数后得到的电容值,作为待调节按键的触摸阈值,其中,噪声影响因子系数小于1。In some embodiments, adjusting the touch threshold of the key to be adjusted according to the recorded average value of the first capacitance value of the key to be adjusted includes: multiplying the average value of the first capacitance value of the key to be adjusted by the noise impact factor coefficient, and obtaining the capacitance value as the touch threshold of the key to be adjusted, wherein the noise impact factor coefficient is less than 1.
根据本公开的另一方面,还提出一种调节按键触摸阈值的装置,包括:电容值记录单元,被配置为根据有效按键个数、待调节按键的被触摸有效时间、电容阈值更新下限值和噪声电容平均值,判断是否记录待调节按键的电容值为第一电容值;以及触摸阈值调节单元,被配置为在记录的待调节按键的第一电容值个数大于第一个数阈值时,根据记录的待调节按键的第一电容值的平均值,调节待调节按键的触摸阈值。According to another aspect of the present disclosure, a device for adjusting a key touch threshold is also proposed, comprising: a capacitance value recording unit, configured to determine whether the capacitance value of the key to be adjusted is recorded as a first capacitance value based on the number of valid keys, the effective touch time of the key to be adjusted, the capacitance threshold update lower limit value and the noise capacitance average value; and a touch threshold adjustment unit, configured to adjust the touch threshold of the key to be adjusted according to the average value of the recorded first capacitance values of the key to be adjusted when the number of recorded first capacitance values of the key to be adjusted is greater than a first number threshold.
在一些实施例中,电容值记录单元被配置为在待调节按键为有效按键,且被触摸有效时间小于有效持续时间,相同时间内的有效按键个数小于等于第二个数阈值的情况下,记录待调节按键的电容值为第一电容值;在待调节按键为无效按键,但待调节按键的电容值大于电容阈值更新下限值的情况下,记录待调节按键的电容值为第一电容值;以及在待调节按键为无效按键,且待调节按键的电容值小于等于阈值更新下限值的情况下,若检测到待调节按键的电容值大于噪声电容平均值的第一倍数的次数大于次数阈值时,则记录待调节按键的电容值为第一电容值。In some embodiments, the capacitance value recording unit is configured to record the capacitance value of the key to be adjusted as the first capacitance value when the key to be adjusted is a valid key, the effective touch time is less than the effective duration, and the number of valid keys within the same time is less than or equal to a second numerical threshold; to record the capacitance value of the key to be adjusted as the first capacitance value when the key to be adjusted is an invalid key, but the capacitance value of the key to be adjusted is greater than the capacitance threshold update lower limit value; and to record the capacitance value of the key to be adjusted as the first capacitance value when the key to be adjusted is an invalid key, and the capacitance value of the key to be adjusted is less than or equal to the threshold update lower limit value, if it is detected that the capacitance value of the key to be adjusted is greater than the first multiple of the average value of the noise capacitance for a number greater than the number threshold.
在一些实施例中,噪声电容平均值调节单元,被配置为对多次记录的待调节按键的第二电容值进行平均值计算,得到噪声电容平均值,其中,电容值记录单元还被配置为在待调节按键的电容值小于噪声电容阈值,且小于噪声电容平均值的第二倍数时,记录待调节按键的电容值为第二电容值,其中,第二倍数小于第一倍数,噪声电容阈值小于阈值更新下限值。In some embodiments, the noise capacitance average value adjustment unit is configured to calculate the average value of the second capacitance values of the key to be adjusted that are recorded multiple times to obtain the noise capacitance average value, wherein the capacitance value recording unit is also configured to record the capacitance value of the key to be adjusted as the second capacitance value when the capacitance value of the key to be adjusted is less than the noise capacitance threshold and less than the second multiple of the noise capacitance average value, wherein the second multiple is less than the first multiple, and the noise capacitance threshold is less than the threshold update lower limit value.
根据本公开的另一方面,还提出一种调节按键触摸阈值的装置,包括:存储器;以及耦接至存储器的处理器,处理器被配置为基于存储在存储器的指令执行如上的调节按键触摸阈值的方法。According to another aspect of the present disclosure, a device for adjusting a key touch threshold is also proposed, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the above method for adjusting the key touch threshold based on instructions stored in the memory.
根据本公开的另一方面,还提出一种非瞬时性计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现上述的调节按键触摸阈值的方法。According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is also provided, on which computer program instructions are stored, and when the instructions are executed by a processor, the above-mentioned method for adjusting the key touch threshold is implemented.
本公开实施例中,通过优化按键的触摸阈值的调节方法,提高触摸阈值计算的准确性,确保触摸按键灵敏度始终保持在合适的水平,并且能够在触摸按键的电容值很小的时候也能调节触摸阈值,使得按键正常操作。In the disclosed embodiments, by optimizing the touch threshold adjustment method of the key, the accuracy of the touch threshold calculation is improved to ensure that the sensitivity of the touch key is always maintained at an appropriate level, and the touch threshold can be adjusted even when the capacitance value of the touch key is very small, so that the key can operate normally.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
图1为本公开的调节按键触摸阈值的方法的一些实施例的流程示意图。FIG. 1 is a schematic flow chart of some embodiments of the method for adjusting a key touch threshold according to the present disclosure.
图2为本公开的调节按键触摸阈值的方法的另一些实施例的流程示意图。FIG. 2 is a schematic flow chart of other embodiments of the method for adjusting a key touch threshold according to the present disclosure.
图3为本公开的调节按键触摸阈值的装置的一些实施例的结构示意图。FIG. 3 is a schematic diagram of the structure of some embodiments of the device for adjusting a key touch threshold according to the present disclosure.
图4为本公开的调节按键触摸阈值的装置的另一些实施例的结构示意图。FIG. 4 is a schematic diagram of the structure of other embodiments of the device for adjusting a key touch threshold according to the present disclosure.
图5为本公开的调节按键触摸阈值的装置的另一些实施例的结构示意图。FIG. 5 is a schematic diagram of the structure of other embodiments of the device for adjusting a key touch threshold according to the present disclosure.
具体实施方式Detailed ways
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为授权说明书的一部分。Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
在使用触摸按键过程中,用户长按按键时,一般会越按越用力,导致按键的电容值会越来越大,如果记录此时的按键的电容值,会导致最终计算出的触摸阈值偏高,导致按键的灵敏度变低。如果同时有多个按键的电容值都产生变化时,说明不是正常的按键操作。例如,用户在擦拭按键面板时,如果此时记录按键的电容值,计算出来的阈值也不是用户正常按键时得出的阈值,导致调节后的按键灵敏度不是合适的灵敏度。When using touch buttons, users usually press harder and harder when they long press the buttons, causing the capacitance value of the buttons to increase. If the capacitance value of the buttons at this time is recorded, the final calculated touch threshold will be too high, resulting in a lower sensitivity of the buttons. If the capacitance values of multiple buttons change at the same time, it means that the button operation is not normal. For example, when the user is wiping the button panel, if the capacitance value of the buttons is recorded at this time, the calculated threshold value is not the threshold value obtained when the user presses the buttons normally, resulting in the adjusted button sensitivity not being the appropriate sensitivity.
另外,相关技术中按键的电容值与平均值的差值在预设差值范围内时才为正常数据,否则不记录。但是“预设差值”是固定的,不能自动调节,且为了防止出现误动作,该“预设差值”一般不会设置很小,这样导致如果出现极端情况,比如触摸按键板跟面板之间粘贴不牢出现间隙较大时,会导致按键按下时电容值变化较小,达不到“预设差值”,也就不会调整阈值,导致按键彻底失灵。In addition, in the related art, the difference between the capacitance value of a key and the average value is normal data only when it is within the preset difference range, otherwise it will not be recorded. However, the "preset difference" is fixed and cannot be adjusted automatically, and in order to prevent malfunctions, the "preset difference" is generally not set very small. This will result in extreme situations, such as when the touch key board is not firmly attached to the panel and there is a large gap, the capacitance value will change less when the key is pressed, and the "preset difference" will not be reached, so the threshold will not be adjusted, resulting in complete failure of the key.
图1为本公开的调节按键触摸阈值的方法的一些实施例的流程示意图。FIG. 1 is a schematic flow chart of some embodiments of the method for adjusting a key touch threshold according to the present disclosure.
在步骤110,根据有效按键个数、待调节按键的被触摸有效时间、电容阈值更新下限值和噪声电容平均值,判断是否记录待调节按键的电容值为第一电容值。In step 110, it is determined whether the capacitance value of the key to be adjusted is recorded as the first capacitance value according to the number of valid keys, the effective touch time of the key to be adjusted, the capacitance threshold update lower limit value and the noise capacitance average value.
在该步骤中,并不是每次检测到待调节按键的电容值,都将该电容值记录为第一电容值。该第一电容阈值为后续计算按键的触摸阈值的参数。该待调节按键为触摸按键。In this step, not every time the capacitance value of the key to be adjusted is detected, the capacitance value is recorded as the first capacitance value. The first capacitance threshold is a parameter for subsequently calculating the touch threshold of the key. The key to be adjusted is a touch key.
在一些实施例中,在待调节按键为有效按键,且被触摸有效时间小于有效持续时间,相同时间内的有效按键个数小于等于第二个数阈值的情况下,记录待调节按键的电容值为第一电容值。In some embodiments, when the key to be adjusted is a valid key, and the effective touch time is less than the effective duration, and the number of valid keys in the same time is less than or equal to the second numerical threshold, the capacitance value of the key to be adjusted is recorded as the first capacitance value.
当有人体或者其他导电物体靠近触摸按键时,按键的电容值会产生变化。在一些实施例中,每隔预定时间检测每个按键的电容值C,在按键的电容值C大于有效电容阈值Cy时,确定该按键为有效按键,即该按键被有效触摸。在有多个按键时,记录相同时间内的有效按键个数N,和有效按键的持续时间T。在相同时间内的有效按键个数大于第二阈值个数时,例如大于1个或2个时,说明不是正常按键操作,因此,不将此时的电容值作为后续计算按键的触摸阈值的参数。在该按键被触摸的有效时间大于有效持续时间,例如,大于1秒时,说明用户长按按键,按键的电容值会越来越大,因此,不将此时的电容值作为后续计算按键的触摸阈值的参数。When a human body or other conductive object approaches the touch key, the capacitance value of the key will change. In some embodiments, the capacitance value C of each key is detected at predetermined intervals, and when the capacitance value C of the key is greater than the effective capacitance threshold Cy, the key is determined to be a valid key, that is, the key is effectively touched. When there are multiple keys, the number of valid keys N and the duration T of the valid keys in the same time are recorded. When the number of valid keys in the same time is greater than the second threshold number, for example, greater than 1 or 2, it means that it is not a normal key operation, and therefore, the capacitance value at this time is not used as a parameter for the subsequent calculation of the touch threshold of the key. When the effective time of the key being touched is greater than the effective duration, for example, greater than 1 second, it means that the user presses the key for a long time, and the capacitance value of the key will become larger and larger. Therefore, the capacitance value at this time is not used as a parameter for the subsequent calculation of the touch threshold of the key.
在一些实施例中,在待调节按键为无效按键,但待调节按键的电容值大于电容阈值更新下限值的情况下,记录待调节按键的电容值为第一电容值。In some embodiments, when the key to be adjusted is an invalid key but the capacitance value of the key to be adjusted is greater than the capacitance threshold update lower limit value, the capacitance value of the key to be adjusted is recorded as the first capacitance value.
如果按键的电容值太小,可能是短时间内噪声或者非正常操作引起的按键的电容值微小变化,因此,需要在待调节按键的电容值C大于电容阈值更新下限值Cj时,才将该电容值作为后续计算按键的触摸阈值的参数。If the capacitance value of the key is too small, it may be a slight change in the capacitance value of the key caused by noise or abnormal operation in a short period of time. Therefore, it is necessary to use the capacitance value C of the key to be adjusted as a parameter for subsequent calculation of the touch threshold of the key only when it is greater than the capacitance threshold update lower limit value Cj.
在一些实施例中,在待调节按键为无效按键,且待调节按键的电容值小于等于阈值更新下限值的情况下,若检测到待调节按键的电容值大于噪声电容平均值的第一倍数的次数大于次数阈值时,则记录待调节按键的电容值为第一电容值。In some embodiments, when the key to be adjusted is an invalid key and the capacitance value of the key to be adjusted is less than or equal to the threshold update lower limit value, if it is detected that the capacitance value of the key to be adjusted is greater than the first multiple of the average value of the noise capacitance for a number greater than the number threshold, the capacitance value of the key to be adjusted is recorded as the first capacitance value.
在按键的电容值比较小时,例如,小于电容阈值更新下限值Cj,如果多次检测到电容值大于噪声电容平均值Cn的1+K倍时,则可能是因为按键板跟面板直接出现间隙等原因引起的按键电容值变小,此时可以将该电容值作为后续计算按键的触摸阈值的参数。When the capacitance value of the key is relatively small, for example, less than the capacitance threshold update lower limit value Cj, if the capacitance value is detected to be greater than 1+K times the noise capacitance average value Cn for multiple times, it may be due to reasons such as a gap between the key plate and the panel that causes the key capacitance value to become smaller. At this time, the capacitance value can be used as a parameter for subsequent calculation of the key touch threshold.
在步骤120,在记录的待调节按键的第一电容值个数大于第一个数阈值时,根据记录的待调节按键的第一电容值的平均值,调节待调节按键的触摸阈值。In step 120, when the number of recorded first capacitance values of the key to be adjusted is greater than a first numerical threshold, the touch threshold of the key to be adjusted is adjusted according to an average value of the recorded first capacitance values of the key to be adjusted.
在一些实施例中,在记录的待调节按键的第一电容值个数达到预设个数时,则计算待调节按键的触摸阈值。In some embodiments, when the number of recorded first capacitance values of the key to be adjusted reaches a preset number, the touch threshold of the key to be adjusted is calculated.
在一些实施例中,将待调节按键的第一电容值的平均值,去除噪声电容平均值的第二倍数后得到的电容值,作为待调节按键的触摸阈值,第二倍数小于第一倍数。触摸阈值要比按键的平均电容值小,由于检测到的电容值累加了噪声值,因此,可以减去噪声值后确定触摸阈值。In some embodiments, the capacitance value obtained by removing the second multiple of the average value of the noise capacitance from the average value of the first capacitance value of the key to be adjusted is used as the touch threshold of the key to be adjusted, and the second multiple is smaller than the first multiple. The touch threshold is smaller than the average capacitance value of the key, and since the detected capacitance value accumulates the noise value, the touch threshold can be determined by subtracting the noise value.
在一些实施例中,将待调节按键的第一电容值的平均值,乘以噪声影响因子系数后得到的电容值,作为待调节按键的触摸阈值,其中,噪声影响因子系数小于1。该噪声影响因子系数例如设置为0.5-0.8,能够减少噪声对触摸阈值的影响。In some embodiments, the capacitance value obtained by multiplying the average value of the first capacitance value of the key to be adjusted by the noise impact factor coefficient is used as the touch threshold of the key to be adjusted, wherein the noise impact factor coefficient is less than 1. The noise impact factor coefficient is set to 0.5-0.8, for example, to reduce the impact of noise on the touch threshold.
在上述实施例中,通过优化按键的触摸阈值的调节方法,提高触摸阈值计算的准确性,确保触摸按键灵敏度始终保持在合适的水平,并且能够在触摸按键的电容值很小的时候也能调节触摸阈值,使得按键正常操作。In the above embodiment, by optimizing the adjustment method of the touch threshold of the key, the accuracy of the touch threshold calculation is improved, ensuring that the sensitivity of the touch key is always maintained at an appropriate level, and the touch threshold can be adjusted even when the capacitance value of the touch key is very small, so that the key can operate normally.
在本公开的另一些实施例中,在待调节按键的电容值小于噪声电容阈值,且小于噪声电容平均值的第二倍数时,记录待调节按键的电容值为第二电容值,其中,第二倍数小于第一倍数,噪声电容阈值小于阈值更新下限值;对多次记录的待调节按键的第二电容值进行平均值计算,得到噪声电容平均值。In other embodiments of the present disclosure, when the capacitance value of the key to be adjusted is less than the noise capacitance threshold and less than the second multiple of the noise capacitance average value, the capacitance value of the key to be adjusted is recorded as the second capacitance value, wherein the second multiple is less than the first multiple, and the noise capacitance threshold is less than the threshold update lower limit value; the average value of the second capacitance values of the key to be adjusted recorded multiple times is calculated to obtain the noise capacitance average value.
没有物体靠近按键时,由于电源的波动、器件参数的波动、环境的变化或者其他原因,也会导致按键的电容值C产生变化,该电容值称为噪声电容值,而且电容值C有可能是负值。在一些实施例中,在待调节按键的电容值C大于0,小于噪声电容阈值Ci,且小于噪声电容平均值Cn的K倍时,将该电容值记录为后续进行计算噪声电容平均值的参数。K的取值例如为1.5~2,即按键的电容值C小于噪声电容平均值的1.5~2倍时才让电容值C值参与噪声电容值的计算。When there is no object near the button, the capacitance value C of the button may also change due to power fluctuations, device parameter fluctuations, environmental changes or other reasons. This capacitance value is called the noise capacitance value, and the capacitance value C may be negative. In some embodiments, when the capacitance value C of the button to be adjusted is greater than 0, less than the noise capacitance threshold Ci, and less than K times the noise capacitance average value Cn, the capacitance value is recorded as a parameter for subsequent calculation of the noise capacitance average value. The value of K is, for example, 1.5 to 2, that is, the capacitance value C is included in the calculation of the noise capacitance value only when the capacitance value C of the button is less than 1.5 to 2 times the noise capacitance average value.
在一些实施例中,利用公式Cn=∑Cm/m,计算噪声电容平均值Cn,其中,Cm为第m次记录的第二电容值,在一些实施例中,m的取值最大为100,当记录的第二电容值超过100个时,剔除更早记录的第二电容值,以更新计算噪声电容平均值,本领域的技术人员应该理解,m的最大取值可以根据实际情况进行设定。In some embodiments, the noise capacitance average value Cn is calculated using the formula Cn=∑Cm/m, where Cm is the second capacitance value recorded for the mth time. In some embodiments, the maximum value of m is 100. When the recorded second capacitance values exceed 100, the second capacitance values recorded earlier are eliminated to update the calculated noise capacitance average value. Those skilled in the art should understand that the maximum value of m can be set according to actual conditions.
在上述实施例中,能够动态调节噪声电容平均值,进而在按键的电容值较小时,根据按键的电容值跟噪声电容平均值的大小判断是否记录按键的电容值,使得在按键的电容值较小时,在避免噪声引起的按键误动作的同时,也能调节阈值使得按键可以正常响应。In the above embodiment, the average value of the noise capacitance can be dynamically adjusted, and then when the capacitance value of the key is small, it is determined whether to record the capacitance value of the key based on the size of the capacitance value of the key and the average value of the noise capacitance. When the capacitance value of the key is small, while avoiding false operation of the key caused by noise, the threshold can also be adjusted so that the key can respond normally.
图2为本公开的调节按键触摸阈值的方法的另一些实施例的流程示意图。FIG. 2 is a schematic flow chart of other embodiments of the method for adjusting a key touch threshold according to the present disclosure.
在步骤210,记录有效按键的个数N和每个按键被触摸的有效时间T。In step 210, the number N of valid keys and the effective time T of each key being touched are recorded.
在一些实施例中,每个按键都有对应的有效电容阈值Cy,定期检测每个按键的电容值C,例如,每隔10ms检测每个按键的电容值C,在按键的电容值达到有效电容阈值Cy时,记录该按键为有效按键。In some embodiments, each key has a corresponding effective capacitance threshold Cy, and the capacitance value C of each key is detected periodically, for example, the capacitance value C of each key is detected every 10 ms. When the capacitance value of the key reaches the effective capacitance threshold Cy, the key is recorded as a valid key.
在步骤220,判断待调节按键是否为有效按键,若是,则执行步骤230,否则,执行步骤270。In step 220 , it is determined whether the key to be adjusted is a valid key. If so, step 230 is executed; otherwise, step 270 is executed.
在步骤230,判断相同时间内的有效按键个数N是否大于0且小于等于2,若是,则执行步骤240,否则,执行步骤260。In step 230 , it is determined whether the number N of valid keys in the same time is greater than 0 and less than or equal to 2. If so, step 240 is executed; otherwise, step 260 is executed.
在该步骤中,设置个数阈值为2,对于联动按键或者组合按键,有时会同时触摸两个。本领域的技术人员应当理解,若没有组合按键,则个数阈值应该设置为1,若有组合按键,但组合按键个数为3,则该个数阈值设置为3。In this step, the number threshold is set to 2. For linkage keys or combination keys, two keys may be touched at the same time. Those skilled in the art should understand that if there is no combination key, the number threshold should be set to 1. If there is a combination key, but the number of combination keys is 3, the number threshold should be set to 3.
在步骤240,判断该待调节按键被触摸的有效时间T是否小于等于1S,若是,则执行步骤250,否则,执行步骤260。In step 240 , it is determined whether the effective time T of the key to be adjusted being touched is less than or equal to 1 second. If so, step 250 is executed; otherwise, step 260 is executed.
在步骤250,将电容值记录为第一电容值。At step 250 , the capacitance value is recorded as a first capacitance value.
在步骤260,不记录该电容值。In step 260, the capacitance value is not recorded.
由于用户长按按键时,一般会越按越用力,导致按键电容值会越来越大,如果记录此时的按键电容值,会导致最终计算出的阈值偏高,导致用户接下来按键的灵敏度变低;另外如果同时有多个按键的电容值都产生变化时,说明不是正常的按键操作,有可能用户在擦拭按键面板,如果此时记录按键的电容值,计算出来的阈值也不是用户正常按键时得出的阈值,导致调节后的按键灵敏度不是合适的灵敏度。因此,在有效按键数量大于2,或者,按键被触摸的有效时间T大于1秒时,不记录该电容值。When users press a button for a long time, they usually press harder and harder, which causes the button capacitance value to increase. If the button capacitance value is recorded at this time, the final calculated threshold value will be too high, resulting in a lower sensitivity for the next button press by the user. In addition, if the capacitance values of multiple buttons change at the same time, it means that it is not a normal button operation. It is possible that the user is wiping the button panel. If the button capacitance value is recorded at this time, the calculated threshold value is not the threshold value obtained when the user presses the button normally, resulting in the adjusted button sensitivity not being the appropriate sensitivity. Therefore, when the number of valid buttons is greater than 2, or the effective time T of the button being touched is greater than 1 second, the capacitance value is not recorded.
在步骤270,判断该待调节按键的电容值C是否大于电容阈值更新下限值Cj,若是,则执行步骤250,否则,执行步骤280。In step 270 , it is determined whether the capacitance value C of the key to be adjusted is greater than the capacitance threshold update lower limit value Cj. If so, step 250 is executed; otherwise, step 280 is executed.
有效电容阈值Cy>电容阈值更新下限值Cj>噪声电容阈值Ci。Effective capacitance threshold Cy> capacitance threshold update lower limit Cj> noise capacitance threshold Ci.
太小的电容值可能是短时间内噪声或者非正常操作引起的按键电容值微小变化,不能算作正常的电容值,因此,在没有有效按键时,只有在待调节按键的电容值大于一定的值Cj,才记录该电容值参与触摸阈值的计算。A capacitance value that is too small may be a slight change in the capacitance of the button caused by noise or abnormal operation in a short period of time, and cannot be considered a normal capacitance value. Therefore, when there is no valid button, the capacitance value is recorded and included in the calculation of the touch threshold only when the capacitance value of the button to be adjusted is greater than a certain value Cj.
在步骤280,判断是否k次检查到待调节按键的电容值C大于噪声电容平均值Cn的1+K倍,若是,则执行步骤250,否则,执行步骤260。In step 280 , it is determined whether the capacitance value C of the key to be adjusted is greater than 1+K times of the average value Cn of the noise capacitance after k checks. If so, step 250 is executed; otherwise, step 260 is executed.
当按键电容值比较小时,也有可能是因为按键板跟面板直接出现间隙等原因引起的按键电容值变小,这种情况下,当检测到电容值多次大于噪声电容平均值Cn的1+K倍时,认为是正常的用户按键操作,所以也会记录该电容值以更新阈值,使得这种情况下也能响应用户的按键操作。When the key capacitance value is relatively small, it may also be caused by a gap between the key plate and the panel. In this case, when the capacitance value is detected to be greater than 1+K times the average value of the noise capacitance Cn for multiple times, it is considered to be a normal user key operation, so the capacitance value will also be recorded to update the threshold so that the user's key operation can be responded to in this case.
在步骤290,判断记录的第一电容值的个数是否到达预定个数,若是,则执行步骤2100,否则,继续执行步骤210。In step 290 , it is determined whether the number of recorded first capacitance values reaches a predetermined number. If so, step 2100 is executed; otherwise, step 210 is continued to be executed.
在步骤2100,计算按键的触摸阈值。In step 2100, the touch threshold of the key is calculated.
在一些实施例中,利用公式Cq=∑Cp/p-Cn*K,计算触摸阈值Cq,其中,Cp为第p次记录的第一电容值。在一些实施例中,p的最大取值为100。在记录的第一电容值超过预定个数时,剔除最早记录的第一电容阈值,以更新计算触摸阈值。In some embodiments, the touch threshold Cq is calculated using the formula Cq=∑Cp/p-Cn*K, where Cp is the first capacitance value recorded for the pth time. In some embodiments, the maximum value of p is 100. When the first capacitance value recorded exceeds a predetermined number, the earliest recorded first capacitance threshold is removed to update the calculated touch threshold.
在上述实施例中,能够剔除多个有效按键、有效按键持续时间超过1秒时的电容值的记录,避免这些情况下记录的电容值计算出来的新阈值不是合适的阈值;另外,在按键电容值较小时,在避免噪声引起的按键误动作的同时,也能自动调节阈值使得按键可以正常响应,使得触摸按键灵敏度始终保持在合适的水平。In the above embodiment, the records of capacitance values when there are multiple valid keys or when the duration of a valid key press exceeds 1 second can be eliminated to avoid the situation where the new threshold calculated from the capacitance values recorded in these cases is not an appropriate threshold; in addition, when the key capacitance value is small, while avoiding key misoperation caused by noise, the threshold can also be automatically adjusted so that the key can respond normally, so that the sensitivity of the touch key is always maintained at an appropriate level.
图3为本公开的调节按键触摸阈值的装置的一些实施例的结构示意图。该装置包括电容值记录单元310和触摸阈值调节单元320。3 is a schematic diagram of the structure of some embodiments of the device for adjusting the key touch threshold of the present disclosure. The device includes a capacitance value recording unit 310 and a touch threshold adjustment unit 320.
电容值记录单元310被配置为根据有效按键个数、待调节按键的被触摸有效时间、电容阈值更新下限值和噪声电容平均值,判断是否记录待调节按键的电容值为第一电容值。The capacitance value recording unit 310 is configured to determine whether to record the capacitance value of the key to be adjusted as the first capacitance value according to the number of valid keys, the effective touch time of the key to be adjusted, the capacitance threshold update lower limit value and the noise capacitance average value.
在一些实施例中,电容值记录单元310被配置为在待调节按键为有效按键,且被触摸有效时间小于有效持续时间,相同时间内的有效按键个数小于等于第二个数阈值的情况下,记录待调节按键的电容值为第一电容值;在待调节按键为无效按键,但待调节按键的电容值大于电容阈值更新下限值的情况下,记录待调节按键的电容值为第一电容值;以及在待调节按键为无效按键,且待调节按键的电容值小于等于阈值更新下限值的情况下,若检测到待调节按键的电容值大于噪声电容平均值的第一倍数的次数大于次数阈值时,则记录待调节按键的电容值为第一电容值。In some embodiments, the capacitance value recording unit 310 is configured to record the capacitance value of the key to be adjusted as the first capacitance value when the key to be adjusted is a valid key, the effective touch time is less than the effective duration, and the number of valid keys within the same time is less than or equal to a second numerical threshold; to record the capacitance value of the key to be adjusted as the first capacitance value when the key to be adjusted is an invalid key, but the capacitance value of the key to be adjusted is greater than the capacitance threshold update lower limit value; and to record the capacitance value of the key to be adjusted as the first capacitance value when the key to be adjusted is an invalid key, and the capacitance value of the key to be adjusted is less than or equal to the threshold update lower limit value, if it is detected that the capacitance value of the key to be adjusted is greater than the first multiple of the average value of the noise capacitance for a number greater than the number threshold.
在一些实施例中,在待调节按键的电容值大于有效电容阈值时,确定待调节按键为有效按键。In some embodiments, when the capacitance value of the key to be adjusted is greater than the effective capacitance threshold, the key to be adjusted is determined to be a valid key.
触摸阈值调节单元320被配置为在记录的待调节按键的第一电容值个数大于第一个数阈值时,根据记录的待调节按键的第一电容值的平均值,调节待调节按键的触摸阈值。The touch threshold adjustment unit 320 is configured to adjust the touch threshold of the key to be adjusted according to the average value of the recorded first capacitance values of the key to be adjusted when the number of the recorded first capacitance values of the key to be adjusted is greater than a first numerical threshold.
在一些实施例中,触摸阈值调节单元320被配置为将待调节按键的第一电容值的平均值,去除噪声电容平均值的第二倍数后得到的电容值,作为待调节按键的触摸阈值。In some embodiments, the touch threshold adjustment unit 320 is configured to use the capacitance value obtained by removing the second multiple of the average value of the noise capacitance from the average value of the first capacitance value of the key to be adjusted as the touch threshold of the key to be adjusted.
在一些实施例中,触摸阈值调节单元320被配置为将待调节按键的第一电容值的平均值,乘以噪声影响因子系数后得到的电容值,作为待调节按键的触摸阈值,其中,噪声影响因子系数小于1。In some embodiments, the touch threshold adjustment unit 320 is configured to obtain a capacitance value by multiplying the average value of the first capacitance value of the key to be adjusted by the noise impact factor coefficient as the touch threshold of the key to be adjusted, wherein the noise impact factor coefficient is less than 1.
在上述实施例中,通过优化按键的触摸阈值的调节方法,确保触摸按键灵敏度始终保持在合适的水平,并且能够在触摸按键的电容值很小的时候也能调节触摸阈值,使得按键正常操作。In the above embodiment, by optimizing the adjustment method of the touch threshold of the key, it is ensured that the sensitivity of the touch key is always maintained at an appropriate level, and the touch threshold can be adjusted even when the capacitance value of the touch key is very small, so that the key can operate normally.
图4为本公开的调节按键触摸阈值的装置的另一些实施例的结构示意图。该装置还包括噪声电容平均值调节单元410。Fig. 4 is a schematic diagram of the structure of some other embodiments of the device for adjusting the key touch threshold of the present disclosure. The device also includes a noise capacitance average value adjustment unit 410.
电容值记录单元310还被配置为在待调节按键的电容值小于噪声电容阈值,且小于噪声电容平均值的第二倍数时,记录待调节按键的电容值为第二电容值,其中,第二倍数小于第一倍数,噪声电容阈值小于阈值更新下限值。The capacitance value recording unit 310 is also configured to record the capacitance value of the key to be adjusted as a second capacitance value when the capacitance value of the key to be adjusted is less than the noise capacitance threshold and less than the second multiple of the noise capacitance average value, wherein the second multiple is less than the first multiple, and the noise capacitance threshold is less than the threshold update lower limit value.
噪声电容平均值调节单元410被配置为对多次记录的待调节按键的第二电容值进行平均值计算,得到噪声电容平均值。The noise capacitance average value adjustment unit 410 is configured to calculate the average value of the second capacitance values of the key to be adjusted that are recorded multiple times to obtain the noise capacitance average value.
在上述实施例中,能够动态调节噪声电容平均值,进而在按键的电容值较小时,根据按键的电容值跟噪声电容平均值的大小判断是否记录按键的电容值,使得在按键的电容值较小时,在避免噪声引起的按键误动作的同时,也能调节阈值使得按键可以正常响应。In the above embodiment, the average value of the noise capacitance can be dynamically adjusted, and then when the capacitance value of the key is small, it is determined whether to record the capacitance value of the key based on the size of the capacitance value of the key and the average value of the noise capacitance. When the capacitance value of the key is small, while avoiding false operation of the key caused by noise, the threshold can also be adjusted so that the key can respond normally.
图5为本公开的调节按键触摸阈值的装置的另一些实施例的结构示意图。该装置500包括存储器510和处理器520。其中:存储器510可以是磁盘、闪存或其它任何非易失性存储介质。存储器510用于存储图1、2所对应实施例中的指令。处理器520耦接至存储器510,可以作为一个或多个集成电路来实施,例如微处理器或微控制器。该处理器520用于执行存储器中存储的指令。FIG5 is a schematic diagram of the structure of some other embodiments of the device for adjusting the key touch threshold of the present disclosure. The device 500 includes a memory 510 and a processor 520. Among them: the memory 510 can be a disk, a flash memory or any other non-volatile storage medium. The memory 510 is used to store the instructions in the embodiments corresponding to FIGS. 1 and 2. The processor 520 is coupled to the memory 510 and can be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller. The processor 520 is used to execute the instructions stored in the memory.
在一些实施例中,处理器520通过BUS总线530耦合至存储器510。该装置500还可以通过存储接口540连接至外部存储装置550以便调用外部数据,还可以通过网络接口560连接至网络或者另外一台计算机系统(未标出),此处不再进行详细介绍。In some embodiments, the processor 520 is coupled to the memory 510 via a BUS 530. The device 500 can also be connected to an external storage device 550 via a storage interface 540 to call external data, and can also be connected to a network or another computer system (not shown) via a network interface 560, which will not be described in detail here.
在该实施例中,通过存储器存储数据指令,再通过处理器处理上述指令,能够解决现有触摸阈值调节不合理或不全面,导致按键不灵敏或者失灵的问题。In this embodiment, the memory stores data instructions, and the processor processes the instructions, thereby solving the problem of unreasonable or incomplete adjustment of existing touch thresholds, which leads to insensitive or malfunctioning keys.
在另一些实施例中,一种计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现图1、2所对应实施例中的方法的步骤。本领域内的技术人员应明白,本公开的实施例可提供为方法、装置、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。In other embodiments, a computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the steps of the method in the corresponding embodiments of Figures 1 and 2. It should be understood by those skilled in the art that the embodiments of the present disclosure can be provided as methods, devices, or computer program products. Therefore, the present disclosure can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure can take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
本公开是参照根据本公开实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to the flowcharts and/or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each process and/or box in the flowchart and/or block diagram and the combination of the processes and/or boxes in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
至此,已经详细描述了本公开。为了避免遮蔽本公开的构思,没有描述本领域所公知的一些细节。本领域技术人员根据上面的描述,完全可以明白如何实施这里公开的技术方案。So far, the present disclosure has been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.
虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。本领域的技术人员应该理解,可在不脱离本公开的范围和精神的情况下,对以上实施例进行修改。本公开的范围由所附权利要求来限定。Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims (9)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110302434.7A CN113037268B (en) | 2021-03-22 | 2021-03-22 | Method and device for adjusting key touch threshold |
PCT/CN2021/135655 WO2022199121A1 (en) | 2021-03-22 | 2021-12-06 | Method and apparatus for adjusting touch threshold of key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110302434.7A CN113037268B (en) | 2021-03-22 | 2021-03-22 | Method and device for adjusting key touch threshold |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113037268A CN113037268A (en) | 2021-06-25 |
CN113037268B true CN113037268B (en) | 2024-07-16 |
Family
ID=76472317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110302434.7A Active CN113037268B (en) | 2021-03-22 | 2021-03-22 | Method and device for adjusting key touch threshold |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113037268B (en) |
WO (1) | WO2022199121A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113037268B (en) * | 2021-03-22 | 2024-07-16 | 珠海格力电器股份有限公司 | Method and device for adjusting key touch threshold |
CN113391588A (en) * | 2021-06-28 | 2021-09-14 | 佛山市顺德区美的电子科技有限公司 | Household appliance, self-checking control method and system thereof and storage medium |
CN117687535B (en) * | 2024-02-01 | 2024-04-16 | 苏州华芯微电子股份有限公司 | Capacitance touch key reference value correction method, device, equipment and readable medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101566901A (en) * | 2008-04-23 | 2009-10-28 | 索尼爱立信移动通信日本株式会社 | Contact-sensing device, mobile information terminal, and capacitance calibration program and method |
CN111934660A (en) * | 2020-07-15 | 2020-11-13 | 珠海格力电器股份有限公司 | Method for adjusting key touch threshold and touch key display screen |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102386904A (en) * | 2010-08-31 | 2012-03-21 | 康佳集团股份有限公司 | Response method and system of capacitive sensing touch key and touch equipment |
US20130207913A1 (en) * | 2012-02-09 | 2013-08-15 | Sony Mobile Communications Inc. | Touch panel device, portable terminal, position detecting method, and recording medium |
CN102751972A (en) * | 2012-07-27 | 2012-10-24 | 冠捷显示科技(厦门)有限公司 | Implement method for learning and correcting of touch button |
CN105487697B (en) * | 2014-09-15 | 2021-04-02 | 中兴通讯股份有限公司 | Method and device for preventing touch screen key failure |
CN105045454B (en) * | 2015-08-27 | 2017-10-17 | 广东欧珀移动通信有限公司 | A kind of terminal false-touch prevention method and terminal |
CN107291226A (en) * | 2017-06-12 | 2017-10-24 | 深圳市创梦天地科技股份有限公司 | Control method and device, terminal based on touch gestures |
CN110824378B (en) * | 2019-10-31 | 2022-02-15 | 中电海康无锡科技有限公司 | Touch key detection method |
CN111352534B (en) * | 2020-03-13 | 2021-05-28 | 珠海格力电器股份有限公司 | Touch key touch threshold correction method, wire controller, electric appliance and computer readable storage medium |
CN111953326A (en) * | 2020-07-16 | 2020-11-17 | 珠海格力电器股份有限公司 | Dynamic adjustment method for key touch threshold and touch key display screen |
CN113037268B (en) * | 2021-03-22 | 2024-07-16 | 珠海格力电器股份有限公司 | Method and device for adjusting key touch threshold |
-
2021
- 2021-03-22 CN CN202110302434.7A patent/CN113037268B/en active Active
- 2021-12-06 WO PCT/CN2021/135655 patent/WO2022199121A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101566901A (en) * | 2008-04-23 | 2009-10-28 | 索尼爱立信移动通信日本株式会社 | Contact-sensing device, mobile information terminal, and capacitance calibration program and method |
CN111934660A (en) * | 2020-07-15 | 2020-11-13 | 珠海格力电器股份有限公司 | Method for adjusting key touch threshold and touch key display screen |
Also Published As
Publication number | Publication date |
---|---|
CN113037268A (en) | 2021-06-25 |
WO2022199121A1 (en) | 2022-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113037268B (en) | Method and device for adjusting key touch threshold | |
CN108985553B (en) | Abnormal user identification method and equipment | |
CN107395877B (en) | A terminal accident prevention method and terminal | |
WO2020140369A1 (en) | Data recovery control method, server and storage medium | |
US20180203986A1 (en) | Fingerprint Recognition Method and Apparatus, and Touchscreen Terminal | |
CN108089765B (en) | Touch screen sensitivity adjusting method and device and touch screen | |
CN103685074B (en) | Rack-mounted server system and the method automatically managing frame configuration information | |
WO2018205485A1 (en) | False touch prevention method and system for touch control screen | |
CN110704121A (en) | Operation retry method, system and computer device | |
CN105303174A (en) | Fingerprint input method and device | |
US11054947B2 (en) | Key reference updating method and module, and terminal device | |
CN109521889B (en) | Input method and device, terminal and storage medium | |
WO2018129655A1 (en) | Service processing method and system for self-service terminal | |
CN106441349A (en) | Fake message judgment method and device based on pedometer messages | |
CN110704508B (en) | Intelligent production line abnormal data processing method and device | |
JP4449929B2 (en) | Transaction apparatus, delay fault detection apparatus and method, and program | |
CN114721551A (en) | Intelligent false touch prevention method and device, intelligent touch equipment and storage medium | |
WO2014183527A1 (en) | Method and device for managing touch-control area, and computer storage medium | |
CN114444570A (en) | Fault detection method, device, electronic equipment and medium | |
CN111522470B (en) | Touch data processing method and device, electronic equipment and storage medium | |
TWI622921B (en) | Capacitance value detecting method of touch device | |
WO2023169173A1 (en) | Memory cleaning method and apparatus, storage medium, and electronic device | |
CN115410235A (en) | Fingerprint entry method, device, storage medium and terminal | |
CN106527907B (en) | Screen capture processing method and device for intelligent terminal | |
CN105335022A (en) | AGC (automatic gain control) method and system for infrared geminate transistor touch screen |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241228 Address after: Unit A916, Building 2 (Entrepreneurship Building A), Tsinghua Science and Technology Park (Zhuhai), No. 101 Daxue Road, Tangjiawan Town, National High tech Development Zone, Zhuhai City, Guangdong Province, 519000 Patentee after: Zhuhai Aviv Information Technology Co.,Ltd. Country or region after: China Patentee after: GREE ELECTRIC APPLIANCES,Inc.OF ZHUHAI Address before: 519070, Jinji Hill Road, front hill, Zhuhai, Guangdong Patentee before: GREE ELECTRIC APPLIANCES,Inc.OF ZHUHAI Country or region before: China |