A bathroom control method and device, a bathroom, and a storage medium

By setting valid and invalid touch buttons in the bathroom, and combining signal judgment and trigger time length, the problem of accidental triggering of touch buttons in humid environments is solved, improving the stability and safety of the bathroom.

CN122362980APending Publication Date: 2026-07-10FOSHAN DAHUI BIO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FOSHAN DAHUI BIO TECH CO LTD
Filing Date
2026-04-01
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Touch buttons in existing bathroom fixtures are easily affected by water droplets, water flow, and water mist, leading to false detections and false triggers, which affects the stability and safety of use.

Method used

It adopts a combination design of valid and invalid touch buttons, identifies false triggers by judging signals and triggering cumulative time length, and ensures the accuracy of button operation by combining signal detection values.

Benefits of technology

This effectively prevents accidental triggering of touch buttons in humid environments, improving the reliability of bathroom fixtures and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122362980A_ABST
    Figure CN122362980A_ABST
Patent Text Reader

Abstract

This invention discloses a control method, device, bathroom fixture, and storage medium for a bathroom. The bathroom fixture includes a switch control device, which includes a valid touch button and an invalid touch button. The invalid touch button is located on one side of the valid touch button at the edge. The control method for the bathroom fixture includes: after detecting a valid touch signal generated by a valid touch button and / or an invalid touch signal generated by an invalid touch button, determining whether the corresponding valid touch button and / or invalid touch button has been falsely triggered based on the valid touch signal and the invalid touch signal; after determining that it has not been falsely triggered, obtaining the cumulative trigger time length corresponding to the valid touch button or the invalid touch button, and determining whether the corresponding valid touch button or the invalid touch button has been falsely triggered based on the cumulative trigger time length. This invention effectively avoids the false triggering of bathroom touch buttons, improves the bathroom's interference resistance, operational reliability in humid environments, and enhances the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of household appliance technology, and in particular to a control method, device, bathroom fixture, and storage medium for bathroom fixtures. Background Technology

[0002] With the development of smart bathroom technology, the application of touch buttons in bathroom products such as showers can enhance the user experience, improve the technological feel of the products, and increase market competitiveness.

[0003] Currently, most bathroom fixtures use traditional button control structures, which generally have poor anti-interference capabilities in the humid and watery environment of the bathroom. The touch buttons used in some showers and other bathroom fixtures are easily affected by external factors such as water droplets, water flow, and water mist. When liquid splashes onto the button area, it is easy to cause false detection, causing the detection signal to reach the trigger threshold, which in turn causes the button to be triggered erroneously, resulting in abnormal switching of water outlet modes, accidental opening of water circuits, and other phenomena, which seriously affect the stability, safety, and user experience of the bathroom fixtures. Summary of the Invention

[0004] This invention provides a control method, device, bathroom fixture, and storage medium for bathroom fixtures, in order to solve the problem that conventional touch buttons are easily triggered or malfunction due to water impact caused by their physical characteristics.

[0005] According to one aspect of the present invention, a control method for a bathroom fixture is provided. The bathroom fixture includes a switch control device, which includes an active touch button and an inactive touch button. The inactive touch button is disposed on one side of the active touch button located at the edge. The control method for the bathroom fixture includes: After detecting a valid touch signal generated by a valid touch button and / or an invalid touch signal generated by an invalid touch button, it is determined whether the corresponding valid touch button and / or invalid touch button has been accidentally triggered based on the valid touch signal and the invalid touch signal; After determining that no accidental triggering has occurred, the cumulative triggering time length corresponding to the valid or invalid touch button is obtained, and the corresponding valid or invalid touch button is determined to be accidentally triggered based on the cumulative triggering time length.

[0006] Optionally, determine whether the corresponding valid touch button and / or invalid touch button has been falsely triggered based on valid and invalid touch signals, including: If at least two valid touch signals generated by valid touch buttons are detected, it is determined that the corresponding two valid touch buttons have been falsely triggered. If an invalid touch signal generated by an invalid touch button and a valid touch signal generated by a corresponding valid touch button located at the edge are detected, it is determined that the invalid touch button and the corresponding valid touch button located at the edge have been mistakenly triggered. If only one valid touch signal or one invalid touch signal is detected, it is determined that the corresponding valid touch button or invalid touch button was not accidentally triggered.

