CN112764655A - Touch area determination method and device, electric appliance and computer readable storage medium - Google Patents

Touch area determination method and device, electric appliance and computer readable storage medium Download PDF

Info

Publication number
CN112764655A
CN112764655A CN201910998659.3A CN201910998659A CN112764655A CN 112764655 A CN112764655 A CN 112764655A CN 201910998659 A CN201910998659 A CN 201910998659A CN 112764655 A CN112764655 A CN 112764655A
Authority
CN
China
Prior art keywords
touch
touch area
signal
area
signals
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
CN201910998659.3A
Other languages
Chinese (zh)
Other versions
CN112764655B (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.)
Wuxi Filin Electronics Co Ltd
Original Assignee
Wuxi Filin Electronics 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 Wuxi Filin Electronics Co Ltd filed Critical Wuxi Filin Electronics Co Ltd
Priority to CN201910998659.3A priority Critical patent/CN112764655B/en
Publication of CN112764655A publication Critical patent/CN112764655A/en
Application granted granted Critical
Publication of CN112764655B publication Critical patent/CN112764655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention relates to the technical field of touch control, and particularly provides a method and a device for determining a touch area, an electric appliance and a computer-readable storage medium. The touch area determination method is used for a touch device with a plurality of touch areas. The touch area determination method comprises the following steps: collecting at least two touch signals of the plurality of touch areas; and determining a target touch area touched in the plurality of touch areas according to the at least two touch signals. The invention can improve the sensitivity of the touch key and the accuracy of determining the touch area.

Description

