Device control method, water purification device, detachable protective device, readable storage medium and program product

By equipping water purification equipment with a detachable protective device and controlling the opening and closing of the outlet protection space through the communication status of the master and slave processors, the problem of poor hygiene protection performance caused by exposed outlets of water purification equipment is solved, and flexible configuration and efficient protection of the equipment are achieved.

CN123037622APending Publication Date: 2026-11-06GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611568750.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-12
Publication Date
2026-11-06

AI Technical Summary

Technical Problem

The water outlet of water purification equipment is exposed for a long time, resulting in poor hygiene protection performance. It is easily contaminated by dust, flying insects, bacteria and oil, and it is difficult to quickly deploy and flexibly configure it with water purification equipment of different brands or structures.

Method used

A detachable protective device is installed on the water purification equipment. The closed or open state of the protective space is controlled by the communication connection between the main processor and the slave processor, forming a detachable split assembly relationship to adapt to different equipment. The distance between the outlet protective device and the outlet is adjusted by the adjustable bracket to ensure that external pollutants are isolated when the outlet is closed and purified water is output normally when it is open.

Benefits of technology

It improves the sanitary protection performance of water purification equipment, reduces the risk of water outlet contamination, enhances ease of use, equipment versatility, and assembly stability, and solves the problem of poor sanitary protection performance caused by exposed water outlets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123037622A_ABST
    Figure CN123037622A_ABST
Patent Text Reader

Abstract

This application relates to a device control method, a water purification device, a removable protective device, a readable storage medium, and a program product. The method is applied to a main processor in a water purification device, which includes a water outlet and is equipped with a removable protective device. The removable protective device includes a slave processor, a water outlet protective device, and an adjustable bracket. The water outlet protective device includes a protective space accommodating the water outlet. The method includes: acquiring the operating status of the water purification device and the communication connection status between the main processor and the slave processor, determining the desired state of the protective space based on the status, and controlling the protective space to be closed or open according to the communication connection status, so that the water outlet is isolated from the outside when closed, and purified water is output when open; the method also includes acquiring and outputting adjustment commands to cause the slave processor to adjust the length of the adjustable bracket, changing the distance between the water outlet protective device and the water outlet, so that the water outlet is within the protective space. This method can improve the hygienic protection performance of the water purification device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of household appliance technology, and in particular to a device control method, a water purification device, a removable protective device, a readable storage medium, and a program product. Background Technology

[0002] Currently, water purification equipment (such as water purifiers or dispensers) is widely used in homes, offices, and public places as a device that deeply filters and purifies raw water to provide safe drinking water. With the increasing demand for healthy drinking water, its functions have evolved from simple filtration to integration of instant heating, cooling, ice making, mineralization, and intelligent control, making it a modern drinking water infrastructure.

[0003] Typically, a water outlet is located at the front of the water purifier. Users place a water container in the receiving area and control the outlet to dispense purified water via mechanical buttons, touch buttons, or screen buttons. However, because the outlet is exposed for extended periods, the hygienic protection performance of the water purifier is not high. Summary of the Invention

[0004] Therefore, it is necessary to provide a device control method, a water purification device, a removable protective device, a readable storage medium, and a program product that can improve the sanitary protection performance of water purification equipment in response to the above-mentioned technical problems.

[0005] In a first aspect, this application provides a device control method applied to a main processor in a water purification device, the water purification device further including a water outlet, and the water purification device being equipped with a detachable protective device; the detachable protective device includes a slave processor and a protective space for accommodating the water outlet; the method includes: acquiring the operating state of the water purification device and the communication connection state between the main processor and the slave processor; determining a desired state of the protective space based on the operating state; and controlling the protective space to be in the desired state according to the communication connection state; wherein the desired state includes a closed state and an open state; the water outlet is isolated from the outside when the protective space is in the closed state, and the water outlet supplies water to the outside when the protective space is in the open state. The method provides purified water; wherein the water purification equipment further includes a water receiving tray; the detachable protective device further includes an outlet protection device, an adjustable bracket, and a base; the outlet protection device includes the protective space, the outlet protection device is fixedly connected to the first end of the adjustable bracket, the second end of the adjustable bracket is fixedly connected to the water receiving tray through the base, the base is located above the water receiving tray, and the base includes a mating hole corresponding to the water receiving hole on the water receiving tray; the method further includes: obtaining an adjustment command for the adjustable bracket; outputting the adjustment command so that the slave processor, upon obtaining the adjustment command, adjusts the bracket length of the adjustable bracket to adjust the distance between the outlet protection device and the outlet, so that the outlet is located within the protective space.

[0006] In one embodiment, the outlet protection device further includes a first signal device, and a second signal device aligned with the first signal device is disposed in the base; controlling the protection space to be in the desired state according to the communication connection status includes: if the communication connection status indicates an abnormal communication connection, and if the desired state is an open state, outputting an open control prompt message for the protection space, so that if the slave processor detects the open control prompt message and determines, based on the first signal device and the second signal device, that the water container is in the water receiving area of ​​the water receiving tray, it controls the outlet protection device to make the protection space be in the open state.

[0007] In one embodiment, the detachable protective device displays an open button; the method further includes: upon receiving water outlet prompt information output by the detachable protective device, if the desired state is an open state, controlling the water outlet to output purified water to the outside; wherein the water outlet prompt information is a prompt information generated by the slave processor upon receiving a trigger event for the open button.

[0008] In one embodiment, the operating state includes a water supply state and a standby state; controlling the protective space to be in the desired state according to the communication connection state includes: if the desired state is an open state when the communication connection state indicates that the communication connection is normal, then sending a first control command to the slave processor, so that the slave processor controls the outlet protection device based on the first control command, so that the protective space is in the open state; if the desired state is a closed state when the communication connection state indicates that the communication connection is normal, then sending a second control command to the slave processor, so that the slave processor controls the outlet protection device based on the second control command, so that the protective space is in the closed state.

[0009] In one embodiment, the outlet protection device further includes a first signal device, and a second signal device is disposed in the base and aligned with the first signal device; the method further includes: upon receiving a first feedback signal from the slave processor in response to the first control command, controlling the outlet to output purified water; wherein, the first feedback signal is a command generated by the slave processor after determining, through the first signal device and the second signal device, that the water container is placed in the water receiving area of ​​the water receiving tray.

[0010] In one embodiment, the method further includes: if no first feedback signal from the slave processor for the first control command is received within a first preset time period, outputting a prompt message for the water container.

[0011] In one embodiment, the outlet protection device further includes a protective cover, a first limit switch, and a second limit switch; controlling the protective space to be in the desired state according to the communication connection state includes: when the desired state is a closed state, controlling the protective cover to contact the first limit switch according to the communication connection state; and when the desired state is an open state, controlling the protective cover to contact the second limit switch according to the communication connection state.

[0012] Secondly, this application provides a water purification device, which includes a water outlet and a main processor, and is equipped with a detachable protective device, which includes a secondary processor and a protective space for accommodating the water outlet; the main processor is used to perform the steps of the method described in the first aspect or any one of the first aspects; wherein the water outlet is isolated from the outside when the protective space is in a closed state, and the water outlet outputs purified water to the outside when the protective space is in an open state.

