AIR-CONDITIONING DEVICE, DRAINAGE CONTROL METHOD AND APPARATUS THEREFOR, AND COMPUTER-READABLE STORAGE MEDIUM

20250164143 ยท 2025-05-22

Assignee

Inventors

Cpc classification

International classification

Abstract

An air conditioner, a drainage control method and apparatus therefor, and a computer-readable storage medium are provided. An outdoor water storage tank of the air conditioner has a first outdoor water level switch and a second outdoor water level switch. An indoor water storage tank of the air conditioner has a first indoor water level switch. The drainage control method includes controlling, in response to the first indoor water level switch not being triggered and the first outdoor water level switch or the second outdoor water level switch being triggered, a drainage pump to operate, to discharge water in the outdoor water storage tank into the indoor water storage tank for water storage. The method further includes determining that rainy weather occurs, and controlling a spray pump to operate to discharge water in the indoor water storage tank to an outdoor environment.

Claims

1. A drainage control method for an air-conditioning device, the air-conditioning device comprising an indoor water storage tank, an outdoor water storage tank, a drainage pump, and a spray pump, the drainage pump being disposed to be corresponding to the outdoor water storage tank and configured to pump water in the outdoor water storage tank into the indoor water storage tank, the spray pump being disposed to be corresponding to the indoor water storage tank and configured to discharge water in the indoor water storage tank to an outdoor environment, the outdoor water storage tank being provided with a first outdoor water level switch and a second outdoor water level switch, and the indoor water storage tank being provided with a first indoor water level switch, wherein the drainage control method comprises: controlling, in response to the first indoor water level switch not being triggered and the first outdoor water level switch or the second outdoor water level switch being triggered, the drainage pump to operate at a first predetermined frequency, to discharge the water in the outdoor water storage tank into the indoor water storage tank for water storage; and determining, during water storage in the indoor water storage tank and in response to the first indoor water level switch being triggered and the second outdoor water level switch being in a triggered state within a first predetermined duration, that rainy weather occurs, and controlling the spray pump to continuously operate at a second predetermined frequency for a second predetermined duration to discharge the water in the indoor water storage tank to the outdoor environment.

2. The drainage control method according to claim 1, further comprising, in response to the spray pump operating at the second predetermined frequency: obtaining a number of times the spray pump operates and a duration for which the first indoor water level switch is continuously triggered; and turning off the spray pump, and determining that the spray pump is in a faulty state, when the number of times the spray pump operates is greater than or equal to a first predetermined number of times, or when the duration for which the first indoor water level switch is continuously triggered is longer than or equal to a third predetermined duration.

3. The drainage control method according to claim 1, further comprising: controlling, in response to obtaining an off control signal for the spray pump, the spray pump to continue operating for a fourth predetermined duration, and then turning off the spray pump.

4. The drainage control method according to claim 1, further comprising: controlling, during the water storage in the indoor water storage tank and in response to the first indoor water level switch not being triggered and the first outdoor water level switch changing from a triggered state to a non-triggered state, the spray pump to operate at the second predetermined frequency, to discharge the water in the indoor water storage tank to the outdoor environment.

5. The drainage control method according to claim 4, further comprising: detecting whether the second outdoor water level switch is in a triggered state subsequent to a fifth predetermined duration, in response to the first indoor water level switch not being triggered and the first outdoor water level switch being triggered; issuing an outdoor high water level alarm in response to the second outdoor water level switch being triggered; obtaining a number of times the drainage pump operates and a duration for which the first outdoor water level switch is continuously triggered, in response to the second outdoor water level switch not being triggered; and turning off the drainage pump and determining that the drainage pump is in a faulty state, when the number of times the drainage pump operates is greater than or equal to a second predetermined number of times, or when the duration for which the first outdoor water level switch is continuously triggered is longer than or equal to a sixth predetermined duration.

6. The drainage control method according to claim 1, further comprising: turning off the drainage pump in response to controlling the spray pump to operate, and turning off the spray pump in response to controlling the drainage pump to operate.

7. The drainage control method according to claim 1, wherein the air-conditioning device further comprises an indoor humidification water tank and a humidification water pump disposed to be corresponding to the indoor water storage tank, the drainage control method further comprising: controlling, in response to obtaining a humidification function activation instruction of the air-conditioning device, the humidification water pump to operate, to discharge the water in the indoor water storage tank into the indoor humidification water tank.

