Anti-overflow control method and device, washing machine and computer readable storage medium

By installing a water inlet valve, water level sensor and drain valve in the laundry equipment, the water inlet valve is controlled to close and open the drain valve, the problem of water level overflow in the laundry equipment is solved and the effect of effectively preventing water overflow is achieved.

CN120158894APending Publication Date: 2025-06-17TCL HOME APPLIANCES (HEFEI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510510360.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

Existing laundry equipment cannot effectively prevent overflow when the water level overflows, resulting in residual water stains on the ground.

Method used

By installing a water inlet valve, a first water level sensor and a drain valve in the laundry device, the water inlet valve is controlled to close, and it is determined based on the first water level sensor whether the water inlet valve is closed successfully. If the water inlet valve fails to close, the drain valve is controlled to prevent water level from overflowing.

Benefits of technology

It effectively avoids overflow of laundry equipment, prevents water level from overflowing, and reduces residual water stains on the ground.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120158894A_ABST
    Figure CN120158894A_ABST
Patent Text Reader

Abstract

The invention provides an anti-overflow control method and device, a washing machine and a computer readable storage medium. The method comprises the steps that a water inlet valve is controlled to be closed; whether the water inlet valve is successfully closed or not is determined, and if the first water level sensor gives an alarm, it is determined that closing of the water inlet valve fails; and controlling the drain valve to open to prevent the water level from overflowing. According to the anti-overflow control method, the water inlet valve can be controlled to be closed after the water level of the laundry equipment reaches the set water level. Afterwards, whether the water inlet valve is successfully closed can be determined according to the first water level sensor. If the water inlet valve fails to be closed, the drain valve can be controlled to be opened, redundant water is drained out of the laundry equipment, and overflow is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electrical appliance technologies, and particularly to an anti-overflow control method, device, washing machine, and computer-readable storage medium. Background Art

[0002] Laundry equipment needs to fill the laundry cavity with water to enable clothes washing. Under normal circumstances, if the laundry equipment is automatically filled with water, after the water level reaches a predetermined position, the water inlet valve will be controlled to close to prevent the water level from overflowing. If the water inlet valve is damaged and cannot be automatically closed, there will be an overflow phenomenon. In addition, if the laundry equipment is manually filled with water, for example, some laundry equipment is directly connected to an external water faucet and the user manually opens the faucet to fill the water. If the user leaves and forgets to close the faucet, there will also be a phenomenon of water level overflowing.

[0003] In the prior art, the laundry equipment itself is equipped with a drain hose and the drain hose is connected to a floor drain. If there is an overflow, there is still a gap between the drain hose and the floor drain, and the overflowing water will flow into the floor drain through the gap. Thus, due to the existence of the floor drain, if water overflows from the laundry equipment, the excess water will be discharged through the floor drain, but there will still be water stains remaining on the ground. Therefore, the existing laundry equipment has not carried out relevant designs for anti-overflow. Summary of the Invention

[0004] This application provides an anti-overflow control method that can avoid water overflow in laundry equipment.

[0005] In a first aspect, this application provides an anti-overflow control method applied to a target laundry equipment, where the target laundry equipment includes a water inlet valve, a first water level sensor, and a drain valve. The method includes:

[0006] Control the water inlet valve to close;

[0007] Determine whether the water inlet valve is successfully closed. Among them, if the first water level sensor alarms, it is determined that the water inlet valve fails to close;

[0008] Control the drain valve to open to prevent the water level from overflowing.

[0009] In some embodiments of this application, the target laundry equipment includes a second water level sensor; the installation height of the second water level sensor is higher than the installation height of the first water level sensor;

[0010] The control to open the drain valve includes:

[0011] Determine the first target alarm moment of the first water level sensor and determine the second target alarm moment of the second water level sensor;

[0012] Determine a target duration according to the first target alarm moment and the second target alarm moment;

[0013] Determine the current water level rising rate according to the target duration and the target height difference between the second water level sensor and the first water level sensor;

[0014] Control the opening degree of the drain valve according to the current water level rising rate.

[0015] In some embodiments of the present application, the target laundry device further includes a third water level sensor; the installation height of the third water level sensor is higher than the installation height of the second water level sensor;

[0016] After controlling the opening degree of the drain valve according to the current water level rising rate, the method further includes:

[0017] If the opening degree of the drain valve is controlled to the maximum opening degree and the third water level sensor alarms, generate a first target alarm message to notify the user to stop water supply manually.

[0018] In some embodiments of the present application, determining whether the water inlet valve is successfully closed includes:

[0019] Execute timing to obtain a target timing duration;

[0020] If the target timing duration is greater than the target duration threshold and the first water level sensor does not alarm, determine that the water inlet valve is successfully closed;

[0021] If the target timing duration is less than or equal to the target duration threshold and the first water level sensor alarms, determine that the water inlet valve is closed unsuccessfully.

[0022] In some embodiments of the present application, after determining whether the water inlet valve is successfully closed, the method further includes:

[0023] If the water inlet valve is successfully closed, execute a target laundry process.

[0024] In some embodiments of the present application, before controlling the water inlet valve to close, the method further includes:

[0025] Detect whether the user-set water level is obtained;

[0026] If the user-set water level is obtained, control the water inlet valve to open so that the water level reaches the user-set water level;

[0027] If the user-set water level is not obtained, weigh the laundry chamber to determine the current weight information;

[0028] Determine the target washing water level according to the current weight information;

[0029] Control the water inlet valve to open so that the water level reaches the target washing water level.

[0030] In some embodiments of the present application, after determining that the control of closing the water inlet valve fails when the first water level sensor alarms, the method further includes:

[0031] Generate a second target alarm message to inform the user that there is a water overflow phenomenon;

[0032] If a target operation instruction issued by the user is obtained, execute a corresponding control process according to the target operation instruction.

[0033] In a second aspect, the present application further provides an anti-water overflow control device, which is applied to a target laundry device. The target laundry device includes a water inlet valve, a first water level sensor, and a drain valve. The device includes:

[0034] A control module for controlling the water inlet valve to close;

[0035] A determination module for determining whether the water inlet valve is successfully closed. Among them, if the first water level sensor alarms, it is determined that the water inlet valve closing fails;

[0036] The control module is further configured to control the drain valve to open to prevent the water level from overflowing.

[0037] In a third aspect, the present application further provides a washing machine, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to implement the steps in any one of the anti-water overflow control methods.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program is executed by a processor to implement the steps in any one of the anti-water overflow control methods.

[0039] The anti-water overflow control method provided by the present application can control the water inlet valve to close after the water level of the laundry device reaches the established water level. Then, it can be determined whether the water inlet valve is successfully closed according to the first water level sensor. If the water inlet valve closing fails, the drain valve can be controlled to open to drain the excess water from the laundry device and avoid water overflow. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.

[0041] Figure 1 It is a schematic diagram of the scenario of the anti-overflow water control system provided in the embodiment of the present application;

[0042] Figure 2 It is a schematic flowchart of an embodiment of the anti-overflow water control method in the embodiment of the present application;

[0043] Figure 3 It is a schematic diagram of a functional module of the anti-overflow water control device in the embodiment of the present application;

[0044] Figure 4 It is a schematic diagram of the structure of the washing machine in the embodiment of the present application. Detailed implementation manners

[0045] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.

[0046] In the description of the present application, it should be understood that the terms "first" and "second" are only used for descriptive purposes, and cannot be construed as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality" means two or more, unless otherwise specifically defined.

[0047] In the present application, the term "exemplary" is used to mean "serving as an example, illustration, or description". Any embodiment described as "exemplary" in the present application is not necessarily construed as being more preferred or having more advantages than other embodiments. At the same time, it can be understood that in the specific implementation manners of the present application, when it comes to relevant data such as user information and user data, when the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.

[0048] The following description is provided to enable any person skilled in the art to implement and use the present application. In the following description, details are set forth for purposes of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can be implemented without the use of these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but rather to be in line with the broadest scope consistent with the principles and features disclosed in the present application.

[0049] The present application provides an anti-overflow water control method, device, equipment, and storage medium, which will be described in detail below respectively.

[0050] Please refer to Figure 1 , Figure 1 which is a schematic diagram of the scenario of the anti-overflow water control system provided by the embodiments of the present application. The anti-overflow water control system may include a washing machine 100. As Figure 1 the washing machine 100 in

[0051] can obtain the relevant control logic stored in the washing machine 100 to execute the anti-overflow water control method in the present application.

[0052] It should be noted that Figure 1 the schematic diagram of the scenario of the anti-overflow water control system shown is merely an example. The anti-overflow water control system and scenario described in the embodiments of the present application are for more clearly explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the anti-overflow water control system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0053] As Figure 2 shown, Figure 2 which is a schematic flowchart of an embodiment of the anti-overflow water control method in the embodiments of the present application. The anti-overflow water control method can be applied to a target laundry device. The target laundry device includes a water inlet valve, a first water level sensor, and a drain valve, and specifically includes the following steps 201 to 203:

[0054] 201. Control the water inlet valve to close.

[0055] In an embodiment of the present application, the processor of the target laundry device issues a closing instruction to the water inlet valve according to a program. The timing of issuing the closing instruction may include: if the current water level reaches the set water level, for example, the current water level touches the sensor corresponding to the set water level, then the closing instruction is issued. Or, the user manually stops the water inlet, and at this time, the closing instruction can also be issued. Specifically, the embodiments of the present application do not limit it.

[0056] 202. Determine whether the water inlet valve is successfully closed. Among them, if the first water level sensor alarms, it is determined that the water inlet valve is closed unsuccessfully.

[0057] In an embodiment of the present application, an additional first water level sensor may be installed at the warning water level inside the laundry chamber. After issuing the instruction to control the closing of the water inlet valve, normally, if the water inlet valve is closed normally, the water level will not continue to rise. Therefore, if the water inlet valve fails to close, the water level will continue to rise. As the water level rises, the water level will touch the first water level sensor. If the water level touches the first water level sensor, the first water level sensor can send an alarm message to the processor.

[0058] 203. Control the drain valve to open to prevent water level overflow.

[0059] According to the above steps, if the processor receives the alarm message from the first water level sensor, it issues an opening instruction to the drain valve, so that the drain valve opens to drain water, thereby counteracting the problem that the water inlet valve cannot be closed, and further avoiding the problem of water level overflow.

