Control method and device of faucet, electronic equipment and storage medium

By integrating a temperature sensing device and a cooling device onto the faucet circuit board, and combining temperature analysis with cooling control, the impact of high-temperature water outlet on the circuit and components is solved, achieving efficient temperature management, extending the service life of components, and improving the user experience.

CN122328601APending Publication Date: 2026-07-03NINGBO FOTILE KITCHEN WARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NINGBO FOTILE KITCHEN WARE CO LTD
Filing Date
2025-01-03
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing faucets, when dispensing hot water, can easily affect the lifespan of circuits and electronic components, resulting in a poor user experience, and the heat insulation cotton has limited mitigation effect.

Method used

A temperature sensing device is integrated on the circuit board of the faucet, and a cooling device is set at a preset cooling position. By acquiring the current operating status and temperature detection data, temperature analysis is performed, and the cooling device is controlled to cool the circuit board to maintain the ambient temperature within the preset range.

Benefits of technology

It effectively protects the circuits and components near the faucet, improves temperature control efficiency, extends the service life of components, and enhances user safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122328601A_ABST
    Figure CN122328601A_ABST
Patent Text Reader

Abstract

This application discloses a faucet control method, device, electronic device, and storage medium. The method acquires the current operating status information and current temperature detection data of the faucet; performs temperature analysis based on the current operating status information and the current temperature detection data to obtain a current temperature analysis result; controls a cooling device to perform cooling based on the current temperature analysis result to obtain a current cooling result; and terminates control of the cooling device when the current cooling result indicates that the environment in which the circuit board is located meets a preset ambient temperature condition. The current operating status information refers to the current time object controlling the water outlet temperature of the faucet, and the current temperature detection data is obtained by the temperature sensing device detecting the temperature of the environment in which the circuit board is located at the current time. This application, combining a cooling device and a control method, solves the problem of low efficiency in controlling the temperature of circuits near faucets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of faucet control technology, and in particular to a faucet control method, device, electronic device and storage medium. Background Technology

[0002] Water is an indispensable substance in daily life. Water is often heated before it comes out of the tap to accommodate different user temperature requirements. Most water purifiers on the market today have a control panel near the tap for convenient water dispensing. If the water temperature from the tap is too high, it can affect the lifespan of electronic components, thus impacting the user experience.

[0003] In existing technologies, thermal insulation cotton is mostly used to mitigate the impact of hot water pipes on the faucet control panel. This has some effect in the short term, but its effectiveness diminishes over time. Therefore, there is an urgent need for a faucet control method that can efficiently control temperature. Summary of the Invention

[0004] To address the problems of existing technologies, this application provides a faucet control method that, in conjunction with a cooling device and a corresponding control method, ensures that the ambient temperature of the circuit and components near the faucet does not affect the service life of the components, thus solving the problem of low temperature control efficiency for the circuit and components near the faucet.

[0005] According to one aspect of this application, a method for controlling a faucet is provided, wherein a temperature sensing device is integrated on the circuit board of the faucet, and a cooling device is provided at a preset cooling position of the faucet, the method comprising:

[0006] Obtain the current operating status information and current temperature detection data of the faucet;

[0007] Based on the current operating status information, temperature analysis is performed using the current temperature detection data to obtain the current temperature analysis result;

[0008] Based on the current temperature analysis results, the refrigeration device is controlled to perform refrigeration to obtain the current refrigeration result;

[0009] If the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, the control of the cooling device shall be terminated.

[0010] The current operating status information refers to the water temperature of the faucet controlled by the object at the current time, and the current temperature detection data is obtained by the temperature sensing device detecting the temperature of the environment in which the circuit board is located at the current time.

[0011] In one possible implementation, the step of performing temperature analysis based on the current temperature detection data according to the current operating status information to obtain the current temperature analysis result includes:

[0012] When the current operating status information indicates that the water temperature of the faucet controlled by the object meets the preset temperature condition, the temperature comparison result is obtained by comparing the current temperature detection data with the first preset cooling threshold.

[0013] The current temperature analysis result is determined based on the temperature comparison results.

[0014] In one possible implementation, the current temperature analysis result includes a first temperature analysis result and a second temperature analysis result, wherein the first temperature analysis result indicates that the refrigeration device is turned on, and the second temperature analysis result indicates that the refrigeration device is not turned on.

[0015] Determining the current temperature analysis result based on the temperature comparison result includes:

[0016] If the temperature comparison result indicates that the current temperature detection data is greater than the first preset cooling threshold, the current temperature analysis result is determined to be the first temperature analysis result;

[0017] If the temperature comparison result indicates that the current temperature detection data is less than or equal to the first preset cooling threshold, the current temperature analysis result is determined to be the second temperature analysis result.

[0018] In one possible implementation, the current temperature analysis result includes a first temperature analysis result, which indicates that the refrigeration device is activated.

[0019] The step of controlling the refrigeration device to perform refrigeration based on the current temperature analysis result, and obtaining the current refrigeration result, includes:

[0020] If the current temperature analysis result is the same as the first temperature analysis result, the refrigeration device is turned on to perform refrigeration.

