Water dispenser and energy-saving control method, device and medium thereof

By using the ranging module in the intelligent water dispenser to measure the user's orientation and optimizing the energy-saving state switching, the water use experience and resource waste caused by the automatic timing control of the intelligent water dispenser is solved, and efficient energy saving and optimal water use experience are achieved.

CN116058659BActive Publication Date: 2024-12-27NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310181036.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-12-27
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

The existing intelligent water dispenser controls the energy-saving state through automatic timing, which leads to the energy-saving state when the user needs water and cannot meet the needs. On the contrary, the energy-saving state is withdrawn when the user does not need water, resulting in waste of resources.

Method used

The distance measuring module is used to measure the target orientation. When the difference between the first distance and the target distance is greater than or equal to the distance threshold, the water dispenser is controlled to exit the energy-saving state and pass the step-by-step energy-saving state switching (first energy-saving state and second energy-saving state Status) Optimize energy consumption and user experience.

Benefits of technology

By quickly determining user intentions, we can achieve efficient and energy saving, while providing users with the best water use experience and avoiding waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116058659B_ABST
    Figure CN116058659B_ABST
Patent Text Reader

Abstract

The present invention discloses a water dispenser and its energy-saving control method, device and medium. The energy-saving control method comprises: when the first time length that no one has been using the water dispenser to get water is greater than a first time length threshold, controlling the water dispenser to enter an energy-saving state; controlling a distance measurement module to measure the distance of a target position to determine a first distance between a person at the target position and the water dispenser; when the difference between the first distance and the target distance is greater than or equal to a distance threshold, controlling the water dispenser to exit the energy-saving state. The distance measurement module is used to measure the distance of a first position where a person may come to get water, and when the difference between the first distance and the target distance is greater than or equal to the distance threshold, controlling the water dispenser to exit the energy-saving state. The distance measurement module can quickly determine the user's intention to control the energy-saving state, so that the water dispenser can provide the user with the best water use experience while achieving efficient energy saving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of household appliances, and in particular to a water dispenser and an energy-saving control method, device and medium thereof. Background Art

[0002] Smart water dispensers are new products that are different from bottled water dispensers and traditional water-based drinking equipment. They include but are not limited to functions such as automatic heating, automatic water production, and energy-saving mode switching. Smart water dispensers on the market generally have built-in networking modules, such as 4G (fourth-generation mobile communication technology), 5G (fifth-generation mobile communication technology) or WIFI (wireless communication technology) networking.

[0003] The switching of the energy-saving mode of the water dispenser is generally controlled by automatic timing of the networking module. The following situations often occur when controlling the energy-saving state of the water dispenser through automatic timing, which seriously affects the user experience: when the user needs water, the water dispenser is in an energy-saving state and it is difficult to meet the user's needs; when the user does not need water, the water dispenser exits the energy-saving state and starts water production and heating, resulting in a waste of resources. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the defect in the prior art that the energy-saving state of a water dispenser is controlled by automatic timing, which affects the user experience, and to provide a water dispenser and its energy-saving control method, device and medium.

[0005] The present invention solves the above technical problems through the following technical solutions:

[0006] In a first aspect, an energy-saving control method is provided, which is applied to a water dispenser, and the energy-saving control method comprises:

[0007] When the first time period when no one fetches water from the water dispenser is longer than a first time period threshold, controlling the water dispenser to enter an energy-saving state;

[0008] Controlling the distance measurement module to measure the distance of the target position, and determining a first distance between the person at the target position and the water dispenser;

[0009] When the difference between the first distance and the target distance is greater than or equal to the distance threshold, the water dispenser is controlled to exit the energy-saving state.

[0010] Optionally, when the first time period that no one has been fetching water from the water dispenser is longer than a first time period threshold, controlling the water dispenser to enter an energy-saving state includes:

[0011] When no one is taking water from the water dispenser, the first time duration of no one taking water is counted

[0012] When the first time duration is greater than a first time duration threshold and less than a second time duration threshold, controlling the water dispenser to enter a first energy-saving state;

[0013] When the first time duration is greater than a second time duration threshold and less than a third time duration threshold, controlling the water dispenser to enter a second energy-saving state;