[0007] Optionally, determine whether a valid or invalid touch button has been mistakenly triggered based on the cumulative trigger time, including: If the cumulative trigger time is less than the first set time, or the cumulative trigger time is greater than the second set time, it is determined that the corresponding valid touch button or invalid touch button has been mistakenly triggered. If the cumulative trigger time is greater than or equal to the first set time and less than the second set time, it is determined that the corresponding valid touch button or invalid touch button has not been mistakenly triggered.

[0008] Optionally, after determining that it has not been falsely triggered, the following steps are also included: Obtain the signal detection value corresponding to a valid or invalid touch signal; If the signal detection value reaches the set detection threshold, it is determined that the corresponding valid touch button or invalid touch button has not been triggered by mistake. If the signal detection value does not reach the set detection threshold, it is determined that the corresponding valid touch button or invalid touch button has been mistakenly triggered.

[0009] Optionally, bathroom control methods may also include: If it is determined that the corresponding valid touch button has not been triggered by mistake, the button control logic corresponding to the valid touch button is executed. If it is determined that the corresponding invalid touch button was not accidentally triggered, the button control logic will not be executed.

[0010] According to another aspect of the present invention, a control device for a bathroom is provided. The bathroom includes a switch control device, which includes an active touch button and an inactive touch button. The inactive touch button is disposed on one side of the active touch button located at the edge. The control method device for the bathroom includes: The first trigger judgment module is used to determine whether the corresponding valid touch button and / or invalid touch button has been mistakenly triggered after detecting a valid touch signal generated by a valid touch button and / or an invalid touch signal generated by an invalid touch button. The second trigger judgment module is used to obtain the cumulative trigger time length corresponding to the valid or invalid touch button after determining that it has not been triggered by mistake, and to determine whether the corresponding valid or invalid touch button has been triggered by mistake based on the cumulative trigger time length.

[0011] According to another aspect of the present invention, a bathroom fixture is provided, the bathroom fixture including a switch control device, the switch control device including an active touch button and an inactive touch button, the inactive touch button being disposed on one side of the active touch button located at the edge; Bathroom fixtures also include: At least one processor; and, A memory that is communicatively connected to at least one processor; wherein, The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the bathroom control method of any embodiment of the present invention.

[0012] Optionally, the number of valid touch buttons and invalid touch buttons are the same, and a one-to-one correspondence is set between valid and invalid touch buttons.

[0013] Optionally, the active touch buttons are arranged in a horizontal line, and the two inactive touch buttons are respectively located on one side of the active touch buttons at both ends of the horizontal arrangement; The active touch buttons are arranged in a vertical line, and the two inactive touch buttons are located on one side of the active touch buttons at both ends of the vertical arrangement.

[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute and implement a bathroom control method according to any embodiment of the present invention.

[0015] The technical solution of this invention includes a bathroom fixture with a switch control device. The switch control device includes a valid touch button and an invalid touch button. The invalid touch button is located on one side of the valid touch button at the edge. The control method for the bathroom fixture includes: after detecting a valid touch signal generated by the valid touch button and / or an invalid touch signal generated by the invalid touch button, determining whether the corresponding valid touch button and / or invalid touch button has been falsely triggered based on the valid touch signal and invalid touch signal, thereby effectively determining whether a false trigger has occurred and ensuring the stability and reliability of the bathroom fixture operation; furthermore, after determining that no false trigger has occurred, obtaining the cumulative trigger time length corresponding to the valid touch button or invalid touch button, and determining whether the corresponding valid touch button or invalid touch button has been falsely triggered based on the cumulative trigger time length, thereby improving user safety and user experience through a more accurate false trigger determination process.

[0016] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart of a bathroom control method provided according to an embodiment of the present invention; Figure 2 This is a flowchart of a bathroom control method provided according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of a bathroom control device according to an embodiment of the present invention; Figure 4 This is a PCB layout diagram of the effective and ineffective touch buttons of an exemplary shower with four effective touch buttons according to an embodiment of the present invention. Figure 5 This is a schematic diagram of the structure of a bathroom that implements the bathroom control method of the present invention. Detailed Implementation

[0019] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0020] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0021] Figure 1This invention provides a flowchart of a bathroom control method. This embodiment is applicable to situations where false triggering occurs due to effective waterproofing interference during or after use of various types of bathrooms. The bathroom control method can be executed by a bathroom control device, which can be implemented in hardware and / or software. The bathroom control device can be configured in various types of bathrooms, including but not limited to bathroom cabinets, shower heads, shower heads, shower screens, bathtubs, etc. This embodiment does not impose any special limitations on them.