[0060] The anti-overflow control method provided by the present application can control the closing of the water inlet valve after the water level of the laundry device reaches the established water level. Then, it can be determined whether the water inlet valve is successfully closed according to the first water level sensor. If the water inlet valve fails to close, the drain valve can be controlled to open to drain the excess water from the laundry device and avoid water overflow.

[0061] To better implement the embodiments of the present application, in an embodiment of the present application, the target laundry device includes a second water level sensor; the installation height of the second water level sensor is higher than that of the first water level sensor; controlling the drain valve to open includes:

[0062] Determine the first target alarm moment of the first water level sensor and determine the second target alarm moment of the second water level sensor; determine the target duration according to the first target alarm moment and the second target alarm moment; determine the current water level rising rate according to the target duration and the target height difference between the second water level sensor and the first water level sensor; control the opening degree of the drain valve according to the current water level rising rate.

[0063] The above embodiments provide a solution to prevent water level overflow by controlling the opening of the drain valve. However, in some cases, after the inlet valve receives a closing instruction, it may be in a semi-closed state, and at this time, the water level rises slowly; or, after the inlet valve receives a closing instruction, it may also be in a fully open state, and at this time, the water level rises quickly. Therefore, the rate of water level rise is also different. If the drain valve is controlled to open without controlling its opening degree, it may cause the water to drain too quickly, and then, if the user resolves the abnormality of the inlet valve, re-filling of water is required again.

[0064] Based on this, in the embodiments of the present application, the opening degree of the drain valve can be further controlled, so as to achieve the effect that the water inflow is equal to the water drainage, and further solve the problem of keeping the water level basically unchanged. If the user completes the troubleshooting of the inlet valve and completes the repair subsequently, there is no need to re-fill the water.

[0065] In the embodiments of the present application, since the model of the inlet valve is fixed, the water inlet rate can be determined for each additional degree of opening. Therefore, after installing the second water level sensor, if the drain valve is opened and the water level continuously rises to the position of the second drain valve, the target duration between the two alarm times can be determined according to the first alarm time and the second alarm time. At the same time, based on the target height difference between the two sensors, the rising rate of the water level can be calculated, and then the current water inlet rate can be known. Since the water inlet rate can be determined for each additional degree of opening, at this time, by reverse deduction, the current opening degree of the inlet valve can be known. At this time, if the drain valve and the inlet valve have the same specifications, the drain valve can be controlled to open with the same opening degree. Or, if the inlet valve and the drain valve have different specifications, the opening degree of the drain valve can be controlled according to the actual situation, for example, by measuring in advance the drainage rate for each degree of opening of the drain valve, and then determining the opening degree at which the drainage rate is the same as the water inlet rate.