[0014] The energy consumption of the second energy-saving state is less than that of the first energy-saving state.

[0015] Optionally, when the difference between the first distance and the target distance is greater than or equal to a distance threshold, controlling the water dispenser to exit the energy-saving state includes:

[0016] When the difference between the first distance and the target distance is greater than or equal to a first distance threshold and less than a second distance threshold, controlling the water dispenser to exit the second energy-saving state;

[0017] When the difference between the first distance and the target distance is greater than or equal to a second distance threshold, controlling the water dispenser to exit the first energy-saving state; wherein the second distance threshold is greater than the first distance threshold;

[0018] and / or,

[0019] Controlling the water dispenser to enter a first energy-saving state includes:

[0020] Controlling the water dispenser to stop heating;

[0021] and / or,

[0022] Controlling the water dispenser to enter a second energy-saving state includes:

[0023] The remaining modules of the water dispenser except the distance measuring module are controlled to stop running.

[0024] Optionally, before controlling the ranging module to measure the target position, the process includes:

[0025] The ranging module is controlled to determine the target position from multiple positions.

[0026] Optionally, controlling the ranging module to determine the target position from multiple positions includes:

[0027] Control the distance measurement module to rotate toward multiple directions, and collect second distances of the multiple directions, where the second distance is the distance between the obstacle in each direction and the water dispenser, the multiple directions surround the water dispenser, and the angles between the directions of two adjacent directions are the same;

[0028] A target position is determined from the plurality of positions based on the second distance.

[0029] Optionally, determining the target orientation from the multiple orientations according to the second distance includes:

[0030] Selecting, from the multiple directions, a direction whose second distance is greater than a second distance threshold as a first direction;

[0031] When the number of the first orientations is less than or equal to two, determining the first orientation corresponding to the longest second distance as the target orientation;

[0032] When the number of the first orientations is greater than or equal to two, a middle orientation of the plurality of first orientations is determined as a target orientation.

[0033] Optionally, the energy-saving control method further includes:

[0034] Timing the running time of the water dispenser when it is powered on;

[0035] When the first duration is greater than a third duration threshold and the running time is greater than a running time threshold, the running time is reset and the ranging module is controlled to re-determine the target position from multiple positions.

[0036] In a second aspect, an energy-saving control device is provided, which is applied to a water dispenser, and the energy-saving control device comprises:

[0037] A first control module is used to control the water dispenser to enter an energy-saving state when a first time period when no one fetches water from the water dispenser is longer than a first time period threshold;

[0038] A distance determination module is used to control the distance measurement module to measure the distance of the target position, and determine a first distance between the person at the target position and the water dispenser;

[0039] The second control module is used to control the water dispenser to exit the energy-saving state when the difference between the first distance and the target distance is greater than or equal to a distance threshold.

[0040] In a third aspect, a water dispenser is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the energy-saving control method described in the first aspect when executing the computer program.

[0041] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the energy-saving control method described in the first aspect is implemented.

[0042] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present invention.

[0043] The positive and progressive effect of the present invention is that the distance measurement module is used to measure the distance of the first position where a person may come to get water, and when the difference between the first distance and the target distance is greater than or equal to the distance threshold, the water dispenser is controlled to exit the energy-saving state. The distance measurement module can quickly determine the user's intention to control the energy-saving state, so that the water dispenser can provide users with the best water experience while achieving efficient energy saving. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A flow chart of an energy-saving control method provided in Embodiment 1 of the present invention;

[0045] Figure 2 It is a schematic diagram of controlling a water dispenser to enter a first energy-saving state and a second energy-saving state in Embodiment 1 of the present invention;

[0046] Figure 3 This is a schematic diagram of determining a target distance through a distance measuring module and controlling a water dispenser to exit an energy-saving state in Embodiment 1 of the present invention;

[0047] Figure 4 This is a first schematic diagram of controlling a ranging module to determine a target orientation from multiple orientations in Embodiment 2 of the present invention;

[0048] Figure 5 A second schematic diagram of controlling a ranging module to determine a target orientation from multiple orientations in Embodiment 2 of the present invention;