[0021] After the cooling device is turned on for cooling, the current temperature detection data obtained by the temperature sensing device for the environment in which the circuit board is located is reacquired.

[0022] A comparison result is obtained by comparing the newly acquired current temperature detection data with a second preset cooling threshold, and the current cooling result is determined based on the comparison result.

[0023] In one possible implementation, the comparison result includes a first comparison result and a second comparison result, wherein the first comparison result indicates that the re-acquired current temperature detection data is less than the second preset cooling threshold, and the second comparison result indicates that the re-acquired current temperature detection data is greater than or equal to the second preset cooling threshold.

[0024] The comparison result is obtained by comparing the newly acquired current temperature detection data with a second preset cooling threshold, and the current cooling result is determined based on the comparison result, including:

[0025] If the comparison result is the first comparison result, the current cooling result is determined to be to turn off the cooling device;

[0026] If the comparison result is the second comparison result, the current cooling result is determined to continue controlling the cooling device to cool.

[0027] In one possible implementation, the method further includes:

[0028] If the current cooling result is to continue controlling the cooling device to cool, obtain the operating time data of the cooling device;

[0029] If the start-up duration data is less than or equal to the preset working duration, the cooling device continues to be controlled to perform cooling, and the current cooling control result is obtained. If the current cooling control result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, the control of the cooling device is terminated.

[0030] If the start-up duration is greater than the preset working duration, the cooling device is controlled to enter the intermittent cooling mode to perform cooling, and the current cooling result is obtained. The control of the cooling device ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset environmental conditions. The intermittent cooling mode indicates that the cooling device is in an intermittent cooling operation state.

[0031] In one possible implementation, the method further includes:

[0032] After ending the control of the cooling device, the current operating status information and current temperature detection data of the faucet are reacquired, and the current operating status information and current temperature detection data are updated based on the reacquired current operating status information.

[0033] The process of controlling the cooling device continues until the current operating status information is obtained, and temperature analysis is performed based on the current temperature detection data to obtain the current temperature analysis result. The process ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions.

[0034] On the other hand, a faucet control device is provided, which is capable of executing the faucet control method described in any of the above claims. The control device includes a temperature sensing device, a processing unit, and a cooling device.

[0035] The temperature sensing device and processing unit are integrated on the circuit board of the faucet.

[0036] The cooling device is located at the preset cooling position of the faucet;

[0037] The processing unit is used to acquire the current operating status information and current temperature detection data of the faucet; perform temperature analysis based on the current operating status information and the current temperature detection data to obtain the current temperature analysis result; control the cooling device to perform cooling based on the current temperature analysis result to obtain the current cooling result; and terminate the control of the cooling device when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions.

[0038] The current operating status information refers to the water temperature of the faucet controlled by the object at the current time, and the current temperature detection data is obtained by the temperature sensing device detecting the temperature of the environment in which the circuit board is located at the current time.

[0039] In one possible implementation, the processing unit is further configured to:

[0040] When the current operating status information indicates that the water temperature of the faucet controlled by the object meets the preset temperature condition, the temperature comparison result is obtained by comparing the current temperature detection data with the first preset cooling threshold.

[0041] The current temperature analysis result is determined based on the temperature comparison results.

[0042] In one possible implementation, the current temperature analysis result includes a first temperature analysis result and a second temperature analysis result, wherein the first temperature analysis result indicates that the cooling device is turned on, and the second temperature analysis result indicates that the cooling device is not turned on, and the processing unit is further configured to:

[0043] If the temperature comparison result indicates that the current temperature detection data is greater than the first preset cooling threshold, the current temperature analysis result is determined to be the first temperature analysis result;

[0044] If the temperature comparison result indicates that the current temperature detection data is less than or equal to the first preset cooling threshold, the current temperature analysis result is determined to be the second temperature analysis result.

[0045] In one possible implementation, the current temperature analysis result includes a first temperature analysis result, which indicates that the refrigeration device is activated, and the processing unit is further configured to:

[0046] If the current temperature analysis result is the same as the first temperature analysis result, the refrigeration device is turned on to perform refrigeration.

[0047] After the cooling device is turned on for cooling, the current temperature detection data obtained by the temperature sensing device for the environment in which the circuit board is located is reacquired.

[0048] A comparison result is obtained by comparing the newly acquired current temperature detection data with a second preset cooling threshold, and the current cooling result is determined based on the comparison result.

[0049] In one possible implementation, the comparison result includes a first comparison result and a second comparison result, wherein the first comparison result indicates that the re-acquired current temperature detection data is less than the second preset cooling threshold, and the second comparison result indicates that the re-acquired current temperature detection data is greater than or equal to the second preset cooling threshold, and the processing unit is further configured to:

[0050] If the comparison result is the first comparison result, the current cooling result is determined to be to turn off the cooling device;

[0051] If the comparison result is the second comparison result, the current cooling result is determined to continue controlling the cooling device to cool.

[0052] In one possible implementation, the processing unit is further configured to:

[0053] If the current cooling result is to continue controlling the cooling device to cool, obtain the operating time data of the cooling device;

