Key failure calibration method and device and storage medium

By using preset time intervals to obtain the detection capacitance value and correct the reference capacitance value in the capacitance key device, the inconvenience caused by false triggering is solved, and automatic calibration and false triggering are avoided.

CN120074490APending Publication Date: 2025-05-30BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311608961.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

When existing capacitive touch buttons are triggered by mistake, it is difficult for users to eliminate the causes of false touch in a timely manner, resulting in inconvenience.

Method used

By setting a preset time interval in the device, the reference capacitance value of the touch button is obtained, and the reference capacitance value is corrected to avoid false triggering according to the comparison of the detection capacitance value and the reference capacitance value.

Benefits of technology

It realizes automatic calibration without user participation in the case of false triggering, avoids false triggering of touch buttons and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120074490A_ABST
    Figure CN120074490A_ABST
Patent Text Reader

Abstract

The invention provides a key failure calibration method and device and a storage medium. The method comprises the following steps: according to the calibration method of the touch key provided by the invention, obtaining a detection capacitance value of at least one touch key according to a preset time interval; and if it is determined that the at least one touch key is falsely triggered according to the detection capacitance value and a reference capacitance value, correcting the reference capacitance value by using the detection capacitance value, and raising the reference capacitance value in a manner of correcting the reference capacitance value through the detection capacitance value. Therefore, the capacitance variable quantity determined by the detected capacitance value and the corrected reference capacitance value cannot reach the triggering condition, so that the touch key is prevented from being mistakenly triggered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The technical solution of the present disclosure relates to the field of household electrical appliances, and particularly relates to a calibration method and device for button failure and a storage medium. Background Art

[0002] Currently, more and more electronic devices use capacitive touch buttons to implement function control. The principle of capacitive touch buttons is that when a user's finger touches a touch button, a capacitance will be generated between the finger and the sensing electrode on the button, causing the subsequent circuit to detect a voltage change, thereby triggering the function of the touch button. To avoid false triggering caused by the capacitance generated when other conductive substances (such as water droplets, insects, etc.) touch the button, in the program algorithm, a threshold is set, and it is determined that the button is triggered when the capacitance change amount is greater than the threshold. However, in actual application, the capacitance change amount caused by water accumulation or heavy object contact may be greater than the threshold, resulting in false triggering of the touch button. In related technologies, when the touch button is falsely triggered, the user needs to participate in eliminating the cause of the false triggering. When the user is out, the cause of the false triggering cannot be eliminated in time, which brings inconvenience to the user. Summary of the Invention

[0003] In view of this, the present disclosure provides a calibration method and device for button failure and a storage medium.

[0004] According to the first aspect of the embodiments of the present disclosure, a calibration method for a touch button is provided, which is applied to a device with a touch screen. The touch screen includes at least one touch button, and the method includes:

[0005] Obtaining the detected capacitance value of the at least one touch button at a preset time interval;

[0006] If it is determined that the at least one touch button is falsely triggered according to the detected capacitance value and the reference capacitance value, the reference capacitance value is corrected by using the detected capacitance value.

[0007] In some embodiments, the method further includes:

[0008] If it is determined that the at least one touch button fails according to the detected capacitance value and the reference capacitance value, the parasitic capacitance value when the at least one touch button is not touched is obtained, and the reference capacitance value is corrected according to the parasitic capacitance value.

[0009] In some embodiments, the determining that the at least one touch button fails according to the detected capacitance value and the reference capacitance value includes:

[0010] If the detected capacitance value is greater than the reference capacitance value and less than the first capacitance threshold, it is determined that the touch operation triggering the detected capacitance value is an invalid operation;

[0011] If the number of consecutive invalid operations is greater than a preset number within a first preset time, it is determined that the touch button fails.

[0012] In some embodiments, determining that at least one touch button fails according to the detected capacitance value and the reference capacitance value includes:

[0013] When it is detected that the detected capacitance value is greater than the reference capacitance value and less than a first capacitance threshold, start timing;

[0014] If the duration of maintaining the above state is greater than a second preset duration, it is determined that the touch button fails.

[0015] In some embodiments, the device includes a washing machine.

[0016] According to a second aspect of the embodiments of the present disclosure, there is provided a calibration device for a touch button, which is applied to a device with a touch screen, and at least one touch button is included on the touch screen. The device includes:

[0017] An acquisition unit, configured to acquire the detected capacitance values of the at least one touch button at preset time intervals;

[0018] A calibration unit, configured to correct the reference capacitance value by using the detected capacitance value if it is determined that the at least one touch button is triggered erroneously according to the detected capacitance value and the reference capacitance value.

[0019] According to a third aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of any method described in the first aspect above are implemented.

[0020] According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic device, including:

[0021] A processor;

[0022] A memory for storing processor-executable instructions;

[0023] Wherein, the processor is configured to:

[0024] Acquire the detected capacitance values of the at least one touch button at preset time intervals;

[0025] If it is determined that the at least one touch button is triggered erroneously according to the detected capacitance value and the reference capacitance value, correct the reference capacitance value by using the detected capacitance value.

[0026] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0027] The calibration method for touch keys provided by the present disclosure obtains the detected capacitance values of at least one touch key at preset time intervals; if it is determined that the at least one touch key is accidentally triggered according to the detected capacitance values and the reference capacitance value, the reference capacitance value is corrected using the detected capacitance values, and the reference capacitance value is increased by correcting the reference capacitance value with the detected capacitance values, so that the capacitance change amount determined by the detected capacitance value and the corrected reference capacitance value cannot reach the trigger condition, thereby avoiding accidental triggering of the touch key.

[0028] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.

[0030] Figure 1 It is a flowchart of a calibration method for a touch key provided by an exemplary embodiment of the present disclosure;

[0031] Figure 2 It is a flowchart of another calibration method shown by an exemplary embodiment of the present disclosure;

[0032] Figure 3 It is a schematic diagram of a calibration device for a touch key shown by an exemplary embodiment of the present disclosure;

[0033] Figure 4 It is a schematic diagram of the structure of an electronic device shown by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0035] The terms used in the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular forms "a", "the" and "said" used in the present disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0036] It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0037] In the case where the touch key of the device is detected to be accidentally triggered, usually user participation is required for processing, such as removing the heavy object causing the accidental trigger, or wiping the water stain accumulated on the touch key, etc. However, in the case where the user is out or not convenient to process, the operation reminder caused by the accidental trigger will cause trouble to the user.

[0038] In view of this, the present disclosure provides a calibration method for a touch key. In the case where the touch key is detected to be accidentally triggered, the reference capacitance value is corrected by using the currently detected capacitance value. By raising the reference capacitance value, the capacitance change amount between the currently detected capacitance value and the reference capacitance value cannot meet the trigger condition, thereby solving the problem that the touch key is accidentally triggered.

[0039] The touch key calibration method provided by the present disclosure can be applied to a device with a touch screen, and at least one touch key may be included on the capacitive touch screen. The following will describe in detail the calibration method of the touch key according to the embodiments of the present disclosure with reference to the accompanying drawings.

[0040] Figure 1 It is a flowchart of a calibration method for a touch key provided by an exemplary embodiment of the present disclosure. As Figure 1 shown, the calibration method of the touch key may include the following steps 101 to step 102.

[0041] In step 101, the detected capacitance values of the at least one touch key are obtained at preset time intervals.

[0042] The detected capacitance values of one or more touch keys are regularly obtained at preset time intervals. According to the triggering principle of the touch capacitive screen, if the capacitance change amount between the detected capacitance value and the reference capacitance value is greater than the set threshold, the function corresponding to the touch key is executed; if the capacitance change amount between the detected capacitance value and the reference capacitance value is less than or equal to the set threshold, the function corresponding to the touch key is not executed.

