Touch recognition method and device of touch key, electronic equipment and storage medium

By comprehensively evaluating the capacitance changes of touch buttons and device status information, the validity of button operations is identified, solving the problems of false triggering and response failure in existing technologies, and achieving high-precision touch control and device stability.

CN122052765APending Publication Date: 2026-05-15GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511967034.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-24
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

The existing single threshold judgment design of touch buttons is prone to false triggering or response failure in real-world application scenarios such as complex electromagnetic environments, drastic temperature changes, and large humidity fluctuations, which affects user experience and device reliability.

Method used

By acquiring the capacitance change of the sensing area of ​​the touch button and combining it with the device's operating status information, the overall reliability of the button operation is determined, and the validity of the button operation is identified. This includes a comprehensive evaluation of factors such as the current device status, environmental parameters, and historical operating habits.

Benefits of technology

It enhances the device's high-precision touch control capabilities in diverse scenarios, improves the device's reliability and stability, and reduces false triggering and response failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122052765A_ABST
    Figure CN122052765A_ABST
Patent Text Reader

Abstract

The invention relates to a touch recognition method and device for touch keys, electronic equipment and a storage medium, and the method comprises the steps: obtaining the capacitance variation of an induction region of each touch key, obtaining equipment operation state information under the condition that the capacitance variation of the induction region of one or more touch keys exceeds a preset threshold value, and determining the comprehensive credibility of the key operation according to the equipment running state information, and identifying the validity of the key operation according to the comprehensive credibility. Therefore, under the condition that the capacitance variable quantity of the sensing area of each touch key exceeds the threshold value, the comprehensive credibility of the key operation is determined, so that the effectiveness of the key operation is identified, the reliability and the stability of equipment operation can be improved, and the high-precision touch control requirement of electronic equipment in diversified scenes is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home technology, and in particular to a touch recognition method, device, electronic device and storage medium for touch buttons. Background Technology

[0002] Touch buttons, with their outstanding advantages such as simple structure, beautiful appearance, convenient operation and long service life, have been widely used in various electronic devices such as air conditioner wired controllers, smart home appliances, industrial control panels, and automotive electronic devices. They have become the mainstream operating component to replace traditional mechanical buttons, significantly improving the overall quality of the equipment and the user's operating experience.

[0003] However, existing traditional touch button touch recognition mechanisms generally rely on a single capacitance change threshold judgment method. Specifically, when a user touches a button, the capacitance of the button's sensing area changes, and the system only determines whether to trigger a button response by detecting whether the amount of capacitance change reaches a preset threshold. Its recognition logic is relatively simple.

[0004] This single threshold design makes the touch button less resistant to interference. In real-world application scenarios such as complex electromagnetic environments, drastic temperature changes, large humidity fluctuations, or situations where users accidentally touch the button, or when the fingertips are wet or the user is wearing gloves, it is easy to trigger the button or cause a failure to respond. This not only seriously affects the user experience but also reduces the reliability and stability of the device, making it difficult to meet the high-precision touch control requirements of electronic devices in diverse scenarios. Summary of the Invention

[0005] To address the issue that the single threshold judgment design results in weak anti-interference capabilities of touch buttons, in practical application scenarios such as complex electromagnetic environments, drastic temperature changes, and large humidity fluctuations, or in situations involving accidental touches, wet fingertips, or operation while wearing gloves, false triggering or response failures are prone to occur. This not only severely impacts the user experience but also reduces the reliability and stability of device operation, making it difficult to meet the high-precision touch control requirements of electronic devices in diverse scenarios. This application provides a touch button touch recognition method, device, electronic device, and storage medium. The specific technical solution is as follows: In a first aspect, this application provides a touch recognition method for a touch button, the method comprising: Obtain the capacitance change of the sensing area of ​​each touch button; If the capacitance change in the sensing area of ​​one or more of the touch buttons exceeds a preset threshold, the device operating status information is acquired. Based on the device operating status information, the overall credibility of the button operation is determined, and based on the overall credibility, the validity of the button operation is identified.

[0006] In an optional implementation, before obtaining the device operating status information, the method further includes: Check if the device is in sleep mode; If the device is in a sleep state, it is determined that the step of obtaining the device operating status information will be performed.

[0007] In one optional implementation, the device operating status information includes the current device status, current environmental parameters, current time, and historical operating habits; The step of determining the overall reliability of button operations based on the device operating status information includes: Based on the current device status, determine the target device status conflict degree; Based on the current environmental parameters, determine the target environment rationality score; Based on the current time and the historical operating habits, determine the historical behavior matching degree; The overall credibility of the button operation is obtained by weighted summing of the target device state conflict degree, the target environment rationality score, and the historical behavior matching degree.

[0008] In an optional implementation, if the capacitance change in the sensing area of ​​a touch button exceeds a preset threshold, determining the target device state conflict degree based on the current device state includes: Obtain the button identifier of the touch button and a preset single button state table, wherein the preset single button state table records the device state and the first device state conflict degree corresponding to the button identifier; In the preset single-button state table, find the first device state conflict degree corresponding to the button identifier of the touch button; The first device state conflict degree is determined as the target device state conflict degree.

[0009] In an optional implementation, the method further includes: If no first device state conflict degree is found in the preset single-button state table, corresponding to the button identifier of the current device state and the touch button, the preset device state conflict degree is obtained. The preset device state conflict degree is determined as the target device state conflict degree.

[0010] In an optional implementation, when the capacitance change of the sensing areas of multiple touch buttons exceeds a preset threshold, determining the target device state conflict degree based on the current device state includes: Determine the target button combinations corresponding to the multiple touch buttons, and obtain a preset multi-button state table; The preset multi-button state table records the device state and the second device state conflict degree corresponding to the button combination; In the preset multi-key status table, find the second device status conflict degree corresponding to the target key combination and the current device status; The second device state conflict degree is determined as the target device state conflict degree.

[0011] In an optional implementation, the current environmental parameters include the current temperature and / or the current humidity; The step of determining the target environment rationality score based on the current environmental parameters includes: Based on the current temperature, determine a target temperature reasonableness score, and / or, based on the current humidity, determine a target humidity reasonableness score; The target temperature reasonableness score and / or the target humidity reasonableness score are weighted and summed to obtain the target environment reasonableness score.

