Method and device for determining outlet water temperature of water heater, electronic equipment and storage medium
By detecting shower head model, indoor temperature, and user attribute information, a fitting curve is generated. Combined with support vector machine algorithm and user feedback, the problem of water heaters being unable to intelligently adjust the outlet water temperature is solved, and personalized temperature control is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2023-08-01
- Publication Date
- 2026-06-12
AI Technical Summary
Existing water heaters cannot intelligently adjust the water temperature according to the needs of different users, resulting in an inability to meet everyone's water temperature requirements.
By detecting the shower head model, indoor temperature, and user attribute information, a matching fitting curve is generated. The water outlet temperature of the water heater is determined based on the fitting curve. The curve is then trained using a support vector machine algorithm and adjusted according to user feedback and seasonality to achieve precise control.
It enables intelligent adjustment of the water heater's outlet temperature based on user needs, improving the water heater's intelligence and meeting everyone's water temperature requirements.
Smart Images

Figure CN116772429B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water heaters, and more particularly to a method, apparatus, electronic device, and storage medium for determining the outlet water temperature of a water heater. Background Technology
[0002] With the development of the times and the advancement of technology, there are more and more modes available for users to choose from in their homes. Shower heads are designed with a variety of modes to meet the needs of different users. Shower modes generally include three types of water flow modes: rain, massage, and jet. Current smart shower heads generally use the temperature of the water outlet as the standard for evaluating comfort. However, the water flow rate and water droplet size vary in different modes, resulting in different temperature changes in the water during spraying. The temperature of the water in contact with the skin is different from the temperature of the water outlet.
[0003] Generally speaking, the water temperature of a household water heater is constant, but different people in the household have different requirements for the water temperature that comes into contact with their skin. Current water heaters are not smart enough to meet everyone's water temperature needs. Summary of the Invention
[0004] This application provides a method, apparatus, electronic device, and storage medium for determining the outlet water temperature of a water heater, in order to solve the problem of water heaters not being smart enough.
[0005] In a first aspect, this application provides a method for determining the outlet water temperature of a water heater, the method comprising:
[0006] Upon detecting a shower head usage command, obtain the current shower head model, current indoor temperature, and attribute information of the user who is about to use the shower head;
[0007] Select at least one candidate fitting curve from the preset database that matches the current shower head model, the current indoor temperature, and the attribute information. The candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water spray temperature. Each candidate fitting curve corresponds to a shower head spray mode. The water spray temperature refers to the temperature of the water sprayed from the shower head onto the user.
[0008] Based on the detected actual spray pattern, a target fitting curve matching the actual spray pattern is selected from the candidate fitting curves;
[0009] The outlet water temperature of the water heater is determined according to the target fitting curve based on the water shower temperature set by the user.
[0010] Optionally, before selecting at least one candidate fitting curve from a preset database that matches the current indoor temperature and the attribute information, the method further includes:
[0011] Obtain the model information of the shower head and various sample information, wherein each sample information includes the sample spray mode, sample water temperature, sample indoor temperature and sample user attribute information;
[0012] The model information and the various sample information are processed by an algorithm model to generate candidate fitting curves. The algorithm model is based on support vector machine training, and each candidate fitting curve is generated for multiple similar sample information of the same shower head model and the same spray mode.
[0013] The correspondence between shower head model, indoor temperature, user attribute information and candidate fitting curves is stored in a preset database.
[0014] Optionally, the model information and the various sample information are processed by an algorithm model to obtain candidate fitting curves, including:
[0015] Based on the model information of the shower head, determine the water flow rate and water droplet size of the shower head in the sample spray mode;
[0016] The water dissipation efficiency is determined based on the water flow rate, the water droplet size, and the sample chamber temperature.
[0017] The algorithm model is used to process the sample water outlet temperature, the water outlet heat dissipation efficiency, and the attribute information of the sample users to obtain the correspondence between the water outlet temperature of the water heater and the water shower temperature.
[0018] The candidate fitting curves are generated based on the correspondence.
[0019] Optionally, the attribute information of the sample users includes height, age, or gender, wherein the user's height, age, or gender is related to the user's preferred shower spray temperature.
[0020] Optionally, after determining the outlet water temperature of the water heater according to the target fitting curve, the method further includes:
[0021] Obtain user feedback information on the terminal, wherein the feedback information includes whether the actual water shower temperature is colder or hotter than the set water shower temperature;
[0022] Adjust the target fitting curve based on the feedback information;
[0023] The adjusted target fitting curve is included in the preset database to replace the corresponding original candidate fitting curve.
[0024] Optionally, after determining the outlet water temperature of the water heater according to the target fitting curve, the method further includes:
[0025] Determine the season in which the water heater will be used each time;
[0026] The target fitted curve that appears most frequently in the same season is used as the candidate fitted curve for the next same season.
[0027] Optionally, after adjusting the target fitting curve, the method further includes:
[0028] If the curvature of the adjusted target fitting curve deviates from the curvature of the corresponding initial candidate fitting curve by more than a preset threshold, a warning message is issued, wherein the warning message indicates that the shower head or water heater has malfunctioned.
[0029] Secondly, this application provides a device for determining the outlet water temperature of a water heater, the device comprising:
[0030] The acquisition module is used to acquire the current indoor temperature and the attribute information of the user who is about to use the shower when a shower head usage command is detected.
[0031] The first selection module is used to select at least one candidate fitting curve from a preset database that matches the current indoor temperature and the attribute information. The candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water shower temperature. Each candidate fitting curve corresponds to a shower spray mode. The water shower temperature refers to the temperature of the water sprayed from the shower head onto the user.
[0032] The second selection module is used to select a target fitting curve that matches the actual spraying pattern from the candidate fitting curves based on the detected actual spraying pattern.
[0033] The determination module is used to determine the outlet water temperature of the water heater according to the target fitting curve based on the water shower temperature set by the user.
[0034] Thirdly, this application provides an electronic device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to:
[0035] Upon detecting a shower head usage command, obtain the current shower head model, current indoor temperature, and attribute information of the user who is about to use the shower head;
[0036] Select at least one candidate fitting curve from the preset database that matches the current shower head model, the current indoor temperature, and the attribute information. The candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water spray temperature. Each candidate fitting curve corresponds to a shower head spray mode. The water spray temperature refers to the temperature of the water sprayed from the shower head onto the user.
[0037] Based on the detected actual spray pattern, a target fitting curve matching the actual spray pattern is selected from the candidate fitting curves;
[0038] The outlet water temperature of the water heater is determined according to the target fitting curve based on the water shower temperature set by the user.
[0039] Fourthly, this application also provides a computer storage medium storing computer-executable instructions for executing the method for determining the outlet water temperature of a water heater as described in any of the preceding claims of this application.
[0040] Compared with the prior art, the technical solution provided in this application has the following advantages: The server determines multiple candidate fitting curves based on the current shower head model, current indoor temperature, and the user's attribute information. Since the candidate fitting curves are related to the shower head spray mode, after the user selects the actual spray mode, the server can select a target fitting curve that matches the actual spray mode from the multiple candidate fitting curves. Because the target fitting curve indicates the correspondence between the water heater outlet temperature and the water spray temperature, the controller can determine the corresponding water heater outlet temperature based on the water spray temperature set by the user, thereby controlling the water heater to dispense water at that temperature. This application, considering heat loss due to water droplet spraying, can control the water heater outlet temperature to vary for each user, improving the water heater's intelligence and meeting everyone's water temperature needs. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0044] Figure 1 A flowchart illustrating a method for determining the outlet water temperature of a water heater, provided as an embodiment of this application;
[0045] Figure 2A schematic diagram illustrating the relationship between comfortable flow rate and body surface temperature after showering, provided for embodiments of this application;
[0046] Figure 3 A schematic diagram illustrating the influence of gender and season on the comfortable temperature of shower water provided in this application embodiment;
[0047] Figure 4 A schematic diagram illustrating the process for determining the outlet water temperature of a water heater, as provided in an embodiment of this application.
[0048] Figure 5 A schematic diagram of a device for determining the outlet water temperature of a water heater provided in an embodiment of this application;
[0049] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0051] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0052] This application provides a method for determining the outlet water temperature of a water heater, which can be applied to servers or water heaters to ensure that the outlet water temperature of a showerhead meets the water temperature requirements of each user in a household. This application takes a server as an example. Figure 1 As shown, the method includes:
[0053] Step 101: If a shower head usage command is detected, obtain the current shower head model, current indoor temperature, and attribute information of the user who wants to use the shower head.
[0054] If a user wants to use the shower, they can first turn on the shower switch. At this time, the server detects the shower usage command and can determine the user's personal information through personnel identification information. Then, it retrieves the user's attribute information from the family personnel database. The personnel identification information can be unique identifiers such as fingerprints, iris scans, or facial recognition.
[0055] The server also obtains the current indoor temperature and the current shower head model. The current indoor temperature, the current shower head model, and user attribute information are all used to select a candidate fitting curve.
[0056] Step 102: Select at least one candidate fitting curve from the preset database that matches the current shower head model, current indoor temperature, and attribute information.
[0057] Among them, the candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water spray temperature. Each candidate fitting curve corresponds to a shower spray mode, and the water spray temperature refers to the temperature of the water sprayed from the showerhead onto the user.
[0058] The preset database contains multiple sets of candidate fitting curves. Each set includes multiple candidate fitting curves, and each candidate fitting curve corresponds to a shower spray mode. For example, if there are three shower spray modes, then a set of candidate fitting curves would contain three candidate fitting curves.
[0059] The candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water shower temperature. Different shower head models have different water outlet speeds and water droplet sizes. Furthermore, the same shower head has different water outlet speeds and water droplet sizes in different modes. This means that the heat dissipation of water during the spraying process is different, and the heat dissipation is related to the current indoor temperature where the shower head is located. Therefore, the water undergoes different temperature changes during the spraying process. The temperature of the water droplets when they come into contact with the skin, which is the water shower temperature, is different from the water outlet temperature of the water heater due to heat dissipation.
[0060] Figure 2 This diagram illustrates the relationship between comfortable water flow and body surface temperature after showering. It shows that different water flow rates can cause changes in the water temperature applied to the body, resulting in differences in the final perceived temperature.
[0061] Based on this, each user has a different preferred water temperature, which is related to the user's attributes, namely height, age, or gender. Different user heights result in different water spray distances, affecting water heat dissipation. Men and women, as well as the elderly, youth, and children, have different preferred water temperatures. In other words, a user's height, age, or gender is related to their preferred shower head temperature. This is just a partial example of attribute information; other attributes related to user-preferred water temperature are also within the scope of this application.
[0062] This application can also combine the current shower head model, current indoor temperature, and any one of the user's height, age, and gender to determine the user's preferred water temperature. Figure 3 The diagram illustrates the influence of gender and season on the comfortable shower water temperature. It can be seen that the comfortable shower water temperature is higher in winter than in summer, and the comfortable shower water temperature for men is higher than that for women in summer.
[0063] Step 103: Based on the detected actual spray pattern, select the target fitting curve that matches the actual spray pattern from the candidate fitting curves.
[0064] Since each candidate fitting curve corresponds to a shower spray mode, the number of candidate fitting curves selected in step 102 is the same as the number of shower spray modes. After the user starts the shower, they need to determine the actual spray mode, and the server selects the target fitting curve that matches the actual spray mode from the candidate fitting curves.
[0065] Step 104: Determine the water outlet temperature of the water heater according to the target fitting curve based on the water shower temperature set by the user.
[0066] The target fitting curve indicates the correspondence between the water heater's outlet temperature and the water spray temperature. After the user sets the water spray temperature, the corresponding water heater outlet temperature can be determined based on this correspondence. The server then controls the water heater to dispense water at this outlet temperature, so that the water sprayed onto the user is the water spray temperature desired by the user.
[0067] In this application, the server determines multiple candidate fitting curves based on the current shower head model, current indoor temperature, and user attribute information. Since these candidate fitting curves are related to the shower head spray mode, after the user selects the actual spray mode, the server can choose a target fitting curve from the multiple candidate curves that matches the actual spray mode. Because the target fitting curve indicates the correspondence between the water heater's outlet water temperature and the shower water temperature, the controller can determine the corresponding water heater outlet water temperature based on the user-set shower water temperature, thereby controlling the water heater to dispense water at that temperature. This application, considering heat loss due to water droplet spray, can control the water heater's outlet water temperature to vary for each user, improving the water heater's intelligence and meeting the individual user's water temperature needs.
[0068] As an optional implementation, before selecting at least one candidate fitting curve that matches the current indoor temperature and attribute information from a preset database, the method further includes: acquiring shower head model information and multiple sample information, wherein each sample information includes sample spray mode, sample water outlet temperature, sample indoor temperature, and sample user attribute information; processing the model information and multiple sample information through an algorithm model to generate candidate fitting curves, wherein the algorithm model is obtained based on support vector machine training, and each candidate fitting curve is generated based on multiple similar sample information for the same shower head model and the same spray mode; and storing the correspondence between shower head model, indoor temperature, user attribute information, and candidate fitting curves in a preset database.
[0069] Since different shower head models have different numbers and sizes of water outlets, this application sets up a set of candidate fitting curves for each model of shower head. The process of generating candidate fitting curves is as follows.
[0070] The server acquires shower head model information and various sample information. Each sample includes the shower head's spray mode, water outlet temperature, indoor temperature, and user attributes (where a user is considered a single user). The server trains an algorithm model based on an SVM (Support Vector Machine) and then processes the model information and sample information. Similar sample information will generate a candidate fitting curve. Similar sample information refers to samples with the same shower mode, water outlet temperature within a set temperature range, indoor temperature within a preset temperature range, and user attributes within a common attribute range.
[0071] Specifically, the algorithm model processes the model information and various sample information to obtain candidate fitting curves, including: determining the water outlet heat dissipation efficiency based on the water outlet speed, water droplet size, and sample indoor temperature; processing the sample water outlet temperature, water outlet heat dissipation efficiency, and sample user attribute information through the algorithm model to obtain the correspondence between the water outlet temperature of the water heater and the water shower temperature; and generating candidate fitting curves based on the correspondence.
[0072] Since different showerhead models have different numbers and sizes of water outlets, the server determines the water flow rate and water droplet size of the showerhead in the sample spray mode based on the showerhead model information. Since the heat dissipation of the water droplets varies with different indoor temperatures, the server combines the water flow rate, water droplet size, and sample indoor temperature to determine the water flow heat dissipation efficiency. Finally, the algorithm model processes the sample water flow temperature, water flow heat dissipation efficiency, and attribute information of similar sample users to obtain the correspondence between the water heater's water flow temperature and the water spray temperature. Finally, a candidate fitting curve is generated based on this correspondence.
[0073] As an optional implementation, after determining the water outlet temperature of the water heater according to the target fitting curve, the method further includes: obtaining feedback information from users on the terminal, wherein the feedback information includes whether the actual water shower temperature is colder or hotter than the set water shower temperature; adjusting the target fitting curve according to the feedback information; and incorporating the adjusted target fitting curve into a preset database to replace the corresponding original candidate fitting curve.
[0074] After using the smart showerhead, users can rate it on the relevant smart home app, indicating whether the water temperature is cold or hot. The server uses this feedback to determine user satisfaction. Based on this feedback, the server adjusts the target fitting curve to meet the user's needs. The adjusted target fitting curve is then added to a preset database, replacing the original candidate fitting curves. This updates the preset database, allowing users to select the adjusted fitting curve from the database the next time they use the showerhead, ensuring the fitting curve better matches their water temperature requirements.
[0075] like Figure 4 This is a schematic diagram illustrating the process of determining the outlet water temperature of a water heater.
[0076] Furthermore, after determining the water outlet temperature of the water heater according to the target fitting curve, the method also includes: determining the season in which the water heater is used each time; and using the target fitting curve that appears most frequently in the same season as the candidate fitting curve for the next same season.
[0077] The server records the season in which the water heater is used each time, i.e., spring, summer, autumn, and winter, every three months. Then, the target fitting curve that appears most frequently in each season is taken as the most comfortable shower temperature that users are most accustomed to using. This target fitting curve is then used as the candidate fitting curve for the next year in the same season. Since the shower temperature required by the same user should not change much in the following year, this can improve the accuracy of the candidate fitting curve for the next year and improve user satisfaction.
[0078] In addition, the showerhead may become clogged with limescale. After the controller adjusts the target fitting curve, if it detects that the curvature of the adjusted target fitting curve deviates from the curvature of the corresponding initial candidate fitting curve by more than a preset threshold, such as more than 10%, it will promptly remind the user to check the condition of the showerhead or water heater, clean and resolve issues such as water flow rate and water temperature caused by limescale, and ensure the long-term stability of the product and the best user experience.
[0079] This application also provides a device for determining the outlet water temperature of a water heater, such as... Figure 5 As shown, the device includes:
[0080] The acquisition module 501 is used to acquire the current shower head model, the current indoor temperature, and the attribute information of the user who is about to use the shower head when a shower head usage command is detected.
[0081] The first selection module 502 is used to select at least one candidate fitting curve from the preset database that matches the current shower head model, current indoor temperature, and attribute information. The candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water spray temperature. Each candidate fitting curve corresponds to a shower head spray mode. The water spray temperature refers to the temperature of the water sprayed from the shower head onto the user.
[0082] The second selection module 503 is used to select a target fitting curve that matches the actual spraying pattern from the candidate fitting curves based on the detected actual spraying pattern.
[0083] The determination module 504 is used to determine the outlet water temperature of the water heater according to the target fitting curve based on the water shower temperature set by the user.
[0084] Optionally, the device is also used for:
[0085] Obtain the model information of the shower head and various sample information, including the sample spray mode, sample water temperature, sample indoor temperature, and sample user attribute information for each sample.
[0086] The algorithm model processes the model information and various sample information to generate candidate fitting curves. The algorithm model is trained based on support vector machine, and each candidate fitting curve is generated for multiple similar sample information of the same shower head model and the same spray mode.
[0087] The correspondence between shower head model, indoor temperature, user attribute information and candidate fitting curves is stored in a preset database.
[0088] Optionally, the device is also used for:
[0089] Based on the shower head model information, determine the water flow rate and water droplet size of the shower head in the sample spray mode;
[0090] The heat dissipation efficiency of the water outlet is determined based on the water outlet velocity, water droplet size, and sample chamber temperature.
[0091] The algorithm model is used to process the sample water outlet temperature, water heat dissipation efficiency, and sample user attribute information to obtain the correspondence between the water outlet temperature of the water heater and the water shower temperature.
[0092] Candidate fitting curves are generated based on the correspondence.
[0093] Optionally, the sample users' attribute information includes height, age, or gender, where the user's height, age, or gender is related to the user's preferred shower spray temperature.
[0094] Optionally, the device is also used for:
[0095] Obtain user feedback on the terminal, including whether the actual water shower temperature is colder or hotter than the set water shower temperature;
[0096] Adjust the target fitting curve based on the feedback information;
[0097] The adjusted target fitting curve is included in the preset database to replace the corresponding original candidate fitting curve.
[0098] Optionally, the device is also used for:
[0099] Determine the season in which the water heater will be used each time;
[0100] The target fitted curve that appears most frequently in the same season is used as the candidate fitted curve for the next same season.
[0101] Optionally, the device is also used for:
[0102] If the curvature of the adjusted target fitting curve deviates from the curvature of the corresponding initial candidate fitting curve by more than a preset threshold, a warning message will be issued, indicating that the shower head or water heater has malfunctioned.
[0103] like Figure 6 As shown in the figure, this application provides an air conditioner control device, including a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602 and the memory 603 communicate with each other through the communication bus 604.
[0104] Memory 603 is used to store computer programs.
[0105] In one embodiment of this application, the processor 601, when executing a program stored in the memory 603, implements the method for determining the outlet water temperature of a water heater provided in any of the foregoing method embodiments, including:
[0106] Upon detecting a showerhead usage command, obtain the current indoor temperature and the attribute information of the user who is about to use the showerhead;
[0107] Select at least one candidate fitting curve from the preset database that matches the current indoor temperature and attribute information. The candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water shower temperature. Each candidate fitting curve corresponds to a shower spray mode. The water shower temperature refers to the temperature of the water sprayed from the shower head onto the user.
[0108] Based on the detected actual spray pattern, select the target fitting curve that matches the actual spray pattern from the candidate fitting curves;
[0109] The outlet water temperature of the water heater is determined according to the water shower temperature set by the user and the target fitting curve.
[0110] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the method for determining the outlet water temperature of a water heater as provided in any of the foregoing method embodiments.
[0111] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0112] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0113] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0114] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for determining the outlet water temperature of a water heater, characterized in that, The method includes: Upon detecting a shower head usage command, obtain the current shower head model, current indoor temperature, and attribute information of the user who is about to use the shower head; Select at least one candidate fitting curve from the preset database that matches the current shower head model, the current indoor temperature, and the attribute information. The candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water spray temperature. Each candidate fitting curve corresponds to a shower head spray mode. The water spray temperature refers to the temperature of the water sprayed from the shower head onto the user. Based on the detected actual spray pattern, a target fitting curve matching the actual spray pattern is selected from the candidate fitting curves; Based on the water shower temperature set by the user, the outlet water temperature of the water heater is determined according to the target fitting curve. Before selecting at least one candidate fitting curve from a preset database that matches the current indoor temperature and the attribute information, the method further includes: Obtain the model information of the shower head and various sample information, wherein each sample information includes the sample spray mode, sample water temperature, sample indoor temperature and sample user attribute information; The model information and the various sample information are processed by an algorithm model to generate candidate fitting curves. The algorithm model is based on support vector machine training, and each candidate fitting curve is generated for multiple similar sample information of the same shower head model and the same spray mode. Store the correspondence between shower head model, indoor temperature, user attribute information and candidate fitting curves in a preset database; The algorithm model processes the model information and the various sample information to obtain candidate fitting curves, including: Based on the model information of the shower head, determine the water flow rate and water droplet size of the shower head in the sample spray mode; The water dissipation efficiency is determined based on the water flow rate, the water droplet size, and the sample chamber temperature. The algorithm model is used to process the sample water outlet temperature, the water outlet heat dissipation efficiency, and the attribute information of the sample users to obtain the correspondence between the water outlet temperature of the water heater and the water shower temperature. The candidate fitting curves are generated based on the correspondence.
2. The method according to claim 1, characterized in that, The attribute information of the sample users includes height, age, or gender, wherein the user's height, age, or gender is related to the user's preferred shower spray temperature.
3. The method according to claim 1, characterized in that, After determining the outlet water temperature of the water heater according to the target fitting curve, the method further includes: Obtain user feedback information on the terminal, wherein the feedback information includes whether the actual water shower temperature is colder or hotter than the set water shower temperature; Adjust the target fitting curve based on the feedback information; The adjusted target fitting curve is included in the preset database to replace the corresponding original candidate fitting curve.
4. The method according to claim 1, characterized in that, After determining the outlet water temperature of the water heater according to the target fitting curve, the method further includes: Determine the season in which the water heater will be used each time; The target fitted curve that appears most frequently in the same season is used as the candidate fitted curve for the next same season.
5. The method according to claim 1, characterized in that, After adjusting the target fitting curve, the method further includes: If the curvature of the adjusted target fitting curve deviates from the curvature of the corresponding initial candidate fitting curve by more than a preset threshold, a warning message is issued, wherein the warning message indicates that the shower head or water heater has malfunctioned.
6. A device for determining the outlet water temperature of a water heater, characterized in that, The device includes: The acquisition module is used to acquire the current indoor temperature and the attribute information of the user who is about to use the shower when a shower head usage command is detected. The first selection module is used to select at least one candidate fitting curve from a preset database that matches the current indoor temperature and the attribute information. The candidate fitting curve indicates the correspondence between the water outlet temperature of the water heater and the water shower temperature. Each candidate fitting curve corresponds to a shower spray mode. The water shower temperature refers to the temperature of the water sprayed from the shower head onto the user. The second selection module is used to select a target fitting curve that matches the actual spraying pattern from the candidate fitting curves based on the detected actual spraying pattern. The determination module is used to determine the outlet water temperature of the water heater according to the target fitting curve based on the water shower temperature set by the user. Before selecting at least one candidate fitting curve from the preset database that matches the current indoor temperature and the attribute information, the process further includes: Obtain the model information of the shower head and various sample information, wherein each sample information includes the sample spray mode, sample water temperature, sample indoor temperature and sample user attribute information; The model information and the various sample information are processed by an algorithm model to generate candidate fitting curves. The algorithm model is based on support vector machine training, and each candidate fitting curve is generated for multiple similar sample information of the same shower head model and the same spray mode. Store the correspondence between shower head model, indoor temperature, user attribute information and candidate fitting curves in a preset database; The algorithm model processes the model information and the various sample information to obtain candidate fitting curves, including: Based on the model information of the shower head, determine the water flow rate and water droplet size of the shower head in the sample spray mode; The water dissipation efficiency is determined based on the water flow rate, the water droplet size, and the sample chamber temperature. The algorithm model is used to process the sample water outlet temperature, the water outlet heat dissipation efficiency, and the attribute information of the sample users to obtain the correspondence between the water outlet temperature of the water heater and the water shower temperature. The candidate fitting curves are generated based on the correspondence.
7. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1-5.