[0066] In order to better implement the embodiments of the present application, in one embodiment of the present application, the target laundry device further includes a third water level sensor; the installation height of the third water level sensor is higher than the installation height of the second water level sensor; after controlling the opening degree of the drain valve according to the current water level rising rate, the method further includes:

[0067] If the opening degree of the drain valve controlled is the maximum opening degree and the third water level sensor alarms, a first target alarm message is generated to notify the user to manually stop the water supply.

[0068] The above embodiments provide a solution to prevent water overflow by controlling the opening of the drain valve. In actual situations, after the drain valve is opened to the maximum angle, the drainage volume reaches the maximum. If an extreme situation occurs, such as a water pipe break and water directly enters by bypassing the inlet valve, the water inflow may exceed the water inflow volume corresponding to the maximum opening degree of the inlet valve. Therefore, it is possible that the drain valve cannot meet the drainage requirement, and there is still a risk of water overflow.

[0069] Based on this, for this extreme case, the third water level sensor is also provided in the embodiment of the present application for this situation. Specifically, if the opening degree of the drain valve is the largest and the water level still rises to the position of the third water level sensor, it can be determined at this time that the drainage means of the drain valve fails. At this time, the processor of the laundry equipment can generate a first target warning message, and the first target warning message can be a warning message for notifying the user to close the household water valve. The form of the first target warning message is not limited. For example, corresponding text information can be generated and notified to the user to manually cut off the water supply, such as closing the household water valve, etc., through the wifi module of the laundry equipment, through the APP or by text message. Or, it can also be that the speaker of the laundry equipment emits audio information to notify the user to close the household water valve, etc.

[0070] In order to better implement the embodiment of the present application, in one embodiment of the present application, determining whether the water inlet valve is successfully closed includes:

[0071] Execute timing to obtain a target timing duration; if the target timing duration is greater than the target duration threshold and the first water level sensor does not give an alarm, it is determined that the water inlet valve is successfully closed; if the target timing duration is less than or equal to the target duration threshold and the first water level sensor gives an alarm, it is determined that the water inlet valve is closed unsuccessfully.

[0072] The above embodiment provides a solution for determining whether the water inlet valve is successfully closed according to the first water level sensor. In the actual application process, if the water inlet valve is successfully closed, there will be no situation of reopening before the opening instruction. Therefore, if the water inlet valve is continuously detected for whether it is closed, it will waste the computing resources of the processor. Especially after the laundry equipment integrates more and more functions, including the Internet of Things or neural network models, it is more important to save the computing resources of the processor.

[0073] Based on this, after the closing instruction is issued, if the water level still does not rise to the position of the first water level sensor after a period of time, it can be determined that the closing is successful and there is no need to monitor anymore. Therefore, after the processor issues the closing instruction for the water inlet valve, timing can be started to obtain a target timing duration. If the first water level sensor still does not give an alarm after the target timing duration, it can be determined that it is successfully closed.

[0074] Specifically, the washing machine starts to fill with water, and at the same time, the water level sensor senses the water level. When the water level has not reached the specified water level, the drain valve is always open, and water continuously enters the sample cylinder; when the water level reaches the specified water level, the drain valve closes, and water intake into the sample cylinder stops. Starting from the water cut-off time, a 30-second timer is started. If the water level has not reached the 9th gear (the water level gear corresponding to the first water level sensor), the washing machine continues to operate normally until the end; if the water level reaches the 9th gear, it is determined that the "drain valve stops water intake" instruction has not caused the drain valve to perform an effective closing action, a drain valve failure alarm is given, and at the same time, the drain valve is opened to drain water to prevent excessive water from overflowing to the ground. The drain valve remains in the open state until the user actively pauses the program.

[0075] To better implement the embodiments of the present application, in one embodiment of the present application, after determining whether the water inlet valve has been successfully closed, the method further includes:

[0076] If the water inlet valve is successfully closed, execute the target laundry process.