[0012] In an optional implementation, determining the reasonableness score of the target temperature based on the current temperature includes: Determine the temperature range in which the current temperature falls, and find the temperature rationality score corresponding to the temperature range; The temperature reasonableness score is determined as the target temperature reasonableness score; And / or, The step of determining the reasonableness score of the target humidity based on the current humidity includes: Determine the humidity range in which the current humidity is located, and find the humidity rationality score corresponding to the humidity range; The humidity rationality score is determined as the target humidity rationality score.

[0013] In one optional implementation, the historical operating habits include historical operating frequencies; The step of determining the historical behavior matching degree based on the current time and the historical operation habits includes: Obtain the operation frequency of one or more of the touch buttons, and determine the relative frequency between the operation frequency and the historical operation frequency; Determine the target frequency matching degree based on the relative frequency; Determine the target button matching degree based on one or more of the aforementioned touch buttons; Determine the target time matching degree based on the current time; The target frequency matching degree, the target key matching degree, and the target time matching degree are weighted and summed to obtain the historical behavior matching degree.

[0014] In an optional implementation, determining the target frequency matching degree based on the relative frequency includes: Determine the frequency range in which the relative frequency is located, and find the frequency matching degree corresponding to the frequency range; The frequency matching degree is determined as the target frequency matching degree.

[0015] In an optional implementation, determining the target button matching degree based on one or more of the touch buttons includes: In the case of one of the touch buttons, the preset first button matching degree is determined as the target button matching degree; In the case of multiple touch buttons, determine the button combinations corresponding to the multiple touch buttons; If the key combination matches a preset key combination in the preset key combination list, the preset first key matching degree is determined as the target key matching degree. If the key combination does not match the preset key combination in the preset key combination list, the preset second key matching degree is determined as the target key matching degree.

[0016] In an optional implementation, determining the target time matching degree based on the current time includes: Determine the time period in which the current moment occurs, and find the time matching degree corresponding to the time period; The time matching degree is determined as the target time matching degree.

[0017] In an optional implementation, identifying the validity of the key press operation based on the overall confidence level includes: If the overall credibility is within the first credibility range, check whether the object confirms the button operation within a preset time period; If the object confirms the key operation within the preset time period, the key operation is determined to be valid, and the action corresponding to the key operation is executed. When the overall credibility is within the second credibility range, an interference warning signal is generated, and the object is prompted to confirm the button operation through a preset method; If the overall credibility is within the third credibility range, cancel the key press operation and record it as an interference event; The first confidence range is greater than the second confidence range, and the second confidence range is greater than the third confidence range.

[0018] In an optional implementation, if the capacitance change of the sensing areas of the plurality of touch buttons exceeds a preset threshold, the method further includes: A prompt message for the key operation is sent to the main control device, so that the main control device can display a prompt interface based on the prompt message to guide the user to confirm the operation intention.

[0019] Secondly, this application provides a touch recognition device for touch buttons, the device comprising: The capacitance change acquisition module is used to acquire the capacitance change of the sensing area of ​​each touch button. The information acquisition module is used to acquire device operating status information when the capacitance change of the sensing area of ​​one or more of the touch buttons exceeds a preset threshold. The credibility determination module is used to determine the overall credibility of the button operation based on the device operating status information; An operation recognition module is used to identify the validity of the key operation based on the overall credibility.

[0020] Thirdly, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. Memory, used to store computer programs; When a processor executes a program stored in a memory, it implements the touch recognition method for any of the touch buttons described in the first aspect above.

[0021] Fourthly, a storage medium is also provided, wherein the storage medium stores instructions that, when executed on a computer, cause the computer to perform the touch recognition method for any of the touch buttons described in the first aspect above.

[0022] Fifthly, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the touch recognition method for any of the aforementioned touch buttons.

[0023] Compared with the prior art, the technical solution provided in this application has the following advantages: The touch recognition method for touch buttons provided in this application obtains the capacitance change of the sensing area of ​​each touch button. When the capacitance change of the sensing area of ​​one or more touch buttons exceeds a preset threshold, device operating status information is obtained. Based on the device operating status information, the overall credibility of the button operation is determined, and the validity of the button operation is identified based on the overall credibility. Thus, by determining the overall credibility of the button operation when the capacitance change of the sensing area of ​​one or more touch buttons exceeds a threshold, and identifying the validity of the button operation based on the overall credibility, the reliability and stability of device operation can be improved, meeting the high-precision touch control requirements of electronic devices in diverse scenarios. This solves the technical problem that judging the validity of button operations solely based on a single threshold results in weak anti-interference capabilities of touch buttons, making them prone to false triggering or response failure in complex electromagnetic environments, drastic temperature changes, large humidity fluctuations, or situations such as user accidental touches, wet fingertips / wearing gloves, etc. Attached Figure Description

[0024] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0027] Figure 1 A schematic diagram illustrating the implementation process of a touch recognition method for a touch button provided in this application embodiment; Figure 2 A schematic diagram illustrating the implementation process of another touch button touch recognition method provided in this application embodiment; Figure 3 A schematic diagram illustrating the implementation process of a method for determining the state conflict degree of a target device provided in an embodiment of this application; Figure 4 A schematic diagram illustrating the implementation process of another method for determining the state conflict degree of a target device provided in this application embodiment; Figure 5A schematic diagram illustrating the implementation process of a method for determining historical behavior matching degree provided in an embodiment of this application; Figure 6 A schematic diagram illustrating the implementation process of another touch recognition method for touch buttons provided in this application embodiment; Figure 7 A schematic diagram illustrating the implementation process of another touch button touch recognition method provided in this application embodiment; Figure 8 This is a schematic diagram of the structure of a touch recognition device for touch buttons provided in an embodiment of this application; Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0029] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0030] like Figure 1 The diagram shown is a schematic representation of the implementation process of a touch recognition method for a touch button according to an embodiment of this application. Specifically, it may include the following steps: S101, obtain the capacitance change of the sensing area of ​​each touch button.

[0031] In this embodiment, the capacitance change of the sensing area of ​​each touch button can be obtained. A touch button refers to an electronic switch that triggers a command input through contact (such as human touch), used to receive the user's operational intent (such as power on, temperature adjustment, temperature switching, etc.). The sensing area refers to a conductive region designed on or below the touch button (i.e., the coverage area of ​​the capacitance sensing unit), used to sense touch behavior and convert the physical signal (such as capacitance change) generated by the touch behavior into an electrical signal that can be recognized by the device; it can be understood as the sensing carrier for touch action detection. When approaching or touching this area, it causes a disturbance in the capacitance field. The capacitance change refers to the change in the capacitance value of the sensing area relative to the non-touch state caused by touch, used to determine whether a touch action has occurred. This embodiment does not limit this aspect.