[0013] Thirdly, this application provides a detachable protective device, which is mounted on a water purification device. The water purification device includes a water outlet, and the detachable protective device includes a protective space for accommodating the water outlet. When the protective space is in a closed state, the water outlet is isolated from the outside, and when the protective space is in an open state, the water outlet outputs purified water to the outside.

[0014] In one embodiment, the water purification device further includes a water receiving tray; the detachable protective device further includes an outlet protective device, an adjustable bracket, and a base; the outlet protective device includes the protective space, the outlet protective device is fixedly connected to the first end of the adjustable bracket, the second end of the adjustable bracket is fixedly connected to the water receiving tray through the base, the base is located above the water receiving tray, and the base includes a mating hole corresponding to the water receiving hole on the water receiving tray.

[0015] In one embodiment, the outlet protection device further includes a first signal device, and a second signal device is disposed in the base and aligned with the first signal device.

[0016] In one embodiment, the outlet protection device further includes a protective cover, a first limit switch, and a second limit switch; the protective cover contacts the first limit switch when the protective space is in a closed state; and the protective cover contacts the second limit switch when the protective space is in an open state.

[0017] In one embodiment, the outlet protection device further includes a motor; the motor is used to drive the protective cover to contact the first limit switch; or, to drive the protective cover to contact the second limit switch.

[0018] Fourthly, this application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, performs the following steps: acquiring the operating status of a water purification device and the communication connection status between the main processor in the water purification device and the slave processor in the removable protective device; the water purification device is equipped with a removable protective device; according to the communication connection status, controlling the protective space in the removable protective device to be in a desired state; wherein, the desired state includes a closed state and an open state; the water outlet is isolated from the outside when the protective space is in the closed state, and outputs purified water to the outside when the protective space is in the open state.

[0019] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps: acquiring the operating status of a water purification device and the communication connection status between the main processor in the water purification device and the slave processor in the removable protective device; the water purification device is equipped with a removable protective device; according to the communication connection status, controlling the protective space in the removable protective device to be in a desired state; wherein, the desired state includes a closed state and an open state; the water outlet is isolated from the outside when the protective space is in the closed state, and outputs purified water to the outside when the protective space is in the open state.

[0020] The aforementioned equipment control method, water purification equipment, detachable protective device, readable storage medium, and program product, on the one hand, by assembling a detachable protective device on the water purification equipment, create a detachable, separate assembly relationship between the water purification equipment and the detachable protective device, rather than a one-piece molded or inseparable integrated structure. This facilitates rapid deployment and flexible configuration for different water purification equipment. Furthermore, by forming a protective space within the detachable protective device to accommodate the water outlet, and controlling the protective space to be in a desired state corresponding to the operating state of the water purification equipment based on the communication connection status between the main processor and the slave processor, the system allows the water outlet to be connected to the outside when the desired state is open, enabling the output of purified water to meet the user's normal water access needs. Conversely, when the desired state is closed, the water outlet is isolated from the outside, preventing dust, insects, bacteria, oil, and other contaminants from contacting the water outlet, reducing the risk of contamination. This addresses the problem of poor hygiene protection performance caused by long-term exposure of the water outlet, thus improving the hygiene protection performance of the water purification equipment. On the other hand, by setting the water purification equipment to include a water receiving tray, and the detachable protective device to include an outlet protective device, an adjustable bracket, and a base, the outlet protective device includes a protective space. The outlet protective device is fixedly connected to the first end of the adjustable bracket, and the second end of the adjustable bracket is fixedly connected to the water receiving tray via the base. The base is located above the water receiving tray and includes mating holes corresponding to the water receiving holes on the water receiving tray. Furthermore, by acquiring and outputting adjustment commands for the adjustable bracket, the processor, upon receiving the adjustment commands, adjusts the length of the adjustable bracket. By adjusting the distance between the outlet protection device and the outlet, the outlet is placed within the protected space. This distance can be changed by adjusting the length of the adjustable bracket, ensuring the outlet is reliably within the protected space. This allows for compatibility with different types of water purifiers, ensuring the protected space effectively isolates the outlet when closed and delivers purified water normally when open. It prevents protection failure, contamination from exposed outlets, and the intrusion of dust, insects, and bacteria, or accidental water discharge due to the outlet not being within the protected space, thus improving user convenience. Furthermore, the adjustable bracket, base, and water tray can be adjusted without affecting the normal water collection of the water tray, enhancing the versatility and assembly stability of the detachable protection device. Attached Figure Description

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

[0022] Figure 1This is a structural block diagram of a water purification device in one embodiment;

[0023] Figure 2 This is a schematic diagram showing the location of the signal device in one embodiment;

[0024] Figure 3 This is a schematic diagram of the internal working principle of the outlet protection device in one embodiment;

[0025] Figure 4 This is a schematic diagram of the structure of a detachable protective device in one embodiment;

[0026] Figure 5 This is a front and side view of an embodiment with the adjustable clamp in the open state;

[0027] Figure 6 This is a flowchart illustrating the device control method in another embodiment;

[0028] Figure 7 This is a structural block diagram of the device control device in one embodiment. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0030] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various signal devices, but these signal devices are not limited by these terms. These terms are only used to distinguish between the first signal device and the second signal device. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0031] When the water outlet of a water purifier is exposed, it is easily affected by airborne dust, accidental hand contact, and cleaning cloth contact in environments such as home kitchens, living rooms, and offices. For example, dust, oil particles, and splashing water vapor in the air can easily adhere to the outer surface of the outlet, which can contaminate the outlet and affect the quality of the purified water output. Even if the water circuit has been filtered internally, the end of the outlet may still become a hygiene weak point that users can perceive. If users simply rely on manually closing the dust cover, they may easily forget to do so; if the protective cover is always closed and requires users to open it manually, it will reduce the convenience of water collection.

[0032] Furthermore, while some water purification equipment has a cover, it is usually integrated with the overall structure, power supply, and control board, making it difficult to install as a separate accessory on existing equipment. For drinking water equipment already in use or from different brands and with different structures, adding dustproof, container detection, and water outlet interlock functions often requires modifications to the casing, internal power supply, or control circuitry, which is not conducive to rapid deployment and cross-equipment use.

[0033] Based on the above analysis, this application provides a device control method, applied to... Figure 1 The water purification device 10 shown includes a main processor 101, an outlet 102, and a detachable protective device 20. The detachable protective device 20 includes a slave processor 201 and a protective space 202 for accommodating the outlet 102. The method includes: acquiring the operating status of the water purification device and the communication connection status between the main processor and the slave processor; determining the desired state of the protective space based on the operating status; and controlling the protective space to be in the desired state according to the communication connection status. The desired state includes a closed state and an open state. When the protective space is in the closed state, the outlet is isolated from the outside, and when the protective space is in the open state, the outlet outputs purified water to the outside.

[0034] The operating status refers to the current working mode, including water supply status and standby status. Water supply status indicates that the water purifier is outputting purified water, while standby status indicates that the water purifier is not performing water supply actions, is waiting for instructions, or is in a low-power state. In some cases, the water purifier can perform water production while in standby status, thus outputting purified water promptly when water supply is triggered, shortening the waiting time. In other cases, the water purifier can also perform purification actions while in standby status, reducing the total dissolved solids (TDS) value in the first cup of water by rinsing or soaking the filter cartridge, thereby improving water quality safety.

[0035] The communication connection status is used to characterize whether a valid communication link has been established between the master processor and the slave processor, including normal and abnormal communication connections. For example, when the communication connection is normal, the master processor and the slave processor can exchange data; when the communication connection is abnormal, the master processor cannot exchange data with the slave processor.

