Water tank water fullness detection method and device, air conditioner and storage medium
By detecting the water level switch status in the air-conditioning water tank and setting the detection time according to different water level status, the problem of water full detection delay in the air-conditioning water tank is solved, the accuracy and real-time detection are improved, and the dry environment in the air-conditioning room is ensured.
Patent Information
- Application Number
- CN202311513432.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-10
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, the detection of water full in the air conditioner water tank is delayed, causing the water tank water to overflow, affecting the dry environment in the air conditioner room.
By detecting the water level switch status of the air-conditioning water tank within the preset detection time, determining the water level status of the water tank, and setting the corresponding detection time according to different water level statuses. If the time when the water level switch continues to be closed reaches the detection time, it is determined that the water tank is full.
It improves the accuracy and real-time nature of the water full detection in the water tank, avoids misjudgment caused by delayed judgment of water fullness, and ensures the dry environment in the air-conditioning room.
Smart Images

Figure CN119983458A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of air conditioning control, and in particular to a method and device for detecting a full water tank, an air conditioner, and a storage medium. Background Art
[0002] Usually, when the air conditioner is running in cooling mode or dehumidification mode, condensed water will be generated on the surface of the evaporator. The condensed water falls along the evaporator and collects in the water tank below the evaporator. If the water overflows, water leakage will occur in the indoor part of the air conditioner, so it is necessary to monitor the water level of the condensed water in the water tank.
[0003] Generally, the fullness of the air conditioner tank is usually detected by monitoring the continuous state of the water level switch. However, due to the fluctuation of water in the water tank, the water level switch state switches, resulting in a delayed prompt of the full water detection, which may cause the water in the water tank to overflow. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, air conditioner and storage medium for detecting that the water tank is full of water, which improves the accuracy and real-time performance of the water tank full of water detection.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for detecting a full water tank is provided, comprising:
[0006] Detect the water level switch status of the air conditioning water tank within the preset detection time;
[0007] Determine the water level state of the water tank according to the water level switch state detected within the preset detection time;
[0008] Continue to detect the water level switch status of the water tank. If the time duration for which the water level switch is continuously in the closed state reaches the detection time duration corresponding to the water level state, it is determined that the water tank is full of water, wherein different water level states correspond to different detection time durations.
[0009] Optionally, the water level height represented by the water level state is negatively correlated with the detection time corresponding to the water level state.
[0010] Optionally, determining the water level state of the water tank according to the water level switch state detected within the preset detection time includes:
[0011] If all the water level switch states detected within the preset detection time are in the open state, then the water level state is determined to be a low water level state;
[0012] If all the water level switch states detected within the preset detection time are in the closed state, the water level state is determined to be a high water level state, wherein the water level height represented by the low water level state is less than the water level height represented by the high water level state;
[0013] If the water level switch state detected within the preset detection time includes an open state and a closed state, the water level state is determined according to the duration of time the water level switch state is in the open state and the duration of time the water level switch state is in the closed state.
[0014] Optionally, determining the water level state according to a duration that the water level switch state is in an open state and a duration that the water level switch state is in a closed state includes:
[0015] If, in the water level switch state detected within the preset detection time, the difference between the time duration of the water level switch state being in the open state and the time duration of the water level switch state being in the closed state is greater than the preset time difference, it is determined that the water level state is a critical low water level state;
[0016] If, in the water level switch state detected within the preset detection time, the absolute value of the difference between the time duration of the water level switch state being in the open state and the time duration of the water level switch state being in the closed state is less than or equal to the preset time difference, then the water level state is determined to be a critical water level state;
[0017] If, in the water level switch state detected within the preset detection time, the difference between the time duration of the water level switch state being in the closed state and the time duration of the water level switch state being in the open state is greater than the preset time difference, it is determined that the water level state is a critical high water level state;
[0018] Among them, the water level heights represented by the low water level state, the critical low water level state, the critical water level state, the critical high water level state, and the high water level state increase in sequence.
[0019] Optionally, before the step of detecting the water level switch state of the air-conditioning water tank within a preset detection time, the method further includes:
[0020] Obtaining the operating status of the air conditioner;
[0021] The predicted detection time is determined according to the operating state of the air conditioner.
[0022] Optionally, determining the predicted detection time according to the operating state of the air conditioner includes:
[0023] When the running state is the standby state, determining the first preset detection time as the preset detection time;
[0024] When the running state is the power-on state, the second preset detection time is determined as the preset detection time; wherein the first preset detection time is greater than the second preset detection time.
[0025] According to a second aspect of an embodiment of the present disclosure, a device for detecting that a water tank is full of water is provided, comprising:
[0026] A detection module is used to detect the water level switch status of the air conditioning water tank within a preset detection time;
[0027] A first determination module, used to determine the water level state of the water tank according to the water level switch state detected within the preset detection time;
[0028] The second determination module is used to continue to detect the water level switch state of the water tank. If the time length of time that the water level switch is continuously in the closed state reaches the detection time length corresponding to the water level state, it is determined that the water tank is full of water, wherein different water level states have different corresponding detection time lengths.
[0029] Optionally, the water level height represented by the water level state is negatively correlated with the detection time corresponding to the water level state.
[0030] According to a third aspect of an embodiment of the present disclosure, there is provided an air conditioner, comprising:
[0031] processor;
[0032] a memory for storing processor-executable instructions;
[0033] The processor is configured to execute the steps of the method for detecting a full water tank according to the first aspect of the present disclosure.
[0034] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the method for detecting that a water tank is full of water provided by the first aspect of the present disclosure are implemented.
[0035] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0036] In the present disclosure, the water level switch state of the air-conditioning water tank is detected within a preset detection time, and the water level state of the water tank is determined based on the water level switch state detected within the preset detection time. The water level switch state of the water tank continues to be detected, and if the time duration that the water level switch continues to be in the closed state reaches the detection time duration corresponding to the water level state, the water tank is determined to be in a full water state. Through the above technical scheme, the water level state of the water tank can be determined first, and then the corresponding full water detection logic can be determined based on the water level state, so that the detection time duration of the full water detection can be determined based on the current water level state, avoiding misjudgment caused by delayed judgment of full water when different water level states are detected based on the same time duration, and improving the accuracy and real-time performance of full water detection.
[0037] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0039] Figure 1 is a flow chart showing a method for detecting a water tank being full of water according to an exemplary embodiment;
[0040] Figure 2 is a schematic structural diagram of a device for detecting that a water tank is full of water according to an exemplary embodiment;
[0041] Figure 3 The figure is a schematic diagram showing the structure of an air conditioner according to an exemplary embodiment. DETAILED DESCRIPTION
[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0043] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0044] Figure 1 The present invention provides a flow chart of a method for detecting a water tank full of water. Figure 1 As shown, the method includes:
[0045] In step S11, the water level switch state of the air conditioning water tank is detected within a preset detection time.
[0046] In step S12, the water level state of the water tank is determined according to the water level switch state detected within a preset detection time.
[0047] Specifically, when the air conditioner is powered on, the water level switch in the water tank of the air conditioner indoor unit can be detected as being in an open or closed state. The water level switch can be set at a reference height position in the water tank. When the water in the water tank does not reach the position of the water level switch, the state of the water level switch is an open state. When the water in the water tank reaches the position of the water level switch, the state of the water level switch is triggered to be set to a closed state. The reference height position can be set based on the actual application scenario, such as being set at a position of 70% of the total height of the water tank, which is not limited in the present disclosure. The water level switch can be used to monitor the height of condensed water in the water tank. When the water level in the water tank is too high, the condensed water in the water tank can be discharged through a drainage pump to avoid overflowing.
[0048] The applicant has found that in the related art, water fullness detection is usually performed directly based on the continuous state of the water level switch. When the water level switch is continuously in the closed state for a certain period of time, it is considered that the water is full. In actual application scenarios, the working state of the air conditioner may cause the water in the water tank to fluctuate, thereby causing the state of the water level switch to switch. It may happen that the continuous closed state does not reach the certain period of time, but the water tank is actually full of water, resulting in a misjudgment of the water fullness detection.
[0049] Accordingly, in this embodiment, the water level state in the water tank can be first determined based on the water level switch state at the preset detection time. The water level heights are different under different water level states, and the possibility of water being full at different water level heights is also different, so different water full detections can be performed based on different water level states.
[0050] In step S13, the water level switch status of the water tank continues to be detected. If the water level switch is continuously closed for a detection duration corresponding to the water level status, the water tank is determined to be full of water. Different water level statuses have different corresponding detection durations.
[0051] Specifically, the detection time of the water tank being full corresponding to the water level state can be set according to the water level height represented by the different water level states. If the water level state determined in step S12 is a low water level state, and the corresponding detection time is 5 minutes, then after it is determined to be a low water level state, the state of the water level switch is continuously detected, and the timing starts when it is in the closed state. If it reaches 5 minutes, it is determined to be a full water state. If it does not reach 5 minutes and the state is switched to the open state, the timer is reset at this time, and the timing is restarted after the state is switched to the closed state, so as to realize the water tank being full water detection.
[0052] In the present disclosure, the water level switch state of the air-conditioning water tank is detected within a preset detection time, and the water level state of the water tank is determined based on the water level switch state detected within the preset detection time. The water level switch state of the water tank continues to be detected, and if the time duration that the water level switch continues to be in the closed state reaches the detection time duration corresponding to the water level state, the water tank is determined to be in a full water state. Through the above technical scheme, the water level state of the water tank can be determined first, and then the corresponding full water detection logic can be determined based on the water level state, so that the detection time duration of the full water detection can be determined based on the current water level state, avoiding misjudgment caused by delayed judgment of full water when different water level states are detected based on the same time duration, and improving the accuracy and real-time performance of full water detection.
[0053] In a possible embodiment, the water level height represented by the water level state is negatively correlated with the detection time corresponding to the water level state.
[0054] When the water level represented by the water level status is higher, the possibility that the condensed water in the water tank is full is greater, and a shorter detection time can be set. In this way, on the one hand, the accuracy of the full water detection can be guaranteed, and at the same time, when the water level represented by the water level status is high, the full water detection can be performed with a shorter detection time to ensure the real-time nature of the full water detection, so as to promptly prompt the user when the water tank is detected to be full, thereby ensuring the effectiveness of the full water detection.
[0055] In a possible embodiment, an exemplary implementation method of determining the water level state of the water tank according to the water level switch state detected within a preset detection time may include:
[0056] If all water level switch states detected within the preset detection time are in the open state, it is determined that the water level state is in the low water level state.
[0057] Specifically, within the preset detection time, if it is detected that the water level switch state remains in the open state, it means that the water level in the water tank of the air conditioner has never reached the position corresponding to the water level switch, that is, the water level state has always been low. At this time, the water level state can be considered to be a low water level state.
[0058] For example, the position corresponding to the water level switch is used as the reference water level and is set to 70% of the total water level in the water tank. When the water level in the water tank is always lower than the reference water level within the preset detection time, the water level state can be considered to be a low water level state.
[0059] Accordingly, when the water level in the water tank is in a low water level state, the detection time corresponding to the low water level state can be selected to determine the water full state. For example, if the detection time corresponding to the low water level state is 5 minutes, then when the water level switch remains in the closed state for 5 minutes, it can be determined that the water tank is full.
[0060] If all the water level switch states detected within the preset detection time are closed, the water level state is determined to be a high water level state, wherein the water level height represented by the low water level state is less than the water level height represented by the high water level state.
[0061] Within the preset detection time, if it is detected that the water level switch state remains in the closed state, it means that the water level of the air conditioner's water tank has been higher than the reference position corresponding to the water level switch. At this time, the water level state can be considered to be a high water level state.
[0062] Accordingly, when the water level in the water tank is in a high water level state, the detection time corresponding to the high water level state can be selected to determine the water full state. For example, the detection time corresponding to the high water level state is 30s. In this scenario, when the water level switch remains in the closed state for 30s, it can be determined that the water tank is full.
[0063] If the water level switch state detected within the preset detection time includes an open state and a closed state, the water level state is determined according to the time length that the water level switch state is in the open state and the time length that the water level switch state is in the closed state.
[0064] Specifically, if the water level switch is detected to be both open and closed during the preset detection time, it means that the water level in the water tank of the air conditioner fluctuates around the reference position corresponding to the water level switch during this period. In this scenario, the water level state of the water tank can be determined based on the difference between the duration of the water level switch being open and closed.
[0065] Therefore, through the above technical scheme, the water level situation in the water tank can be characterized based on multiple water level states, and the water level state can be detected by the water level switch state to ensure the accuracy of the water level state detection. At the same time, the fine division of different water level states can be achieved to provide data support for subsequent water full detection.
[0066] In a possible embodiment, the water level state may also include a critical low water level state, a critical water level state, and a critical high water level state, wherein the water level heights represented by the low water level state, the critical low water level state, the critical water level state, the critical high water level state, and the high water level state increase in sequence.
[0067] For example, determining the water level state according to the duration of time that the water level switch state is in the open state and the duration of time that the water level switch state is in the closed state may include:
[0068] First, if the difference between the time the water level switch state is in the open state and the time the water level switch state is in the closed state in the water level switch state detected within the preset detection time is greater than the preset time difference, the water level state is determined to be a critical low water level state.
[0069] As an example, the preset time difference may be set based on an actual application scenario, such as being set to 30% of the preset detection time. For example, if the preset detection time is 10 seconds, the preset time difference may be set to 3 seconds.
[0070] In this embodiment, the difference between the time when the water level switch is in the open state and the time when the water level switch is in the closed state is greater than the preset time difference, indicating that the water level in the water tank fluctuates within the preset detection time, but the time when the water level is lower than the reference height corresponding to the water level switch is significantly longer than the time when the water level is higher than the reference height, that is, the water level fluctuates around the reference height within the preset detection time, but is still lower than the reference height for most of the time. At this time, it can be determined that the water level state is a critical low water level state.
[0071] Accordingly, when the water level in the water tank is in a critical low water level state, the detection time corresponding to the critical low water level state can be selected to determine the water full state. For example, if the detection time corresponding to the critical low water level state is 120s, then when the water level switch remains in the closed state for 120s, it can be determined that the water tank is full.
[0072] The second type is that if the absolute value of the difference between the time the water level switch state is in the open state and the time the water level switch state is in the closed state in the water level switch state detected within the preset detection time is less than or equal to the preset time difference, the water level state is determined to be a critical water level state.
[0073] This scenario means that the water level in the water tank fluctuates within the preset detection time, but the time when the water level is lower than the reference height corresponding to the water level switch is close to the time when the water level is higher than the reference height, that is, the water level has been fluctuating around the reference height within the preset detection time. At this time, it can be determined that the water level state is a critical water level state.
[0074] Accordingly, when the water level in the water tank is at a critical water level, the detection time corresponding to the critical water level state can be selected to determine the water full state. For example, if the detection time corresponding to the critical water level state is 90s, then when the water level switch remains in the closed state for 90s, it can be determined that the water tank is full.
[0075] Third, if the difference between the time the water level switch state is in the closed state and the time the water level switch state is in the open state in the water level switch state detected within the preset detection time is greater than the preset time difference, the water level state is determined to be a critical high water level state.
[0076] This scenario indicates that the water level in the water tank fluctuates within the preset detection time, but the time that the water level is higher than the reference height corresponding to the water level switch is significantly longer than the time that the water level is lower than the reference height. That is, the water level fluctuates around the reference height within the preset detection time, but is still higher than the reference height for most of the time. At this time, it can be determined that the water level state is a critical high water level state.
[0077] Accordingly, when the water level in the water tank is in a critical high water level state, the detection time corresponding to the critical high water level state can be selected to determine the water full state. For example, if the detection time corresponding to the critical high water level state is 60s, then when the water level switch remains in the closed state for 60s, it can be determined that the water tank is full.
[0078] Therefore, through the above technical scheme, the water level in the water tank can be finely divided according to the fluctuation of the water level height near the reference height corresponding to the water level switch to obtain a variety of different critical states. While improving the fineness of the water level state division, the accuracy of subsequent water full detection can be improved.
[0079] In a possible embodiment, before the step of detecting the water level switch state of the air conditioning water tank within a preset detection time, the method may further include:
[0080] Get the operating status of the air conditioner.
[0081] Specifically, after the air conditioner indoor unit is powered on, that is, after the power supply is connected, the air conditioner operation state can be divided into a standby state and a power-on state.
[0082] Afterwards, the predicted detection time is determined according to the operating status of the air conditioner.
[0083] Specifically, when the air conditioner is in different operating states, the water level in the air conditioner water tank changes differently, and the detection time of the water level switch state will also be different.
[0084] For example, according to the operating state of the air conditioner, determining the predicted detection time may include:
[0085] When the running state is the standby state, the first preset detection time is determined as the preset detection time.
[0086] When the running state is the power-on state, the second preset detection time is determined as the preset detection time, wherein the first preset detection time is greater than the second preset detection time.
[0087] Specifically, in the standby state, the condensed water generated by the air conditioner indoor unit is relatively small, and the water level changes relatively slowly. Correspondingly, the time to cause the water level switch state to change is relatively long. At this time, the water level switch state is detected, and the detection time can be longer. In the power-on state, the condensed water generated by the air conditioner indoor unit is relatively large, and the water level changes relatively quickly. Correspondingly, in order to ensure the real-time performance of water level detection and water full detection, a shorter preset detection time can be set.
[0088] For example, the preset detection time in the power-on state is shorter than the preset detection time in the standby state. For example, the first preset detection time may be 3 minutes, and the second preset detection time may be 10 seconds. Thus, the preset detection time for water level status detection can be determined according to the actual operating state of the air conditioner, which can reduce the impact on the use of the air conditioner while ensuring the accuracy of the water level status detection, and improve the user experience while improving the accuracy of the water tank full water detection.
[0089] Figure 2 FIG. 1 is a schematic diagram showing a structure of a device for detecting a water tank full of water according to an exemplary embodiment. Figure 2 The device 20 includes a detection module 21, a first determination module 22 and a second determination module 23.
[0090] A detection module is used to detect the water level switch status of the air conditioning water tank within a preset detection time;
[0091] A first determination module, used to determine the water level state of the water tank according to the water level switch state detected within the preset detection time;
[0092] The second determination module is used to continue to detect the water level switch state of the water tank. If the time length of time that the water level switch is continuously in the closed state reaches the detection time length corresponding to the water level state, it is determined that the water tank is full of water, wherein different water level states have different corresponding detection time lengths.
[0093] Optionally, the water level height represented by the water level state is negatively correlated with the detection time corresponding to the water level state.
[0094] Optionally, the first determining module includes:
[0095] A first determination submodule, configured to determine that the water level state is a low water level state if all the water level switch states detected within the preset detection time are in an open state;
[0096] A second determination submodule is used to determine that the water level state is a high water level state if all the water level switch states detected within the preset detection time are in a closed state, wherein the water level height represented by the low water level state is less than the water level height represented by the high water level state;
[0097] The third determination submodule is used to determine the water level state according to the length of time the water level switch state is in the open state and the length of time the water level switch state is in the closed state if the water level switch state detected within the preset detection time includes an open state and a closed state.
[0098] Optionally, the third determining submodule is used to:
[0099] If, in the water level switch state detected within the preset detection time, the difference between the time duration of the water level switch state being in the open state and the time duration of the water level switch state being in the closed state is greater than the preset time difference, it is determined that the water level state is a critical low water level state;
[0100] If, in the water level switch state detected within the preset detection time, the absolute value of the difference between the time duration of the water level switch state being in the open state and the time duration of the water level switch state being in the closed state is less than or equal to the preset time difference, then the water level state is determined to be a critical water level state;
[0101] If, in the water level switch state detected within the preset detection time, the difference between the time duration of the water level switch state being in the closed state and the time duration of the water level switch state being in the open state is greater than the preset time difference, then it is determined that the water level state is a critical high water level state;
[0102] Among them, the water level heights represented by the low water level state, the critical low water level state, the critical water level state, the critical high water level state, and the high water level state increase in sequence.
[0103] Optionally, the device further comprises:
[0104] An acquisition module, used for acquiring the operating state of the air conditioner before the detection module detects the water level switch state of the air conditioner water tank within a preset detection time;
[0105] The third determination module is used to determine the predicted detection time according to the operating state of the air conditioner.
[0106] Optionally, the third determining module is used to:
[0107] When the running state is the standby state, determining the first preset detection time as the preset detection time;
[0108] When the running state is the power-on state, the second preset detection time is determined as the preset detection time; wherein the first preset detection time is greater than the second preset detection time.
[0109] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0110] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the method for detecting a full water tank provided by the present disclosure.
[0111] Figure 3 is a schematic structural diagram of an air conditioner 300 according to an exemplary embodiment.
[0112] Reference Figure 3 , the device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output interface 312 , a sensor component 314 , and a communication component 316 .
[0113] The processing component 302 generally controls the overall operation of the device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned method of detecting the water tank is full. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.
[0114] The memory 304 is configured to store various types of data to support operations on the device 300. Examples of such data include instructions for any application or method operating on the device 300, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0115] The power supply component 306 provides power to the various components of the device 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 300.
[0116] The multimedia component 304 includes a screen that provides an output interface between the device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0117] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the device 300 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.
[0118] The input / output interface 312 provides an interface between the processing component 302 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0119] The sensor assembly 314 includes one or more sensors for providing various aspects of the status assessment of the device 300. For example, the sensor assembly 314 can detect the open / closed state of the device 300, the relative positioning of components, such as the display and keypad of the device 300, the sensor assembly 314 can also detect the position change of the device 300 or a component of the device 300, the presence or absence of user contact with the device 300, the orientation or acceleration / deceleration of the device 300, and the temperature change of the device 300. The sensor assembly 314 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0120] The communication component 316 is configured to facilitate wired or wireless communication between the device 300 and other devices. The device 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0121] In an exemplary embodiment, the device 300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned method for detecting that the water tank is full of water.
[0122] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, and the instructions can be executed by the processor 320 of the device 300 to complete the above-mentioned method of detecting the water tank being full. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0123] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0124] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for detecting whether a water tank is full of water, characterized in that: include: Detect the water level switch status of the air conditioning water tank within the preset detection time; Determine the water level state of the water tank according to the water level switch state detected within the preset detection time; Continue to detect the water level switch status of the water tank. If the time duration for which the water level switch is continuously in the closed state reaches the detection time duration corresponding to the water level state, it is determined that the water tank is full of water, wherein different water level states correspond to different detection time durations.
2. The method for detecting a water tank being full of water according to claim 1, characterized in that: The water level height represented by the water level state is negatively correlated with the detection time corresponding to the water level state.
3. The method for detecting a water tank being full of water according to claim 1, characterized in that: Determining the water level state of the water tank according to the water level switch state detected within the preset detection time includes: If all the water level switch states detected within the preset detection time are in the open state, then the water level state is determined to be a low water level state; If all the water level switch states detected within the preset detection time are in the closed state, the water level state is determined to be a high water level state, wherein the water level height represented by the low water level state is less than the water level height represented by the high water level state; If the water level switch state detected within the preset detection time includes an open state and a closed state, the water level state is determined according to the duration of time the water level switch state is in the open state and the duration of time the water level switch state is in the closed state.
4. The method for detecting a water tank being full of water according to claim 3, characterized in that: Determining the water level state according to the duration of time the water level switch state is in the open state and the duration of time the water level switch state is in the closed state includes: If, in the water level switch state detected within the preset detection time, the difference between the time duration of the water level switch state being in the open state and the time duration of the water level switch state being in the closed state is greater than the preset time difference, it is determined that the water level state is a critical low water level state; If, in the water level switch state detected within the preset detection time, the absolute value of the difference between the time duration of the water level switch state being in the open state and the time duration of the water level switch state being in the closed state is less than or equal to the preset time difference, then the water level state is determined to be a critical water level state; If, in the water level switch state detected within the preset detection time, the difference between the time duration of the water level switch state being in the closed state and the time duration of the water level switch state being in the open state is greater than the preset time difference, it is determined that the water level state is a critical high water level state; Among them, the water level heights represented by the low water level state, the critical low water level state, the critical water level state, the critical high water level state, and the high water level state increase in sequence.
5. The method for detecting a water tank being full of water according to claim 1, characterized in that: Before the step of detecting the water level switch state of the air conditioning water tank within a preset detection time, the method further includes: Obtaining the operating status of the air conditioner; The predicted detection time is determined according to the operating state of the air conditioner.
6. The method for detecting a water tank being full of water according to claim 5, characterized in that: The step of determining the predicted detection time according to the operating state of the air conditioner includes: When the running state is the standby state, determining the first preset detection time as the preset detection time; When the running state is the power-on state, the second preset detection time is determined as the preset detection time; wherein the first preset detection time is greater than the second preset detection time.
7. A device for detecting whether a water tank is full of water, characterized in that: include: A detection module is used to detect the water level switch status of the air conditioning water tank within a preset detection time; A first determination module, used to determine the water level state of the water tank according to the water level switch state detected within the preset detection time; The second determination module is used to continue to detect the water level switch state of the water tank. If the time length of time that the water level switch is continuously in the closed state reaches the detection time length corresponding to the water level state, it is determined that the water tank is full of water, wherein different water level states have different corresponding detection time lengths.
8. The water tank fullness detection device according to claim 7, characterized in that: The water level height represented by the water level state is negatively correlated with the detection time corresponding to the water level state.
9. An air conditioner, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.