Control method for water dispenser, water dispenser and computer storage medium

The distance and movement status of the drink purifier and the object are obtained through the ranging mechanism, and the operation of the drink purifier is intelligently controlled, which solves the problem of low intelligence of the existing drink purifier and improves control accuracy and safety.

WO2024199309A1PCT designated stage expired Publication Date: 2024-10-03WUHU MIDEA SMART KITCHEN APPLIANCE MFG CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/084215
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-28
Filing Date
2024-03-27
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

The existing water purifier water dispensing methods are less intelligent and difficult to distinguish the movement status of users and interference objects, resulting in misjudgment and insufficient control accuracy.

Method used

The distance and movement status between the object and the purifier are obtained through the ranging mechanism. Based on this information, the working status of the purifier is intelligently controlled, including starting, water dispensing and stopping water dispensing, and the movement characteristics of the user and interference objects are distinguished to improve accuracy. Spend.

Benefits of technology

It realizes the intelligent water intake of the drinking water machine, improves the accuracy of intelligent control, reduces misjudgments, especially the ability to deal with condensed water droplet interference, and enhances safety and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024084215_03102024_PF_FP_ABST
    Figure CN2024084215_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a control method for a water dispenser, a water dispenser and a computer storage medium. The control method comprises: acquiring a distance between an object and the water dispenser; determining a moving state of the object on the basis of the distance; and controlling the water dispenser to operate on the basis of the distance and the moving state. In this way, the present application can implement intelligent water intake of the water dispenser, and increase the intelligent control accuracy of the water dispenser.
Need to check novelty before this filing date? Find Prior Art

Description

Control method of water purifier, water purifier and computer storage medium

[0001] This application claims priority to Chinese patent application No. 202310319284X filed on March 28, 2023, entitled “Control method of water purifier, water purifier and computer storage medium”, which is incorporated herein by reference in its entirety.

Technical field

[0002] The present application relates to the technical field of water purifiers, and in particular to a control method for a water purifier, a water purifier, and a computer storage medium. [Background Technology]

[0003] With the improvement of people's living standards, drinking water has received more attention from users, and water purifiers have become one of the choices of users. However, the current water-taking method of water purifiers is mainly achieved through buttons, and the degree of intelligence is relatively low.

[0004] [Summary of the invention]

[0005] The present application provides a water purifier and a control method thereof, an electronic device and a computer storage medium, so as to realize intelligent water extraction of the water purifier and improve the accuracy of intelligent control of the water purifier.

[0006] To solve the above technical problems, this application adopts a technical solution: providing a control method for a water purifier. The control method includes: obtaining the distance between an object and the water purifier; determining the movement state of the object based on the distance; and controlling the operation of the water purifier based on the distance and the movement state.

[0007] Among them, the distance includes a first distance and a second distance, the moving state includes a first moving state, and the above-mentioned acquisition of the distance between the object and the water purifier includes: acquiring the first distance between the object and the water purifier; determining that the first distance is less than or equal to a first distance threshold; in response to the first distance being less than or equal to the first distance threshold, acquiring multiple second distances between the object and the water purifier at a first preset time interval; wherein the acquisition frequency of the second distance is greater than the acquisition frequency of the first distance; the above-mentioned determination of the moving state of the object based on the distance includes: determining the first moving state of the object based on multiple second distances.

[0008] Among them, the above-mentioned control of the water purifier based on distance and movement status includes: determining that multiple second distances decrease in sequence and the first movement state is variable speed movement; in response to the multiple second distances decreasing in sequence and the first movement state being variable speed movement, controlling the water purifier to start.

[0009] Among them, the distance also includes a third distance. The above-mentioned control of the water purifier based on distance and movement status also includes: after controlling the water purifier to start, continuing to obtain the third distance between the object and the water purifier; determining that the third distance is less than or equal to the second distance threshold; in response to the third distance being less than or equal to the second distance threshold, controlling the water purifier to discharge water; wherein, the first distance threshold is greater than the second distance threshold.

[0010] Among them, before the above-mentioned control of the water outlet of the water purifier, it also includes: determining that the water outlet temperature of the water purifier exceeds the temperature threshold; in response to the water outlet temperature of the water purifier exceeding the temperature threshold, generating an alarm message, and executing the above-mentioned step of controlling the water outlet of the water purifier after the alarm is lifted.

