Water outlet control method of water dispenser, water dispenser and readable storage medium
By obtaining geographical location and seasonal information, intelligently adjusting the water outlet temperature of the water dispenser has solved the problem that the existing water dispenser cannot adjust the water outlet temperature according to the needs of different regions, and intelligent water outlet control is achieved and user experience is improved.
Patent Information
- Application Number
- CN202411455001.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-01-07
AI Technical Summary
The existing water dispenser cannot intelligently adjust the water outlet temperature according to the user needs in different regions, resulting in repeated adjustments from users, which makes the user experience relatively low.
By obtaining the geographical location information of the environment in which the water dispenser is located and current seasonal information, determining the water outlet temperature, and controlling the water outlet of the hot water and ice water valves according to the water outlet temperature, to achieve intelligent water outlet control.
It avoids users' repeated adjustment of the water outlet temperature, provides intelligent water outlet function according to the geographical location and seasons of different regions, and improves the user experience.
Smart Images

Figure CN119257447A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home appliances, and in particular to a water outlet control method of a water dispenser, a water dispenser, and a computer-readable storage medium. Background Art
[0002] As people's living standards improve, the requirements for drinking water are getting higher and higher. For traditional water dispensers, hot water and cold water can be directly obtained. Generally speaking, users in different regions have different requirements for water temperature. For example, in areas with higher altitudes, users generally need to drink water with higher drinking temperature due to factors such as lower temperature, while in areas with lower altitudes, users generally need to drink water with lower drinking temperature due to factors such as higher temperature. However, existing water dispensers cannot realize intelligent water output according to users in different regions. Users need to repeatedly adjust the water output temperature, resulting in a low user experience. Summary of the invention
[0003] The present application provides a water outlet control method for a water dispenser, a water dispenser and a computer-readable storage medium, which solves the problem that the water dispenser cannot realize intelligent water outlet according to users in different regions.
[0004] In a first aspect, the present application provides a water output control method for a water dispenser, which is applied to a water dispenser, wherein the water dispenser includes a hot water control valve and an ice water control valve, wherein the hot water control valve is used to output hot water, and the ice water control valve is used to output ice water; the method includes:
[0005] Obtaining geographical location information and current season information of the environment in which the water dispenser is located;
[0006] determining the outlet water temperature according to the geographical location information and the current season information;
[0007] Determine the hot water output of the hot water control valve and the ice water output of the ice water control valve according to the outlet water temperature;
[0008] The hot water control valve is controlled to discharge water based on the hot water output, and the ice water control valve is controlled to discharge water based on the ice water output.
[0009] In a second aspect, the present application also provides a water dispenser, wherein the self-moving device includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and implement the steps of the water outlet control method of the water dispenser provided in the embodiment of the present application when executing the computer program.
[0010] In a third aspect, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements the steps of the water outlet control method of the water dispenser provided in an embodiment of the present application.
[0011] The water outlet control method, water dispenser and computer-readable storage medium disclosed in the embodiment of the present application obtain the geographical location information and current season information of the environment where the water dispenser is located; determine the water outlet temperature according to the geographical location information and current season information; determine the hot water outlet of the hot water control valve and the ice water outlet of the ice water control valve according to the water outlet temperature; control the hot water control valve to outlet water based on the hot water outlet, and control the ice water control valve to outlet water based on the ice water outlet. In this way, the water outlet temperature can be intelligently determined according to the geographical location information and current season information of different regions, thereby avoiding the user from repeatedly adjusting the water outlet temperature, and can intelligently outlet water for users in different regions. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 It is a structural schematic diagram of a water outlet control system provided in an embodiment of the present application;
[0014] Figure 2 It is a structural schematic diagram of a water dispenser provided in an embodiment of the present application;
[0015] Figure 3 It is a schematic flow chart of a water outlet control method of a water dispenser provided in an embodiment of the present application. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0017] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0018] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0019] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0020] See also Figure 1 , Figure 1 Schematic diagram of a water outlet control system 10 provided in an embodiment of the present application. Figure 1 As shown, the water control system 10 may include a water dispenser 100 and a server 200. The water dispenser 100 and the server 200 may communicate via wireless communication methods such as Bluetooth, 4G, 5G, 6G, and WIFI.
[0021] Exemplarily, the water dispenser 100 includes a hot water control valve and an ice water control valve, the hot water control valve is used to output hot water, and the ice water control valve is used to output ice water.
[0022] Exemplarily, server 200 can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0023] It should be noted that the execution subject corresponding to the water outlet control method of the water dispenser in the embodiment of the present application can be the water dispenser 100 or the server 200. When the execution subject is the server 200, the water dispenser 100 can upload data such as the geographical location information of the environment in which the water dispenser is located and the current season information to the server 200, and the server 200 determines the water outlet temperature according to the geographical location information and the current season information; determines the hot water outlet of the hot water control valve and the ice water outlet of the ice water control valve according to the water outlet temperature; controls the hot water control valve to discharge water based on the hot water outlet, and controls the ice water control valve to discharge water based on the ice water outlet. In the embodiment of the present application, for the sake of convenience, the water dispenser 100 will be used as the execution subject to explain how to control the water outlet.
[0024] See also Figure 2 , Figure 21 is a schematic diagram of the structure of a water dispenser 100 provided in an embodiment of the present application. The water dispenser 100 may include a processor 1001 and a memory 1002, wherein the processor 1001 and the memory 1002 may be connected via a bus, and the bus may be any applicable bus such as an Inter-integrated Circuit (I2C) bus.
[0025] The memory 1002 may include a storage medium and an internal memory. The storage medium may store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor 1001 may execute the water outlet control method of the water dispenser described in any embodiment.
[0026] The processor 1001 is used to provide computing and control capabilities to support the operation of the entire water dispenser 100 .
[0027] The processor 1001 may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other types of processors such as programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. A general-purpose processor may be a microprocessor, or a general-purpose processor may be any conventional processor.
[0028] In one embodiment, the processor 1001 is used to run a computer program stored in the memory 1002 to implement the following steps:
[0029] Obtain geographic location information and current season information of the environment in which the water dispenser is located; determine the water outlet temperature according to the geographic location information and the current season information; determine the hot water outlet volume of the hot water control valve and the ice water outlet volume of the ice water control valve according to the water outlet temperature; control the hot water control valve to discharge water based on the hot water outlet volume, and control the ice water control valve to discharge water based on the ice water outlet volume.
[0030] In one embodiment, when the processor 1001 is implementing the method of determining the water outlet temperature according to the geographic location information and the current season information, it is used to implement: determining the longitude and latitude information according to the geographic location information; determining a first temperature adjustment amount corresponding to the water dispenser according to the longitude and latitude information; determining a second temperature adjustment amount corresponding to the water dispenser according to the current season information; and adjusting the preset water outlet temperature according to the first temperature adjustment amount and the second temperature adjustment amount to obtain the water outlet temperature.
[0031] In one embodiment, when the processor 1001 is implementing the method of determining the first temperature adjustment amount corresponding to the water dispenser according to the longitude and latitude information, it is used to implement: determining the longitude and latitude interval corresponding to the longitude and latitude information; and based on the correspondence between the temperature adjustment amount and the preset longitude and latitude interval, determining the temperature adjustment amount corresponding to the longitude and latitude interval as the first temperature adjustment amount.
[0032] In one embodiment, when the processor 1001 adjusts the preset water outlet temperature according to the first temperature adjustment amount and the second temperature adjustment amount to obtain the water outlet temperature, it is used to implement: determining the weight ratio of the first temperature adjustment amount according to the longitude and latitude information, and determining the weight ratio of the second temperature adjustment amount according to the current season information; adjusting the first temperature adjustment amount according to the weight ratio of the first temperature adjustment amount to obtain a first target temperature adjustment amount; adjusting the second temperature adjustment amount according to the weight ratio of the second temperature adjustment amount to obtain a second target temperature adjustment amount; adjusting the preset water outlet temperature according to the first target temperature adjustment amount and the second target temperature adjustment amount to obtain the water outlet temperature.
[0033] In one embodiment, after determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, the processor 1001 is used to: obtain the user's drinking habit information, and determine the third temperature adjustment amount corresponding to the water dispenser according to the drinking habit information; adjust the preset water outlet temperature according to the first temperature adjustment amount, the second temperature adjustment amount and the third temperature adjustment amount to obtain the water outlet temperature.
[0034] In one embodiment, after determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, the processor 1001 is used to: obtain the temperature and humidity information of the environment in which the water dispenser is located; determine the current weather type of the environment in which the water dispenser is located according to the temperature and humidity information and the current season information; if the current weather type is an abnormal weather type, determine the fourth temperature adjustment amount corresponding to the water dispenser according to the temperature and humidity information; adjust the preset water outlet temperature according to the first temperature adjustment amount, the second temperature adjustment amount and the fourth temperature adjustment amount to obtain the water outlet temperature.
[0035] In one embodiment, after determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, the processor 1001 is used to: obtain the user's physical health assessment parameters, and determine the physical state according to the physical health assessment parameters; determine the fifth temperature adjustment amount corresponding to the water dispenser according to the physical state; adjust the preset water outlet temperature according to the first temperature adjustment amount, the second temperature adjustment amount and the fifth temperature adjustment amount to obtain the water outlet temperature.
[0036] In one embodiment, the water dispenser 100 also includes a real-time clock module, and the processor 1001 is further used to implement: if it is determined that the water dispenser is in an off-network state, obtaining real-time time information through the real-time clock module; and determining current season information based on the real-time time information.
[0037] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0038] See also Figure 3 , Figure 3 The schematic flow chart of a water outlet control method of a water dispenser provided in an embodiment of the present application is shown in FIG. The water outlet control method of a water dispenser is applied to a water dispenser.
[0039] Exemplarily, the water dispenser may include a hot water control valve and an ice water control valve, the hot water control valve is used to control the water dispenser to output hot water or stop outputting hot water, and the ice water control valve is used to output ice water or stop outputting ice water.
[0040] like Figure 3 As shown, the water outlet control method of the water dispenser may include steps S101 to S104.
[0041] S101, obtaining geographical location information of the environment where the water dispenser is located and current season information.
[0042] The environment where the water dispenser is located is an environment for placing the water dispenser, and the geographical location information may be city information, altitude information, etc. of the environment where the water dispenser is located. The current season information includes spring, summer, autumn, and winter.
[0043] Exemplarily, the water dispenser can be connected to the Internet for communication, so as to obtain geographical location information such as the city information and altitude information of the water dispenser through the Internet. The season of the water dispenser can also be obtained through the Internet so that the water dispenser can subsequently determine the water outlet temperature.
[0044] Exemplarily, the water dispenser can be communicatively connected with a terminal device, and the terminal device can obtain the geographic location information and current season information of the environment in which the water dispenser is located through the Internet. The terminal device then sends the geographic location information and current season information to the water dispenser via wireless communication methods such as Bluetooth and WIFI, so that the water dispenser can subsequently determine the water outlet temperature.
[0045] In some embodiments, the water dispenser further includes a real-time clock module. If it is determined that the water dispenser is disconnected from the Internet, the real-time clock module is used to obtain real-time time information, and the current season information is determined based on the real-time time information. Thus, the current season information can be accurately determined even when the water dispenser is disconnected from the Internet.
[0046] Among them, the real-time clock module can be a real-time clock (RTC) module. The RTC module is a module that can provide the current date and time in the water dispenser. It usually includes a timer that can track information such as seconds, minutes, hours, days, months, years, and weeks, and can maintain timing in the event of a power outage (for example, when the main power is turned off). This is usually achieved through a built-in battery in the water dispenser.
[0047] Specifically, if it is detected that the water dispenser is in an offline state, the time information of the water dispenser just before the disconnection can be determined, and then the real-time time information of the water dispenser can be obtained based on the time information just before the disconnection and the real-time clock module, and then the current season can be predicted based on the real-time time information to obtain the current season information.
[0048] For example, if it is detected that the water dispenser is in an offline state, it can be determined that the time information just before the water dispenser was in an offline state was June 20th, and then the real-time clock module calculates that the real-time time information of the water dispenser is July 10th. At this time, the current season can be predicted based on the real-time time information, and the current season information is obtained as summer.
[0049] S102: Determine the outlet water temperature according to the geographical location information and the current season information.
[0050] Among them, the water outlet temperature is the water temperature finally output by the water dispenser.
[0051] In some embodiments, the longitude and latitude information is determined according to the geographic location information; the first temperature adjustment amount corresponding to the water dispenser is determined according to the longitude and latitude information; the second temperature adjustment amount corresponding to the water dispenser is determined according to the current season information; the preset water outlet temperature is adjusted according to the first temperature adjustment amount and the second temperature adjustment amount to obtain the water outlet temperature. Thus, the water outlet temperature can be adjusted according to the longitude and latitude information, thereby accurately determining the water outlet temperature.
[0052] The longitude and latitude information may indicate the longitude and latitude corresponding to the current geographical location of the water dispenser, the first temperature adjustment amount is the temperature adjustment amount associated with the longitude and latitude information, and the second temperature adjustment amount is the temperature adjustment amount associated with the current season information. The preset water outlet temperature may be a pre-set water outlet temperature, which is generally a temperature that is more suitable for users in most scenarios, such as 50°C.
[0053] Specifically, the longitude and latitude information can be determined based on city information, altitude information and other information, and then the first temperature adjustment amount corresponding to the water dispenser can be determined based on the longitude and latitude information, and the second temperature adjustment amount corresponding to the water dispenser can be determined based on the current season information. Finally, the preset water outlet temperature is comprehensively adjusted by the first temperature adjustment amount and the second temperature adjustment amount, so as to calculate the water outlet temperature.
[0054] For example, if the preset water outlet temperature is 50°C, the geographical location of the water dispenser can be determined as a high altitude area based on the longitude and latitude information. Since the temperature in high altitude areas is lower, the corresponding first temperature adjustment amount is generally positive and large, such as 30°C; the season of the water dispenser is determined to be summer based on the current season information. Since the temperature in summer is relatively high, the corresponding first temperature adjustment amount is generally negative and large, such as -20°C. Finally, the preset water outlet temperature is comprehensively adjusted by the first temperature adjustment amount and the second temperature adjustment amount, so that the calculated water outlet temperature can be 60°C.
[0055] It should be noted that the preset water outlet temperature is comprehensively adjusted by the first temperature adjustment amount and the second temperature adjustment amount, and can be calculated by any mathematical calculation method such as square sum, mean square sum, weighted sum, etc., and is not specifically limited here.
[0056] In some embodiments, the latitude and longitude interval corresponding to the latitude and longitude information is determined; based on the correspondence between the temperature adjustment amount and the preset longitude and longitude interval, the temperature adjustment amount corresponding to the longitude and longitude interval is determined as the first temperature adjustment amount. Thus, the temperature adjustment amount corresponding to the longitude and longitude interval can be accurately found as the first temperature adjustment amount.
[0057] Among them, the longitude and latitude interval can represent the range of longitude and latitude, such as (40°N-45°N, 115°E-120°E) or (50°N-52.5°N, 0°E-2.5°E), etc. The longitude and latitude interval can be set according to actual conditions and is not specifically limited here.
[0058] For example, if the longitude and latitude information is (40°N, 116°E), it can be determined that the longitude and latitude interval corresponding to the longitude and latitude information is (40°N-45°N, 115°E-120°E); based on the correspondence between the temperature adjustment amount and the preset longitude and latitude interval, it can be determined that the temperature adjustment amount corresponding to the longitude and latitude interval is, for example, +30°C, and +30°C will be used as the first temperature adjustment amount.
[0059] For example, if the longitude and latitude information is (51°30′N, 0.1°5′E), it can be determined that the longitude and latitude interval corresponding to the longitude and latitude information is (50°N-52.5°N, 0°E-2.5°E); based on the correspondence between the temperature adjustment amount and the preset longitude and latitude interval, it can be determined that the temperature adjustment amount corresponding to the longitude and latitude interval is, for example, +40°C, and +40°C will be used as the first temperature adjustment amount.
[0060] It should be noted that the correspondence between the temperature adjustment amount and the preset longitude and latitude interval can be set according to actual conditions and is not specifically limited here.
[0061] In some embodiments, the weight ratio of the first temperature adjustment amount and the weight ratio of the second temperature adjustment amount are determined according to the longitude and latitude information; the first temperature adjustment amount is adjusted according to the weight ratio of the first temperature adjustment amount to obtain the first target temperature adjustment amount; the second temperature adjustment amount is adjusted according to the weight ratio of the second temperature adjustment amount to obtain the second target temperature adjustment amount; the preset water outlet temperature is adjusted according to the first target temperature adjustment amount and the second target temperature adjustment amount to obtain the water outlet temperature. In this way, the preset water outlet temperature can be accurately adjusted to obtain the water outlet temperature.
[0062] Among them, the first target temperature adjustment amount is the temperature adjustment amount adjusted by the weight ratio corresponding to the longitude and latitude information, and the second target temperature adjustment amount is the temperature adjustment amount adjusted by the weight ratio corresponding to the season information. If the geographical location displayed by the longitude and latitude information is a tropical area, such as a city in Africa, tropical areas are generally very hot in all seasons. Therefore, at this time, a higher weight ratio can be set for the longitude and latitude information, and a lower weight ratio can be set for the current season information; if the geographical location displayed by the longitude and latitude information is a city with a large temperature difference in the four seasons, such as Wuhan or Chongqing, the temperature changes in the four seasons are large. Therefore, at this time, a lower weight ratio can be set for the longitude and latitude information, and a higher weight ratio can be set for the current season information.
[0063] Exemplarily, the weight ratio of the first temperature adjustment amount can be determined to be 60% and the weight ratio of the second temperature adjustment amount can be determined to be 40% based on the longitude and latitude information; if the preset water outlet temperature is 50°C, the first temperature adjustment amount is +30°C, and the second temperature adjustment amount is -20°C, the first temperature adjustment amount is adjusted according to the weight ratio of the first temperature adjustment amount, and the first target temperature adjustment amount is +18°C; the second temperature adjustment amount is adjusted according to the weight ratio of the second temperature adjustment amount, and the second target temperature adjustment amount is -8°C; the preset water outlet temperature is adjusted according to the first target temperature adjustment amount and the second target temperature adjustment amount, and the outlet water temperature is 60°C.
[0064] In some embodiments, after determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, the user's drinking habit information is obtained, and the third temperature adjustment amount corresponding to the water dispenser is determined according to the drinking habit information; the preset water outlet temperature is adjusted according to the first temperature adjustment amount, the second temperature adjustment amount, and the third temperature adjustment amount to obtain the water outlet temperature. Thus, the preset water outlet temperature can be adjusted according to the drinking habit information, so as to obtain a water outlet temperature that better meets the user's drinking habit.
[0065] The drinking habit information may include the user's drinking temperature preference, such as the user's preference for hot water, the user's preference for ice water, etc. The third temperature adjustment amount may be a temperature adjustment amount associated with the water dispenser and the user's drinking habit information.
[0066] For example, if the preset water outlet temperature is 50°C, the first temperature adjustment amount is +20°C, the second temperature adjustment amount is -30°C, and the user likes to drink hot water, then it can be determined that the third temperature adjustment amount corresponding to the water dispenser is +50°C; finally, the preset water outlet temperature is adjusted according to the first temperature adjustment amount, the second temperature adjustment amount and the third temperature adjustment amount, and the obtained water outlet temperature is 90°C, thereby making the third temperature adjustment amount occupy a larger adjustment amount, thereby obtaining a water outlet temperature that is more in line with the user's drinking habits.
[0067] In some embodiments, after determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, obtain the temperature and humidity information of the environment in which the water dispenser is located; determine the current weather type of the environment in which the water dispenser is located according to the temperature and humidity information and the current season information; if the current weather type is an abnormal weather type, determine the fourth temperature adjustment amount corresponding to the water dispenser according to the temperature and humidity information; adjust the preset water outlet temperature according to the first temperature adjustment amount, the second temperature adjustment amount, and the fourth temperature adjustment amount to obtain the water outlet temperature. In this way, the water outlet temperature can be dynamically adjusted according to the abnormal weather type, so that the water outlet temperature is more in line with the actual weather conditions.
[0068] The temperature and humidity information may include the temperature and humidity of the environment in which the water dispenser is located. The current weather type is the weather type corresponding to the environment in which the water dispenser is located at that time, such as sunny, cloudy, rainy, etc. The abnormal weather type may be a weather type that does not match the weather type corresponding to the current season information. The fourth temperature adjustment amount may be a temperature adjustment amount associated with the weather type of the water dispenser and its environment.
[0069] Specifically, the current weather type of the environment in which the water dispenser is located is determined based on the temperature and humidity information and the current season information; it is determined whether the current weather type is the same as the weather type corresponding to the current season information; if the current weather type is the same as the weather type corresponding to the current season information, the current weather type is determined to be a normal weather type, and there is no need to determine the fourth temperature adjustment amount; if the current weather type is different from the weather type corresponding to the current season information, the current weather type is determined to be an abnormal weather type, and the fourth temperature adjustment amount corresponding to the water dispenser is determined based on the temperature and humidity information; finally, the preset water outlet temperature is adjusted based on the first temperature adjustment amount, the second temperature adjustment amount and the fourth temperature adjustment amount to obtain the water outlet temperature.
[0070] For example, if the current season information is summer, since the weather is generally hot in summer, the weather type corresponding to the current season information is sunny. If the current weather type of the environment in which the water dispenser is located is determined to be a rainy weather type based on the temperature and humidity information, it can be determined that the current weather type is different from the weather type corresponding to the current season information. Abnormal weather conditions such as typhoons and rainstorms may occur, causing the current weather type to be different from the weather type corresponding to the current season information. Therefore, the current weather type is determined to be an abnormal weather type, and the fourth temperature adjustment amount corresponding to the water dispenser is dynamically determined to be +30°C based on the temperature and humidity information. If the preset water outlet temperature is 50°C, the first temperature adjustment amount is +20°C, and the second temperature adjustment amount is -30°C. Finally, the preset water outlet temperature is dynamically adjusted to obtain a water outlet temperature of 70°C.
[0071] In some embodiments, after determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, obtain the user's physical health assessment parameters, determine the physical state according to the physical health assessment parameters; determine the fifth temperature adjustment amount corresponding to the water dispenser according to the physical state; adjust the preset water outlet temperature according to the first temperature adjustment amount, the second temperature adjustment amount, and the fifth temperature adjustment amount to obtain the water outlet temperature. In this way, the water outlet temperature can be dynamically adjusted according to the physical state, so that the water outlet temperature is more in line with the user's physical state.
[0072] The physical health assessment parameters may include parameters for assessing physical status, such as body temperature and blood sugar levels. Physical status may include normal, fever, dizziness, chills, etc. The fifth temperature adjustment amount may be a temperature adjustment amount associated with the physical status of the water dispenser.
[0073] For example, the user's physical condition can be comprehensively determined based on analysis of parameters such as body temperature and blood sugar levels. For example, if the user has a fever, it is appropriate to drink warm water. Therefore, the fifth temperature adjustment amount corresponding to the water dispenser can be determined to be +20°C based on the physical condition. If the preset water outlet temperature is 50°C, the first temperature adjustment amount is +20°C, and the second temperature adjustment amount is -30°C. Finally, the preset water outlet temperature is dynamically adjusted to obtain a water outlet temperature of 60°C.
[0074] S103: Determine the hot water output of the hot water control valve and the ice water output of the ice water control valve according to the outlet water temperature.
[0075] Among them, the hot water control valve can be a valve used to control or stop the input of hot water, and the ice water control valve can be a valve used to control or stop the input of ice water. The hot water output of hot water and the hot water output of ice water can be controlled and mixed to make the water output of the water dispenser meet the water outlet temperature.
[0076] In some embodiments, the item information of the water container is obtained, and the capacity of the water container is determined according to the item information; the hot water output of the hot water control valve and the ice water output of the ice water control valve are determined according to the capacity and the outlet water temperature of the water container. In this way, the hot water output and the ice water output can be accurately determined so that the water output of the water dispenser meets the outlet water temperature.
[0077] The water container may be a container for holding water, such as a cup or a washbasin, and the object information may be image information and parameter information of the water container.
[0078] For example, if the item information of the water container is a cup, the capacity of the cup can be determined based on the parameter information of the cup, such as specification parameters, and the hot water output of the hot water control valve and the ice water output of the ice water control valve can be determined based on the capacity and water outlet temperature of the water container, so that the water output of the water dispenser can meet the water outlet temperature while also meeting the capacity of the water container, thereby preventing the water in the water container from being too little or too much and causing overflow.
[0079] For example, if the item information of the water container is a washbasin, the capacity of the cup can be determined based on the image information of the washbasin, and the hot water output of the hot water control valve and the ice water output of the ice water control valve can be determined based on the capacity and water outlet temperature of the water container, so that the water output of the water dispenser can meet the water outlet temperature while also meeting the capacity of the water container, thereby preventing the water in the water container from being too little or too much and causing overflow.
[0080] S104, controlling the hot water control valve to discharge water based on the hot water output, and controlling the ice water control valve to discharge water based on the ice water output.
[0081] Specifically, the hot water control valve can be switched on and off according to the hot water output, thereby controlling the hot water output time of the hot water control valve. At the same time, the ice water control valve can be switched on and off according to the ice water output, thereby controlling the ice water output time of the ice water control valve.
[0082] For example, the hot water control valve can be switched on and off according to the hot water output, thereby controlling the hot water output time of the hot water control valve to be 1 minute. At the same time, the ice water control valve can be switched on and off according to the ice water output, thereby controlling the ice water output time of the ice water control valve to be 1 minute, thereby making the water output temperature of the water dispenser 50°C.
[0083] The water outlet control method of the water dispenser disclosed in the embodiment of the present application obtains the geographical location information and the current season information of the environment where the water dispenser is located; determines the water outlet temperature according to the geographical location information and the current season information; determines the hot water outlet of the hot water control valve and the ice water outlet of the ice water control valve according to the water outlet temperature; controls the hot water control valve to outlet water based on the hot water outlet, and controls the ice water control valve to outlet water based on the ice water outlet. In this way, the water outlet temperature can be intelligently determined according to the geographical location information and the current season information of different regions, thereby avoiding the user from repeatedly adjusting the water outlet temperature, and can intelligently provide water for users in different regions.
[0084] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a computer program. The computer program includes program instructions. The processor executes the above program instructions to implement any one of the water output control methods for detecting a water dispenser provided in the embodiments of the present application.
[0085] For example, the program is loaded by the processor and may execute the following steps:
[0086] Obtain geographic location information and current season information of the environment in which the water dispenser is located; determine the water outlet temperature according to the geographic location information and the current season information; determine the hot water outlet volume of the hot water control valve and the ice water outlet volume of the ice water control valve according to the water outlet temperature; control the hot water control valve to discharge water based on the hot water outlet volume, and control the ice water control valve to discharge water based on the ice water outlet volume.
[0087] The computer-readable storage medium may be an internal storage unit of the mobile device in the aforementioned embodiment, such as a hard disk or memory of the mobile device. The computer-readable storage medium may also be an external storage device of the mobile device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital card (Secure Digital Card, SD Card), a flash card (Flash Card), etc. equipped on the mobile device.
[0088] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, programs required for at least one function, etc.; the data storage area may store data created according to each program, etc.
[0089] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A water outlet control method for a water dispenser, characterized in that: Applied to a water dispenser, the water dispenser comprises a hot water control valve and an ice water control valve, the hot water control valve is used to output hot water, and the ice water control valve is used to output ice water; the method comprises: Obtaining geographical location information and current season information of the environment in which the water dispenser is located; determining the outlet water temperature according to the geographical location information and the current season information; Determine the hot water output of the hot water control valve and the ice water output of the ice water control valve according to the outlet water temperature; The hot water control valve is controlled to discharge water based on the hot water output, and the ice water control valve is controlled to discharge water based on the ice water output.
2. The method according to claim 1, characterized in that The determining of the outlet water temperature according to the geographical location information and the current season information includes: Determine longitude and latitude information according to the geographic location information; Determine a first temperature adjustment amount corresponding to the water dispenser according to the latitude and longitude information; Determining a second temperature adjustment amount corresponding to the water dispenser according to the current season information; The preset water outlet temperature is adjusted according to the first temperature adjustment amount and the second temperature adjustment amount to obtain the water outlet temperature.
3. The method according to claim 2, characterized in that The determining the first temperature adjustment amount corresponding to the water dispenser according to the longitude and latitude information includes: Determine the longitude and latitude interval corresponding to the longitude and latitude information; Based on the correspondence between the temperature adjustment amount and the preset longitude and latitude interval, the temperature adjustment amount corresponding to the longitude and latitude interval is determined as the first temperature adjustment amount.
4. The method according to claim 2, characterized in that: The step of adjusting the preset outlet water temperature according to the first temperature adjustment amount and the second temperature adjustment amount to obtain the outlet water temperature includes: Determine a weight ratio of the first temperature adjustment amount and a weight ratio of the second temperature adjustment amount according to the longitude and latitude information; Adjusting the first temperature adjustment amount according to the weight ratio of the first temperature adjustment amount to obtain a first target temperature adjustment amount; Adjusting the second temperature adjustment amount according to the weight ratio of the second temperature adjustment amount to obtain a second target temperature adjustment amount; The preset water outlet temperature is adjusted according to the first target temperature adjustment amount and the second target temperature adjustment amount to obtain the water outlet temperature.
5. The method according to claim 2, characterized in that: After determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, the method further includes: Acquire the user's drinking habit information, and determine the third temperature adjustment amount corresponding to the water dispenser according to the drinking habit information; The preset water outlet temperature is adjusted according to the first temperature adjustment amount, the second temperature adjustment amount, and the third temperature adjustment amount to obtain the water outlet temperature.
6. The method according to claim 2, characterized in that After determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, the method further includes: Obtaining temperature and humidity information of the environment in which the water dispenser is located; Determine the current weather type of the environment where the water dispenser is located according to the temperature and humidity information and the current season information; If the current weather type is an abnormal weather type, determining a fourth temperature adjustment amount corresponding to the water dispenser according to the temperature and humidity information; The preset water outlet temperature is adjusted according to the first temperature adjustment amount, the second temperature adjustment amount, and the fourth temperature adjustment amount to obtain the water outlet temperature.
7. The method according to claim 2, characterized in that After determining the second temperature adjustment amount corresponding to the water dispenser according to the current season information, the method further includes: Acquire a user's physical health assessment parameter, and determine a physical state according to the physical health assessment parameter; determining a fifth temperature adjustment amount corresponding to the water dispenser according to the physical state; The preset water outlet temperature is adjusted according to the first temperature adjustment amount, the second temperature adjustment amount, and the fifth temperature adjustment amount to obtain the water outlet temperature.
8. The method according to claim 1, characterized in that The water dispenser further includes a real-time clock module, and the method further includes: If it is determined that the water dispenser is in an off-network state, obtaining real-time time information through the real-time clock module; The current season information is determined according to the real-time time information.
9. A water dispenser, characterized in that: The water dispenser includes a hot water control valve and an ice water control valve, wherein the hot water control valve is used to output hot water and the ice water control valve is used to output ice water; the water dispenser also includes a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the water outlet control method of the water dispenser as described in any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the water outlet control method of a water dispenser according to any one of claims 1 to 8.
Citation Information
Cited By
Intelligent water dispenser control method based on user behavior prediction and related device
CN119439806A