Water heater control method, device and equipment and storage medium

By detecting and analyzing the air bacteria content and changing trends around the water heater, intelligently determines the air sterilization operation, solving the problem of poor air sterilization effect of existing water heaters, and achieving more efficient bacteria elimination and user experience improvement.

CN119196936APending Publication Date: 2024-12-27QINGDAO ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE HAIER WATER HEATER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310772116.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The existing water heaters have poor air sterilization effect and cannot effectively reduce the bacterial content in the kitchen or bathroom, affecting human health.

Method used

By detecting the air bacteria content and its changing trends around the water heater, we can determine whether air sterilization operations need to be performed, and select appropriate sterilization modes and procedures based on the trends to improve the accuracy and intelligence of sterilization operations.

Benefits of technology

It improves the accuracy and intelligence of the air sterilization operation of the water heater, improves the user experience, ensures more effective bacteria elimination, and improves air quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119196936A_ABST
    Figure CN119196936A_ABST
Patent Text Reader

Abstract

The invention provides a water heater control method and device, equipment and a storage medium. The method comprises the steps that the content of bacteria in air around the water heater at the first moment is obtained; if the bacterial content is larger than or equal to the first bacterial content and smaller than the second bacterial content, the target bacterial content in the air around the water heater at N second moments is obtained; according to the N target bacterium contents, the change trend of the bacterium contents in the air around the water heater is determined; according to the change trend of the air bacterium content, whether air sterilization operation needs to be executed or not is determined; and if the air sterilization operation needs to be carried out, sterilizing operation is carried out on the air around the water heater. According to the method, the accuracy and intellectualization of the air sterilization operation executed by the water heater can be improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of household appliances, and in particular to a water heater control method, device, equipment and storage medium. Background Art

[0002] In the home, bathrooms or kitchens are often closed or poorly ventilated, resulting in a large number of bacteria in the room. The presence of these microorganisms seriously threatens human health. At present, water heaters are usually installed in bathrooms or kitchens. In order to reduce the bacteria in the air of bathrooms or kitchens, some water heaters have air sterilization functions. However, the current water heaters with air sterilization function have the problem of poor air sterilization effect.

[0003] Therefore, how to improve the air sterilization effect of water heaters is an urgent problem to be solved. Summary of the invention

[0004] The present application provides a water heater control method, device, equipment and storage medium to solve the problem of how to improve the air sterilization effect of the water heater in the prior art.

[0005] In a first aspect, the present application provides a water heater control method, comprising:

[0006] Obtaining the bacterial content in the air around the water heater at the first moment;

[0007] If the bacterial content is greater than or equal to the first bacterial content and less than the second bacterial content, then the target bacterial content in the air around the water heater at N second moments is obtained; the second bacterial content is the minimum bacterial content corresponding to triggering the sterilization mode, and N is an integer greater than or equal to 3;

[0008] Determining a change trend of the bacterial content in the air around the water heater according to the N target bacterial contents;

[0009] Determining whether an air sterilization operation needs to be performed according to the change trend of the air bacteria content;

[0010] If air sterilization operation is required, the air around the water heater is sterilized.

[0011] Optionally, performing a sterilization operation on the air around the water heater includes:

[0012] Determining a target sterilization mode from a plurality of sterilization modes according to a change trend of the air bacteria content;

[0013] A sterilization procedure corresponding to the target sterilization mode is performed on the air around the water heater.

[0014] Optionally, the change trend of the air bacteria content is an increasing trend, and determining the target sterilization mode according to the change trend of the air bacteria content includes:

[0015] Determine the difference between N-1 target bacterial content change rates;

[0016] Determine the growth rate corresponding to the growth trend according to the difference between the N-1 target bacterial content change rates;

[0017] According to the growth rate corresponding to the growth trend, a target sterilization mode is determined from multiple sterilization modes; the growth rate is positively correlated with the sterilization effect corresponding to the sterilization mode.

[0018] Optionally, before obtaining the bacterial content in the air around the water heater at the first moment, the method further includes:

[0019] Acquire sterilization period information and current time, wherein the sterilization period information is used to characterize the user's habit of using air sterilization operation;

[0020] According to the sterilization period information and the current time, it is determined whether to obtain the bacteria content in the air around the water heater at the first moment.

[0021] Optionally, the method further includes:

[0022] The first bacteria content and / or the second bacteria content is determined according to environmental data around the water heater.

[0023] Optionally, performing a sterilization operation on the air around the water heater includes:

[0024] Acquiring environmental data around the water heater;

[0025] Determining whether the conditions for performing the air sterilization operation are met according to the environmental data;

[0026] If the conditions are met, a sterilization operation is performed on the air around the water heater.