[0011] Among them, the above control method also includes: after controlling the water purifier to discharge water, obtaining the current water output; determining that the current water output is greater than or equal to the flow threshold; in response to the current water output being greater than or equal to the flow threshold, controlling the water purifier to stop discharging water.

[0012] Among them, the distance includes a fourth distance, the moving state includes a second moving state, and the above-mentioned acquisition of the distance between the object and the water purifier also includes: determining that the water output of the water purifier is less than the flow threshold; in response to the water output of the water purifier being less than the flow threshold, continuing to sequentially acquire the fourth distance between multiple objects and the water purifier at a second preset time interval; the above-mentioned determination of the moving state of the object based on the distance also includes: determining the second moving state of the object based on the fourth distance; the above-mentioned control of the operation of the water purifier based on the distance and the moving state also includes: controlling the water purifier to stop discharging water based on the fourth distance and the second moving state.

[0013] Among them, the above-mentioned control of the water purifier to stop discharging water based on the fourth distance and the second moving state includes: determining that multiple fourth distances increase in sequence, and the second moving state is variable speed movement; in response to if multiple fourth distances increase in sequence, and the second moving state is variable speed movement, controlling the water purifier to stop discharging water.

[0014] Among them, the above control method also includes: controlling the water purifier to standby after the water purifier stops discharging water for a preset period of time.

[0015] To solve the above technical problems, another technical solution adopted in this application is to provide a water purifier. The water purifier includes: a main body; a distance measuring mechanism disposed on a front panel of the main body for measuring the distance between an object and the water purifier; and a controller connected to the distance measuring mechanism and the main body for controlling the operation of the distance measuring mechanism and the main body based on the distance using the above control method.

[0016] To solve the above technical problem, another technical solution adopted by the present application is to provide a computer storage medium having program instructions stored thereon, which are executed by a processor to implement the above control method.

[0017] In order to solve the above technical problems, another technical solution adopted in this application is: providing a computer program, the computer program including instructions, when the instructions are executed by the information processing device, the information processing device executes the above control method.

[0018] The beneficial effects of this application are as follows: the control method for a water dispenser provided by this application can intelligently obtain the distance between an object and the water dispenser and the object's movement state, and intelligently control the water dispenser's operation based on the distance and movement state, thereby enabling intelligent water dispensing of the water dispenser; further, this application controls the water dispenser's operation based on the distance between the object and the water dispenser and the object's movement state. Because the user's movement state has human characteristics and differs from the movement state of interfering objects, this application can at least alleviate the problem of the water dispenser misjudging due to interfering objects such as condensed water droplets on the water dispenser. Therefore, this application can improve the accuracy of the intelligent control of the water dispenser.

Brief Description of the Drawings

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. Those skilled in the art can also derive other drawings based on these drawings without inventive work, among which:

[0020] FIG1 is a flow chart of an embodiment of a control method for a water purifier of the present application;

[0021] FIG2 is a schematic diagram of a specific flow chart of steps S11 and S12 in the embodiment of FIG1 ;

[0022] FIG3 is a schematic diagram of a specific process of step S13 in the embodiment of FIG1 ;

[0023] FIG4 is another specific flow chart of step S13 in the embodiment of FIG1 ;

[0024] FIG5 is another specific flow chart of step S13 in the embodiment of FIG1 ;

[0025] FIG6 is a flow chart of another embodiment of a control method for a water purifier according to the present invention;

[0026] FIG7 is a schematic structural diagram of an embodiment of a water purifier of the present application;

[0027] FIG8 is a flow chart of another embodiment of a control method for a water purifier according to the present application;

[0028] FIG9 is a schematic structural diagram of an embodiment of a water purifier system of the present application;

[0029] FIG10 is a schematic structural diagram of an embodiment of a computer storage medium of the present application. [Specific implementation method]

[0030] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0031] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indications will also change accordingly.

[0032] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0033] This application first proposes a control method for a water purifier, as shown in FIG1 , which is a flow chart of an embodiment of the control method for the water purifier of this application. The control method of this embodiment specifically includes the following steps:

[0034] Step S11: Obtain the distance between the object and the water purifier.

