CN114017923A - False touch prevention identification method and device for water heater control terminal and storage medium - Google Patents

False touch prevention identification method and device for water heater control terminal and storage medium Download PDF

Info

Publication number
CN114017923A
CN114017923A CN202111254591.1A CN202111254591A CN114017923A CN 114017923 A CN114017923 A CN 114017923A CN 202111254591 A CN202111254591 A CN 202111254591A CN 114017923 A CN114017923 A CN 114017923A
Authority
CN
China
Prior art keywords
touch
capacitance
water heater
control terminal
heater control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111254591.1A
Other languages
Chinese (zh)
Other versions
CN114017923B (en
Inventor
卢楚鹏
欧阳盛聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Vanward New Electric Co Ltd
Original Assignee
Guangdong Vanward New Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Vanward New Electric Co Ltd filed Critical Guangdong Vanward New Electric Co Ltd
Priority to CN202111254591.1A priority Critical patent/CN114017923B/en
Publication of CN114017923A publication Critical patent/CN114017923A/en
Application granted granted Critical
Publication of CN114017923B publication Critical patent/CN114017923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24HFLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
    • F24H9/00Details
    • F24H9/20Arrangement or mounting of control or safety devices
    • F24H9/2007Arrangement or mounting of control or safety devices for water heaters
    • F24H9/2014Arrangement or mounting of control or safety devices for water heaters using electrical energy supply
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/40Solar thermal energy, e.g. solar towers

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Electronic Switches (AREA)

Abstract

The application relates to a false touch prevention identification method and device for a water heater control terminal, the water heater control terminal and a storage medium. The method comprises the following steps: acquiring static environment capacitance values of touch keys of a water heater control terminal in a current round; obtaining a difference value of each target capacitor according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current wheel; if the target capacitance difference value larger than the static environment capacitance threshold value exists, determining a target touch key, and generating touch information according to the target touch key; and inquiring according to the touch information, and identifying whether the water heater control terminal has touch operation according to the inquiring result. By adopting the method, the phenomenon of mistaken touch of the water heater control terminal caused by environmental factors such as hot water spraying and the like can be avoided, and the reliability and the control precision of the water heater control terminal in the use process are improved.

Description

False touch prevention identification method and device for water heater control terminal and storage medium
Technical Field
The application relates to the technical field of touch sensing, in particular to a false touch prevention identification method and device for a water heater control terminal, the water heater control terminal and a storage medium.
Background
With the development of touch sensing technology, more and more water heater control terminals adopt touch keys to replace physical keys to serve as external input equipment. However, the phenomenon of mistaken touch of the touch key on the water heater control terminal due to non-subjective operation is easily caused in the process of using the water heater control terminal by a user. In the traditional method, the capacitance value generated by the touch key is compared with a preset threshold value, so that whether the water heater control terminal has a false touch phenomenon or not is judged. However, the conventional method is difficult to prevent the phenomenon that the water heater control terminal is touched by mistake due to environmental factors such as hot water spraying and the like, so that the problems of insufficient reliability and control precision of the water heater control terminal in the use process are caused.
Disclosure of Invention
The invention aims to provide a false touch prevention identification method for a water heater control terminal, which can effectively avoid the false touch phenomenon of the water heater control terminal caused by environmental factors such as hot water spraying and the like, and improve the reliability and control precision of the water heater control terminal in the using process.
The second technical problem to be solved by the present invention is to provide a false touch prevention recognition device for a water heater control terminal, which can effectively avoid the false touch phenomenon of the water heater control terminal caused by environmental factors such as hot water spraying, and improve the reliability and control precision of the water heater control terminal in the using process.
The third technical problem to be solved by the invention is to provide a water heater control terminal, which can effectively avoid the phenomenon of mistaken touch of the water heater control terminal caused by environmental factors such as hot water spraying and the like, and improve the reliability and control precision of the water heater control terminal in the using process.
The fourth technical problem to be solved by the present invention is to provide a computer-readable storage medium, which can effectively avoid the phenomenon of false touch of the water heater control terminal caused by environmental factors such as hot water spraying, and improve the reliability and control precision of the water heater control terminal in the using process.
The first technical problem is solved by the following technical scheme:
a false touch prevention identification method for a water heater control terminal comprises the following steps:
acquiring static environment capacitance values of touch keys of a water heater control terminal in a current round; when the static environment capacitance value of the current round meets the updating condition, the static environment capacitance value of the previous round is obtained by filtering and updating, or the static environment capacitance value of the current round is an initial capacitance value; the initial capacitance value is the average value of all the collected capacitance values of the touch keys when the water heater control terminal is powered on;
obtaining a difference value of each target capacitor according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current wheel;
if the target capacitance difference value larger than the static environment capacitance threshold value exists, determining a target touch key, and generating touch information according to the target touch key; the target touch key is a touch key corresponding to a target capacitance difference value belonging to a touch trigger capacitance interval;
and inquiring according to the touch information, and identifying whether the water heater control terminal has touch operation according to the inquiring result.
According to the false touch prevention identification method for the water heater control terminal, the corresponding static environment capacitance value can be updated along with the change of factors such as the current environment temperature and/or environment humidity of each touch key of the water heater control terminal by acquiring the static environment capacitance value of each touch key of the water heater control terminal in the current round; then, obtaining a difference value of each target capacitor according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current round; then, if a target capacitance difference value larger than the static environment capacitance threshold value exists, determining a target touch key, and generating touch information according to the target touch key; finally, the touch information is used for inquiring, and whether the touch operation exists in the water heater control terminal is accurately identified according to the inquiring result, so that the phenomenon that the water heater control terminal is touched by mistake due to environmental factors such as hot water spraying can be prevented, and the reliability and the control precision of the water heater control terminal in the using process are improved.
In one embodiment, the initial capacitance value is an average value of all the acquisition capacitance values of the touch key in a first preset acquisition period in a non-touch state when the water heater control terminal is powered on;
the static environment capacitance value of the current round is obtained by updating the static environment capacitance value of the previous round through first-order lag filtering when the static environment capacitance value of the current round meets the updating condition; the update conditions include: in the previous round of false touch prevention identification cycle, the target capacitance difference value of the touch key corresponding to the static environment capacitance value of the current round is smaller than the static environment capacitance threshold value. Therefore, the control terminal can adapt to the current humidity and/or temperature environment, and the accuracy of the touch information and the false touch prevention identification process of the water heater control terminal is improved.
In one embodiment, the minimum value of the touch trigger capacitance interval is a normal touch trigger capacitance threshold value; the maximum value of the target trigger capacitance interval is the maximum trigger capacitance threshold value; the normal trigger capacitance threshold is greater than the static environment capacitance threshold. Therefore, the accuracy of the touch information and the false touch prevention identification process of the water heater control terminal is improved.
In one embodiment, the current capacitance value is a current acquisition capacitance value of the touch key, or the current capacitance value is obtained by processing the acquisition capacitance value; wherein, the step of processing the collection capacitance value to obtain the current capacitance value comprises: acquiring each acquisition capacitance value of each touch key in a second preset acquisition period to generate an acquisition capacitance value array; and according to the weighted value array, carrying out weighted recursive average filtering processing on the acquisition capacitance value array to obtain the current capacitance value of each touch key. Therefore, the reliability of the current capacitance value of each touch key is ensured, and the accuracy of the touch information and the false touch prevention identification process of the water heater control terminal is improved.
In one embodiment, the step of generating touch information according to the target touch key includes: and generating touch information according to the number and the identification of the target touch keys. Therefore, the accuracy and the convenience of the false touch prevention identification process of the water heater control terminal are improved.
In one embodiment, the step of querying according to the touch information and identifying whether the touch operation exists in the water heater control terminal according to the query result comprises the following steps: inquiring in a user touch event inquiry table according to the touch information, and obtaining an inquiry result; if the query result is that the touch information exists in the user touch event query table, identifying that the touch operation exists in the water heater control terminal; and if the query result is that the user touch event query table does not have touch information, identifying that the water heater control terminal does not have touch operation. Therefore, whether touch operation exists in the water heater control terminal can be accurately identified, and accuracy and convenience of the false touch prevention identification process of the water heater control terminal are improved.
The second technical problem is solved by the following technical solutions:
the utility model provides a prevent mistake and touch recognition device for water heater control terminal which characterized in that, the device includes:
the first acquisition module is used for acquiring static environment capacitance values of touch keys of the water heater control terminal in a current round; when the static environment capacitance value of the current round meets the updating condition, the static environment capacitance value of the previous round is obtained by filtering and updating, or the static environment capacitance value of the current round is an initial capacitance value; the initial capacitance value is the average value of all the collected capacitance values of the touch keys when the water heater control terminal is powered on;
the difference value calculation module is used for obtaining each target capacitance difference value according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current round;
the information generation module is used for determining a target touch key if a target capacitance difference value larger than a static environment capacitance threshold value exists, and generating touch information according to the target touch key; the target touch key is a touch key corresponding to a target capacitance difference value belonging to a touch trigger capacitance interval;
and the information query module is used for querying according to the touch information and identifying whether the water heater control terminal has touch operation or not according to a query result.
According to the mistaken touch prevention identification device for the water heater control terminal, the change of factors such as the current ambient temperature or ambient humidity of each touch key of the water heater control terminal is accurately identified by acquiring the static ambient capacitance value of each touch key of the water heater control terminal in the current round; then, obtaining a difference value of each target capacitor according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current round; then, if a target capacitance difference value larger than the static environment capacitance threshold value exists, determining a target touch key, and generating touch information according to the target touch key; finally, the touch information is used for inquiring, and whether the touch operation exists in the water heater control terminal is accurately identified according to the inquiring result, so that the phenomenon that the water heater control terminal is touched by mistake due to environmental factors such as hot water spraying is avoided, and the reliability and the control precision of the water heater control terminal in the using process are improved.
In one embodiment, the information generation module comprises: and the information generating unit is used for generating touch information according to the number and the identification of the target touch keys. Therefore, the accuracy and the convenience of the false touch prevention identification process of the water heater control terminal are improved.
The third technical problem is solved by the following technical scheme:
a water heater control terminal comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of any method in the method embodiment when executing the computer program.
According to the water heater control terminal, the change of factors such as the current ambient temperature or ambient humidity of each touch key of the water heater control terminal can be accurately identified by acquiring the static ambient capacitance value of each touch key of the water heater control terminal in the current round; then, obtaining a difference value of each target capacitor according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current round; then, if a target capacitance difference value larger than the static environment capacitance threshold value exists, determining a target touch key, and generating touch information according to the target touch key; finally, the touch information is used for inquiring, and whether the touch operation exists in the water heater control terminal is accurately identified according to the inquiring result, so that the phenomenon that the water heater control terminal is touched by mistake due to environmental factors such as hot water spraying is avoided, and the reliability and the control precision of the water heater control terminal in the using process are improved.
The fourth technical problem is solved by the following technical solutions:
a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the above-described method embodiments.
Drawings
FIG. 1 is a schematic flow chart illustrating a false touch prevention identification method for a control terminal of a water heater according to an embodiment;
FIG. 2 is a schematic flow chart illustrating the steps of processing the collected capacitance to obtain a current capacitance in one embodiment;
FIG. 3 is a flow diagram that illustrates the steps of querying based on touch information, in one embodiment;
FIG. 4 is a first block diagram of a false touch prevention identification device for a control terminal of a water heater according to an embodiment;
FIG. 5 is a second block diagram of the false touch prevention recognition device for the control terminal of the water heater in another embodiment;
FIG. 6 is an internal block diagram of a water heater control terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It is to be understood that "connection" in the following embodiments is to be understood as "electrical connection", "communication connection", and the like if the connected circuits, modules, units, and the like have communication of electrical signals or data with each other.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, as used in this specification, the term "and/or" includes any and all combinations of the associated listed items.
The embodiment of the application provides a false touch prevention identification method and device for a water heater control terminal, the water heater control terminal and a storage medium, so that the false touch phenomenon of the water heater control terminal caused by environmental factors such as hot water spraying is avoided, and the reliability and the control precision of the water heater control terminal in the using process are improved.
In one embodiment, as shown in fig. 1, a false touch prevention recognition method for a water heater control terminal is provided, and this embodiment is exemplified by applying the method to the water heater control terminal. In this embodiment, the method includes the steps of:
and 102, acquiring static environment capacitance values of touch keys of the water heater control terminal in the current round.
Wherein, the water heater control terminal can be but is not limited to a bath controller. In a specific example, each touch key of the water heater control terminal may be all touch keys on the water heater control terminal, or may be all touch keys in a region to be monitored or a designated region in the water heater control terminal, which is only a specific example, and may be flexibly set according to a requirement in an actual application, and the limitation is not performed here.
The static environment capacitance value of the current round of the touch key can be obtained by filtering and updating the static environment capacitance value of the previous round of the touch key when the updating condition is met, or the initial capacitance value of the touch key; the initial capacitance value is the average value of all the collected capacitance values of the touch keys when the water heater control terminal is powered on; that is to say, the current change of factors such as the ambient temperature and/or the ambient humidity of each touch key of the water heater control terminal can be represented by the static ambient capacitance value of the current round. The water heater control terminal can obtain the static environment capacitance value of the current wheel corresponding to each touch key of the water heater control terminal.
In one embodiment, the initial capacitance value is an average value of each acquisition capacitance value of the touch key in a first preset acquisition period in a non-touch state when the water heater control terminal is powered on.
The non-touch state refers to a state that touch operation does not exist in each touch key of the water heater control terminal. In a specific example, the acquisition period may be determined according to a scanning frequency of each touch key of the water heater control terminal; the first preset acquisition period may be, but is not limited to, a first preset number of acquisition periods. The scanning frequency and the first preset number can be preset before the water heater control terminal is put into use; the above is only a specific example, and the practical application can be flexibly set according to requirements, and is not limited herein.
In this embodiment, when the water heater control terminal is powered on, the average value of the collection capacitance values of the touch keys in the first preset collection period in the non-touch state is used as the initial capacitance value, so that the static environment capacitance value of the current round can more accurately represent the change of factors such as the current environment temperature and/or the current environment humidity of each touch key of the water heater control terminal, and the accuracy of the touch information and the false touch prevention identification process of the water heater control terminal is improved.
In one embodiment, the static environment capacitance value of the current round of the touch key can be obtained by updating the static environment capacitance value of the previous round of the touch key through a first-order lag filtering process when the update condition is satisfied. Wherein the update condition includes: in the previous round of false touch prevention identification cycle, the target capacitance difference value of the touch key corresponding to the static environment capacitance value of the current round is smaller than the static environment capacitance threshold value.
In a specific example, in the previous round of false touch detection cycle, if the target capacitance difference value of the touch key corresponding to the static environment capacitance value of the current round is smaller than the static environment capacitance threshold value, it indicates that the static environment capacitance value of the previous round of the touch key satisfies the update condition, and a first-order lag filtering process needs to be performed on the static environment capacitance value of the previous round of the touch key, and the static environment capacitance value after the first-order lag filtering process is used as the static environment capacitance value of the current round of the touch key.
The first-order lag filtering processing is carried out on the static environment capacitance value of the previous round of the touch key based on the following expression:
C′bN=a×CbN+b×CcN
wherein, C'bNThe static environment capacitance value of the touch key in the current wheel is obtained; a is a first preset filtering parameter; cbNA static environment capacitance value of a previous round of the touch key; b is a second preset filtering parameter; ccNIs the current capacitance value of the touch key. The above is only a specific example, and the practical application can be flexibly set according to requirements, and is not limited herein.
In this embodiment, the static environment capacitance value of the current round of each touch key changes due to the temperature and/or humidity of the environment, so that when the update condition is satisfied, the static environment capacitance value of the previous round of the touch key is updated through first-order lag filtering to obtain the static environment capacitance value of the current round, which is also beneficial to filtering the interference of the current environment of the water heater control terminal, so that the control terminal can adapt to the current humidity and/or temperature environment, and the accuracy of the touch information and the false touch prevention identification process of the water heater control terminal is improved.
And 104, obtaining a difference value of each target capacitor according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current round.
The water heater control terminal can calculate the difference between the current capacitance value of each touch key and the static environment capacitance value of the touch key corresponding to the current capacitance value, and then the target capacitance difference value corresponding to each touch key can be obtained.
In one embodiment, the target capacitance difference is obtained based on the following expression:
CΔN=CcN-C′bN
wherein, CΔNThe target capacitance difference value of the touch key is obtained; ccNThe current capacitance value of the touch key is; c'bNIs the static environment capacitance value of the touch key in the current wheel.
In one embodiment, the current capacitance value may be a current collection capacitance value of the touch key, or may be obtained by processing the collection capacitance value.
The acquisition capacitance value refers to a capacitance value acquired in real time by each touch key of the water heater control terminal. As shown in fig. 2, the step of processing the collected capacitance value to obtain the current capacitance value includes:
step 201, acquiring each acquisition capacitance value of each touch key in a second preset acquisition period, and generating an acquisition capacitance value array;
step 202, according to the weighted value array, performing weighted recursive average filtering processing on the acquired capacitance value array to obtain the current capacitance value of each touch key.
The acquisition period can be determined according to the scanning frequency of each touch key of the water heater control terminal; the second preset acquisition period may be, but is not limited to, a first preset number of acquisition periods. The scanning frequency, the second preset number and the weighted value array can be preset before the water heater control terminal is put into use.
In one specific example, the second preset acquisition period is preset to N acquisition periods, and the weighted value array is preset to a. The water heater control terminal obtains each collection capacitance value of each touch key in N collection periods, and generates a collection capacitance value array according to each collection capacitance value of each touch key in N collection periods.
Wherein, the expression of the collection capacitance value array is as follows:
Ctemp=[Csrc1,Csrc2,Csrc3…,CsrcN]
wherein, CtempCollecting a capacitance value array; csrc1For the first acquisition periodCollecting a capacitor sub-array; csrc2Collecting the capacitor sub-array in a second collection period; csrc3Collecting a capacitor sub-array in a third collection period; … … CsrcNAnd collecting the capacitor sub-array in the Nth collection period.
The expression of the collected capacitor subarrays in the first collection period is as follows:
Csrc1=[Cs1,Cs2,Cs3…,CsN]
wherein, Cs1Acquiring a capacitance value of a first touch key of a water heater control terminal in a first acquisition period; cs2Acquiring a capacitance value of a second touch key of the water heater control terminal in a first acquisition period; cs3Acquiring a capacitance value of a third touch key of the water heater control terminal in a first acquisition period; … … CsNAnd acquiring a capacitance value of the Nth touch key of the water heater control terminal in the first acquisition period.
The expression of the weighted value array is:
Figure BDA0003323453870000091
wherein, A is a weighted value array; a1 is a first preset weight value; … … aN is the Nth predetermined weight.
Carrying out weighted recursive average filtering processing on the acquisition capacitance value array based on the following expression:
Figure BDA0003323453870000092
wherein, CtempCollecting a capacitance value array; a is a weighted value array; cc1Acquiring a current capacitance value of a first touch key of a water heater control terminal; cc2Acquiring a current capacitance value of a second touch key of the water heater control terminal; … … CcNAnd the current acquisition capacitance value of the Nth touch key of the water heater control terminal is obtained. The above is only a specific example, and the practical application can be flexibly set according to the requirement,and are not intended to be limiting herein.
In this embodiment, the water heater control terminal may obtain each acquisition capacitance value of each touch key in a second preset acquisition period, and generate an acquisition capacitance value array; according to the weighted value array, carrying out weighted recursive average filtering processing on the acquired capacitance value array so as to obtain the current capacitance value of each touch key; the reliability of the current capacitance value of each touch key is guaranteed, and the accuracy of touch information and the false touch prevention identification process of the water heater control terminal is improved.
And step 106, if the target capacitance difference value larger than the static environment capacitance threshold value exists, determining a target touch key, and generating touch information according to the target touch key.
The target touch key is a touch key corresponding to a target capacitance difference value belonging to the touch trigger capacitance interval. When the target capacitance difference value corresponding to any touch key of the water heater control terminal is larger than the static environment capacitance threshold value, the water heater control terminal can determine the touch key corresponding to the target capacitance difference value belonging to the touch trigger capacitance interval, namely the target touch key, and generates touch information according to the target key.
In one embodiment, the minimum value of the touch trigger capacitance interval is a normal touch trigger capacitance threshold value; the maximum value of the target trigger capacitance interval is the maximum trigger capacitance threshold value; the normal trigger capacitance threshold is greater than the static environment capacitance threshold. Therefore, the identification accuracy of the target touch key is improved through the touch trigger capacitance interval determined by the normal touch trigger capacitance threshold and the maximum trigger capacitance threshold, and the accuracy of the touch information and the false touch prevention identification process of the water heater control terminal is also improved.
In one embodiment, the step of generating touch information according to the target touch key includes:
and generating touch information according to the number and the identification of the target touch keys.
When a target capacitance difference value corresponding to any touch key of the water heater control terminal is larger than a static environment capacitance threshold value, the water heater control terminal can determine the target touch key; then, the number and the identification of the target touch keys can be recorded according to the determined target touch keys; and then, generating corresponding touch information according to the number and the identification of the target touch keys. Therefore, accurate touch information can be generated through the number and the identification of the target touch keys, and the accuracy and the convenience of the false touch prevention identification process of the water heater control terminal are improved.
In one specific example, the expression of the touch information is:
TouchUnit={M,Id}
wherein, the TouchUnit is touch information; m is the number of target touch keys; and the Id is an identification array of the target touch key. The above is only a specific example, and the practical application can be flexibly set according to requirements, and is not limited herein.
And 108, inquiring according to the touch information, and identifying whether the water heater control terminal has touch operation or not according to an inquiring result.
The water heater control terminal can perform query processing through the touch information and identify whether touch operation exists in the water heater control terminal according to a query result. In one embodiment, as shown in fig. 3, the step of querying according to the touch information and identifying whether the touch operation exists in the water heater control terminal according to the query result includes:
step 301, inquiring in a user touch event inquiry table according to touch information, and obtaining an inquiry result;
step 302, if the query result is that the user touches the event query table and touch information exists, identifying that touch operation exists in the water heater control terminal;
and step 303, if the query result indicates that the user touch event query table does not have touch information, identifying that no touch operation exists in the water heater control terminal.
The touch event query table stores touch information corresponding to all the water heater control terminals in touch operation in advance. The water heater control terminal can perform query processing in the user touch event table according to the touch information; when the query result is that the corresponding touch information exists in the user touch event query table, recognizing that the touch operation exists in the water heater control terminal; and when the query result indicates that the corresponding touch information does not exist in the user touch time query table, identifying that no touch operation exists in the water heater control terminal. Therefore, whether touch operation exists in the water heater control terminal can be accurately identified through the touch information and the user touch event query table, and accuracy and convenience of a false touch prevention identification process of the water heater control terminal are improved.
In one specific example, the touch event lookup table has the expression:
TouchMap={TouchUnit1,TouchUnit2,…TouchUnitN}
wherein, TouchMap is a user touch event lookup table; TouchUnit1 is first preset touch information; TouchUnit2 is second preset touch information; … … touchunit N is nth preset touch information. In addition, the expression of the first preset touch information is as follows:
TouchUnit1={M1,Id1}
wherein, the TouchUnit1 is first preset touch information; m1The number of the touch keys is a first preset target; id1And the identification array of the target touch key is shown. The above is only a specific example, and the practical application can be flexibly set according to requirements, and is not limited herein.
According to the false touch prevention identification method for the water heater control terminal, the corresponding static environment capacitance value can be updated along with the change of factors such as the current environment temperature and/or environment humidity of each touch key of the water heater control terminal by acquiring the static environment capacitance value of each touch key of the water heater control terminal in the current round; then, obtaining a difference value of each target capacitor according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current round; then, if a target capacitance difference value larger than the static environment capacitance threshold value exists, determining a target touch key, and generating touch information according to the target touch key; finally, the touch information is used for inquiring, and whether the touch operation exists in the water heater control terminal is accurately identified according to the inquiring result, so that the phenomenon that the water heater control terminal is touched by mistake due to environmental factors such as hot water spraying can be prevented, and the reliability and the control precision of the water heater control terminal in the using process are improved.
It should be understood that although the various steps in the flow charts of fig. 1-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 4, there is provided a false touch prevention recognition device for a control terminal of a water heater, including: a first obtaining module 410, a difference value calculating module 420, an information generating module 430 and an information querying module 440, wherein:
the first obtaining module 410 is configured to obtain a static environment capacitance value of each touch key of the water heater control terminal in a current round; when the static environment capacitance value of the current round meets the updating condition, the static environment capacitance value of the previous round is obtained by filtering and updating, or the static environment capacitance value of the current round is an initial capacitance value; the initial capacitance value is the average value of all the collected capacitance values of the touch keys when the water heater control terminal is powered on;
the difference value calculating module 420 is configured to obtain each target capacitance difference value according to a difference between a current capacitance value of each touch key and a corresponding static environment capacitance value of the current round;
the information generating module 430 is configured to determine a target touch key if a target capacitance difference greater than the static environment capacitance threshold exists, and generate touch information according to the target touch key; the target touch key is a touch key corresponding to a target capacitance difference value belonging to a touch trigger capacitance interval;
the information query module 440 is configured to query according to the touch information, and identify whether a touch operation exists in the water heater control terminal according to a query result.
In one embodiment, the initial capacitance value is an average value of each acquisition capacitance value of the touch key in a first preset acquisition period in a non-touch state when the water heater control terminal is powered on. The static environment capacitance value of the current round is obtained by updating the static environment capacitance value of the previous round through first-order lag filtering when the static environment capacitance value of the current round meets the updating condition; the update conditions include: in the previous round of false touch prevention identification cycle, the target capacitance difference value of the touch key corresponding to the static environment capacitance value of the current round is smaller than the static environment capacitance threshold value. .
In one embodiment, the minimum value of the touch trigger capacitance interval is a normal touch trigger capacitance threshold value; the maximum value of the target trigger capacitance interval is the maximum trigger capacitance threshold value; the normal trigger capacitance threshold is greater than the static environment capacitance threshold.
In one embodiment, the current capacitance value is a current collection capacitance value of the touch key, or the current capacitance value is obtained by processing the collection capacitance value.
As shown in fig. 5, the false touch prevention device for a water heater control terminal further includes a second obtaining module 450 and a filtering processing module 460.
The second obtaining module 450 is configured to obtain each collecting capacitance value of each touch key in a second preset collecting period, and generate a collecting capacitance value array. The filtering processing module 460 is configured to perform weighted recursive average filtering processing on the acquired capacitance array according to the weighted value array, so as to obtain a current capacitance of each touch key.
In one embodiment, the information generation module 430 includes an information generation unit. The information generating unit is used for generating touch information according to the number and the identification of the target touch keys.
In one embodiment, the information query module 440 includes an information query unit and an operation identification unit.
The information query unit is used for querying in the user touch event query table according to the touch information and obtaining a query result. The operation identification unit is used for identifying that the water heater control terminal has touch operation if the query result indicates that the user touch event query table has touch information; the operation identification unit is also used for identifying that the water heater control terminal does not have touch operation if the query result indicates that the user touch event query table does not have touch information.
For specific limitations of the false touch prevention identification device for the water heater control terminal, reference may be made to the above limitations of the false touch prevention identification method for the water heater control terminal, and details are not repeated here. All or part of the modules in the false touch prevention identification device for the water heater control terminal can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a water heater control terminal is provided, which may be a terminal, the internal structure of which may be as shown in fig. 6. The water heater control terminal comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the water heater control terminal is used to provide computing and control capabilities. The memory of the water heater control terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium.
The communication interface of the water heater control terminal is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a false touch prevention recognition method for a water heater control terminal.
The display screen of the water heater control terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device of the water heater control terminal can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the water heater control terminal, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the water heater control terminal to which the present application is applied, and that a particular water heater control terminal may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In one embodiment, a water heater control terminal is provided, which comprises a memory storing a computer program and a processor implementing the steps of any one of the above method embodiments when the processor executes the computer program.
In an embodiment, a computer-readable storage medium is provided, having stored thereon a computer program, which when executed by a processor, carries out the steps of any of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A false touch prevention identification method for a water heater control terminal is characterized by comprising the following steps:
acquiring static environment capacitance values of touch keys of a water heater control terminal in a current round; the static environment capacitance value of the current round is obtained by filtering and updating the static environment capacitance value of the previous round when the updating condition is met, or the static environment capacitance value of the current round is an initial capacitance value; the initial capacitance value is the average value of all collected capacitance values of the touch key when the water heater control terminal is powered on;
obtaining a difference value of each target capacitor according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current round;
if the target capacitance difference value larger than the static environment capacitance threshold value exists, determining a target touch key and generating touch information according to the target touch key; the target touch key is the touch key corresponding to the target capacitance difference value belonging to the touch trigger capacitance interval;
and inquiring according to the touch information, and identifying whether the water heater control terminal has touch operation or not according to the inquiring result.
2. The method according to claim 1, wherein the initial capacitance value is an average value of each of the collection capacitance values of the touch key in a first preset collection period in a non-touch state when the water heater control terminal is powered on;
the static environment capacitance value of the current round is obtained by updating the static environment capacitance value of the previous round through first-order lag filtering when the updating condition is met; the update condition includes: in the previous round of false touch prevention identification cycle, the target capacitance difference value of the touch key corresponding to the static environment capacitance value of the current round is smaller than the static environment capacitance threshold value.
3. The method of claim 1, wherein the minimum value of the touch trigger capacitance interval is a normal touch trigger capacitance threshold; the maximum value of the target trigger capacitance interval is a maximum trigger capacitance threshold value; the normal trigger capacitance threshold is greater than the static environment capacitance threshold.
4. The method according to any one of claims 1 to 3, wherein the current capacitance value is a current collection capacitance value of the touch key, or the current capacitance value is obtained by processing the collection capacitance value;
wherein, the step of processing the collected capacitance value to obtain the current capacitance value comprises:
acquiring each acquisition capacitance value of each touch key in the second preset acquisition period to generate an acquisition capacitance value array;
and according to the weighted value array, carrying out weighted recursive average filtering processing on the acquisition capacitance value array to obtain the current capacitance value of each touch key.
5. The method according to any one of claims 1 to 3, wherein the step of generating touch information according to the target touch key comprises:
and generating touch information according to the number and the identification of the target touch keys.
6. The method according to any one of claims 1 to 3, wherein the step of inquiring according to the touch information and identifying whether the touch operation exists in the water heater control terminal according to the inquiry result comprises the following steps:
inquiring in a user touch event inquiry table according to the touch information, and obtaining an inquiry result;
if the query result is that the touch information exists in the user touch event query table, recognizing that the touch operation exists in the water heater control terminal;
and if the query result is that the touch information does not exist in the user touch event query table, identifying that the touch operation does not exist in the water heater control terminal.
7. A false touch prevention recognition device for a water heater control terminal, the device comprising:
the first acquisition module is used for acquiring static environment capacitance values of touch keys of the water heater control terminal in a current round; the static environment capacitance value of the current round is obtained by filtering and updating the static environment capacitance value of the previous round when the updating condition is met, or the static environment capacitance value of the current round is an initial capacitance value; the initial capacitance value is the average value of all collected capacitance values of the touch key when the water heater control terminal is powered on;
the difference value calculation module is used for obtaining each target capacitance difference value according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current round;
the information generation module is used for determining a target touch key if the target capacitance difference value larger than the static environment capacitance threshold value exists, and generating touch information according to the target touch key; the target touch key is the touch key corresponding to the target capacitance difference value belonging to the touch trigger capacitance interval;
and the information query module is used for querying according to the touch information and identifying whether the water heater control terminal has touch operation or not according to the query result.
8. The apparatus of claim 6, wherein the information generating module comprises:
and the information generating unit is used for generating touch information according to the number and the identification of the target touch keys.
9. A water heater control terminal comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202111254591.1A 2021-10-27 2021-10-27 False touch prevention identification method and device for water heater control terminal and storage medium Active CN114017923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111254591.1A CN114017923B (en) 2021-10-27 2021-10-27 False touch prevention identification method and device for water heater control terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111254591.1A CN114017923B (en) 2021-10-27 2021-10-27 False touch prevention identification method and device for water heater control terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114017923A true CN114017923A (en) 2022-02-08
CN114017923B CN114017923B (en) 2023-08-29

Family

ID=80057962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111254591.1A Active CN114017923B (en) 2021-10-27 2021-10-27 False touch prevention identification method and device for water heater control terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114017923B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979404A (en) * 2006-11-24 2007-06-13 启攀微电子(上海)有限公司 Self-adaptive judging method for capacitor type push-button
CN201523371U (en) * 2009-05-12 2010-07-07 深圳市博巨兴实业发展有限公司 Human body touch key control circuit
CN103279243A (en) * 2013-06-06 2013-09-04 东莞博用电子科技有限公司 Adjacent key suppression method of capacitive touch keys
CN105007071A (en) * 2015-08-25 2015-10-28 浙江绍兴苏泊尔生活电器有限公司 Method for judging whether capacitive touch key is effective or not and operation method
CN105302383A (en) * 2014-06-23 2016-02-03 炬力集成电路设计有限公司 Anti-interference method and device for capacitive touch sensor
CN105790747A (en) * 2016-02-25 2016-07-20 广东美的厨房电器制造有限公司 Touch key triggering detection method and triggering detection device
CN107018226A (en) * 2017-03-08 2017-08-04 广东欧珀移动通信有限公司 Unlocking screen method and mobile terminal
KR101886571B1 (en) * 2017-05-11 2018-08-07 한국알프스 주식회사 Method for detecting a touch electrostatic capacity type and touch input device for the same
JP2021010066A (en) * 2019-06-28 2021-01-28 株式会社東海理化電機製作所 Touch sensor, control apparatus, and computer program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979404A (en) * 2006-11-24 2007-06-13 启攀微电子(上海)有限公司 Self-adaptive judging method for capacitor type push-button
CN201523371U (en) * 2009-05-12 2010-07-07 深圳市博巨兴实业发展有限公司 Human body touch key control circuit
CN103279243A (en) * 2013-06-06 2013-09-04 东莞博用电子科技有限公司 Adjacent key suppression method of capacitive touch keys
CN105302383A (en) * 2014-06-23 2016-02-03 炬力集成电路设计有限公司 Anti-interference method and device for capacitive touch sensor
CN105007071A (en) * 2015-08-25 2015-10-28 浙江绍兴苏泊尔生活电器有限公司 Method for judging whether capacitive touch key is effective or not and operation method
CN105790747A (en) * 2016-02-25 2016-07-20 广东美的厨房电器制造有限公司 Touch key triggering detection method and triggering detection device
CN107018226A (en) * 2017-03-08 2017-08-04 广东欧珀移动通信有限公司 Unlocking screen method and mobile terminal
KR101886571B1 (en) * 2017-05-11 2018-08-07 한국알프스 주식회사 Method for detecting a touch electrostatic capacity type and touch input device for the same
JP2021010066A (en) * 2019-06-28 2021-01-28 株式会社東海理化電機製作所 Touch sensor, control apparatus, and computer program

Also Published As

Publication number Publication date
CN114017923B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN107688872A (en) Forecast model establishes device, method and computer-readable recording medium
CN107229911B (en) Fingerprint identification method and mobile terminal
CN105388992A (en) Fingerprint recognition method and apparatus and terminal
CN103970529A (en) Portable Sensor Device With A Gas Sensor And Low-power Mode
CN101192931A (en) Authentication system, authentication device, and authentication method
CN108363507B (en) Touch screen dead zone compensation method and device, electronic equipment and storage medium
CN111475384B (en) Shell temperature calculation method and device, storage medium and electronic equipment
CN108759892A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN111797861A (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN103809858A (en) Display method of application icon of terminal and terminal
CN105677081B (en) A kind of touch control method and terminal device
CN110442266A (en) Object identification method, device, electronic equipment and storage medium
CN113126815B (en) Key response control method and device, terminal equipment and storage medium
CN110945464A (en) Sliding signal identification method, MCU, touch control equipment and storage medium
CN114017923B (en) False touch prevention identification method and device for water heater control terminal and storage medium
CN110275639B (en) Touch data processing method and device, terminal and storage medium
CN106407945B (en) A kind of fingerprint identification method and mobile terminal
CN106933423B (en) A kind of method and mobile terminal of pressure touch detection
CN110210092B (en) Body temperature data processing method and device, storage medium and terminal equipment
CN111951058A (en) Commodity attention analysis method, device and system based on electronic price tags
CN112115182A (en) Time sequence data processing method, device, equipment and storage medium
CN111338516B (en) Finger touch detection method and device, electronic equipment and storage medium
CN114202804A (en) Behavior action recognition method and device, processing equipment and storage medium
CN113076339A (en) Data caching method, device, equipment and storage medium
CN110448876B (en) Shooting detection method, device, equipment, system and storage medium

Legal Events

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