[0022] In this embodiment, the bathroom fixture includes a switch control device. The switch control device is used to receive user operations, such as controlling the bathroom fixture's start / stop, temperature adjustment, or mode selection. The switch control device includes valid touch buttons and invalid touch buttons. It is understood that when a valid touch button is pressed, it executes the corresponding button control logic, while when an invalid touch button is pressed, it does not execute any button control logic, i.e., it does not perform any operation. The invalid touch button is located on one side of the valid touch button at the edge, and its icon is not displayed on the bathroom product's appearance. It is known that the invalid touch button is used in conjunction with the valid touch button in the corresponding position to determine whether it has been accidentally triggered.

[0023] like Figure 1 As shown, the control method for this bathroom includes: S110. After detecting a valid touch signal generated by a valid touch button and / or an invalid touch signal generated by an invalid touch button, determine whether the corresponding valid touch button and / or invalid touch button has been accidentally triggered based on the valid touch signal and the invalid touch signal.

[0024] As can be seen, a valid touch button will generate and output a valid touch signal when it is touched. Similarly, an invalid touch button will generate and output an invalid touch signal when it is touched. The above-mentioned touch can be a manual operation by the user or an impact from water flow.

[0025] Specifically, when more than two valid touch signals are detected, it can be determined that the situation is due to water flow impact, that is, the two corresponding valid touch buttons are determined to be falsely triggered. It can be understood that the number of valid touch buttons in a bathroom is usually between 2 and 5. For example, the number of valid touch buttons can be, but is not limited to, 3 or 4. Therefore, when any two valid touch buttons are detected to be impacted by water flow, two valid touch signals can be generated at this time, and the above two valid touch buttons are determined to be falsely triggered.

[0026] Based on this, considering the case where only the effective touch button on the edge is impacted by water flow, in this embodiment, in order to more accurately distinguish whether the false trigger is caused by water flow impact, an invalid touch button is set on one side of the effective touch button located on the edge, so as to avoid the possibility that when the effective touch button located on the edge is impacted by water flow, only one effective touch signal may be generated, and thus the false trigger of the effective touch button being impacted by water flow cannot be accurately identified.

[0027] Furthermore, after detecting a valid touch signal generated by a valid touch button and an invalid touch signal generated by an invalid touch button, it can be understood that the valid touch button at this time is the touch button located on the edge that corresponds to the invalid touch button, and the valid touch signal is generated by the valid touch button located on the edge. If two touch signals are received at this time, it can be considered that the generation of the above-mentioned valid touch signal and invalid touch signal is falsely triggered, that is, it is determined that the invalid touch button and the corresponding valid touch button located on the edge are falsely triggered.

[0028] It should be noted that, considering the size of the water flow impact area, the judgment of false triggering when both valid touch signals from valid touch buttons and invalid touch signals from invalid touch buttons are detected also applies when at least one valid touch button is detected. That is, in addition to the valid touch button located at the edge corresponding to the invalid touch button generating a valid touch signal, other valid touch buttons may also be detected simultaneously. In this case, not only are valid and invalid touch signals detected simultaneously, but at least two valid touch signals are detected, which can also determine that the invalid touch button, as well as the corresponding valid touch button located at the edge and other valid touch buttons, have all been falsely triggered.

[0029] In this embodiment, if only one valid touch signal is detected, it can be temporarily determined that the corresponding valid touch button has not been falsely triggered. Further determination of whether the valid touch button is currently being pressed normally or falsely triggered is then made based on the cumulative trigger time and the corresponding signal detection value. The specific method is described in the false trigger determination section below, and will not be repeated here. If only an invalid touch signal is detected, it can be determined that the corresponding invalid touch button has not been falsely triggered.

[0030] S120. After determining that no accidental triggering has occurred, obtain the cumulative triggering time length corresponding to the valid or invalid touch button, and determine whether the corresponding valid or invalid touch button has been accidentally triggered based on the cumulative triggering time length.

