Drainage control method and device, computer equipment and storage medium
By obtaining the drainage status and sewage level status of the washing equipment, determining the backflow equipment and adjusting the drainage parameters, the backflow phenomenon when multiple equipment share the drainage pipeline is solved, ensuring the normal operation of the equipment and reducing damage.
Patent Information
- Application Number
- CN202410034696.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-10
- Publication Date
- 2025-07-11
AI Technical Summary
When multiple washing equipment share a drainage pipe, sewage may flow backward, affecting the normal operation of the equipment and even causing damage to the equipment.
By obtaining the drainage status and sewage level status of each washing equipment, determine the backflow equipment and adjust the drainage parameters of the target equipment to reduce the backflow amount.
It effectively reduces the damage to the equipment, solves the problem of backflow when sharing drainage pipes, and ensures that the equipment works normally.
Smart Images

Figure CN120291309A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of household appliances, and particularly to a drainage control method, device, computer device, and storage medium. Background Art
[0002] With the improvement of people's living standards and the development of home appliance production technology, people have put forward more requirements for household appliances. At present, in order to save space and resources, multiple washing devices share a drainage pipe to achieve the drainage function, thereby reducing the problem of increased floor area caused by laying drainage pipes separately for multiple washing devices.
[0003] However, during the drainage process of sharing a drainage pipe, if the drainage volume of one device is too large, the drainage speed is too fast, or the drainage pipe is blocked, sewage may enter other devices, that is, the backflow phenomenon occurs, which affects the normal operation of other devices and even causes damage to the devices. Summary of the Invention
[0004] The present invention provides a drainage control method, device, computer device, and storage medium to solve the problem of backflow when multiple devices share a drainage pipe, thereby reducing the situation of device damage.
[0005] In a first aspect, the present invention provides a drainage control method applied to a washing system. The washing system includes at least two washing devices, and the at least two washing devices share a drainage system. The method includes:
[0006] Obtain the drainage state and sewage water level state of each washing device among the at least two washing devices;
[0007] Determine, from the at least two washing devices, the washing device that has experienced sewage backflow according to the drainage state and sewage water level state of each washing device, to obtain the backflow washing device. The washing devices other than the backflow washing device among the at least two washing devices are target washing devices;
[0008] Determine the adjustment amount of the drainage parameters of the target washing device;
[0009] Adjust the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters, so as to reduce the sewage backflow amount of the backflow washing device.
[0010] In the above technical solution, after at least one washing device starts to execute the drainage task, the drainage status and sewage water level status of each of at least two washing devices are first obtained. By obtaining the drainage status and sewage water level status of each of at least two washing devices, it helps to determine the backflow washing device and the target washing device. Then, according to the drainage status and sewage water level status of each washing device, the washing device that has suffered sewage backflow is determined from at least two washing devices to obtain the backflow washing device, and then the washing devices other than the backflow washing device among at least two washing devices are determined as the target washing devices. By determining the backflow washing device and the target washing device, it provides help for reducing the amount of sewage backflow in the future. After that, the drainage parameter adjustment amount of the target washing device is determined. By determining the drainage parameter adjustment amount of the target washing device, it assists in completing the task of reducing the amount of sewage backflow. Finally, the drainage parameters of the target washing device are adjusted according to the drainage parameter adjustment amount, and the target washing device drains water according to the adjusted drainage parameters to reduce the sewage backflow amount of the backflow washing device, thereby reducing the situation of equipment damage. In addition, since the present invention can adjust the drainage parameters of the target washing device according to the drainage parameter adjustment amount to reduce the sewage backflow amount of the backflow washing device, it solves the problem of backflow phenomenon when multiple devices share a drainage pipeline, which affects the normal operation of other devices and even causes equipment damage.
[0011] In a second aspect, the present invention provides a drainage control device applied to a washing system. The washing system includes at least two washing devices, and the at least two washing devices share a drainage system. The device includes:
[0012] An acquisition module, configured to acquire the drainage status and sewage water level status of each of the at least two washing devices;
[0013] A first determination module, configured to determine, from the at least two washing devices, the washing device that has suffered sewage backflow according to the drainage status and sewage water level status of each washing device to obtain the backflow washing device, and the washing devices other than the backflow washing device among the at least two washing devices are the target washing devices;
[0014] A second determination module, configured to determine the drainage parameter adjustment amount of the target washing device;
[0015] A control module, configured to adjust the drainage parameters of the target washing device according to the drainage parameter adjustment amount to reduce the sewage backflow amount of the backflow washing device.
[0016] In a third aspect, the present invention provides a computer device, which includes: at least one processor; and a memory communicatively connected to the at least one processor;
[0017] Among them, the memory stores a computer program that can be executed by the at least one processor. When the computer program is executed by the at least one processor, the at least one processor can execute the drainage control method according to any embodiment of the present invention.
[0018] In a fourth aspect, the present invention provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the drainage control method according to any embodiment of the present invention when executed by a computer processor.
[0019] It should be noted that the above computer instructions can be stored in whole or in part on a computer-readable storage medium. Among them, the computer-readable storage medium can be packaged together with the processor of the drainage control device or separately packaged from the processor of the drainage control device. This application does not make any limitations in this regard.
[0020] For the descriptions of the second, third, and fourth aspects in this application, reference can be made to the detailed description of the first aspect; and for the beneficial effects of the descriptions of the second, third, and fourth aspects, reference can be made to the analysis of the beneficial effects of the first aspect. Details will not be repeated here.
[0021] In this application, the names of the above-mentioned drainage control devices do not constitute limitations on the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of this application and fall within the scope of the claims of this application and their equivalent technologies.
[0022] These aspects or other aspects of this application will be more clearly understood in the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] 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 drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0024] Figure 1 It is a flowchart of a drainage control method provided by the present invention;
[0025] Figure 2 It is another flowchart of the drainage control method provided by the present invention;
[0026] Figure 3 It is a structural diagram of a drainage control device provided by the present invention;
[0027] Figure 4It is a schematic structural diagram of a computer device provided by the present invention. Detailed implementation manners
[0028] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of description, only parts related to the present invention rather than all structures are shown in the drawings.
[0029] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone.
[0030] The terms "first" and "second" etc. in the specification and drawings of this application are used to distinguish different objects or different treatments of the same object, rather than to describe the specific order of the objects.
[0031] Furthermore, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes other unlisted steps or units, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0032] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operations are completed, but it can also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc. In addition, without conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.
[0033] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly, using words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0034] In the description of the present application, unless otherwise specified, the meaning of "a plurality" refers to two or more than two.
[0035] Figure 1 FIG. is a schematic flowchart of a drainage control method provided by the present invention. This embodiment is applicable to the situation where a plurality of washing devices share a drainage pipeline. This method can be executed by a drainage control device provided by the present invention, and the device can be implemented in a software and / or hardware manner. Specifically, the device can be integrated in a computer device. The computer device is connected to at least two washing devices through a wireless network to achieve remote control of at least two washing devices, including operations such as starting, stopping, and setting parameters. Exemplarily, the computer device can be a computer, a server, or a base station. Refer to Figure 1 Accordingly, the drainage control method of this embodiment can specifically include the following steps:
[0036] Step 110, obtain the drainage status and sewage water level status of each of at least two washing devices.
[0037] Specifically, the washing device is a device with a washing function. At least two washing devices can be devices of the same type or different types. Examples of device types include: washing machines, floor washers, dishwashers, etc. The embodiments of the present invention do not limit this. The drainage status includes a drainage open status or a drainage closed status. The sewage water level status includes a sewage water level rising status, a sewage water level unchanged status, or a sewage water level falling status.
[0038] In specific implementation, after at least one washing device starts to execute a drainage task, the drainage status and sewage water level status corresponding to each washing device can be obtained through sensors equipped with each washing device. Among them, the sensor can be a contact liquid level sensor or a non-contact liquid level sensor. The embodiments of the present invention do not limit this.
[0039] In this embodiment, by obtaining the drainage status and sewage water level status of each of at least two washing devices, it helps to determine the backflow washing device and the target washing device.
[0040] Step 120, determine the washing device that has experienced sewage backflow from at least two washing devices according to the drainage status and sewage water level status of each washing device, to obtain the backflow washing device. The washing devices other than the backflow washing device among at least two washing devices are target washing devices.
[0041] In a specific implementation, after obtaining the drainage status and the sewage water level status of each washing device, the washing device with sewage backflow, i.e., the backflow washing device, can be determined according to the drainage status and the sewage water level status of each washing device. For example, if the drainage status of a certain washing device is the drainage closed state, and when its sewage water level continuously rises, that is, the sewage water level status is the sewage water level rising state, it indicates that sewage backflow has occurred in this device, and this device is confirmed as the backflow washing device. Then, the washing devices other than the backflow washing device are determined as the target washing devices.
[0042] In this embodiment, by determining the backflow washing device and the target washing devices, it helps to reduce the amount of sewage backflow later.
[0043] Step 130: Determine the adjustment amount of the drainage parameters of the target washing device.
[0044] Specifically, the drainage parameters are the parameters that can affect the drainage volume of the washing device. Exemplarily, the drainage parameters can be the drainage duration, the drainage flow rate, the drainage valve opening degree, and / or the drainage frequency, etc. The embodiments of the present invention do not limit this. Among them, the longer the drainage duration, the larger the drainage flow rate, the larger the drainage valve opening degree, or the higher the drainage frequency of the washing device, the larger the drainage volume of the washing device.
[0045] In a specific implementation, the adjustment amount of the drainage parameters of the target washing device can be determined according to a preset ratio. Exemplarily, the drainage parameters are the drainage duration and the drainage valve opening degree, and the preset ratio is 50%. Assuming that the current drainage duration is 60 s per minute and the drainage valve opening degree is 360 degrees, after determining the adjustment amount of the drainage parameters of the target washing device according to the preset ratio, it can be determined that the drainage duration adjustment amount is 30 s and the drainage valve opening degree adjustment amount is 180 degrees.
[0046] In this embodiment, by determining the adjustment amount of the drainage parameters of the target washing device, it assists in completing the task of reducing the amount of sewage backflow.
[0047] Step 140: Adjust the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters to reduce the amount of sewage backflow into the backflow washing device.
[0048] In a specific implementation, the drainage parameters of the target washing device are adjusted according to the previously determined adjustment amount of the drainage parameters, and then the target washing device performs the drainage task with the adjusted drainage parameters. Exemplarily, assuming that the drainage parameters are the drainage valve opening duration and the drainage valve opening degree, the current drainage valve opening duration is 60 s per minute, that is, always open, and the drainage valve opening degree is 360 degrees. The adjustment amount of the drainage parameters of the target washing device is that the drainage duration adjustment amount is 30 s and the drainage valve opening degree adjustment amount is 180 degrees. The adjusted drainage parameters of the target washing device are 30 s per minute and the drainage valve opening degree is 180 degrees.
[0049] In this embodiment, the target washing device drains water according to the adjusted drainage parameters to reduce the amount of sewage backflow into the washing device.
[0050] In an embodiment of the present invention, after at least one washing device starts to perform the drainage task, first obtain the drainage status and sewage water level status of each of at least two washing devices. By obtaining the drainage status and sewage water level status of each of at least two washing devices, it helps to determine the backflow washing device and the target washing device; then determine the washing device that has experienced sewage backflow from at least two washing devices according to the drainage status and sewage water level status of each washing device to obtain the backflow washing device, and then determine the washing devices other than the backflow washing device among at least two washing devices as the target washing device. By determining the backflow washing device and the target washing device, it provides help for reducing the amount of sewage backflow later; then determine the adjustment amount of the drainage parameters of the target washing device. By determining the adjustment amount of the drainage parameters of the target washing device, it assists in completing the task of reducing the amount of sewage backflow; finally, adjust the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters. The target washing device drains water according to the adjusted drainage parameters to reduce the amount of sewage backflow into the backflow washing device, thereby reducing the situation of equipment damage. In addition, since the present invention can adjust the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters to reduce the amount of sewage backflow into the backflow washing device, it solves the problem of backflow when multiple devices share a drainage pipeline, which affects the normal operation of other devices and even causes equipment damage.
[0051] Figure 2 It is another flowchart of the drainage control method provided by the present invention. This embodiment is a specific implementation based on the above embodiment. As Figure 2 shown, the method of this embodiment may specifically include the following steps:
[0052] Step 210, obtain the drainage status and sewage water level status of each of at least two washing devices.
[0053] Step 211, determine whether there is a washing device in the drainage closed state among at least two washing devices. If so, execute step 212; if not, execute step 215.
[0054] In specific implementation, after at least one washing device starts to perform the drainage task, by determining whether there is a washing device in the drainage closed state among at least two washing devices, it helps to confirm whether the washing device has experienced backflow.
[0055] Step 212, determine the washing device in the drainage closed state as a non-working device.
[0056] In a specific implementation, after determining that there is a washing device in a drainage closed state among at least two washing devices, the washing device in the drainage closed state is determined as a non-operating device.
[0057] Exemplarily, assume there are four washing devices A, B, C, and D. If devices A, B, and C are in a drainage open state and device D is in a drainage closed state, then device D is determined as a non-operating device.
[0058] Step 213, obtain the sewage water level state of the non-operating device.
[0059] Specifically, the sewage water level state includes a sewage water level rising state, a sewage water level unchanged state, or a sewage water level falling state.
[0060] In a specific implementation, the sewage water level state of the non-operating device can be obtained by acquiring the value of the sewage water level sensor of the non-operating device.
[0061] Exemplarily, assume that washing device D is a non-operating device, and then obtain the value of the sewage water level sensor of washing device D. If the value is greater than zero, it can be determined that the sewage water level state of washing device D is a sewage water level rising state.
[0062] In this embodiment, by obtaining the sewage water level state of the non-operating device, a judgment basis is provided for determining whether the non-operating device is a backflow washing device later.
[0063] Step 214, determine the non-operating device with a rising sewage water level state as a backflow washing device.
[0064] Exemplarily, after determining that the sewage water level state of non-operating device D is a sewage water level rising state, it can be determined that washing device D is a backflow washing device.
[0065] Step 215, obtain the sewage water level state of each washing device.
[0066] In a specific implementation, after determining that there is no washing device in a drainage closed state among at least two washing devices, the sewage water level state of each washing device can be obtained by acquiring the value of the sewage water level sensor corresponding to each washing device.
[0067] Exemplarily, assume there are four washing devices A, B, C, and D. Now, all four washing devices are draining water, so it can be determined that all four washings are in a drainage open state, that is, there is no washing device in a drainage closed state. Then, obtain the value of the sewage water level sensor corresponding to each device, perform a difference calculation with the value obtained at the previous moment, determine the device with a result greater than zero as a sewage water level rising state, the device with a result equal to zero as a sewage water level unchanged state, and the device with a result less than zero as a sewage water level falling state.
[0068] In this embodiment, by obtaining the sewage water level status of each washing device, a judgment basis is provided for determining the washing devices with backflow later.
[0069] Step 216: Determine the washing devices with the sewage water level rising state and / or the sewage water level remaining unchanged state among at least two washing devices as the washing devices with backflow.
[0070] In specific implementation, after determining that there is no washing device in the drainage closed state among at least two washing devices, obtain the sewage water level status of each washing device. Since all current devices are in the drainage open state, when the sewage water level of a device does not drop, that is, the sewage water level rises or remains unchanged, it means that there is backflow in this device. Therefore, determine the washing devices with the sewage water level rising state and / or the sewage water level remaining unchanged state among the washing devices as the washing devices with backflow.
[0071] Exemplarily, assume that there are four washing devices A, B, C, and D. Now, these four washing devices are all performing drainage operations. The sewage water level status of device A is the sewage water level dropping state, the sewage water level status of device B is the sewage water level dropping state, the sewage water level status of device C is the sewage water level remaining unchanged state, and the sewage water level status of device D is the sewage water level rising state. Then, determine device C and device D as the washing devices with backflow.
[0072] Step 217: Use the washing devices other than the washing devices with backflow among at least two washing devices as the target washing devices.
[0073] Exemplarily, assume that there are currently four washing devices A, B, C, and D. Among them, device C and device D are the washing devices with backflow. Then, the target washing devices are A and B.
[0074] Step 218: Obtain the sewage backflow volume of the washing device with backflow.
[0075] In specific implementation, the current water level value obtained from the sewage water level sensor of the washing device with backflow and the water level value at the previous moment can be used to calculate the difference between the two, and the sewage backflow volume of the washing device with backflow can be determined.
[0076] Exemplarily, assume that the current sewage water level value of the washing device with backflow is 80 cm, the sewage water level value at the previous moment is 50 cm, and the diameter of the drainage pipe of the washing device with backflow is 10 cm. The sewage backflow volume of the washing device with backflow can be obtained as 2.36 liters.
[0077] In this embodiment, by obtaining the sewage backflow volume of the washing device with backflow, a data basis is provided for determining the adjustment amount of the drainage parameters of the target washing device later.
[0078] Step 219: Determine the adjustment amount of the drainage parameters of the target washing device according to the sewage backflow volume.
[0079] Specifically, the drainage parameter can be the opening duration of the drainage valve, the drainage flow rate, the opening degree of the drainage valve, and / or the drainage frequency, etc. The embodiments of the present invention do not limit this. Among them, the larger the amount of sewage backflow, the more the drainage volume of the target washing device needs to be reduced. And the longer the opening duration of the drainage valve, the larger the drainage flow rate, the larger the opening degree of the drainage valve, or the higher the drainage frequency, the larger the drainage volume of the washing device. Therefore, when the amount of sewage backflow is larger, the drainage parameters of the target washing device that are positively correlated with the drainage volume should be smaller, such as: the opening duration of the drainage valve, the drainage flow rate, the opening degree of the drainage valve, and the drainage frequency.
[0080] In specific implementation, after determining the amount of sewage backflow, the adjustment target can be determined according to the amount of sewage backflow, and then the specific adjustment amount can be calculated according to the adjustment target. Finally, according to the calculated adjustment amount, the drainage parameters of the target washing device are actually adjusted.
[0081] Further, there are at least two target washing devices. Determining the drainage parameter adjustment amount of the target washing device according to the amount of sewage backflow includes:
[0082] Obtaining the drainage configuration information of each target washing device;
[0083] Determining the drainage parameter adjustment amount of the corresponding target washing device according to the amount of sewage backflow and the drainage configuration information of each target washing device.
[0084] Specifically, the drainage configuration information is information that can control the drainage volume of the washing device. Exemplarily, the drainage configuration information can be the specification of the drainage pipeline, the pump parameters, and / or the drainage valve configuration, etc. The embodiments of the present invention do not limit this. Among them, the larger the diameter of the drainage pipeline, the larger the power of the pump, or the larger the opening degree of the drainage valve, the larger the drainage volume of the corresponding washing device.
[0085] In specific implementation, after obtaining the amount of sewage backflow of the backflow washing device, the drainage configuration information of each target washing device can be obtained first, and then the drainage parameter adjustment amount of the corresponding target washing device can be determined according to the amount of sewage backflow and the drainage configuration information of each target washing device.
[0086] Exemplarily, assume that there are two devices, A and B, as the target washing devices, the drainage parameter is the opening degree of the drainage valve. The drainage configuration information of device A is that the diameter of the drainage pipeline is 10 cm and the opening degree of the drainage valve is 360 degrees; the drainage configuration information of device B is that the diameter of the drainage pipeline is 5 cm and the opening degree of the drainage valve is 360 degrees; the amount of sewage backflow is 1 liter. Then the drainage parameter adjustment amount of device A can be 180 degrees, and the drainage parameter adjustment amount of device B can be 120 degrees.
[0087] In this embodiment, according to the sewage backflow volume and the drainage configuration information of each target washing device, the adjustment amount of the drainage parameters of the corresponding target washing device can be determined more accurately.
[0088] Step 220, determine the adjustment amount of the drainage parameters of the target washing device in the current period.
[0089] Specifically, the current period is a period set according to the actual situation or requirements for monitoring the drainage state and the sewage water level state of the washing device. Exemplarily, the period can be 1 minute, 2 minutes, or 4 minutes, and the embodiments of the present invention do not limit this.
[0090] In specific implementation, the adjustment amount of the drainage parameters of the target washing device in the current period can be determined according to a preset adjustment rule. For example, the drainage parameters are the opening duration of the drainage valve and the opening degree of the drainage valve. The current opening duration of the drainage valve is 60 s per minute, that is, always open, and the opening degree of the drainage valve is 360 degrees. The preset adjustment rule is that the adjustment amount of the drainage parameter is 1 / 3 of the current drainage parameter value. Then the adjustment amounts of the drainage parameters are 20 s and 120 degrees respectively. Among them, the drainage volume corresponding to the adjustment amount of the drainage parameters of the target washing device in the current period is less than the drainage volume corresponding to the adjustment amount of the drainage parameters of the target washing device in the previous period.
[0091] Step 221, adjust the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters to reduce the sewage backflow volume into the washing device.
[0092] Further, within a preset number of periods, after adjusting the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters of the target washing device in the current period, obtain the drainage state and the sewage water level state of the washing device with backflow;
[0093] If the drainage state of the washing device with backflow is the drainage closed state and the sewage water level state is the sewage water level rising state, then adjust the target washing device to the drainage closed state and send a drainage blockage prompt message to the user terminal;
[0094] If the drainage state of the washing device with backflow is the drainage open state, and the sewage water level state is the sewage water level rising state and / or the sewage water level unchanged state, then adjust the target washing device to the drainage closed state until the washing device with backflow is in the drainage closed state, and then adjust the target washing device to the drainage open state.
[0095] Specifically, the preset number is the number of times of adjusting the drainage parameters set according to the time situation or requirements.
[0096] In a specific implementation, after adjusting a preset number of cycles, the drainage state and the sewage water level state of the backflow washing device are obtained. If the drainage state of the backflow washing device is the drainage closed state and the sewage water level state is the sewage water level rising state, it means that the drainage pipe is blocked. Therefore, the target washing device is adjusted to the drainage closed state, and a drainage blockage prompt message is sent to the user terminal. For example, assume that the target washing device is Device A, the backflow washing device is Device B, and the preset number is 2. After adjusting the drainage parameters 2 times, if the drainage state of Device B is the drainage closed state and the sewage water level state is the sewage water level rising state, it means that backflow still occurs in Device B. Stop the drainage task of Device A and send a drainage blockage prompt message to the user terminal, such as: "There is a current drainage failure, Device A stops working. Please check the drainage pipe."
[0097] If the drainage state of the backflow washing device is the drainage open state, and the sewage water level state is the sewage water level rising state and / or the sewage water level remains unchanged state, it means that backflow still occurs in the backflow washing device, that is, the previous measures are ineffective. Therefore, the target washing device is adjusted to the drainage closed state until the backflow washing device is in the drainage closed state, and then the target washing device is adjusted to the drainage open state. For example, assume that the target washing device is Device A, the backflow washing device is Device B, and the preset number is 2. After adjusting the drainage parameters 2 times, if the drainage state of Device B is the drainage open state and the sewage water level state is the sewage water level remains unchanged state, it means that backflow still occurs in Device B. Stop the drainage task of Device A until Device B finishes the drainage task.
[0098] Therefore, after at least one washing device starts to execute the drainage task, the technical solution of the present invention first obtains the drainage status and sewage water level status of each of at least two washing devices, and then determines whether there is a washing device in the drainage closed state among the at least two washing devices, so as to help confirm whether the washing device is backflowing. If there is a washing device in the drainage closed state, the washing device in the drainage closed state is determined as a non-working device, and the sewage water level status of the non-working device is obtained, which provides a judgment basis for determining whether the non-working device is a backflow washing device. Then, the non-working device with the sewage water level rising state is determined as the backflow washing device. If there is no washing device in the drainage closed state, the sewage water level status of each washing device is directly obtained, which provides a judgment basis for determining the backflow washing device. Then, the washing device with the sewage water level rising state and / or the sewage water level unchanged state among the at least two washing devices is determined as the backflow washing device. Finally, the washing devices other than the backflow washing devices among the at least two washing devices are used as the target washing devices. By determining the backflow washing devices and the target washing devices, it helps to reduce the amount of sewage backflow in the future. Then, the sewage backflow amount of the backflow washing device can be obtained to determine the drainage parameter adjustment amount of the target washing device, or the drainage parameter adjustment amount of the target washing device in the current cycle can be determined to assist in completing the task of reducing the sewage backflow amount; finally, the drainage parameters of the target washing device are adjusted according to the drainage parameter adjustment amount, and the target washing device drains water according to the adjusted drainage parameters to reduce the sewage backflow amount of the backflow washing device, thereby reducing the situation of equipment damage. In addition, since the present invention can adjust the drainage parameters of the target washing device according to the drainage parameter adjustment amount to reduce the sewage backflow amount of the backflow washing device, it solves the problem of backflow when multiple devices share a drainage pipeline, which affects the normal operation of other devices and even causes equipment damage.
[0099] Exemplarily, there are 3 existing washing devices, namely device A, B, and C. Device A is a washing machine, device B is a floor washer, and device C is a dishwasher. The drainage parameters are the drainage valve opening time, the drainage valve closing time, and the drainage valve opening degree. The preset cycle is 2 minutes, and the preset adjustment times are 2.
[0100] 1. When the washing machine is in the drainage - on state and the floor washer and the dishwasher are in the drainage - off state, obtain the sewage water - level status of the floor washer and the dishwasher. If the sewage water - level status of the floor washer and / or the dishwasher is in the rising state of the sewage water level, it indicates that there is a back - flow phenomenon. It is necessary to adjust the drainage parameters of the washing machine and determine the washing machine as the target washing device. The current drainage - valve opening time of the washing machine is 60 s per minute of opening, the drainage - valve closing time is 0 s per minute of closing, and the drainage - valve opening degree is 360 degrees. Then, the drainage - valve opening time of the washing machine can be adjusted to 50 s per minute of opening, the drainage - valve closing time can be adjusted to 10 s per minute of closing, and the drainage - valve opening degree can be adjusted to 300 degrees. After 2 minutes, obtain the sewage water - level status of the floor washer and the dishwasher again. If the sewage water - level status of the floor washer and / or the dishwasher is in the rising state of the sewage water level, it indicates that there is still a back - flow phenomenon. It is necessary to continue to adjust the drainage parameters of the washing machine and determine the washing machine as the target washing device. The current drainage - valve opening time of the washing machine is 50 s per minute of opening, the drainage - valve closing time is 10 s per minute of closing, and the drainage - valve opening degree is 300 degrees. Then, the drainage - valve opening time of the washing machine can be adjusted to 30 s per minute of opening, the drainage - valve closing time can be adjusted to 30 s per minute of closing, and the drainage - valve opening degree can be adjusted to 180 degrees. After 2 minutes, obtain the sewage water - level status of the floor washer and the dishwasher again. If the sewage water - level status of the floor washer and / or the dishwasher is in the rising state of the sewage water level, it indicates that there is still a back - flow phenomenon. At this time, turn off the drainage function of the washing machine, adjust the washing machine to the drainage - off state, and send a drainage - blockage prompt message to the user terminal.
[0101] 2. When the washing machine, floor washer, and dishwasher are all in the drainage - open state, obtain the sewage water - level status of the washing machine, floor washer, and dishwasher. If the sewage water - level status of the dishwasher is the sewage - water - level - rising state or the sewage - water - level - unchanged state, it indicates that a back - flow phenomenon occurs, and the drainage parameters of the washing machine and floor washer need to be adjusted. The washing machine and floor washer are determined as the target washing devices. Currently, the drainage - valve opening time of both the washing machine and the floor washer is 60 s per minute, the drainage - valve closing time is 0 s per minute, the drainage - valve opening degree is 360 degrees. The diameter of the drainage pipe of the washing machine is 10 cm, and the diameter of the drainage pipe of the floor washer is 5 cm. Then, the drainage - valve opening time of the washing machine can be adjusted to 30 s per minute, the drainage - valve closing time can be adjusted to 30 s per minute, and the drainage - valve opening degree can be adjusted to 180 degrees; the drainage - valve opening time of the floor washer can be adjusted to 50 s per minute, the drainage - valve closing time can be adjusted to 10 s per minute, and the drainage - valve opening degree can be adjusted to 300 degrees. After 2 minutes, obtain the sewage water - level status of the dishwasher again. If the sewage water - level status of the dishwasher is the sewage - water - level - rising state or the sewage - water - level - unchanged state, it indicates that the back - flow phenomenon still occurs, and the drainage parameters of the washing machine and floor washer need to be continuously adjusted. The washing machine and floor washer are determined as the target washing devices. Currently, the drainage - valve opening time of the washing machine is 30 s per minute, the drainage - valve closing time is 30 s per minute, and the drainage - valve opening degree is 180 degrees; the drainage - valve opening time of the floor washer is 50 s per minute, the drainage - valve closing time is 10 s per minute, and the drainage - valve opening degree is 300 degrees. Then, the drainage - valve opening time of the washing machine can be adjusted to 20 s per minute, the drainage - valve closing time can be adjusted to 40 s per minute, and the drainage - valve opening degree can be adjusted to 100 degrees; the drainage - valve opening time of the floor washer can be adjusted to 30 s per minute, the drainage - valve closing time can be adjusted to 30 s per minute, and the drainage - valve opening degree can be adjusted to 180 degrees. After 2 minutes, obtain the sewage water - level status of the dishwasher again. If the sewage water - level status of the dishwasher is the sewage - water - level - rising state or the sewage - water - level - unchanged state, it indicates that the back - flow phenomenon still exists. At this time, turn off the drainage functions of the washing machine and floor washer, and adjust the washing machine and floor washer to the drainage - closed state until the dishwasher stops the drainage task.
[0102] Figure 3 is a schematic structural diagram of the drainage control device provided by the present invention, as Figure 3 shown. The device may specifically include:
[0103] An acquisition module 310, configured to acquire the drainage status and sewage water - level status of each of the at least two washing devices;
[0104] The first determination module 320 is configured to determine, from the at least two washing devices, the washing device in which sewage backflow has occurred according to the drainage state and the sewage water level state of each washing device, so as to obtain the backflow washing device, and the washing devices other than the backflow washing device among the at least two washing devices are target washing devices;
[0105] The second determination module 330 is configured to determine the drainage parameter adjustment amount of the target washing device;
[0106] The control module 340 is configured to adjust the drainage parameters of the target washing device according to the drainage parameter adjustment amount, so as to reduce the sewage backflow amount of the backflow washing device.
[0107] In one embodiment, the drainage state includes a drainage open state or a drainage closed state, and the sewage water level state includes a sewage water level rising state, a sewage water level unchanged state, or a sewage water level falling state. The first determination module 320 is specifically configured to:
[0108] Determine whether there is a washing device in the drainage closed state among the at least two washing devices;
[0109] If there is a washing device in the drainage closed state, determine the washing device in the drainage closed state as a non-operating device;
[0110] Obtain the sewage water level state of the non-operating device;
[0111] Determine the non-operating device in the sewage water level rising state as the backflow washing device.
[0112] In one embodiment, the first determination module 320 is further configured to:
[0113] If there is no washing device in the drainage closed state, obtain the sewage water level state of each washing device;
[0114] Determine the washing devices in the sewage water level rising state and / or the sewage water level unchanged state among the at least two washing devices as the backflow washing devices.
[0115] In one embodiment, the second determination module 330 is specifically configured to:
[0116] Obtain the sewage backflow amount of the backflow washing device;
[0117] Determine the drainage parameter adjustment amount of the target washing device according to the sewage backflow amount.
[0118] In one embodiment, there are at least two target washing devices. When determining the drainage parameter adjustment amount of the target washing device according to the sewage backflow amount, the second determination module 330 is specifically configured to:
[0119] Obtain the drainage configuration information of each of the target washing devices;
[0120] Determine the drainage parameter adjustment amount of the corresponding target washing device according to the sewage backflow volume and the drainage configuration information of each of the target washing devices.
[0121] In one embodiment, the second determination module 330 is specifically configured to:
[0122] Determine the drainage parameter adjustment amount of the target washing device within the current period;
[0123] Wherein, the drainage volume corresponding to the drainage parameter adjustment amount of the target washing device within the current period is less than the drainage volume corresponding to the drainage parameter adjustment amount of the target washing device within the previous period.
[0124] In one embodiment, the device further includes:
[0125] A prompt module, specifically configured to obtain the drainage state and the sewage water level state of the backflow washing device after adjusting a preset number of periods;
[0126] If the drainage state of the backflow washing device is a drainage closed state and the sewage water level state is a sewage water level rising state, then adjust the target washing device to the drainage closed state and send a drainage blockage prompt message to the user terminal;
[0127] If the drainage state of the backflow washing device is a drainage open state, and the sewage water level state is a sewage water level rising state and / or a sewage water level unchanged state, then adjust the target washing device to the drainage closed state, and when the backflow washing device is in the drainage closed state, then adjust the target washing device to the drainage open state.
[0128] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described functional modules can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0129] For the device of the present invention, after at least one washing device starts to execute the drainage task, first obtain the drainage status and sewage water level status of each of at least two washing devices. By obtaining the drainage status and sewage water level status of each of at least two washing devices, it helps to determine the backflow washing device and the target washing device. Then, determine the washing device that has experienced sewage backflow from at least two washing devices based on the drainage status and sewage water level status of each washing device to obtain the backflow washing device, and then determine the washing devices other than the backflow washing device among at least two washing devices as the target washing devices. By determining the backflow washing device and the target washing devices, it provides help for reducing the amount of sewage backflow in the future. After that, determine the adjustment amount of the drainage parameters of the target washing device. By determining the adjustment amount of the drainage parameters of the target washing device, it assists in completing the task of reducing the amount of sewage backflow. Finally, adjust the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters, and the target washing device drains water according to the adjusted drainage parameters to reduce the sewage backflow amount of the backflow washing device, thereby reducing the situation of equipment damage. In addition, since the present invention can adjust the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters to reduce the sewage backflow amount of the backflow washing device, it solves the problem of backflow when multiple devices share a drainage pipe, which affects the normal operation of other devices and even causes equipment damage.
[0130] Figure 4 It is a schematic structural diagram of a computer device provided by the present invention. Figure 4 The block diagram of an exemplary computer device 4 suitable for implementing the embodiments of the present invention is shown. Figure 4 The computer device 4 shown is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present invention.
[0131] As Figure 4 As shown, the computer device 4 is presented in the form of a general-purpose computing electronic device. The components of the computer device 4 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
[0132] The bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the multiple bus structures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0133] Computer device 4 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 4, including volatile and non-volatile media, removable and non-removable media.
[0134] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 4 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 can be used for reading and writing on non-removable, non-volatile magnetic media ( Figure 4 not shown, commonly referred to as a "hard disk drive"). Although Figure 4 not shown in, a disk drive for reading and writing on removable non-volatile disks (such as a "floppy disk"), and an optical disk drive for reading and writing on removable non-volatile optical disks (such as CD-ROM, DVD-ROM or other optical media) can be provided. In these cases, each drive can be connected to bus 18 through one or more data media interfaces. System memory 28 may include at least one program product having a set (such as at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0135] A program / utility 40 having a set (at least one) of program modules 42 can be stored in, for example, system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment. Program modules 42 generally perform the functions and / or methods in the embodiments described in the present invention.
[0136] Computer device 4 can also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and can also communicate with one or more devices that enable a user to interact with the computer device 4, and / or communicate with any device that enables the computer device 4 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication can be carried out through an input / output (I / O) interface 22. And, computer device 4 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As Figure 4 shown, network adapter 20 communicates with other modules of computer device 4 through bus 18. It should be understood that although Figure 4not shown in the figure, other hardware and / or software modules may be used in combination with the computer device 4, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0137] The processing unit 16 executes various functional applications and page displays by running programs stored in the system memory 28. For example, it implements the drainage control method provided by the embodiments of the present invention, which is applied to a washing system. The washing system includes at least two washing devices, and the at least two washing devices share a drainage system. The method includes:
[0138] Obtain the drainage status and sewage water level status of each of the at least two washing devices;
[0139] Determine the washing device that has experienced sewage backflow from the at least two washing devices according to the drainage status and sewage water level status of each washing device, to obtain the backflow washing device. The washing devices other than the backflow washing device among the at least two washing devices are target washing devices;
[0140] Determine the adjustment amount of the drainage parameters of the target washing device;
[0141] Adjust the drainage parameters of the target washing device according to the adjustment amount of the drainage parameters, so as to reduce the sewage backflow amount of the backflow washing device.
[0142] Of course, those skilled in the art can understand that the processor can also implement the technical solutions of the drainage control method provided by any embodiment of the present invention.
[0143] The embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements, for example, the drainage control method provided by the embodiments of the present invention, which is applied to a washing system. The washing system includes at least two washing devices, and the at least two washing devices share a drainage system. The method includes:
[0144] Obtain the drainage status and sewage water level status of each of the at least two washing devices;
[0145] Determine the washing device that has experienced sewage backflow from the at least two washing devices according to the drainage status and sewage water level status of each washing device, to obtain the backflow washing device. The washing devices other than the backflow washing device among the at least two washing devices are target washing devices;
[0146] Determine the adjustment amount of the drainage parameters of the target washing device;
[0147] Adjust the drainage parameter of the target washing device according to the adjusted amount of the drainage parameter, so as to reduce the amount of sewage backflow into the backflow washing device.
[0148] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0149] The computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0150] The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0151] Computer program code for performing the operations of the present invention can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., by connecting through the Internet using an Internet service provider).
[0152] Those of ordinary skill in the art should understand that the above-mentioned modules or steps of the present invention can be implemented with a general-purpose computing device. They can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Optionally, they can be implemented with program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0153] In addition, in the technical solution of the present invention, the acquisition, storage, use, processing, etc. of data all comply with the relevant provisions of national laws and regulations.
[0154] Note that the above is only the preferred embodiment of the present invention and the applied technical principle. Those skilled in the art will understand that the present invention is not limited to the specific embodiments here. Various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, it can also include more other equivalent embodiments, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A drainage control method, characterized in that, Applied to a washing system, the washing system includes at least two washing devices, and the at least two washing devices share a drainage system. The method includes: Obtaining the drainage state and sewage water level state of each of the at least two washing devices; Determining, based on the drainage state and sewage water level state of each washing device, a washing device that has experienced sewage backflow from the at least two washing devices to obtain a backflow washing device, and the washing devices other than the backflow washing device among the at least two washing devices are target washing devices; Determining an adjustment amount of the drainage parameter of the target washing device; Adjusting the drainage parameter of the target washing device according to the adjustment amount of the drainage parameter to reduce the amount of sewage backflow of the backflow washing device.
2. The drainage control method according to claim 1, characterized in that The drainage state includes a drainage open state or a drainage closed state, and the sewage water level state includes a sewage water level rising state, a sewage water level unchanged state, or a sewage water level falling state. Determining, based on the drainage state and sewage water level state of each washing device, a washing device that has experienced sewage backflow from the at least two washing devices to obtain a backflow washing device includes: Determining whether there is a washing device in the drainage closed state among the at least two washing devices; If there is a washing device in the drainage closed state, determining the washing device in the drainage closed state as a non-operating device; Obtaining the sewage water level state of the non-operating device; Determining the non-operating device with the sewage water level rising state as the backflow washing device.
3. The drainage control method according to claim 2, characterized in that After determining whether there is a washing device in the drainage closed state among the at least two washing devices, it further includes: If there is no washing device in the drainage closed state, obtaining the sewage water level state of each washing device; Determining the washing devices with the sewage water level rising state and / or the sewage water level unchanged state among the at least two washing devices as the backflow washing devices.
4. The drainage control method according to claim 1, wherein Determining the adjustment amount of the drainage parameter of the target washing device includes: Obtaining the amount of sewage backflow of the backflow washing device; Determining the adjustment amount of the drainage parameter of the target washing device according to the amount of sewage backflow.
5. The drainage control method according to claim 4, characterized in that, There are at least two target washing devices. Determining the adjustment amount of the drainage parameter of the target washing device according to the amount of sewage backflow includes: Obtaining the drainage configuration information of each target washing device; Determining the adjustment amount of the drainage parameter of the corresponding target washing device according to the amount of sewage backflow and the drainage configuration information of each target washing device.
6. The drainage control method according to claim 1, characterized in that, Determining the adjustment amount of the drainage parameter of the target washing device includes: Determining the adjustment amount of the drainage parameter of the target washing device within the current cycle; Wherein, the drainage volume corresponding to the adjustment amount of the drainage parameter of the target washing device within the current cycle is less than the drainage volume corresponding to the adjustment amount of the drainage parameter of the target washing device in the previous cycle.
7. The drainage control method according to claim 6, wherein The method further includes: After adjusting a preset number of cycles, obtaining the drainage state and sewage water level state of the backflow washing device; If the drainage state of the backflow washing device is the drainage closed state and the sewage water level state is the sewage water level rising state, then adjust the target washing device to the drainage closed state, and send a drainage blockage prompt message to the user terminal; If the drainage state of the backflow washing device is the drainage open state, and the sewage water level state is the sewage water level rising state and / or the sewage water level unchanged state, then adjust the target washing device to the drainage closed state. When the backflow washing device is in the drainage closed state, then adjust the target washing device to the drainage open state.
8. A drainage control device, characterized in that, Applied to a washing system, the washing system includes at least two washing devices, and the at least two washing devices share a drainage system. The device includes: An acquisition module, configured to acquire the drainage state and the sewage water level state of each of the at least two washing devices; A first determination module, configured to determine, according to the drainage state and the sewage water level state of each washing device, a washing device that has experienced sewage backflow from the at least two washing devices to obtain a backflow washing device, and the washing devices other than the backflow washing device among the at least two washing devices are target washing devices; A second determination module, configured to determine the adjustment amount of the drainage parameter of the target washing device; A control module, configured to adjust the drainage parameter of the target washing device according to the adjustment amount of the drainage parameter, so as to reduce the sewage backflow amount of the backflow washing device.
9. A computer device, characterized in that, The computer device includes: At least one processor; and a memory communicatively connected to the at least one processor; Wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the drainage control method according to any one of claims 1-7.
10. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions are used to execute the drainage control method according to any one of claims 1-7 when executed by a computer processor.