[0054] If the start-up duration data is less than or equal to the preset working duration, the cooling device continues to be controlled to perform cooling, and the current cooling control result is obtained. If the current cooling control result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, the control of the cooling device is terminated.

[0055] If the start-up duration is greater than the preset working duration, the cooling device is controlled to enter the intermittent cooling mode to perform cooling, and the current cooling result is obtained. The control of the cooling device ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset environmental conditions. The intermittent cooling mode indicates that the cooling device is in an intermittent cooling operation state.

[0056] In one possible implementation, the processing unit is further configured to:

[0057] After ending the control of the cooling device, the current operating status information and current temperature detection data of the faucet are reacquired, and the current operating status information and current temperature detection data are updated based on the reacquired current operating status information.

[0058] The process of controlling the cooling device continues until the current operating status information is obtained, and temperature analysis is performed based on the current temperature detection data to obtain the current temperature analysis result. The process ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions.

[0059] On the other hand, an electronic device is provided, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the faucet control method of any of the above aspects.

[0060] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored therein, the at least one instruction or the at least one program being loaded and executed by a processor to implement the faucet control method as described above.

[0061] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the faucet control method of any of the above aspects.

[0062] This application discloses a method for controlling a faucet. A temperature sensing device is integrated on the faucet's circuit board, and a cooling device is installed at a preset cooling position on the faucet. The method acquires the faucet's current operating status information and current temperature detection data. Based on the current operating status information and the current temperature detection data, temperature analysis is performed to obtain a current temperature analysis result. The cooling device is controlled to perform cooling based on the current temperature analysis result to obtain a current cooling result. When the current cooling result indicates that the environment in which the circuit board is located meets preset ambient temperature conditions, control of the cooling device is terminated. The current operating status information refers to the current time at which the faucet's water outlet temperature is controlled, and the current temperature detection data is obtained by the temperature sensing device detecting the temperature of the environment in which the circuit board is located at the current time. This application, combining a cooling device and a corresponding control method, ensures that the ambient temperature of the circuitry and components near the faucet does not affect the lifespan of the components, while improving user safety when using the faucet and solving the problem of low efficiency in temperature control of the circuitry and components near the faucet. Attached Figure Description

[0063] To more clearly illustrate the technical solutions in the embodiments of this application, 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0064] Figure 1 This is a flowchart illustrating a faucet control method provided in an embodiment of this application;

[0065] Figure 2 This is a flowchart illustrating a faucet control method provided in an embodiment of this application;

[0066] Figure 3 This is a structural block diagram of a faucet control device provided in an embodiment of this application;

[0067] Figure 4 This is a schematic diagram of the structure of a faucet control device provided in an embodiment of this application;

[0068] Figure 5 This is a schematic diagram of the cooling element of a faucet control device provided in an embodiment of this application;

[0069] Figure 6 This is a schematic diagram of the heat dissipation window of a faucet control device provided in an embodiment of this application;

[0070] The corresponding labels in the figure are as follows: 1-control device, 2-temperature sensing device, 3-processing unit, 4-cooling device, 5-faucet PCB, 6-faucet spout, 7-water outlet pipe, 8-intermediate pipe, 9-water inlet pipe, 10-communication power supply line, 11-partition, 12-outer shell, 13-temperature sensing circuit, 14-chip processor, 15-cooling element, 16-cooling element clip, 17-cooling element power supply positive terminal, 18-cooling element power supply negative terminal, and 19-heat dissipation window. Detailed Implementation

[0071] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0072] As people become more aware of drinking water safety, water purifiers have received widespread attention, with people focusing not only on their filtration performance but also on practical functions such as heating.

[0073] To accommodate different people's drinking water temperature needs, most water purifiers on the market that dispense hot water are temperature-adjustable. This necessitates that the faucet have a button function. Since the faucet is the device that dispenses water, dispensing room-temperature water rarely affects the button circuitry or its components. However, if hot water above 90℃ is dispensed for an extended period, it can significantly affect the sensitivity of the buttons and the lifespan of electronic components, ultimately impacting the user experience. Most water purifier faucets on the market use insulation cotton to mitigate the impact of hot water dispensing from the pipes on the faucet's button PCB. This provides some short-term relief, but the insulation cotton's effectiveness diminishes over time.

[0074] This application provides a method for controlling a faucet, wherein a temperature sensing device is integrated on the circuit board of the faucet, and a cooling device is provided at a preset cooling position of the faucet. (See attached document.) Figure 1 The faucet control method includes steps S101 to S107.

[0075] In step S101, the current operating status information and current temperature detection data of the faucet are obtained.

[0076] In one possible implementation, the current operating status information is used to control the water temperature of the faucet at the current time.

[0077] In one possible implementation, the current temperature detection data is obtained by the temperature sensing device detecting the temperature of the environment in which the circuit board is located at the current time.

[0078] In one possible implementation, the control unit of the faucet's circuit board reads the current time object to control the water temperature of the faucet, which serves as the faucet's current operating status information.

[0079] In one possible implementation, the control unit of the circuit board of the faucet reads the temperature data of the environment in which the temperature sensing device detects the circuit board, and uses this data as the current temperature detection data.