[0031] In one embodiment, in step S110, if it is determined that the corresponding valid touch button or invalid touch button has not been mistakenly triggered, the cumulative trigger time length corresponding to the valid touch button is obtained, or the cumulative trigger time length corresponding to the invalid touch button is obtained. It can be understood that at this time, the cumulative trigger time length corresponding to the valid touch button or invalid touch button can be obtained by timing in the same way. This embodiment does not impose any special restrictions on the timing method of the cumulative trigger time length.

[0032] Specifically, if the cumulative trigger time is less than the first set time, it can be assumed that a water droplet has fallen on a valid or invalid touch button, generating a corresponding valid or invalid touch signal. However, if the trigger time of the corresponding valid or invalid touch signal is short, it is determined that the corresponding valid or invalid touch button has been mistakenly triggered.

[0033] The first set time length is a threshold for the trigger time length to determine whether a valid or invalid touch button is accidentally triggered. The first set time length can be selected and set based on the time length during which the corresponding button control logic will be executed when a valid or invalid touch button is pressed normally. In this embodiment, there is no special limitation on the specific value of the first set time length. Optionally, the first set time length can be 100 milliseconds.

[0034] Furthermore, if the cumulative trigger time is longer than the second set time, it can be considered that the water flow is continuously falling on the valid or invalid touch button to generate the corresponding valid or invalid touch signal, or that water droplets remain on the valid or invalid touch button to generate the corresponding valid or invalid touch signal. Although the trigger time of the corresponding valid or invalid touch signal is relatively long, it can still be determined that the corresponding valid or invalid touch button has been mistakenly triggered.

[0035] Similarly, the second set time length is the threshold for the trigger time length to determine whether a valid or invalid touch button is accidentally triggered. The second set time length can be selected and set based on the time length during which the corresponding button control logic will be executed when a valid or invalid touch button is pressed normally. In this embodiment, there is no special limitation on the specific value of the second set time length. Optionally, the second set time length can be 1000 milliseconds.

[0036] Furthermore, if the cumulative trigger time is greater than or equal to the first set time and less than the second set time, it can be determined that the corresponding valid touch button or invalid touch button has not been mistakenly triggered. At this time, it is impossible to distinguish whether it is pressed normally, or whether it is a water droplet or a water flow that falls briefly. Then, the signal detection value corresponding to the valid touch signal or invalid touch signal can be obtained, and the corresponding valid touch button or invalid touch button can be determined based on the signal detection value.

[0037] Since the signal detection value of the trigger signal generated by the user pressing the touch button is much greater than the signal detection value of the trigger signal generated by the water droplet or water flow falling on the touch button, in this embodiment, if the signal detection value reaches the set detection threshold, that is, the signal detection value corresponding to the valid touch signal or the invalid touch signal can be identified as the user triggering the button action, then it is determined that the corresponding valid touch button or invalid touch button has not been mistakenly triggered.

[0038] If the signal detection value does not reach the set detection threshold, that is, the signal detection value corresponding to the valid touch signal or the invalid touch signal can be identified as a false action caused by water droplets or water flow falling on the touch button, then it is determined that the corresponding valid touch button or invalid touch button has been falsely triggered.

[0039] In another embodiment, after determining in step S110 that the corresponding valid or invalid touch button has not been falsely triggered, the signal detection value corresponding to the valid or invalid touch signal can be directly obtained, and the determination of whether the corresponding valid or invalid touch button has been falsely triggered can be based on the signal detection value. Specifically: if the signal detection value reaches a set detection threshold, it is determined that the corresponding valid or invalid touch button has not been falsely triggered; if the signal detection value does not reach the set detection threshold, it is determined that the corresponding valid or invalid touch button has been falsely triggered. Based on the above, after determining that the corresponding valid or invalid touch button has not been falsely triggered, step S120 can be further executed to obtain the trigger cumulative time length corresponding to the valid or invalid touch button, and the determination of whether the corresponding valid or invalid touch button has been falsely triggered can be based on the trigger cumulative time length.

[0040] Based on the above embodiments, if it is determined in steps S110 and S120 that the corresponding valid touch button has not been accidentally triggered, that is, the valid touch button is pressed normally by the user, then the button control logic corresponding to the valid touch button is executed; for example, if the function corresponding to the valid touch button is to turn off the bathroom, then the button control logic for turning off the bathroom is executed.