[0032] Specifically, the built-in capacitive sensing circuit can periodically scan the sensing area of ​​each touch button, compare the measured real-time capacitance value with the pre-stored reference capacitance value, and thus calculate the capacitance change of the sensing area of ​​each touch button.

[0033] S102: If the capacitance change in the sensing area of ​​one or more touch buttons exceeds a preset threshold, acquire device operating status information.

[0034] In this embodiment, based on the capacitance change of the sensing area of ​​each touch button obtained in the above steps, device operating status information is obtained when the capacitance change of the sensing area of ​​one or more touch buttons exceeds a preset threshold. The preset threshold refers to a pre-set critical value for capacitance change used to determine whether a touch action is valid. It is used to initially determine whether the capacitance change of the sensing area is caused by a possible touch operation, rather than invalid signals such as environmental noise or minor interference, to avoid false triggering caused by changes in environmental humidity, slight proximity, or electromagnetic noise. Device operating status information refers to a comprehensive data set reflecting the current working status of the device, its surrounding environment, and historical interaction characteristics. It may include the current device status, such as the working mode (cooling, heating, ventilation, dehumidification), power status (power on, power off, standby, hibernation), and communication link status (connection status with the main control device). It may also include current environmental parameters (such as ambient temperature, humidity, light intensity, etc.), the current time (the time point of user operation), and historical operating habits (such as historical operation frequency of touch buttons, multi-key combination preferences, and common operation periods). This embodiment does not limit these aspects.

[0035] It should be noted that the main control device refers to the host computer or central processing unit that communicates with the device where the current touch button is located (such as a wired controller). It can have more powerful processing capabilities and richer interactive interfaces (such as a large display screen).

[0036] S103, based on the device operating status information, determine the overall reliability of the button operation, and based on the overall reliability, identify the validity of the button operation.

[0037] In this embodiment, the overall credibility of a button operation can be determined based on the device operating status information obtained in the above steps, and the validity of the button operation can be identified based on the overall credibility. A button operation refers to a device command action (such as powering off, switching to heating mode, or increasing the temperature) attempted to be triggered by touching a button. Overall credibility refers to the probability value or score determined based on preliminary capacitance detection and combined with device operating status information, used to quantitatively assess the likelihood that the currently detected touch signal is a genuine user operation. For example, when the device is in a strong vibration mode, the capacitance signal may be unstable; even if the capacitance change exceeds a threshold, its overall credibility may be lowered. The validity of a button operation refers to the determination of whether the button operation matches the user's true intention and whether the device needs to execute the corresponding command. It can be divided into valid operations (execution of command) and invalid operations (refusal to execute).

[0038] Based on the above description of the technical solution provided in the embodiments of this application, the capacitance change of the sensing area of ​​each touch button is obtained. When the capacitance change of the sensing area of ​​one or more touch buttons exceeds a preset threshold, device operating status information is obtained. Based on the device operating status information, the overall credibility of the button operation is determined, and based on the overall credibility, the validity of the button operation is identified.

[0039] In this way, when the capacitance change in the sensing area of ​​one or more touch buttons exceeds a threshold, the overall reliability of the button operation is determined. Based on this overall reliability, the validity of the button operation is identified, which improves the reliability and stability of device operation and meets the high-precision touch control requirements of electronic devices in diverse scenarios. This addresses the technical problem that relying solely on a single threshold to determine the validity of a button operation results in weak anti-interference capabilities of touch buttons. In practical applications involving complex electromagnetic environments, drastic temperature changes, significant humidity fluctuations, or situations where user accidental touches, wet fingertips, or operation while wearing gloves can lead to false triggering or response failure.

[0040] like Figure 2 The diagram shown illustrates the implementation flow of another touch button touch recognition method provided in this application embodiment. This method may specifically include the following steps: S201, obtain the capacitance change of the sensing area of ​​each touch button.

[0041] In this embodiment of the application, this step is similar to step S101 above, and will not be described in detail here.

[0042] S202, when the capacitance change of the sensing area of ​​one or more touch buttons exceeds a preset threshold, acquire device operating status information, wherein the device operating status information includes the current device status, current environmental parameters, current time, and historical operating habits.

[0043] In this embodiment, when the capacitance change in the sensing area of ​​one or more touch buttons exceeds a preset threshold, device operating status information is acquired. This device operating status information includes the current device status, current environmental parameters, current time, and historical operating habits. The current device status refers to the device's real-time operating mode and state at the time of the touch event, such as operating mode (cooling, heating, ventilation, dehumidification), power status (power on, power off, standby, hibernation), and communication link status (connection status between the device and the main control device). Current environmental parameters refer to the physical parameters of the environment in which the device is located, such as ambient temperature, humidity, and light intensity. The current time refers to the specific time when the capacitance change in the sensing area of ​​one or more touch buttons exceeds the preset threshold. Historical operating habits refer to the user's operational behavior characteristics formed during device use, such as historical operation frequency, frequently used key combinations, and active operation periods.

[0044] It should be noted that before obtaining the device operating status information, the device status needs to be detected: whether the device is in a sleep state; if the device is in a sleep state, it is determined that the step of obtaining the device operating status information will be executed. That is, when the device is in a sleep state, the interference assessment process of steps S203 to S207 is executed. The device can be an electronic device with touch buttons, such as an air conditioner remote control, smart home appliances, industrial control panels, etc.

[0045] S203, Determine the target device state conflict degree based on the current device state.

[0046] In this embodiment, when the device is in sleep mode, the target device state conflict degree can be determined based on the current device state. The target device state conflict degree can be understood as the rationality assessment value of the current device state and the touch operation, used to quantify the logical rationality of the current touch operation.

[0047] Specifically, the target device state conflict level can be determined in different ways depending on whether it is a single-key touch (i.e., the capacitance change in the sensing area of ​​one touch button exceeds a preset threshold) or a multi-key touch (i.e., the capacitance change in the sensing areas of multiple touch buttons exceeds a preset threshold): If the capacitance change in the sensing area of ​​a touch button exceeds a preset threshold, the target device state conflict degree is determined based on the current device state. (Refer to...) Figure 3 The method shown. (As shown) Figure 3 The diagram shown is a schematic representation of the implementation flow of a method for determining the state conflict degree of a target device according to an embodiment of this application. The method may specifically include the following steps: S301, obtain the button identifier of the touch button and a preset single button state table, wherein the preset single button state table records the device state and the first device state conflict degree corresponding to the button identifier.