[0035] In one embodiment, the water dispenser collects the distance between an object and the water dispenser within its distance measurement area, such as the distance measurement area in front of the front panel of the water dispenser, to determine the movement state of the object based on the obtained multiple distances.

[0036] The object may be a user or an interference object. In subsequent steps, this embodiment may distinguish between users and interference objects based on their movement status to improve problems such as misjudgment of the water purifier.

[0037] In another embodiment, the distance includes a first distance and a second distance, and step S11 may also be implemented by the method shown in FIG. 2 . The method of this embodiment includes steps S20 to S22 .

[0038] Step S20: Obtain a first distance between the object and the water purifier.

[0039] The water dispenser obtains a first distance between the object and the water dispenser at intervals, and compares the obtained first distance with a first distance threshold to determine whether the object is close to the water dispenser.

[0040] The first distance threshold may be 1.2m, 1m, 0.8m, etc., without specific limitation.

[0041] Step S21: Determine whether the first distance is less than or equal to a first distance threshold.

[0042] Step S22: In response to the first distance being less than or equal to the first distance threshold, a plurality of second distances between the object and the water purifier are acquired at first preset time intervals; wherein the acquisition frequency of the second distances is greater than the acquisition frequency of the second distances.

[0043] The water purifier first obtains the first distance at a lower acquisition frequency, that is, a larger time interval. If the water purifier determines that the first distance between it and the object is less than or equal to the first distance threshold, it considers that the object is close to the water purifier. The water purifier then obtains the second distance between the object and the water purifier at a higher acquisition frequency, that is, a smaller time interval, to further determine the movement status of the object based on multiple second distances.

[0044] This embodiment first determines whether the object is close to the water purifier, and then determines the movement state of the object, which can reduce the calculation amount of the water purifier; and this embodiment obtains the first distance used to determine whether the object is close to the water purifier at a lower acquisition frequency, which can further reduce the calculation amount of the water purifier.

[0045] For example, when the first distance threshold is 1 m, three second distances may be acquired sequentially within a preset time period, such as 1 s, that is, the first preset time period is 1 / 3 s.

[0046] Step S12: Determine the movement state of the object based on the distance.

[0047] The user's movement state usually has human motion characteristics. For example, the speed of a person's movement, especially after seeing the target object, is usually not uniform in a short period of time. Interference objects, such as water droplets, are usually stationary along the line connecting the object and the water purifier. For example, the movement of indoor robots is uniform.

[0048] Optionally, the movement state of the object includes a first movement state. In this embodiment, step S12 can be implemented through step S23 in the method shown in FIG. 2 .

[0049] Step S23: determining a first movement state of the object based on the plurality of second distances.

[0050] The above steps S21 and S22 obtain multiple second distances of the object when the distance is close, so as to reduce the amount of calculation of the water purifier. Therefore, the first moving state of the object can be determined based on the multiple second distances.

[0051] For example, three second distances S1, S2, and S3 can be obtained in sequence within a preset time length T, and then (S1-S2) / T and (S2-S3) / T can be calculated respectively, that is, the first half movement speed and the second half movement speed of the object within the preset time length T are obtained. If the first half movement speed is inconsistent with the second half movement speed, that is, (S1-S2) / T is not equal to (S2-S3) / T, the water purifier determines that the first movement state of the object is variable speed movement; if (S1-S2) / T is equal to (S2-S3) / T, the water purifier determines that the first movement state of the object is uniform speed movement or stationary.

[0052] Step S13: Control the operation of the water purifier based on the distance and movement status.

[0053] In one embodiment, if the plurality of second distances decrease sequentially and the first moving state is variable speed movement, the water purifier is controlled to start.

[0054] If the multiple second distances decrease in sequence, it is confirmed that the object is moving close to the water purifier; if the first moving state is variable speed movement, it is determined that the object is a person, thereby determining that the user close to the water purifier has the intention to take water.

[0055] Specifically, after determining that the user near the water purifier has the intention to take water, the water purifier can be controlled to activate the system, wake up the display screen, etc., so that the water purifier is in working condition, which facilitates timely water collection operations.