[0027] Optionally, before obtaining the bacterial content in the air around the water heater at the first moment, the method further includes:

[0028] Acquiring environmental data around the water heater;

[0029] Determining whether there is a target object around the water heater according to the environmental data;

[0030] If the target object exists, the bacteria content in the air around the water heater at the first moment is obtained.

[0031] In a second aspect, the present application provides a water heater control device, comprising:

[0032] An acquisition module, used for acquiring the bacteria content in the air around the water heater at a first moment;

[0033] A processing module, for obtaining a target bacterial content in the air around the water heater at N second moments if the bacterial content is greater than or equal to a first bacterial content and less than a second bacterial content; determining a change trend of the bacterial content in the air around the water heater according to the N target bacterial contents; determining whether an air sterilization operation needs to be performed according to the change trend of the air bacterial content; the second bacterial content is a minimum bacterial content corresponding to triggering a sterilization mode, and N is an integer greater than or equal to 3;

[0034] The control module is used to perform a sterilization operation on the air around the water heater if an air sterilization operation is required.

[0035] In a third aspect, the present application provides an electronic device, comprising: a processor, a communication interface, and a memory; the processor is communicatively connected to the communication interface and the memory respectively;

[0036] The memory stores computer-executable instructions;

[0037] The communication interface communicates and interacts with external devices;

[0038] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.

[0039] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the water heater control method as described in any one of the first aspects.

[0040] In a fifth aspect, the present application provides a computer program product, which, when executed by a processor, is used to implement the water heater control method as described in any one of the first aspects.

[0041] The water heater control method, device, equipment and storage medium provided in the present application detect whether the bacteria content in the air around the water heater at a first moment has reached a bacteria content interval in which it is necessary to determine whether an air sterilization operation needs to be performed based on the changing trend of the bacteria content. If the interval is reached, the target bacteria content is further obtained at N second moments, and the changing trend of the bacteria content is determined by the N target bacteria contents. Based on the changing trend, it is determined whether an air sterilization operation needs to be performed. If necessary, a sterilization operation is performed on the air around the water heater, thereby improving the accuracy and intelligence of the water heater's air sterilization operation and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description are used to explain the principles of the present application:

[0043] Figure 1 A schematic flow chart of a water heater control method provided in an embodiment of the present application;

[0044] Figure 2 A schematic flow chart of another water heater control method provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of a change trend of target bacteria content provided in an embodiment of the present application;

[0046] Figure 4 A flow chart of another water heater control method provided in an embodiment of the present application;

[0047] Figure 5 A flow chart of another water heater control method provided in an embodiment of the present application;

[0048] Figure 6 It is a structural schematic diagram of a water heater control device provided in an embodiment of the present application;

[0049] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0050] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0052] To facilitate understanding, the application scenario of this application is first described.

[0053] At present, water heaters are mainly installed in spaces such as kitchens or bathrooms. Since kitchens or bathrooms are prone to bacteria during use, if they are not cleaned or ventilated in time, a large number of bacteria will remain in the kitchens or bathrooms, thereby affecting the health of users. At present, there are water heaters with air sterilization functions, such as water heaters with air sterilization modules. These water heaters can sterilize the air around the water heaters through the air sterilization modules to reduce the air bacteria content in the space where the water heater is installed.

[0054] Existing water heaters with air sterilization function mainly rely on users to judge when to turn on the sterilization function based on experience. When the user has a sterilization demand, the user operates the water heater to start the sterilization function for sterilization. However, the accuracy of the user's judgment is low, resulting in poor sterilization effect. In addition, this method requires the user to operate the water heater every time sterilization is required, which is less intelligent.

[0055] In view of this, the present application provides a water heater control method, which determines whether the water heater needs to perform an air sterilization operation when the bacteria content in the surrounding air and the changing trend of the bacteria content are detected, and intelligently performs operations based on the judgment results, thereby improving the accuracy and intelligence of the water heater's air sterilization operation and enhancing the user experience.

[0056] The execution subject of the present application may be a water heater, or a processing chip of the water heater. If the execution subject is the water heater, the water heater may execute the method of the present application based on its own processing; if the execution subject is the processing chip of the water heater, the processing chip may execute the method of the present application by executing a program or code that implements the method. The water heater may be, for example, a gas water heater, an electric water heater, a solar water heater, etc., and the present application does not limit this. The execution subject of the present application may also be a cloud platform or a server that is communicatively connected to the water heater. The water heater obtains the required information or data through interaction with the cloud platform or the server for judgment and processing.

[0057] The following takes the water heater as an example, and describes the technical solution of the embodiment of the present application in detail in combination with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0058] Figure 1 A schematic diagram of a water heater control method provided in an embodiment of the present application. Figure 1 As shown, the method includes:

[0059] S101. Obtain the bacteria content in the air around the water heater at the first moment.

[0060] The first moment may be any moment, for example, a moment preset by a user, or a starting moment of a preset cycle, for example, a moment of each day, a moment of each hour, etc.

[0061] In a possible implementation, the bacterial content in the air around the water heater can be obtained by a bacterial detection sensor deployed on the water heater, and the sensor can include at least one of sensors capable of detecting bacterial content, such as an air microbial sampler and a bacterial detector. For example, taking the acquisition of bacterial content by an adenosinetriphosphate (ATP) fluorescence detector as an example, the water heater can sample the surrounding air, such as inhaling a portion of the air as an air sample, and then determine the bacterial content in the sample by an ATP fluorescence detector, and infer the bacterial content in the air around the water heater by the bacterial content of the sample. The larger the relative light unit (RLU) fed back by the ATP fluorescence detector, the higher the bacterial content in the air.

[0062] In another possible implementation, the bacteria content in the air around the water heater may be acquired through a bacteria detection sensor on other electronic devices connected to the water heater.

[0063] S102: If the bacteria content is greater than or equal to the first bacteria content and less than the second bacteria content, then obtain the target bacteria content in the air around the water heater at N second moments.

[0064] The second bacterial content is the minimum bacterial content corresponding to triggering the sterilization mode, the first bacterial content is the minimum bacterial content of the bacterial content that needs to be paid attention to, and N is an integer greater than or equal to 3. The second moment is the moment after the first moment, and the N second moments can be determined according to a preset time interval.

[0065] When the bacterial content is less than or equal to the first bacterial content, it indicates that the current bacterial content is very low and there is no need to pay attention to the bacterial content; when the bacterial content is greater than or equal to the first bacterial content and less than the second bacterial content, it indicates that the current bacterial content needs attention and may trigger the sterilization mode in a short time. It is necessary to further pay attention to the change trend of the bacterial content to determine whether a sterilization operation needs to be performed; when the bacterial content is greater than or equal to the second bacterial content, it indicates that the current bacterial content is too high and may cause harm to the human body, and it is necessary to trigger the sterilization mode to perform a sterilization operation. The first bacterial content and the second bacterial content can be preset or determined based on the environmental data of the surrounding environment of the water heater.

[0066] The method for obtaining the target bacterial content in the air around the water heater at the second moment is the same as the method for obtaining the target bacterial content in the air around the water heater at the first moment in the aforementioned step S101, which will not be repeated here. At each second moment, a target bacterial content is obtained, that is, N target bacterial contents are obtained at N second moments.

[0067] S103. Determine a change trend of the bacterial content in the air around the water heater according to the N target bacterial contents.

[0068] A possible implementation method is to determine the changing trend of the bacterial content in the air around the water heater based on the difference between the N target bacterial contents. The changing trend may include a growth trend, a fluctuation trend, and a decay trend. The N target bacterial contents may be sorted according to the order of collection time, and the difference between every two adjacent target bacterial contents may be calculated to obtain the difference between N-1 target bacterial contents. The changing trend of the bacterial content may be determined based on the N-1 differences. For example, when the N-1 differences are all positive, it is a growth trend; when the N-1 differences are all negative, it is a decay trend; when the N-1 differences are both positive and negative, it is a fluctuation trend. For another example, the growth trend may be determined based on the number of positive differences among the N-1 differences. For example, when the positive difference exceeds a preset number, it is a growth trend, etc.

[0069] Another possible implementation is that, based on the previous implementation, the change trend also includes a change speed, which may include acceleration, deceleration, and uniform speed. The water heater may obtain N-1 target bacterial content change rates based on the N-1 differences and time intervals, and determine the change speed based on the difference of the N-1 target bacterial content change rates. The calculation formula of the target bacterial content change rate is shown in the following formula (1):

[0070] Among them, C i is the i-th target bacterial content sorted by collection time, t i C iThe corresponding acquisition time, k i C i With C i-1 The target bacterial content change rate between the two. Then, the change speed is determined according to the positive or negative difference of the target bacterial content change rate. For example, if one of the difference is 5% and the time interval is 2 minutes, the target bacterial content change rate is 2.5%, and the next difference is 10% and the time interval is 2 minutes, then the next target bacterial content change rate is 5%. If the difference between the two target bacterial content change rates is also positive, the change speed is accelerated.

[0071] S104. Determine whether air sterilization operation is required based on the changing trend of air bacteria content.