[0048] In this embodiment, when the capacitance change of only one touch button exceeds a preset threshold, the button identifier of the touch button and a preset single-button state table can be obtained. The preset single-button state table records the device state (such as power off, cooling operation, heating operation, standby, etc.) and the first device state conflict degree corresponding to the button identifier. The button identifier is used to distinguish different touch buttons on the device, such as the power button, heating button, cooling button, mode switching button, etc. The preset single-button state table is a pre-configured data table used to record the degree of logical conflict between each touch button and the device state when it is operated in various device states (i.e., the first device state conflict degree). The first device state conflict degree is used to quantify the logical rationality and conflict risk of operating the button in the current device state.

[0049] For example, when the device is powered off, the conflict level of the first device state corresponding to the power button is 0.1 (indicating that the logic is reasonable), and the conflict level of the first device state corresponding to the mode switch button is 1.0 (indicating that the logic is unreasonable).

[0050] S302, in the preset single-button state table, find the first device state conflict degree corresponding to the button identifier of the touch button and the current device state.

[0051] In this embodiment of the application, a first device state conflict degree corresponding to the current device state and the button identifier of the touch button is found in a preset single button state table.

[0052] Specifically, the current device status and the button identifier of the touch button can be used as joint query conditions to search in the preset single button status table to obtain the first device status conflict degree with the highest matching degree.

[0053] S303, the first device state conflict degree is determined as the target device state conflict degree.

[0054] In this embodiment, the first device state conflict degree is determined as the target device state conflict degree. That is, the first device state conflict degree corresponding to the current device state and the button identifier of the touch button, which is found in the preset single-button state table in the above steps, is taken as the target device state conflict degree.

[0055] S304, if no first device state conflict degree corresponding to the button identifier of the touch button is found in the preset single button state table, obtain the preset device state conflict degree.

[0056] In this embodiment of the application, if no first device state conflict degree corresponding to the button identifier of the touch button is found in the preset single-button state table, a preset device state conflict degree is obtained. The preset device state conflict degree is a pre-set device state conflict degree (e.g., 0.9), used as a conflict risk value between the current device state and the touch button.

[0057] S305, the preset device state conflict degree is determined as the target device state conflict degree.

[0058] In this embodiment, a preset device state conflict degree is determined as the target device state conflict degree. That is, if no first device state conflict degree corresponding to the current device state and the button identifier of the touch button is found in the preset single-button state table, the preset device state conflict degree is determined as the target device state conflict degree.

[0059] If the capacitance change in the sensing areas of multiple touch buttons exceeds a preset threshold, the target device state conflict degree can be determined based on the current device state. (Refer to...) Figure 4 The method shown. (As shown) Figure 4 The diagram shown illustrates the implementation flow of another method for determining the state conflict degree of a target device provided in this application. This method may specifically include the following steps: S401, determine the target key combination corresponding to multiple touch keys, and obtain a preset multi-key state table, wherein the preset multi-key state table records the device state and the second device state conflict degree corresponding to the key combination.

[0060] In this embodiment, when the capacitance change of the sensing areas of multiple touch buttons exceeds a preset threshold, a target button combination corresponding to the multiple touch buttons is determined, and a preset multi-button state table is obtained. This table records the device state and the second device state conflict degree corresponding to the button combination. The target button combination represents the set of multiple touch buttons in this instance, such as the power button and the mode button. The second device state conflict degree quantifies the logical rationality between the target button combination and the device state. The preset multi-button state table can be a pre-configured logical knowledge base containing quantified values ​​of the logical rationality between different button combinations operated simultaneously under various device states and the device state, i.e., the second device state conflict degree.

[0061] For example, the preset multi-button status table records that when the device status is running-cooling, the second device status conflict degree corresponding to the button combination "fan speed +, temperature +" is 0.2 (logically reasonable), while the second device status conflict degree corresponding to the button combination "power on button, power off button" is 1 (high conflict, logically unreasonable).

[0062] S402, in the preset multi-key state table, find the target key combination and the second device state conflict degree corresponding to the current device state.

[0063] In this embodiment, a second device state conflict degree corresponding to the target key combination and the current device state is searched in a preset multi-key state table. Specifically, the target key combination and the current device state can be used as joint query conditions to search the preset multi-key state table to obtain the corresponding second device state conflict degree.

[0064] S403, the second device state conflict degree is determined as the target device state conflict degree.

[0065] In this embodiment of the application, the second device state conflict degree is determined as the target device state conflict degree.

[0066] S204. Determine the target environment rationality score based on the current environmental parameters.

[0067] In this embodiment, a target environment rationality score can be determined based on current environmental parameters. This score quantifies the impact of the current physical environment surrounding the device on the reliability of touch operation.

[0068] The current environmental parameters include the current temperature and / or current humidity. Determining the feasibility score of the target environment based on these current environmental parameters may include the following steps: Step 1: Determine the target temperature reasonableness score based on the current temperature, and / or, determine the target humidity reasonableness score based on the current humidity.

[0069] In the embodiments of this application, a target temperature reasonableness score is determined based on the current temperature, and / or a target humidity reasonableness score is determined based on the current humidity.

[0070] Specifically, the temperature range in which the current temperature falls can be determined, the temperature rationality score corresponding to the temperature range can be found, and the temperature rationality score can be determined as the target temperature rationality score. The correspondence between temperature ranges and temperature rationality scores can be set according to actual working conditions, and this application embodiment does not limit this.

[0071] For example, the relationship between temperature range and temperature rationality score is as follows: when the temperature is between 10℃ and 35℃ (normal operating temperature range), the temperature rationality score is 1.0; when the temperature is below 10℃ or above 40℃, the temperature rationality score is 0.6. If the current temperature is 15℃, and the current temperature falls within the temperature range of 10℃ to 35℃, then the target temperature rationality score is 1.0.

[0072] To determine the reasonableness score of the target humidity based on the current humidity, the humidity range in which the current humidity is located can be determined, the humidity reasonableness score corresponding to the humidity range can be found, and the humidity reasonableness score can be determined as the reasonableness score of the target humidity.

[0073] For example, the relationship between humidity range and humidity rationality score is as follows: when the humidity is less than 60%, the humidity rationality score is 1.0; when the humidity is between 75% and 85%, the humidity rationality score is 0.5. If the current humidity is 50%, and the current humidity range is "less than 60%", then the target humidity rationality score is 1.0.