[0056] This embodiment can realize the self-start of the water purifier based on the distance and movement status between the object and the water purifier. Since the user's movement status has human characteristics and is different from the movement status of the interference object, it can at least improve the problem of misjudgment of the water purifier caused by interference objects such as condensed water droplets on the water purifier, and can improve the accuracy of the intelligent control of the water purifier.

[0057] Furthermore, at night, the water purifier can also provide light guidance after it is started.

[0058] In another embodiment, step S13 may be implemented by the method shown in FIG. 3 . The method of this embodiment includes steps S30 to S34 .

[0059] Step S30: Determine that the plurality of second distances decrease in sequence, and the first moving state is speed-changing movement.

[0060] Step S31: In response to the plurality of second distances being reduced in sequence and the first moving state being the variable speed movement, the water purifier is controlled to start.

[0061] For detailed implementation, please refer to the above embodiments.

[0062] Step S32: After controlling the water purifier to start, continue to obtain a third distance between the object and the water purifier.

[0063] After being started, the water purifier continues to obtain a third distance between the object and the water purifier to control the water purifier to release water based on the third distance.

[0064] Step S33: Determine whether the third distance is less than or equal to the second distance threshold.

[0065] Step S34: In response to the third distance being less than or equal to the second distance threshold, controlling the water purifier to discharge water; wherein the first distance threshold is greater than the second distance threshold.

[0066] If the third distance is less than or equal to the second distance threshold, the water purifier is controlled to discharge water.

[0067] The second distance threshold can be half of the minimum distance between the user and the distance sensor on the water purifier. For example, if the distance sensor is located on the front panel of the water purifier and the water outlet is located in the middle of the water receiving box, the second distance threshold can be half of the depth of the water receiving box of the water purifier. It is understood that when the distance between the user and the distance sensor is at the minimum distance, the user cannot get closer to the water purifier. At this time, if the distance between the object and the water purifier is detected to be less than half of the minimum distance, it can be determined that the object is a cup, and the water purifier can be controlled to discharge water.

[0068] Of course, in other embodiments, the second distance threshold can be adaptively adjusted based on information such as the structure of the water purifier, the position of its water outlet, and the size of the water receiving box.

[0069] This embodiment determines that the object is a user based on the distance between the object and the water dispenser and the object's movement state. Once the user intends to draw water, the distance between the object and the dispenser is further detected to determine whether a cup has moved into the water receiving position. Once the cup has moved into the water receiving position, the dispenser is controlled to dispense water. This approach accurately identifies the user's intention to draw water and the cup being drawn, improving the intelligent control of the dispenser.

[0070] In one application scenario, when the display screen of the water purifier lights up, it continues to determine whether the distance between the object and the water purifier's sensor is less than 3 cm. If so, the water purifier regards it as a sensing cup body and automatically dispenses water of preset water volume and preset temperature.

[0071] In yet another embodiment, step S13 may be implemented by the method shown in FIG. 4 . The method of this embodiment includes steps S40 to S48 .

[0072] Step S40: determining that the plurality of second distances decrease sequentially and the first moving state is speed-variable movement.

[0073] Step S41: In response to the plurality of second distances being reduced in sequence and the first moving state being the variable speed movement, the water purifier is controlled to start.

[0074] For detailed implementation, please refer to the above embodiments.

[0075] Step S42: After controlling the water purifier to start, continue to obtain a third distance between the object and the water purifier.

[0076] For detailed implementation, please refer to the above embodiments.

[0077] Step S43: Determine whether the third distance is less than or equal to the second distance threshold.

[0078] Step S44: In response to the third distance being less than or equal to the second distance threshold, determining the outlet water temperature of the water purifier.

[0079] Step S45: Determine whether the outlet water temperature of the water purifier exceeds a temperature threshold.

[0080] Step S46: In response to the outlet water temperature of the water purifier exceeding the temperature threshold, an alarm message is generated, and the water purifier is controlled to discharge water after the alarm is cleared.

[0081] In order to reduce the safety hazards caused by children taking water, the water purifier can set a temperature threshold, that is, a safe temperature. When the water exceeds the safe temperature, the child lock on the water purifier will flash to remind you to unlock it. Only after unlocking will the water purifier automatically dispense water.

[0082] Step S47: Determine whether the outlet water temperature of the water purifier is lower than a temperature threshold.