[0072] Determine whether to start the air sterilization operation based on the changing trend of the air bacteria content. If the changing trend is an increasing trend, it indicates that the current environment is suitable for bacterial proliferation, the bacteria will gradually increase, and will exceed the second bacterial content in a short period of time, so it is necessary to perform air sterilization operation; if the changing trend is a fluctuating trend, it can be determined whether to perform air sterilization operation based on the actual needs of the user. For example, if it is pre-set that the fluctuating trend also requires sterilization, then the air sterilization operation needs to be performed. In addition, the user can also update the setting at any time; if the changing trend is a decaying trend, it indicates that the current environment is not suitable for bacterial proliferation, the bacteria will naturally decrease, so it is not necessary to perform air sterilization operation.

[0073] S105: If air sterilization is required, sterilize the air around the water heater.

[0074] The sterilization operation may refer to the prior art, for example, the sterilization operation may be performed by ultraviolet rays, or by ozone sterilization, etc. The sterilization operation may be that the water heater continuously inhales air to sterilize the inhaled air, and then discharges it back into the surrounding air after sterilization, or directly sterilizes the surrounding air, etc. The present application does not limit the specific method and specific manner adopted for the above-mentioned sterilization operation, as long as the manner can realize the sterilization operation of the present application.

[0075] In a possible implementation, there is only one sterilization mode, and the sterilization operation is performed directly according to the air sterilization program corresponding to the sterilization mode.

[0076] Another possible implementation method is that there are multiple sterilization modes. According to the changing trend of the air bacteria content, the sterilization mode that needs to be activated is determined, and the sterilization operation is performed according to the air sterilization program corresponding to the sterilization mode. Among them, different sterilization modes may have different sterilization intensities, or different air bacteria content thresholds corresponding to stopping sterilization. When the sterilization intensities are different, for example, ordinary sterilization mode, deep sterilization mode, and super sterilization mode may be included. The sterilization intensity can be achieved through different sterilization methods. Taking ultraviolet sterilization as an example, for example, the sterilization time can be increased, or the working wavelength can be reduced to enhance the sterilization intensity. When the air bacteria content thresholds corresponding to stopping sterilization are different, different sterilization modes correspond to different air bacteria content thresholds.

[0077] The water heater control method provided in the embodiment of the present application detects whether the bacteria content in the air around the water heater at a first moment has reached a bacteria content interval in which it is necessary to determine whether an air sterilization operation needs to be performed based on the changing trend of the bacteria content; if the interval is reached, the target bacteria content is further obtained at N second moments, and the changing trend of the bacteria content is determined by the N target bacteria contents, and whether an air sterilization operation needs to be performed is determined based on the changing trend; if necessary, the air around the water heater is sterilized, thereby improving the accuracy and intelligence of the water heater's air sterilization operation and enhancing the user experience.

[0078] Next, taking the existence of multiple sterilization modes as an example, how to perform the sterilization operation on the air around the water heater in step S105 is described in detail. Figure 2 A flow chart of another water heater control method provided in an embodiment of the present application. Figure 2 As shown, the above step S105 may also include:

[0079] S201. Determine a target sterilization mode from multiple sterilization modes according to a changing trend of air bacteria content.

[0080] A possible implementation method, the change trend includes a growth trend and a fluctuation trend. The water heater can determine the target sterilization mode from multiple sterilization modes based on the three trends. For example, a sterilization mode with a stronger sterilization effect can be used for the growth trend, and a sterilization mode with a weaker sterilization effect can be used for the fluctuation trend. Alternatively, since the time for the growth trend to break through the second bacteria content is shorter than the fluctuation trend, the sterilization mode used for the growth trend needs to control the air bacteria content to a lower value, and the sterilization mode used for the fluctuation trend needs to control the air bacteria content to a value higher than the sterilization mode used for the growth trend, thereby saving the number of sterilization times and extending the service life of the sterilization function on the basis of extending the time for maintaining a low air bacteria content.

[0081] Another possible implementation is that, based on the above implementation, the change trend also includes a change speed. Taking the growth trend as an example, the corresponding target sterilization mode of the growth trend corresponding to different change speeds is further determined according to the change speed.

[0082] In this implementation, the following steps may be included:

[0083] S2011. Determine the difference in the change rates of N-1 target bacterial contents.

[0084] The calculation method of the target bacterial content change rate is shown in the above formula (1), which will not be repeated here. According to the order of the N-1 target bacterial content change rates, the difference between every two adjacent target bacterial content change rates is obtained, and a total of N-2 differences are obtained, which can be represented by Δk. That is, Δk = k i -k i-1 .

[0085] S2012. Determine the growth rate corresponding to the growth trend based on the difference in the change rates of N-1 target bacterial contents.