[0080] In one possible implementation, such as Figure 2 As shown, after the user takes hot water, the current operating status information and current temperature detection data of the faucet are obtained.

[0081] In step S103, based on the current operating status information and the current temperature detection data, temperature analysis is performed to obtain the current temperature analysis result.

[0082] In one possible implementation, the step of performing temperature analysis based on the current temperature detection data according to the current operating status information to obtain the current temperature analysis result includes:

[0083] When the current operating status information indicates that the water temperature of the faucet controlled by the object meets the preset temperature condition, the temperature comparison result is obtained by comparing the current temperature detection data with the first preset cooling threshold.

[0084] The current temperature analysis result is determined based on the temperature comparison results.

[0085] In one possible implementation, such as Figure 2 As shown, when the current operating status information indicates that the water temperature controlled by the object exceeds a preset water temperature threshold, it is determined that the water temperature of the faucet meets the preset temperature condition. Specifically, when the water temperature controlled by the object is greater than or equal to 90°C, it is determined that the water temperature of the faucet meets the preset temperature condition, meaning that the user's hot water temperature at this moment may affect the lifespan of the circuit and electronic components.

[0086] In one possible implementation, such as Figure 2As shown, when the current operating status information indicates that the water temperature from the faucet controlled by the object meets the preset temperature condition, a temperature comparison result is obtained by comparing the current temperature detection data with a first preset cooling threshold. The current temperature analysis result is then determined based on this comparison result. Specifically, the first preset cooling threshold can be 70℃, and the value of the current temperature detection data is compared with the value of 70℃.

[0087] In this implementation, based on the current operating status information and the current temperature detection data, temperature analysis is performed to obtain the current temperature analysis result, which helps to determine whether the current temperature will affect the electronic components near the faucet.

[0088] In one possible implementation, the current temperature analysis result includes a first temperature analysis result and a second temperature analysis result, wherein the first temperature analysis result indicates that the refrigeration device is turned on, and the second temperature analysis result indicates that the refrigeration device is not turned on.

[0089] Determining the current temperature analysis result based on the temperature comparison result includes:

[0090] If the temperature comparison result indicates that the current temperature detection data is greater than the first preset cooling threshold, the current temperature analysis result is determined to be the first temperature analysis result;

[0091] If the temperature comparison result indicates that the current temperature detection data is less than or equal to the first preset cooling threshold, the current temperature analysis result is determined to be the second temperature analysis result.

[0092] In one possible implementation, such as Figure 2 As shown, when the current temperature detection data is greater than 70°C, the current temperature analysis result is determined to be the first temperature analysis result, that is, the current temperature analysis result indicates that the refrigeration device needs to be turned on.

[0093] In one possible implementation, such as Figure 2 As shown, if the current temperature detection data is less than or equal to 70°C, the current temperature analysis result is determined to be the second temperature analysis result, that is, the current temperature analysis result is determined to mean that the refrigeration device does not need to be turned on.

[0094] In this implementation, the current temperature analysis result is determined based on the comparison between the current temperature detection data and the first preset cooling threshold, thereby determining the influence of the ambient temperature on the electronic components and improving the accuracy of temperature control.

[0095] In step S105, the refrigeration device is controlled to perform refrigeration based on the current temperature analysis result to obtain the current refrigeration result.

[0096] In one possible implementation, such as Figure 2 As shown, if the current temperature analysis result is the same as the first temperature analysis result, the refrigeration device continues to perform refrigeration.

[0097] In one possible implementation, such as Figure 2 As shown, if the current temperature analysis result is the second temperature analysis result, the refrigeration device is turned off.

[0098] In one possible implementation, the current temperature analysis result includes a first temperature analysis result, which indicates that the refrigeration device is activated.

[0099] The step of controlling the refrigeration device to perform refrigeration based on the current temperature analysis result, and obtaining the current refrigeration result, includes:

[0100] If the current temperature analysis result is the same as the first temperature analysis result, the refrigeration device is turned on to perform refrigeration.

[0101] After the cooling device is turned on for cooling, the current temperature detection data obtained by the temperature sensing device for the environment in which the circuit board is located is reacquired.

[0102] A comparison result is obtained by comparing the newly acquired current temperature detection data with a second preset cooling threshold, and the current cooling result is determined based on the comparison result.

[0103] In one possible implementation, the comparison result includes a first comparison result and a second comparison result, wherein the first comparison result indicates that the re-acquired current temperature detection data is less than the second preset cooling threshold, and the second comparison result indicates that the re-acquired current temperature detection data is greater than or equal to the second preset cooling threshold.

[0104] The comparison result is obtained by comparing the newly acquired current temperature detection data with a second preset cooling threshold, and the current cooling result is determined based on the comparison result, including:

[0105] If the comparison result is the first comparison result, the current cooling result is determined to be to turn off the cooling device;

[0106] If the comparison result is the second comparison result, the current cooling result is determined to continue controlling the cooling device to cool.

[0107] In one possible implementation, such as Figure 2 As shown, when the current temperature detection data is greater than 70°C, the cooling device is turned on to cool the air.