[0036] In an optional embodiment, the method further includes: in response to a user pressing any water outlet button in the water purifier, such as room temperature, warm water, hot water, or metered water outlet, determining that the water purifier is in a water supply state.

[0037] The desired state refers to the state in which the protected space matches the operating state. In an optional embodiment, determining the desired state of the protected space based on the operating state includes: determining the desired state of the protected space as an open state when the operating state is a water supply state; and determining the desired state of the protected space as a closed state when the operating state is a standby state.

[0038] In an optional embodiment, the method further includes: when the protective space is open, obtaining the distance between the water outlet and the plane containing the opening of the water container; if the distance is greater than a set threshold, controlling the water outlet to extend closer to the water container; and if the distance between the water outlet and the plane containing the opening of the water container is less than or equal to the set threshold, controlling the water outlet to output purified water. Optionally, the water outlet is connected to a telescopic tube or a lifting drive mechanism, which allows the water outlet to extend closer to the water container. Therefore, by providing a telescopic function to the water outlet, it can adapt to water containers of different heights and sizes, shorten the drop between the water outlet and the upper surface of the water container, reduce water splashing, and improve the safety of the water purification equipment.

[0039] In the above embodiments, by assembling a detachable protective device on the water purification equipment, a detachable, separate assembly relationship is formed between the water purification equipment and the detachable protective device, rather than a one-piece molded or inseparable integrated structure. This facilitates rapid deployment and flexible configuration for different water purification equipment. By forming a protective space within the detachable protective device to accommodate the water outlet, and controlling the protective space to be in a desired state corresponding to the operating state of the water purification equipment based on the communication connection status between the main processor and the slave processor, the system allows the water outlet to be connected to the outside when the desired state is open, enabling the output of purified water to meet the user's normal water access needs. Conversely, when the desired state is closed, the water outlet is isolated from the outside, preventing dust, insects, bacteria, oil, and other contaminants from contacting the water outlet, reducing the risk of contamination. This solves the problem of poor hygiene protection performance caused by long-term exposure of the water outlet, thus improving the hygiene protection performance of the water purification equipment. Therefore, the equipment control method provided in this application not only solves the problem of poor sanitary protection performance caused by long-term exposure of the water outlet, but also realizes intelligent coordination between water outlet protection and normal water supply, thereby improving the ease of use of the water purification equipment.

[0040] In one embodiment, the water purification device includes a water receiving tray; the detachable protective device further includes an outlet protective device, an adjustable bracket, and a base; the outlet protective device includes a protective space, the outlet protective device is fixedly connected to a first end of the adjustable bracket, the second end of the adjustable bracket is fixedly connected to the water receiving tray via the base, the base is located above the water receiving tray, and the base includes a mating hole corresponding to a water receiving hole on the water receiving tray; the method further includes: acquiring an adjustment command for the adjustable bracket; outputting the adjustment command so that, upon receiving the adjustment command, the processor adjusts the length of the adjustable bracket to adjust the distance between the outlet protective device and the outlet, so that the outlet is within the protective space.

[0041] Understandably, by setting the base above the water tray and including mating holes corresponding to the water holes on the water tray, the base provides a stable installation foundation for the adjustable bracket while not obstructing the water holes of the water tray. This allows water dripping or splashing from the outlet to enter the water holes through the mating holes and be collected by the water tray, ensuring the normal water receiving function of the water tray.

[0042] In an optional embodiment, the slave processor can be used to: in response to an adjustment event of the adjustable bracket, adjust the distance between the outlet protection device and the outlet by adjusting the bracket length of the adjustable bracket, so that the outlet is within the protection space. That is, when the user has a need to adjust the bracket, the slave processor can directly adjust the bracket length.

[0043] For example, the processor can determine that an adjustment event for the adjustable bracket has been triggered by acquiring the user's voice commands controlling the adjustable bracket. Alternatively, the detachable protective device displays a bracket control button, and the adjustment event for the adjustable bracket is determined to be triggered when the user activates the bracket control button.

[0044] In an optional embodiment, the detachable protective device further includes adjustable clamps, with at least two adjustable clamps. The method further includes: assembling the outlet protective device onto the water purification equipment using the adjustable clamps when the outlet is within the protective space. This allows the outlet protective device to be clamped and fixed after the adjustable bracket length adjustment is completed, preventing it from shifting, loosening, or falling off relative to the outlet, thus improving the assembly stability of the detachable protective device.

[0045] In an optional embodiment, obtaining adjustment instructions for the adjustable bracket includes: acquiring voice data for the adjustable bracket; and obtaining adjustment instructions for the adjustable bracket based on the voice data. For example, the voice data includes voice signals issued by the user that contain the intention to adjust, such as instructions like "extend the bracket," "shorten the bracket," "raise the outlet protection device," or "lower the outlet protection device."

[0046] In an optional embodiment, the method further includes: sending an adjustment instruction to the slave processor when the communication connection status indicates that the communication connection is normal, so that the slave processor can obtain the adjustment instruction; and outputting the adjustment instruction via voice when the communication connection status indicates that the communication connection is abnormal, so that the slave processor can acquire the adjustment instruction.

[0047] In an optional embodiment, adjusting the length of the adjustable bracket from the processor includes: obtaining a first distance between the base and the outlet protection device, and a second distance between the base and the outlet from the processor; and adjusting the length of the adjustable bracket based on the first and second distances. Thus, by obtaining the first distance between the base and the outlet protection device, and the second distance between the base and the outlet, the relative positional relationship and actual distance between the outlet protection device and the outlet can be accurately determined using the base as a common measurement and installation reference. Adjusting the length of the adjustable bracket accordingly allows for precise control of the movement of the outlet protection device relative to the outlet, ensuring the outlet is reliably within the protective space. This guarantees that the protective space isolates the outlet from the outside when closed and allows the outlet to normally output purified water when open, thereby preventing external contamination of the outlet, accidental water discharge, or protection failure, further improving the hygienic protection performance of the water purification equipment.

[0048] The first distance refers to the initial length between the base and the outlet protection device when the detachable protective device leaves the factory. The second distance refers to the vertical distance between the upper surface of the base and the lowest point of the outlet.

[0049] For example, adjusting the length of the adjustable bracket according to a first distance and a second distance includes: determining the distance difference between the second distance and the first distance; and adjusting the length of the adjustable bracket according to the distance difference so that the adjusted distance difference is within a preset safety range. The preset safety range is a pre-defined interval range based on the requirement that the protective space can isolate the water outlet from the outside when closed, and that the water outlet can output purified water to the outside when open.

[0050] In the above embodiments, the distance between the outlet protection device and the outlet can be changed by adjusting the length of the adjustable bracket, ensuring that the outlet is reliably within the protection space. This allows for compatibility with the outlets of different types of water purification equipment, ensuring that the protection space effectively isolates the outlet when closed and outputs purified water normally when open. It prevents protection failure, outlet contamination, dust, insects, and bacteria intrusion, or accidental water discharge due to the outlet not being within the protection space, thus improving user convenience. Furthermore, the adjustable bracket, base, and water tray can be adjusted without affecting the normal water collection of the water tray, enhancing the versatility and assembly stability of the detachable protection device.