8. A computer-readable storage medium, having a drainage control program of an air-conditioning device stored thereon, wherein the drainage control program, when executed by at least one processor, implements the drainage control method for the air-conditioning device according to claim 1.

9. A drainage control apparatus for an air-conditioning device, the air-conditioning device comprising an indoor water storage tank, an outdoor water storage tank, a drainage pump, and a spray pump, the drainage pump being disposed to be corresponding to the outdoor water storage tank and configured to pump water in the outdoor water storage tank into the indoor water storage tank, the spray pump being disposed to be corresponding to the indoor water storage tank and configured to discharge water in the indoor water storage tank to an outdoor environment, the outdoor water storage tank being provided with a first outdoor water level switch and a second outdoor water level switch, and the indoor water storage tank being provided with a first indoor water level switch, wherein the drainage control apparatus comprises at least one processor configured to: control, in response to the first indoor water level switch not being triggered and the first outdoor water level switch or the second outdoor water level switch being triggered, the drainage pump to operate at a first predetermined frequency, to discharge the water in the outdoor water storage tank into the indoor water storage tank for water storage; and determine, during water storage in the indoor water storage tank and in response to the first indoor water level switch being triggered and the second outdoor water level switch being in a triggered state within a first predetermined duration, that rainy weather occurs, and control the spray pump to continuously operate at a second predetermined frequency for a second predetermined duration to discharge the water in the indoor water storage tank to the outdoor environment.

10. An air-conditioning device comprising the drainage control apparatus according to claim 9.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0024] FIG. 1 is a schematic structural view of an air-conditioning device according to an embodiment of the present disclosure.

[0025] FIG. 2 is a flowchart of a drainage control method for an air-conditioning device according to an embodiment of the present disclosure.

[0026] FIG. 3 is a flowchart of a drainage control method for an air-conditioning device according to another embodiment of the present disclosure.

[0027] FIG. 4 is a flowchart of a drainage control method for an air-conditioning device according to yet another embodiment of the present disclosure.

[0028] FIG. 5 is a schematic structural view of an air-conditioning device according to another embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0029] Embodiments of the present disclosure will be described in detail below with reference to examples thereof as illustrated in the accompanying drawings, throughout which same or similar elements, or elements having same or similar functions, are denoted by same or similar reference numerals. The embodiments described below with reference to the drawings are illustrative only, and are intended to explain, rather than limit, the present disclosure.

[0030] An air-conditioning device, a drainage control method and apparatus therefor, and a storage medium according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0031] In a drainage control method for an air-conditioning device provided by the present disclosure, as illustrated in FIG. 1, an air-conditioning device 100 includes an indoor water storage tank 101, an outdoor water storage tank 102, a drainage pump 103, and a spray pump 104. The drainage pump 103 is disposed to be corresponding to the outdoor water storage tank 102. The spray pump 104 is disposed to be corresponding to the indoor water storage tank 101. The outdoor water storage tank 102 is provided with a first outdoor water level switch 105 and a second outdoor water level switch 106. The indoor water storage tank 101 is provided with a first indoor water level switch 107. The drainage pump 103 can pump water in the outdoor water storage tank 102 into the indoor water storage tank 101, and then discharge water in the indoor water storage tank 101 to an outdoor environment through the spray pump 104. A spray head 108 of the spray pump 104 can be disposed at a wall of an outdoor unit.

[0032] In a further exemplary embodiment of the present disclosure, as illustrated in FIG. 1, the air-conditioning device 100 includes an outdoor unit and an indoor unit. The outdoor unit further includes a condenser 109. The indoor unit includes an evaporator 110. The outdoor water storage tank 102 is disposed below the condenser 109 to facilitate collecting condensed water generated during an operation of the condenser 109. When rainy weather occurs outdoors, the outdoor water storage tank 102 receives part of rainwater. The indoor water storage tank 101 is also disposed below the evaporator 110 to facilitate collecting condensed water generated during an operation of the evaporator 110. It should be understood that, the indoor unit and the outdoor unit are further provided with an outer fan 111 and an inner fan 112, respectively, to improve air-conditioning performance.

[0033] FIG. 2 is a flowchart of a drainage control method for an air-conditioning device according to an embodiment of the present disclosure.

[0034] As illustrated in FIG. 2, the drainage control method for the air-conditioning device in the embodiment includes the following operations.