[0108] In one possible implementation, such as Figure 2 As shown, after the cooling device is turned on, the current temperature detection data obtained by the temperature sensing device of the environment in which the circuit board is located is re-acquired, and the re-acquired current temperature detection data is compared with the second preset cooling threshold. Specifically, the second preset cooling threshold can be 60°C.

[0109] In one possible implementation, such as Figure 2 As shown, if the newly obtained current temperature detection data is less than 60°C, the refrigeration device is turned off and refrigeration stops.

[0110] In this implementation, the cooling device is controlled to perform cooling based on the current temperature analysis result to obtain the current cooling result. The cooling device is controlled based on different temperature analysis results so that when hot water is dispensed, the temperature of the environment around the components near the faucet is always maintained at a certain value. This value will not affect the button circuit and the components on the circuit, thus improving the convenience and intelligence of temperature control.

[0111] In step S107, if the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, the control of the cooling device is terminated.

[0112] In one possible implementation, such as Figure 2 As shown, when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, the cooling device is turned off to continue cooling.

[0113] In one possible implementation, the method further includes:

[0114] If the current cooling result is to continue controlling the cooling device to cool, obtain the operating time data of the cooling device;

[0115] If the start-up duration data is less than or equal to the preset working duration, the cooling device continues to be controlled to perform cooling, and the current cooling control result is obtained. If the current cooling control result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, the control of the cooling device is terminated.

[0116] If the start-up duration is greater than the preset working duration, the cooling device is controlled to enter the intermittent cooling mode to perform cooling, and the current cooling result is obtained. The control of the cooling device ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset environmental conditions. The intermittent cooling mode indicates that the cooling device is in an intermittent cooling operation state.

[0117] In one possible implementation, such as Figure 2 As shown, when the current cooling result is to continue controlling the cooling device to cool, the on-time data of the cooling device is obtained, that is, the duration for which the cooling device is in the on state is obtained.

[0118] In one possible implementation, such as Figure 2 As shown, if the current cooling result indicates that the cooling device should continue cooling and the on-time data is less than or equal to the preset working time, the cooling device should continue cooling to obtain the current cooling control result. If the current cooling control result indicates that the environment where the circuit board is located meets the preset ambient temperature condition, the control of the cooling device should be terminated. Specifically, the preset working time can be 3 minutes. If the current cooling result indicates that the cooling device should continue cooling and the on-time data is less than 3 minutes, the cooling device should continue cooling. If the current temperature detection data obtained by the temperature sensing device of the environment where the circuit board is located is less than 60°C, it is determined that the environment where the circuit board is located meets the preset ambient temperature condition, and the cooling device should be turned off.

[0119] In one possible implementation, such as Figure 2 As shown, the intermittent cooling mode indicates that the refrigeration device is in an intermittent cooling operation state, that is, the refrigeration device is controlled to alternately turn on and off at preset intervals. Specifically, the refrigeration device is controlled to turn on for 3 seconds and then turn off, and then turn on again for 3 seconds, and the on and off cycle is repeated.

[0120] In one possible implementation, such as Figure 2As shown, when the on-time data is greater than the preset working time, the cooling device is controlled to enter intermittent cooling mode to cool, and the current cooling result is obtained. Control of the cooling device ends when the current cooling result indicates that the environment of the circuit board meets the preset environmental conditions. The intermittent cooling mode represents the intermittent cooling operation of the cooling device. Specifically, the preset working time can be 3 minutes. When the current cooling result indicates that the cooling device should continue cooling and the on-time data is greater than 3 minutes, the cooling device is controlled to turn on for 3 seconds and then off, then turn on again for 3 seconds, repeating this on-off and off-off process. When the current temperature detection data obtained by the temperature sensing device for the environment of the circuit board is less than 60°C, it is determined that the environment of the circuit board meets the preset environmental temperature conditions, and the cooling device is turned off.

[0121] In this implementation, since the cooling efficiency of the thermoelectric cooler is relatively low, most of the energy is converted into heat energy, making it unsuitable for long-term operation. By controlling the cooler through appropriate control methods, the working efficiency of the cooler is improved, thereby enhancing the cooling effect.

[0122] In one possible implementation, the method further includes:

[0123] After ending the control of the cooling device, the current operating status information and current temperature detection data of the faucet are reacquired, and the current operating status information and current temperature detection data are updated based on the reacquired current operating status information.

[0124] The process of controlling the cooling device continues until the current operating status information is obtained, and temperature analysis is performed based on the current temperature detection data to obtain the current temperature analysis result. The process ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions.

[0125] In this implementation, temperature analysis is performed each time a user takes hot water to obtain the current temperature analysis result. Based on the current temperature analysis result, the cooling device is controlled to ensure that the environment in which the circuit board is located meets the preset ambient temperature conditions, thereby achieving the purpose of protecting the circuit and electronic components and improving the service life of the circuit and electronic components.

[0126] The beneficial effects of the faucet control method disclosed in the embodiments of this application are as follows:

[0127] A temperature sensing device is integrated on the circuit board of the faucet, and a cooling device is installed at a preset cooling position on the faucet. The system acquires the current operating status information and current temperature detection data of the faucet; performs temperature analysis based on the current operating status information and the current temperature detection data to obtain a current temperature analysis result; controls the cooling device to perform cooling based on the current temperature analysis result to obtain a current cooling result; and terminates control of the cooling device when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions. The current operating status information refers to the current time at which the faucet's outlet water temperature is controlled, and the current temperature detection data is obtained by the temperature sensing device detecting the temperature of the environment in which the circuit board is located at the current time. This application, combining a cooling device and a corresponding control method, ensures that the ambient temperature of the circuitry and components near the faucet does not affect the lifespan of the components, while improving user safety when using the faucet and solving the problem of low efficiency in temperature control of the circuitry and components near the faucet.

[0128] This application provides a schematic diagram of a faucet control device. This device has the function of implementing the faucet control method described in the above-described method embodiments. This function can be implemented by hardware or by hardware executing corresponding software. For example... Figure 3 As shown, the control device is capable of executing any of the above-described faucet control methods. The control device 1 includes a temperature sensing device 2, a processing unit 3, and a cooling device 4.

[0129] The temperature sensing device 2 and the processing unit 3 are integrated on the circuit board of the faucet;

[0130] The refrigeration device 4 is located at the preset refrigeration position of the faucet;

[0131] The processing unit 3 is used to acquire the current operating status information and current temperature detection data of the faucet; perform temperature analysis based on the current operating status information and the current temperature detection data to obtain the current temperature analysis result; control the cooling device 4 to perform cooling based on the current temperature analysis result to obtain the current cooling result; and terminate the control of the cooling device 4 when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions.

[0132] The current operating status information refers to the water temperature of the faucet controlled by the object at the current time, and the current temperature detection data is obtained by the temperature sensing device 2 detecting the temperature of the environment in which the circuit board is located at the current time.

[0133] In one possible implementation, the processing unit 3 is further configured to:

[0134] When the current operating status information indicates that the water temperature of the faucet controlled by the object meets the preset temperature condition, the temperature comparison result is obtained by comparing the current temperature detection data with the first preset cooling threshold.

[0135] The current temperature analysis result is determined based on the temperature comparison results.

[0136] In one possible implementation, the current temperature analysis result includes a first temperature analysis result and a second temperature analysis result, wherein the first temperature analysis result indicates that the cooling device 4 is turned on, and the second temperature analysis result indicates that the cooling device 4 is not turned on, and the processing unit 3 is further configured to:

[0137] If the temperature comparison result indicates that the current temperature detection data is greater than the first preset cooling threshold, the current temperature analysis result is determined to be the first temperature analysis result;

[0138] If the temperature comparison result indicates that the current temperature detection data is less than or equal to the first preset cooling threshold, the current temperature analysis result is determined to be the second temperature analysis result.

[0139] In one possible implementation, the current temperature analysis result includes a first temperature analysis result, which indicates that the cooling device 4 is activated, and the processing unit 3 is further configured to:

[0140] If the current temperature analysis result is the same as the first temperature analysis result, the refrigeration device 4 shall be turned on to perform refrigeration.

[0141] After the cooling device 4 is turned on for cooling, the current temperature detection data obtained by the temperature sensing device 2 for detecting the temperature of the environment in which the circuit board is located is acquired again.

[0142] A comparison result is obtained by comparing the newly acquired current temperature detection data with a second preset cooling threshold, and the current cooling result is determined based on the comparison result.

[0143] In one possible implementation, the comparison result includes a first comparison result and a second comparison result, wherein the first comparison result indicates that the re-acquired current temperature detection data is less than the second preset cooling threshold, and the second comparison result indicates that the re-acquired current temperature detection data is greater than or equal to the second preset cooling threshold, and the processing unit 3 is further configured to:

[0144] If the comparison result is the first comparison result, the current cooling result is determined to be to turn off the cooling device 4;

[0145] If the comparison result is the second comparison result, the current cooling result is determined to continue controlling the cooling device 4 to perform cooling.

[0146] In one possible implementation, the processing unit 3 is further configured to:

[0147] If the current cooling result is to continue controlling the cooling device 4 to cool, obtain the operating time data of the cooling device 4;

[0148] If the start-up duration data is less than the preset working duration, continue to control the cooling device 4 to cool, obtain the current cooling control result, and if the current cooling control result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, end the control of the cooling device 4.

[0149] When the start-up duration data is greater than or equal to the preset working duration, the cooling device 4 is controlled to enter the intermittent cooling mode to perform cooling, and the current cooling result is obtained. The control of the cooling device 4 ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset environmental conditions. The intermittent cooling mode indicates that the cooling device 4 is in an intermittent cooling operation state.

[0150] In one possible implementation, the processing unit 3 is further configured to:

[0151] After ending the control of the cooling device 4, the current operating status information and current temperature detection data of the faucet are reacquired, the current operating status information is updated based on the reacquired current operating status information, and the current temperature detection data is updated based on the reacquired current temperature detection data.

[0152] The process of controlling the cooling device 4 continues until the current operating status information is obtained, and the temperature analysis is performed based on the current temperature detection data to obtain the current temperature analysis result. The process ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions.