[0074] Step 2: Perform a weighted summation of the target temperature rationality score and / or the target humidity rationality score to obtain the target environment rationality score.

[0075] In this embodiment, the target temperature rationality score and / or target humidity rationality score can be weighted and summed to obtain the target environment rationality score. Specifically, the target environment rationality score can be obtained according to the formula: Target Environment Rationality Score = Target Temperature Rationality Score × Weight 1 + Target Humidity Rationality Score × Weight 2. Here, Weight 1 is the weight coefficient corresponding to the current temperature, Weight 2 is the weight coefficient corresponding to the current humidity, and Weight 1 + Weight 2 = 1. Weight 1 and Weight 2 can be set according to the sensitivity of environmental factors in actual working conditions (e.g., Weight 1 is 0.5, Weight 2 is 0.5). Alternatively, the target environment rationality score can be obtained according to the formula: Target Temperature Rationality Score × Weight 1. It can also be obtained according to the formula: Target Environment Rationality Score = Target Humidity Rationality Score × Weight 2.

[0076] S205, determine the historical behavior matching degree based on the current time and historical operating habits.

[0077] In this embodiment, the historical behavior matching degree can be determined based on the current time and historical operating habits. The historical behavior matching degree is used to measure the degree of consistency between the current touch operation (including the operation time, operation button and frequency) and the user's historical operating habits, so as to determine whether the current operation is consistent with the user's consistent usage intention, thereby effectively identifying abnormal or atypical operating behaviors.

[0078] Historical operational habits include historical operational frequency. Based on the current time and historical operational habits, the degree of historical behavior matching is determined, which can be referenced. Figure 5 The method shown. (As shown) Figure 5 The diagram shown is a flowchart illustrating the implementation of a method for determining historical behavior matching degree according to an embodiment of this application. The method may specifically include the following steps.

[0079] S501, obtain the operation frequency of one or more touch buttons, and determine the relative frequency between the operation frequency and the historical operation frequency.

[0080] In this embodiment, the operating frequency of one or more touch buttons can be obtained, and the relative frequency between the operating frequency and the historical operating frequency can be determined. Here, the operating frequency refers to the current trigger frequency of the touch button, and the relative frequency is used to quantify the degree of deviation of the current operating frequency from the historical operating frequency.

[0081] Specifically, the relative frequency can be calculated by inputting the operating frequency and historical operating frequency into the relative frequency formula, which is as follows: r = N / (F×t); Where r is the relative frequency, N is the operating frequency, F is the historical operating frequency, t is the time coefficient, and is a normalization parameter used to make the current operating frequency and the historical operating frequency comparable in time scale (for example, if the historical operating frequency is the daily average number of times, while the current operating frequency is the number of times per minute, then t can be set to 1 / 1440).

[0082] S502, determine the target frequency matching degree based on the relative frequency.

[0083] In this embodiment, the target frequency matching degree can be determined based on the relative frequency determined in the above steps. The target frequency matching degree is used to measure the degree of matching between the operating frequency and the historical habitual frequency.

[0084] Specifically, the frequency range of the relative frequency can be determined, and the corresponding frequency matching degree can be found. This frequency matching degree is then set as the target frequency matching degree. The relationship between the frequency range and the frequency matching degree can be as follows: if 0.5 ≤ relative frequency ≤ 2.0 (operation frequency between half and twice the habitual level), the frequency matching degree is set to 1.0 (high matching); if the relative frequency < 0.5 or > 2.0, the frequency matching degree is 0.3 (low matching degree); if the relative frequency < 0.2 or > 5.0, the frequency matching degree is 0.1. If the obtained relative frequency is 0.6, satisfying the frequency matching degree requirement, then the target frequency matching degree is 1.0.

[0085] S503 determines the target button matching degree based on one or more touch buttons.

[0086] In this embodiment, a target button matching degree is determined based on one or more touch buttons. The target button matching degree is used to evaluate whether one or more touch buttons conform to the user's historical usage habits or a preset reasonable logical combination.

[0087] Specifically, determining the target key matching degree based on one or more touch keys may include: in the case of one touch key, determining a preset first key matching degree as the target key matching degree; in the case of multiple touch keys, determining the key combinations corresponding to the multiple touch keys; if the key combination matches a preset key combination in a preset key combination list, determining the preset first key matching degree as the target key matching degree; if the key combination does not match a preset key combination in a preset key combination list, determining a preset second key matching degree as the target key matching degree.

[0088] The preset first key matching degree is a pre-set matching degree with relatively high reasonableness (e.g., 1.0), the preset key combination list contains reasonable multi-key combinations that are commonly used or allowed by the user, and the preset second key matching degree is a pre-set matching degree with relatively low reasonableness (e.g., 0.2).

[0089] S504, determine the target time matching degree based on the current time.

[0090] In this embodiment of the application, the target time matching degree is determined based on the current time. Specifically, the time period in which the current time is located can be determined (e.g., active period 7:00-22:00, inactive period 22:00 to 7:00 the next day)), and the time matching degree corresponding to the time period can be found, and the time matching degree is determined as the target time matching degree.

[0091] For example, if the current time is within an active period, the target time matching degree is 1.0; if it is within an inactive period, the target time matching degree is 0.4; if it is within a period with no operation records, the target time matching degree can be set to 0.2.

[0092] S505 performs a weighted summation of the target frequency matching degree, target key matching degree, and target time matching degree to obtain the historical behavior matching degree.

[0093] In this embodiment of the application, the target frequency matching degree, target key matching degree, and target time matching degree are weighted and summed to obtain the historical behavior matching degree.

[0094] Specifically, the historical behavior matching degree can be obtained by calculating the historical behavior matching degree as follows: Historical Behavior Matching Degree = Target Frequency Matching Degree × A + Target Key Matching Degree × B + Target Time Matching Degree × C. Here, A is the weighting coefficient corresponding to the frequency matching degree, B is the weighting coefficient corresponding to the target key matching degree, and C is the weighting coefficient corresponding to the target time matching degree, with A + B + C = 1. A, B, and C can be set according to actual operating conditions (e.g., A = 0.3, B = 0.5, C = 0.2).

[0095] S206, the target device state conflict degree, target environment rationality score and historical behavior matching degree are weighted and summed to obtain the comprehensive credibility of the button operation.

[0096] In this embodiment of the application, the target device state conflict degree, the target environment rationality score, and the historical behavior matching degree are weighted and summed to obtain the comprehensive credibility of the button operation.