[0083] Step S48: In response to the outlet water temperature of the water purifier being lower than a temperature threshold, controlling the water purifier to discharge water; wherein the first distance threshold is greater than the second distance threshold.

[0084] For detailed implementation, please refer to the above embodiments.

[0085] In this embodiment, when the outlet water temperature of the water purifier exceeds the safe temperature, an alarm message is prompted, and water is not dispensed until the alarm message is cleared, which can reduce the safety hazards caused by children taking water and improve the safety of the water purifier.

[0086] In yet another embodiment, step S13 may be implemented by the method shown in FIG. 5 . The method of this embodiment includes steps S50 to S57 .

[0087] Step S50: Determine that the plurality of second distances decrease in sequence, and the first moving state is speed-changing movement.

[0088] Step S51: In response to the plurality of second distances being reduced in sequence and the first moving state being the variable speed movement, the water purifier is controlled to start.

[0089] For detailed implementation, please refer to the above embodiments.

[0090] Step S52: After controlling the water purifier to start, continue to obtain a third distance between the object and the water purifier.

[0091] For detailed implementation, please refer to the above embodiments.

[0092] Step S53: Determine whether the third distance is less than or equal to the second distance threshold.

[0093] Step S54: In response to the third distance being less than or equal to the second distance threshold, controlling the water purifier to discharge water; wherein the first distance threshold is greater than the second distance threshold.

[0094] For detailed implementation, please refer to the above embodiments.

[0095] Step S55: Obtain the current water output.

[0096] The current water output of the water purifier can be obtained through a flow meter or other mechanism on the water purifier.

[0097] Step S56: Determine whether the current water output is greater than or equal to the flow threshold.

[0098] Step S57: In response to the current water output being greater than or equal to the flow threshold, the water purifier is controlled to stop outputting water.

[0099] If the current water output of the water purifier is greater than or equal to the flow threshold, that is, the preset water volume, the control stops the water output.

[0100] In this embodiment, the water output of the water purifier is monitored by a flow meter or other mechanism to improve the precise control of the water intake.

[0101] Among them, the traffic threshold can be set according to different needs.

[0102] Similar improvements can be made to other embodiments mentioned above.

[0103] The water purifier can store multiple users and multiple preset water temperatures, preset water volumes, etc. associated with the users. The water purifier can also identify the identity information of the user who is currently drawing water, and should automatically associate the corresponding preset water temperature and preset water volume to accurately control the user's water drawing.

[0104] In another embodiment, steps S11 to S13 can also be implemented using the method shown in FIG6 , wherein step S61 is used to implement step S11, step S62 is used to implement step S12, and step S63 is used to implement step S13. The above embodiments provide a control method for achieving automatic start-up and automatic water delivery of a water purifier based on distance and movement status, and a control method for achieving automatic water shutoff of a water purifier based on flow rate. The embodiment of FIG6 and its extended embodiments provide a control method for achieving automatic water shutoff of a water purifier based on distance and movement status.

[0105] It should be noted that the above-mentioned embodiment and the embodiment of FIG6 and its extended embodiment can be combined to form the control method of the self-starting and self-discharging water purifier of the present application.

[0106] Specifically, this embodiment includes the following steps:

[0107] Step S60: Determine whether the current water output is less than the flow threshold.

[0108] Step S61: In response to the water output of the water purifier being less than the flow threshold, fourth distances between the plurality of objects and the water purifier continue to be sequentially acquired at second preset time intervals.

[0109] During the water dispensing process of the water purifier, the fourth distance between the cup body and the water purifier is continuously acquired through the distance sensor to determine the movement state of the cup body based on the fourth distance.

[0110] Step S62: Determine a second movement state of the object based on the fourth distance.

[0111] The user's movement state usually has human motion characteristics. For example, the speed of a person's movement, especially after seeing the target object, is usually not uniform in a short period of time. Interference objects, such as water droplets, are usually stationary along the line connecting the object and the water purifier. For example, the movement of indoor robots is uniform.