[0153] This application also provides a water purifier, which includes a faucet control device as described in any of the above embodiments.

[0154] In one exemplary embodiment, Figure 4 A schematic diagram of a faucet control device is shown, which has the function of implementing the faucet control method in the above-described method embodiments.

[0155] In one possible implementation, such as Figure 4As shown, the faucet is equipped with a faucet PCB (circuit board) 5, a faucet spout 6, a water outlet pipe 7, an intermediate pipe 8, a water inlet pipe 9, a communication power supply line 10, a partition 11, and a housing 12. The faucet PCB 5 has a faucet button, which is used for convenient water dispensing or selecting different water temperatures. The partition 11 isolates the chamber containing the faucet PCB from the chamber containing the intermediate pipe 8, preventing heat from the intermediate pipe 8 from affecting the chamber containing the faucet PCB 5.

[0156] In one possible implementation, such as Figure 4 As shown, the control device 1 includes a temperature sensing circuit 13, a chip processor 14, and a cooling element 15. The temperature sensing circuit 13 and the chip processor 14 are integrated on the faucet PCB 5. The cooling element 15 is located at the preset cooling position of the faucet and is fixed to the preset cooling position of the faucet by a cooling element clip 16. The chip processor 14 receives and processes button signals and temperature values, and then sends a specified action command to the host. The chip processor 14 can control the opening and closing of the cooling element 15.

[0157] In one possible implementation, such as Figure 4 As shown, the temperature sensing circuit 13 is used to monitor the ambient temperature of the current PCB5.

[0158] In one possible implementation, such as Figure 4 As shown, the faucet spout 6 is where water flows out of the faucet's interior; the user places a cup under the spout to collect the water. The water outlet pipe 7 is a section of pipe below the faucet PCB 5, which has the greatest impact on the temperature inside the PCB 5's chamber. When hot water passes through this pipe, heat accumulates inside the chamber, eventually causing excessively high temperatures within the faucet's chamber, affecting the circuitry and electronic components inside the PCB 5. The middle pipe 8 is the internal pipe of the faucet's support section. The water inlet pipe 9 is the external pipe of the faucet, where water initially enters. The faucet casing 12 is the faucet's external decorative cover. The communication and power supply cable 10 integrates the communication and power cables, bundling them together and covering them with waterproof material to prevent moisture interference; a single cable also facilitates installation.

[0159] In one possible implementation, such as Figure 5As shown, the cooling chip 15 is a semiconductor cooling chip with a thin sheet structure. Its cold side is far from the faucet housing, and its hot side is close to the faucet housing. When the cooling is turned on, the cold side will cause the temperature inside the faucet PCB5 cavity to drop rapidly. The cooling chip clip 16 is used to fix the cooling chip. The cooling chip 15 is powered by the faucet PCB5. The cooling chip 15 includes a cooling chip power supply positive terminal 17 and a cooling chip power supply negative terminal 18. The positive and negative terminals of the faucet PCB5 are fixed at both ends of the cooling chip to prevent short circuits between the positive and negative terminals.

[0160] In one possible implementation, such as Figure 6 As shown, a heat dissipation window 19 is provided at the position of the outer casing where the hot side of the semiconductor cooling chip is attached. The heat dissipation window 19 is used to dissipate the temperature of the hot side of the semiconductor cooling chip in a timely and effective manner.

[0161] In one possible implementation, because the thermoelectric cooler has relatively low cooling efficiency, most of its energy is converted into heat, making it unsuitable for prolonged operation. To maximize the utilization of the thermoelectric cooler module, a corresponding faucet control method is designed to address this issue. For example... Figure 2 As shown, when the user takes hot water, the temperature sensing circuit inside the faucet monitors the temperature inside the chamber in real time. When the monitored temperature is greater than 70℃, the cooling coil is immediately turned on. Then it checks if the temperature is lower than 60℃. If so, the cooling is turned off until the end. Otherwise, the cooling needs to be maintained. At this time, it checks if the cooling time exceeds 3 minutes. If so, intermittent cooling is turned on, entering the 3-second on and 3-second off mode. If not, it returns to the original condition of checking if the temperature is lower than 60℃ until this condition is met, then the cooling is turned off until the end.

[0162] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0163] This application provides an electronic device, which includes a processor and a memory. The memory stores at least one instruction or at least one program, which is loaded and executed by the processor to implement any of the faucet control methods provided in the above method embodiments.

[0164] Memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. Memory can primarily include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for the functions, etc.; the data storage area can store data created based on the use of the device, etc. Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory can also include a memory controller to provide the processor with access to the memory.

[0165] Embodiments of this application also provide a computer-readable storage medium, which can be disposed in an electronic device to store at least one instruction or at least one program related to implementing a faucet control method. The at least one instruction or the at least one program is loaded and executed by the processor to implement any of the faucet control methods provided in the above-described method embodiments.

[0166] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0167] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

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

[0169] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

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

Claims