[0086] A possible implementation method is to determine the growth rate corresponding to the growth trend according to the positive or negative difference of the N-1 target bacterial content change rates. If the number of positive differences in the N-1 target bacterial content change rates exceeds a first preset number, it indicates that the growth rate is fast; if the number of negative differences in the N-1 target bacterial content change rates exceeds a second preset number, it indicates that the growth rate is decreasing and the growth rate is slow; if the difference between the number of positive and negative differences in the N-1 target bacterial content change rates is less than the preset difference, it indicates that the growth rate fluctuates between increasing and decreasing, and the growth rate is moderate.

[0087] Another possible implementation is to determine the growth rate corresponding to the growth trend according to the positive or negative difference of the change rate of the N-1 target bacterial content and the size of the difference. Based on the previous implementation, the growth rate can also be determined according to whether the size of the difference is in the corresponding interval.

[0088] In this implementation, the following three specific cases are used for exemplary description:

[0089] Case 1: If the differences in the change rates of the N-1 target bacterial contents are all positive, it indicates that k i+1 Greater than k i Greater than k i-1 , that is, the change rate of the N-1 target bacterial contents increases continuously. If the difference Δk of the change rate of the N-1 target bacterial contents is greater than the preset threshold value of 5%, it indicates that the growth rate of the change rate of the N-1 target bacterial contents is faster, and the corresponding N target bacterial contents are similar to exponential growth over time.

[0090] Case 2: If the difference of the N-1 target bacterial content change rates is a similar number of positive and negative numbers, it indicates that the N-1 target bacterial content change rates have both increased and decreased. If the difference Δk of the N-1 target bacterial content change rates is less than the preset threshold value of 5% and greater than -5%, it indicates that the growth rate of the N-1 target bacterial content change rate is relatively stable, and the corresponding N target bacterial contents are similar to a linear growth over time.

[0091] Case 3: If the differences in the change rates of the N-1 target bacterial contents are all negative, it indicates that k i+1 Less than k i Less than k i-1 , that is, the change rates of the N-1 target bacterial contents continuously decrease. If there is at least one Δk in the difference of the N-1 target bacterial contents change rates whose absolute value is greater than the preset threshold value of 5%, it indicates that the growth rate of the change rates of the N-1 target bacterial contents is slow and will tend to be stable.

[0092] For example, Figure 3 This is a schematic diagram of the change trend of the target bacterial content provided in the embodiment of the present application. Figure 3 As shown, the change trend is displayed by a fitting curve of the change of the target bacteria content over time in the above cases 1 to 3. The curve corresponding to the case 1 is a rapid growth trend, the curve corresponding to the case 2 is a stable growth trend, and the curve corresponding to the case 3 is a decelerating growth trend.

[0093] S2013. Determine a target sterilization mode from multiple sterilization modes according to the growth rate corresponding to the growth trend.

[0094] Among them, the growth rate is positively correlated with the sterilization effect corresponding to the sterilization mode. The water heater can determine the target sterilization mode from multiple sterilization modes based on the mapping relationship between the growth rate corresponding to the growth trend and the target sterilization mode, and the growth rate. The mapping relationship can be a preset mapping relationship table, or a function relationship calculated according to the value of the growth rate, etc. This application does not limit this.

[0095] The differences between the multiple sterilization modes can be as described in the aforementioned step S105, which will not be repeated here.

[0096] S202: Execute a sterilization procedure corresponding to a target sterilization mode on the air around the water heater.

[0097] One possible implementation method is to directly execute a sterilization program corresponding to a target sterilization mode on the air around the water heater.

[0098] Another possible implementation method is to first send a warning message to the user, and determine whether to execute the sterilization program corresponding to the target sterilization mode on the air around the water heater based on the user's feedback.

[0099] The method provided in the embodiment of the present application obtains the change trend of the air bacteria content, and determines the corresponding target sterilization mode from multiple sterilization modes according to the change trend, or according to the change trend and the change speed of the change trend. Different sterilization modes are used to deal with different change trends of the air bacteria content, thereby improving the accuracy of selecting the sterilization mode and improving the effectiveness of the sterilization operation.

[0100] At present, if the user does not need to enter the enclosed space where the water heater is located for a long time, the water heater will automatically execute the above method, which will consume a lot of electricity and affect the service life of the water heater. Therefore, considering this problem, before obtaining the bacterial content in the air around the water heater at the first moment in step S101, it can also be determined whether the bacterial content needs to be obtained according to the user's habits. The specific implementation method can be as follows:

[0101] Before obtaining the bacterial content in the air around the water heater at the first moment, the water heater can obtain the sterilization period information, as well as the current time. The sterilization period information is used to characterize the user's habit of using air sterilization operations. The sterilization period information can be, for example, pre-set in the water heater by the user, or sent to the water heater by the user through other electronic devices through a communication connection. The other electronic devices can be, for example, mobile phones, computers, smart home control devices, etc. The sterilization period information can be determined according to the actual needs of the user. For example, if the user wants the water heater to sterilize the air before going home from get off work, the sterilization period information can be set within one hour before getting home from work. Alternatively, if the user wants the water heater to sterilize the air when he is at home, the sterilization period information can be set on weekday evenings or weekends.