[0097] Specifically, the overall credibility can be calculated using the following formula: Overall credibility = ω1×Cstate + ω2×Cenv + ω3×Chistory; Where Cstate represents the target device state conflict degree, Cenv represents the target environment rationality score, Chistory represents the historical behavior matching degree, and ω1, ω2, and ω3 are the corresponding preset weight coefficients, satisfying ω1+ω2+ω3=1. The preset weight coefficients can be configured according to the importance of each factor in different application scenarios. For example, in an air conditioner wired controller embodiment that focuses on state logic, ω1=0.4, ω2=0.3, and ω3=0.3 can be set.

[0098] S207, based on overall credibility, identifies the validity of key press operations.

[0099] In this embodiment of the application, this step is similar to step S103 above, and will not be described in detail here.

[0100] Based on this, such as Figure 6 The diagram shown illustrates the implementation flow of another touch button touch recognition method provided in this application embodiment. The method specifically includes the following steps: S601, obtain the capacitance change of the sensing area of ​​each touch button.

[0101] In this embodiment of the application, this step is similar to step S101 above, and will not be described in detail here.

[0102] S602: When the capacitance change in the sensing area of ​​one or more touch buttons exceeds a preset threshold, device operating status information is acquired.

[0103] In this embodiment of the application, this step is similar to step S102 above, and will not be described in detail here.

[0104] S603 determines the overall reliability of button operations based on device operating status information.

[0105] In this embodiment of the application, this step is similar to step S103 above, and will not be described in detail here.

[0106] S604, when the overall credibility is within the first credibility range, detects whether the object confirms the key operation within a preset time period.

[0107] In this embodiment, when the overall confidence level is within a first confidence level range, the system detects whether the user confirms the key press operation within a preset time period. The first confidence level range is a preset, relatively high confidence interval, such as (0.8, 1), which indicates that the current touch operation is highly plausible in terms of logic, environment, and historical habits, and is very likely a valid user operation. Detecting whether the user confirms the key press operation within the preset time period can be done by detecting whether the user (e.g., the user performing the operation) makes a clear confirmation operation (e.g., quickly tapping the same key or a designated confirmation key, or issuing a confirmation command via voice) within the preset time period (e.g., 3 seconds).

[0108] S605 If an object confirmation button operation is detected within a preset time period, the button operation is determined to be valid, and the corresponding action of the button operation is executed.

[0109] In this embodiment, if a confirmation button operation is detected within a preset time period, the button operation is determined to be valid, and the corresponding action is executed. That is, if a user quickly taps the same button or a designated confirmation button, or if a confirmation command is issued via voice, the corresponding action (such as adjusting the temperature) is executed.

[0110] S606 generates an interference warning signal when the overall confidence level is within the second confidence level range, and prompts the object to confirm the button operation through a preset method.

[0111] In this embodiment, when the overall confidence level falls within the second confidence level range, an interference warning signal is generated, and the user is prompted to confirm the key press operation via a preset method. The second confidence level range can be a preset medium confidence level interval, such as 0.4 ≤ overall confidence level < 0.8. This range is used to characterize key press operations within this range as having a certain degree of uncertainty or contradiction (e.g., performing infrequently used operations during inactive periods). The interference warning signal is used to initiate the reminder process. The preset method can include visual prompts (via flashing indicator lights or a pop-up notification box on the screen, such as displaying a message indicating possible accidental touch and requesting confirmation before powering off), auditory prompts (emitting a specific notification sound), and tactile prompts (triggering a vibration motor).

[0112] S607: If the overall confidence level is within the third confidence level range, cancel the key press operation and record it as an interference event.

[0113] In this embodiment, when the overall confidence level falls within the third confidence level range, the key press operation is canceled and recorded as an interference event. The third confidence level range is a preset low confidence interval, such as an overall confidence level < 0.4. This range indicates that key press operations within this range are due to environmental interference (e.g., strong electromagnetic noise) or invalid accidental touches (e.g., frequent clicking of non-function keys while the device is powered on). In such cases, the key press operation is canceled, meaning no corresponding device command is executed, and the operation is ignored. Recording this key press operation as an interference event can be used for subsequent threshold optimization. Furthermore, the first, second, and third confidence levels must satisfy the condition that the first confidence level is greater than the second confidence level, and the second confidence level is greater than the third confidence level.

[0114] It should be noted that if the capacitance change of the sensing areas of multiple touch buttons exceeds a preset threshold, a prompt message for the button operation can be sent to the main control device. This allows the main control device to display a prompt interface based on the message, guiding the user to confirm the operation intention. The main control device refers to the host computer or central processing unit that communicates with the device currently containing the touch button (such as a wired controller). It can have more powerful processing capabilities and a richer interactive interface (such as a large display screen).

[0115] For example, a clear graphical interface can pop up on the air conditioner's central control screen or mobile app, listing the detected button combinations and asking the user's true intention (e.g., if it is detected that you have pressed the mode and heating buttons at the same time, what operation do you want to perform?).

[0116] Furthermore, in this application embodiment, the touch recognition method for touch buttons provided in this application embodiment is described with reference to specific examples: like Figure 7The diagram shown illustrates the implementation flow of another touch button touch recognition method provided in this application embodiment, which may specifically include: The status acquisition module collects the operating status information of the device (such as the wired controller). The operating status information may include the current working mode (such as cooling, heating, ventilation, dehumidification), power status (power on, power off, standby, hibernation), button operation history, current time, environmental parameters (such as ambient temperature, ambient humidity, light intensity, etc.), link communication status and connection status with the main control device.

[0117] The touch sensing module collects the capacitance change of each touch button in real time, and obtains parameters such as the real-time touch increment (i.e. capacitance change), historical average increment, standard deviation of real-time touch increment and historical average increment, increment trend (such as rising, falling or fluctuating), and historical records of multiple buttons exceeding the threshold at the same time.

[0118] Establish a mapping relationship between device status and button operation, i.e., a table showing the relationship between normal touch buttons and button status, to obtain a behavior baseline database. This database records the incremental range of each button under different device statuses, reasonable combinations of multi-button collaborative operations (such as power button and mode switching), and patterns in user operation frequency or time intervals.