Touch area determination method and device, electric appliance and computer readable storage medium
Technical Field
The invention relates to the technical field of touch control, in particular to a touch area determining method, a touch area determining device, an electric appliance and a computer readable storage medium.
Background
The touch key has the advantages of slight and quick induction, scratch resistance, water and oil stain resistance, attractive appearance, fashion and the like. Therefore, the touch keys are increasingly used in the field of electrical equipment.
Among them, the related technologies of touch keys have the following disadvantages: for a touch device having a plurality of touch areas, it is difficult for the related art to accurately determine a touch area actually touched among the plurality of touch areas.
Disclosure of Invention
The present invention is directed to solving at least one of the above problems.
Therefore, a first objective of the present invention is to provide a method for determining a touch area.
The second objective of the present invention is to provide a touch device.
A third object of the present invention is to provide an electric appliance.
A fourth object of the present invention is to provide a computer-readable storage medium.
To achieve the first object of the present invention, the technical solution of the present invention provides a method for determining a touch area, which is used for a touch device having a plurality of touch areas, and the method for determining a touch area includes: collecting at least two touch signals of the plurality of touch areas; and determining a target touch area touched in the plurality of touch areas according to the at least two touch signals. Compared with the technical scheme that the touched position is judged through a single touch signal in the related art, the embodiment of the invention collects the at least two touch signals and simultaneously utilizes the at least two touch signals to determine the touched positions in the multiple touch areas, so that the accuracy of judging the touch areas is improved.
In addition, the touch area determination method provided by the invention can also have the following additional technical characteristics:
in the above technical solution, the touch device includes a plurality of sensors; the acquiring at least two touch signals of the plurality of touch areas comprises: acquiring the at least two touch signals by the plurality of sensors; each sensor in the plurality of sensors acquires touch signals of at least two touch areas in the plurality of touch areas, and any two touch areas in the at least two touch areas are not connected with each other. According to the technical scheme, the touch signals of a large number of touch areas are monitored or collected by using a relatively small number of sensors, so that the purposes of simplifying the structure of the touch device, reducing the product volume and saving the cost can be achieved. Because any two touch areas in the at least two touch areas are not connected with each other, the technical scheme can avoid the problems of mutual interference and inaccurate test results caused by the fact that the same sensor is adopted to detect the adjacent touch areas, and the accuracy degree of the touched areas is guaranteed.
In any of the above technical solutions, the plurality of touch areas include a first touch area and a second touch area, and a touch signal of the first touch area and a touch signal of the second touch area are acquired by the same sensor; the determining a target touch area touched in the plurality of touch areas according to the at least two touch signals includes: performing interference filtering on at least a portion of the at least two touch signals; adding and summing the touch signals of the first touch area and the touch area adjacent to the first touch area to obtain a first summation result; adding and summing the touch signals of the second touch area and the touch area adjacent to the second touch area to obtain a second summation result; and determining a target touch area touched in the first touch area and the second touch area according to the first summation result and the second summation result. In the technical scheme, the touch signal of the first touch area and the touch signal of the second touch area are acquired by the same sensor. In order to determine which touch signal of the two touch signals acquired by the same sensor corresponds to the touch area as the touched target touch area, the technical scheme compares the signal intensity of the first touch area and the second touch area. In the present disclosure, since one touch operation may cause signal changes in two or more touch areas, the total signal generated in the first touch area and the adjacent touch area thereof is compared with the total signal generated in the second touch area and the adjacent touch area thereof, so as to accurately determine which of the first touch area and the second touch area is touched. In addition, because the touch areas may be interfered by dust, water stain, moisture and other factors, in order to more accurately determine the touched target touch area, in the technical scheme, before the first touch area, the second touch area and the adjacent touch signals thereof are acquired, interference filtering is performed on at least one part of the at least two touch signals, so that the interference signals are excluded from being filtered, more accurate touch signals of the first touch area, the second touch area and the adjacent touch areas thereof are acquired, and more accurate comparison and determination results are acquired on the basis, so that the touched target touch area is accurately determined.
In any one of the above technical solutions, the determining, according to the first summation result and the second summation result, a target touch area touched in the first touch area and the second touch area includes: judging that the first summation result is greater than or equal to the second summation result, and determining that the first touch area is the target touch area; or, determining that the first summation result is smaller than the second summation result, and determining that the second touch area is the target touch area. In the technical scheme, the touch signal represents the touched condition or the interfered condition of the touch area. Because the interference filtering operation is carried out on the touch signal before the signal intensity comparison is carried out, the touched target touch area can be accurately and quickly judged only by adding the two signals according to the technical scheme on the premise of eliminating the interference.
In any of the above technical solutions, the at least a portion of the touch signals include: a touch signal of a touch area adjacent to at least one of the first touch area or the second touch area. According to the technical scheme, the touch signals used in the signal strength comparison step can be guaranteed to be subjected to interference filtration, and therefore the accuracy of comparison results obtained in the signal strength comparison process is guaranteed.
In any of the above technical solutions, the performing interference filtering on at least a part of the at least two touch signals includes: determining a critical threshold corresponding to a touch signal of each touch area adjacent to the first touch area or the second touch area; and clearing or reserving each touch signal and/or another touch signal corresponding to each touch signal according to each touch signal and the corresponding critical threshold value. By comparing the magnitude of the touch signal with the critical threshold, it can be determined whether it is a normal signal or an interference signal. According to the technical scheme, the interference signals can be judged quickly and accurately through the setting of the critical threshold value, so that the efficiency of determining the touch area is improved.
In any of the above technical solutions, the clearing or retaining each touch signal and/or another touch signal corresponding to each touch signal according to each touch signal and the corresponding critical threshold includes: judging that any touch signal is smaller than the corresponding critical threshold value, and carrying out zero clearing on any touch signal and/or another touch signal corresponding to any touch signal; or, determining that any touch signal is greater than or equal to the corresponding critical threshold, and reserving the any touch signal and/or another touch signal corresponding to the any touch signal. In the technical scheme, the touch signals with the signal intensity lower than the critical threshold value are recorded as zero, and the touch signals with the signal intensity higher than the critical threshold value are reserved, so that the accuracy of the subsequent signal intensity comparison and judgment steps is ensured.
In any of the above technical solutions, the plurality of touch areas includes ten touch areas; the at least two touch signals comprise ten touch signals respectively corresponding to each of the ten touch areas; the ten touch signals are collected by five sensors, wherein any one of the five sensors is used for respectively collecting the touch signals of any two touch areas which are spaced from each other. The touch area layout method provided by the technical scheme is particularly suitable for judging the touch area by adopting the touch area determination method of any embodiment of the invention.
To achieve the second object, an embodiment of the invention provides a touch device, including: a memory storing a computer program; a processor executing the computer program; the processor, when executing the computer program, implements the steps of the touch area determining method according to any embodiment of the present invention. The touch device provided in the embodiments of the present invention implements the steps of the touch area determining method according to any embodiment of the present invention, and thus has the touch area determining method according to any embodiment of the present invention.
To achieve the third object of the present invention, an embodiment of the present invention provides an electric appliance, including: an appliance body; the touch device is in signal connection with the electric appliance body and controls the electric appliance body; the touch device implements the steps of the touch area determination method according to any embodiment of the present invention.
In the above technical scheme, the electrical appliance is at least one of a washing machine, a range hood, a refrigerator, an air conditioner, an electric cooker and a pressure cooker.
To achieve the fourth object of the present invention, an embodiment of the present invention provides a computer-readable storage medium including: the computer-readable storage medium stores a computer program, which when executed, implements the steps of the touch area determining method according to any embodiment of the present invention.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic step diagram of a touch area determination method according to some embodiments of the present invention;
FIG. 2 is a schematic diagram of a touch device according to some embodiments of the present invention;
FIG. 3 is a schematic diagram of the components of an appliance in accordance with some embodiments of the invention;
FIG. 4 is a schematic diagram of touch area distribution according to some embodiments of the invention;
FIG. 5 is a schematic diagram illustrating a step of a touch area determination method according to some embodiments of the invention;
fig. 6 is a schematic diagram illustrating an interference filtering step of a touch area determining method according to some embodiments of the present invention;
fig. 7 is a schematic step diagram of a touch area determining method according to an embodiment of the invention.
The correspondence between reference numbers and component names is:
100: electric appliance, 200: touch device, 202: memory, 204: processor, 300: electrical appliance body, 1: first touch area, 2: second touch area, 3: third touch area, 4: fourth touch area, 5: fifth touch area, 6: sixth touch area, 7: seventh touch area, 8: eighth touch area, 9: ninth touch area, 10: a tenth touch area.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
The technical solutions of some embodiments of the present invention are described below with reference to the accompanying drawings.
The touch key has the advantages of slight and quick induction, scratch resistance, water and oil stain resistance, attractive appearance, fashion and the like. Therefore, the touch keys and the touch control devices are increasingly used in many fields.
The touch control device generally includes a touch panel, on which one or more touch keys are disposed, the touch keys are in signal connection with a sensor, and the sensor is connected with a control unit. When the user uses the touch control panel, the user controls the corresponding equipment or device to work by touching the touch keys on the touch control panel. When a touch key is touched by a user, the touch key changes accordingly, such as a capacitance change or a voltage change. The sensor can monitor the corresponding change of the touch key and convert the change into a signal which can be received and processed by the control unit, and then the control unit receives the corresponding signal from the sensor, so that the equipment or the device is controlled according to the selection of a user.
In order to flexibly control a device or apparatus, a plurality of touch keys are generally required to be arranged on a touch panel, that is to say: the touch panel is provided with a plurality of touch areas. When the user touches different touch areas, the device or apparatus may implement different functions. The touch areas described in the embodiments of the present invention refer to different touch areas touched by each touch button area in the touch panel, so that different programs can be executed by a product or a device to implement different operations or functions.
However, the related art has a problem that the touch key is not sensitive enough, and the determination of the touched area or the touched point is not accurate enough, so that the device or the apparatus is prone to be confused in executing programs.
In order to improve the accuracy of the touch area determination, the embodiment of the invention provides a touch area determination method. The method can be suitable for large household appliances such as washing machines, refrigerators, air conditioners, televisions and the like, can also be suitable for household cooking equipment and appliances such as range hoods, electric cookers, electric pressure cookers and the like, and can also be applied to other equipment or devices suitable for household or industrial production.
The touch area determining method provided by the embodiment of the invention is used for a touch device with a plurality of touch areas, and aims to accurately judge which touch area in the plurality of touch areas is touched by a user.
As shown in fig. 1, the touch area determining method includes:
s11, collecting at least two touch signals of a plurality of touch areas; and the number of the first and second groups,
and S12, determining a touched target touch area in the plurality of touch areas according to the at least two touch signals.
In step S11, the present embodiment collects the touch signals corresponding to each touch area, so as to obtain all the touch signals generated or output in the touch areas. In step S12, the touch area determination method provided by the present embodiment determines the touched target area by using all the touch signals obtained in step S11. Optionally, the at least two touch signals of the present embodiment include touch signals respectively generated with each of the plurality of touch areas. Wherein the touch signal is collected by a sensor. In order to improve the accuracy of the determination, the touch area determining method provided by the embodiment of the invention acquires at least two touch signals. Compared with the technical scheme that the touched position is judged through a single touch signal in the related art, the embodiment of the invention collects at least two touch signals and simultaneously utilizes the at least two touch signals to determine the touched positions in a plurality of touch areas, namely: the touched target touch area improves the accuracy of touch area judgment.
As shown in fig. 2, an embodiment of the invention further provides a touch device 200, including: a memory 202 and a processor 204, the memory 202 storing computer programs; the processor 204 executes computer programs; when executing the computer program, the processor 204 implements the steps of the touch area determining method according to any embodiment of the present invention.
As shown in fig. 3, an embodiment of the present invention also provides an electric appliance 100, including: the touch device 200 is in signal connection with the electric appliance body 300 and controls the electric appliance body 300; the touch device 200 implements the steps of the touch area determination method according to any embodiment of the present invention. The electric appliance 100 is at least one of a washing machine, a range hood, a refrigerator, an air conditioner, an electric cooker, and a pressure cooker.
Embodiments of the present invention further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the steps of the touch area determining method according to any embodiment of the present invention are implemented.
Example 1
Based on the touch area determination method shown in fig. 1. The present embodiment provides another touch area determination method.
In this embodiment, the touch device includes a plurality of sensors and a plurality of touch areas. The plurality of touch areas comprise a plurality of mutually independent touch areas, and each touch area can output a touch signal; each sensor can collect touch signals of at least two touch areas, and any two touch areas in the at least two touch areas collected by the same sensor are not connected with each other, such as: the sensor a collects touch signals of the touch area B and the touch area C, and in the touch device, the touch area B and the touch area C are separated by one or more other touch areas. It should be noted that, as another possible implementation manner, each sensor acquires a touch signal of one touch area.
In this embodiment, at least two touch signals are collected by at least one sensor. In the plurality of sensors, each sensor simultaneously acquires touch signals of at least two touch areas which are spaced from each other. At least two touch areas acquired by the same sensor are not directly adjacent.
Because two arbitrary touch-control areas in at least two touch-control areas that same sensor gathered are not continuous each other, therefore this technical scheme can avoid adopting the mutual interference that same sensor detected adjacent touch-control area and bring, the inaccurate problem of test result, guarantees the degree of accuracy when judging by the touch area.
As an example of a touch device, as shown in fig. 4, the plurality of touch areas includes ten touch areas; the at least two touch signals comprise ten touch signals respectively corresponding to each of the ten touch areas; the plurality of sensors comprise five sensors, and any one of the five sensors is used for respectively acquiring touch signals of any two touch areas which are mutually spaced. Specifically, ten touch areas are arranged along a circular ring. Each of the ten touch areas may generate ten corresponding touch signals. The ten touch areas include: a first touch area 1, a second touch area 2, a third touch area 3, a fourth touch area 4, a fifth touch area 5, a sixth touch area 6, a seventh touch area 7, an eighth touch area 8, a ninth touch area 9, and a tenth touch area 10.
The third touch area 3 and the sixth touch area 6 correspond to each other, and the third touch area and the sixth touch area are monitored by the same sensor. The fifth touch area 5 and the tenth touch area 10 correspond to each other, and are monitored by the same sensor. The ninth touch area 9 and the eighth touch area 8 correspond to each other and are monitored by the same sensor. The seventh touch area 7 and the fourth touch area 4 correspond to each other, and the seventh touch area and the fourth touch area are monitored by the same sensor. The first touch area 1 and the second touch area 2 correspond to each other, and the first touch area and the second touch area are monitored by the same sensor.
According to the technical scheme, the touch signals of a large number of touch areas are monitored or collected by using a relatively small number of sensors, so that the purposes of simplifying the structure of the touch device, reducing the product volume and saving the cost can be achieved.
Example 2
Based on the touch area determination method provided in fig. 1 and embodiment 1, the present embodiment provides another touch area determination method.
In this embodiment, the multiple touch areas include a first touch area 1 and a second touch area 2, and the touch signal of the first touch area 1 and the touch signal of the second touch area 2 are collected by the same sensor, as shown in fig. 5, the touch area determining method of this embodiment includes:
s21, collecting at least two touch signals output by a plurality of touch areas.
Under the condition of no external interference, the touch operation of a user can cause the touch signals of three adjacent touch areas to change, when the touch operation of the user touches the first sensor monitoring area, the first sensor collects the first touch area 1 and the second touch area 2, and simultaneously the touch signals of the touch areas adjacent to the first touch area 1 or the second touch area 2 are also collected by the corresponding sensors, for example: in fig. 4, when the first sensor acquires the touch signals of the first touch area 1 and the second touch area 2, the touch signals of the third touch area 3, the fourth touch area 4, the ninth touch area 9 and the tenth touch area 10 are also acquired by the corresponding sensors. When external interference exists, the value of the acquired touch signal is affected, and the touch area touched by the user cannot be accurately judged.
S22, interference filtering is carried out on at least one part of the touch signals in the at least two touch signals.
Since the external interference may affect the value of the collected touch signal, interference filtering is performed on at least a part of the collected touch signal.
Wherein at least a portion of the touch signals includes touch signals of touch areas adjacent to at least one of the first touch area 1 or the second touch area 2.
As shown in the above S21, when the first sensor is the main sensor corresponding to the user touch operation, the touch signals of the first touch area 1 and the second touch area 2 collected by the first sensor are much larger than the change caused by the external interference, and interference filtering is not needed, but the touch signals of the third touch area 3 and the ninth touch area 9 adjacent to the first touch area 1 and the touch signals of the fourth touch area 4 and the tenth touch area 10 adjacent to the second touch area 2 are subjected to interference filtering.
S23, adding and summing the touch signals of the first touch area 1 and the touch area adjacent to the first touch area 1 to obtain a first summing result.
After the interference filtering is performed, the touch signal of the first touch area 1 and the touch signals of the third touch area 3 and the ninth touch area 9 obtained after the interference filtering are added and summed, and the result obtained by the addition and summation is used as a first summation result.
And S24, adding and summing the touch signals of the second touch area 2 and the touch area adjacent to the second touch area 2 to obtain a second summation result.
After the interference filtering is performed, the touch signal of the second touch area 2 and the touch signals of the fourth touch area 4 and the tenth touch area 10 obtained after the interference filtering are added and summed, and the result obtained by the addition and summation is used as a second summation result.
And S25, determining the touched target touch areas in the first touch area 1 and the second touch area 2 according to the first summation result and the second summation result.
After the first summation result and the second summation result are obtained, comparing the magnitude relation of the two summation results, judging that the first summation result is larger than or equal to the second summation result, indicating that the touch signals of a fourth touch area 4 and a tenth touch area 10 adjacent to the second touch area 2 are changes caused by external interference, and determining that the first touch area 1 is a target touch area; or, the first summation result is judged to be smaller than the second summation result, which indicates that the touch signals of the third touch area 3 and the ninth touch area 9 adjacent to the first touch area 1 are changes caused by external interference, and the second touch area 2 is determined to be the target touch area.
The purpose of the above steps is to compare and determine which touch area of the first touch area 1 and the second touch area 2 monitored by the same sensor is touched by the user. The first touch area 1 and the second touch area 2 are separated from each other by one or more touch areas.
The mode for realizing the purpose is as follows: and comparing the touch signals of the first touch area 1 and the second touch area 2 in magnitude. Since a touch operation may cause a change in touch signals of one touch area and one or more touch areas adjacent to the touch area, the touch signals of the first touch area 1 and the touch area adjacent to the first touch area 1 are added and summed, and the touch signals of the second touch area 2 and the touch area adjacent to the second touch area 2 are added and summed. Thus, the touched target area is accurately judged by comparing the two summation results.
It should be noted that, in the present embodiment, the distribution or arrangement of each of the touch areas is not limited, and one or more touch areas may be respectively located around the first touch area 1 or the second touch area 2. For example, each of the touch areas may be continuously or intermittently distributed. For example, each of the touch areas may be connected end to form a closed loop, or may be arranged in sequence to form an array or a strip-shaped non-closed layout. When only one touch area is located around the first touch area 1 or the second touch area 2, the embodiment sums only the first touch area 1 and one touch area adjacent to the first touch area 1, and sums only the second touch area 2 and one touch area adjacent to the second touch area 2.
The purpose of the interference filtering step is to improve the accuracy in determining the touch area. Specifically, the interference filtering is used to eliminate the influence of the interference signal on the touch area determination, thereby further improving the accuracy of the touch area determination. The touch key is easily interfered by external environment, such as moisture, splash water, temperature change or dust. These disturbances may result in inaccurate results of the contact position detection. That is, when the above interference exists, a touch signal may be generated in both the touched and untouched touch areas, which makes it difficult for the sensor to determine which touch area is touched by the user, thereby causing problems of insensitivity of the touch key and confusion of the execution program. Therefore, in order to eliminate interference, in the present embodiment, after the touch signals are collected, interference filtering is performed on the touch signals first.
Wherein interference filtering may be performed on all touch signals one by one. Interference filtering may also be performed on a portion of the total touch signal. For example, only touch signals used or required in subsequent comparison determination steps are filtered. Optionally, in the step of interference filtering, the interference filtering is performed continuously for the touch signals one by one. After the interference filtering is completed on the previous touch signal, the step of performing interference filtering on the next touch signal is performed, and the steps are performed one by one according to the method until the interference filtering operation on all the touch signals needing to be filtered is completed.
Example 3
Based on the touch area determination method shown in embodiment 2, this embodiment further describes the method. As shown in fig. 6, S22 in embodiment 2 includes the following sub-steps:
s31, determining a critical threshold corresponding to the touch signal of each touch area adjacent to the first touch area 1 or the second touch area 2.
As in embodiment 2, determining the critical threshold corresponding to the touch signals of the third touch area 3 and the ninth touch area 9 adjacent to the first touch area 1 respectively; and critical thresholds corresponding to the touch signals of the fourth touch area 4 and the tenth touch area 10 adjacent to the second touch area 2, respectively.
And S32, clearing or reserving each touch signal and/or another touch signal corresponding to each touch signal according to each touch signal and the corresponding critical threshold.
Comparing each touch signal with a corresponding critical threshold value, judging that any touch signal is smaller than the corresponding critical threshold value, and clearing any touch signal and/or another touch signal corresponding to any touch signal; or, determining that any touch signal is greater than or equal to the corresponding critical threshold, and reserving any touch signal and/or another touch signal corresponding to any touch signal. Such as: if the touch signal of the third touch area 3 is smaller than the corresponding critical threshold, the touch signal of the third touch area 3 is cleared, and the touch signal of the tenth touch area 10 corresponding to the third touch area 3 is also cleared at the same time.
Detailed Description
The embodiment provides a touch area determination method for a touch device with a plurality of touch areas on a washing machine. The present embodiment is directed to determining which specific touch area among a plurality of touch areas on a washing machine is touched by a user.
As shown in fig. 4, the plurality of touch areas includes ten touch areas arranged along a circular ring shape, that is: a first touch area 1, a second touch area 2, a third touch area 3, a fourth touch area 4, a fifth touch area 5, a sixth touch area 6, a seventh touch area 7, an eighth touch area 8, a ninth touch area 9, and a tenth touch area 10. The touch signals of ten touch areas are acquired by adopting five sensors. The third touch area 3 and the sixth touch area 6 correspond to each other, and the third touch area and the sixth touch area are monitored by the same sensor. The fifth touch area 5 and the tenth touch area 10 correspond to each other, and are monitored by the same sensor. The ninth touch area 9 and the eighth touch area 8 correspond to each other and are monitored by the same sensor. The seventh touch area 7 and the fourth touch area 4 correspond to each other, and the seventh touch area and the fourth touch area are monitored by the same sensor. The first touch area 1 and the second touch area 2 correspond to each other, and the first touch area and the second touch area are monitored by the same sensor.
When a user touches a touch area, at least three significantly larger touch signals are generated, namely, the significantly larger touch signals are generated in the area and two areas adjacent to the area. For example, when the user touches the first touch area 1, the first touch area 1 and the third touch area 3 and the tenth touch area 10 generate touch signals to generate a touch signal respectively. Therefore, under normal conditions, no external interference exists, and the intensity of the touch signals acquired by the sensors corresponding to the first touch area 1, the third touch area 3 and the tenth touch area 10 is greater than that of the signals at other untouched positions. In addition, when there is external interference, the touch signal values at two positions of the first touch area 1 and the second touch area 2 may change continuously, resulting in an error in determining the key position during program processing.
In order to accurately determine the touched touch area, the present embodiment performs filtering processing on signals of the sensor through the following steps, and performs addition and summation and magnitude comparison using the filtered touch signals, thereby determining the touched target area.
It should be noted that the first touch area 1 and the second touch area 2 in this embodiment refer to the first touch area 1 and the second touch area 2 in fig. 4, respectively. The touch areas adjacent to the first touch area 1 are referred to as a third touch area 3 and a tenth touch area 10 in fig. 4, respectively. The touch areas adjacent to the second touch area 2 refer to a ninth touch area 9 and a fourth touch area 4 in fig. 4, respectively.
To further illustrate the interference filtering and summing comparison of the present embodiment, a more detailed flow chart of steps is given in fig. 7. As shown in fig. 7, the embodiment of the present embodiment is as follows.
S401, acquiring the signal intensity (namely, sensor signal value) of the acquired touch signal acquired by a sensor (namely, sensor). In the present embodiment, the touch signals corresponding to the one to ten touch areas are Signal [1], Signal [2], Signal [3], Signal [4], Signal [5], Signal [6], Signal [7], Signal [8], Signal [9], and Signal [10] in this order.
S402, comparing the Signal strength of Signal [3] with a corresponding critical threshold value m, executing step S403 when Signal [3] is smaller than the critical threshold value m, and keeping Signal [3] and Signal [6] corresponding to Signal [3] when Signal [3] is larger than or equal to the critical threshold value m, namely: step S404 is directly performed.
S403, clearing the Signal [3] and the Signal [6] corresponding to the Signal [3 ].
S404, comparing the Signal strength of the Signal [10] with a corresponding critical threshold value n, executing a step S405 when the Signal [10] is smaller than the critical threshold value n, and keeping the Signal [10] and the Signal [5] corresponding to the Signal [10] when the Signal [10] is larger than or equal to the critical threshold value n, namely: step S406 is directly performed.
S405, clearing the Signal [10] and the Signal [5] corresponding to the Signal [10 ].
S406, comparing the Signal strength of the Signal [9] with a corresponding critical threshold value p, executing a step S407 when the Signal [9] is smaller than the critical threshold value p, and keeping the Signal [9] and the Signal [8] corresponding to the Signal [9] when the Signal [9] is greater than or equal to the critical threshold value p, namely: step S408 is directly performed.
S407, clear the Signal [9] and the Signal [8] corresponding to the Signal [9 ].
S408, comparing the Signal strength of the Signal [4] with a corresponding critical threshold q, executing a step S409 when the Signal [4] is smaller than the critical threshold q, and keeping the Signal [4] and a Signal [7] corresponding to the Signal [4] when the Signal [4] is greater than or equal to the critical threshold q, namely: step S410 is directly performed.
S409, Signal [4] and Signal [7] corresponding to Signal [4] are cleared.
S410, adding and summing Signal [1], Signal [3] and Signal [10] to obtain a first summation result Sum1, and adding and summing Signal [2], Signal [4] and Signal [9] to obtain a first summation result Sum 2.
S411, comparing signal strengths of Sum1 and Sum2, when Sum1 is greater than or equal to Sum2, performing step S412, and when Sum1 is less than Sum2, performing step S413.
S412, returning to the position 1, namely, the first touch area 1 is a touched area.
And S413, returning to the position 2, namely the second touch area 2 is a touched area.
Signal [3], Signal [10], Signal [9], Signal [4] have corresponding critical thresholds m, n, p, q, respectively. The critical threshold values m, n, p, q can be introduced by collecting signal values under various conditions and comparing the signal values with normal conditions. And introducing a critical threshold value for each sensor to distinguish interference signals from normal signals, judging that false triggering is carried out when the signal value is smaller than the critical threshold value, and not feeding back the key position, otherwise, judging that the signal value is normal and not external interference when the signal value is larger than the critical threshold value, and feeding back the signal value which is the needed key position. By adopting the method, most external interference is filtered out in actual use, so that the problems of insensitive keys and disordered programs are obviously improved.
In this embodiment, during interference filtering, when it is determined that one touch signal is smaller than the critical threshold corresponding to the touch signal, the touch signal and the touch signal corresponding to the touch signal are simultaneously cleared, and when it is determined that one touch signal is greater than or equal to the critical threshold corresponding to the touch signal, the touch signal and the touch signal corresponding to the touch signal are simultaneously retained for use in subsequent steps. For example, when Signal [3] is judged to be smaller than the corresponding critical threshold value m, Signal [3] obtained from the same sensor and Signal [6] corresponding to Signal [3] are cleared, and when Signal [3] is judged to be greater than or equal to the corresponding critical threshold value m, Signal [3] and Signal [6] corresponding to Signal [3] are retained. And analogically filtering the signals [10] and [5] obtained by the same sensor, the signals [9] and [8] obtained by the same sensor, and the signals [4] and [7] obtained by the same sensor until finishing the interference filtering operation on all touch signals needing interference filtering. Wherein, Signal [3], Signal [10], Signal [9] and Signal [4] have corresponding critical thresholds m, n, p and q, which may be partially the same, completely the same or different. After the interference filtering is completed, the step of adding and comparing is carried out. In other words, in order to determine which of the first touch area 1 and the second touch area 2 monitored by the same sensor is the touched area, in this step, after adding a filtering algorithm to the program, after laboratory tests and user use, it is found that the problems of insensitivity of the product touch key and program change disorder are significantly improved, and the number of market maintenance is significantly reduced.
In summary, the beneficial effects of the embodiment of the invention are as follows.
The target touch area touched in the multiple touch areas can be accurately judged.
In particular, the embodiment of the invention can judge two non-adjacent touch areas detected by the same sensor, and judge which one of the two non-adjacent touch areas detected by the same sensor is touched through signal strength comparison.
In addition, the embodiment of the invention performs interference filtering operation before judging the touch area to filter out interference, so that the embodiment of the invention can further improve the accuracy of judgment.
Finally, by the method of the embodiment of the invention, the accuracy of determining the touch area can be ensured when a relatively small number of sensors are adopted to monitor or collect the touch signals of a large number of touch areas, so that the aims of simplifying the structure of the touch device, reducing the product volume and saving the cost can be achieved.
In the present disclosure, the terms "first," "second," "third," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; the term "plurality" means two or more unless expressly limited otherwise.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method for determining a touch area, the method being used for a touch device having a plurality of touch areas, the method comprising:
collecting at least two touch signals of the plurality of touch areas; and the number of the first and second groups,
and determining a target touch area touched in the multiple touch areas according to the at least two touch signals.
2. The method of claim 1, wherein the touch device comprises a plurality of sensors; the acquiring at least two touch signals of the plurality of touch areas comprises:
acquiring the at least two touch signals by the plurality of sensors; each sensor in the plurality of sensors acquires touch signals of at least two touch areas in the plurality of touch areas, and any two touch areas in the at least two touch areas are not connected with each other.
3. The method according to claim 1 or 2, wherein the plurality of touch areas comprise a first touch area and a second touch area, and the touch signal of the first touch area and the touch signal of the second touch area are acquired by the same sensor; the determining a target touch area touched in the plurality of touch areas according to the at least two touch signals includes:
performing interference filtering on at least a portion of the at least two touch signals;
adding and summing the touch signals of the first touch area and the touch area adjacent to the first touch area to obtain a first summation result;
adding and summing the touch signals of the second touch area and the touch area adjacent to the second touch area to obtain a second summation result;
and determining a target touch area touched in the first touch area and the second touch area according to the first summation result and the second summation result.
4. The method of claim 3, wherein determining the target touch area of the first touch area and the second touch area that is touched according to the first summation result and the second summation result comprises:
judging that the first summation result is greater than or equal to the second summation result, and determining that the first touch area is the target touch area; or the like, or, alternatively,
and judging that the first summation result is smaller than the second summation result, and determining that the second touch area is the target touch area.
5. The method of claim 3, wherein the at least a portion of the touch signal comprises: a touch signal of a touch area adjacent to at least one of the first touch area or the second touch area.
6. The method of claim 5, wherein the interference filtering the touch signal of at least a portion of the at least two touch signals comprises:
determining a critical threshold corresponding to a touch signal of each touch area adjacent to the first touch area or the second touch area;
and clearing or reserving each touch signal and/or another touch signal corresponding to each touch signal according to each touch signal and the corresponding critical threshold value.
7. The method of claim 6, wherein said zeroing or reserving each of the touch signals and/or another touch signal corresponding to each of the touch signals according to each of the touch signals and the corresponding critical threshold comprises:
judging that any touch signal is smaller than the corresponding critical threshold value, and carrying out zero clearing on any touch signal and/or another touch signal corresponding to any touch signal; or the like, or, alternatively,
and judging that any touch signal is greater than or equal to the corresponding critical threshold, and reserving the touch signal and/or another touch signal corresponding to the touch signal.
8. The method of claim 1 or 2, wherein the plurality of touch areas comprises ten touch areas; the at least two touch signals comprise ten touch signals respectively corresponding to each of the ten touch areas; the ten touch signals are collected by five sensors, wherein any one of the five sensors is used for respectively collecting the touch signals of any two touch areas which are spaced from each other.
9. A touch device, comprising:
a memory storing a computer program;
a processor executing the computer program;
wherein the processor, when executing the computer program, implements the steps of the touch area determination method according to any of claims 1 to 8.
10. An electrical appliance, comprising:
an appliance body;
the touch device is in signal connection with the electric appliance body and controls the electric appliance body;
wherein the touch device implements the steps of the touch area determination method of any one of claims 1 to 8.
11. A computer-readable storage medium, comprising:
the computer-readable storage medium stores a computer program which, when executed, implements the steps of the touch area determination method according to any one of claims 1 to 8.
CN201910998659.3A 2019-10-21 2019-10-21 Touch area determination method and device, electric appliance and computer readable storage medium Active CN112764655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910998659.3A CN112764655B (en) 2019-10-21 2019-10-21 Touch area determination method and device, electric appliance and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910998659.3A CN112764655B (en) 2019-10-21 2019-10-21 Touch area determination method and device, electric appliance and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112764655A true CN112764655A (en) 2021-05-07
CN112764655B CN112764655B (en) 2022-05-31