[0035] At S101, in response to the first indoor water level switch not being triggered and the first outdoor water level switch or the second outdoor water level switch being triggered, the drainage pump is controlled to operate at a first predetermined frequency, to discharge the water in the outdoor water storage tank into the indoor water storage tank for water storage.

[0036] In particular, the embodiment is described in conjunction with FIG. 1. The water level switch involved in the embodiment has a function of automatically generating a water level signal in response to detecting water, in such a manner that a controller can control the corresponding water pump based on the water level signal. The water pump refers to the drainage pump 103 and the spray pump 104. In some embodiments, other pump bodies can be further included, such as a humidification water pump. When water accumulates in the outdoor water storage tank 102 and a water level of the accumulated water reaches a water level at which the first outdoor water level switch 105 is located, the drainage pump 103 can be controlled to discharge the water in the outdoor water storage tank 102 into the indoor water storage tank 101. When a water level of the water in the indoor water storage tank 101 reaches a water level at which the first indoor water level switch 107 is located, the spray pump 104 can be controlled to discharge the water in the indoor water storage tank 101 to the outdoor environment.

[0037] In a further exemplary embodiment of the present disclosure, when the first indoor water level switch 107 is not triggered and the first outdoor water level switch 105 or the second outdoor water level switch 106 is triggered, the drainage pump 103 can be controlled to operate at the first predetermined frequency. For example, in a heating process, water accumulates in the outdoor water storage tank 102. In response to the accumulated water triggering the first outdoor water level switch 105 or the second outdoor water level switch 106 and the first indoor water level switch 107 not being triggered, the drainage pump 103 can be controlled to discharge the water in the outdoor water storage tank 102 into the indoor water storage tank 101, to facilitate subsequently discharging, by the spray pump 104, the water in the indoor water storage tank 101 to the outdoor environment.

[0038] In the embodiment, the first predetermined frequency can be 10 seconds of shutdown for every 50 seconds of operation. That is, when the drainage pump 103 is in an operation state, a specific operation manner of the drainage pump 103 is to continuously operate for 50 seconds, and then shut down for 10 seconds. Operating at this frequency can prevent the drainage pump 103 from operating for a long time, prolonging an operation life of the drainage pump 103.

[0039] At S102, during water storage in the indoor water storage tank, it is determined that rainy weather occurs in response to the first indoor water level switch being triggered and the second outdoor water level switch being in a triggered state within a first predetermined duration, and the spray pump is controlled to continuously operate at a second predetermined frequency for a second predetermined duration to discharge the water in the indoor water storage tank to the outdoor environment.

[0040] In an exemplary embodiment of the present disclosure, the water level in the outdoor water storage tank 102 normally gets lower and lower while the drainage pump 103 discharges the water in the outdoor water storage tank 102 into the indoor water storage tank 101. In addition, in the embodiment, during a normal operation, the drainage pump 103 discharges the water in the outdoor water storage tank 102 into the indoor water storage tank 101, and the first outdoor water level switch 105 of the outdoor water storage tank 102 is no longer triggered when the first indoor water level switch 107 of the indoor water storage tank 101 is triggered. In the embodiment, when the first indoor water level switch 107 is triggered, and the second outdoor water level switch 106 is still in a triggered state within the first predetermined duration, it indicates that the water in the outdoor water storage tank 102 does not decrease although the drainage pump 103 currently discharges the water in the outdoor water storage tank 102 into the indoor water storage tank 101. Therefore, it is determined that the rainy weather occurs currently. The first predetermined duration in the embodiment can be a relatively short time period, for example, 10 seconds, 30 seconds, 2 minutes, or 5 minutes, and can be determined based on a specific volume of the outdoor water storage tank 102. In the rainy weather, the spray pump 104 can be controlled to continuously operate at the second predetermined frequency for the second predetermined duration. The second predetermined frequency can be 10 seconds of shutdown for every 30 seconds of operation. The second predetermined duration can be 20 minutes. That is, when it is determined that the rainy weather occurs, the spray pump 104 can be controlled to shut down for 10 seconds for every 30 seconds within the operation of 20 minutes. During the second predetermined duration, the first outdoor water level switch 105 or the second outdoor water level switch 106 is always in the triggered state due to the rainy weather. Therefore, the first outdoor water level switch 105 or the second outdoor water level switch 106 can be free from being specifically detected repeatedly, which simplifies a control logic.