[0049] Figure 6 A flow chart of an energy-saving control method provided by Embodiment 2 of the present invention;

[0050] Figure 7 A schematic diagram of a module of an energy-saving control device provided in Embodiment 3 of the present invention;

[0051] Figure 8 This is a schematic diagram of the electronic structure of a water dispenser provided in Example 4 of the present invention. DETAILED DESCRIPTION

[0052] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.

[0053] Example 1

[0054] Embodiment 1 of the present invention provides an energy-saving control method, which is applied to a water dispenser. The water dispenser may include but is not limited to the following modules: a main control MCU (Microcontroller Unit), a display panel, a networking module, a heating module, a distance measurement module, a water pump, and an inlet and outlet water valve, so as to respectively realize the conventional functions of the water dispenser, such as controlling the heating module to realize heating, controlling the water pump or the inlet and outlet water valve to realize water production, and controlling the display panel to realize status display.

[0055] Figure 1 This is a flow chart of an energy-saving control method provided in Example 1 of the present invention. The executor of the energy-saving control method provided in this embodiment can be the main control MCU or any main control unit of any water dispenser, which is not specifically limited here.

[0056] Energy-saving control methods include:

[0057] S11. When the first time period when no one has been fetching water from the water dispenser is longer than the first time period threshold, the water dispenser is controlled to enter an energy-saving state.

[0058] The first duration starts recording when the water dispenser is powered on and starts working and no one is taking water. Energy-saving states include but are not limited to turning off the display panel, stopping heating, stopping water production, etc., so that the water dispenser can achieve energy saving when no one is using it. For example, a water dispenser installed in a company can be controlled to enter an energy-saving state after the company gets off work to achieve energy saving.

[0059] In one embodiment, step S11 includes:

[0060] When no one is getting water from the water dispenser, the first duration when no one is getting water is counted; when the first duration is greater than the first duration threshold and less than the second duration threshold, the water dispenser is controlled to enter the first energy-saving state; when the first duration is greater than the second duration threshold and less than the third duration threshold, the water dispenser is controlled to enter the second energy-saving state.

[0061] The energy consumption of the second energy-saving state is less than that of the first energy-saving state.

[0062] The first duration threshold and the second duration threshold in this embodiment can be selected according to the actual application scenario, and are not specifically limited here. Taking a water dispenser installed in a company as an example, the first duration threshold can be 1 hour, and the second duration threshold can be 3 hours.

[0063] In a specific implementation, controlling the water dispenser to enter the first energy-saving state includes: controlling the water dispenser to stop heating.

[0064] Among them, the first energy-saving state is generally applied to the situation where no one drinks water for a short period of time. Taking the water dispenser installed in the company as an example, when no one takes water for a short period of time during the day on weekdays, the heating module of the water dispenser is controlled to stop heating to save energy; at the same time, other modules of the water dispenser, including but not limited to the ranging module, networking module, water pump or inlet and outlet valves, are all in operation, so that the water dispenser can be woken up in time to provide water to users when water is needed.

[0065] In a specific implementation, controlling the water dispenser to enter the second energy-saving state includes: controlling all modules of the water dispenser except the distance measuring module to stop running.

[0066] Among them, the second energy-saving state is generally used in the case where no one fetches water for a long time. For example, the water dispenser installed in the company is controlled to enter the second energy-saving state on weekday evenings or holidays: all modules except the distance measurement module are stopped. Because in this scenario, users rarely need water, at this time, only one distance measurement module can be retained to wake up the water dispenser, which can further save energy while being able to wake up the water dispenser in time according to user needs.

[0067] Below Figure 2 Taking this as an example, the step S11 of this embodiment in which the water dispenser is controlled to enter the first energy-saving state and the second energy-saving state is further described:

[0068] Determine whether someone is taking water from the water dispenser. When no one is taking water from the water dispenser, count the first duration of no one taking water. When someone is taking water from the water dispenser, reset the first duration, and count the first duration the next time no one is taking water.