[0077] In the embodiments of the present application, the target laundry process may include any washing process, such as dry cleaning, wool washing mode, silk washing mode, quick washing mode, etc. Specifically, it can be executed according to the user's setting or according to the program's setting, and the embodiments of the present application do not limit it.

[0078] To better implement the embodiments of the present application, in one embodiment of the present application, before controlling the water inlet valve to close, the method further includes:

[0079] Detect whether the user-set water level has been obtained; if the user-set water level has been obtained, control the water inlet valve to open so that the water level reaches the user-set water level; if the user-set water level has not been obtained, weigh the laundry cavity to determine the current weight information; according to the current weight information, determine the target washing water level; control the water inlet valve to open so that the water level reaches the target washing water level.

[0080] In the above embodiments, multiple implementation methods for preventing water overflow are provided. Before controlling the water inlet valve to close, the embodiments of the present application also provide a solution for controlling the water inlet of the water inlet valve.

[0081] Among them, the user-set water level can be obtained according to the operations of the user on the APP of the laundry device or the control panel of the laundry device. The embodiments of the present application do not limit it. In addition, the user-set water level can also be obtained according to historical records. For example, if the user selects Mode A to wash clothes, and if the user has set the water level in Mode A and the current user has not reset the water level, then the historical set water level corresponding to Mode A can be obtained as the user-set water level; or, for example, if the user selects Mode B to wash clothes, and if the user has set the water level in Mode B and the current user has not reset the water level, then the historical set water level corresponding to Mode B can be obtained as the user-set water level. Of course, it can also include Mode C, Mode D, etc., which will not be elaborated here.

[0082] After obtaining the user-set water level, the processor can issue an opening instruction for the water inlet valve until the water inlet valve is closed.

[0083] Alternatively, the laundry device also has a weighing function. If there is no user-set water level, at this time, the laundry device can adapt a suitable water level according to the weight of the clothes. For example, multiple clothes weight ranges can be preset in advance, and each clothes weight range corresponds to a water level. After obtaining the current weight information by weighing the current clothes, determine which specific target clothes weight range the current weight information belongs to, and according to the water level corresponding to the target clothes weight range.

[0084] In order to better implement the embodiments of the present application, in one embodiment of the present application, if the first water level sensor alarms and it is determined that the control of closing the water inlet valve fails, the method further includes:

[0085] Generate a second target alarm message to inform the user that there is a water overflow phenomenon; if a target operation instruction issued by the user is obtained, execute the corresponding control process according to the target operation instruction.

[0086] The above embodiment provides a solution for the processor to generate a first target alarm message, which is used to inform the user to block the water source. In the embodiments of the present application, a solution for generating a second target alarm message is also provided.

[0087] Among them, the purpose of the second target alarm message is to inform the user that there is a water overflow phenomenon, but it is not a serious water overflow and is still in the controllable stage of the drain valve. For example: the second target alarm message can be information indicating that there is a water overflow phenomenon. The form of the second target alarm message is not limited. For example, corresponding text information can be generated and notified of the water overflow phenomenon through the wifi module of the laundry device, in the form of an APP notification or a text message. Or, it can also be that the speaker of the laundry device emits audio information to notify the user that there is a water overflow phenomenon.

[0088] At this time, after the user obtains the second target warning information, there may be control operations for the laundry equipment. For example: shutting down the laundry equipment, or restarting the laundry equipment, etc. These instructions all belong to the target operation instructions. Therefore, if the target operation instruction issued by the user is obtained subsequently, it can be responded to and executed.

[0089] To better implement the anti-overflow control method in the embodiments of the present application, on top of the anti-overflow control method, an anti-overflow control device is also provided in the embodiments of the present application. This device is applied to the target laundry equipment, and the target laundry equipment includes a water inlet valve, a first water level sensor, and a drain valve, as Figure 3 shown, the device 300 includes:

[0090] A control module 301, configured to control the water inlet valve to close;

[0091] A determination module 302, configured to determine whether the water inlet valve is successfully closed. Among them, if the first water level sensor gives an alarm, it is determined that the water inlet valve fails to close;

[0092] The control module 301 is further configured to control the drain valve to open to prevent water level overflow.

[0093] The anti-overflow control device provided by the present application can, after the water level of the laundry equipment reaches the established water level, control the water inlet valve to close through the control module 301. Then, the determination module 302 can determine whether the water inlet valve is successfully closed according to the first water level sensor. If the water inlet valve fails to close, the control module 301 can control the drain valve to open to drain the excess water from the laundry equipment and avoid water overflow.