[0041] It should be noted that, the first predetermined frequency, the second predetermined frequency, the first predetermined duration, and the second predetermined duration in the embodiment can all be set based on actual use conditions, and thus are not specifically limited herein.

[0042] In the embodiment, the drainage control method includes: turning off the drainage pump in response to controlling the spray pump to operate, and turning off the spray pump in response to controlling the drainage pump to operate.

[0043] In an exemplary embodiment of the present disclosure, when the drainage pump 103 discharges the water in the outdoor water storage tank 102 into the indoor water storage tank 101, the spray pump 104 is turned off. That is, the spray pump 104 is controlled not to operate. However, when the spray pump 104 discharges the water in the indoor water storage tank 101 to the outdoor environment through the spray head 108, the drainage pump 103 is turned off. That is, the drainage pump 103 is controlled not to operate.

[0044] It should be understood that, controlling the drainage pump 103 and the spray pump 104 not to operate simultaneously can prolong the operation life of the water pump. In the rainy weather, the water level switch in the outdoor water storage tank 102 and the water level switch in the indoor water storage tank 101 are continuously in the triggered state. According to a conventional control logic, both the drainage pump 103 and the spray pump 104 need to be in an operation state. However, due to rain, it is likely that both the drainage pump 103 and the spray pump 104 operate for a long time period based on a time length of the rain, which reduces the service life of the water pump. In the embodiment, the drainage pump 103 and the spray pump 104 are limited from operating simultaneously.

[0045] In some embodiments of the present disclosure, as illustrated in FIG. 3, when the spray pump operates at the second predetermined frequency, the drainage control method further includes the following operations.

[0046] At S301, a number of times the spray pump operates and a duration for which the first indoor water level switch is continuously triggered are obtained.

[0047] In particular, the embodiment is described in conjunction with FIG. 1. During the operation of the spray pump 104 at the second predetermined frequency, the number of times the spray pump operates can be obtained. A duration of each operation of the spray pump 104 can be understood as one operation duration plus one shutdown duration. The one operation duration can be 30 seconds while the one shutdown duration can be 10 seconds. In the embodiment, the duration for which the first indoor water level switch 107 is continuously triggered is also obtained. It should be understood that, when the first indoor water level switch 107 detects that the water level in the indoor water storage tank 101 reaches a position where the first indoor water level switch 107 is located, it indicates that the first indoor water level switch 107 is triggered. Therefore, timing is started to obtain the duration for which the first indoor water level switch 107 is continuously triggered. However, when the water level in the indoor water storage tank 101 is lower than the position where the first indoor water level switch 107 is located, it indicates that the first indoor water level switch 107 is stopped not being triggered currently. Therefore, the timing can be cleared to zero and restarted when the first indoor water level switch 107 is triggered next time.

[0048] At S302, the spray pump is turned off, and the spray pump being in a faulty state is determined, when the number of times the spray pump operates is greater than or equal to a first predetermined number of times, or when the duration for which the first indoor water level switch is continuously triggered is longer than or equal to a third predetermined duration.

[0049] In an exemplary embodiment of the present disclosure, subsequent to obtaining the number of times the spray pump operates and the duration for which the first indoor water level switch is continuously triggered, a comparison is performed for each of the number of times the spray pump operates and the duration for which the first indoor water level switch is continuously triggered. When the number of times the spray pump operates is greater than or equal to the first predetermined number of times, or when the duration for which the first indoor water level switch 107 is continuously triggered is longer than or equal to the third predetermined duration, the spray pump can be turned off. It should be understood that, in the embodiment, the first predetermined number of times can be 30 times, while the third predetermined duration can be 10 minutes. During the normal operation, the spray pump 104 operates for 30 times, and thus the water in the indoor water storage tank 101 is drained or at least the first indoor water level switch 107 is not continuously triggered for 10 minutes. When the spray pump 104 continuously operates for 30 times or the first indoor water level switch 107 is continuously triggered for 10 minutes, the current spray pump 104 can be determined to be in the faulty state, and thus the water in the indoor water storage tank 101 can not be normally discharged to the outdoor environment. Therefore, the spray pump 104 is turned off, and a fault alarm can be issued. Information of the fault alarm can include a fault of the spray pump 104 and/or a fault of the spray head 108.

[0050] In some embodiments of the present disclosure, the drainage control method further includes: controlling, in response to obtaining an off control signal for the spray pump, the spray pump to continue operating for a fourth predetermined duration, and then turning off the spray pump.