1. A method for controlling a faucet, characterized in that, A temperature sensing device is integrated on the circuit board of the faucet, and a cooling device is installed at the preset cooling position of the faucet. The method includes: Obtain the current operating status information and current temperature detection data of the faucet; Based on the current operating status information, temperature analysis is performed using the current temperature detection data to obtain the current temperature analysis result; Based on the current temperature analysis results, the refrigeration device is controlled to perform refrigeration to obtain the current refrigeration result; If the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, then control of the cooling device is terminated. The current operating status information refers to the water temperature of the faucet controlled by the object at the current time, and the current temperature detection data is obtained by the temperature sensing device detecting the temperature of the environment in which the circuit board is located at the current time.

2. The faucet control method according to claim 1, characterized in that, The step of performing temperature analysis based on the current operating status information and the current temperature detection data to obtain the current temperature analysis result includes: When the current operating status information indicates that the water temperature of the faucet controlled by the object meets the preset temperature condition, the temperature comparison result is obtained by comparing the current temperature detection data with the first preset cooling threshold. The current temperature analysis result is determined based on the temperature comparison results.

3. The faucet control method according to claim 2, characterized in that, The current temperature analysis results include a first temperature analysis result and a second temperature analysis result. The first temperature analysis result indicates that the refrigeration device is turned on, and the second temperature analysis result indicates that the refrigeration device is not turned on. Determining the current temperature analysis result based on the temperature comparison result includes: If the temperature comparison result indicates that the current temperature detection data is greater than the first preset cooling threshold, the current temperature analysis result is determined to be the first temperature analysis result; If the temperature comparison result indicates that the current temperature detection data is less than or equal to the first preset cooling threshold, the current temperature analysis result is determined to be the second temperature analysis result.

4. The faucet control method according to claim 1, characterized in that, The current temperature analysis result includes a first temperature analysis result, which indicates that the refrigeration device is turned on. The step of controlling the refrigeration device to perform refrigeration based on the current temperature analysis result, and obtaining the current refrigeration result, includes: If the current temperature analysis result is the same as the first temperature analysis result, the refrigeration device is turned on to perform refrigeration. After the cooling device is turned on for cooling, the current temperature detection data obtained by the temperature sensing device for the environment in which the circuit board is located is reacquired. A comparison result is obtained by comparing the newly acquired current temperature detection data with a second preset cooling threshold, and the current cooling result is determined based on the comparison result.

5. The faucet control method according to claim 4, characterized in that, The comparison results include a first comparison result and a second comparison result. The first comparison result indicates that the newly obtained current temperature detection data is less than the second preset cooling threshold, and the second comparison result indicates that the newly obtained current temperature detection data is greater than or equal to the second preset cooling threshold. The comparison result is obtained by comparing the newly acquired current temperature detection data with a second preset cooling threshold, and the current cooling result is determined based on the comparison result, including: If the comparison result is the first comparison result, the current cooling result is determined to be to turn off the cooling device; If the comparison result is the second comparison result, the current cooling result is determined to continue controlling the cooling device to cool.

6. The faucet control method according to claim 1, characterized in that, The method further includes: If the current cooling result is to continue controlling the cooling device to cool, obtain the operating time data of the cooling device; If the start-up duration data is less than or equal to the preset working duration, the cooling device continues to be controlled to perform cooling, and the current cooling control result is obtained. If the current cooling control result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, the control of the cooling device is terminated. If the start-up duration is greater than the preset working duration, the cooling device is controlled to enter the intermittent cooling mode to perform cooling, and the current cooling result is obtained. The control of the cooling device ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset environmental conditions. The intermittent cooling mode indicates that the cooling device is in an intermittent cooling operation state.

7. The faucet control method according to claim 1, characterized in that, The method further includes: After ending the control of the cooling device, the current operating status information and current temperature detection data of the faucet are reacquired, and the current operating status information and current temperature detection data are updated based on the reacquired current operating status information. The process of controlling the cooling device continues until the current operating status information is obtained, and temperature analysis is performed based on the current temperature detection data to obtain the current temperature analysis result. The process ends when the current cooling result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions.

8. A control device for a faucet, characterized in that, The control device (1) is capable of executing the faucet control method according to any one of claims 1-7. The control device (1) includes a temperature sensing device (2), a processing unit (3), and a cooling device (4). The temperature sensing device (2) and the processing unit (3) are integrated on the circuit board of the faucet; The refrigeration device (4) is located at the preset refrigeration position of the faucet; The processing unit (3) is used to obtain the current operating status information and current temperature detection data of the faucet; Based on the current operating status information, temperature analysis is performed using the current temperature detection data to obtain the current temperature analysis result; Based on the current temperature analysis result, the refrigeration device (4) is controlled to perform refrigeration to obtain the current refrigeration result; when the current refrigeration result indicates that the environment in which the circuit board is located meets the preset ambient temperature conditions, the control of the refrigeration device (4) is terminated. The current operating status information is the water temperature of the faucet controlled by the object at the current time, and the current temperature detection data is obtained by the temperature sensing device (2) detecting the temperature of the environment in which the circuit board is located at the current time.

9. An electronic device, characterized in that, The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the faucet control method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing at least one instruction or at least one program, said at least one instruction or said at least one program being loaded and executed by a processor to implement the faucet control method as described in any one of claims 1 to 7.