[0112] For example, when the water purifier detects that the distance between it and the object is increasing, it can sequentially obtain three fourth distances S4, S5, and S6 within a preset time period T1, and then calculate (S5-S4) / T1 and (S6-S5) / T1, respectively, to obtain the object's first half movement speed and second half movement speed within the preset time period T1. If the first half movement speed is inconsistent with the second half movement speed, that is, (S5-S4) / T1 is not equal to (S6-S5) / T, the water purifier determines that the object's first movement state is variable speed movement.

[0113] Step S63: Based on the fourth distance and the second moving state, the water purifier is controlled to stop discharging water.

[0114] It is determined that multiple fourth distances increase in sequence and the second moving state is variable speed movement. In response to the multiple fourth distances increasing in sequence and the second moving state being variable speed movement, it is determined that the user takes the cup and the water purifier is controlled to stop discharging water.

[0115] Optionally, the water purifier is controlled to be in standby mode and the screen is turned off after the water purifier stops discharging water for a preset period of time.

[0116] The preset time length may be 3s, 4s, 5s, etc.; the preset time length T1 may be 250ms, 300ms, 350ms, etc.

[0117] This embodiment determines the user's cup-picking based on the distance between the object and the water dispenser and the moving state of the object. It can realize the automatic water stop of the water dispenser based on the distance between the object and the water dispenser and the moving state. It can at least improve the problem of misjudgment of the water dispenser caused by interference objects such as condensed water droplets on the water dispenser, and can improve the accuracy of the intelligent control of the water dispenser.

[0118] The present application further proposes a water purifier, as shown in Figure 7, which is a structural schematic diagram of an embodiment of the water purifier of the present application. The water purifier of this embodiment includes: a main body 71, a distance measuring mechanism 72 and a controller (not shown); wherein the distance measuring mechanism 72 is arranged on the front panel of the main body 71, for obtaining the distance between the object and the water purifier; the controller is connected to the distance measuring mechanism 72 and the main body 71, for controlling the operation of the distance measuring mechanism 72 and the main body 71 based on the control method of the above embodiment of the distance.

[0119] The controller may be provided in the body 71 ; the distance measuring mechanism 72 may be provided on the front panel 711 , and the distance measuring mechanism 72 may be an infrared TOF sensor.

[0120] In other embodiments, ultrasonic radar, microwave radar or other ranging mechanisms may be used instead of the infrared TOF sensor.

[0121] Furthermore, the main body 71 is also provided with a water outlet mechanism 73 and an operation panel 74, namely the above-mentioned touch screen, etc.

[0122] The controller controls the distance measuring mechanism 72 to obtain the distance between the object and the water purifier, that is, the distance between the object and the distance measuring mechanism 72, and determines the movement state of the object based on the distance, and then controls the water outlet mechanism 73 and the operation panel 74 based on the distance and the movement state. For the specific implementation method, please refer to the above embodiment.

[0123] The infrared TOF sensor includes an infrared transmitter 721 and a receiver 722 , and uses the flight time of light to measure the distance between the object and the infrared TOF sensor.

[0124] Further, a flow meter is provided on the main body 71 for obtaining the current water output of the current water outlet by the water outlet mechanism.

[0125] Further, the water purifier also includes a water receiving tray 75 for the user to collect the water dripped by the water outlet mechanism 73 and can also be used to place a cup body.

[0126] In an application scenario, as shown in FIG. 8, FIG. 8 is a schematic flowchart of another embodiment of the control method of the water purifier of the present application. The controller controls the infrared TOF sensor to continuously and intermittently detect the distance of the object in front of the water purifier. When it is determined that the user approaches the water purifier and the distance is less than or equal to the first distance threshold, for example, 50 cm, then within a preset time period T, for example, 1 s, three second distances S1, S2, and S3 are sequentially obtained; the controller further determines whether S1 > S2 > S3 and whether (S1 - S2) / T is equal to (S2 - S3) / T. If so, it is considered that the user approaches the water purifier. If not, an alarm is triggered to clear the interference based on the alarm; after it is determined that the user approaches the water purifier, the controller further controls the infrared TOF sensor to detect the distance of the object in front of the water purifier. If the distance is less than or equal to the second distance threshold, for example, 3 cm, the controller determines the water outlet temperature of the water outlet mechanism 73, and before the water outlet, the controller determines whether the water outlet temperature exceeds the safe temperature. If so, the controller controls the child lock to flash safely to remind, and after unlocking, controls the water outlet mechanism 73 to automatically discharge water with a preset water volume and a preset temperature; during the water outlet process, the current water output of the current water outlet of the water purifier can be obtained through mechanisms such as the flow meter on the water purifier, and when the current water output is equal to the preset water volume, the water outlet mechanism 73 is controlled to stop discharging water; and during the water outlet process, when it is detected that the distance between the water purifier and the object becomes larger, the infrared TOF sensor can be controlled to sequentially obtain three fourth distances S4, S5, and S6 within a preset time period T1, for example, 300 ms, and then calculate (S5 - S4) / T1 and (S6 - S5) / T1 respectively. The controller further determines whether S1 < S2 < S3 and whether (S5 - S4) / T1 is equal to (S6 - S5) / T1. If so, the controller determines that the user takes the cup and controls the water purifier to stop discharging water.

