Water heater control method, device and equipment and storage medium

By obtaining the space volume and target sterilization parameters, the target sterilization time of the water heater is determined, and the mapping relationship between the sterile air volume fraction curve and the preset curve is used to solve the problem of inconsistent air sterilization effect of the water heater, achieving a more accurate and efficient air sterilization effect .

CN119222796APending Publication Date: 2024-12-31QINGDAO HAIER WISDOM ELECTRICAL EQUIP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310796663.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing water heaters with air sterilization function have poor air sterilization effect and cannot accurately adjust the sterilization time according to different space volumes and sterilization needs, resulting in inconsistent sterilization effects, which may lead to excessive sterilization time or poor effect.

Method used

By obtaining the space volume of the water heater and the target sterilization parameters of the air, determining the target sterilization time, performing the corresponding air sterilization operation, and using the sterile air volume fraction curve and preset curve mapping relationship, accurately adjusting the sterilization time to improve air sterilization Effect.

Benefits of technology

It improves the accuracy and effect of the sterilization time of the air sterilization function of the water heater, ensures effective sterilization under different space volumes, and avoids the problems of waste of resources and poor user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119222796A_ABST
    Figure CN119222796A_ABST
Patent Text Reader

Abstract

The invention provides a water heater control method and device, equipment and a storage medium. According to the method, the space volume of the space where the water heater is located and the target sterilization parameters of the air in the space are obtained, and the target sterilization parameters are used for representing the sterilization effect needing to be achieved. And according to the space volume and the target sterilization parameters, the target sterilization duration of the water heater is determined. And executing air sterilization operation corresponding to the target sterilization duration. According to the method, the accuracy of the sterilization duration of the air sterilization function of the water heater can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] At present, there are water heaters with air sterilization function, which can sterilize the air in the space where it is located, so as to reduce the bacteria in the air caused by the closed environment or untimely ventilation in the space, and avoid the impact on human health. For example, this water heater can be installed in a space with air sterilization requirements such as a bathroom or kitchen. 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 spatial volume of the space where the water heater is located, and the target sterilization parameters of the air in the space; the target sterilization parameters are used to characterize the sterilization effect to be achieved;

[0007] Determining a target sterilization time of the water heater according to the spatial volume and the target sterilization parameter;

[0008] Perform an air sterilization operation corresponding to the target sterilization time.

[0009] Optionally, determining a target sterilization time of the water heater according to the spatial volume and the target sterilization parameter includes:

[0010] According to the volume of the space, determining a target sterile air volume fraction curve corresponding to the space, wherein the sterile air volume fraction curve represents a sterilization parameter corresponding to a change in sterilization time;

[0011] The target sterilization time is determined according to the target sterile air volume fraction curve and the target sterilization parameter.

[0012] Optionally, determining a sterile air volume fraction curve corresponding to the space according to the volume of the space includes:

[0013] Obtain the target air sterilization program;

[0014] According to the target air sterilization program, determining a preset sterile air volume fraction curve set corresponding to the target air sterilization program;

[0015] According to the space volume and the mapping relationship between the space volume and the sterile air volume fraction curve, determining a target sterile air volume fraction curve corresponding to the space from the preset sterile air volume fraction curve set;

[0016] The performing of the air sterilization operation corresponding to the target sterilization time includes:

[0017] Execute the target air sterilization program corresponding to the target sterilization duration.

[0018] Optionally, obtaining the target air sterilization program includes:

[0019] Acquiring environmental parameters in the space;

[0020] The target sterilization program is determined according to the environmental parameters.

[0021] Optionally, obtaining the spatial volume of the space where the water heater is located includes:

[0022] Acquire the volume of the space according to the collected space parameters of the space where the water heater is located;

[0023] and / or,

[0024] According to the location of the water heater, determining the building where the water heater is located;

[0025] Obtaining layout information of the building where the water heater is located;

[0026] The spatial volume is determined according to the layout information and the location of the water heater.

[0027] Optionally, after performing the air sterilization operation corresponding to the target sterilization time, the method further includes:

[0028] Get the current completed sterilization time;