[0069] It is determined whether the first duration exceeds 1 hour, that is, the first duration threshold in this embodiment. If it is determined to be yes, the water dispenser is controlled to enter the first energy-saving state, that is, the water dispenser is controlled to stop heating. If it is determined to be no, the first duration is continued to be timed when no one is taking water.

[0070] It is determined whether the first duration exceeds 3 hours, that is, the second duration threshold in this embodiment. If it is determined to be yes, the water dispenser is controlled to enter the second energy-saving state, that is, all modules of the water dispenser except the ranging module are controlled to stop running.

[0071] In this embodiment, the energy-saving state is controlled in a step-by-step manner according to the first duration of no one fetching water. While saving energy, it can also leave sufficient space to meet the user's water fetching needs, meet the water fetching needs that may arise from users in different situations, and enhance the intelligence and practicality of the water dispenser.

[0072] S12: Control the distance measurement module to measure the target position, and determine a first distance between the person at the target position and the water dispenser.

[0073] The distance measurement module includes but is not limited to infrared distance measurement, radar distance measurement, and ultrasonic distance measurement. The target position generally refers to the position of the person approaching the water dispenser during use, which can be set by the user or automatically determined by the distance measurement module according to the position of the person approaching.

[0074] S13: When the difference between the first distance and the target distance is greater than or equal to the distance threshold, control the water dispenser to exit the energy-saving state.

[0075] In one embodiment, step S13 includes:

[0076] When the difference between the first distance and the target distance is greater than or equal to the first distance threshold and less than the second distance threshold, the water dispenser is controlled to exit the second energy-saving state; when the difference between the first distance and the target distance is greater than or equal to the second distance threshold, the water dispenser is controlled to exit the first energy-saving state; wherein the second distance threshold is greater than the first distance threshold.

[0077] The target distance can be the maximum distance recorded by the distance measuring module in the process of measuring the target position, or can be set by the user according to the actual application scenario. The first distance threshold and the second distance threshold can be selected according to the actual application scenario, and are not limited here. For example, taking a water dispenser installed in a company, the first distance threshold can be 1 meter and the second distance threshold can be 2 meters.

[0078] Let's take the water dispenser installed in the office as an example. Figure 3 Schematic diagram for determining the target distance through the distance measurement module and controlling the water dispenser to exit the energy-saving state:

[0079] The distance measuring module is controlled to measure the target direction, obtain the first distance of the incoming person, and the maximum distance recorded in the first distance is determined as the target distance. When the water dispenser is installed near the office door, the target direction can be toward the office door, and the target distance can be the distance from the water dispenser to the office door.

[0080] Determine whether the first distance decreases, that is, whether the difference between the first distance and the target distance increases. If not, continue to control the distance measurement module to measure the target position; if so, determine whether the difference between the first distance and the target distance is greater than or equal to 2 meters; and if the difference between the first distance and the target distance is less than 2 meters, determine whether the difference between the first distance and the target distance is greater than or equal to 1 meter; 2 meters is the second distance threshold in this embodiment, and 1 meter is the first distance threshold in this embodiment.

[0081] When the difference between the first distance and the target distance is greater than or equal to 1 meter and less than 2 meters, if the water dispenser is in the second energy-saving state, the water dispenser is controlled to exit the second energy-saving state. When the water dispenser is installed near the office door, the difference between the first distance and the target distance is greater than 1 meter, which may be the case when the user comes to work. If the water dispenser is in the second energy-saving state at this time, that is, the water dispenser turns off all other modules except the ranging module, it will not be able to make water in time, resulting in the user being unable to supply water in time when he wants to use water. At this time, it is necessary to control the water dispenser to exit the second energy-saving mode and make water in time when the user comes to work.

[0082] When the difference between the first distance and the target distance is greater than or equal to 2 meters, if the water dispenser is in the first energy-saving state, the water dispenser is controlled to exit the first energy-saving state. If the difference between the first distance and the target distance is greater than 1 meter, it may be that the user comes to get water. At this time, in order to meet all the water needs of the user as much as possible, the water dispenser is promptly controlled to exit the first energy-saving state for heating.

[0083] In this embodiment, through the switching control between the first energy-saving state and the second energy-saving state, the user's intention can be quickly determined, and the best water use experience can be provided to the user while achieving efficient energy saving.