[0051] In one embodiment, the outlet protection device further includes a first signal device, and a second signal device is disposed in the base and aligned with the first signal device; controlling the protection space to be in a desired state according to the communication connection status includes: if the communication connection status indicates an abnormal communication connection, and if the desired state is an open state, outputting an open control prompt message for the protection space, so that if the processor detects the open control prompt message and determines, based on the first and second signal devices, that the water container is in the water receiving area of ​​the water receiving tray, it can control the outlet protection device to make the protection space open.

[0052] In an optional embodiment, the detachable protective device further includes a buzzer and an indicator light. The method further includes: when it is determined that the water container is in the water-receiving area of ​​the drip tray, controlling the indicator light to display a first color, such as green or another color, from the processor; when it is determined that the water container is not in the water-receiving area of ​​the drip tray, controlling the indicator light to flash in a second color and controlling the buzzer to sound intermittently. The second color is different from the first color, for example, red or another color.

[0053] In an optional embodiment, the method further includes: acquiring a water outage warning message output from the processor; wherein the water outage warning message is a warning message generated by the processor when it determines, based on a first signal device and a second signal device, that there is no water container on the water receiving tray; and controlling the water outlet to stop outputting purified water based on the water outage warning message. Specifically, after outputting the water outage warning message and at a preset reference time interval, the processor controls the water outlet protection device to keep the protective space closed.

[0054] In an optional embodiment, the method further includes: sending a first detection command from the processor to a first signal device and a second detection command to a second signal device; acquiring detection data corresponding to the first detection command and the second detection command; and, if it is determined from the detection data that the water container is in the water receiving area of ​​the water receiving tray, controlling the outlet protection device to keep the protection space in an open state.

[0055] The infrared light path between the first signal device and the second signal device passes through the water-receiving area of ​​the pre-set water-receiving tray. The infrared light path refers to the spatial path formed between the first signal device and the second signal device for the propagation of infrared signals, and the frequency of the infrared signals can be 38 kHz or other values.

[0056] In an optional embodiment, the location of the first signal device in the outlet protection device and the location of the second signal device in the base can be determined according to the width and diameter range of a common cup body, so that the infrared light path can be blocked when the water container is placed in the water receiving area of ​​the water receiving tray.

[0057] In an optional embodiment, the first signal device and the second signal device can be connected to the general purpose input / output (GPIO) port of the processor via pull-up resistors. Therefore, using GPIO ports in conjunction with pull-up resistors to achieve signal interaction can avoid the indeterminate level, false triggering, or false judgment caused by floating GPIO ports, thus improving the anti-interference capability and reliability of infrared detection.

[0058] The contents of the first and second detection instructions are related to the types of the first and second signal devices. For example, if the first signal device is an infrared emitter and the second signal device is an infrared receiver, the first detection instruction instructs the first signal device to emit an infrared signal, and the second detection instruction instructs the second signal device to receive the infrared signal emitted by the first signal device. Thus, the processor can obtain detection data from the second signal device. Similarly, if the first signal device is an infrared receiver and the second signal device is an infrared emitter, the second detection instruction instructs the second signal device to emit an infrared signal, and the first detection instruction instructs the first signal device to receive the infrared signal emitted by the second signal device. Thus, the processor can obtain detection data from the first signal device.

[0059] The detection data is used to characterize whether the infrared signal between the first and second signal devices is blocked by the water container, and the degree of blocking, thereby characterizing whether the water container is within the water receiving area of ​​the water receiving tray. The water receiving area of ​​the water receiving tray refers to the effective area on the water receiving tray used to place the water container and receive the purified water output from the outlet.

[0060] In an optional embodiment, the number of both the first signal device and the second signal device is at least two. The method further includes: obtaining detection data corresponding to each group based on the first and second signal devices in each group; if the detection data from at least two groups indicates that the water container is in the water-receiving area of ​​the water tray, then controlling the outlet protection device to keep the protected space in the open state. If the detection data from one of the at least two groups indicates that the water container is not in the water-receiving area of ​​the water tray, then outputting a prompt message for the water container to remind the user that the water container is not correctly placed in the water-receiving area of ​​the water tray. For example, the water container may be offset, tilted, or misaligned.

[0061] Taking an example where there are two of each of the first and second signal devices, such as... Figure 2The diagram shows the installation location of a signal device. A first infrared emitting tube 21 and a second infrared emitting tube 23 are installed in the outlet protection device, and a first infrared receiving tube 22 and a second infrared receiving tube 24 are installed in the protective base (not shown). The processor can obtain a first set of detection data based on the first infrared emitting tube 21 and the first infrared receiving tube 22, and a second set of detection data based on the second infrared emitting tube 23 and the second infrared receiving tube 24. Specifically, Figure 2 (a) This indicates that the water container 25 is in the water receiving area of ​​the water receiving tray (not shown in the figure), that is, both sets of test data indicate that the water container 25 is in the water receiving area of ​​the water receiving tray. Figure 2 (b) This indicates that the water container 25 is not in the water receiving area of ​​the water receiving tray, meaning that one set of the two sets of detection data indicates that the water container 25 is not in the water receiving area of ​​the water receiving tray. Therefore, by cross-detecting the two sets of detection data, misjudgments caused by false detection of a single signal, incomplete shielding, or container misalignment can be avoided, improving the accuracy and reliability of the water container positioning detection, preventing accidental opening of the protective space and accidental water discharge, and further improving the water discharge safety of the water purification equipment.

[0062] In an optional embodiment, the method further includes: if the desired state is a closed state, acquiring infrared status from a first signal device or a second signal device at a preset low-frequency cycle from the processor, so as to diagnose abnormalities such as sensor disconnection or continuous obstruction based on the infrared status. Alternatively, the processor sends infrared status to the main processor to indicate that there are foreign objects in the water receiving tray, the water container has not been removed, the sensor is continuously obstructed, or there is an abnormality in the water receiving area.

[0063] In the above embodiments, when a communication anomaly prevents the main processor and the slave processor from transmitting control commands normally, the main processor can still convey the intention to open by means of the open control prompt information, and the slave processor can locally complete the container detection and the opening and closing control of the protective space to realize the emergency opening of the protective space and safe water discharge. At the same time, with the open control prompt information and the water container in place as dual conditions, it can avoid accidental opening and accidental water discharge, prevent water leakage, splashing, scalding or equipment damage, and improve the fault tolerance and water discharge safety of the water purification equipment under communication anomaly conditions.

[0064] In one embodiment, the outlet protection device further includes a first signal device, and a second signal device aligned with the first signal device is disposed in the base. The first signal device, the second signal device, and the outlet protection device are all communicatively connected to the main processor. If the communication connection status indicates an abnormality, and the desired state is an open state, a third detection command is sent to the first signal device, and a fourth detection command is sent to the second signal device; detection data corresponding to the third and fourth detection commands is acquired; and if the detection data determines that the water container is in the water receiving area of ​​the water receiving tray, the outlet protection device is controlled to keep the protected space in an open state.

[0065] In one embodiment, an open button is displayed on the detachable protective device; the method further includes: if the desired state is an open state, then controlling the water outlet to output purified water to the outside when a water outlet prompt information is received from the detachable protective device.