Family

ID=75691532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910998659.3A Active CN112764655B (en) 2019-10-21 2019-10-21 Touch area determination method and device, electric appliance and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112764655B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100039401A1 (en) * 2008-08-15 2010-02-18 HON FUN JIN PRECISION INDUSTRY (ShenZhen)CO., LTD. Electronic device and method for viewing displayable medias
CN103576945A (en) * 2012-07-18 2014-02-12 奇景光电股份有限公司 Touch device and touch detection method thereof
CN109753174A (en) * 2017-11-06 2019-05-14 中华映管股份有限公司 Touch device and its touching signals processing method
CN109947347A (en) * 2019-03-19 2019-06-28 深圳市火王燃器具有限公司 The expanding method and device of virtual key based on intelligent kitchen appliance touch screen
CN110231911A (en) * 2019-05-29 2019-09-13 无锡小天鹅电器有限公司 False-touch prevention method, apparatus and household appliance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100039401A1 (en) * 2008-08-15 2010-02-18 HON FUN JIN PRECISION INDUSTRY (ShenZhen)CO., LTD. Electronic device and method for viewing displayable medias
CN103576945A (en) * 2012-07-18 2014-02-12 奇景光电股份有限公司 Touch device and touch detection method thereof
CN109753174A (en) * 2017-11-06 2019-05-14 中华映管股份有限公司 Touch device and its touching signals processing method
CN109947347A (en) * 2019-03-19 2019-06-28 深圳市火王燃器具有限公司 The expanding method and device of virtual key based on intelligent kitchen appliance touch screen
CN110231911A (en) * 2019-05-29 2019-09-13 无锡小天鹅电器有限公司 False-touch prevention method, apparatus and household appliance