[0127] In another embodiment, as shown in Figure 9, the water purifier system of this embodiment includes a water purifier control system 81, an infrared TOF sensor 82, a purification system 83, a display interaction system 84, an IOT processing system 85, a cloud 86 and a user terminal 87; wherein, the water purifier control system 81 is connected to the infrared TOF sensor 82, the purification system 83, the display interaction system 84, and the IOT processing system 85 respectively, and the specific working principle of the water purifier control system 81 can refer to the controller of the above embodiment; the structure and working principle of the infrared TOF sensor 82 can refer to the above embodiment; the purification system 83 is used to purify water; the specific structure and working principle of the display interaction system 84 can refer to the operation panel 74 and display screen of the above embodiment; the cloud 86 is connected to the IOT processing system 85 and the user terminal 87, and the IOT processing system 85 is used to process and communicate with the OT processing system 85 and the cloud 86. The cloud 86 can be used to store information set by the user terminal 87 and information of the water purifier control system 81.

[0128] The present application further proposes a computer storage medium, as shown in FIG10 , which is a schematic structural diagram of an embodiment of the computer storage medium of the present application.

[0129] The computer storage medium 90 of the embodiment of the present application stores program instructions 91 therein, and the program instructions 91 are executed to implement the control method of the water purifier described above.

[0130] The program instructions 91 may be formed into a program file and stored in the aforementioned storage medium in the form of a software product, so that an electronic device (which may be a personal computer, server, or network device, etc.) or a processor executes all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., which can store program code, or a terminal device such as a computer, server, mobile phone, or tablet.

[0131] The computer storage medium 90 in this embodiment can be, but is not limited to, a USB flash drive, an SD card, a PD optical drive, a mobile hard drive, a large-capacity floppy drive, a flash memory, a multimedia memory card, a server, and the like.

[0132] In one embodiment, a computer program product or computer program is provided. The computer program product or computer program includes instructions. When the instructions are executed by an information processing device, the information processing device executes the steps in the above-mentioned method embodiments.

[0133] In addition, if the above functions are implemented as software functions and sold or used as independent products, they can be stored in a storage medium readable by a mobile terminal. That is, the present application also provides a storage device storing program data, which can be executed to implement the methods of the above embodiments. The storage device can be, for example, a USB flash drive, an optical disk, a server, etc. In other words, the present application can be embodied in the form of a software product, which includes a number of instructions for causing a smart terminal to execute all or part of the steps of the methods described in each embodiment.

[0134] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, mechanisms, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, mechanisms, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.

[0135] The control method for a water dispenser provided in this application can intelligently obtain the distance between an object and the dispenser and the object's movement state, and intelligently control the dispenser's operation based on this distance and movement state, thereby enabling intelligent water dispensing for the dispenser. Furthermore, this application controls the dispenser's operation based on the distance between the object and the dispenser and the object's movement state. Because the user's movement state has human characteristics and differs from the movement state of interfering objects, this method can at least alleviate the problem of the dispenser misjudging due to interfering objects such as condensed water droplets on the dispenser. Therefore, this application can improve the accuracy of the intelligent control of the dispenser.

[0136] This application can also provide light guidance when the user wants to drink water at night. At the same time, through continuous distance judgment and movement status judgment, it can improve the problem of users mistakenly triggering the screen to light up, and can improve the problem of sensor misjudgment caused by water droplets hanging on the wall.