[0094] In some embodiments of the present application, the target laundry equipment includes a second water level sensor; the installation height of the second water level sensor is higher than the installation height of the first water level sensor. The control module 301 is specifically configured to:

[0095] Determine the first target alarm moment of the first water level sensor and determine the second target alarm moment of the second water level sensor;

[0096] Determine the target duration according to the first target alarm moment and the second target alarm moment;

[0097] Determine the current water level rising rate according to the target duration and the target height difference between the second water level sensor and the first water level sensor;

[0098] Control the opening degree of the drain valve according to the current water level rising rate.

[0099] In some embodiments of the present application, the target laundry equipment further includes a third water level sensor; the installation height of the third water level sensor is higher than the installation height of the second water level sensor;

[0100] After controlling the opening degree of the drain valve according to the current water level rising rate, the control module 301 is further specifically configured to:

[0101] If the opening degree of the drain valve is controlled to be the maximum opening degree and the third water level sensor alarms, generate a first target alarm message to notify the user to cut off the water supply manually.

[0102] In some embodiments of the present application, the determining module 302 is specifically configured to:

[0103] Execute timing to obtain a target timing duration;

[0104] If the target timing duration is greater than the target duration threshold and the first water level sensor does not alarm, determine that the water inlet valve is successfully closed;

[0105] If the target timing duration is less than or equal to the target duration threshold and the first water level sensor alarms, determine that the water inlet valve is closed unsuccessfully.

[0106] In some embodiments of the present application, after determining whether the water inlet valve is successfully closed, the control module 301 is further specifically configured to:

[0107] If the water inlet valve is successfully closed, execute a target laundry process.

[0108] In some embodiments of the present application, before controlling the water inlet valve to close, the control module 301 is further specifically configured to:

[0109] Detect whether the user-set water level is obtained;

[0110] If the user-set water level is obtained, control the water inlet valve to open so that the water level reaches the user-set water level;

[0111] If the user-set water level is not obtained, weigh the laundry chamber to determine the current weight information;

[0112] Determine a target washing water level according to the current weight information;

[0113] Control the water inlet valve to open so that the water level reaches the target washing water level.

[0114] In some embodiments of the present application, if the first water level sensor alarms and it is determined that the control of closing the water inlet valve fails, the control module 301 is further specifically configured to:

[0115] Generate a second target alarm message to inform the user that there is a water overflow phenomenon;

[0116] If a target operation instruction issued by the user is obtained, execute a corresponding control process according to the target operation instruction.

[0117] An embodiment of the present application further provides a washing machine, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to implement the steps in any one of the anti-overflow control methods in the embodiments of the present application. Among them, the washing machine integrates any one of the anti-overflow control methods provided in the embodiments of the present application, such as Figure 4 As shown, it shows a schematic structural diagram of the washing machine involved in the embodiments of the present application. Specifically:

[0118] The washing machine may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art can understand that Figure 4 the washing machine structure shown in does not constitute a limitation on the washing machine, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0119] Among them:

[0120] The processor 401 is the control center of the washing machine, connecting various parts of the entire washing machine through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, it executes various functions of the washing machine and processes data, thereby monitoring the washing machine as a whole. Optionally, the processor 401 may include one or more processing cores; the processor 401 may be a central processing unit (CPU), or it may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Preferably, the processor 401 may integrate an application processor and a modulation and demodulation processor. Among them, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modulation and demodulation processor mainly processes wireless communication. It can be understood that the above modulation and demodulation processor may not be integrated into the processor 401 either.

[0121] The memory 402 can be used to store software programs and modules. By running the software programs and modules stored in the memory 402, the processor 401 can execute various functional applications and data processing. The memory 402 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the washing machine, etc. In addition, the memory 402 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 402 can also include a memory controller to provide the processor 401 with access to the memory 402.

[0122] The washing machine further includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0123] The washing machine may further include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0124] Although not shown, the washing machine may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 401 in the washing machine will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402 to realize various functions, such as:

[0125] Control the water inlet valve to close;

[0126] Determine whether the water inlet valve is successfully closed. Among them, if the first water level sensor alarms, it is determined that the water inlet valve closing fails;