[0051] In an exemplary embodiment of the present disclosure, during the operation of the spray pump 104, a user can control the spray pump 104 or the air-conditioning device 100 to stop operating at any time through a control device such as a remote control or a wire control. It should be understood that, an off control signal for the spray pump 104 can also be obtained by the air-conditioning device 100 when the air-conditioning device 100 stops operating, to further control the spray pump 104 to be turned off. In a process of controlling the spray pump 104 to be turned off, the air-conditioning device 100 further controls, after receiving the off control signal for the spray pump, the spray pump to continue operating for the fourth predetermined duration, and then controls the spray pump 104 to be turned off to ensure that water in a water pipeline connecting the spray head 108 to the spray pump 104 can be discharged. In this way, the water does not freeze in the spray head 108 and/or in the water pipeline, preventing the spray pump 104 from failing to operate properly at a next startup.

[0052] The fourth predetermined duration in the embodiment can be one operation duration of the spray pump 104. The one operation duration can be 30 seconds. Further, in some embodiments, the spray pump 104 can be controlled to discharge air to the outdoor environment during an end predetermined duration in the operation duration of the spray pump 104 to reduce a risk of freezing and clogging of the spray head. In an exemplary embodiment of the present disclosure, the spray pump 104 can discharge water normally during first two-thirds of the operation duration, and pump air to the outdoor environment during a last one-third of the operation duration.

[0053] In some embodiments of the present disclosure, the drainage control method includes: controlling, during the water storage in the indoor water storage tank in response to the first indoor water level switch not being triggered and the first outdoor water level switch changing from a triggered state to a non-triggered state, the spray pump to operate at the second predetermined frequency, to discharge the water in the indoor water storage tank to the outdoor environment.

[0054] In an exemplary embodiment of the present disclosure, when the drainage pump 103 discharges the water in the outdoor water storage tank 102 into the indoor water storage tank 101, i.e., during the water storage in the indoor water storage tank, the water in the outdoor water storage tank 102 becomes less and less, while the water in the indoor water storage tank 101 becomes more and more. In this case, when the first indoor water level switch 107 is not triggered, but the first outdoor water level switch 105 changes from a triggered state to a non-triggered state, it indicates that a relatively small amount of water presents in the outdoor water storage tank 102, while a relatively large amount of water is stored in the indoor water storage tank 101. Therefore, the spray pump 104 can be controlled to operate to discharge the water in the indoor water storage tank 101 to the outdoor environment. More specifically, in the embodiment, the spray pump 104 is still controlled at the second predetermined frequency. The second predetermined frequency has been described in detail in the above embodiments, and thus details thereof will be omitted here.

[0055] In the embodiment, as illustrated in FIG. 4, the drainage control method for the air-conditioning device further includes the following operations.

[0056] At S401, whether the second outdoor water level switch is in a triggered state is detected subsequent to a fifth predetermined duration, in response to the first indoor water level switch not being triggered and the first outdoor water level switch being triggered.

[0057] At S402, an outdoor high water level alarm is issued in response to the second outdoor water level switch being triggered.

[0058] In an exemplary embodiment of the present disclosure, in response to determining that rainy weather does not occur currently and the drainage pump 103 discharges the water from the outdoor water storage tank 102 into the indoor water storage tank 101, normally, the water in the outdoor water storage tank 102 becomes less and less while the water in the indoor water storage tank 101 becomes more and more. When the first indoor water level switch 107 is not triggered and the first outdoor water level switch 105 is triggered, timing is started. When it is further detected the second outdoor water level switch 106 is in the triggered state in response to a duration of the timing reaching the fifth predetermined duration, it indicates that the water in the outdoor water storage tank 102 becomes more and more, and thus the outdoor high water level alarm can be issued.

[0059] It should be noted that, the fifth predetermined duration in the embodiment can be 5 minutes and is greater than the first predetermined duration. In addition, the outdoor high water level alarm in the embodiment can be issued in a voice alarm manner, a light alarm manner, or the like.

[0060] At S403, a number of times the drainage pump operates and a duration for which the first outdoor water level switch is continuously triggered are obtained, in response to the second outdoor water level switch not being triggered.