[0043] The detected capacitance value is the current actual detected value, and the magnitude of this value is related to the parasitic capacitance generated by the reference capacitance value, key actions, etc.; the reference capacitance value is the detected value when there is no key action, and the magnitude of this value is related to the parasitic capacitance generated by the actual environment, sensing electrodes on the key, etc., and reflects the parasitic capacitance generated by current environmental factors; the set threshold is the critical value for key triggering and can be set according to actual situations.

[0044] In step 102, if it is determined that at least one touch key is mis-triggered based on the detected capacitance value and the reference capacitance value, then the reference capacitance value is corrected using the detected capacitance value.

[0045] In some scenarios, the touch duration corresponding to a mis-trigger is much longer than the touch duration during normal triggering. For example, in a scenario where a heavy object continuously touches the touch key, resulting in a mis-trigger, or the touch key is covered by water stains, causing the touch key to be continuously triggered. If the heavy object or water stains persist, the touch key will be continuously triggered.

[0046] Therefore, if it is determined that at least one touch key is triggered based on the detected capacitance value and the reference capacitance value, then timing starts; if the triggered duration is greater than the preset duration T1, then preparation begins to execute the function corresponding to the touch key. If the triggered duration is greater than the preset duration T2, then execution of the function corresponding to the touch key stops, and the reference capacitance value is corrected using the detected capacitance value. Among them, the preset duration T2 is greater than the preset duration T1.

[0047] It should be noted that when the triggered duration is greater than T1, it indicates that this trigger is a valid trigger, and the corresponding function program is executed, and continuous detection is carried out. Theoretically, if the current trigger is a normal trigger, it will not be detected that the triggered key is continuously in the triggered state. If the triggered key is continuously in the triggered state and the triggered duration is greater than the preset duration T2, it indicates that the current trigger is a mis-trigger. Therefore, execution of the function corresponding to the touch key stops, and the reference capacitance value is corrected using the detected capacitance value. By setting T1 and T2, the normal trigger function of the touch key is prevented from being affected.

[0048] In the related art, when at least one touch key is detected to be accidentally triggered, a buzzer will give an alarm or a prompt message will be sent to the user. However, in the touch key calibration method provided by the present disclosure, if it is determined that the at least one touch key is accidentally triggered based on the detected capacitance value and the reference capacitance value, the reference capacitance value is corrected by using the detected capacitance value. By correcting the reference capacitance value with the detected capacitance value, the reference capacitance value is increased, so that the capacitance change amount determined by the detected capacitance value and the corrected reference capacitance value cannot reach the trigger threshold, thereby avoiding the accidental triggering of the touch key. That is to say, when an accidental trigger is detected, the user does not need to participate in the processing, and the accidental trigger situation can be automatically solved.

[0049] When the device is a washing machine, since the high-temperature and high-humidity environment where the washing machine is located easily causes the touch keys to fail. For example, for a washing machine placed in a bathroom, the touch keys will fail due to the heavy moisture in the bathroom. Another example is that when the washing machine itself performs operations such as washing and drying, it is easy to generate a high-temperature and high-humidity environment. That is to say, the touch keys on the washing machine are easily eroded by moisture and high temperature, resulting in the failure of the touch keys.

[0050] In view of this, Figure 2 is a flowchart of another calibration method shown by the present disclosure according to an exemplary embodiment. As Figure 2 shown, in this embodiment, the detected capacitance values of the at least one touch key are obtained at preset time intervals. If it is determined that the at least one touch key fails based on the detected capacitance values and the reference capacitance value, the parasitic capacitance value when the at least one touch key is not touched is obtained, and the reference capacitance value is corrected according to the parasitic capacitance value.

[0051] When it is detected that at least one touch key fails, the parasitic capacitance value when the at least one touch key is not touched is obtained, and the reference capacitance value is corrected according to the parasitic capacitance value. By re-correcting the reference capacitance value with the parasitic capacitance value, the function of the touch key is restored to normal.