[0137] The above is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A control method for a water purifier, wherein: include: Obtaining the distance between the object and the water purifier; determining a movement state of the object based on the distance; The operation of the water purifier is controlled based on the distance and the moving state.

2. The control method according to claim 1, wherein: The distance includes a first distance and a second distance, the moving state includes a first moving state, and the distance between the object and the water purifier is obtained, including: Acquire the first distance between the object and the water purifier; Determining that the first distance is less than or equal to a first distance threshold; In response to the first distance being less than or equal to the first distance threshold, acquiring a plurality of the second distances between the object and the water purifier at a first preset time interval; wherein the acquisition frequency of the second distances is greater than the acquisition frequency of the first distances; The determining the movement state of the object based on the distance comprises: The first movement state of the object is determined based on a plurality of the second distances.

3. The control method according to claim 2, wherein: The controlling the operation of the water purifier based on the distance and the moving state includes: Determining that the plurality of second distances decrease in sequence and the first moving state is variable speed movement; In response to the plurality of second distances being reduced in sequence and the first moving state being variable speed movement, the water purifier is controlled to start.

4. The control method according to claim 3, wherein: The distance further includes a third distance, and the controlling the operation of the water purifier based on the distance and the moving state further includes: After controlling the water purifier to start, continuing to obtain a third distance between the object and the water purifier; Determining that the third distance is less than or equal to a second distance threshold; In response to the third distance being less than or equal to the second distance threshold, controlling the water purifier to discharge water; The first distance threshold is greater than the second distance threshold.

5. The control method according to claim 4, wherein: Before controlling the water purifier to discharge water, the method further includes: Determining that the outlet water temperature of the water purifier exceeds a temperature threshold; In response to the outlet water temperature of the water purifier exceeding the temperature threshold, an alarm message is generated, and the step of controlling the water outlet of the water purifier is performed after the alarm is cleared.

6. The control method according to claim 4 or 5, wherein: Also includes: After controlling the water purifier to discharge water, obtaining the current water output; Determining that the current water output is greater than or equal to a flow threshold; In response to the current water output being greater than or equal to the flow threshold, the water purifier is controlled to stop discharging water.

7. The control method according to any one of claims 1 to 6, wherein: The distance includes a fourth distance, the moving state includes a second moving state, and the distance between the object and the water purifier is obtained, and further includes: Determining that the water output of the water purifier is less than a flow threshold; In response to the water output of the water purifier being less than the flow threshold, continuing to sequentially acquire fourth distances between the plurality of objects and the water purifier at second preset time intervals; The determining the movement state of the object based on the distance further includes: determining a second movement state of the object based on the fourth distance; The controlling the operation of the water purifier based on the distance and the moving state further includes: The water purifier is controlled to stop discharging water based on the fourth distance and the second moving state.

8. The control method according to claim 7, wherein: The controlling the water purifier to stop discharging water based on the fourth distance and the second moving state includes: determining that the plurality of fourth distances increase sequentially, and the second moving state is a variable speed movement; In response to the plurality of fourth distances increasing sequentially and the second moving state being variable speed movement, the water purifier is controlled to stop discharging water.

9. The control method according to claim 8, wherein: Also includes: The water purifier is controlled to be in standby mode after the water purifier stops discharging water for a preset period of time.

10. A water purifier, wherein: include: ontology; A distance measuring mechanism, arranged on the front panel of the main body, for obtaining the distance between an object and the water purifier; A controller is connected to the distance measuring mechanism and the main body, and is used to control the distance measuring mechanism and the main body based on the distance using the control method described in any one of weights 1 to 9.

11. A computer storage medium, wherein: Program instructions are stored thereon, and the program instructions are executed by a processor to implement the control method according to any one of claims 1 to 9.

12. A computer program, wherein: The computer program includes instructions, and when the instructions are executed by an information processing device, the information processing device is caused to perform the control method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Control method and apparatus of passive infrared detector

    CN107631802A

  • Control method and system of purifying and drinking machine

    CN109419365A

  • Water purifier and method and device for controlling automatic cleaning of the same

    CN110395777A

  • Water outlet control method, water dispenser and computer readable storage medium

    CN111568201A

  • Control method and device for water dispenser, water dispenser and processor

    CN112842077A