[0102] According to the sterilization period information and the current time, it is determined whether to obtain the bacterial content in the air around the water heater at the first moment. If the current time is within the sterilization period, the bacterial content in the air around the water heater at the first moment is obtained; if the current time is outside the sterilization period, the bacterial content in the air around the water heater at the first moment is not obtained.

[0103] Through the method of this embodiment, it is possible to avoid the water heater from executing the above sterilization method when air sterilization is not needed, and only execute the above sterilization method during the sterilization period required by the user, thereby improving the effectiveness of the water heater in performing the sterilization operation and avoiding unnecessary resource consumption.

[0104] In addition, the water heater can also determine whether a sterilization operation needs to be performed, or how to perform a sterilization operation, etc., based on the environmental data around the water heater. Next, the water heater control method of the present application is introduced in detail by introducing environmental factors.

[0105] Firstly, the value of the first bacteria content and / or the second bacteria content may be determined according to environmental data around the water heater.

[0106] The environmental data may be data representing the sterilization requirements corresponding to the environment. For example, when the environmental data represents a home environment, it may correspond to the home sterilization requirements; when the environmental data represents a hospital environment, it may correspond to the hospital sterilization requirements; when the environmental data represents a hotel kitchen environment, it may correspond to the hotel kitchen sterilization requirements, etc. Alternatively, the environmental data may also represent different environments in the home, for example, different sterilization requirements may correspond depending on whether the environment is a kitchen or a bathroom.

[0107] For the above different sterilization requirements, different values ​​of the first bacterial content and / or the second bacterial content can be set. For example, the value of the second bacterial content corresponding to the household sterilization requirement is higher than the value of the second bacterial content corresponding to the hospital sterilization requirement, that is, the minimum bacterial content corresponding to the hospital sterilization requirement that needs to trigger the sterilization mode is higher than the minimum bacterial content corresponding to the household sterilization requirement that needs to trigger the sterilization mode. The sterilization requirement can be preset or input by the user, and this application does not limit this.

[0108] The method of the embodiment of the present application enables the water heater to determine the minimum bacterial content corresponding to different triggering sterilization modes for different environments, and / or, without considering the threshold value of the bacterial content, so that the water heater can adapt to different environments and different sterilization requirements more intelligently, thereby improving the intelligence of the water heater's air sterilization operation.

[0109] There may be factors in the environmental data that affect the air sterilization effect. For example, if the environment where the water heater is located has air circulation with the outside world, and if the bacteria content in the outside air is high, even if the water heater can sterilize to reduce the bacteria content in the air, the constant exchange with the outside air will seriously affect the sterilization effect of the air around the water heater. Alternatively, there may be factors in the environmental data that affect whether to perform the air sterilization operation. For example, if the water heater uses ozone sterilization, if there are children or elderly people around the water heater, ozone leakage may affect the health of the children or the elderly. Therefore, the air sterilization operation should only be performed when there are no elderly people or children around the water heater. In view of the above factors, Figure 4 A flow chart of another water heater control method provided in an embodiment of the present application. Figure 4 As shown, the method may also include:

[0110] S401. Obtain environmental data around the water heater.

[0111] The environmental data may include at least one item of data such as window opening and closing conditions and biometric identification results. For the window opening and closing conditions, detection can be performed through a camera deployed on the water heater, or through other devices connected to the water heater that can perform image acquisition and / or image recognition, or by detecting the air flow rate in the environment. For the biometric identification results, it can be identified based on images, sounds, etc. whether there are specific organisms around the water heater, such as whether there are elderly people, children, pets, etc.

[0112] S402: Determine whether the conditions for performing air sterilization operation are met based on environmental data.

[0113] If the environmental data shows that the window is open and / or that a specific organism exists, the condition for performing the air sterilization operation is not met. If the environmental data shows that the window is closed and / or that a specific organism does not exist, the condition for performing the air sterilization operation is met. It should be understood that these two conditions are only used as examples for explanation, and the specific scope of the conditions is not limited, as long as they are conditions that affect whether the air sterilization operation can be performed.

[0114] S403: If the conditions are met, sterilize the air around the water heater.

[0115] The sterilization operation performed on the air around the water heater can refer to step S105, which will not be repeated here.

[0116] If not, a reminder can be issued to the user, prompting the user that the conditions for performing a sterilization operation on the air around the water heater are not currently met, so that the user can make adjustments corresponding to the conditions, so that the environmental data is changed to meet the conditions for performing a sterilization operation on the air around the water heater, thereby realizing the function of sterilizing the air around the water heater.