[0029] Determine the sterilization progress, remaining sterilization time, and predicted sterilization end time according to the currently completed sterilization time and the target sterilization time;

[0030] Output the sterilization progress, the remaining sterilization time, and the predicted sterilization end time.

[0031] Optionally, also include:

[0032] Determine the recommended ventilation duration after sterilization based on the spatial volume of the space;

[0033] The recommended ventilation duration is output.

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

[0035] An acquisition module, used to acquire the spatial volume of the space where the water heater is located, and the target sterilization parameters of the air in the space; the target sterilization parameters are used to characterize the sterilization effect to be achieved;

[0036] A processing module, used to determine a target sterilization time of the water heater according to the space volume and the target sterilization parameter;

[0037] The control module is used to execute the air sterilization operation corresponding to the target sterilization time.

[0038] 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;

[0039] The memory stores computer-executable instructions;

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

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

[0042] 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.

[0043] 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.

[0044] The water heater control method, device, equipment and storage medium provided in the present application obtain the spatial volume of the space where the water heater is located and the target sterilization parameters of the air in the space, determine the target sterilization time of the water heater according to the spatial volume and the target sterilization parameters, and perform an air sterilization operation according to the target sterilization time, so that the water heater can sterilize with a sterilization time corresponding to the spatial volume of the space where the water heater is located when performing the air sterilization operation, thereby improving the accuracy of the sterilization time of the air sterilization function of the water heater. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] 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:

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

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

[0048] Figure 3 A schematic diagram of a sterile air volume fraction curve provided in an embodiment of the present application;

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

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

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

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

[0053] 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

[0054] 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 implementations described in the following exemplary embodiments do not represent all implementations 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.

[0055] The existing water heaters with air sterilization function generally have a fixed sterilization time, such as a fixed sterilization time (such as half an hour), or a time set by the user for air sterilization.

[0056] However, different users install the water heater in different spaces. For example, some users install the water heater in the bathroom, while some users install it in the kitchen. Even if the water heater is installed in a space with the same properties, such as a bathroom, the spatial volume of the bathrooms of different users is different. For example, the size of the bathroom of some users is 5 square meters, while the size of the bathroom of some users is 10 square meters. In the above complex situations, if the sterilization duration of the air sterilization function of the water heater is fixed, due to the different spatial volumes, the volume of the air in the space is also different. Therefore, under the same duration, the air sterilization effect of the water heater is also different.

[0057] Therefore, the current method for setting the sterilization time of the air sterilization function of the water heater cannot guarantee its sterilization effect. If the water heater increases the sterilization time as much as possible to ensure complete sterilization, it may cause the problem of too long sterilization time, resulting in waste of resources and poor user experience. Therefore, the existing method for setting the sterilization time has the problem of long sterilization time or poor sterilization effect, that is, how to improve the accuracy of the sterilization time of the air sterilization function of the water heater is an urgent problem to be solved.

[0058] In view of this, the present application provides a water heater control method, which obtains the spatial volume of the space where the water heater is located, and determines the correspondence between the sterilization time and the sterilization effect under the spatial volume according to the spatial volume and the sterile air volume fraction curve corresponding to the spatial volume, and further determines the sterilization time corresponding to the required sterilization effect under the spatial volume according to the corresponding relationship, thereby improving the accuracy of the sterilization time of the air sterilization function of the water heater.

[0059] The execution subject of the present application may be a water heater with an air sterilization function, 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.

[0060] The following takes the water heater with air sterilization function 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.

[0061] 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:

[0062] S101. Obtain the spatial volume of the space where the water heater is located, and target sterilization parameters of the air in the space.

[0063] Among them, the target sterilization parameter is used to characterize the desired sterilization effect. The target sterilization parameter may include the current air bacteria content in the space and the expected bacteria content of the air in the space, or include the air bacteria content that needs to be reduced. The expected bacteria content may, for example, refer to the total bacteria content expected in the air after air sterilization is completed in the space, or may refer to the bacteria content per unit volume of air expected after air sterilization is completed in the space.