[0052] In some embodiments, the determining that the at least one touch key fails based on the detected capacitance value and the reference capacitance value may include: if the detected capacitance value is greater than the reference capacitance value and less than the first capacitance threshold, it is determined that the touch operation triggering the detected capacitance value is an invalid operation; if the number of consecutive invalid operations is greater than the preset number within the first preset time, it is determined that the touch key fails.

[0053] In real life, when the key fails, the user usually presses the touch key multiple times. Based on this, in this embodiment, the number of consecutive pressing operations within the first preset time is used to determine whether the touch key fails. That is, if the key function is still not triggered after multiple consecutive pressing operations, it means that the touch key has failed.

[0054] For a device, if the detected capacitance value is greater than the reference capacitance value and less than the first capacitance threshold, it indicates that the touch button is triggered but does not reach the trigger condition. In this case, the number of invalid operations within the first preset time can be counted to determine whether the button fails.

[0055] In some other embodiments, determining that at least one touch button fails according to the detected capacitance value and the reference capacitance value may include: starting timing when it is detected that the detected capacitance value is greater than the reference capacitance value and less than the first capacitance threshold; if the duration of maintaining the above state is greater than the second preset duration, determining that the touch button fails.

[0056] In real life, when the button fails, the user will try to trigger the corresponding function by long pressing. Therefore, in this embodiment, whether the touch button fails is determined by detecting the user's long pressing. When it is detected that the detected capacitance value is greater than the reference capacitance value and less than the first capacitance threshold, timing starts, that is, when it is detected that the touch behavior belongs to a normal touch behavior, timing starts. If the duration of the detected capacitance value being greater than the reference capacitance value and less than the first capacitance threshold is greater than the second preset duration, it is determined that the touch button fails.

[0057] In this embodiment, when it is detected that the touch button fails, the parasitic capacitance value when the touch button is not touched is obtained, and the reference capacitance value is corrected according to the parasitic capacitance value, so as to restore the function of the touch button.

[0058] For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present disclosure is not limited by the described action sequence, because according to the present disclosure, certain steps can be performed in other sequences or simultaneously.

[0059] Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to the present disclosure.

[0060] Corresponding to the foregoing method embodiments for realizing application functions, the present disclosure also provides embodiments of an apparatus for realizing application functions and a corresponding terminal.

[0061] Figure 3 It is a schematic diagram of a calibration device for a touch button in an exemplary embodiment of the present disclosure, as Figure 3 shown. The device may include:

[0062] An acquisition unit 301, configured to acquire the detected capacitance value of the at least one touch button at a preset time interval;

[0063] A calibration unit 302, configured to correct the reference capacitance value by using the detected capacitance value if it is determined that at least one touch key is mis-triggered according to the detected capacitance value and the reference capacitance value.

[0064] For the apparatus embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the descriptions of the method embodiments. The apparatus embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0065] Correspondingly, embodiments of the present disclosure provide an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, the processor is configured to:

[0066] Obtain the detected capacitance value of the at least one touch key at preset time intervals;

[0067] If it is determined that at least one touch key is mis-triggered according to the detected capacitance value and the reference capacitance value, correct the reference capacitance value by using the detected capacitance value.

[0068] Figure 4 FIG. is a schematic structural diagram of an electronic device 400 shown according to an exemplary embodiment. For example, the electronic device 400 may be a user device, and may specifically be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, a smart bracelet, a smart running shoe, etc.

[0069] Refer to Figure 4 , the electronic device 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an input / output (I / O) interface 412, a sensor component 414, and a communication component 416.

[0070] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above - mentioned methods. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0071] The memory 404 is configured to store various types of data to support the operation of the device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non - volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read - only memory (EEPROM), erasable programmable read - only memory (EPROM), programmable read - only memory (PROM), read - only memory (ROM), magnetic memory, flash memory, magnetic disks, or optical disks.