[0119] When the detected capacitance change exceeds a preset threshold, interference identification error is performed. The interference and decision-making unit will determine whether the device is in sleep mode. If the device is in sleep mode and the capacitance change exceeds the preset threshold, the interference assessment process will be initiated. Based on the device's operating status information collected by the status acquisition module, and parameters such as the standard deviation of the touch increment compared to the historical average increment, the increment trend (e.g., rising, falling, or fluctuating), and historical records of multiple buttons simultaneously exceeding the threshold, a comprehensive judgment is made as to whether the current button operation matches the user's true intention. Specifically, the comprehensive credibility can be used to determine whether the current button operation matches the user's true intention, where comprehensive credibility = α × device status conflict degree + β × environmental rationality score + γ × historical behavior matching degree.

[0120] When the overall confidence level is within a certain range (e.g., between 0.5 and 0.7), it is judged as a suspected false trigger, generating an interference warning signal and prompting the user via indicator light, sound, or screen: "Possible interference operation detected. Confirm power off?". When the overall confidence level is greater than a certain range (e.g., greater than 0.7), and the user performs a secondary confirmation operation within a specified time (e.g., touch or voice confirmation again), it is judged as a valid operation, and the corresponding key operation command is executed; otherwise, the operation is canceled and recorded as an interference event.

[0121] For example, a capacitive sensing controller in an air conditioner remote control connects to six touch buttons. It collects real-time capacitance increments for each button, along with real-time temperature and humidity data. A behavioral baseline database is established and stored, recording information such as the average capacitance change, operation frequency, and multi-key combination habits for each button under different device states. When a touch event is detected, the overall reliability is calculated as: Overall Reliability = 0.4 × Device State Conflict Degree + 0.3 × Environmental Reasonableness Score + 0.3 × Historical Behavior Matching Degree.

[0122] Device conflict can be categorized into single button exceeding the threshold or multiple buttons exceeding the threshold simultaneously. When a single button exceeds the threshold, it does not involve multiple button combinations. A single button can be obtained through a preset lookup table. Data in the table can be calculated according to the device conflict level set in the table. Combinations not in the table are illegal. The device conflict level can be set to 0.8. Table 1 below shows the single button conflict table, and Table 2 shows the multi-button device conflict table.

[0123] Table 1

[0124] Table 2

[0125] The environmental rationality score can be calculated as: Environmental Rationality Score = 0.5 × Humidity Rationality Score + 0.5 × Temperature Rationality Score. The Humidity Rationality Score can be determined based on the Humidity-Humidity Rationality Score shown in Table 3.

[0126] Table 3

[0127] The temperature rationality score can be determined based on the temperature-temperature rationality score shown in Table 4 below.

[0128] Table 4

[0129] The historical behavior matching degree can be obtained by calculating the historical behavior matching degree = 0.3F + 0.4C + 0.3T, where F is the frequency matching degree, C is the key combination matching degree, and T is the time matching degree.

[0130] The frequency matching degree can be calculated by obtaining the operation frequency N of the button in the most recent period (e.g., 24 hours), the normal frequency F from the baseline database, and the relative frequency r = N / (F×t), where t is the time coefficient, which is a normalization parameter used to make the operation frequency in the most recent period comparable to the normal frequency on a comparable time scale (for example, if the normal frequency is the daily average number of times, while the current operation frequency is the number of times per minute, then t can be set to 1 / 1440).

[0131] When 0.5≤r≤2, the frequency matching degree is 1.0; when r<0.5 or r>2.0, the frequency matching degree is 0.3; and when r<0.2 or r>5.0, the frequency matching degree is 0.1.

[0132] Regarding key combination matching degree, when the key operation is a single key operation, the corresponding key combination matching degree is 1. When the key operation is a multi-key operation, it is determined whether the multi-key combination corresponding to the multi-key operation is a preset key combination. If it is a preset key combination, the key combination matching degree is 1; otherwise, it is 0.

[0133] Time matching score refers to the fit between the user's key press operation time and the corresponding time period. For example, if a user is accustomed to pressing keys between 7:00 and 22:00, then the time matching score for key press operations during this active time period (7:00-22:00) is 1.0, the time matching score for key press operations during inactive time periods (such as 22:00 to 05:00 the next day) is 0.4, and the time matching score for key press operations that have never been performed during this time (such as 06:00-07:00) is 0.2.

[0134] It should be noted that in the event of multi-key conflicts, a prompt can be sent to the main control device, allowing the user to confirm the operation intent on the screen. Statistical analysis of daily recorded interference events can be performed to adjust preset thresholds and the corresponding relationships in Tables 1-4, achieving adaptive optimization.

[0135] When multiple simultaneous touch increments on various buttons exceed a preset threshold, the multi-key conflict handling module identifies it as a multi-key conflict event, automatically switches to interactive confirmation mode, and sends a prompt message to the main control device via the communication interface. The main control device can display a prompt interface to guide the user to confirm their operation intention. After user confirmation, the operation is considered valid, and user behavior data is recorded; if there is no confirmation or response, the operation is automatically canceled, and the system returns to normal monitoring mode.

[0136] The feedback optimization module can automatically update the behavior baseline database after each successful identification or correction of an interference event, and classify and statistically analyze false trigger events (such as "temperature interference", "electromagnetic interference", "false touch" etc.) for subsequent optimization.

[0137] Corresponding to the above method embodiments, this application also provides a touch recognition device for touch buttons, such as... Figure 8 As shown, it may include: a capacitance change acquisition module 801, an information acquisition module 802, a credibility determination module 803, and an operation recognition module 804.

[0138] The capacitance change acquisition module 801 is used to acquire the capacitance change of the sensing area of ​​each touch button. The information acquisition module 802 is used to acquire device operating status information when the capacitance change of the sensing area of ​​one or more touch buttons exceeds a preset threshold. The credibility determination module 803 is used to determine the overall credibility of button operations based on the device operating status information. The operation recognition module 804 is used to identify the validity of key operations based on comprehensive credibility.

[0139] This application also provides an electronic device, such as... Figure 9 As shown, it includes a processor 901, a communication interface 902, a memory 903, and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904. Memory 903 is used to store computer programs; When processor 901 executes a program stored in memory 903, it performs the following steps: The capacitance change of the sensing area of ​​each touch button is obtained. If the capacitance change of the sensing area of ​​one or more touch buttons exceeds a preset threshold, the device operation status information is obtained. Based on the device operation status information, the overall credibility of the button operation is determined, and the validity of the button operation is identified based on the overall credibility.

[0140] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0141] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0142] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0143] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0144] In another embodiment provided in this application, a storage medium is also provided, which stores instructions that, when run on a computer, cause the computer to execute the touch recognition method for touch buttons described in any of the above embodiments.