[0084] Example 2

[0085] Embodiment 2 of the present invention provides a flow chart of an energy-saving control method. This embodiment can be implemented on the basis of the energy-saving control method provided in Embodiment 1. For other steps, see Embodiment 1. The energy-saving control method also includes:

[0086] The ranging module is controlled to determine the target position from multiple positions.

[0087] The distance measuring module can be located on the top of the water dispenser, and its connection with the main control MCU of the water dispenser includes but is not limited to wired connection or wireless connection. The main control MCU can control the distance measuring module.

[0088] In the actual installation scenario of the water dispenser, for example, when the water dispenser is installed in a relatively open space, the direction from which the user comes to get water may not only include the front of the water dispenser. If only the front is used as the ranging direction of the ranging module, it is very likely that the water dispenser will not be able to determine the user's arrival in time; and if a surround ranging module is installed, or the ranging module is continuously rotated for all-round judgment, it will cause unnecessary waste of resources and violate the original intention of energy saving, and the accuracy of the judgment of the arrival is not greatly improved. Therefore, the energy-saving control method provided in this embodiment can judge the installation environment of the water dispenser to determine the target direction of the user's main arrival, and can respond in time when the person comes to get water, further improving the user experience and the intelligence and practicality of the water dispenser.

[0089] In one embodiment, Figure 4 A schematic diagram for controlling the ranging module to determine the target position from multiple positions, including:

[0090] S21, controlling the distance measurement module to rotate toward multiple directions, and collecting second distances at multiple directions.

[0091] The second distance is the distance between the obstacle and the water dispenser in each direction. The distance measurement module is explained by taking ultrasonic distance measurement as an example. The distance measurement module transmits ultrasonic waves to a certain direction and starts timing at the same time as the transmission time. The ultrasonic waves propagate in the air and return immediately when they encounter obstacles on the way. The ultrasonic receiver stops timing immediately when it receives the reflected waves. Since the propagation speed of ultrasonic waves in the air is known, the time it takes for the sound waves to be reflected back after encountering obstacles after transmission is measured, and the second distance from the transmission point to the obstacle is calculated based on the time difference between transmission and reception.

[0092] Multiple directions surround the water dispenser, and the angles between two adjacent directions are the same, and the number of directions can be one or more. For example, when there are 4 directions, the size of each direction is 90 degrees, namely the direction directly in front of the water dispenser, the direction directly to the left of the water dispenser, the direction directly to the right of the water dispenser, and the direction directly behind the water dispenser.

[0093] In one embodiment, the rotation of the ranging module is controlled by a motor. After measuring the second distance of each orientation, the motor is controlled to rotate the ranging module to the next orientation to measure the second distance of the next orientation until the second distance measurement of all orientations is completed.

[0094] S22. Determine the target direction from multiple directions according to the second distance.

[0095] In one possible implementation, step S22 specifically includes:

[0096] Selecting, from the plurality of directions, a direction whose second distance is greater than a second distance threshold as the first direction;

[0097] When the number of first positions is less than two, it is considered that the first position corresponding to the largest second distance has a greater possibility of a person coming, and the first position corresponding to the longest second distance is determined as the target position; when the number of first positions is greater than or equal to two, it is considered that multiple positions of the water dispenser have a greater possibility of a person coming, and the middle position of the multiple first positions is determined as the target position.

[0098] Below Figure 5 Taking the example, the control of the ranging module to determine the target position from multiple positions in this embodiment is further described:

[0099] The front direction of the water dispenser is used as the starting point of the motor rotation, the motor of the distance measurement module is controlled to rotate to the 0 degree direction, and the second distance D in the 0 degree direction is recorded. 前 , that is, the direction directly in front of the water dispenser; control the motor of the distance measurement module to rotate 90 degrees, and record the second distance D in the 90-degree direction 左 , that is, the left side of the water dispenser; control the motor of the distance measurement module to rotate to 180 degrees, and record the second distance D in the 180-degree direction 后 , that is, the direction directly behind the water dispenser; control the motor of the distance measurement module to rotate to the 270-degree direction, and record the second distance D in the 270-degree direction 右 , which is the left side of the water dispenser.