[0061] In an exemplary embodiment of the present disclosure, when the second outdoor water level switch 106 is not triggered subsequent to the fifth predetermined duration, the number of times the drainage pump 103 operates and the duration for which the first outdoor water level switch 105 is continuously triggered are further obtained. In a process of the drainage pump 103 operating at the first predetermined frequency, a duration of each operation of the drainage pump 103 can be understood as one operation duration plus one shutdown duration. The one operation duration can be 50 seconds while the one shutdown duration can be 10 seconds. In the embodiment, the duration for which the first outdoor water level switch 105 is continuously triggered is also obtained. It should be understood that, when the first outdoor water level switch 105 detects that the water level in the outdoor water storage tank 102 reaches a position where the first outdoor water level switch 105 is located, it indicates that the first outdoor water level switch 105 is triggered. Therefore, timing is started to obtain the duration for which the first outdoor water level switch 105 is continuously triggered. However, when the water level in the outdoor water storage tank 102 is lower than the position where the first outdoor water level switch 105 is located, it indicates that the first outdoor water level switch 105 is stopped not being triggered currently. Therefore, the timing can be cleared to zero and restarted when the first outdoor water level switch 105 is triggered next time.

[0062] At S404, the drainage pump is turned off and the drainage pump is determined to be in a faulty state, when the number of times the drainage pump operates is greater than or equal to a second predetermined number of times, or when the duration for which the first outdoor water level switch is continuously triggered is longer than or equal to a sixth predetermined duration.

[0063] In an exemplary embodiment of the present disclosure, subsequent to obtaining the number of times the drainage pump 103 operates and the duration for which the first outdoor water level switch 105 is continuously triggered, a comparison is performed for each of the number of times the drainage pump 103 operates and the duration for which the first outdoor water level switch 105 is continuously triggered. When the number of times the drainage pump 103 operates is greater than or equal to the second predetermined number of times, or when the duration for which the first outdoor water level switch 105 is continuously triggered is longer than or equal to the sixth predetermined duration, the drainage pump 103 can be turned off. It should be understood that, in the embodiment, the second predetermined number of times can be 30 times, while the sixth predetermined duration can be 15 minutes. During the normal operation, the drainage pump 103 operates for 30 times, and thus the water in the outdoor water storage tank 102 is drained or at least the first outdoor water level switch 105 is not continuously triggered for 15 minutes. When the drainage pump 103 continuously operates for 30 times or the first outdoor water level switch 105 is continuously triggered for 15 minutes, the current drainage pump 103 can be determined to be in the faulty state, and thus the water in the outdoor water storage tank 102 can not be normally discharged to the indoor water storage tank 101. Therefore, the drainage pump 103 is turned off, and a drainage fault alarm can be issued.

[0064] In some embodiments of the present disclosure, the air-conditioning device further includes an indoor humidification water tank and a humidification water pump. The humidification water pump is disposed to be corresponding to the indoor water storage tank. The drainage control method further includes: controlling, in response to obtaining a humidification function activation instruction of the air-conditioning device, the humidification water pump to operate, to discharge the water in the indoor water storage tank into the indoor humidification water tank.

[0065] In an exemplary embodiment of the present disclosure, as illustrated in FIG. 1, the air-conditioning device 100 further includes an indoor humidification water tank 113 and a humidification water pump 114. The humidification water pump 114 is disposed to be corresponding to the indoor water storage tank 101 and capable of pumping the water in the indoor water storage tank 101 into the indoor humidification water tank 113. The indoor humidification water tank 113 and the humidification water pump 114 are both disposed in the indoor unit. The air-conditioning device 100 can be configured to obtain the humidification function activation instruction issued by the user through a remote control or a wire control, and then control, based on the humidification function activation instruction, the humidification water pump 114 to operate to discharge the water in the indoor water storage tank 101 into the indoor humidification water tank 113 for a subsequent humidification operation. In a further exemplary embodiment of the present disclosure, a bottom of the indoor humidification water tank 113 is hollowed. In addition, the indoor humidification water tank 113 is disposed at an upper end of the evaporator 110. In this way, water in the indoor humidification water tank 113 can pass through the evaporator 110 and then be blown into an indoor environment by the inner fan 112 to complete humidification of indoor air.

[0066] In some embodiments, the air-conditioning device 100 of the present disclosure can further be provided with a humidity detector 115 configured to detect indoor air humidity to help the user determine whether to activate a humidification function. In addition, the indoor water storage tank 101 of the present disclosure can further be provided with a second indoor water level switch 116. The second indoor water level switch 116 can replace the first indoor water level switch 107 to complete the above embodiments.