Also Published As

Publication number Publication date
CN112764655B (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN105426027B (en) The capacitive touch screen of adaptive touch-sensing threshold value with the acutance based on Capacitive data
CN103966797B (en) A kind of user can self-programming internet-of-thing washing machine control method and control device
CN102822783B (en) Baseline more new procedures for touch sensitive device
CN105630227B (en) A kind of method of adjustment and system of sensitivity of touch screen
US10559302B2 (en) Domestic appliance having variable security based on automatic determination of user supervision
EP2898600B1 (en) Virtual touch knob assembly
CN106222933A (en) The control method of washing machine based on Wearable and control system for washing machine
WO2017143823A1 (en) Method and device for achieving electromagnetic interference resistance of capacitive touchscreen
CN108536333B (en) Screen touch control adjustment method and device, intelligent device and storage medium
CN103186261A (en) Touch control method and device
CN112764655B (en) Touch area determination method and device, electric appliance and computer readable storage medium
WO2008045216A2 (en) Contamination detection in touch based sensor arrays
CN105067022A (en) Method and device for detection of capacitive type transducer, touch chip and air conditioner
CN109652954B (en) Control method of clothes treatment device and clothes treatment device
CN108512542A (en) Touch key-press signal processing method and device, computer readable storage medium
CN105940608B (en) Appraisal procedure for sensor signal
DE102014205266A1 (en) Method and device for monitoring a flushing arm function of a dishwashing arm of a dishwasher, dishwashing machine and dishwashing arm for a dishwasher
CN106894196B (en) Washing machine fills the water control method and washing machine
CN105677083A (en) Method for increasing anti-electromagnetic interference of capacitive touch key
CN105892746A (en) Touch method and electronic device
CN105755740A (en) Sterile clothing washing machine system suitable for detecting cleanliness
CN106681572A (en) Touch screen control method and device of intelligent terminal
CN105603689A (en) Eccentricity detection method and device of pulsator washing machine, suspender system and pulsator washing machine
CN109976635A (en) Time control method and device based on intelligent kitchen appliance touch screen
CN210719328U (en) Water level detection circuit and cooking machine

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