Gas water heater control method, gas water heater and server
By analyzing multi-cycle water usage data to automatically control the zero cold water function, the problem of the gas water heater's zero cold water function requiring manual operation and timed activation is solved, achieving matching with users' water usage habits and improving user experience and energy efficiency.
Patent Information
- Application Number
- CN202211513693.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2042-11-29
AI Technical Summary
The zero cold water function of existing gas water heaters requires users to manually operate or start it at a scheduled time, which causes inconvenience and energy waste and cannot match users' water usage habits.
By acquiring water usage data within multiple preset periods, merging and updating the water usage data set, the operation of the zero cold water function is automatically controlled according to the target water usage data set to meet the user's water usage habits.
It realizes the automatic control of the zero cold water function, improves the user experience, reduces energy consumption, and ensures that users can get hot water instantly when needed.
Smart Images

Figure CN115789958B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field related to gas water heaters, and in particular to a control method for a gas water heater, a gas water heater, and a server. Background Art
[0002] A gas water heater uses gas as fuel, heating it through combustion and transferring heat to cold water flowing through a heat exchanger to produce hot water. The heating portion of a gas water heater is typically installed in areas like the kitchen, while the hot water outlet is located in areas like the bathroom to ensure water safety. However, this can result in excessively long hot water pipes, which can lead to excess cold water and delays in hot water delivery.
[0003] Currently, this problem is typically addressed by using a zero-cold-water function, which circulates water through the hot water pipes to eliminate the cold water. However, if the zero-cold-water function is manually activated by the user, it requires manual operation each time, which is quite cumbersome. If it is activated at regular intervals, while manual operation is unnecessary, it will increase unnecessary energy consumption. Furthermore, different users have different water habits, and a scheduled activation at regular intervals cannot guarantee that the user will always have hot water.
[0004] How to make the operation of the zero cold water function match the user's water use habits has become an urgent problem to be solved. Summary of the Invention
[0005] The present application provides a control method for a gas water heater, which is used to control the operation of a zero cold water function according to a user's water usage habits, so that the operation of the zero cold water function can better meet the user's water usage habits.
[0006] A first aspect of an embodiment of the present application provides a control method for a gas water heater, which is applicable to a gas water heater with a zero cold water function, and the method includes:
[0007] Obtain water consumption data within N preset periods, where N is a positive integer;
[0008] According to the water consumption data in each preset period, a water consumption data set is obtained;
[0009] Merge N water consumption data sets to obtain the target water consumption data set;
[0010] Update the water use data in the target water use data set;
[0011] Control the operation of the zero chilled water function according to the target water consumption data set.
[0012] In conjunction with the first implementation of the first aspect, the water use data includes a water use time period. After determining a water use data set based on the water use data within each preset period, the method further includes:
[0013] In each preset cycle, determine whether the interval between any two water use time periods is less than or equal to the cooling time, where the cooling time is the time it takes for the water temperature to drop from the first temperature to the second temperature;
[0014] If the interval between any two water use time periods is less than or equal to the cooling time, the two water use time periods are combined to update the water use data set.
[0015] In conjunction with the second implementation of the first aspect, the water use data includes a water use time period, and the step of updating the water use data in the target water use data set includes:
[0016] Determine whether any two water use time periods overlap in the target water use data set;
[0017] If any two water use time periods overlap, the two water use time periods are combined to update the target water use data set.
[0018] In conjunction with the third implementation of the first aspect, the step of updating the water use data in the target water use data set further includes:
[0019] Determine whether the interval between any two water use time periods is less than or equal to the heating time, where the heating time is the time from when the zero cold water function is activated to when the water temperature first reaches the first temperature;
[0020] If the interval between any two water use time periods is less than or equal to the heating time, the two water use time periods are combined to update the target water use data set.
[0021] In conjunction with the fourth implementation of the first aspect, the water usage data further includes a set temperature, and the set temperature corresponds to a water usage time period;
[0022] After the step of combining the two water use time periods, the method further includes:
[0023] The higher of the set temperatures corresponding to the two water use time periods is used as the set temperature corresponding to the combined water use time period.
[0024] In conjunction with the fifth implementation of the first aspect, the water usage time period also includes a start time, and the step of controlling the operation of the zero cold water function according to the target water usage data set includes:
[0025] The zero cold water function is controlled to start running at the target time, which is the time obtained by advancing the start time by the heating time.
[0026] In conjunction with the sixth implementation of the first aspect, the water usage time period also includes an end time, and the step of controlling the operation of the zero cold water function according to the target water usage data set includes:
[0027] Control the zero cold water function to stop running at the end time.
[0028] In conjunction with the seventh implementation of the first aspect, the step of controlling the zero cooling water function to start operating at the target time further includes:
[0029] The set temperature corresponding to the water usage time period in the target water usage set is used as the set temperature corresponding to when the zero cold water function starts to operate.
[0030] The control method provided in the embodiments of the present application determines a target water usage set based on water usage data over N preset cycles, and then controls the operation of the zero-cold water function based on the water usage data in the target water usage set, thereby achieving automatic control of the zero-cold water function. Furthermore, because the water usage data in the target water usage set is generated based on the user's water usage habits over N cycles, the water usage data in the target water usage set can more accurately reflect the user's water usage habits, and the operation of the zero-cold water function can better conform to the user's water usage habits.
[0031] A second aspect of an embodiment of the present application provides a gas water heater having a zero cold water function. The gas water heater includes a controller configured to execute the method described in the first aspect.
[0032] Among them, the beneficial effects described in the second aspect can refer to the analysis of the beneficial effects of the first aspect, and will not be repeated here.
[0033] A third aspect of an embodiment of the present application provides a server, the server including a processor and a memory;
[0034] The memory is used to store computer program code and transmit the computer program code to the processor;
[0035] The processor is configured to execute the method according to the first aspect according to instructions in the computer program code.
[0036] Among them, the beneficial effects described in the third aspect can refer to the analysis of the beneficial effects of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0038] Figure 1A schematic structural diagram of a gas water heater provided in an embodiment of the present application;
[0039] Figure 2 A schematic diagram of the installation position of a gas water heater provided in an embodiment of the present application;
[0040] Figure 3 A schematic diagram of the hardware structure of a terminal provided in an embodiment of the present application;
[0041] Figure 4 A flow chart of a method for controlling a gas water heater provided in an embodiment of the present application;
[0042] Figure 5 A flow chart of a method for controlling a gas water heater provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0044] 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 the technical features being referred to. Thus, a feature specified as "first" or "second" may explicitly or implicitly include one or more of such features. Throughout this application, unless otherwise specified, "plurality" means two or more.
[0045] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "connected" and "connect" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances. Furthermore, when describing pipelines, the terms "connected" and "connected" used in this application have the meaning of conducting electricity. The specific meanings need to be understood in the context.
[0046] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0047] A gas water heater is a gas appliance that uses gas as fuel and transfers heat to cold water flowing through a heat exchanger to prepare hot water. Figure 1 Generally, the gas water heater 1 may include: a shell 11 , a burner 12 , a heat exchange pipeline 13 , a water inlet joint 14 and a water outlet joint 15 .
[0048] The burner 12 and the heat exchange pipe 13 are disposed within the housing 11, and the heat exchange pipe 13 is used to exchange heat with the burner 12. A water inlet connector 14 and a water outlet connector 15 are both disposed outside the housing 11, with the water inlet connector 14 connected to a first end of the heat exchange pipe 13, and the water outlet connector 15 connected to a second end of the heat exchange pipe 13.
[0049] See also Figure 1 and Figure 2 The gas water heater 1 needs to be used in conjunction with the water terminal 2, the cold water pipe 3, and the hot water pipe 4. The outlet of the cold water pipe 3 is connected to the water inlet connector 14 and the water terminal 2. One end of the hot water pipe 4 is connected to the water outlet connector 15, and the other end of the hot water pipe 4 is connected to the water terminal 2. At this time, the cold water in the cold water pipe 3 can be transported to the water terminal 2 to provide cold water to the user. The cold water in the cold water pipe 3 can also enter the heat exchange pipeline 13 through the water inlet connector 14 to exchange heat with the burner 12, and then flow into the water terminal 2 through the water outlet connector 15 and the hot water pipe 4 in sequence to provide hot water to the user.
[0050] The hot water outlet of a gas water heater can be installed in areas like the bathroom for convenient hot water access. However, since gas pipelines typically run in the kitchen, extending the pipeline to the bathroom can easily lead to gas leaks and other problems. Bathrooms are also relatively small, with poor air flow. Incomplete combustion of the gas can also produce carbon monoxide, causing serious poisoning. To ensure water safety, the heating element of a gas water heater can be installed in areas like the kitchen. However, this would make the hot water pipeline excessively long, and a large amount of cold water would accumulate in the hot water pipe 4 from the heating element to the hot water outlet, preventing users from using hot water promptly.
[0051] Currently, most water heaters are equipped with a zero-cold-water function to address this issue. This zero-cold-water function circulates hot water in the hot water pipe 4 to eliminate the cold water in the hot water pipe 4 from the heating portion to the hot water outlet, ensuring hot water as soon as the user turns on the water terminal 2. To achieve the zero-cold-water function of the gas water heater 1, the hot water pipe 4 is connected to the cold water pipe 3. The connection point between the hot water pipe 4 and the cold water pipe 3 is connected in parallel with the water terminal 2. A one-way valve 5 is installed at the connection point between the hot water pipe 4 and the cold water pipe 3. The one-way valve 5 only allows water to flow from the hot water pipe 4 to the cold water pipe 3. At this time, when the water terminal 2 is closed, the hot water pipe 4, the cold water pipe 3, and the one-way valve 5 form a return line. Water in the hot water pipe 4 can sequentially pass through the one-way valve 5, the cold water pipe 3, and the cold water connector to enter the heat exchange pipeline 13 for heat exchange with the burner 12, and then enter the hot water pipe 4 through the hot water connector, thus achieving the zero-cold-water function of the gas water heater 1.
[0052] However, if the zero cold water function is turned on manually by the user, the user needs to operate manually every time, which is more troublesome. If it is turned on at regular intervals, although the user does not need to operate manually, it will increase a lot of unnecessary energy consumption. Moreover, turning it on at regular intervals cannot guarantee that the user will have hot water when using it.
[0053] Based on this, an embodiment of the present application provides a control method for a gas water heater, which determines the user's water usage habits through water usage data within N preset cycles, and then controls the operation of the zero cold water function, so that the operation of the zero cold water function can better meet the user's habits.
[0054] like Figure 3 As shown, Figure 3 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.
[0055] Those skilled in the art will understand that the terminal in the embodiment of the present application may be a server or a controller of the gas water heater 1, and the embodiment of the present application does not impose any limitation on this.
[0056] like Figure 3As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0057] Those skilled in the art will understand that Figure 3 The hardware structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0058] like Figure 3 As shown, the memory 1005 as a computer-readable storage medium may include a network communication module, a user interface module and a control program of the gas water heater.
[0059] exist Figure 3 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the control program of the gas water heater stored in the memory 1005, so that the processor 1001 executes the various steps of the method shown in the method embodiment described below.
[0060] like Figure 4 As shown, the control method provided in the embodiment of the present application includes the following steps:
[0061] S101. Obtain water usage data within N preset periods.
[0062] To understand a user's water usage patterns, gas water heater water usage data is collected to determine the user's water usage habits based on the data. In this embodiment, gas water heater water usage data is collected over N preset periods to analyze the user's water usage habits over these N preset periods. It should be understood that a larger value for N results in a more accurate analysis of user habits.
[0063] In the embodiment of the present application, N is a positive integer, and the preset period is pre-set by the system. In actual application, the preset period can be set according to demand. The embodiment of the present application does not impose any restrictions on this. For example, as a feasible implementation method, the preset period is one day, and the user habits are determined based on the water use data within N days.
[0064] S102: Obtain a water usage data set based on the water usage data in each preset period.
[0065] According to the water consumption data of the gas water heater used by the user every day, the daily water consumption data set is determined. Since the water consumption data of N preset periods are obtained in total, N water consumption data sets can be obtained.
[0066] Optionally, as a feasible implementation, after S102, the method further includes the following steps:
[0067] In each preset cycle, determine whether the interval between any two water use time periods is less than or equal to the cooling time;
[0068] If the interval between any two water use time periods is less than or equal to the cooling time, the two water use time periods are combined to obtain a water use data to update the water use data set.
[0069] The cooling time is the time it takes for the water temperature in the pipeline to drop from the first temperature to the second temperature.
[0070] In the embodiment of the present application, the first temperature is the set temperature corresponding to the start-up of the gas water heater, and the second temperature is the temperature obtained by subtracting the preset temperature difference from the first temperature, where the preset temperature difference is pre-set by the system. In actual application, the preset temperature difference can be set according to actual conditions, and the embodiment of the present application does not impose any restrictions on this.
[0071] For example, as a feasible implementation method, the first temperature is 40°C, the preset temperature difference is 10°C, and the second temperature is 30°C. The cooling time is the time taken for the water temperature to drop from 40°C to 30°C, that is, the time taken for the water temperature to drop from 40°C to 10°C.
[0072] When the zero-cold-water function is activated, the gas water heater begins heating the water in the pipes to a first temperature. Once the first temperature is reached, heating stops, and the zero-cold-water function shuts off. The water temperature in the pipes begins to drop until it reaches a second temperature, at which point the zero-cold-water function restarts. The time it takes for the water temperature to drop from the first temperature to the second temperature is recorded as the cooling time, which is the time it takes for the zero-cold-water function to restart after heating.
[0073] If the interval between any two water use time periods is less than or equal to the cooling time, the time between the two water uses is very short. When the user starts using water in the next water use time period, the water temperature has not yet dropped to the second temperature and is still at a suitable temperature for the user, so the zero cooling water function does not need to be restarted. Therefore, the two water use time periods are directly combined into a single water use data set to avoid frequent activation and deactivation of the zero cooling water function. The water use data set is then updated so that the interval between the water use time periods of the water use data included in the water use data set is greater than the cooling time.
[0074] For example, Table 1 is a water usage data set consisting of water usage data acquired within a preset period.
[0075] Table 1
[0076] Serial number Start time End Time 1 8:30 8:40 2 8:42 8:56 3 9:30 9:35
[0077] Assuming the cooling time is 5 minutes, the water use time period of the first water use data is [8:30, 8:40], and the water use time period of the second water use data is [8:42, 8:56]. The time interval between the water use time periods of the two water use data is 2 minutes, which is less than the cooling time of 5 minutes. Then, the two water use time periods are combined, that is, the two water use data are merged into one water use data. The water use time period of the merged water use data is [8:30, 8:56].
[0078] Please refer to Table 2, which shows the updated water use data set.
[0079] Table 2
[0080] Serial number Start time End Time 1 8:30 8:56 2 9:30 9:35
[0081] The water usage data in the water usage data list are merged according to the cooling time, so that the interval time between the water usage data in each water usage data list is greater than the cooling time. This can effectively avoid the frequent opening and closing of the zero cold water function, and at the same time make the obtained water usage data list more in line with the user's water usage habits.
[0082] S103: Merge N water usage data sets to obtain a target water usage data set.
[0083] Each water use data set obtained can reflect the user's water use habits in each preset period. By merging N water use data sets, the target water use data set obtained can reflect the user's water use habits when using a gas water heater in N preset periods.
[0084] The embodiment of the present application does not limit the process of merging water use data sets. In actual application, water use data sets can be merged according to actual conditions.
[0085] For example, N preset periods are 7 days, and the water usage data collected every day can be called a water usage data set.
[0086] As a feasible implementation method, the water consumption data set collected on the first day can be merged with the water consumption data collected on the second day. The merged result is then merged with the water consumption data set collected on the third day; the merged result is then merged with the water consumption data set collected on the fourth day, and so on, to obtain the target water consumption data set.
[0087] As a feasible implementation method, the water consumption data set collected on the first day, the water consumption data set collected on the second day, the water consumption data set collected on the third day, and so on, the water consumption data set collected on the seventh day can be merged together to obtain the target water consumption data set.
[0088] For example, as a feasible implementation method, the process of merging N water consumption data sets can be merging each of them. Please refer to Table 3 and Table 4, which are water consumption data sets composed of water consumption data obtained in the first two preset periods.
[0089] Table 3
[0090] Serial number Start time End Time 1 8:25 8:35 2 9:30 9:40 3 18:30 19:00
[0091] Table 4
[0092] Serial number Start time End Time 1 8:30 8:40 2 9:35 9:50 3 20:30 21:00
[0093] The combined water consumption data set is shown in Table 5:
[0094] Table 5
[0095] Serial number Start time End Time 1 8:25 8:35 2 8:30 8:40 3 9:30 9:40 4 9:35 9:50 5 18:30 19:00 6 20:30 21:00
[0096] The water consumption data set obtained in the third preset cycle is merged again with the water consumption data set shown in Table 5 until the N water consumption data sets are merged to obtain the target water consumption data list.
[0097] The water use data sets are merged in pairs. In this way, the merging can be started after the first two water use data sets are obtained. Then, after each preset cycle, a water use data set is obtained and then merged in pairs with the previous water use data set. In this way, after obtaining N water use data sets, only one pairwise merging process is needed to quickly obtain the target water use data set, making the operation of analyzing user water use habits faster.
[0098] As another feasible implementation method, the process of merging N water use data sets may be to simultaneously merge the N water use data sets to obtain target water use data.
[0099] After obtaining N water consumption data sets, the N water consumption data sets are merged at the same time. Only one set merging is performed, which can avoid problems such as excessive occupation of system resources caused by multiple set merging.
[0100] S104: Update the water usage data in the target water usage data set.
[0101] The water usage data in the obtained target water usage data set is updated so that the target water usage data set can better represent the user's usage habits.
[0102] Optional, such as Figure 5 As shown, as a feasible implementation method, S104 can be specifically implemented as the following steps:
[0103] S1041. Determine whether any two water usage time periods in N water usage data sets overlap.
[0104] S1042: If any two water use time periods overlap, the two water use time periods are combined to update the target water use data set.
[0105] If the water usage time periods of any two water usage data in the N water usage data sets overlap, it means that the user will use the gas water heater during this time period, but the time may be slightly earlier or later. Therefore, the two water usage time periods are combined, that is, the two water usage data are merged, so that no matter which of the two water usage time periods the user uses water, the gas water heater can use the zero cold water function to heat the water in advance.
[0106] For example, please refer to Table 6, which is a target water usage set obtained by merging N water usage data sets.
[0107] Table 6
[0108] Serial number Start time End Time 1 8:25 8:35 2 8:30 8:40 3 9:30 9:40 4 9:35 9:50 5 18:30 19:00 6 20:30 21:00
[0109] It can be seen that the time period for the first water consumption data item in the target water consumption data set is [8:25, 8:35], and the time period for the second water consumption data item is [8:30, 8:40]. The two time periods overlap, so the two water consumption data items are merged, and the time period for the merged water consumption data item is [8:25, 8:40]. Similarly, the time periods for the third and fourth water consumption data items in the target water consumption data set also overlap, so the two time periods are also merged to update the water consumption data in the target water consumption data list.
[0110] Please refer to Table 7, which is the updated target water use data set.
[0111] Table 7
[0112] Serial number Start time End Time 1 8:25 8:40 2 9:30 9:50 3 18:30 19:00 4 20:30 21:00
[0113] All overlapping data in the target water usage data set are merged. In this way, the updated target water usage data set can better represent the user's usage habits of the gas water heater within N days. Controlling the operation of the zero cold water function according to the target water usage data set will also better meet the user's water usage habits.
[0114] Optionally, as a feasible implementation method, after S1042, S104 may further include the following steps:
[0115] Determine whether the interval between any two water use time periods is less than or equal to the heating time;
[0116] If the interval between any two water use time periods is less than or equal to the heating time, the two water use time periods are combined to update the target water use data set.
[0117] The heating time is the time from when the zero cold water function is started to when the water temperature reaches the first temperature for the first time, that is, the time from when the zero cold water function starts to when it stops.
[0118] If the interval between any two water use time periods is less than or equal to the heating time, it indicates that the time interval between the two water use times is very short. Therefore, the two water use time periods are directly combined into a single data set to avoid frequent activation and deactivation of the zero cold water function. The target water use data set is then updated so that the interval between the water use time periods in the water use data included in the target water use data set is greater than the heating time.
[0119] For example, Table 8 is a target water usage data set obtained after executing S1042.
[0120] Table 8
[0121] Serial number Start time End Time 1 8:30 8:40 2 8:42 8:56 3 9:30 9:35
[0122] Assuming that the heating time is 3 minutes, the water use time period of the first water use data is [8:30, 8:40], and the water use time period of the second water use data is [8:42, 8:56]. The time interval between the water use time periods of the two water use data is 2 minutes, which is less than the heating time of 3 minutes. Then, the two water use time periods are combined, that is, the two water use data are merged into one water use data. The water use time period of the merged water use data is [8:30, 8:56].
[0123] Please refer to Table 9, which is the updated target water use data set.
[0124] Table 9
[0125] Serial number Start time End Time 1 8:30 8:56 2 9:30 9:35
[0126] The water usage data in the water usage data list are merged according to the heating time, so that the interval time between the water usage data in each water usage data list is greater than the heating time. This can effectively avoid too much water usage data, which leads to frequent shutoff and opening of the zero cold water function. At the same time, the updated target water usage data set can better meet the user's usage habits.
[0127] S105: Control the operation of the zero cold water function according to the target water usage data set.
[0128] The updated target water usage data set can well reflect the water usage habits of users using gas water heaters. The operation of the zero cold water function is controlled according to the target water usage data set, so that the operation of the zero cold water function can better conform to user habits, thereby bringing users a better user experience.
[0129] Optionally, as a feasible implementation method, S105 may specifically include: controlling the zero cold water function to start running at the target time.
[0130] The target time is the time obtained by heating up all the start times in the target water use data set in advance.
[0131] For example, if the start time is 8:30 and the heating time is 5 minutes, the target time is 8:25. The zero cold water function is controlled to start running at 8:25.
[0132] Since the heating time is the time it takes for the water temperature to reach the first temperature after the zero-cold water function is activated, that is, the time it takes for the water to heat from room temperature to the first temperature, controlling the zero-cold water function to start at the target time allows the gas water heater to start the zero-cold water function in advance and heat the water to the first temperature. This allows users to directly use water at the first temperature when using the water at the start time of the water usage data, making the zero-cold water function provide a better user experience.
[0133] In some embodiments, the terminal executing the embodiments of the present application is a server, and the step of controlling the zero cold water function to start running at the target time can be: when the target time is reached, a start instruction is sent to the gas water heater, so that the gas water heater starts the zero cold water function when the start instruction is received; or, the target time is sent to the gas water heater, so that the gas water heater starts the zero cold water function when the target time is reached.
[0134] As another feasible implementation method, S105 may specifically include: controlling the zero cold water function to stop running at the end time.
[0135] The zero cold water function is controlled to stop running at the end time, so that the zero cold water function stops running during the non-water use period. The zero cold water function can be automatically turned off according to the user's water use habits to avoid gas waste.
[0136] In some embodiments, the terminal executing the embodiments of the present application is a server, and the step of controlling the zero cold water function to stop running at the end time can be: when the end time is reached, an end instruction is sent to the gas water heater, so that the gas water heater turns off the zero cold water function when the end instruction is received; or, the end time is sent to the gas water heater, so that the gas water heater turns off the zero cold water function when the end time is reached.
[0137] In some embodiments, when a user uses a gas water heater, the user may set the temperature of the water used this time through the control panel of the gas water heater according to actual conditions or personal preferences.
[0138] As a feasible implementation, the water usage data further includes a set temperature corresponding to a water usage time period. After the step of combining the two water usage time periods, the method further includes:
[0139] The higher of the set temperatures corresponding to the two water use time periods is used as the set temperature corresponding to the combined water use time period.
[0140] It should be noted that if the user changes the set temperature during the water usage period, the set temperature at the end of the water usage period will prevail. For example, if the user starts using the water at 8:30 and the water temperature is set to 40°C, but adjusts the water temperature to 45°C after using it for a while, and the water temperature remains at 45°C until the end of the water usage at 8:50, the set temperature corresponding to the water usage period in the acquired water usage data will be 45°C.
[0141] Taking the union of the two water use time periods means merging the two water use time periods into one water use time period. However, one water use time period can only correspond to one set temperature. Therefore, the higher set temperature of the set temperatures corresponding to the two water use time periods is used as the set temperature corresponding to the combined water use time period.
[0142] So that the operation of the zero cold water function is controlled based on the set temperature in the target water usage set, and the zero cold water function after operation can meet the user's demand for hot water.
[0143] For example, Table 10 is a target water usage data set obtained by merging N water usage data sets.
[0144] Table 10
[0145] Serial number Start time End Time Set temperature 1 8:25 8:35 45℃ 2 8:30 8:40 50℃ 3 18:30 19:00 45℃ 4 20:30 21:00 44℃
[0146] It can be seen that the water consumption time periods of the first water consumption data and the second water consumption data in Table 10 overlap, so when S1042 is executed, the first water consumption data and the second water consumption data will be merged. The merged water consumption time period is [8:25, 8:40], and the corresponding set temperature is 50°C.
[0147] The updated target water use set is shown in Table 11.
[0148] Table 11
[0149] Serial number Start time End Time Set temperature 1 8:25 8:40 50℃ 2 18:30 19:00 45℃ 3 20:30 21:00 44℃
[0150] Optionally, as a feasible implementation method, S105 may further include:
[0151] The set temperature corresponding to the water usage time period in the target water usage set is used as the set temperature corresponding to when the zero cold water function starts to operate.
[0152] The set temperature corresponding to the water use time period is used as the set temperature when the zero cold water function is running.
[0153] Obtain the set temperature corresponding to the water use time period, that is, obtain the temperature that the user is accustomed to each time he uses water, so that when the zero cold water function is controlled according to the water use data in the target water use data set, the zero cold water function can heat the water to the set temperature that the user is accustomed to in advance, so that the operation of the zero cold water function can better meet the user's habits.
[0154] An embodiment of the present application further provides a server comprising a memory and a processor. The memory and the processor are coupled; the memory is configured to store computer program code, which includes computer instructions. When the processor executes the computer instructions, the server is configured to perform the steps of the method described in the above method embodiment.
[0155] An embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes each step performed by the electronic device in the method flow shown in the above method embodiment.
[0156] A computer program product is also provided in an embodiment of the present application. The computer program product includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes each step executed by the electronic device in the method flow shown in the above method embodiment.
[0157] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer execution instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more servers that can be integrated with the medium. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)).
[0158] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A control method for a gas water heater, applicable to a gas water heater with a zero cold water function, characterized in that: The method comprises: Obtaining water usage data within N preset periods, where N is a positive integer; the water usage data includes a water usage time period; According to the water consumption data in each preset period, a water consumption data set is obtained; In each preset cycle, determining whether the interval between any two water use time periods is less than or equal to the cooling time, where the cooling time is the time taken for the water temperature to drop from the first temperature to the second temperature; If the interval between any two water use time periods is less than or equal to the cooling time, the two water use time periods are combined to update the water use data set; Merging N water use data sets to obtain a target water use data set; Determine whether any two water use time periods in the target water use data set overlap; If any two of the water use time periods overlap, the two water use time periods are combined to update the target water use data set; Determine whether the interval between any two water use time periods is less than or equal to the heating time, where the heating time is the time from when the zero cold water function is activated to when the water temperature first reaches the first temperature; If the interval between any two water use time periods is less than or equal to the heating time, the two water use time periods are combined to update the target water use data set; The zero cooling water function is controlled to operate according to the target water usage data set.
2. The method according to claim 1, characterized in that The water use data further includes a set temperature, and the set temperature corresponds to the water use time period; After the step of combining the two water consumption time periods, the method further includes: The higher of the set temperatures corresponding to the two water use time periods is used as the set temperature corresponding to the combined water use time period.
3. The method according to claim 2, characterized in that The water use time period also includes a start time, and the step of controlling the operation of the zero cold water function according to the target water use data set includes: The zero cold water function is controlled to start running at a target time, where the target time is a time obtained by advancing the start time by the heating time.
4. The method according to claim 2, characterized in that The water use time period also includes an end time, and the step of controlling the operation of the zero cold water function according to the target water use data set includes: The zero cold water function is controlled to stop running at the end time.
5. The method according to claim 3, characterized in that The step of controlling the zero cold water function to start running at the target time also includes: The set temperature corresponding to the water use time period in the target water use set is used as the set temperature corresponding to when the zero cold water function starts to operate.
6. A gas water heater, characterized in that: The gas water heater has a zero cold water function and includes a controller configured to execute the method according to any one of claims 1 to 5.
7. A server, characterized in that: The server includes a processor and a memory; The memory is used to store computer program code and transmit the computer program code to the processor; The processor is configured to execute the method according to any one of claims 1 to 5 according to instructions in the computer program code.
Citation Information
Patent Citations
Control method of gas water heater, server and computer readable storage medium
CN113124570A
Zero cold water function regulation and control method and device, storage medium and electronic equipment
CN114484882A