[0127] Control the drain valve to open to prevent water level overflow.

[0128] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by the processor.

[0129] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, an optical disc, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the anti-overflow control methods provided by the embodiments of the present application. For example, when the computer program is loaded by the processor, the following steps may be executed:

[0130] Control the inlet valve to close;

[0131] Determine whether the inlet valve is successfully closed. Among them, if the first water level sensor alarms, it is determined that the inlet valve closing fails;

[0132] Control the drain valve to open to prevent water level overflow.

[0133] In the above embodiments, the descriptions of each embodiment have their own emphases. For the parts not detailed in a certain embodiment, reference may be made to the detailed descriptions of other embodiments above, and details will not be repeated here.

[0134] In specific implementation, the above units or structures can be implemented as independent entities, or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation of the above units or structures, reference may be made to the method embodiments above, and details will not be repeated here.

[0135] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, and details will not be repeated here.

[0136] The above provides a detailed introduction to an anti-overflow control method and device provided by the embodiments of the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A method for preventing overflow, characterized in that: Applied to a target laundry device, the target laundry device includes a water inlet valve, a first water level sensor, and a drain valve, the method includes: Controlling the water inlet valve to close; Determining whether the water inlet valve is closed successfully, wherein if the first water level sensor gives an alarm, it is determined that the water inlet valve fails to be closed; The drain valve is controlled to open to prevent the water level from overflowing.

2. The method for preventing water overflow according to claim 1, characterized in that: The target laundry device includes a second water level sensor; the second water level sensor is arranged at a height higher than the first water level sensor; The controlling the drain valve to open comprises: Determining a first target alarm time for the first water level sensor and determining a second target alarm time for the second water level sensor; Determining a target duration according to the first target alarm time and the second target alarm time; Determine a current water level rising rate according to the target duration and a target height difference between the second water level sensor and the first water level sensor; The opening degree of the drain valve is controlled according to the current water level rising rate.

3. The method for preventing overflow according to claim 2, characterized in that: The target laundry device further includes a third water level sensor; the third water level sensor is arranged at a height higher than the second water level sensor; After controlling the opening degree of the drain valve according to the current water level rising rate, the method further includes: If the opening degree of the drain valve is controlled to be the maximum opening degree and the third water level sensor alarms, a first target alarm message is generated to notify the user to manually stop the water supply.

4. The method for preventing water overflow according to claim 1, characterized in that: The step of determining whether the water inlet valve is closed successfully comprises: Execute timing and get the target timing duration; If the target timing duration is greater than the target duration threshold and the first water level sensor does not give an alarm, it is determined that the water inlet valve is closed successfully; If the target timing duration is less than or equal to the target duration threshold, and the first water level sensor sounds an alarm, it is determined that the water inlet valve fails to close.

5. The method for preventing water overflow according to claim 1, characterized in that: After determining whether the water inlet valve is closed successfully, the method further includes: If the water inlet valve is closed successfully, the target washing process is executed.

6. The method for preventing water overflow according to claim 1, characterized in that: Before controlling the water inlet valve to close, the method further includes: Check whether the water level set by the user is obtained; If the user-set water level is obtained, the water inlet valve is controlled to open so that the water level reaches the user-set water level; If the user-set water level is not obtained, weigh the washing chamber to determine the current weight information; determining a target washing water level according to the current weight information; The water inlet valve is controlled to open so that the water level reaches the target washing water level.

7. The method for preventing water overflow according to claim 1, characterized in that: If the first water level sensor gives an alarm and it is determined that the closing control of the water inlet valve fails, the method further includes: Generate a second target warning message to inform the user of the presence of water overflow; If a target operation instruction issued by the user is obtained, the corresponding control process is executed according to the target operation instruction.

8. A water overflow prevention control device, characterized in that: Applied to a target laundry device, the target laundry device includes a water inlet valve, a first water level sensor, and a drain valve, the device includes: A control module, used for controlling the water inlet valve to close; A determination module, used to determine whether the water inlet valve is closed successfully, wherein if the first water level sensor alarms, it is determined that the water inlet valve fails to close; The control module is also used to control the drain valve to open to prevent the water level from overflowing.

9. A washing machine, characterized in that: The washing machine comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the anti-overflow control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps in the water overflow prevention control method according to any one of claims 1 to 7.