[0072] The power component 406 provides power to various components of the electronic device 400. The power component 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 400.

[0073] The multimedia component 408 includes a screen that provides an output interface between the above - mentioned electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The above - mentioned touch sensors can not only sense the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the above - mentioned touch or swipe operations. In some embodiments, the multimedia component 408 includes a front - facing camera and / or a rear - facing camera. When the electronic device 400 is in an operation mode, such as a shooting mode or a video mode, the front - facing camera and / or the rear - facing camera can receive external multimedia data. Each front - facing camera and rear - facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0074] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, the audio component 410 further includes a speaker for outputting audio signals.

[0075] The I / O interface 412 provides an interface between the processing component 402 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.

[0076] The sensor component 414 includes one or more sensors for providing status assessments of various aspects of the electronic device 400. For example, the sensor component 414 can detect the on / off state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400. The sensor component 414 can also detect a change in the position of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor component 414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 414 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 414 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0077] The communication component 416 is configured to facilitate communication between the electronic device 400 and other devices in a wired or wireless manner. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0078] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.

[0079] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 404 including instructions. When the instructions in the storage medium are executed by a processor 420 of the electronic device 400, the electronic device 400 is enabled to execute a calibration method, which includes:

[0080] Obtaining the detected capacitance value of the at least one touch button at a preset time interval;

[0081] If it is determined that the at least one touch button is accidentally triggered according to the detected capacitance value and a reference capacitance value, the reference capacitance value is corrected using the detected capacitance value.

[0082] The non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0083] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only to be regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0084] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A calibration method for touch keys, characterized in that, it is applied to a device with a touch screen, and at least one touch key is included on the touch screen. The method includes: obtaining the detected capacitance value of the at least one touch key at a preset time interval; if it is determined that the at least one touch key is mis-triggered according to the detected capacitance value and the reference capacitance value, then correcting the reference capacitance value by using the detected capacitance value.

2. The method according to claim 1, characterized in that, the method further includes: if it is determined that the at least one touch key fails according to the detected capacitance value and the reference capacitance value, then obtaining the parasitic capacitance value when the at least one touch key is not touched, and correcting the reference capacitance value according to the parasitic capacitance value.

3. The method according to claim 1, characterized in that, determining that the at least one touch key fails according to the detected capacitance value and the reference capacitance value includes: if the detected capacitance value is greater than the reference capacitance value and less than the first capacitance threshold, then determining that the touch operation triggering the detected capacitance value is an invalid operation; if the number of consecutive invalid operations is greater than the preset number within the first preset time, then determining that the touch key fails.

4. The method according to claim 1, characterized in that, determining that the at least one touch key fails according to the detected capacitance value and the reference capacitance value includes: when it is detected that the detected capacitance value is greater than the reference capacitance value and less than the first capacitance threshold, starting to time; if the duration of maintaining the above state is greater than the second preset duration, then determining that the touch key fails.

5. The method according to claim 1, characterized in that, the device includes a washing machine.

6. A calibration device for touch keys, characterized in that, it is applied to a device with a touch screen, and at least one touch key is included on the touch screen. The device includes: an obtaining unit, configured to obtain the detected capacitance value of the at least one touch key at a preset time interval; a calibration unit, configured to correct the reference capacitance value by using the detected capacitance value if it is determined that the at least one touch key is mis-triggered according to the detected capacitance value and the reference capacitance value.

7. The device according to claim 6, characterized in that, the calibration unit is further configured to: if it is determined that the at least one touch key fails according to the detected capacitance value and the reference capacitance value, then obtain the parasitic capacitance value when the at least one touch key is not touched, and correct the reference capacitance value according to the parasitic capacitance value.

8. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the program is executed by a processor, it implements the method according to any one of claims 1 to 5.

9. An electronic device, characterized in that, it includes: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the method according to any one of claims 1 to 5.