[0041] In steps S110 and S120, it is determined that the corresponding invalid touch button was not accidentally triggered. Since the invalid touch button does not have any actual operation function in the bathroom of this embodiment, the button control logic is not executed.

[0042] The technical solution of this invention includes a bathroom fixture with a switch control device. The switch control device includes a valid touch button and an invalid touch button. The invalid touch button is located on one side of the valid touch button at the edge. The control method for the bathroom fixture includes: after detecting a valid touch signal generated by the valid touch button and / or an invalid touch signal generated by the invalid touch button, determining whether the corresponding valid touch button and / or invalid touch button has been falsely triggered based on the valid touch signal and the invalid touch signal; after determining that it has not been falsely triggered, obtaining the cumulative trigger time length corresponding to the valid touch button or invalid touch button, and determining whether the corresponding valid touch button or invalid touch button has been falsely triggered based on the cumulative trigger time length. This invention solves the problem that conventional touch buttons are easily falsely triggered or malfunction due to water impact caused by their physical characteristics, effectively avoiding false triggering of bathroom touch buttons, improving the bathroom fixture's interference resistance, operational reliability in humid environments, and user experience.

[0043] Based on the same inventive concept Figure 2 This is a flowchart of a bathroom control method provided by an embodiment of the present invention. Based on the above embodiments, this embodiment, even if only one valid touch signal is detected, temporarily assumes that the corresponding valid touch button has not been mistakenly triggered. However, it can further determine whether the valid touch button is currently being pressed normally or mistakenly triggered based on the cumulative trigger time length corresponding to the valid touch signal and the corresponding signal detection value, thus providing an optional implementation method. For example... Figure 2 As shown, the control method for this bathroom includes: S210, Detect a valid touch signal generated by a valid touch button and / or an invalid touch signal generated by an invalid touch button.

[0044] S221. If at least two valid touch signals generated by valid touch buttons are detected, it is determined that the corresponding two valid touch buttons have been erroneously triggered.

[0045] S222. If an invalid touch signal generated by an invalid touch button and a valid touch signal generated by a corresponding valid touch button located at the edge are detected, it is determined that the invalid touch button and the corresponding valid touch button located at the edge are mistakenly triggered.

[0046] S223. If only one valid touch signal or one invalid touch signal is detected, it is determined that the corresponding valid touch button or invalid touch button has not been accidentally triggered.

[0047] S230: Obtain the cumulative trigger time length corresponding to a valid or invalid touch button.

[0048] Specifically, after determining that the corresponding valid or invalid touch button has not been mistakenly triggered, the system further obtains the cumulative trigger time length corresponding to the valid or invalid touch button.

[0049] S241. If the cumulative trigger time is less than the first set time or greater than the second set time, it is determined that the corresponding valid touch button or invalid touch button has been mistakenly triggered.

[0050] For example, if the first set time length is 100 milliseconds and the second set time length is 1000 milliseconds, if the cumulative trigger time length is less than 100 milliseconds or greater than 1000 milliseconds, it is determined that the corresponding valid touch button or invalid touch button has been mistakenly triggered.

[0051] S242. If the cumulative trigger time is greater than or equal to the first set time and less than the second set time, then it is determined that the corresponding valid touch button or invalid touch button has not been mistakenly triggered.

[0052] For example, if the first set time length is 100 milliseconds and the second set time length is 1000 milliseconds, and the cumulative trigger time length is greater than or equal to 100 milliseconds and less than 1000 milliseconds, then it is determined that the corresponding valid touch button or invalid touch button has not been mistakenly triggered.

[0053] S250: Obtain the signal detection value corresponding to a valid touch signal or an invalid touch signal.

[0054] Among them, the signal detection value corresponding to the valid touch signal or invalid touch signal is a value converted into a value when the touch button is pressed. Taking the valid touch button as a capacitive touch button as an example, the signal detection value corresponding to the valid touch signal or invalid touch signal is the amount of capacitance change detected in real time.

[0055] Furthermore, based on the signal detection value, it can be determined whether the corresponding valid or invalid touch button has been pressed. In this embodiment, it can be further determined based on the signal detection value that the subject of pressing the valid or invalid touch button is user operation or water droplet.

