A control method and system of a water heater and a water heater
Patent Information
- Application Number
- CN202510477177.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2026-10-23
AI Technical Summary
[0002]随着技术的发展,热水器逐渐成为重要的家电产品;但现有技术中,热水器的循环功能控制通常为定时控制或手动控制,进而导致热水器无法适配用户的用水需求,用户在非设定时间段用水的情况下,用户需要等待热水器的重新加热,导致用户用水不便
[0044]通过基于预设周期内的多个用水信息点,遍历多个用水信息点以从多个用水信息点中确定中心信息点以及中心信息点的邻近关系;从而确定至少一个信息点组合,并基于至少一个信息点组合生成至少一个目标习惯簇,以便于基于目标习惯簇生成用于控制热水器运行的控制信息,其中,目标习惯簇能够表征用户的用水习惯,进而以使热水器的运行满足用户的用水习惯,实现热水器的个性化设置,同时避免热水器的反复启动关闭,从而降低热水器的能源损耗。
Smart Images

Figure CN122961036A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of kitchen appliance control technology, and in particular to a control method, system and water heater for a water heater. Background Technology
[0002] With the development of technology, water heaters have gradually become important home appliances. However, in the current technology, the circulation function control of water heaters is usually timed or manual, which makes it impossible for water heaters to adapt to users' water needs. When users use water outside of the set time period, they need to wait for the water heater to reheat, which causes inconvenience to users. Summary of the Invention
[0003] To address the aforementioned problems in the prior art, the purpose of this application is to categorize users' water usage habits based on their water usage information points, thereby enabling the water heater to operate in accordance with these habits, achieving personalized settings for the water heater, and improving the convenience of water use for users.
[0004] To address the aforementioned problems, this application provides a method for controlling a water heater, comprising:
[0005] Acquire multiple water usage information points within a preset period; each water usage information point includes water usage time information and water usage temperature information.
[0006] The process iterates through the multiple water usage information points, determines multiple central information points and their proximity relationships from among them; the number of neighboring information points for any central information point is greater than or equal to a preset number; the distance between any neighboring information point and any central information point is less than or equal to a preset distance; the distance between any neighboring information point and any central information point is determined based on the water usage time information and the water usage temperature information.
[0007] At least one information point combination is determined based on the proximity relationship of the multiple central information points; central information points that are adjacent to each other are in the same information point combination.
[0008] At least one target habit cluster is generated based on the combination of the at least one information point; each target habit cluster includes target time point information and target temperature information;
[0009] Control information is generated based on the target time point information corresponding to the target habit cluster and the target temperature information corresponding to the target habit cluster; the control information is used to control the operation of the water heater.
[0010] In this embodiment of the application, the step of traversing the plurality of water usage information points and determining a plurality of central information points and the proximity relationships of the plurality of central information points includes:
[0011] Obtain any untraversed water usage information point;
[0012] Based on the water usage time information, water temperature information, first preset time difference, and first preset temperature difference corresponding to any untraversed water usage information point, distance calculation is performed to obtain the neighboring information points corresponding to any untraversed water usage information point; the time difference between any untraversed water usage information point and the neighboring information points is less than the first preset time difference; the temperature difference between any untraversed water usage information point and the neighboring information points is less than the first preset temperature difference.
[0013] If the number of neighboring information points corresponding to any untraversed water information point is greater than or equal to the preset number, then the untraversed water information point is determined as the center information point.
[0014] The proximity relationship of the plurality of central information points is determined based on the neighboring information points corresponding to any untraversed water information point.
[0015] In this embodiment of the application, determining at least one combination of information points based on the proximity relationship of the plurality of central information points includes:
[0016] Designate any central information point as the target central information point;
[0017] When the proximity relationship of the target center information point indicates that there are center information points that are mutually adjacent to the target center information point, the target center information point and the mutually adjacent center information points are determined to be the same information point combination;
[0018] The center information point of the mutually adjacent information points is determined as the target center information point;
[0019] Repeated execution: When the proximity relationship of the target center information point indicates that there are mutually adjacent center information points, the target center information point and the mutually adjacent center information points are determined as the same information point combination, until the mutually adjacent center information points are determined as the target center information point, until the target center information point does not have mutually adjacent center information points, and a first target information point combination is generated based on the center information points in the same information point combination.
[0020] In this embodiment of the application, determining at least one combination of information points based on the proximity relationship of the plurality of central information points further includes:
[0021] If the proximity relationship of the target center information point indicates that there are no mutually adjacent center information points, a second target information point combination is generated based on the target center information point.
[0022] In this embodiment of the application, the water heater control method further includes:
[0023] The water usage time difference and water usage temperature difference corresponding to any target habit cluster are determined based on the water usage time information and water usage temperature information corresponding to the boundary information points in any target habit cluster; the boundary information points are non-central information points in any target habit cluster.
[0024] If the water usage time difference corresponding to any target habit cluster is greater than or equal to the second preset time difference, or the water usage temperature difference corresponding to any target habit cluster is greater than or equal to the second preset temperature difference, the quantity value corresponding to the preset quantity is increased and / or the quantity value corresponding to the preset distance is decreased; the second preset time difference is greater than the first preset time difference; the second preset temperature difference is greater than the first preset temperature difference;
[0025] The central information point is updated from the plurality of water information points based on the increased preset quantity and / or the reduced quantity value corresponding to the preset distance.
[0026] In this embodiment of the application, the water heater control method further includes:
[0027] If the number of neighboring water information points of any untraversed water information point is less than a preset number, the untraversed water information point is determined as a pending information point.
[0028] If the multiple water usage information points have been traversed and the pending information point does not belong to any target habit cluster, the pending information point is determined to be an invalid information point.
[0029] In this embodiment of the application, the water heater control method further includes:
[0030] Obtain multiple water usage information points for the current period;
[0031] If the number of discrete information points among the plurality of water usage information points is greater than a preset discrete number, the control information is updated based on the plurality of water usage information points in the current period; the discrete information points are information points that do not belong to the at least one target habit cluster.
[0032] In this embodiment of the application, the water heater control method further includes:
[0033] Obtain user adjustment instructions; the user adjustment instructions include adjustment cluster identifier, target time adjustment information, and target temperature adjustment information;
[0034] Based on the target time adjustment information and the target temperature adjustment information, the target habit cluster corresponding to the adjustment cluster identifier is adjusted.
[0035] On the other hand, this application also provides a control system for a water heater, the system comprising:
[0036] The information acquisition module is used to acquire multiple water usage information points within a preset period; each water usage information point includes water usage time information and water usage temperature information.
[0037] The center point determination module is used to traverse the multiple water usage information points, determine multiple center information points and their proximity relationships from the multiple water usage information points; the number of neighboring information points of any center information point is greater than or equal to a preset number; the distance between the neighboring information points and any center information point is less than or equal to a preset distance; the distance between the neighboring information points and any center information point is determined based on the water usage time information and the water usage temperature information;
[0038] The information point combination determination module is used to determine at least one information point combination based on the proximity relationship of the plurality of central information points; central information points that are adjacent to each other are in the same information point combination;
[0039] The cluster generation module is used to generate at least one target habit cluster based on the combination of the at least one information point; each target habit cluster includes target time point information and target temperature information;
[0040] A control information generation module is used to generate control information based on the target time point information corresponding to the target habit cluster and the target temperature information corresponding to the target habit cluster; the control information is used to control the operation of the water heater.
[0041] On the other hand, this application also provides an electronic device, the device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the control method of the water heater described above.
[0042] On the other hand, this application also provides a computer storage medium storing at least one instruction or at least one program, wherein the at least one instruction or the at least one program is loaded and executed by a processor to implement the control method of the water heater described above.
[0043] Due to the above technical solution, the water heater control method described in this application has the following beneficial effects:
[0044] By traversing multiple water usage information points within a preset period, a central information point and its proximity relationships are determined from these points. This process identifies at least one combination of information points and generates at least one target habit cluster based on this combination. This cluster is then used to generate control information for controlling the operation of the water heater. The target habit cluster represents the user's water usage habits, thereby ensuring that the water heater operates in accordance with those habits, achieving personalized settings for the water heater, and preventing repeated start-ups and shutdowns, thus reducing energy consumption. Attached Figure Description
[0045] To more clearly illustrate the technical solutions of this application, the accompanying drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0046] Figure 1 This is a flowchart illustrating the control method of a water heater according to an embodiment of this application;
[0047] Figure 2 This is a schematic diagram of the process for determining the central information point and the proximity relationship of the central information point in the hot water control method of this application embodiment;
[0048] Figure 3 This is a schematic diagram of the process for determining the combination of first target information points in the water heater control method of this application embodiment;
[0049] Figure 4 This is a schematic diagram of the update process of the central information point in the control method of the water heater according to an embodiment of this application;
[0050] Figure 5 This is a schematic diagram of the control system structure of the water heater provided in the embodiment of this application;
[0051] Figure 6 This is a hardware structure block diagram corresponding to the water heater control method provided in the embodiments of this application. Detailed Implementation
[0052] 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, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0053] The term "an embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of this application. In the description of this application, it should be understood that the terms "upper," "lower," "left," "right," "top," "bottom," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. Moreover, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such information can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein.
[0054] Combination Figure 1 This application introduces a water heater control method according to an embodiment, the method comprising:
[0055] S1001. Obtain multiple water usage information points within a preset period; each water usage information point includes water usage time information and water usage temperature information.
[0056] In this embodiment of the application, the preset cycle refers to the operating cycle of the water heater. Specifically, the preset cycle can be one day, one week, or even one month or one year. The water information point represents the user's water usage data. The water usage time information can include the start time or end time of the user's water usage during a single water usage process, and the water temperature information can include the average water temperature of the user during a single water usage process.
[0057] In a specific embodiment of this application, the user's water usage information is determined by the combustion status of the water heater. This can be done by storing the acquired water usage information locally or by storing it in the cloud.
[0058] S1002. Traverse multiple water usage information points, determine multiple central information points and their proximity relationships from the multiple water usage information points; the number of neighboring information points of any central information point is greater than or equal to a preset number; the distance between a neighboring information point and any central information point is less than or equal to a preset distance; the distance between a neighboring information point and any central information point is determined based on water usage time information and water usage temperature information.
[0059] In this embodiment, the proximity relationship of the central information point includes the proximity state and non-proximity state of the central information point and other water use information. Specifically, if the distance between the central information point and other water use information points is less than or equal to a preset distance, it indicates that the central information point and other water use information points are in a proximity state. When the central information point and other water use information are in a proximity state, the other water use points are the proximity information points of the central information point. If the distance between the central information point and other water use information points is greater than the preset distance, it indicates that the central information point and other water use information points are in a non-proximity state.
[0060] S1003. Determine at least one information point combination based on the proximity relationship of multiple central information points; central information points that are adjacent to each other are in the same information point combination.
[0061] In a specific embodiment of this application, it is assumed that when central information point A and central information point B are adjacent information points, then central information point A and central information point B are the same information point combination (A, B).
[0062] S1004. Generate at least one target habit cluster based on at least one information point combination; each target habit cluster includes target time point information and target temperature information.
[0063] In this embodiment, one information point combination corresponds to one target habit cluster. For example, the same information point combination (A, B) corresponds to target habit cluster AB. The target time information is determined based on the water usage time information corresponding to the water usage information points within the target habit cluster. For example, the target time information includes the water usage start time and the water usage end time within the target habit cluster, and the water usage time information corresponding to the water usage information points within the target habit cluster is located between the water usage start time and the water usage end time within the target habit cluster. The target temperature information is determined based on the water usage temperature information corresponding to the water usage information points within the target habit cluster. For example, the target temperature information is the average temperature of the water usage temperature corresponding to the water usage information points within the target habit cluster.
[0064] In a specific embodiment of this application, it is assumed that the target habit cluster ABC includes water usage information point A, water usage information point B, and water usage information point C; wherein, water usage information point A includes time t. a and temperature T a Water usage information point B includes time t b and temperature T b Water usage information point C includes time t c and temperature T c , t a <t b <t c Therefore, the target time information could be the water usage start time t. a Until the end of water use time tc ; The target temperature information can be the holding temperature: (T a +T b +T c ) / 3.
[0065] S1005. Generate control information based on the target time point information and the target temperature information corresponding to the target habit cluster; the control information is used to control the operation of the water heater.
[0066] In a specific embodiment of this application, S1005 includes:
[0067] Within the target period, the water heater is activated based on the water usage start time in the control information to keep the water heater temperature within the temperature range corresponding to the target temperature information; the target period is the period corresponding to the preset period.
[0068] The water heater is shut off based on the water usage end time in the control information.
[0069] In this embodiment, multiple water usage information points within a preset period are traversed to determine a central information point and its proximity relationships. This determines at least one combination of information points, and at least one target habit cluster is generated based on this combination. This allows for the generation of control information for controlling the operation of the water heater. The target habit cluster represents the user's water usage habits, thereby ensuring that the water heater operates in accordance with these habits, achieving personalized settings for the water heater, and preventing repeated start-ups and shutdowns, thus reducing energy consumption.
[0070] refer to Figure 2 In this embodiment of the application, S1002 includes:
[0071] S2001. Obtain any untraversed water usage information point.
[0072] S2002. Based on the water usage time information corresponding to any untraversed water usage information point, the water temperature information corresponding to any untraversed water usage information point, the first preset time difference, and the first preset temperature difference, distance calculation is performed to obtain the neighboring information points corresponding to any untraversed water usage information point; the time difference between any untraversed water usage information point and the neighboring information points is less than the first preset time difference; the temperature difference between any untraversed water usage information point and the neighboring information points is less than the first preset temperature difference.
[0073] In a specific embodiment of this application, the first preset time difference can be 30 minutes or 15 minutes; the first preset temperature difference can be 15° or 20°.
[0074] In a specific embodiment of this application, the proximity information points can be determined based on the following conditional formula:
[0075] (X1-N) <X i <(X1+N)
[0076] (Y1-M) <Y i <(Y1+M)
[0077] Where X1 represents the water usage time information corresponding to the neighboring information points, and Y1 represents the water temperature information corresponding to the neighboring information points; X i Y represents the water usage time information corresponding to any untraversed water usage information point. i Water temperature information corresponding to any untraversed water usage information point; N is the first preset time difference; M is the first preset temperature difference.
[0078] S2003. If the number of neighboring information points corresponding to any untraversed water information point is greater than or equal to a preset number, determine any untraversed water information point as the center information point.
[0079] In a specific embodiment of this application, the preset quantity can be 5 or 3.
[0080] S2004. Determine the proximity relationship of multiple central information points based on the neighboring information points corresponding to any untraversed water information point.
[0081] In a specific embodiment of this application, after S2004, the method further includes: determining any untraversed water information point in S2001 as a traversed water information point.
[0082] In this embodiment, the distance between water information points is determined by setting a first preset time difference and a first preset temperature difference, thereby improving the accuracy of water information point classification, improving the accuracy of target habit cluster generation, and thus improving the accuracy of personalized control of the water heater.
[0083] refer to Figure 3 In this embodiment of the application, S1003 includes:
[0084] S3001. Determine any central information point as the target central information point.
[0085] S3002. When the target center information point has neighboring center information points, the target center information point and the neighboring center information points are identified as the same information point combination.
[0086] S3003. Determine the center information point that is a neighboring information point as the target center information point.
[0087] Repeat steps S3002-S3003 until there are no neighboring center information points for the target center information points. Generate the first target information point combination based on the center information points within the same information point combination.
[0088] In a specific embodiment of this application, based on S3001-S3003, a first target information point combination can be generated from the central information points within the same information point combination. For example, if the central information points within the same information point combination include A and B, then the first target information point combination (A, B) can be generated based on central information point A and central information point B.
[0089] In a specific embodiment of this application, central information point A and central information point B are adjacent points, and central information point A and central information point C are adjacent points. Therefore, central information point A, central information point B, and central information point C are the same information point combination.
[0090] In this embodiment of the application, by setting the central information points that are adjacent to each other as the same information point combination, the user's water usage habits are not classified too much, too many target habit clusters are not obtained, and the repeated start-up and shutdown of the water heater are not avoided, thereby reducing the energy consumption of the water heater.
[0091] In this embodiment of the application, S1003 further includes:
[0092] S4001. In the case where there are no mutually adjacent central information points representing the proximity relationship of the target central information points, a second combination of target information points is generated based on the target central information points.
[0093] In a specific embodiment of this application, based on S4001, an isolated center information point can be used to generate a second target information point combination. For example, if center information point C does not have any other adjacent center information points, then the second target information point combination is (C).
[0094] In this embodiment of the application, by directly determining the center point information that does not have neighboring points as a target information point combination, the accuracy of water information point classification is improved, the accuracy of target habit cluster generation is improved, and the accuracy of personalized control of water heater is improved.
[0095] refer to Figure 4 In this embodiment of the application, the water heater control method further includes:
[0096] S5001. Based on the water usage time information and water usage temperature information corresponding to the boundary information points in any target habit cluster, determine the water usage time difference and water usage temperature difference corresponding to any target habit cluster; the boundary information point is a non-central information point in any target habit cluster.
[0097] In a specific embodiment of this application, it is assumed that the target habit cluster ABC includes water information point A, water information point B, and water information point C, wherein only water information point A is the center information point, and water information point B and water information point C are the boundary information points.
[0098] S5002. If the water usage time difference corresponding to any target habit cluster is greater than or equal to the second preset time difference, or the water usage temperature difference corresponding to any target habit cluster is greater than or equal to the second preset temperature difference, increase the quantity value corresponding to the preset quantity and / or decrease the quantity value corresponding to the preset distance; the second preset time difference is greater than the first preset time difference; the second preset temperature difference is greater than the first preset temperature difference.
[0099] In this embodiment of the application, the water usage time difference corresponding to any target habit cluster being greater than or equal to the second preset time difference indicates that the time span of the target habit cluster is relatively long, and the water usage temperature difference corresponding to any target habit being greater than or equal to the second preset temperature difference indicates that the temperature span of the target habit cluster is relatively large. The reason for this may be that in the process of determining the combination of the same information points, there are too many central information points that are adjacent to each other and the distance between them is equal to the preset distance.
[0100] In a specific embodiment of this application, the second preset time difference can be 2 hours or 3 hours; the second preset temperature can be 50° or 40°.
[0101] In this embodiment of the application, by increasing the preset number and / or decreasing the preset distance, the filtering accuracy of the central information point is improved, so as to make the correlation of water information points within the target habit cluster stronger.
[0102] S5003. Update the central information point from multiple water information points based on the increased preset quantity and / or the quantity value corresponding to the decreased preset distance.
[0103] In this embodiment of the application, when the data within the target habit cluster is too large, in order to avoid errors in the analysis of user water usage habits due to excessive extreme data, the preset quantity is increased and / or the preset distance is reduced, thereby improving the classification accuracy of the target habit cluster, thereby improving the accuracy of water usage information point classification, improving the generation accuracy of the target habit cluster, and thus improving the personalized control accuracy of the water heater.
[0104] In this embodiment of the application, the water heater control method further includes:
[0105] S6001. If the number of neighboring water information points of any untraversed water information point is less than a preset number, the untraversed water information point is determined as a pending information point.
[0106] In this embodiment of the application, if the number of neighboring water information points of any untraversed water information point is less than a preset number, it indicates that the water information point is a non-central information point.
[0107] S6002. If multiple water usage information points have been traversed and the pending information point does not belong to any target habit cluster, the pending information point is determined to be an invalid information point.
[0108] In the embodiments of this application, the fact that the undetermined information point does not belong to any target habit cluster indicates that the undetermined information point is a discrete point, which is the user's accidental water usage process.
[0109] In this embodiment of the application, by invalidating the data of overly discrete water usage information points, the occasional water usage habits are prevented from affecting the generation of target habit clusters, thereby improving the accuracy of water usage information point classification, improving the accuracy of target habit cluster generation, and thus improving the accuracy of personalized control of water heaters.
[0110] In this embodiment of the application, the water heater control method further includes:
[0111] S7001: Obtain multiple water usage information points for the current period.
[0112] S7002. When the number of discrete information points among multiple water use information points is greater than the preset number of discrete points, update the control information based on the multiple water use information points in the current period; the discrete information points are information points that do not belong to at least one target habit cluster.
[0113] In this embodiment of the application, the number of discrete information points among multiple water information points being greater than a preset discrete number indicates that the user's water usage habits have changed, for example, due to changes in work and rest schedules or user changes.
[0114] In this embodiment, when there is a large discrepancy between the user's water usage information data and the target habit cluster in the control information, the water heater usage habits are reclassified. This can adapt to changes in the user's water heater usage habits or changes in the user, thereby improving the personalization of water heater control.
[0115] In this embodiment of the application, the water heater control method further includes:
[0116] S8001, Obtain user adjustment instructions; user adjustment instructions include adjustment cluster identifier, target time adjustment information, and target temperature adjustment information.
[0117] S8002. Based on the target time adjustment information and the target temperature adjustment information, adjust the target habitual cluster corresponding to the adjustment cluster identifier.
[0118] In a specific embodiment of this application, the user adjustment command can be issued through the control panel of the water heater or through a third-party controller that is communicatively connected to the water heater controller.
[0119] In this embodiment of the application, the user can send user adjustment commands to adjust the time and temperature information of the target habit cluster, thereby further improving the personalized settings of the water heater control.
[0120] The water heater control method in this application has the following beneficial effects:
[0121] By traversing multiple water usage information points within a preset period, a central information point and its proximity relationships are determined from these multiple water usage information points. This process identifies at least one combination of information points and generates at least one target habit cluster based on this combination. This allows for the generation of control information for controlling the operation of the water heater. The target habit cluster represents the user's water usage habits, thereby ensuring that the water heater operates in accordance with these habits, achieving personalized settings for the water heater, avoiding repeated start-ups and shutdowns, and reducing energy consumption.
[0122] refer to Figure 5 This application also provides a control system for a water heater, the system comprising:
[0123] The information acquisition module 101 is used to acquire multiple water usage information points within a preset period; each water usage information point includes water usage time information and water usage temperature information.
[0124] The center point determination module 102 is used to traverse multiple water usage information points, determine multiple center information points and their proximity relationships from the multiple water usage information points; the number of neighboring information points of any center information point is greater than or equal to a preset number; the distance between a neighboring information point and any center information point is less than or equal to a preset distance; the distance between a neighboring information point and any center information point is determined based on water usage time information and water usage temperature information.
[0125] The information point combination determination module 103 is used to determine at least one information point combination based on the proximity relationship of multiple central information points; central information points that are adjacent to each other are in the same information point combination.
[0126] The cluster generation module 104 is used to generate at least one target habit cluster based on at least one information point combination; each target habit cluster includes target time point information and target temperature information.
[0127] The control information generation module 105 is used to generate control information based on the target time point information and the target temperature information corresponding to the target habit cluster; the control information is used to control the operation of the water heater.
[0128] The center point determination module includes:
[0129] The information point acquisition unit is used to acquire any untraversed water usage information point.
[0130] The neighboring point determination unit is used to perform distance calculation based on the water usage time information corresponding to any untraversed water usage information point, the water usage temperature information corresponding to any untraversed water usage information point, a first preset time difference, and a first preset temperature difference, to obtain the neighboring information points corresponding to any untraversed water usage information point; the time difference between any untraversed water usage information point and the neighboring information points is less than the first preset time difference; the temperature difference between any untraversed water usage information point and the neighboring information points is less than the first preset temperature difference.
[0131] The center point determination unit is used to determine any untraversed water information point as the center information point when the number of neighboring information points corresponding to any untraversed water information point is greater than or equal to a preset number.
[0132] The proximity relationship determination unit is used to determine the proximity relationship of multiple central information points based on the neighboring information points corresponding to any untraversed water information point.
[0133] The information point combination determination module includes:
[0134] The target determination unit is used to determine any central information point as the target central information point.
[0135] The same set of determining units is used to determine the target center information point and the center information points of the mutually adjacent points as the same information point combination when the target center information point has a neighboring relationship characterization of the target center information point.
[0136] The target update unit is used to determine the center information point of each neighboring information point as the target center information point.
[0137] The first combination determination unit is used to repeatedly execute: when the target center information point has mutually adjacent center information points as the neighbor relationship characterization of the target center information point, the target center information point and the mutually adjacent center information points are determined as the same information point combination, until the mutually adjacent center information points are determined as the target center information point, until the target center information point does not have mutually adjacent center information points, and the first target information point combination is generated based on the center information points in the same information point combination.
[0138] The second combination determination unit is used to generate a second combination of target information points based on the target center information points when the target center information points do not have any neighboring center information points in the neighbor relationship characterization of the target center information points.
[0139] The water heater's control system also includes:
[0140] The target cluster information determination module is used to determine the water usage time difference and water usage temperature difference for any target habit cluster based on the water usage time information and water usage temperature information corresponding to the boundary information points in any target habit cluster; the boundary information points are non-central information points in any target habit cluster.
[0141] The condition adjustment module is used to increase the quantity value corresponding to a preset quantity and / or decrease the quantity value corresponding to a preset distance when the water usage time difference corresponding to any target habit cluster is greater than or equal to a second preset time difference, or the water usage temperature difference corresponding to any target habit cluster is greater than or equal to a second preset temperature difference; the second preset time difference is greater than a first preset time difference; the second preset temperature difference is greater than a first preset temperature difference.
[0142] The center point update module is used to update the center information point from multiple water information points based on the increased preset quantity and / or the quantity value corresponding to the decreased preset distance.
[0143] The pending point determination module is used to determine any untraversed water information point as a pending information point when the number of neighboring water information points of any untraversed water information point is less than a preset number.
[0144] The invalid point determination module is used to determine the pending information point as invalid information point when multiple water use information points have been traversed and the pending information point does not belong to any target habit cluster.
[0145] The current water usage information acquisition module is used to acquire multiple water usage information points for the current period.
[0146] The periodic update module is used to update control information based on multiple water use information points in the current period when the number of discrete information points in multiple water use information points is greater than a preset number of discrete information points; discrete information points are information points that do not belong to at least one target habit cluster.
[0147] The instruction adjustment module is used to obtain user adjustment instructions; the user adjustment instructions include adjustment cluster identifier, target time adjustment information, and target temperature adjustment information.
[0148] The habit cluster adjustment module is used to adjust the target habit cluster corresponding to the adjustment cluster identifier based on the target time adjustment information and the target temperature adjustment information.
[0149] This application also provides an electronic device, which includes a processor and a memory. The memory stores at least one instruction or at least one program. The processor loads and executes the at least one instruction or at least one program to implement the water heater control method described above.
[0150] Memory is used to store software programs and modules. The processor executes these stored software programs and modules to perform various functional applications and information processing. Memory can primarily consist of a program storage area and an information storage area. The program storage area stores the operating system, application programs required for the functions, etc.; the information storage area stores information created based on device usage, etc. Furthermore, memory can include high-speed random access memory (RAM) and non-volatile memory, such as at least one hard disk storage device, flash memory device, or other volatile solid-state storage device. Correspondingly, memory can also include a memory controller to provide the processor with access to the memory.
[0151] The methods and embodiments provided in this application can be executed in electronic devices such as mobile terminals, computer terminals, servers, or similar computing devices. Figure 6 This is the electronic device provided in the embodiments of this application. For example... Figure 6 As shown, the electronic device 900 can vary significantly due to differences in configuration or performance. It may include one or more central processing units (CPUs) 910 (CPUs 910 may include, but are not limited to, microprocessors such as MCUs or programmable logic devices such as FPGAs), a memory 930 for storing information, and one or more storage media 920 (e.g., one or more mass storage devices) for storing application programs 923 or information 922. The memory 930 and storage media 920 may be temporary or persistent storage. The program stored in the storage media 920 may include one or more modules, each module may include a series of instruction operations on the electronic device. Furthermore, the central processing unit 910 may be configured to communicate with the storage media 920 and execute the series of instruction operations in the storage media 920 on the electronic device 900. Electronic device 900 may also include one or more power supplies 960, one or more wired or wireless network interfaces 950, one or more input / output interfaces 940, and / or one or more operating systems 921, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0152] The input / output interface 940 can be used to receive or send information via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the electronic device 900. In one example, the input / output interface 940 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 940 may be a radio frequency (RF) module for wireless communication with the Internet.
[0153] Those skilled in the art will understand that Figure 6 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, the electronic device 900 may also include... Figure 6 The more or fewer components shown, or having the same Figure 6 The different configurations shown.
[0154] Embodiments of this application also provide a storage medium storing at least one instruction or at least one program, wherein the at least one instruction or at least one program is loaded and executed by a processor to implement the water heater control method described above.
[0155] The foregoing description has fully disclosed the specific embodiments of this application. It should be noted that any modifications made to the specific embodiments of this application by those skilled in the art do not depart from the scope of the claims. Accordingly, the scope of the claims is not limited to the foregoing specific embodiments.
Claims
1. A method for controlling a water heater, characterized in that, include: Acquire multiple water usage information points within a preset period; each water usage information point includes water usage time information and water usage temperature information. The process iterates through the multiple water usage information points, determines multiple central information points and their proximity relationships from among them; the number of neighboring information points for any central information point is greater than or equal to a preset number; the distance between any neighboring information point and any central information point is less than or equal to a preset distance; the distance between any neighboring information point and any central information point is determined based on the water usage time information and the water usage temperature information. At least one information point combination is determined based on the proximity relationship of the multiple central information points; central information points that are adjacent to each other are in the same information point combination. At least one target habit cluster is generated based on the combination of the at least one information point; each target habit cluster includes target time point information and target temperature information; Control information is generated based on the target time point information corresponding to the target habit cluster and the target temperature information corresponding to the target habit cluster; The control information is used to control the operation of the water heater.
2. The control method for a water heater according to claim 1, characterized in that, The step of traversing the plurality of water usage information points and determining a plurality of central information points and the proximity relationships of the plurality of central information points includes: Obtain any untraversed water usage information point; Based on the water usage time information, water temperature information, first preset time difference, and first preset temperature difference corresponding to any untraversed water usage information point, distance calculation is performed to obtain the neighboring information points corresponding to any untraversed water usage information point; the time difference between any untraversed water usage information point and the neighboring information points is less than the first preset time difference; the temperature difference between any untraversed water usage information point and the neighboring information points is less than the first preset temperature difference. If the number of neighboring information points corresponding to any untraversed water information point is greater than or equal to the preset number, then the untraversed water information point is determined as the center information point. The proximity relationship of the plurality of central information points is determined based on the neighboring information points corresponding to any untraversed water information point.
3. The control method for a water heater according to claim 2, characterized in that, Determining at least one combination of information points based on the proximity relationships of the multiple central information points includes: Designate any central information point as the target central information point; When the proximity relationship of the target center information point indicates that there are center information points that are mutually adjacent to the target center information point, the target center information point and the mutually adjacent center information points are determined to be the same information point combination; The center information point of the mutually adjacent information points is determined as the target center information point; Repeated execution: When the proximity relationship of the target center information point indicates that there are mutually adjacent center information points, the target center information point and the mutually adjacent center information points are determined as the same information point combination, until the mutually adjacent center information points are determined as the target center information point, until the target center information point does not have mutually adjacent center information points, and a first target information point combination is generated based on the center information points in the same information point combination.
4. The control method for a water heater according to claim 3, characterized in that, The step of determining at least one combination of information points based on the proximity relationship of the multiple central information points further includes: If the proximity relationship of the target center information point indicates that there are no mutually adjacent center information points, a second target information point combination is generated based on the target center information point.
5. The control method for a water heater according to claim 3, characterized in that, Also includes: Based on the water usage time information and water usage temperature information corresponding to the boundary information points in any target habit cluster, determine the water usage time difference and water usage temperature difference corresponding to the target habit cluster. The boundary information point is a non-central information point in any of the target habit clusters; If the water usage time difference corresponding to any target habit cluster is greater than or equal to the second preset time difference, or the water usage temperature difference corresponding to any target habit cluster is greater than or equal to the second preset temperature difference, the quantity value corresponding to the preset quantity is increased and / or the quantity value corresponding to the preset distance is decreased; the second preset time difference is greater than the first preset time difference; The second preset temperature difference is greater than the first preset temperature difference; The central information point is updated from the plurality of water information points based on the increased preset quantity and / or the reduced quantity value corresponding to the preset distance.
6. The control method for a water heater according to claim 2, characterized in that, Also includes: If the number of neighboring water information points of any untraversed water information point is less than the preset number, the untraversed water information point is determined as a pending information point. If the multiple water usage information points have been traversed and the pending information point does not belong to any target habit cluster, the pending information point is determined to be an invalid information point.
7. The control method for a water heater according to claim 1, characterized in that, Also includes: Obtain multiple water usage information points for the current period; If the number of discrete information points among the multiple water usage information points is greater than a preset discrete number, the control information is updated based on the multiple water usage information points of the current period. The discrete information points are information points that do not belong to the at least one target habitual cluster.
8. The control method for a water heater according to claim 1, characterized in that, Also includes: Obtain user adjustment instructions; the user adjustment instructions include adjustment cluster identifier, target time adjustment information, and target temperature adjustment information; Based on the target time adjustment information and the target temperature adjustment information, the target habit cluster corresponding to the adjustment cluster identifier is adjusted.
9. A control system for a water heater, characterized in that, include: The information acquisition module is used to acquire multiple water usage information points within a preset period; each water usage information point includes water usage time information and water usage temperature information. The center point determination module is used to traverse the multiple water usage information points, determine multiple center information points and their proximity relationships from the multiple water usage information points; the number of neighboring information points of any center information point is greater than or equal to a preset number; the distance between the neighboring information points and any center information point is less than or equal to a preset distance; the distance between the neighboring information points and any center information point is determined based on the water usage time information and the water usage temperature information; The information point combination determination module is used to determine at least one information point combination based on the proximity relationship of the plurality of central information points; central information points that are adjacent to each other are in the same information point combination; The cluster generation module is used to generate at least one target habit cluster based on the combination of the at least one information point; each target habit cluster includes target time point information and target temperature information; The control information generation module is used to generate control information based on the target time point information corresponding to the target habit cluster and the target temperature information corresponding to the target habit cluster. The control information is used to control the operation of the water heater.
10. A water heater, characterized in that, The control method for the water heater as described in any one of claims 1-8 is applied.