[0066] The "open button" refers to a button used to control the protected space to be in an open state. In an optional embodiment, the detachable protective device includes an outlet protective device, on which an open button is provided. The water discharge prompt information is a prompt message generated by the processor upon receiving a trigger event for the open button, used to prompt the water purification device to control the outlet to output purified water to the outside. The processor, in response to the open button, controls the protected space to be in an open state. In an optional embodiment, the outlet protective device includes a voice module, and the method further includes: the processor outputting the water discharge prompt information through the voice module.

[0067] In the above embodiment, the main processor uses the water outlet prompt information output by the detachable protective device as the user's local confirmation signal and the "expected state is open state" as the system state verification condition. When both conditions are met, the main processor controls the water outlet to output purified water to the outside, realizing dual safe water outlet control of "user confirmation + state verification". This avoids accidental triggering, accidental opening and accidental water outlet, and improves the water outlet safety and operational reliability of the water purification equipment.

[0068] In one embodiment, the operating state includes a water supply state and a standby state; controlling the protected space to be in a desired state according to the communication connection state includes: if the communication connection state indicates that the communication connection is normal, and the desired state is an open state, then sending a first control command to the slave processor to cause the slave processor to control the outlet protection device based on the first control command, so that the protected space is in an open state; if the communication connection state indicates that the communication connection is normal, and the desired state is a closed state, then sending a second control command to the slave processor to cause the slave processor to control the outlet protection device based on the second control command, so that the protected space is in a closed state.

[0069] The first control command is used to instruct the protected space to switch from a closed state to an open state. The second control command is used to instruct the protected space to switch from an open state to a closed state.

[0070] In the above embodiments, the main processor is responsible for state judgment and instruction decision-making, while the slave processor is responsible for execution of drive and opening / closing control, forming a master-slave collaborative control architecture. This reduces the drive interface and computational burden of the main processor and improves the real-time performance, accuracy, and reliability of the protective space opening / closing control. At the same time, the expected state of the protective space can automatically match the water supply state and standby state. During water supply, it can receive water normally, and during standby, it can prevent dust, dirt, and insects. This effectively solves the problem of poor hygiene protection performance caused by long-term exposure of the water outlet, thereby improving the hygiene protection performance and ease of use of the water purification equipment.

[0071] In one embodiment, the detachable protective device further includes a first signal device, and a second signal device is disposed in the base and aligned with the first signal device; the method further includes: controlling the water outlet to output purified water upon receiving a first feedback signal from the processor for a first control command; wherein the first feedback signal is a command generated by the processor after determining, through the first signal device and the second signal device, that the water container is placed in the water receiving area of ​​the water receiving tray.

[0072] In an optional embodiment, the processor controls the first and second signal devices to continuously execute detection actions multiple times within a sampling period to obtain multiple detection data. Among the detection results corresponding to each of the multiple detection data, if at least M detection results indicate that the water container is placed in the water-receiving area of ​​the receiving tray, then it is determined that the water container is placed in the water-receiving area of ​​the receiving tray. Therefore, through multiple detections, slight shaking of the cup and electromagnetic interference can be suppressed, helping to improve the accuracy of the detection results.

[0073] The sampling period can be 10 milliseconds (ms), and the difference between the number of detections and M is less than or equal to a preset value, which is less than or equal to 4. For example, if at least 26 out of 30 detection results indicate that the water container is placed in the water receiving area of ​​the water receiving tray, then it is determined that the water container is placed in the water receiving area of ​​the water receiving tray.

[0074] In an optional embodiment, upon receiving a first feedback signal from the processor in response to the first control command, controlling the outlet to output purified water includes: upon receiving a first feedback signal from the processor in response to the first control command, controlling the outlet to output purified water according to the operating mode of the water purification device.

[0075] The operating mode of the water purification equipment refers to the mode selected by the user. For example, the ambient temperature mode controls the ambient temperature valve to output purified water from the outlet; the hot water mode first completes heating and temperature confirmation before controlling the hot water valve to output purified water from the outlet; the quantitative mode stops outputting purified water from the outlet after the flow meter pulse or timer reaches the set amount. During water output, the processor continuously reads the infrared status for multiple sampling cycles; if the infrared status read for multiple consecutive sampling cycles indicates that the infrared light path has resumed conduction, it means that the water container has been moved or significantly deviated. The processor feeds back a signal to the main processor, which immediately shuts off the water pump and solenoid valve to stop the outlet from outputting purified water. After the main processor closes the outlet, it delays for a second preset time and then sends a corresponding instruction to the slave processor. The slave processor then enters the lid-closing step, that is, the slave processor controls the outlet protection device to keep the protective space closed.

[0076] In an optional embodiment, the method further includes: when controlling the outlet to output purified water, acquiring a stop output command fed back from the slave processor; controlling the outlet to stop outputting purified water to the outside according to the stop output command, and sending a sealing command to the slave processor after a second preset time period to prompt the slave processor to control the outlet protection device to keep the protection space closed. The stop output command is generated by the slave processor when it determines that the water container has been moved or moved away from the water receiving area. The slave processor can determine whether the water container has been moved or moved away from the water receiving area based on a first signal device and a second signal device.

[0077] In the above embodiments, by forming an interlocked control link of "main processor decision - slave processor execution to open the protective space - slave processor local detection of container - feedback confirmation - main processor control of water output", water leakage, splashing and scalding caused by water outlet accidental discharge when the water container is not placed, offset, tilted or misaligned are avoided, thereby improving the water output safety and operational reliability of the water purification equipment.

[0078] In one embodiment, the method further includes: if no first feedback signal from the processor for the first control command is received within a first preset time period, outputting a prompt message for the water container. Thus, by outputting a prompt message for the water container, accidental water discharge can be avoided if the water container is not in place or the detection result is not confirmed, preventing leaks, splashes, and scalding, thereby improving the water discharge safety and operational reliability of the water purification equipment.

[0079] In one embodiment, the outlet protection device further includes a protective cover, a first limit switch, and a second limit switch; controlling the protected space to be in a desired state according to the communication connection status includes: when the desired state is a closed state, controlling the protective cover to contact the first limit switch according to the communication connection status; when the desired state is an open state, controlling the protective cover to contact the second limit switch according to the communication connection status.

[0080] The protective cover can be a single sliding cover, a double-opening cover, a flip cover, a rotating sleeve, or other types of protective devices, as long as it can isolate the water outlet from the outside when it is in contact with the first limit switch and allow the water outlet to output clean water when it is in contact with the second limit switch.

[0081] It is understandable that when the protective cover is in contact with the first limit switch, the protective space is in a closed state; when the protective cover is in contact with the second limit switch, the protective space is in an open state. In other words, the protective cover can achieve both physical closure and opening of the protective space.

[0082] In an optional embodiment, controlling the protective cover to contact the first limit switch according to the communication connection status includes: when the communication connection status indicates that the communication connection is normal, sending a closing instruction to the slave processor so that the slave processor controls the protective cover to contact the first limit switch according to the closing instruction.

[0083] In an optional embodiment, controlling the protective cover to contact the first limit switch based on the communication connection status includes: when the communication connection status indicates an abnormality, outputting a closing command so that the slave processor, upon detecting the closing command, controls the protective cover to contact the first limit switch. Thus, even when the communication connection is abnormal, the master processor can still output a closing command to prompt the slave processor to locally execute cover closure control, improving the reliability of the detachable protective device.

[0084] In an optional embodiment, controlling the protective cover to contact the second limit switch according to the communication connection status includes: when the communication connection status indicates that the communication connection is normal, sending an opening command to the slave processor so that the slave processor controls the protective cover to contact the second limit switch according to the opening command.