[0145] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the touch recognition method for touch buttons described in any of the above embodiments.

[0146] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a storage medium or transmitted from one storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0147] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0148] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0149] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

Claims

1. A touch recognition method for touch buttons, characterized in that, The method includes: Obtain the capacitance change of the sensing area of ​​each touch button; If the capacitance change in the sensing area of ​​one or more of the touch buttons exceeds a preset threshold, the device operating status information is acquired. Based on the device operating status information, the overall credibility of the button operation is determined, and based on the overall credibility, the validity of the button operation is identified.

2. The method according to claim 1, characterized in that, Before obtaining the device operating status information, the process also includes: Check if the device is in sleep mode; If the device is in a sleep state, it is determined that the step of obtaining the device operating status information will be performed.

3. The method according to claim 1, characterized in that, The device operating status information includes the current device status, current environmental parameters, current time, and historical operating habits; The step of determining the overall reliability of button operations based on the device operating status information includes: Based on the current device status, determine the target device status conflict degree; Based on the current environmental parameters, determine the target environment rationality score; Based on the current time and the historical operating habits, determine the historical behavior matching degree; The overall credibility of the button operation is obtained by weighted summing of the target device state conflict degree, the target environment rationality score, and the historical behavior matching degree.

4. The method according to claim 3, characterized in that, If the capacitance change in the sensing area of ​​a touch button exceeds a preset threshold, determining the target device state conflict degree based on the current device state includes: Obtain the button identifier of the touch button and a preset single button state table, wherein the preset single button state table records the device state and the first device state conflict degree corresponding to the button identifier; In the preset single-button state table, find the first device state conflict degree corresponding to the button identifier of the touch button; The first device state conflict degree is determined as the target device state conflict degree.

5. The method according to claim 4, characterized in that, The method further includes: If no first device state conflict degree is found in the preset single-button state table, corresponding to the button identifier of the current device state and the touch button, the preset device state conflict degree is obtained. The preset device state conflict degree is determined as the target device state conflict degree.

6. The method according to claim 3, characterized in that, If the capacitance change in the sensing areas of multiple touch buttons exceeds a preset threshold, determining the target device state conflict degree based on the current device state includes: Determine the target button combinations corresponding to the multiple touch buttons, and obtain a preset multi-button state table; The preset multi-button state table records the device state and the second device state conflict degree corresponding to the button combination; In the preset multi-key status table, find the second device status conflict degree corresponding to the target key combination and the current device status; The second device state conflict degree is determined as the target device state conflict degree.

7. The method according to claim 3, characterized in that, The current environmental parameters include the current temperature and / or current humidity; The step of determining the target environment rationality score based on the current environmental parameters includes: Based on the current temperature, determine a target temperature reasonableness score, and / or, based on the current humidity, determine a target humidity reasonableness score; The target temperature reasonableness score and / or the target humidity reasonableness score are weighted and summed to obtain the target environment reasonableness score.

8. The method according to claim 7, characterized in that, The step of determining the reasonableness score of the target temperature based on the current temperature includes: Determine the temperature range in which the current temperature falls, and find the temperature rationality score corresponding to the temperature range; The temperature reasonableness score is determined as the target temperature reasonableness score; And / or, The step of determining the reasonableness score of the target humidity based on the current humidity includes: Determine the humidity range in which the current humidity is located, and find the humidity rationality score corresponding to the humidity range; The humidity rationality score is determined as the target humidity rationality score.

9. The method according to claim 3, characterized in that, The historical operating habits include the historical operating frequency; The step of determining the historical behavior matching degree based on the current time and the historical operation habits includes: Obtain the operation frequency of one or more of the touch buttons, and determine the relative frequency between the operation frequency and the historical operation frequency; Determine the target frequency matching degree based on the relative frequency; Determine the target button matching degree based on one or more of the aforementioned touch buttons; Determine the target time matching degree based on the current time; The target frequency matching degree, the target key matching degree, and the target time matching degree are weighted and summed to obtain the historical behavior matching degree.

10. The method according to claim 9, characterized in that, Determining the target frequency matching degree based on the relative frequency includes: Determine the frequency range in which the relative frequency is located, and find the frequency matching degree corresponding to the frequency range; The frequency matching degree is determined as the target frequency matching degree.

11. The method according to claim 9, characterized in that, Determining the target button matching degree based on one or more of the touch buttons includes: In the case of one of the touch buttons, the preset first button matching degree is determined as the target button matching degree; In the case of multiple touch buttons, determine the button combinations corresponding to the multiple touch buttons; If the key combination matches a preset key combination in the preset key combination list, the preset first key matching degree is determined as the target key matching degree. If the key combination does not match the preset key combination in the preset key combination list, the preset second key matching degree is determined as the target key matching degree.

12. The method according to claim 9, characterized in that, Determining the target time matching degree based on the current time includes: Determine the time period in which the current moment occurs, and find the time matching degree corresponding to the time period; The time matching degree is determined as the target time matching degree.

13. The method according to claim 1, characterized in that, The step of identifying the validity of the key operation based on the comprehensive confidence level includes: If the overall credibility is within the first credibility range, check whether the object confirms the button operation within a preset time period; If the object confirms the key operation within the preset time period, the key operation is determined to be valid, and the action corresponding to the key operation is executed. When the overall credibility is within the second credibility range, an interference warning signal is generated, and the object is prompted to confirm the button operation through a preset method; If the overall credibility is within the third credibility range, cancel the key press operation and record it as an interference event; The first confidence range is greater than the second confidence range, and the second confidence range is greater than the third confidence range.

14. The method according to claim 1, characterized in that, When the capacitance change in the sensing areas of multiple touch buttons exceeds a preset threshold, the method further includes: A prompt message for the key operation is sent to the main control device, so that the main control device can display a prompt interface based on the prompt message to guide the user to confirm the operation intention.

15. A touch recognition device for touch buttons, characterized in that, The device includes: The capacitance change acquisition module is used to acquire the capacitance change of the sensing area of ​​each touch button. The information acquisition module is used to acquire device operating status information when the capacitance change of the sensing area of ​​one or more of the touch buttons exceeds a preset threshold. The credibility determination module is used to determine the overall credibility of the button operation based on the device operating status information; An operation recognition module is used to identify the validity of the key operation based on the overall credibility.

16. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method described in any one of claims 1-14.

17. A storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-14.