[0056] S260. Determine whether the signal detection value has reached the set detection threshold. If yes, proceed to step S271; otherwise, proceed to step S272.

[0057] The detection threshold is set to determine whether a valid or invalid touch button is pressed as a user operation or a water droplet signal. The detection threshold can be set based on experimental calibration. This embodiment does not impose any restrictions on the specific value of the detection threshold.

[0058] For example, taking a capacitive touch button as an example, if the user triggers the button action, pressing the capacitive touch button will generate a large capacitance change and form a corresponding signal detection value. If the erroneous action is caused by a water droplet or water flow falling on the touch button, it will generate a small capacitance change and form a corresponding signal detection value. It can be seen that the corresponding detection threshold can be a capacitance change threshold that distinguishes the two situations. Based on the type and working principle of the effective touch button, the detection threshold can be set to the corresponding data value. This embodiment does not impose any restrictions on it.

[0059] S271. Determine whether the corresponding valid touch button or invalid touch button has not been accidentally triggered.

[0060] Specifically, if the signal detection value reaches the set detection threshold, step S271 is executed, that is, it is determined whether the corresponding valid touch button or invalid touch button has been mistakenly triggered.

[0061] S272. Determine whether the corresponding valid touch button or invalid touch button has been mistakenly triggered.

[0062] If the signal detection value does not reach the set detection threshold, then step S272 is executed, that is, it is determined whether the corresponding valid touch button or invalid touch button has been mistakenly triggered.

[0063] The technical solution of this invention, when only one valid touch signal is detected, further determines whether the valid touch button is currently being pressed normally or mistakenly triggered based on the cumulative trigger time length corresponding to the valid touch signal and the corresponding signal detection value. By setting a reasonable detection threshold, the signal detection value corresponding to the change caused by water droplets falling on the button does not reach the set detection threshold. Only when the user makes a valid touch will the signal detection value reach or exceed the set detection threshold, thereby outputting a valid trigger signal. This effectively avoids malfunctions caused by interference from water droplets, water mist, etc., and improves the working reliability of showers and other bathroom fixtures in humid environments and enhances the user experience.

[0064] Based on the same inventive concept Figure 3 This is a schematic diagram of a bathroom control device provided in an embodiment of the present invention. The bathroom includes a switch control device, which includes a valid touch button and an invalid touch button. The invalid touch button is located on one side of the valid touch button at the edge, such as... Figure 3 As shown, the control device for this bathroom includes: The first trigger judgment module 310 is used to determine whether the corresponding valid touch button and / or invalid touch button is mistakenly triggered based on the valid touch signal and invalid touch signal after detecting a valid touch signal generated by a valid touch button and / or an invalid touch signal generated by an invalid touch button. The second trigger judgment module 320 is used to obtain the cumulative trigger time length corresponding to the valid or invalid touch button after determining that it has not been triggered by mistake, and to determine whether the corresponding valid or invalid touch button has been triggered by mistake based on the cumulative trigger time length.

[0065] Optionally, based on valid and invalid touch signals, it can be determined whether the corresponding valid touch button and / or invalid touch button has been mistakenly triggered, specifically for: If at least two valid touch signals generated by valid touch buttons are detected, it is determined that the corresponding two valid touch buttons have been falsely triggered. If an invalid touch signal generated by an invalid touch button and a valid touch signal generated by a corresponding valid touch button located at the edge are detected, it is determined that the invalid touch button and the corresponding valid touch button located at the edge have been mistakenly triggered. If only one valid touch signal or one invalid touch signal is detected, it is determined that the corresponding valid touch button or invalid touch button was not accidentally triggered.

[0066] Optionally, the system can determine whether a valid or invalid touch button has been mistakenly triggered based on the cumulative trigger time. Specifically, this can be used for: If the cumulative trigger time is less than the first set time, or the cumulative trigger time is greater than the second set time, it is determined that the corresponding valid touch button or invalid touch button has been mistakenly triggered. If the cumulative trigger time is greater than or equal to the first set time and less than the second set time, it is determined that the corresponding valid touch button or invalid touch button has not been mistakenly triggered.