[0067] In summary, the drainage control method for the air-conditioning device according to the embodiments of the present disclosure can reduce the operation duration of the water pump, prolonging the service life of the water pump, and improving the user experience. In addition, the spray head is further ensured not to be clogged by freezing, ensuring that the air-conditioning device can operate normally.

[0068] Further, the present disclosure provides a computer-readable storage medium. The computer-readable storage medium stores a drainage control program of an air-conditioning device. The drainage control program, when executed by a processor, implements the drainage control method for the air-conditioning device according to any of the above embodiments.

[0069] With the computer storage medium according to the embodiments of the present disclosure, the drainage control program of the air-conditioning device stored on the computer storage medium is executed by the processor, which can reduce the operation duration of the water pump, prolonging the service life of the water pump and improving the user experience.

[0070] Further, the present disclosure provides a drainage control apparatus for an air-conditioning device. The air-conditioning device includes an indoor water storage tank, an outdoor water storage tank, a drainage pump, and a spray pump. The drainage pump is disposed to be corresponding to the outdoor water storage tank. The spray pump is disposed to be corresponding to the indoor water storage tank. The outdoor water storage tank is provided with a first outdoor water level switch and a second outdoor water level switch. The indoor water storage tank is provided with a first indoor water level switch. The drainage control apparatus is configured to: control, in response to the first indoor water level switch not being triggered and the first outdoor water level switch or the second outdoor water level switch being triggered, the drainage pump to operate at a first predetermined frequency, to discharge the water in the outdoor water storage tank into the indoor water storage tank for water storage; and determine, during water storage in the indoor water storage tank in response to the first indoor water level switch being triggered and the second outdoor water level switch still being in a triggered state within a first predetermined duration, that rainy weather occurs, and control the spray pump to continuously operate at a second predetermined frequency for a second predetermined duration to discharge the water in the indoor water storage tank to the outdoor environment.

[0071] In some embodiments of the present disclosure, the drainage control apparatus is further configured to, in response to the spray pump operating at the second predetermined frequency: obtain a number of times the spray pump operates and a duration for which the first indoor water level switch is continuously triggered; and turn off the spray pump, and determine that the spray pump is in a faulty state, when the number of times the spray pump operates is greater than or equal to a first predetermined number of times, or when the duration for which the first indoor water level switch is continuously triggered is longer than or equal to a third predetermined duration.

[0072] In some embodiments of the present disclosure, the drainage control apparatus is further configured to: control, in response to obtaining an off control signal for the spray pump, the spray pump to continue operating for a fourth predetermined duration, and then turning off the spray pump.

[0073] In some embodiments of the present disclosure, the drainage control apparatus is configured to: control, during the water storage in the indoor water storage tank in response to the first indoor water level switch not being triggered and the first outdoor water level switch changing from a triggered state to a non-triggered state, the spray pump to operate at the second predetermined frequency, to discharge the water in the indoor water storage tank to the outdoor environment.

[0074] In some embodiments of the present disclosure, the drainage control apparatus is further configured to: detect whether the second outdoor water level switch is in a triggered state subsequent to a fifth predetermined duration, in response to the first indoor water level switch not being triggered and the first outdoor water level switch being triggered; issue an outdoor high water level alarm in response to the second outdoor water level switch being triggered; obtain a number of times the drainage pump operates and a duration for which the first outdoor water level switch is continuously triggered, in response to the second outdoor water level switch not being triggered; and turn off the drainage pump and determine that the drainage pump is in a faulty state, when the number of times the drainage pump operates is greater than or equal to a second predetermined number of times, or when the duration for which the first outdoor water level switch is continuously triggered is longer than or equal to a sixth predetermined duration.

[0075] In some embodiments of the present disclosure, the drainage control apparatus is further configured to: turn off the drainage pump in response to controlling the spray pump to operate, and turn off the spray pump in response to controlling the drainage pump to operate.

[0076] In some embodiments of the present disclosure, the air-conditioning device further includes an indoor humidification water tank and a humidification water pump disposed to be corresponding to the indoor water storage tank. The drainage control apparatus is further configured to: control, in response to obtaining a humidification function activation instruction of the air-conditioning device, the humidification water pump to operate, to discharge the water in the indoor water storage tank into the indoor humidification water tank.