[0085] In some embodiments, the method further includes: upon receiving a second feedback signal from the processor for an instruction to open the lid, controlling the water outlet to output purified water. The second feedback signal is an instruction generated by the processor upon detecting contact between the protective cover and the second limit switch within a first set time period.

[0086] In some embodiments, the method further includes: if no second feedback signal from the processor for the cover opening command is received, recording a fault code by the main processor and outputting a first maintenance prompt to indicate maintenance of the protective cover, the first limit switch, and the second limit switch. Alternatively, if the processor detects contact between the protective cover and the second limit switch within a first set time period, recording a fault code and outputting the first maintenance prompt.

[0087] In an optional embodiment, controlling the protective cover to contact the second limit switch based on the communication connection status includes: when the communication connection status indicates an abnormality, outputting an open cover command, so that the slave processor, upon detecting the open cover command, controls the protective cover to contact the second limit switch. Thus, even when the communication connection is abnormal, the main processor can still output an open cover command to prompt the slave processor to locally execute cover opening control, improving the protective reliability of the detachable protective device.

[0088] In an optional embodiment, the outlet protection device further includes a motor and a drive circuit for driving the motor. Specifically, the main processor or the slave processor sends a control signal to the drive circuit, causing the drive circuit to drive the motor to rotate in both directions, thereby causing the protective cover to contact the first limit switch or the second limit switch.

[0089] In an optional embodiment, the method further includes: when the main controller controls the outlet to output purified water, if at least one of the following conditions is met: the amount of purified water in the water container reaches a quantitative value; the water container is outside the water receiving area; any water outlet button is triggered again; then the main controller controls the outlet to stop outputting purified water to the outside and sends a closing instruction to the slave processor, so that the slave processor controls the protective cover to contact the first limit switch, so that the protective space is in a closed state.

[0090] In some embodiments, the method further includes: if the processor does not detect contact between the protective cover and the first limit switch within a second set time period, controlling the motor to stop, recording a fault code, and outputting a second maintenance prompt to prompt maintenance of at least one of the motor, the protective cover, and the first limit switch. This avoids motor stalling and ensures that the outlet is preferentially shielded when the device is not discharging water.

[0091] In an optional embodiment, the outlet protection device further includes an adapter interface. Specifically, the adapter provides power through the adapter interface, which is connected to the DC bus after being protected against direct current (DC) input (short circuit / surge). One path of the DC bus is converted from DC to DC voltage to power the processor, and the other path of the DC bus powers the drive circuit. The processor sends control signals to the drive circuit to drive the motor in both forward and reverse directions, thereby causing the protective cover to contact the first limit switch or the second limit switch.

[0092] In an optional embodiment, the outlet protection device further includes a communication interface. The method also includes: the main processor communicating with the slave processor via the communication interface.

[0093] In the above embodiments, by setting a first limit switch or a second limit switch to contact the protective cover, the protective space can be reliably switched to the corresponding desired state, avoiding situations where the cover is not closed, not fully open, or stuck, thereby improving the accuracy and reliability of the detachable protective device in controlling the state of the protective space.

[0094] Taking an infrared transmitter as the first signal device and an infrared receiver as the second signal device as an example, such as Figure 3 The diagram illustrates the internal workings of a water outlet protection device. The adapter provides a 24V power supply, which, after DC input protection, is connected to a 24V DC bus. One path of the 24V DC bus is stepped down (24V / 5V) via a DC-DC converter to provide 5V power to the slave processor, eliminating the need to draw power from the water purification equipment. The other path of the 24V DC bus powers a 24V drive circuit. The slave processor interacts with the master processor via a communication interface. Based on a first or second control command from the master processor, the slave processor sends control signals to the 24V drive circuit, which drives a 24V DC motor to rotate forward or reverse, thereby moving the protective cover. This causes the cover to contact either the first or second limit switch, thus closing or opening the protected space. Furthermore, the slave processor communicates with infrared emitters and receivers, allowing it to send corresponding detection commands to determine whether the water container is placed in the receiving area of ​​the water tray. Furthermore, the processor is also communicatively connected to the first and second limit switches to obtain the limit signals generated when the first or second limit switch is triggered, and determines whether the protective cover has exceeded the opening or closing time limit based on the limit signals. Therefore, this application, through a dustproof cover, infrared container detection, and communication interface, can achieve dust prevention at the water outlet, container positioning confirmation, and water discharge permission control.

[0095] In one embodiment, this application provides a water purification device. The water purification device includes a water outlet and a main processor, and is equipped with a detachable protective device. The detachable protective device includes a main processor and a protective space for accommodating the water outlet. Specifically, the main processor is used to execute the steps in the above-described method embodiments; wherein the water outlet is isolated from the outside when the protective space is closed, and outputs purified water to the outside when the protective space is open.

[0096] For example, the main processor is used to: acquire the operating status of the water purification device and the communication connection status between the main processor and the slave processor; determine the desired state of the protective space based on the operating status; and control the protective space to be in the desired state according to the communication connection status; wherein the desired state includes a closed state and an open state.

[0097] For example, the main processor is configured to: obtain adjustment instructions for the adjustable bracket; and output adjustment instructions so that the slave processor, upon obtaining the adjustment instructions, adjusts the bracket length of the adjustable bracket to adjust the distance between the outlet protection device and the outlet, so that the outlet is within the protection space.

[0098] For example, the detachable protective device displays an open button; specifically, the outlet protective device is equipped with an open button. The main processor is used to: upon receiving water outlet prompt information output by the detachable protective device, if the desired state is an open state, control the outlet to output purified water to the outside; wherein, the water outlet prompt information is a prompt information generated by the processor upon receiving a trigger event for the open button.

[0099] For example, the main processor is configured to: when the communication connection status indicates that the communication connection is normal, if the desired state is an open state, send a first control command to the slave processor so that the slave processor controls the outlet protection device based on the first control command so that the protection space is in an open state; when the communication connection status indicates that the communication connection is normal, if the desired state is a closed state, send a second control command to the slave processor so that the slave processor controls the outlet protection device based on the second control command so that the protection space is in a closed state.

[0100] For example, the outlet protection device further includes a first signal device, and a second signal device is disposed in the base and aligned with the first signal device. The main processor is used to: control the outlet to output purified water upon receiving a first feedback signal from the slave processor in response to a first control command; wherein the first feedback signal is a command generated by the slave processor after determining, through the first and second signal devices, that the water container is placed in the water receiving area of ​​the water receiving tray.

[0101] For example, the main processor is configured to: output a prompt message for the water container if it does not receive a first feedback signal from the processor for the first control command within a first preset time period.

[0102] For example, the main processor is configured to: control the protective cover to contact the first limit switch according to the communication connection state when the desired state is closed; and control the protective cover to contact the second limit switch according to the communication connection state when the desired state is open.

[0103] like Figure 6 As shown, a device control method is provided, taking the main processor applied in a water purification device as an example for illustration, including the following steps:

[0104] S602, acquire the operating status of the water purification equipment and the communication connection status between the main processor in the water purification equipment and the slave processor in the detachable protective device; the water purification equipment is equipped with a detachable protective device.