[0067] Optionally, after determining that it has not been falsely triggered, the following steps are also included: Obtain the signal detection value corresponding to a valid or invalid touch signal; If the signal detection value reaches the set detection threshold, it is determined that the corresponding valid touch button or invalid touch button has not been triggered by mistake. If the signal detection value does not reach the set detection threshold, it is determined that the corresponding valid touch button or invalid touch button has been mistakenly triggered.

[0068] Optionally, the bathroom control device may also include: The bathroom control module is used to execute the button control logic corresponding to the valid touch button if it is determined that the corresponding valid touch button has not been triggered by mistake. If it is determined that the corresponding invalid touch button was not accidentally triggered, the button control logic will not be executed.

[0069] The bathroom control device provided in the embodiments of the present invention can execute the bathroom control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the bathroom control method.

[0070] Based on the same inventive concept, the bathroom fixture provided in this embodiment includes a switch control device. The switch control device includes an active touch button and an inactive touch button. The inactive touch button is located on one side of the active touch button located at the edge. Optionally, the active touch button can be a capacitive touch button. If the switch control device adopts a capacitive touch button, it has the advantages of long service life, waterproof and moisture-proof, sensitive operation, and simple appearance.

[0071] To ensure the accuracy of bathroom control, the number of valid and invalid touch buttons can be set to be the same. At the same time, valid and invalid touch buttons should be set in a one-to-one correspondence to ensure accurate detection of false triggers for each valid touch button.

[0072] Understandably, considering component costs, it is possible to set only one invalid touch button for each valid touch button located at the edge. For example, if the valid touch buttons are arranged horizontally in a single line, which is intuitive, neat, and ergonomic, then two invalid touch buttons can be set, one on each side of the valid touch buttons at the two ends of the horizontal arrangement. If the valid touch buttons are arranged vertically in a single line, then two invalid touch buttons can be set on each side of the valid touch buttons at the two ends of the vertical arrangement.

[0073] Additionally, it should be noted that if the valid touch buttons are arranged in a matrix (e.g., 2×2, 3×1, etc.), one or more corresponding invalid touch buttons can be set on one side of the valid touch buttons at the edge to ensure accurate detection of false triggers for each valid touch button and achieve precise control of the bathroom. Similarly, if the valid touch buttons are arranged in an arc / ring or dispersed manner, the number and position of invalid touch buttons can be selected according to requirements, and this embodiment does not impose any restrictions on them.

[0074] For example, see Figure 4 As shown, taking a bathroom shower as an example, the shower has four valid touch buttons, namely Touch2, Touch3, Touch4, and Touch5. Correspondingly, invalid touch buttons Touch1 and Touch6 are set on one side of the valid touch button Touch2 and the valid touch button Touch5 located on the edge, so as to ensure accurate detection of false triggering of each valid touch button.

[0075] Based on the same inventive concept Figure 5 A schematic diagram of the structure of a bathroom fixture 410 that can be used to implement an embodiment of the present invention is shown. Figure 5As shown, the bathroom fixture 410 also includes at least one processor 411 and a memory, such as a read-only memory (ROM 412) or a random access memory (RAM 413), communicatively connected to the at least one processor 411. The memory stores computer programs executable by the at least one processor. The processor 411 can perform various appropriate actions and processes based on the computer program stored in the ROM 412 or loaded from storage unit 418 into the RAM 413. The RAM 413 can also store various programs and data required for the operation of the bathroom fixture 410. The processor 411, ROM 412, and RAM 413 are interconnected via a bus 414. An I / O (input / output) interface 415 is also connected to the bus 414.

[0076] Multiple components in the bathroom fixture 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, optical disk, etc.; and a communication unit 419, such as a network card, modem, wireless transceiver, etc. The communication unit 419 allows the bathroom fixture 410 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0077] Processor 411 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 411 performs the various methods and processes described above, such as bathroom control methods.

[0078] In some embodiments, the bathroom control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the bathroom 410 via ROM 412 and / or communication unit 419. When the computer program is loaded into RAM 413 and executed by processor 411, one or more steps of the bathroom control method described above may be performed. Alternatively, in other embodiments, processor 411 may be configured to perform the bathroom control method by any other suitable means (e.g., by means of firmware).