[0117] The method provided in the embodiment of the present application determines whether the conditions for performing an air sterilization operation are currently met by detecting environmental data, performs the air sterilization operation when the conditions are met, and sends a reminder to the user when the conditions are not met, thereby improving the effectiveness and safety of the water heater performing the air sterilization operation.

[0118] Figure 5 A flow chart of another water heater control method provided in an embodiment of the present application. Figure 5 As shown, before obtaining the bacterial content in the air around the water heater at the first moment in step S101, the method may further include:

[0119] S501. Obtain environmental data around the water heater.

[0120] The environmental data is used to determine whether there is a target object around the water heater, and may be, for example, an image of the environment, or voiceprint data, etc., as long as it is environmental data that can determine whether the target object is included.

[0121] S502: Determine whether there is a target object around the water heater according to the environmental data.

[0122] The target object is the user of the water heater, or a family member of the user, etc. The information of the target object can be pre-set in the water heater. In this embodiment, it is necessary to determine that the target object exists around the water heater before the subsequent air sterilization method can be started to avoid the water heater performing useless sterilization work in the area where the user will not use the water heater.

[0123] The water heater can determine whether there is a target object around the water heater by identifying whether the environmental data includes features that can indicate whether the target object exists. For example, image recognition can be used to identify the target user's body shape, facial features, etc. to confirm whether there is a target object around the water heater. Alternatively, voiceprint recognition can be used to identify the target user's voice to determine whether there is a target object around the water heater.

[0124] S503: If the target object exists, obtain the bacterial content in the air around the water heater at the first moment.

[0125] If the target object does not exist, the air sterilization method of the water heater is not executed.

[0126] The method provided in the embodiment of the present application detects whether there is a target object around the water heater in the environmental data. If so, the subsequent air sterilization method of the water heater is executed; if not, it indicates that the user is not using the area temporarily, and the method is not executed temporarily, thereby avoiding the water heater from performing useless air sterilization operations and improving the effectiveness and intelligence of the water heater's air sterilization operations.

[0127] Figure 6 This is a schematic diagram of the structure of a water heater control device provided in an embodiment of the present application. Figure 6 As shown, the device may include: an acquisition module 11, a processing module 12, and a control module 13.

[0128] The acquisition module 11 is used to acquire the bacteria content in the air around the water heater at a first moment.

[0129] The processing module 12 is used to obtain the target bacterial content in the air around the water heater at N second moments if the bacterial content is greater than or equal to the first bacterial content and less than the second bacterial content. According to the N target bacterial contents, determine the change trend of the bacterial content in the air around the water heater. According to the change trend of the air bacterial content, determine whether it is necessary to perform an air sterilization operation. The second bacterial content is the minimum bacterial content corresponding to the triggering sterilization mode, and N is an integer greater than or equal to 3.

[0130] The control module 13 is used to perform a sterilization operation on the air around the water heater if an air sterilization operation is required.

[0131] In a possible implementation, the processing module 12 is specifically configured to determine a target sterilization mode from multiple sterilization modes according to the variation trend of the air bacteria content. The control module 13 is specifically configured to execute a sterilization program corresponding to the target sterilization mode on the air around the water heater.

[0132] In this implementation, optionally, when the change trend of the air bacteria content is an increasing trend, the processing module 12 is specifically used to determine the difference between N-1 target bacteria content change rates. According to the difference between the N-1 target bacteria content change rates, the growth rate corresponding to the growth trend is determined. According to the growth rate corresponding to the growth trend, the target sterilization mode is determined from multiple sterilization modes. Among them, the growth rate is positively correlated with the sterilization effect corresponding to the sterilization mode.

[0133] In any of the above implementations, the acquisition module 11 is further used to acquire the sterilization period information and the current time before acquiring the bacterial content in the air around the water heater at the first moment. The processing module 12 is further used to determine whether to acquire the bacterial content in the air around the water heater at the first moment according to the sterilization period information and the current time. The sterilization period information is used to characterize the user's habit of using air sterilization operations.

[0134] In any of the above implementations, the processing module 12 is further configured to determine the first bacteria content and / or the second bacteria content according to environmental data around the water heater.

[0135] In any of the above implementations, the acquisition module 11 is specifically used to acquire environmental data around the water heater. The processing module 12 is specifically used to determine whether the conditions for performing the air sterilization operation are met based on the environmental data. If the conditions are met, the control module 13 is specifically used to perform the sterilization operation on the air around the water heater.