[0077] It should be noted that, reference to specific implementations of the drainage control apparatus for the air-conditioning device according to the embodiments of the present disclosure can be made to the specific implementations of the drainage control method for the air-conditioning device according to the above embodiments, and thus details thereof will be omitted here to avoid redundancy.

[0078] In summary, the drainage control apparatus for the air-conditioning device according to the embodiments of the present disclosure can reduce the operation duration of the water pump, prolonging the service life of the water pump, and improving the user experience. FIG. 5 is a schematic structural view of an air-conditioning device according to another embodiment of the present disclosure.

[0079] Further, as illustrated in FIG. 5, the air-conditioning device 100 includes the drainage control apparatus 117 for the air-conditioning device according to the above embodiments.

[0080] For the air-conditioning device according to the embodiments of the present disclosure, with the drainage control apparatus for the air-conditioning device according to the above embodiments, the operation duration of the water pump can be reduced, prolonging the service life of the water pump and improving the user experience.

[0081] In addition, other components and functions of the air-conditioning device according to the embodiments of the present disclosure are known to those skilled in the art, and thus details thereof will be omitted here to reduce redundancy.

[0082] It should be noted that, the logics and/or steps represented in the flowchart or described otherwise herein can be for example considered as a list of ordered executable instructions for implementing logic functions, and can be embodied in any computer-readable medium that is to be used by or used with an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or any other system that can retrieve and execute instructions from an instruction execution system, apparatus, or device). For the present disclosure, a computer-readable medium can be any apparatus that can contain, store, communicate, propagate, or transmit a program to be used by or used with an instruction execution system, apparatus, or device. More specific examples of computer-readable mediums include, as a non-exhaustive list: an electrical connector (electronic device) with one or more wirings, a portable computer disk case (magnetic devices), a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM or flash memory), a fiber optic device, and a portable Compact Disk Read Only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, as the program can be obtained electronically, e.g., by optically scanning the paper or the other medium, and then editing, interpreting, or otherwise processing the scanning result when necessary, and then stored in a computer memory.

[0083] It should be understood that each part of the present disclosure may be realized by hardware, software, firmware, or a combination thereof. In the above embodiments, a number of steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, when it is realized by the hardware, likewise in another embodiment, the steps or methods may be realized by one or a combination of the following techniques known in the art: a discrete logic circuit having a logic gate circuit for realizing a logic function of a data signal, an application-specific integrated circuit having an appropriate combination logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), etc.

[0084] Reference throughout this specification to terms such as an embodiment, some embodiments, an example, a specific example, or some examples means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. The appearances of the above phrases in various places throughout this specification are not necessarily referring to the same embodiment or example. Further, the particular features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0085] In the description of the present disclosure, it should be understood that the orientation or the position indicated by terms such as center, longitudinal, lateral, length, width, thickness, over, below, front, rear, left, right, vertical, horizontal, top, bottom, inner, outer, clockwise, anti-clockwise, axial, radial, and circumferential should be construed to refer to the orientation or the position as shown in the drawings, and is only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the pointed device or element must have a specific orientation, or be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure.

[0086] In addition, terms such as first and second in the embodiments of the present disclosure are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features associated with terms such as first and second in the embodiments of the present disclosure may explicitly or implicitly include at least one of the features in the embodiment. In the description of the present disclosure, plurality means at least two, for example, two, three, or four may be provided, unless otherwise specifically defined.

[0087] In the present disclosure, unless otherwise clearly specified and limited in the embodiments, terms such as install, connect, connected to, fix, or the like in the embodiments should be understood in a broad sense. For example, it may mean a fixed connection or a detachable connection or connection as one piece; mechanical connection or electrical connection; direct connection or indirect connection through an intermediate; or internal communication of two components or the interaction relationship between two components. For those skilled in the art, specific meanings of the above-mentioned terms in the present disclosure can be understood according to specific circumstances.

[0088] In the present disclosure, unless expressly stipulated and defined otherwise, the first feature on or under the second feature may mean that the first feature is in direct contact with the second feature, or the first and second features are in indirect contact through an intermediate. Moreover, the first feature above the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply mean that the level of the first feature is higher than that of the second feature. The first feature below the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply mean that the level of the first feature is smaller than that of the second feature.

[0089] Although the embodiments of the present disclosure have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions, and alternations to the above-mentioned embodiments within the scope of the present disclosure.