[0064] The current air bacteria content in the space can be obtained by the bacteria detection sensor deployed on the water heater, and the sensor can include at least one of the sensors capable of detecting the bacteria content, such as an air microbial sampler and a bacteria detector. For example, taking the acquisition of the bacteria content by an adenosine triphosphate (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 determining the bacteria content in the sample by an ATP fluorescence detector, and inferring the bacteria content in the air around the water heater by the bacteria content of the sample. The larger the relative light unit (RLU) fed back by the ATP fluorescence detector, the higher the bacteria content in the air. The expected bacteria content can be preset in the water heater, or it can be determined according to the received air sterilization instruction, etc.

[0065] One possible implementation method is that the water heater can measure the spatial volume of the space by itself, or obtain the spatial volume of the space from other electronic devices capable of space measurement connected to the water heater through information interaction. The measurement method can be performed, for example, by laser measurement. This application does not limit the specific measurement method.

[0066] Another possible implementation method is that the water heater can also determine the spatial volume of the space based on the user's settings. For example, it can be set by the user directly operating the water heater, or it can be sent to the water heater by the user through a personal electronic device, such as through an application or mini-program on a mobile phone or tablet computer that controls the water heater. The spatial volume is sent to the water heater.

[0067] S102. Determine the target sterilization time of the water heater according to the space volume and the target sterilization parameters.

[0068] In one possible implementation, the target sterilization duration is determined based on a curve of a sterilization parameter corresponding to the volume of the space and the target sterilization parameter. The curve may be, for example, a curve of the ratio of the volume of sterile air to the volume of air in the space as the sterilization time changes.

[0069] Another possible implementation is to determine, according to the target sterilization parameter, a mapping relationship between different spatial volumes and sterilization durations under the target sterilization parameter, where the mapping relationship may be, for example, a functional relationship or a mapping table, etc. According to the spatial volume and the mapping relationship, the target sterilization duration corresponding to the spatial volume under the target sterilization parameter is determined.

[0070] S103, executing an air sterilization operation corresponding to the target sterilization time.

[0071] The air sterilization operation can be implemented by ultraviolet sterilization, ozone sterilization, or a combination of multiple sterilization methods, and the present application does not limit this. When the water heater performs the air sterilization operation, the sterilization duration of the air sterilization operation is the target sterilization duration.

[0072] The method provided in the embodiment of the present application obtains the spatial volume of the space where the water heater is located and the target sterilization parameters of the air in the space, determines the target sterilization time of the water heater based on the spatial volume and the target sterilization parameters, and performs an air sterilization operation based on the target sterilization time, so that when the water heater performs the air sterilization operation, it can sterilize with a sterilization time corresponding to the spatial volume of the space where the water heater is located, thereby improving the accuracy of the sterilization time of the air sterilization function of the water heater.

[0073] Next, taking the determination of the target sterilization time according to the curve of the sterilization parameter corresponding to the spatial volume and the target sterilization parameter corresponding to the sterilization time as an example, how to determine the target sterilization time of the water heater in step S102 is introduced 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 S102 may include:

[0074] S201. Determine a target sterile air volume fraction curve corresponding to the space according to the space volume.

[0075] Among them, the sterile air volume fraction curve represents the sterilization parameters corresponding to the change of sterilization time, and the sterile air volume fraction curve can be obtained in advance through simulation calculation. The sterile air refers to the air sterilized by the water heater, which can be obtained by the air flow meter in the sterilization module of the water heater. The sterile air volume fraction refers to the volume fraction of the sterile air in the space volume of the space. Exemplarily, the calculation method of the sterile air volume fraction can be shown as follows (1):

[0076]

[0077] Among them, α is the volume fraction of sterile air, α is greater than or equal to 0 and less than or equal to 1, V is the spatial volume of the space, and v is the volume of sterile air. Obviously, the larger the ratio of sterile air to the volume of the space, the deeper the sterilization process is. When it reaches close to 100%, it means that the sterile air in the air is close to 0, the sterilization effect reaches the maximum, and the sterilization ends. In actual situations, the effect is often more significant in the initial stage of sterilization, and more sterilization time is invested in the later stage, but the benefits of sterilization are minimal, resulting in excessive energy consumption.

[0078] For example, Figure 3 Schematic diagram of a sterile air volume fraction curve provided in the embodiment of the present application. Figure 3 As shown in the figure, when the air sterilization operation is carried out for 20 minutes, the sterile air volume fraction is about 80%, when it is carried out for 40 minutes, the sterile air volume fraction is about 96%, and when it is carried out for 60 minutes, the sterile air volume fraction is about 99%. Therefore, by obtaining the target sterilization parameter, that is, the sterile air volume fraction, the different sterilization requirements of different users can be met.

[0079] For different space volumes, the sterile air volume fraction curve is also different. For example, when the space volume is larger, the time required to reach the same sterile air volume fraction is longer. Therefore, for different space volumes, it is necessary to determine the target sterile air volume fraction curve corresponding to the space.

[0080] Implementation A: The water heater may determine a target sterile air volume fraction curve corresponding to the space from a preset sterile air volume fraction curve set. 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 include:

[0081] S401, obtaining a target air sterilization program.

[0082] The target air sterilization program may include information such as the sterilization method and sterilization configuration for executing the sterilization program. For example, the sterilization method may include ultraviolet sterilization, ozone sterilization, etc. When the sterilization method is ultraviolet sterilization, the sterilization configuration may include the wavelength of the ultraviolet rays. The shorter the ultraviolet wavelength, the better the sterilization effect; when the sterilization method is ozone sterilization, the sterilization configuration may include the ozone concentration. Different ozone concentrations result in different sterilization effects. The target sterilization program can characterize the sterilization performance of the water heater. When the target sterilization parameters are the same, the corresponding sterilization time is different for different sterilization performances.

[0083] One possible implementation method is to determine the target sterilization program through environmental parameters.

[0084] In this implementation, the water heater can obtain the environmental parameters in the space, and the environmental parameters can be, for example, the attributes of the space, such as the attributes of the space can be a kitchen, a bathroom, or a home environment, a hospital environment, etc. The attributes of the space can be pre-set by the user in the water heater, can be determined by the water heater based on map data and current positioning information, or can be determined by the water heater from the user's account information obtained from the server, for example, the account information includes the use environment. In addition, the environmental parameters can also be parameters such as temperature and humidity in the space. The water heater can obtain the temperature through a temperature sensor and the humidity through a humidity sensor. The above sensors can be set on the water heater or on other electronic devices connected to the water heater, such as a washing machine, a smart thermometer, a smart hygrometer, etc.

[0085] According to the environmental parameters, the target sterilization program is determined. Different environmental parameters have different suitable sterilization programs. For example, when the humidity is higher, bacteria are more likely to grow, so a sterilization program with higher sterilization intensity can be used to prevent bacteria from multiplying rapidly and affecting the sterilization effect. The water heater can upload the environmental parameters to the server and obtain the corresponding target sterilization program from the server. It can also determine the target sterilization program based on the environmental parameters and the mapping relationship between the environmental parameters and the sterilization program preset in the water heater.

[0086] Another possible implementation is to determine the target sterilization program by receiving target sterilization program indication information. In this implementation, the target sterilization program indication information is obtained by the user through operating the water heater, or is received from the user's electronic device connected to the water heater, and the target sterilization program indication information includes the identification of the target sterilization program, and the water heater determines the target sterilization program according to the indication.

[0087] S402. According to the target air sterilization program, determine a preset sterile air volume fraction curve set corresponding to the target air sterilization program.

[0088] The preset sterile air volume fraction curve set may be stored in a storage medium on the water heater or stored on a server. The water heater determines the preset sterile air volume fraction curve set corresponding to the target air sterilization program according to the target air sterilization program and the mapping relationship between the target air sterilization program and the preset sterile air volume fraction curve set. The preset sterile air volume fraction curve set includes at least two sterile air volume fraction curves corresponding to different space volumes.

[0089] S403: According to the space volume and the mapping relationship between the space volume and the sterile air volume fraction curve, determine a target sterile air volume fraction curve corresponding to the space from a preset sterile air volume fraction curve set.

[0090] Among them, the mapping relationship can be established through the identification of the sterile air volume fraction curve. For example, the identification of the sterile air volume fraction curve includes the corresponding spatial volume. The water heater can determine the sterile air volume fraction curve corresponding to the spatial volume from a preset sterile air volume fraction curve set according to the identification.

[0091] In the implementation mode A, step S103 performs the air sterilization operation corresponding to the target sterilization time, which can be implemented in the following ways:

[0092] The target air sterilization program is executed according to the target sterilization time, that is, the water heater uses the target sterilization time as the execution time of the target air sterilization program and sterilizes according to the configuration of the target air sterilization program.

[0093] Implementation method B: According to the spatial volume of the space, a simulation calculation is performed immediately to determine the target sterile air volume fraction curve corresponding to the space.

[0094] The water heater can upload the spatial volume of the space to the server, and the server performs simulation calculation based on the spatial volume to obtain Figure 3 The target sterile air volume fraction curve shown in the figure is returned to the water heater. The method of performing simulation calculation according to the space volume can refer to the existing simulation technology and set the simulation parameters according to the actual needs to obtain the target sterile air volume fraction curve, which is not described in detail in this application.

[0095] S202. Determine a target sterilization time according to a target sterile air volume fraction curve and target sterilization parameters.

[0096] Continue with Figure 3Taking the sterile air volume fraction curve shown in FIG. 1 as an example, the target sterilization parameter is substituted into the sterile air volume fraction curve to obtain the target sterilization time.

[0097] The method provided in the embodiment of the present application determines the spatial volume of the space and the target sterile air volume fraction curve corresponding to the space, determines the spatial volume of the space and the target sterilization time corresponding to the target sterilization parameters according to the target sterile air volume fraction curve and the target sterilization parameters, thereby improving the accuracy of the sterilization time of the air sterilization function of the water heater.

[0098] Next, how to obtain the spatial volume of the space where the water heater is located in step S101 is described in detail.

[0099] A possible implementation method is to obtain the spatial volume based on the collected spatial parameters of the space where the water heater is located. The spatial parameters may include, for example, the length, width, and height of the space, or may include the area and height of the space, or the spatial parameters include the volume of the space. When the spatial parameters include the length, width, and height of the space, the spatial volume can be obtained by multiplying the length, width, and height; when the spatial parameters include the area and height of the space, the spatial volume can be obtained by multiplying the area and height; when the spatial parameters include the volume of the space, the volume is directly used as the spatial volume. Optionally, the spatial parameters may also include the volume occupied by other furniture, and the volume of the space is determined by subtracting the volume occupied by these furniture from the volume of the space.

[0100] Another possible implementation method is to determine the spatial volume according to the building where the water heater is located.

[0101] According to the location of the water heater, the building where the water heater is located is determined. The location of the water heater can be determined based on a positioning device deployed on the water heater, or based on other electronic devices with positioning devices connected to the water heater near the water heater. According to the location and nearby map data, the building corresponding to the location in the map data is determined as the building where the water heater is located.

[0102] The layout information of the building where the water heater is located is obtained. The layout information may include the room layout in the building, and the room layout may include the volume of each room in the building. The layout information may be stored in map data, and the water heater obtains the layout information from the map data.

[0103] The spatial volume is determined based on the layout information and the location of the water heater. The room where the water heater is located is determined based on the location of the water heater in the building, the room layout of the room is obtained from the layout information, and then the volume of the room is obtained, and the volume of the room is determined as the spatial volume.

[0104] The method provided in the embodiment of the present application determines the spatial volume of the space where the water heater is located by obtaining the spatial parameters of the control where the water heater is located and / or the building where the water heater is located, and accurately determines the spatial volume based on the specific spatial parameters and / or layout information, thereby further improving the accuracy of the target sterilization time of the air sterilization function of the water heater.

[0105] When the water heater performs air sterilization operation, the user may need to view the current sterilization progress. To meet this need, after performing the air sterilization operation corresponding to the target sterilization duration in step S103, the sterilization progress may also be provided to the user. Figure 5 A flow chart of another water heater control method provided in an embodiment of the present application. Figure 5 As shown, the method may also include:

[0106] S501. Obtain the current completed sterilization time.

[0107] The completed sterilization time can be determined according to the timer in the water heater, or the corresponding time point can be determined according to the sterile air volume fraction and the sterile air volume fraction curve. The completed sterilization time can be obtained by subtracting the initial time point when the air sterilization operation of the water heater is started from this time point.

[0108] S502. Determine the sterilization progress, remaining sterilization time, and predicted sterilization end time based on the currently completed sterilization time and the target sterilization time.

[0109] According to the ratio of the current completed sterilization time and the target sterilization time, the proportion of the completed sterilization time to the target sterilization time can be determined, and the proportion can be the sterilization progress. According to the target sterilization time minus the current completed sterilization time, the remaining sterilization time can be obtained. According to the initial time point of starting the air sterilization operation of the water heater and the target sterilization time, the predicted sterilization end time can be obtained.

[0110] S503: Output the sterilization progress, remaining sterilization time, and predicted sterilization end time.

[0111] The water heater can output the sterilization progress, remaining sterilization time, and predicted sterilization end time, for example, through voice output or on a display screen of the water heater. It can also output the sterilization progress, remaining sterilization time, and predicted sterilization end time to the user's electronic device, such as a mobile phone, computer, or other electronic device.

[0112] In addition, after the air sterilization operation is completed, gases harmful to human health caused by the air sterilization operation may remain in the air. For example, ultraviolet sterilization may produce ozone, and ozone sterilization may also cause ozone leakage. Therefore, after the air sterilization operation is completed, the water heater can also prompt the user to ventilate after sterilization. Based on this, the method can also include the water heater outputting a ventilation prompt after the air sterilization operation is completed.

[0113] In a possible implementation, the water heater outputs a preset ventilation recommendation time to remind the user to ventilate the room to avoid residual harmful gases that may harm the user's health.

[0114] Another possible implementation method is to determine the recommended ventilation time after sterilization based on the spatial volume of the space, and output the recommended ventilation time. Due to different spatial volumes, the ventilation time required to achieve an effective ventilation effect is also different. Therefore, it is necessary to determine the recommended ventilation time after sterilization based on the spatial volume of the space. For example, the recommended ventilation time can be calculated based on the spatial volume, or the recommended ventilation time can be determined based on the spatial volume and the mapping relationship between the spatial volume and the recommended ventilation time. Specifically, for example, a curve of the relationship between the spatial volume and the recommended ventilation time can be preset in the water heater, and the mapping relationship can be determined based on the curve.

[0115] The method provided in the embodiment of the present application determines the spatial volume of the space, determines the recommended ventilation time after sterilization based on the spatial volume, and prompts the user with the recommended ventilation time after sterilization for sterilization to avoid residual harmful gases that damage the user's health, thereby improving the safety of the air sterilization function of the water heater.

[0116] Figure 6 A water heater control device is 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.

[0117] The acquisition module 11 is used to acquire the spatial volume of the space where the water heater is located and the target sterilization parameter of the air in the space. The target sterilization parameter is used to characterize the sterilization effect to be achieved.

[0118] The processing module 12 is used to determine the target sterilization time of the water heater according to the space volume and the target sterilization parameter.

[0119] The control module 13 is used to execute the air sterilization operation corresponding to the target sterilization time.

[0120] In a possible implementation, the processing module 12 is specifically configured to determine a target sterile air volume fraction curve corresponding to the space according to the volume of the space. According to the target sterile air volume fraction curve and the target sterilization parameter, a target sterilization time is determined. The sterile air volume fraction curve represents the sterilization parameter corresponding to the change of the sterilization time.

[0121] In this implementation, the acquisition module 11 is specifically used to acquire the target air sterilization program. The processing module 12 is specifically used to determine a preset sterile air volume fraction curve set corresponding to the target air sterilization program according to the target air sterilization program. According to the space volume and the mapping relationship between the space volume and the sterile air volume fraction curve, the target sterile air volume fraction curve corresponding to the space is determined from the preset sterile air volume fraction curve set. The control module 13 is specifically used to execute the target air sterilization program corresponding to the target sterilization duration.

[0122] Optionally, the acquisition module 11 is specifically used to acquire the environmental parameters in the space. The processing module 12 is specifically used to determine the target sterilization program according to the environmental parameters.

[0123] In any of the above implementations, the processing module 12 is specifically used to obtain the volume of the space according to the collected spatial parameters of the space where the water heater is located. And / or, according to the location of the water heater, determine the building where the water heater is located. Obtain the layout information of the building where the water heater is located. According to the layout information and the location of the water heater, determine the volume of the space.

[0124] Optionally, the acquisition module 11 is further used to obtain the currently completed sterilization time after the control module 13 performs the air sterilization operation of the water heater corresponding to the target sterilization time. The processing module 12 is further used to determine the sterilization progress, the remaining sterilization time, and the predicted sterilization end time according to the currently completed sterilization time and the target sterilization time. The control module 13 is further used to output the sterilization progress, the remaining sterilization time, and the predicted sterilization end time.

[0125] In this implementation, the processing module 12 is further used to determine the recommended ventilation time after sterilization according to the spatial volume of the space. The control module 13 is further used to output the recommended ventilation time.

[0126] 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.

[0127] Figure 7 The structure diagram of an electronic device provided in an embodiment of the present application. The electronic device is used to execute the water heater control method mentioned above, for example, it can be the water heater with air sterilization function 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 .

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

[0129] 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.

[0130] 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.

[0131] 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 personal 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.

[0132] 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.

[0133] 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.

[0134] 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.

[0135] 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 spatial volume of the space where the water heater is located, and the target sterilization parameters of the air in the space; the target sterilization parameters are used to characterize the sterilization effect to be achieved; Determining a target sterilization time of the water heater according to the spatial volume and the target sterilization parameter; Perform an air sterilization operation corresponding to the target sterilization time.

2. The method according to claim 1, characterized in that Determining the target sterilization time of the water heater according to the spatial volume and the target sterilization parameter includes: According to the volume of the space, determining a target sterile air volume fraction curve corresponding to the space, wherein the sterile air volume fraction curve represents a sterilization parameter corresponding to a change in sterilization time; The target sterilization time is determined according to the target sterile air volume fraction curve and the target sterilization parameter.

3. The method according to claim 2, characterized in that Determining a sterile air volume fraction curve corresponding to the space according to the volume of the space includes: Obtain the target air sterilization program; According to the target air sterilization program, determining a preset sterile air volume fraction curve set corresponding to the target air sterilization program; According to the space volume and the mapping relationship between the space volume and the sterile air volume fraction curve, determining a target sterile air volume fraction curve corresponding to the space from the preset sterile air volume fraction curve set; The performing of the air sterilization operation corresponding to the target sterilization time includes: Execute the target air sterilization program corresponding to the target sterilization duration.

4. The method according to claim 3, characterized in that The target air sterilization program is obtained, including: Acquiring environmental parameters in the space; The target sterilization program is determined according to the environmental parameters.

5. The method according to any one of claims 1 to 4, characterized in that: The obtaining of the spatial volume of the space where the water heater is located includes: Acquire the volume of the space according to the collected space parameters of the space where the water heater is located; and / or, According to the location of the water heater, determining the building where the water heater is located; Obtaining layout information of the building where the water heater is located; The spatial volume is determined according to the layout information and the location of the water heater.

6. The method according to any one of claims 1 to 4, characterized in that: After performing the air sterilization operation corresponding to the target sterilization time, the method further includes: Get the current completed sterilization time; Determine the sterilization progress, the remaining sterilization time, and the predicted sterilization end time according to the currently completed sterilization time and the target sterilization time; Output the sterilization progress, the remaining sterilization time, and the predicted sterilization end time.

7. The method according to claim 6, characterized in that Also includes: Determine the recommended ventilation duration after sterilization based on the spatial volume of the space; The recommended ventilation duration is output.

8. A water heater control device, characterized in that: include: An acquisition module, used to acquire the spatial volume of the space where the water heater is located, and target sterilization parameters of the air in the space; The target sterilization parameter is used to characterize the desired sterilization effect; A processing module, used to determine a target sterilization time of the water heater according to the space volume and the target sterilization parameter; The control module is used to execute the air sterilization operation corresponding to the target sterilization time.

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.