[0136] In any of the above implementations, the acquisition module 11 is further used to acquire environmental data around the water heater before acquiring the bacterial content in the air around the water heater at the first moment. The processing module 12 is further used to determine whether a target object exists around the water heater based on the environmental data. If the target object exists, the acquisition module 11 is further used to acquire the bacterial content in the air around the water heater at the first moment.

[0137] The water heater control device provided in the embodiment of the present application can execute the water heater control method in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0138] Figure 7 The structure diagram of an electronic device provided in an embodiment of the present application is shown in FIG. The electronic device is used to execute the water heater control method mentioned above, for example, the water heater mentioned above. Figure 7 As shown, the electronic device 700 may include: at least one processor 701 , a memory 702 , and a communication interface 703 .

[0139] The memory 702 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer operation instructions.

[0140] The memory 702 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0141] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the method described in the above method embodiment. The processor 701 may be a CPU, or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0142] The processor 701 can communicate and interact with an external device through the communication interface 703, and the external device can be, for example, the electronic device of the user mentioned above. In a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are implemented independently, the communication interface 703, the memory 702 and the processor 701 can be connected to each other through a bus and complete the communication between each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0143] Optionally, in a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are integrated on a chip, the communication interface 703, the memory 702 and the processor 701 can communicate through an internal interface.

[0144] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used for the methods in the above embodiments.

[0145] The present application also provides a program product, which includes an execution instruction, which is stored in a readable storage medium. At least one processor of a computing device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the computing device implements the action of the water heater control device.

[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A water heater control method, characterized in that: The method comprises: Obtaining the bacterial content in the air around the water heater at the first moment; If the bacterial content is greater than or equal to the first bacterial content and less than the second bacterial content, then the target bacterial content in the air around the water heater at N second moments is obtained; the second bacterial content is the minimum bacterial content corresponding to triggering the sterilization mode, and N is an integer greater than or equal to 3; Determining a change trend of the bacterial content in the air around the water heater according to the N target bacterial contents; Determining whether an air sterilization operation needs to be performed according to the change trend of the air bacteria content; If air sterilization operation is required, the air around the water heater is sterilized.

2. The method according to claim 1, characterized in that The sterilizing operation of the air around the water heater comprises: Determining a target sterilization mode from a plurality of sterilization modes according to a change trend of the air bacteria content; A sterilization procedure corresponding to the target sterilization mode is performed on the air around the water heater.

3. The method according to claim 2, characterized in that The change trend of the air bacteria content is an increasing trend, and determining the target sterilization mode according to the change trend of the air bacteria content includes: Determine the difference between N-1 target bacterial content change rates; Determine the growth rate corresponding to the growth trend according to the difference between the N-1 target bacterial content change rates; According to the growth rate corresponding to the growth trend, a target sterilization mode is determined from multiple sterilization modes; the growth rate is positively correlated with the sterilization effect corresponding to the sterilization mode.

4. The method according to any one of claims 1 to 3, characterized in that: Before obtaining the bacterial content in the air around the water heater at the first moment, the method further includes: Acquire sterilization period information and current time, wherein the sterilization period information is used to characterize the user's habit of using air sterilization operation; According to the sterilization period information and the current time, it is determined whether to obtain the bacteria content in the air around the water heater at the first moment.

5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: The first bacteria content and / or the second bacteria content is determined according to environmental data around the water heater.

6. The method according to any one of claims 1 to 3, characterized in that: The sterilizing operation of the air around the water heater comprises: Acquiring environmental data around the water heater; Determining whether the conditions for performing the air sterilization operation are met according to the environmental data; If the conditions are met, a sterilization operation is performed on the air around the water heater.

7. The method according to any one of claims 1 to 3, characterized in that: Before obtaining the bacterial content in the air around the water heater at the first moment, the method further includes: Acquiring environmental data around the water heater; Determining whether there is a target object around the water heater according to the environmental data; If the target object exists, the bacteria content in the air around the water heater at the first moment is obtained.

8. A water heater control device, characterized in that: include: An acquisition module, used for acquiring the bacteria content in the air around the water heater at a first moment; A processing module, for obtaining a target bacterial content in the air around the water heater at N second moments if the bacterial content is greater than or equal to a first bacterial content and less than a second bacterial content; determining a change trend of the bacterial content in the air around the water heater according to the N target bacterial contents; determining whether an air sterilization operation needs to be performed according to the change trend of the air bacterial content; the second bacterial content is a minimum bacterial content corresponding to triggering a sterilization mode, and N is an integer greater than or equal to 3; The control module is used to perform a sterilization operation on the air around the water heater if an air sterilization operation is required.

9. An electronic device, characterized in that: include: A processor, a communication interface, and a memory; the processor is communicatively connected to the communication interface and the memory respectively; The memory stores computer-executable instructions; The communication interface communicates and interacts with external devices; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.