CN114017923B - 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
CN114017923B
CN114017923B CN202111254591.1A CN202111254591A CN114017923B CN 114017923 B CN114017923 B CN 114017923B CN 202111254591 A CN202111254591 A CN 202111254591A CN 114017923 B CN114017923 B CN 114017923B
Authority
CN
China
Prior art keywords
touch
water heater
control terminal
capacitance
capacitance value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111254591.1A
Other languages
Chinese (zh)
Other versions
CN114017923A (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

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 an anti-false touch 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 a static environment capacitance value of each touch key of a water heater control terminal; 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 wheel; if the target capacitance difference value larger than the static environment capacitance threshold exists, determining a target touch key, and generating touch information according to the target touch key; inquiring according to the touch information, and identifying whether the touch operation exists in the water heater control terminal according to the inquiring result. By adopting the method, the false touch phenomenon of the control terminal of the water heater caused by environmental factors such as hot water spraying and the like can be avoided, and the reliability and the control precision of the control terminal of the water heater 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 present application relates to the field of touch sensing technologies, and in particular, to a method and apparatus for identifying a water heater control terminal by preventing false touch, a 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 as external input devices. However, in the process of using the water heater control terminal, a user is easy to have a false touch phenomenon of a touch key on the water heater control terminal due to non-subjective operation. 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 false touch phenomenon of the control terminal of the water heater caused by environmental factors such as hot water spraying, so that the reliability and control precision of the control terminal of the water heater are insufficient in the using process.
Disclosure of Invention
The first technical problem to be solved by the application is to provide an anti-false touch 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 improves the reliability and the control precision of the water heater control terminal in the use process.
The second technical problem to be solved by the application is to provide the false touch preventing identification device for the 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 improves the reliability and the control precision of the water heater control terminal in the use process.
The third technical problem to be solved by the application is to provide the 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 the control precision of the water heater control terminal in the use process.
The fourth technical problem to be solved by the present application is to provide a computer readable storage medium, which can effectively avoid the false touch phenomenon of the control terminal of the water heater caused by environmental factors such as hot water spraying, and improve the reliability and control precision of the control terminal of the water heater in the use process.
The first technical problem is solved by the following technical scheme:
an anti-false touch recognition method for a water heater control terminal, the method comprising:
acquiring a static environment capacitance value of each touch key of a water heater control terminal; the static environment capacitance value of the 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 round is the initial capacitance value; the initial capacitance value is an average value of all the acquired capacitance values of the touch keys when the water heater control terminal is electrified;
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 wheel;
if the target capacitance difference value larger than the static environment capacitance threshold 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;
inquiring according to the touch information, and identifying whether the touch operation exists in the water heater control terminal 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 the current environmental temperature and/or environmental humidity and other factors 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; then, 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 wheel; then, if a target capacitance difference value larger than the static environment capacitance threshold exists, determining a target touch key, and generating touch information according to the target touch key; and finally, inquiring through the touch information, and accurately identifying whether the touch operation exists on the water heater control terminal according to the inquiring result, so that the phenomenon of false touch of the water heater control terminal caused by 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 acquired capacitance values of the touch key in a first preset acquisition period under 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 hysteresis 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 recognition cycle, the target capacitance difference value of the touch key corresponding to the static environment capacitance value of the 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; the maximum value of the target trigger capacitance interval is the maximum trigger capacitance threshold; the normal trigger capacitance threshold is greater than the static ambient capacitance threshold. Therefore, the accuracy of the false touch prevention identification process of the touch information and the water heater control terminal is improved.
In one embodiment, the current capacitance value is a current acquired capacitance value of the touch key, or the current capacitance value is the acquired capacitance value and is obtained by processing the acquired capacitance value; the step of processing the acquired capacitance value to obtain the current capacitance value comprises the following steps: acquiring each acquisition capacitance value of each touch key in a second preset acquisition period, and generating an acquisition capacitance value array; and carrying out weighted recursive average filtering processing on the acquired capacitance value array according to the weighted 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 from 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 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 includes: 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, the water heater control terminal is identified to have touch operation; if the query result is that the touch information does not exist in the user touch event query table, the fact that the touch operation does not exist in the water heater control terminal is identified. Therefore, whether the water heater control terminal has touch operation or not can be accurately identified, and the 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 scheme:
an anti-false touch recognition device for a water heater control terminal, characterized in that the device comprises:
the first acquisition module is used for acquiring the static environment capacitance value of each touch key round of the water heater control terminal; the static environment capacitance value of the 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 round is the initial capacitance value; the initial capacitance value is an average value of all the acquired capacitance values of the touch keys when the water heater control terminal is electrified;
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 wheel;
the information generation module is used for determining a target touch key and generating touch information according to the target touch key if a target capacitance difference value larger than a static environment capacitance threshold exists; 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 inquiry module is used for inquiring according to the touch information and identifying whether the touch operation exists in the water heater control terminal according to the inquiry result.
According to the false 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; then, 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 wheel; then, if a target capacitance difference value larger than the static environment capacitance threshold exists, determining a target touch key, and generating touch information according to the target touch key; and finally, inquiring through the touch information, and accurately identifying whether the touch operation exists on the water heater control terminal according to the inquiring result, so that the phenomenon of false touch 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 use process are improved.
In one embodiment, the information generation module includes: and the information generation unit is used for generating touch information according to the number and the identification of the target touch keys. Therefore, the accuracy and 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:
the water heater control terminal comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to realize the steps of any one of the method embodiments.
According to the water heater control terminal, the change of factors such as the current ambient temperature or the current 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; then, 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 wheel; then, if a target capacitance difference value larger than the static environment capacitance threshold exists, determining a target touch key, and generating touch information according to the target touch key; and finally, inquiring through the touch information, and accurately identifying whether the touch operation exists on the water heater control terminal according to the inquiring result, so that the phenomenon of false touch 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 use process are improved.
The fourth technical problem is solved by the following technical scheme:
a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of any of the method embodiments described above.
Drawings
FIG. 1 is a flow chart of an anti-false touch recognition method for a water heater control terminal in an embodiment;
FIG. 2 is a flowchart illustrating steps for processing a collected capacitance value according to an embodiment;
FIG. 3 is a flowchart illustrating steps performed to query according to touch information in one embodiment;
FIG. 4 is a first block diagram of an anti-false touch recognition device for a water heater control terminal according to one embodiment;
FIG. 5 is a second block diagram of an anti-false touch recognition device for a water heater control terminal according to another embodiment;
fig. 6 is an internal structural view of a water heater control terminal according to an embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the 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 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 in the following embodiments, "connected" is understood to mean "electrically connected", "communicatively connected", etc., if the connected circuits, modules, units, etc., have electrical or data transfer between them.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, components, or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof. Also, the term "and/or" as used in this specification includes any and all combinations of the associated listed items.
The embodiment of the application provides an anti-false touch identification method and device for a water heater control terminal, the water heater control terminal and a storage medium, which 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 use process.
In one embodiment, as shown in fig. 1, a method for identifying a water heater control terminal against false touch is provided, and the embodiment is exemplified by the method being applied to the water heater control terminal. In this embodiment, the method includes the steps of:
step 102, acquiring the static environment capacitance value of each touch key of the water heater control terminal.
Wherein the water heater control terminal may 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 to-be-monitored area or a designated area in the water heater control terminal, which is only a specific example, and may be flexibly set according to requirements in practical application, which is not limited herein.
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 filtering processing when the updating condition is met, or the initial capacitance value of the touch key; the initial capacitance value is an average value of all the acquired capacitance values of the touch keys when the water heater control terminal is electrified; that is, the change of the current environmental temperature and/or environmental humidity and other factors of each touch key of the water heater control terminal can be represented by the static environmental capacitance value of the current round. The water heater control terminal can acquire the static environment capacitance value of the round corresponding to each touch key of the water heater control terminal.
In one embodiment, the initial capacitance value is an average value of all the collected capacitance values of the touch key in the first preset collection period under the non-touch state when the water heater control terminal is powered on.
The non-touch state refers to a state in which each touch key of the water heater control terminal has no touch operation. 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 being, 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 foregoing is merely a specific example, and may be flexibly set according to requirements in practical applications, which is not limited herein.
In this embodiment, when the water heater control terminal is powered on, the average value of all the acquired capacitance values of the touch keys in the first preset acquisition period in the non-touch state is used as the initial capacitance value, so that the static environment capacitance value of the round represents the change of the current environmental temperature and/or environmental humidity and other factors of all the touch keys of the water heater control terminal more accurately, 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 updating condition is met. Wherein the update condition includes: in the previous round of false touch prevention recognition cycle, the target capacitance difference value of the touch key corresponding to the static environment capacitance value of the round is smaller than the static environment capacitance threshold value.
In a specific example, in the previous round of false touch prevention recognition 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, the static environment capacitance value of the previous round of the touch key meets the update condition, first-order lag filtering processing is required 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 processing is used as the static environment capacitance value of the current round of the touch key.
The first-order hysteresis filtering process is performed on the static environment capacitance value of one round of touch keys based on the following expression:
C′ bN =a×C bN +b×C cN
wherein C' bN The static environment capacitance value of the touch key is the static environment capacitance value of the touch key; a is a first preset filtering parameter; c (C) bN The static environment capacitance value of the round of the touch key; b is a second preset filterWave parameters; c (C) cN Is the current capacitance value of the touch key. The foregoing is merely a specific example, and may be flexibly set according to requirements in practical applications, which is not limited herein.
In this embodiment, the static environment capacitance value of each touch key in the current round will change due to the temperature and/or humidity of the environment, so 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 processing to obtain the static environment capacitance value of the current round, which is also helpful for 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 recognition process of the water heater control terminal is improved.
Step 104, obtaining the difference value of each target capacitance according to the difference between the current capacitance value of each touch key and the corresponding static environment capacitance value of the current wheel.
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 current round 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 derived based on the following expression:
C ΔN =C cN -C′ bN
wherein C is ΔN The target capacitance difference value of the touch key is the target capacitance difference value; c (C) cN The current capacitance value of the touch key; c'. bN The static environment capacitance value of the touch key is the static environment capacitance value of the touch key.
In one embodiment, the current capacitance value may be a current acquired capacitance value of the touch key, or may be obtained by processing the acquired capacitance value.
The acquisition capacitance value refers to a capacitance value acquired in real time for each touch key of the water heater control terminal. As shown in fig. 2, the step of processing the acquired capacitance value to obtain the current capacitance value includes:
step 201, acquiring each acquired capacitance value of each touch key in a second preset acquisition period, and generating an acquired capacitance value array;
step 202, according to the weighted value array, weighting recursive average filtering processing is performed on the acquired capacitance value array, and the current capacitance value of each touch key is obtained.
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 weight value array is preset to a. The water heater control terminal obtains the collection capacitance values of the touch keys in N collection periods, and generates a collection capacitance value array according to the collection capacitance values of the touch keys in the N collection periods.
The expression of the acquisition capacitance value array is as follows:
C temp =[C src1 ,C src2 ,C src3 …,C srcN ]
wherein C is temp Collecting a capacitance value array; c (C) src1 Collecting a capacitor subarray in a first collecting period; c (C) src2 Collecting a capacitor subarray in a second collecting period; c (C) src3 Collecting a capacitor subarray in a third collecting period; … … C srcN And collecting the capacitor subarray in the Nth collecting period.
The expression of the acquisition capacitor array in the first acquisition period is as follows:
C src1 =[C s1 ,C s2 ,C s3 …,C sN ]
wherein C is s1 Collecting capacitance values of a first touch key of a water heater control terminal in a first collecting period; c (C) s2 Collecting capacitance values of a second touch key of the water heater control terminal in a first collecting period; c (C) s3 Collecting capacitance values of a third touch key of the water heater control terminal in a first collecting period; … … C sN And acquiring capacitance values for the N touch keys of the water heater control terminal in the first acquisition period.
The expression of the weighting value array is:
wherein A is a weighted value array; a1 is a first preset weighting value; … … aN is the N-th preset weight value.
And carrying out weighted recursive average filtering processing on the acquisition capacitance value array based on the following expression:
wherein C is temp Collecting a capacitance value array; a is a weighted value array; c (C) c1 The method comprises the steps that a current acquisition capacitance value of a first touch key of a water heater control terminal is obtained; c (C) c2 The current acquisition capacitance value of the second touch key of the water heater control terminal is obtained; … … C cN The current acquisition capacitance value of the Nth touch key of the water heater control terminal is obtained. The foregoing is merely a specific example, and may be flexibly set according to requirements in practical applications, which is not limited herein.
In this embodiment, the water heater control terminal may acquire each acquired capacitance value of each touch key in the second preset acquisition period, and generate an acquired capacitance value array; according to the weighted value array, weighting recursive average filtering processing is carried out on the acquired capacitance value array, so that the current capacitance value of each touch key is obtained; the reliability of the current capacitance value of each touch key is guaranteed, and the accuracy of the touch information and the false touch prevention identification process of the water heater control terminal is improved.
And 106, if the target capacitance difference value larger than the static environment capacitance threshold 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 generate 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; the maximum value of the target trigger capacitance interval is the maximum trigger capacitance threshold; the normal trigger capacitance threshold is greater than the static ambient capacitance threshold. Therefore, the recognition 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 recognition process of the water heater control terminal is also improved.
In one embodiment, the step of generating touch information from the target touch key includes:
and generating touch information according to the number and the identification of the target touch keys.
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 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, corresponding touch information can be generated 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 convenience of the false touch prevention identification process of the water heater control terminal are improved.
In one specific example, the expression of touch information is:
TouchUnit={M,Id}
wherein touch unit is touch information; m is the number of target touch keys; id is the identification array of the target touch key. The foregoing is merely a specific example, and may be flexibly set according to requirements in practical applications, which is not limited herein.
And step 108, inquiring according to the touch information, and identifying whether the touch operation exists in the water heater control terminal according to the inquiring result.
The water heater control terminal can perform query processing through the touch information, and whether touch operation exists in the water heater control terminal is identified according to a query result. In one embodiment, as shown in fig. 3, the steps of inquiring according to the touch information and identifying whether the touch operation exists in the water heater control terminal according to the result of the inquiring include:
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 touch information exists in the user touch event query table, the touch operation of the water heater control terminal is identified;
and step 303, 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.
The user touch event lookup 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, the fact that the touch operation exists in the water heater control terminal is recognized; and when the query result is that the corresponding touch information does not exist in the user touch time query table, recognizing that the water heater control terminal does not have touch operation. Therefore, whether the touch operation exists in the water heater control terminal can be accurately identified through the touch information and the user touch event lookup table, and the accuracy and convenience of the 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}
the touch map is a user touch event lookup table; touch unit1 is first preset touch information; touch unit2 is second preset touch information; … … TouchUnitN is the N-th preset touch information. In addition, the expression of the first preset touch information is:
TouchUnit1={M 1 ,Id 1 }
wherein touch unit1 is a first preset touch information; m is M 1 The number of the touch keys is first preset; id (Id) 1 An identification array for the target touch key. The foregoing is merely a specific example, and may be flexibly set according to requirements in practical applications, which is not limited herein.
According to the false touch prevention identification method for the water heater control terminal, by acquiring the static environment capacitance value of each touch key of the water heater control terminal, the corresponding static environment capacitance value can be updated along with the change of the current environmental temperature and/or environmental humidity and other factors of each touch key of the water heater control terminal; then, 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 wheel; then, if a target capacitance difference value larger than the static environment capacitance threshold exists, determining a target touch key, and generating touch information according to the target touch key; and finally, inquiring through the touch information, and accurately identifying whether the touch operation exists on the water heater control terminal according to the inquiring result, so that the phenomenon of false touch of the water heater control terminal caused by 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 steps in the flowcharts of fig. 1-3 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1-3 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 4, there is provided an anti-false touch recognition device for a water heater control terminal, including: a first acquisition module 410, a difference calculation module 420, an information generation module 430, and an information query 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; the static environment capacitance value of the 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 round is the initial capacitance value; the initial capacitance value is an average value of all the acquired capacitance values of the touch keys when the water heater control terminal is electrified;
the difference calculation module 420 is configured to obtain a difference value of each target capacitance according to a difference between a current capacitance value of each touch key and a corresponding static environment capacitance value of the current wheel;
the information generating module 430 is configured to determine a target touch key if there is a target capacitance difference greater than the static environment capacitance threshold, 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 on the water heater control terminal according to a result of the query.
In one embodiment, the initial capacitance value is an average value of all the collected capacitance values of the touch key in the first preset collection period under the 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 hysteresis 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 recognition cycle, the target capacitance difference value of the touch key corresponding to the static environment capacitance value of the 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; the maximum value of the target trigger capacitance interval is the maximum trigger capacitance threshold; the normal trigger capacitance threshold is greater than the static ambient capacitance threshold.
In one embodiment, the current capacitance value is a current acquired capacitance value of the touch key, or the current capacitance value is the acquired capacitance value and is obtained by processing.
As shown in fig. 5, the false touch preventing recognition device for the water heater control terminal further includes a second acquisition module 450 and a filtering processing module 460.
The second acquiring module 450 is configured to acquire each acquired capacitance value of each touch key in a second preset acquisition period, and generate an acquired capacitance value array. The filtering module 460 is configured to perform weighted recursive average filtering processing on the collected capacitance value array according to the weighted value array, so as to obtain a current capacitance value of each touch key.
In one embodiment, the information generation module 430 includes an information generation unit. The information generation 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 inquiry unit is used for inquiring in the user touch event inquiry table according to the touch information and obtaining an inquiry result. The operation identification unit is used for identifying that the water heater control terminal has touch operation if the query result is that the touch information exists in the user touch event query table; the operation identification unit is also used for identifying that the water heater control terminal does not have touch operation if the query result is that the user touches the event query table and does not have touch information.
The specific limitation of the false touch preventing and identifying device for the water heater control terminal can be referred to the limitation of the false touch preventing and identifying method for the water heater control terminal, and the description thereof is omitted herein. The above-mentioned various modules in the false touch preventing recognition device for the water heater control terminal can be realized in whole or in part by software, hardware and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a water heater control terminal is provided, which may be a terminal, and an internal structure thereof 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 for providing 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 the operating system and computer programs in the non-volatile storage media.
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 mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a false touch prevention identification 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, can also be a key, a track ball or a touch pad arranged on the shell of the water heater control terminal, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present application and is not intended to limit the water heater control terminal to which the present application is applied, and that a particular water heater control terminal may include more or fewer components than shown, or may incorporate certain components, or may have a different arrangement of components.
In one embodiment, a water heater control terminal is provided, comprising a memory storing a computer program and a processor implementing the steps of any of the above method embodiments when executing the computer program.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, implements the steps of any of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. An anti-false touch recognition method for a water heater control terminal, which is characterized by comprising the following steps:
acquiring a static environment capacitance value of each touch key of a water heater control terminal; 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 hysteresis filtering 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 an average value of all the acquired capacitance values of the touch key in a first preset acquisition period under a non-touch state when the water heater control terminal is electrified;
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 wheel;
if the target capacitance difference value larger than the static environment capacitance threshold 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;
inquiring according to the touch information, and identifying whether touch operation exists on the water heater control terminal according to the inquiring result;
the update condition includes: in the previous round of false touch prevention recognition 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;
the generation mode of the current capacitance value comprises the following steps: acquiring each acquisition capacitance value of each touch key in a second preset acquisition period, and generating an acquisition capacitance value array; and carrying out weighted recursive average filtering processing on the acquired capacitance value array according to the weighted value array to obtain the current capacitance value of each touch key.
2. The false touch prevention recognition method for a water heater control terminal according to claim 1, wherein the static environment capacitance value of one round of the touch key is subjected to first-order hysteresis filtering based on the following expression:
wherein (1)>The static environment capacitance value of the touch key is the static environment capacitance value of the touch key; />The method comprises the steps of presetting filter parameters for a first preset; />The static environment capacitance value of the round of the touch key is obtained; />The second preset filtering parameters are; />And the current capacitance value of the touch key.
3. The false touch prevention recognition method for a water heater control terminal according to claim 1, wherein a minimum value of the touch trigger capacitance interval is a normal touch trigger capacitance threshold; the maximum value of the touch trigger capacitance interval is the maximum trigger capacitance threshold; the normal touch trigger capacitance threshold is greater than the static ambient capacitance threshold.
4. The false touch prevention recognition method for a water heater control terminal 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.
5. The false touch prevention recognition method for a water heater control terminal according to any one of claims 1 to 3, wherein the step of inquiring according to the touch information and recognizing whether the water heater control terminal has a touch operation according to a result of the inquiring comprises:
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, the touch operation of the water heater control terminal is recognized;
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.
6. An anti-false touch recognition device for a water heater control terminal, the device comprising:
the first acquisition module is used for acquiring the static environment capacitance value of each touch key round of the water heater control terminal; 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 hysteresis filtering 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 an average value of all the acquired capacitance values of the touch key in a first preset acquisition period under a non-touch state when the water heater control terminal is electrified;
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 wheel;
the information generation module is used for determining a target touch key and generating touch information according to the target touch key if the target capacitance difference value larger than the static environment capacitance threshold exists; the target touch key is the touch key corresponding to the target capacitance difference value belonging to the touch trigger capacitance interval;
the information inquiry module is used for inquiring according to the touch information and identifying whether the water heater control terminal has touch operation or not according to the inquiry result;
the update condition includes: in the previous round of false touch prevention recognition 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;
the generation mode of the current capacitance value comprises the following steps: acquiring each acquisition capacitance value of each touch key in a second preset acquisition period, and generating an acquisition capacitance value array; and carrying out weighted recursive average filtering processing on the acquired capacitance value array according to the weighted value array to obtain the current capacitance value of each touch key.
7. The false touch preventing recognition device for a water heater control terminal according to claim 6, wherein the information generating module comprises:
and the information generation unit is used for generating touch information according to the number and the identification of the target touch keys.
8. The false touch prevention apparatus for a water heater control terminal according to claim 6, wherein the static environment capacitance value of one round of the touch key is subjected to a first-order lag filtering process based on the following expression:
wherein (1)>Static ambient capacitance value for the touch key home round +.>The method comprises the steps of presetting filter parameters for a first preset; />On the touch keyStatic ambient capacitance value for a round; />The second preset filtering parameters are; />And the current capacitance value of the touch key.
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, carries out the steps of the method according to any one of claims 1 to 5.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
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 CN114017923A (en) 2022-02-08
CN114017923B true 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
CN114017923A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN111475384B (en) Shell temperature calculation method and device, storage medium and electronic equipment
CN110378386A (en) Based on unmarked abnormality recognition method, device and the storage medium for having supervision
CN111797854B (en) Scene model building method and device, storage medium and electronic equipment
CN111797861A (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN110543756B (en) Device identification method and device, storage medium and electronic device
CN103809858A (en) Display method of application icon of terminal and terminal
CN113542442A (en) Malicious domain name detection method, device, equipment and storage medium
CN114017923B (en) False touch prevention identification method and device for water heater control terminal and storage medium
CN105677081B (en) A kind of touch control method and terminal device
CN113126815B (en) Key response control method and device, terminal equipment and storage medium
CN110275639B (en) Touch data processing method and device, terminal and storage medium
CN110210092B (en) Body temperature data processing method and device, storage medium and terminal equipment
CN111797874B (en) Behavior prediction method and device, storage medium and electronic equipment
CN109461231B (en) Door lock control method and device, control equipment and readable storage medium
US20170160892A1 (en) Individual customization system and method
CN109189273B (en) Touch event processing method and device, computer equipment and storage medium
CN111338516B (en) Finger touch detection method and device, electronic equipment and storage medium
CN113157212A (en) Flash storage method and device, intelligent wearable device and storage medium
CN113377223A (en) Touch method, system, electronic product and storage medium
CN111797075A (en) Data recovery method and device, storage medium and electronic equipment
CN110908822B (en) Intelligent hardware anti-false-collision method and device, storage medium and electronic equipment
US20140375594A1 (en) Touch screen system and method
CN116095137B (en) Intelligent data acquisition and pushing method and system based on supply chain management
CN115613913B (en) Touch control method and touch processing system for hidden door handle
CN116489709B (en) Node scheduling policy determination method, terminal equipment 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