[0105] S604, based on the communication connection status, controls the protective space in the detachable protective device to be in a desired state; wherein, the desired state includes a closed state and an open state; the water outlet is isolated from the outside when the protective space is in the closed state, and outputs clean water to the outside when the protective space is in the open state.

[0106] In the above embodiments, by assembling a detachable protective device on the water purification equipment, a detachable, separate assembly relationship is formed between the water purification equipment and the detachable protective device, rather than a one-piece molded or inseparable integrated structure. This facilitates rapid deployment and flexible configuration for different water purification equipment. By forming a protective space within the detachable protective device to accommodate the water outlet, and controlling the protective space to be in a desired state corresponding to the operating state of the water purification equipment based on the communication connection status between the main processor and the slave processor, the system allows the water outlet to be connected to the outside when the desired state is open, enabling the output of purified water to meet the user's normal water access needs. Conversely, when the desired state is closed, the water outlet is isolated from the outside, preventing dust, insects, bacteria, oil, and other contaminants from contacting the water outlet, reducing the risk of contamination. This solves the problem of poor hygiene protection performance caused by long-term exposure of the water outlet, thus improving the hygiene protection performance of the water purification equipment. Therefore, the equipment control method provided in this application not only solves the problem of poor sanitary protection performance caused by long-term exposure of the water outlet, but also realizes intelligent coordination between water outlet protection and normal water supply, thereby improving the ease of use of the water purification equipment.

[0107] The specific details of S602-S604 can be found in the aforementioned description and will not be repeated here.

[0108] In one embodiment, this application provides a detachable protective device. The detachable protective device is mounted on a water purification device, the water purification device including a water outlet, and the detachable protective device including a protective space for accommodating the water outlet; the water outlet is isolated from the outside when the protective space is closed, and the water outlet outputs purified water to the outside when the protective space is open.

[0109] In one embodiment, the water purification device further includes a water receiving tray; the detachable protective device further includes an outlet protective device, an adjustable bracket, and a base; the outlet protective device includes a protective space, the outlet protective device is fixedly connected to the first end of the adjustable bracket, the second end of the adjustable bracket is fixedly connected to the water receiving tray through the base, the base is located above the water receiving tray, and the base includes a mating hole corresponding to the water receiving hole on the water receiving tray.

[0110] In one embodiment, the outlet protection device further includes a first signal device, and a second signal device is disposed in the base and aligned with the first signal device.

[0111] In one embodiment, the outlet protection device further includes a protective cover, a first limit switch, and a second limit switch; the protective cover contacts the first limit switch when the protection space is in a closed state; and the protective cover contacts the second limit switch when the protection space is in an open state.

[0112] In one embodiment, the outlet protection device further includes a motor; the motor is used to drive the protective cover to contact the first limit switch; or, to drive the protective cover to contact the second limit switch.

[0113] In summary, such as Figure 4 The diagram shows a detachable protective device. The detachable protective device 20 can be mounted on the water purification device 10 via a first adjustable clamping seat 441 and a second adjustable clamping seat 442. Figure 5 As shown, a front and side view of an adjustable clamping seat in the open state is provided.

[0114] Specifically, the detachable protective device 20 includes: a processor (not shown in the figure), an outlet protective device 30, an adjustable bracket 203, and a base 204. The outlet protective device 30 includes: a protective space 202, a motor 40, a protective cover 41, a first limit switch 42, a second limit switch 43, a communication interface 45, an adapter interface 46, a first infrared emitting tube 21, and a second infrared emitting tube 23. The base 204 contains a first infrared receiving tube 22 and a second infrared receiving tube 24. The processor interacts with the main processor in the water purification device 10 via the communication interface 45. The processor is also electrically connected to the adapter via the adapter interface 46 to receive power from the adapter. The outlet protective device 30 is fixedly connected to the first end of the adjustable bracket 203, and the second end of the adjustable bracket is fixedly connected to the water receiving tray (not shown in the figure) in the water purification device via the base 204. The base 204 is located above the water receiving tray and includes mating holes (not shown in the figure) corresponding to the water receiving holes on the water receiving tray.

[0115] Specifically, under normal communication conditions between the main processor and the slave processor, the slave processor, based on the first control command sent by the main processor and after determining that the water container is in the water receiving area of ​​the water receiving tray based on the first infrared emitting tube 21 and the second infrared emitting tube 23, the first infrared receiving tube 22 and the second infrared receiving tube 24, drives the protective cover 41 to contact the second limit switch 43 via the motor 40, so that the protective space 202 is in an open state, thereby allowing the water outlet in the protective space 202 to output clean water to the water container. Similarly, based on the second control command sent by the main processor, the slave processor drives the protective cover 41 to contact the first limit switch 42 via the motor 40, so that the protective space 202 is in a closed state, thereby isolating the water outlet from the outside. Therefore, the detachable protective device provided in this application can reliably switch between open and closed states without changing the main structure of the water purification equipment. In the open state, the outlet is allowed to output purified water to the outside normally, and in the closed state, the outlet is isolated from the outside, preventing dust, flying insects, bacteria, oil and other pollutants from contacting the outlet, thus improving the sanitary protection performance of the water purification equipment.

[0116] In summary, this application transforms the outlet protection function from a built-in structure of the water purification equipment into a detachable protection device that can be installed independently, powered independently, and moved across equipment. By using adjustable clamps and adjustable brackets to adapt to different water purification equipment, it can reduce the amount of modification required for existing equipment. Installation and disassembly do not require disassembling the machine to draw power, which facilitates after-sales installation, temporary use, and reuse between different equipment.

[0117] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0118] Based on the same inventive concept, this application also provides a device control apparatus for implementing the device control method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more device control apparatus embodiments provided below can be found in the limitations of the device control method described above, and will not be repeated here.

[0119] In one exemplary embodiment, such as Figure 7 As shown, a device control apparatus is provided, including: an acquisition module 702 and a control module 704, wherein: the acquisition module 702 is used to acquire the operating status of the water purification device and the communication connection status between the main processor in the water purification device and the slave processor in the detachable protective device; the water purification device is equipped with a detachable protective device; the control module 704 is used to control the protective space in the detachable protective device to be in a desired state according to the communication connection status; wherein the desired state includes a closed state and an open state; the water outlet is isolated from the outside when the protective space is in the closed state, and outputs purified water to the outside when the protective space is in the open state; the control module 704... 4. It is also used for: acquiring adjustment instructions for the adjustable bracket; outputting adjustment instructions so that, upon receiving the adjustment instructions, the processor adjusts the length of the adjustable bracket to adjust the distance between the outlet protection device and the outlet, so that the outlet is within the protection space; wherein, the water purification equipment also includes a water receiving tray; the detachable protection device also includes an outlet protection device, an adjustable bracket, and a base; the outlet protection device includes a protection space, the outlet protection device is fixedly connected to the first end of the adjustable bracket, the second end of the adjustable bracket is fixedly connected to the water receiving tray through the base, the base is located above the water receiving tray, and the base includes mating holes corresponding to the water receiving holes on the water receiving tray.

[0120] In one embodiment, the outlet protection device further includes a first signal device, and a second signal device is disposed in the base and aligned with the first signal device; the control module 704 is further configured to: when the communication connection status indicates an abnormal communication connection, if the desired state is an open state, output an open control prompt message for the protected space, so that when the slave processor detects the open control prompt message, if it determines that the water container is in the water receiving area of ​​the water receiving tray based on the first signal device and the second signal device, it can control the outlet protection device to make the protected space open.