[0100] It should be noted that this embodiment only provides an example of controlling the rotation of the ranging module, and the rotation order of the ranging module can be adjusted arbitrarily and is not limited here.

[0101] D 前 , D 左 , D 右 , D 后 The distance greater than 2 meters is determined as the first orientation, and it is determined whether the number of first orientations is greater than or equal to 2, and 2 meters is the second distance threshold in this embodiment.

[0102] When the number is greater than or equal to 2, it is considered that the water dispenser is installed in a relatively open space, such as placed in a hall with its back against a wall. There is a high possibility of people coming in multiple directions of the water dispenser, including but not limited to multiple directions except those facing the wall, and the middle direction of multiple first directions is determined as the target direction; when the number is less than 2, it is considered that the water dispenser is installed in a relatively cramped corner inside the room, such as the end of a corridor, and there is a high possibility of people coming in the first direction corresponding to the second distance of the water dispenser when it is the largest, that is, the direction facing the corridor. At this time, the first direction corresponding to the longest second distance is determined as the target direction.

[0103] In this embodiment, the installation scenario of the water dispenser can be analyzed based on the detection situation of the ranging module, the target position of the person coming can be determined, a more accurate analysis can be performed, and misjudgment can be reduced.

[0104] In one embodiment, see Figure 6 , the energy-saving control method further includes:

[0105] Time the running time of the water dispenser when it is powered on;

[0106] When the first duration is greater than the third duration threshold and the running duration is greater than the running duration threshold, the running duration is cleared and the ranging module is controlled to re-determine the target position from multiple positions.

[0107] Among them, the process of obtaining the first duration can refer to step S11 in Example 1, which will not be repeated here. The third duration threshold and the operating duration threshold can be set according to the actual application scenario and are not limited here. In this embodiment, the third duration threshold is preferably 6 hours, and the operating duration threshold is preferably 3 days.

[0108] In one possible implementation, when the first duration is greater than the third duration threshold and the running duration is greater than the running duration threshold, the unavailable flag of the ranging module is set to 1. Before the water dispenser controls the energy-saving state switching, if it detects that the unavailable flag of the ranging module is 1, the energy-saving state switching is stopped until the ranging module re-determines the target position. This reduces the occurrence of erroneous operations and improves the intelligence and practicality of the water dispenser.

[0109] In this embodiment, when the first time period when no one has been fetching water is greater than the third time period threshold and the running time is greater, the following situation may occur: the water dispenser ranging module makes an error in measuring the target position, and the ranging module cannot determine the accurate measurement position, thereby affecting the user experience, and even worse, causing a large amount of resource waste for the water dispenser. Therefore, when the first time period reaches the third time period threshold and the running time is greater than the running time threshold, the target position can be calibrated in time.

[0110] Example 3

[0111] Figure 7 A schematic diagram of a module of an energy-saving control device is provided for Embodiment 3 of the present invention, which is applied to a water dispenser. The energy-saving control device includes:

[0112] The first control module 31 is used to control the water dispenser to enter an energy-saving state when the first time period when no one fetches water from the water dispenser is longer than a first time period threshold;

[0113] The distance determination module 32 is used to control the distance measurement module to measure the distance of the target position and determine the first distance between the person at the target position and the water dispenser;

[0114] The second control module 33 is used to control the water dispenser to exit the energy-saving state when the difference between the first distance and the target distance is greater than or equal to a distance threshold.

[0115] In one embodiment, the first control module 31 includes:

[0116] The first timing unit is used to time a first duration of time when no one is taking water from the water dispenser;

[0117] A first control unit, configured to control the water dispenser to enter a first energy-saving state when the first time duration is greater than a first time duration threshold and less than a second time duration threshold;

[0118] A second control unit, configured to control the water dispenser to enter a second energy-saving state when the first time duration is greater than a second time duration threshold and less than a third time duration threshold;

[0119] The energy consumption of the second energy-saving state is less than that of the first energy-saving state.

[0120] In one embodiment, the second control module 33 includes:

[0121] A third control unit, configured to control the water dispenser to exit the second energy-saving state when the difference between the first distance and the target distance is greater than or equal to the first distance threshold and less than the second distance threshold;

[0122] A fourth control unit, configured to control the water dispenser to exit the first energy-saving state when the difference between the first distance and the target distance is greater than or equal to a second distance threshold; wherein the second distance threshold is greater than the first distance threshold;

[0123] In one embodiment, the first control module 31 is used to control the water dispenser to stop heating;

[0124] In one embodiment, the first control module 32 is used to control all modules of the water dispenser except the distance measuring module to stop running.

[0125] In one embodiment, the distance determination module 32 is used to control the distance measurement module to determine the target position from multiple positions.

[0126] In one embodiment, the distance determination module 32 includes:

[0127] A fifth control unit is used to control the distance measurement module to rotate toward multiple directions and collect second distances in multiple directions, where the second distance is the distance between the obstacle and the water dispenser in each direction, and the multiple directions surround the water dispenser, and the angles between two adjacent directions are the same;

[0128] A determination unit determines a target orientation from a plurality of orientations according to the second distance.

[0129] In one embodiment, the determining unit is further configured to:

[0130] Selecting, from the plurality of directions, a direction whose second distance is greater than a second distance threshold as the first direction;

[0131] When the number of the first orientations is less than or equal to two, determining the first orientation corresponding to the longest second distance as the target orientation;

[0132] When the number of the first orientations is greater than or equal to two, a middle orientation of the plurality of first orientations is determined as the target orientation.

[0133] In one embodiment, the energy-saving control device further includes:

[0134] The second timing module is used to time the running time of the water dispenser when it is powered on;

[0135] The third control module is used for clearing the running time and controlling the ranging module to re-determine the target position from multiple positions when the first time period is greater than the third time period threshold and the running time is greater than the running time threshold.

[0136] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.

[0137] Example 4

[0138] Figure 8 This is a schematic structural diagram of a water dispenser according to Embodiment 4 of the present invention, and shows a block diagram of an exemplary water dispenser 40 suitable for implementing the embodiment of the present invention. Figure 4 The water dispenser 40 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0139] like Figure 8 As shown, the water dispenser 40 may be in the form of a general computing device, for example, it may be a server device. The components of the water dispenser 40 may include but are not limited to: at least one processor 41, at least one memory 42, and a bus 43 connecting different system components (including the memory 42 and the processor 41).

[0140] The bus 43 includes a data bus, an address bus, and a control bus.

[0141] The memory 42 may include a volatile memory, such as a random access memory (RAM) 421 and / or a cache memory 422 , and may further include a read-only memory (ROM) 423 .

[0142] The memory 42 may also include a program tool 425 (or utility) having a set (at least one) of program modules 424, such program modules 424 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0143] The processor 41 executes various functional applications and data processing by running the computer program stored in the memory 42, such as the method provided in any of the above embodiments.

[0144] The water dispenser 40 may also communicate with one or more external devices 44. Such communication may be performed via an input / output (I / O) interface 45. Furthermore, the model-generated water dispenser 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 46. As shown, the network adapter 46 communicates with other modules of the model-generated water dispenser 40 via a bus 43. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the model-generated water dispenser 40, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (RAID) systems, tape drives, and data backup storage systems, etc.

[0145] It should be noted that although several units / modules or sub-units / modules of the water dispenser are mentioned in the above detailed description, such division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above may be embodied in one unit / module. Conversely, the features and functions of one unit / module described above may be further divided to be embodied by multiple units / modules.

[0146] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method provided by any of the above embodiments is implemented.

[0147] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0148] In a possible implementation manner, the embodiment of the present invention may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute a method for implementing any of the above embodiments.

[0149] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0150] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims

1. An energy-saving control method, characterized in that: Applied to a water dispenser, the energy-saving control method includes: When the first time period when no one fetches water from the water dispenser is longer than a first time period threshold, controlling the water dispenser to enter an energy-saving state; Controlling the distance measurement module to measure the distance of the target position, and determining a first distance between the person at the target position and the water dispenser; When the difference between the first distance and the target distance is greater than or equal to the distance threshold, controlling the water dispenser to exit the energy-saving state; Before controlling the ranging module to measure the target position, it includes: Controlling the ranging module to determine the target position from multiple positions; Controlling the ranging module to determine the target position from a plurality of positions includes: Control the distance measurement module to rotate toward multiple directions, and collect second distances of the multiple directions, where the second distance is the distance between the obstacle in each direction and the water dispenser, the multiple directions surround the water dispenser, and the angles between the directions of two adjacent directions are the same; determining a target orientation from the plurality of orientations according to the second distance; Determining the target position from the plurality of positions according to the second distance includes: Selecting, from the multiple directions, a direction whose second distance is greater than a second distance threshold as a first direction; When the number of the first orientations is less than or equal to two, determining the first orientation corresponding to the longest second distance as the target orientation; When the number of the first orientations is greater than or equal to two, a middle orientation of the plurality of first orientations is determined as a target orientation.

2. The energy-saving control method according to claim 1, characterized in that: When the first time period that no one has been taking water from the water dispenser for a period of time that is longer than a first time period threshold, controlling the water dispenser to enter an energy-saving state includes: When no one is fetching water from the water dispenser, timing a first duration of time during which no one is fetching water; When the first time duration is greater than a first time duration threshold and less than a second time duration threshold, controlling the water dispenser to enter a first energy-saving state; When the first time duration is greater than a second time duration threshold and less than a third time duration threshold, controlling the water dispenser to enter a second energy-saving state; The energy consumption of the second energy-saving state is less than that of the first energy-saving state.

3. The energy-saving control method according to claim 2, characterized in that: When the difference between the first distance and the target distance is greater than or equal to the distance threshold, controlling the water dispenser to exit the energy-saving state includes: When the difference between the first distance and the target distance is greater than or equal to a first distance threshold and less than a second distance threshold, controlling the water dispenser to exit the second energy-saving state; When the difference between the first distance and the target distance is greater than or equal to a second distance threshold, controlling the water dispenser to exit the first energy-saving state; wherein the second distance threshold is greater than the first distance threshold; and / or, Controlling the water dispenser to enter a first energy-saving state includes: Controlling the water dispenser to stop heating; and / or, Controlling the water dispenser to enter a second energy-saving state includes: The remaining modules of the water dispenser except the distance measuring module are controlled to stop running.

4. The energy-saving control method according to claim 1, characterized in that: The energy-saving control method further includes: Timing the running time of the water dispenser when it is powered on; When the first duration is greater than a third duration threshold and the running time is greater than a running time threshold, the running time is reset and the ranging module is controlled to re-determine the target position from multiple positions.

5. An energy-saving control device, characterized in that: Applied to a water dispenser, the energy-saving control device comprises: A first control module is used to control the water dispenser to enter an energy-saving state when a first time period when no one fetches water from the water dispenser is longer than a first time period threshold; A distance determination module is used to control the distance measurement module to measure the distance of the target position, and determine a first distance between the person at the target position and the water dispenser; A second control module, configured to control the water dispenser to exit an energy-saving state when a difference between the first distance and the target distance is greater than or equal to a distance threshold; The distance determination module is also used to control the distance measurement module to determine the target position from multiple positions; The distance determination module comprises: a fifth control unit, configured to control the distance measuring module to rotate toward a plurality of directions and collect second distances of the plurality of directions, wherein the second distance is the distance between the obstacle and the water dispenser at each of the directions, the plurality of directions surround the water dispenser, and the angles between the directions of two adjacent directions are the same; a determining unit, configured to determine a target orientation from the plurality of orientations according to the second distance; The determining unit is further configured to: Selecting, from the multiple directions, a direction whose second distance is greater than a second distance threshold as a first direction; When the number of the first orientations is less than or equal to two, determining the first orientation corresponding to the longest second distance as the target orientation; When the number of the first orientations is greater than or equal to two, a middle orientation of the plurality of first orientations is determined as a target orientation.

6. A water dispenser, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the energy-saving control method according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the energy-saving control method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

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

    CN112842077A

  • Water dispenser

    CN215899432U

  • Water dispenser control method

    WO2018099113A1