[0079] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0080] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0081] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0082] To provide interaction with the user, the systems and technologies described herein can be implemented in a bathroom fixture having: a display device for showing information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the bathroom fixture. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0083] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0084] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0085] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0086] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for controlling bathroom fixtures, characterized in that, The bathroom fixture includes a switch control device, which includes a valid touch button and an invalid touch button. The invalid touch button is located on one side of the valid touch button, at the edge. The control method of the bathroom fixture includes: After detecting a valid touch signal generated by the valid touch button and / or an invalid touch signal generated by the invalid touch button, determine whether the corresponding valid touch button and / or invalid touch button has been mistakenly triggered based on the valid touch signal and the invalid touch signal; After determining that no accidental triggering has occurred, the cumulative triggering time length corresponding to the valid touch button or the invalid touch button is obtained, and the corresponding valid touch button or invalid touch button is determined to be accidentally triggered based on the cumulative triggering time length.

2. The bathroom control method according to claim 1, characterized in that, Determining whether the corresponding valid touch button and / or invalid touch button has been mistakenly triggered based on the valid touch signal and the invalid touch signal includes: If at least two valid touch signals generated by valid touch buttons are detected, it is determined that the two corresponding valid touch buttons have been falsely triggered. If the invalid touch signal generated by the invalid touch button and the valid touch signal generated by the corresponding valid touch button located at the edge are detected, it is determined that the invalid touch button and the corresponding valid touch button located at the edge are falsely triggered; If only one valid touch signal or one invalid touch signal is detected, it is determined that the corresponding valid touch button or invalid touch button has not been accidentally triggered.

3. The bathroom control method according to claim 1, characterized in that, Determining whether the corresponding valid or invalid touch button has been mistakenly triggered based on the cumulative trigger time includes: If the cumulative trigger time is less than the first set time, or the cumulative trigger time is greater than the second set time, it is determined that the corresponding valid touch button or the invalid touch button has been mistakenly triggered. If the cumulative trigger time is greater than or equal to the first set time and less than the second set time, it is determined that the corresponding valid touch button or invalid touch button has not been mistakenly triggered.

4. The bathroom control method according to claim 2 or 3, characterized in that, After determining that it was not triggered accidentally, the following steps are also included: Obtain the signal detection value corresponding to the valid touch signal or the invalid touch signal; If the signal detection value reaches the set detection threshold, it is determined that the corresponding valid touch button or invalid touch button has not been accidentally triggered. If the signal detection value does not reach the set detection threshold, it is determined that the corresponding valid touch button or invalid touch button has been mistakenly triggered.

5. The bathroom control method according to claim 4, characterized in that, The control method for the bathroom also includes: If it is determined that the corresponding valid touch button has not been accidentally triggered, then the button control logic corresponding to the valid touch button is executed; If it is determined that the corresponding invalid touch button was not accidentally triggered, the button control logic will not be executed.

6. A control device for a bathroom fixture, characterized in that, The bathroom fixture includes a switch control device, which includes a valid touch button and a invalid touch button. The invalid touch button is located on one side of the valid touch button, at the edge. The control device of the bathroom fixture includes: The first triggering judgment module is used to determine whether the corresponding valid touch button and / or invalid touch button has been mistakenly triggered based on the valid touch signal and the invalid touch signal after detecting a valid touch signal generated by the valid touch button and / or an invalid touch signal generated by the invalid touch button. The second trigger judgment module is used to, after determining that no false trigger has occurred, obtain the cumulative trigger time length corresponding to the valid touch button or the invalid touch button, and determine whether the corresponding valid touch button or the invalid touch button has been falsely triggered based on the cumulative trigger time length.

7. A bathroom fixture, characterized in that, The bathroom fixture includes a switch control device, which includes a valid touch button and an invalid touch button, wherein the invalid touch button is located on one side of the valid touch button at the edge. The bathroom fixtures also include: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the bathroom control method according to any one of claims 1-5.

8. The bathroom fixture according to claim 7, characterized in that, The number of valid touch buttons and invalid touch buttons are the same, and each valid touch button and invalid touch button is configured in a one-to-one correspondence.

9. The bathroom fixture according to claim 7, characterized in that, The valid touch buttons are arranged in a horizontal line, and the two invalid touch buttons are respectively located on one side of the valid touch buttons at both ends of the horizontal arrangement; The valid touch buttons are arranged in a vertical line, and the two invalid touch buttons are respectively located on one side of the valid touch buttons at both ends of the vertical arrangement.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the bathroom control method according to any one of claims 1-5.