[0121] In one embodiment, the detachable protective device displays an open button, and the control module 704 is further configured to: upon receiving water outlet prompt information output by the detachable protective device, if the desired state is an open state, control the water outlet to output purified water to the outside; wherein, the water outlet prompt information is a prompt information generated by the processor upon receiving a trigger event for the open button.

[0122] In one embodiment, the control module 704 is further configured to: when the communication connection status indicates that the communication connection is normal, if the desired state is an open state, send a first control command to the slave processor so that the slave processor controls the outlet protection device based on the first control command so that the protection space is in an open state; when the communication connection status indicates that the communication connection is normal, if the desired state is a closed state, send a second control command to the slave processor so that the slave processor controls the outlet protection device based on the second control command so that the protection space is in a closed state.

[0123] In one embodiment, the outlet protection device further includes a first signal device, and a second signal device aligned with the first signal device is disposed in the base. The control module 704 is further configured to: control the outlet to output purified water upon receiving a first feedback signal from the processor in response to a first control command; wherein the first feedback signal is a command generated by the processor after determining, through the first and second signal devices, that the water container is placed in the water receiving area of ​​the water receiving tray.

[0124] In one embodiment, the control module 704 is further configured to: output a prompt message for the water container if no first feedback signal from the processor for the first control command is received within a first preset time period.

[0125] In one embodiment, the control module 704 is further configured to: control the protective cover to contact the first limit switch according to the communication connection status when the desired state is a closed state; and control the protective cover to contact the second limit switch according to the communication connection status when the desired state is an open state.

[0126] Each module in the aforementioned equipment control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the water purification equipment in hardware form or independent of it, or stored in the memory of the water purification equipment in software form, so that the processor can call and execute the corresponding operations of each module.

[0127] In one exemplary embodiment, a water purification device is provided, including a memory and a main processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0128] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0129] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0130] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0131] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0132] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0133] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A device control method, characterized in that, A main processor is used in a water purification device, the water purification device further includes a water outlet, and the water purification device is equipped with a removable protective device; the removable protective device includes a slave processor and a protective space for accommodating the water outlet; the method includes: The system acquires the operating status of the water purification device and the communication connection status between the main processor and the slave processor. Based on the operating status, determine the desired state of the protected space; Based on the communication connection status, the protective space is controlled to be in the desired state; wherein, the desired state includes a closed state and an open state; the water outlet is isolated from the outside when the protective space is in the closed state, and the water outlet outputs clean water to the outside when the protective space is in the open state; The water purification equipment further includes a water receiving tray; the detachable protective device further includes an outlet protective device, an adjustable bracket, and a base; the outlet protective device includes the protective space, the outlet protective device is fixedly connected to the first end of the adjustable bracket, the second end of the adjustable bracket is fixedly connected to the water receiving tray through the base, the base is located above the water receiving tray, and the base includes a mating hole corresponding to the water receiving hole on the water receiving tray; the method further includes: Obtain adjustment instructions for the adjustable bracket; The adjustment command is output so that, upon receiving the adjustment command, the slave processor adjusts the length of the adjustable bracket to adjust the distance between the outlet protection device and the outlet, thereby placing the outlet within the protection space.

2. The method according to claim 1, characterized in that, The outlet protection device also includes a first signal device, and the base is provided with a second signal device that is aligned with the first signal device. The step of controlling the protected space to be in the desired state according to the communication connection state includes: When the communication connection status indicates an abnormal communication connection, if the desired state is an open state, an open control prompt message for the protected space is output. This allows the slave processor, upon detecting the open control prompt message, to determine, based on the first and second signal devices, that the water container is in the water receiving area of ​​the water receiving tray. In this case, the processor controls the outlet protection device to ensure that the protected space is in the open state.

3. The method according to claim 1, characterized in that, The detachable protective device has an activation button; the method further includes: If the desired state is an open state, and the desired state is a water outlet, the outlet is controlled to output clean water to the outside when the water outlet is received by the detachable protective device. The water dispensing prompt information is a prompt information generated by the processor upon receiving a trigger event for the power button.

4. The method according to claim 1, characterized in that, The operating state includes a water supply state and a standby state; controlling the protected space to be in the desired state according to the communication connection state includes: When the communication connection status indicates that the communication connection is normal, if the desired state is an open state, a first control command is sent to the slave processor so that the slave processor controls the outlet protection device based on the first control command so that the protection space is in the open state. If the communication connection status indicates that the communication connection is normal, and the desired state is a closed state, then a second control command is sent to the slave processor so that the slave processor controls the outlet protection device based on the second control command so that the protection space is in the closed state.

5. The method according to claim 4, characterized in that, The outlet protection device further includes a first signal device, and the base is provided with a second signal device aligned with the first signal device; the method further includes: Upon receiving a first feedback signal from the slave processor in response to the first control command, the slave processor controls the outlet to output purified water. The first feedback signal is a command generated by the slave processor after determining, through the first signal device and the second signal device, that the water container is placed in the water receiving area of ​​the water receiving tray.

6. The method according to claim 5, characterized in that, The method further includes: If no first feedback signal is received from the processor in response to the first control command within a first preset time period, a prompt message is output for the water container.

7. The method according to any one of claims 1 to 6, characterized in that, The outlet protection device further includes a protective cover, a first limit switch, and a second limit switch; controlling the protective space to be in the desired state according to the communication connection status includes: When the desired state is a closed state, the protective cover is controlled to contact the first limit switch according to the communication connection state. When the desired state is open, the protective cover is controlled to contact the second limit switch according to the communication connection state.

8. A water purification device, characterized in that, The water purification device includes a water outlet and a main processor, and the water purification device is equipped with a detachable protective device, which includes a secondary processor and a protective space for accommodating the water outlet. The main processor is used to execute the steps of the method according to any one of claims 1 to 7; wherein the water outlet is isolated from the outside when the protective space is in a closed state, and the water outlet outputs clean water to the outside when the protective space is in an open state.

9. A detachable protective device, characterized in that, The detachable protective device is mounted on a water purification device, which includes a water outlet. The detachable protective device includes a protective space for accommodating the water outlet. When the protective space is closed, the water outlet is isolated from the outside. When the protective space is open, the water outlet outputs purified water to the outside.

10. The detachable protective device according to claim 9, characterized in that, The water purification equipment also includes a water receiving tray; the detachable protective device also includes an outlet protective device, an adjustable bracket, and a base; the outlet protective device includes the protective space, the outlet protective device is fixedly connected to the first end of the adjustable bracket, the second end of the adjustable bracket is fixedly connected to the water receiving tray through the base, the base is located above the water receiving tray, and the base includes a mating hole corresponding to the water receiving hole on the water receiving tray.

11. The detachable protective device according to claim 10, characterized in that, The outlet protection device also includes a first signal device, and a second signal device is provided in the base and aligned with the first signal device.

12. The detachable protective device according to claim 10 or 11, characterized in that, The outlet protection device also includes a protective cover, a first limit switch, and a second limit switch; the protective cover contacts the first limit switch when the protective space is in a closed state; the protective cover contacts the second limit switch when the protective space is in an open state.

13. The detachable protective device according to claim 12, characterized in that, The outlet protection device also includes a motor; the motor is used to drive the protective cover to contact the first limit switch; or, drive the protective cover to contact the second limit switch.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.