Alarm control method and device for cleaning equipment, equipment and storage medium
By obtaining water use instructions and parameters in real time, determining the warning time, detecting the water level position, and controlling the alarm device solves the time-out alarm problem when multiple water use equipment are operated simultaneously, improving water resource utilization efficiency and user satisfaction.
Patent Information
- Application Number
- CN202410003755.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2025-07-04
AI Technical Summary
When multiple water-using equipment performs water inlet or drainage operations at the same time, due to the slowing of the water flow rate, each equipment cannot meet its corresponding water inlet or drainage standards within the specified time, which causes the problem of timeout alarm.
By obtaining the water use instructions for clothing processing equipment and floor cleaning equipment in real time, we can judge whether the command time is the same, obtain equipment parameters, determine the target warning time, and use a water use timer to detect the water level position, and control the alarm device to alarm when the preset water level is not reached.
It avoids time-out alarms caused by slowing water flow speed, improves water resource utilization efficiency and user satisfaction, and ensures that the equipment supplies water on demand.
Smart Images

Figure CN120260233A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of intelligent household appliances, and specifically relates to an alarm control method, device, equipment, and storage medium for a cleaning device. Background Art
[0002] With the improvement of living standards and the continuous development of household appliance technology, water-using devices have been widely used in daily life. Among them, clothing treatment devices and floor cleaning devices, as essential water-using devices in the family, are of great significance for improving the quality of life and saving time. In order to better meet the user's usage requirements for space saving and reasonable utilization of water resources in daily use, multifunctional cleaning devices have emerged as the times require.
[0003] However, although the cleaning device meets the user's usage requirements, there are also some problems. For example, when the clothing treatment device and the floor cleaning device are both in the process of water inlet or water drainage at the same time, since they share a water inlet pipe or a water drainage pipe, this will cause the water inlet speed or water drainage speed of each device to become slower. Therefore, if each device fails to reach the water inlet standard or water drainage standard within the specified time, the cleaning device will trigger an overtime alarm.
[0004] Therefore, how to solve the problem existing in the prior art that when multiple water-using devices perform water inlet or water drainage operations simultaneously, due to the slowdown of the water flow speed, each water-using device cannot reach its corresponding water inlet standard or water drainage standard within the specified alarm time, thus triggering an overtime alarm. Summary of the Invention
[0005] This application provides an alarm control method, device, equipment, and storage medium for a cleaning device, which is used to solve the problem existing in the prior art that when multiple water-using devices perform water inlet or water drainage operations simultaneously, due to the slowdown of the water flow speed, each water-using device cannot reach its corresponding water inlet standard or water drainage standard within the specified alarm time, thus triggering an overtime alarm.
[0006] In a first aspect, this application provides an alarm control method for a cleaning device, including:
[0007] Obtain a first water usage instruction of a clothing treatment device and a second water usage instruction of a floor cleaning device in real time, where the water usage instruction is used to indicate that there is a water inlet / drainage request for the clothing treatment device or the floor cleaning device;
[0008] Determine whether a first moment of the first water usage instruction is the same as a second moment of the second water usage instruction;
[0009] When the first moment is the same as the second moment, obtain the first parameter of the water inlet and outlet of the laundry treatment device and the second parameter of the water inlet and outlet of the floor cleaning device, determine the target warning duration of the cleaning device according to the first parameter and the second parameter, and start the water usage timer;
[0010] According to the target warning duration and the water usage timer, detect whether the first water level position of the floor cleaning device and the second water level position of the laundry treatment device reach the preset water level;
[0011] When it is detected that the first water level position or the second water level position does not reach the preset water level, control the alarm device of the cleaning device to give an alarm.
[0012] Optionally, the target warning duration includes: a first warning duration and a second warning duration, and determining the target warning duration of the cleaning device according to the first parameter and the second parameter includes:
[0013] Determine the first warning duration of the laundry treatment device according to the first parameter;
[0014] Determine the second warning duration of the floor cleaning device according to the second parameter.
[0015] Optionally, the first parameter includes: the first water flow rate of the laundry treatment device for separate water inlet and outlet, the second water flow rate for simultaneous water inlet and outlet, the first initial warning duration, and the first water storage capacity. Determining the first warning duration of the laundry treatment device according to the first parameter includes:
[0016] Determine the first warning duration of the laundry treatment device according to the first initial warning duration, the first water flow rate, the second water flow rate, and the first water storage capacity.
[0017] Optionally, determining the first warning duration of the laundry treatment device according to the first initial warning duration, the first water flow rate, the second water flow rate, and the first water storage capacity includes:
[0018] Calculate the first warning duration using the following formula: T1 = N1 + [k1 * (V1 - V2) * M1] Where, T1 is the first warning duration, N1 is the first initial warning duration, k1 is the proportionality coefficient, V1 is the first water flow rate, V2 is the second water flow rate, and M1 is the first water storage capacity.
[0019] Optionally, the second parameter includes: a third water flow rate for separate water inlet and drainage of the floor cleaning device, a fourth water flow rate for simultaneous water inlet and drainage, a second initial warning duration, and a second water storage capacity. Determining the second warning duration of the floor cleaning device according to the second parameter includes:
[0020] Determining the second warning duration of the floor cleaning device according to the second initial warning duration, the third water flow rate, the fourth water flow rate, and the second water storage capacity, where the second warning duration is less than the first warning duration.
[0021] Optionally, determining whether the first water level position of the floor cleaning device and the second water level position of the laundry treatment device reach a preset water level according to the target warning duration and the water usage timer includes:
[0022] When the timing duration of the water usage timer reaches the second warning duration, obtaining the current first water level position of the floor cleaning device;
[0023] Judging whether the first water level position reaches the first preset water level corresponding to the floor cleaning device;
[0024] When the first water level position does not reach the first preset water level, controlling an alarm device of the cleaning device to give an alarm;
[0025] When the first water level position reaches the first preset water level and the timing duration of the water usage timer reaches the first warning duration, obtaining the current second water level position of the laundry treatment device;
[0026] Judging whether the second water level position reaches the second preset water level corresponding to the laundry treatment device;
[0027] When the first water level position does not reach the first preset water level, controlling an alarm device of the cleaning device to give an alarm.
[0028] In a second aspect, the present application provides an alarm control device for a cleaning device, including:
[0029] An obtaining module, configured to obtain a first water usage instruction of a laundry treatment device and a second water usage instruction of a floor cleaning device in real time, where the water usage instruction is used to indicate that there is a water inlet and drainage request for the laundry treatment device or the floor cleaning device;
[0030] A judging module, configured to judge whether a first moment of the first water usage instruction is the same as a second moment of the second water usage instruction;
[0031] The obtaining module is further configured to obtain a first parameter of the water inlet and outlet of the laundry treatment device and a second parameter of the water inlet and outlet of the floor cleaning device when the first moment is the same as the second moment;
[0032] The determining module is configured to determine a target warning duration of the cleaning device according to the first parameter and the second parameter;
[0033] The starting module is configured to start a water usage timer;
[0034] The detecting module is configured to detect whether a first water level position of the floor cleaning device and a second water level position of the laundry treatment device reach a preset water level according to the target warning duration and the water usage timer;
[0035] The control module is configured to control an alarm device of the cleaning device to give an alarm when it is detected that the first water level position or the second water level position does not reach the preset water level.
[0036] Optionally, the determining module is further configured to determine a first warning duration of the laundry treatment device according to the first parameter;
[0037] The determining module is further configured to determine a second warning duration of the floor cleaning device according to the second parameter.
[0038] Optionally, the determining module is further configured to determine the first warning duration of the laundry treatment device according to the first initial warning duration, the first water flow rate, the second water flow rate, and the first water storage capacity.
[0039] Optionally, the device further includes: a calculation module;
[0040] The calculation module is configured to calculate the first warning duration by using the following formula: T1 = N1 + [k1 * (V1 - V2) * M1] where T1 is the first warning duration, N1 is the first initial warning duration, k1 is a proportionality coefficient, V1 is the first water flow rate, V2 is the second water flow rate, and M1 is the first water storage capacity.
[0041] Optionally, the determining module is further configured to determine the second warning duration of the floor cleaning device according to the second initial warning duration, the third water flow rate, the fourth water flow rate, and the second water storage capacity, where the second warning duration is less than the first warning duration.
[0042] Optionally, the obtaining module is further configured to obtain the current first water level position of the floor cleaning device when the timing duration of the water usage timer reaches the second warning duration;
[0043] The determining module is further configured to determine whether the first water level position reaches a first preset water level corresponding to the floor cleaning device;
[0044] The control module is specifically configured to control an alarm device of the cleaning device to give an alarm when the first water level position does not reach the first preset water level;
[0045] The obtaining module is further configured to obtain a current second water level position of the laundry treatment device when the first water level position reaches the first preset water level and a timing duration of the water usage timer reaches a first warning duration;
[0046] The determining module is further configured to determine whether the second water level position reaches a second preset water level corresponding to the laundry treatment device;
[0047] The control module is specifically configured to control an alarm device of the cleaning device to give an alarm when the first water level position does not reach the first preset water level.
[0048] In a third aspect, the present application provides an alarm control device for a cleaning device, including:
[0049] A memory;
[0050] A processor;
[0051] Wherein, the memory stores computer-executable instructions;
[0052] The processor executes the computer-executable instructions stored in the memory to implement the alarm control method for the cleaning device as described in the first aspect and various possible implementation manners of the first aspect.
[0053] In a fourth aspect, the present application provides a computer storage medium, on which computer-executable instructions are stored, and the computer-executable instructions are executed by a processor to implement the alarm control method for the cleaning device as described in the first aspect and various possible implementation manners of the first aspect.
[0054] The alarm control method of the cleaning device provided by this application, after simultaneously obtaining the first water usage instruction of the clothing processing device and the second water usage instruction of the floor cleaning device, continues to obtain the first parameter of the water inlet and drainage of the clothing processing device and the second parameter of the floor cleaning device, and controls the water usage timer to start. Then, after determining the target warning duration of the cleaning device according to the first parameter and the second parameter, when it is detected that the first water usage position of the floor cleaning device or the second water usage position of the clothing processing device does not reach the preset water level according to the water usage timer and the target warning duration, the alarm device of the cleaning device is controlled to give an alarm. This method manages multiple water usage devices, avoiding the problem that each device cannot reach its corresponding water inlet standard or drainage standard within the specified time due to the slowdown of the water flow speed, and improving the utilization efficiency of water resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings here are incorporated into the description and form a part of this description, showing embodiments consistent with this application, and are used together with the description to explain the principles of this application.
[0056] Figure 1 is a schematic diagram of the scenario of the alarm control method of the cleaning device provided by this application;
[0057] Figure 2 is the flow of the alarm control method of the cleaning device provided by this application Figure 1 ;
[0058] Figure 3 is the flow of the alarm control method of the cleaning device provided by this application Figure 2 ;
[0059] Figure 4 is a schematic diagram of the structure of the alarm control device of the cleaning device provided by this application;
[0060] Figure 5 is a schematic diagram of the structure of the alarm control device of the cleaning device provided by this application.
[0061] Through the above accompanying drawings, specific embodiments of this application have been shown, and there will be more detailed descriptions later. These drawings and text descriptions are not intended to limit the scope of the concept of this application in any way, but to explain the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0062] To make the objectives, technical solutions, and advantages of this application clearer, the following will clearly and completely describe the technical solutions in this application with reference to the accompanying drawings in this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.
[0063] In the description of the present invention and the claims, as well as in the above drawings, the terms "first", "second", "third", "fourth", etc. (if any) are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented, for example, in an order other than those illustrated or described herein.
[0064] 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 this application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0065] With the improvement of the quality of modern social life and the continuous innovation of home appliance technology, water-using devices have become an indispensable part of users' daily lives. Especially in terms of clothing cleaning and floor cleaning, the use of clothing treatment devices and floor cleaning devices has become very common, which greatly improves the convenience of users' lives and saves time. However, with the increasing tension of space resources and the strengthening of environmental awareness, how to more effectively utilize space and water resources has become a new challenge.
[0066] Therefore, in this context, multifunctional cleaning devices have emerged. The innovative design of this device aims to solve the deficiencies of traditional clothing treatment devices and floor cleaning devices in terms of space occupation and water resource utilization. By integrating the functions of the two devices into one machine, the cleaning device not only greatly saves home space but also improves the utilization efficiency of the device.
[0067] However, although the cleaning device meets the users' usage requirements, there are still some problems. For example, when the clothing treatment device and the floor cleaning device are both in the process of water inlet or water drainage at the same time, since they share a water inlet pipe or a water drainage pipe, this will cause the water inlet speed or water drainage speed of each device to slow down. Therefore, if each device fails to reach the water inlet standard or water drainage standard within the specified time, the cleaning device will trigger an overtime alarm.
[0068] Therefore, how to solve the problem in the prior art that when multiple water-using devices perform water inlet or drainage operations simultaneously, the water flow speed becomes slow, resulting in each water-using device being unable to reach its corresponding water inlet standard or drainage standard within the specified alarm time, thus triggering an overtime alarm.
[0069] In view of the above problems, the present application provides an alarm control method for a cleaning device. Figure 1 It is a schematic diagram of the scenario of the alarm control method for the cleaning device provided by the present application. As Figure 1 shown, the cleaning device 1 includes a laundry treatment device 4 and a floor cleaning device 5. The placement position of the laundry treatment device 4 includes but is not limited to being above the floor cleaning device 5. The laundry treatment device 4 and the floor cleaning device 5 share a water inlet pipe 2, and at the same time, the laundry treatment device 4 and the floor cleaning device 5 share a drainage pipe 3. When the laundry treatment device 4 and the floor cleaning device 5 receive a water-using instruction, the water inlet pipe 2 connected to the cleaning device 1 will supply water to these two water-using devices simultaneously. However, since the water storage capacity of the laundry treatment device 4 is greater than that of the floor cleaning device 5, during the water inlet process, each water-using device will not reach the water inlet standard of each water-using device due to the slow water flow speed. Therefore, when the alarm device of the cleaning device 1 detects that the water inlet standard of each water-using device is not reached, the alarm device of the cleaning device 1 will show an overtime alarm phenomenon.
[0070] After simultaneously obtaining the first water-using instruction of the laundry treatment device and the second water-using instruction of the floor cleaning device, the method continues to obtain the first parameter of the water inlet and drainage of the laundry treatment device and the second parameter of the floor cleaning device, and controls the water-using timer to start. Then, after determining the target warning duration of the cleaning device according to the first parameter and the second parameter, when it is detected that the first water-using position of the floor cleaning device or the second water-using position of the laundry treatment device does not reach the preset water level according to the water-using timer and the target warning duration, the alarm device of the cleaning device is controlled to give an alarm. This method manages multiple water-using devices, avoids the problem that each device cannot reach its corresponding water inlet standard or drainage standard within the specified time due to the slow water flow speed, and improves the utilization efficiency of water resources.
[0071] The following uses specific embodiments to elaborate in detail on the technical solution of the present application and how the technical solution of the present application solves the above technical problems. These several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The following will describe the embodiments of the present application in conjunction with the accompanying drawings.
[0072] Figure 2 is the flow of the alarm control method for the cleaning device provided by the embodiments of the present application Figure 1Applied to a cleaning device, the cleaning device includes: a laundry treatment device and a floor cleaning device, and the laundry treatment device and the floor cleaning device share a single water inlet and drain pipe. As Figure 2 shown, the alarm control method for the cleaning device provided in this embodiment includes:
[0073] S101: Real-time obtain the first water usage instruction of the laundry treatment device and the second water usage instruction of the floor cleaning device, where the water usage instruction is used to indicate that there is a water inlet and drain request for the laundry treatment device or the floor cleaning device.
[0074] Among them, by real-time obtaining the first water usage instruction of the laundry treatment device, it means that the user currently needs to use the laundry treatment device for laundry operations or other operations, and by real-time obtaining the second water usage instruction of the floor cleaning device, it means that the user currently needs to use the floor cleaning device to clean the floor.
[0075] Due to different acquisition targets, there are various acquisition methods for the cleaning device for different acquisition targets. When the acquisition target is the laundry treatment device, the acquisition method can be, for example, obtained through a terminal device corresponding to the cleaning device, or obtained through a voice device that controls the cleaning device, or obtained through the control panel of the laundry treatment device.
[0076] When the acquisition target is the floor cleaning device, the acquisition method can be, for example, obtained through a terminal device corresponding to the cleaning device, or obtained through a voice device that controls the cleaning device.
[0077] It can be understood that if the user sends a laundry instruction, that is, the first water usage instruction, through the control panel of the laundry treatment device, it means that the user hopes to use the laundry treatment device for laundry operations. At this time, the cleaning device can automatically start the laundry treatment device according to this instruction and start the laundry program.
[0078] Similarly, if the user sends a cleaning voice instruction, that is, the second water usage instruction, it means that the user hopes to use the floor cleaning device to clean the floor. At this time, the cleaning device can automatically start the floor cleaning device according to this instruction and start the cleaning program.
[0079] Therefore, by real-time these instructions, the cleaning device can better understand the user's needs and make corresponding responses according to the user's needs, so as to provide more efficient services for the user.
[0080] S102: Determine whether the first moment of the first water usage instruction is the same as the second moment of the second water usage instruction.
[0081] Among them, the purpose of determining whether the first moment of the first water use instruction is the same as the second moment of the second water use instruction is to determine whether the cleaning device needs to supply water to two water use devices at the same moment.
[0082] It can be understood that since the cleaning device includes two water use devices, namely a laundry treatment device and a floor cleaning device, and they share the same inlet and drain pipe. Therefore, after receiving the first water use instruction of the laundry treatment device and the second water use instruction of the floor cleaning device, it is necessary to determine whether the first moment when the first water use instruction is received is the same as the second moment when the second water use instruction is received, so as to help the cleaning device better coordinate the water supply operation, and then ensure that multiple water use devices can obtain the required amount of water at the appropriate time, thereby providing more intelligent and efficient services for users.
[0083] If the first moment of the first water use instruction is the same as the second moment of the second water use instruction, it indicates that the cleaning device needs to supply water to multiple water use devices at the same moment. At this time, the first parameter of the inlet and drain of the laundry treatment device and the second parameter of the inlet and drain of the floor cleaning device can be obtained.
[0084] If the first moment of the first water use instruction is not the same as the second moment of the second water use instruction, it indicates that the cleaning device does not need to supply water to multiple water use devices at the same moment. At this time, the first water use instruction of the laundry treatment device and the second water use instruction of the floor cleaning device can be obtained again in real time.
[0085] It can be understood that if the two moments received by the cleaning device are the same, this means that the user needs to use the laundry treatment device and the floor cleaning device for operation at the same moment. In this case, the cleaning device needs to supply water to these two water use devices simultaneously according to the user's needs to ensure their normal operation.
[0086] If the two moments received by the cleaning device are different, it means that the user needs to use these two devices at different moments. At this time, the cleaning device can supply water to different water use devices at different times according to the different instructions received to meet the user's needs.
[0087] S103: When the first moment and the second moment are the same, obtain the first parameter of the inlet and drain of the laundry treatment device and the second parameter of the inlet and drain of the floor cleaning device, determine the target warning duration of the cleaning device according to the first parameter and the second parameter, and start the water use timer.
[0088] Among them, a water timer is used to record the time taken when the laundry treatment device and the floor cleaning device are respectively in the water inlet state. The first parameter is used to indicate the parameter information required by the laundry treatment device when it is independently in the water inlet state. The second parameter is used to indicate the parameter information required by the floor cleaning device when it is independently in the water inlet state. The first parameter is different from the second parameter.
[0089] The target warning duration is used to indicate the time range during which the alarm device of the cleaning device can give an alarm.
[0090] It can be understood that when the laundry treatment device and the floor cleaning device are both in the water inlet state, the cleaning device will monitor the water inlet states of the two devices and determine whether to trigger the alarm device according to the preset target warning duration. If the water inlet duration of any one of the devices reaches the target warning duration, the cleaning device will trigger the alarm device to give an alarm to remind the user to check.
[0091] When it is determined that the laundry treatment device and the floor cleaning device need to be executed simultaneously, it is also necessary to determine the water inlet duration required by each water-using device in the water inlet state by obtaining the water inlet and drainage parameter information of the laundry treatment device and the floor cleaning device when they are independently in the water inlet state.
[0092] When the water inlet duration required by the laundry treatment device and the water inlet duration required by the floor cleaning device are obtained, it means that the target alarm duration of the cleaning device can be determined when these two water-using devices are in the water inlet state simultaneously, so as to ensure that each water-using device has completed the water inlet function before the alarm device of the cleaning device gives an alarm.
[0093] In order to accurately detect the water inlet state of each water-using device and ensure that they complete the water inlet before reaching the target warning duration, it is also necessary to start the water timer to record the water inlet duration of each water-using device and trigger the alarm in time to remind the user to process.
[0094] It can be understood that if the operating parameters of the laundry treatment device when it is independently in the water inlet state include the water inlet flow rate, water level height, water inlet duration, etc., then by obtaining these parameters, it is possible to obtain how long the current laundry treatment device needs to meet the water inlet duration requirement when the laundry treatment program and the floor cleaning device are in the water inlet state simultaneously, so as to avoid the cleaning device from giving an overtime alarm. For example, if the water inlet flow rate is too small, it may cause insufficient water supply and affect the laundry effect. If the water level height is inappropriate, it may cause insufficient water force or poor laundry effect.
[0095] Similarly, if the operating parameters of the floor cleaning device during separate water inlet include water inlet flow rate, water pressure, water inlet duration, etc., then by obtaining these parameters, it is possible to determine how long it takes for the current floor cleaning device to meet the water inlet duration requirement when the floor cleaning device and the laundry treatment device are in simultaneous water inlet, so as to avoid the timeout alarm phenomenon of the cleaning device.
[0096] S104: According to the target warning duration and the water usage timer, detect whether the first water level position of the floor cleaning device and the second water level position of the laundry treatment device reach the preset water level.
[0097] Among them, the purpose of detecting whether the first water level position of the floor cleaning device and the second water level position of the laundry treatment device reach the preset water level according to the target alarm duration of the cleaning device and the water usage timer is: to detect whether the current water intake of each water-using device meets the required water intake of each water-using device.
[0098] If it is detected according to the target alarm duration of the cleaning device and the water usage timer that the first water level position of the floor cleaning device reaches the preset water level, it indicates that the current water intake of the floor cleaning device meets the required water intake of the floor cleaning device. At this time, the floor cleaning device can be controlled to execute its corresponding target processing program.
[0099] If it is detected according to the target alarm duration of the cleaning device and the water usage timer that the first water level position of the floor cleaning device does not reach the preset water level, it indicates that the current water intake of the floor cleaning device does not meet the required water intake of the floor cleaning device. At this time, the alarm device of the cleaning device can be controlled to give an alarm.
[0100] If it is detected according to the target alarm duration of the cleaning device and the water usage timer that the second water level position of the laundry treatment device reaches the preset water level, it indicates that the current water intake of the laundry treatment device meets the required water intake of the laundry treatment device. At this time, the laundry treatment device can be controlled to execute its corresponding target processing program.
[0101] If it is detected according to the target alarm duration of the cleaning device and the water usage timer that the second water level position of the laundry treatment device reaches the preset water level, it indicates that the current water intake of the laundry treatment device meets the required water intake of the laundry treatment device. At this time, the alarm device of the cleaning device can be controlled to give an alarm.
[0102] S105: When it is detected that the first water level position or the second water level position does not reach the preset water level, control the alarm device of the cleaning device to give an alarm.
[0103] Among them, when the cleaning device detects that the water level position of the floor cleaning device or the laundry treatment device does not reach the preset water level, it will control its corresponding alarm device to give an alarm to remind the user to check the device.
[0104] It is understandable that for a floor cleaning device, if its first water level position does not reach the preset water level, this means that the amount of water currently stored in the device is not sufficient to execute a new target processing program, such as a floor cleaning program. Therefore, the cleaning device will control the alarm device to give an alarm to remind the user to check whether the amount of water in the floor cleaning device is sufficient and whether there are other problems causing the insufficient water level.
[0105] Similarly, for a laundry treatment device, if its second water level position does not reach the preset water level, this also means that the amount of water currently stored in the device is not sufficient to execute a new target processing program, such as a laundry program. Therefore, the cleaning device will also control the alarm device to give an alarm to remind the user to check whether the amount of water in the laundry treatment device is sufficient and whether there are other problems causing the insufficient water level.
[0106] For example, if the water level is too low during the laundry process, it may cause the clothes to not be fully cleaned. At this time, the alarm device of the cleaning device will give an alarm to remind the user to check and adjust the water level setting to ensure that the clothes can be fully cleaned.
[0107] The alarm control method of the cleaning device provided in this embodiment obtains the first water usage instruction of the laundry treatment device and the second water usage instruction of the floor cleaning device, and when it is determined that the first moment of the first water usage instruction is the same as the second moment of the second water usage instruction, obtains the first parameter of the water inlet and drainage of the laundry treatment device and the second parameter of the floor cleaning device. Then, according to the first parameter and the second parameter, jointly determine the target warning duration of the cleaning device, and based on the water usage timer and the target warning duration, when it is detected that the first water usage position of the floor cleaning device or the second water usage position of the laundry treatment device does not reach the preset water level, control the alarm device of the cleaning device to give an alarm. This method manages multiple water usage devices, avoids the problem that each device cannot reach its corresponding water inlet standard or drainage standard within the specified time due to the slow water flow speed, and improves the utilization efficiency of water resources. At the same time, this method also improves the user's satisfaction with the use of the cleaning device, thereby improving the use efficiency of the cleaning device.
[0108] Figure 3 For the flow of the alarm control method of the cleaning device provided in the embodiments of the present application Figure 2 . As Figure 3 shown, on the basis of the Figure 2 embodiment, the alarm control method of the cleaning device is described in detail. The alarm control method of the cleaning device provided in this embodiment includes:
[0109] S201: Real-time obtain the first water usage instruction of the laundry treatment device and the second water usage instruction of the floor cleaning device.
[0110] Among them, the explanation of step S201 is similar to that of the above step S101 and will not be elaborated here.
[0111] S202: Determine whether the first moment of the first water usage instruction is the same as the second moment of the second water usage instruction; if so, execute step S203; if not, execute step S201.
[0112] The explanation of step S202 is similar to that of the above step S102 and will not be elaborated here.
[0113] S203: Obtain the first parameter of the water inlet and outlet of the clothing treatment device and the second parameter of the water inlet and outlet of the floor cleaning device.
[0114] The explanation of step S203 is similar to that of the above step S103 and will not be elaborated here.
[0115] S204: The target warning duration includes: the first warning duration and the second warning duration. According to the first parameter, determine the first warning duration of the clothing treatment device.
[0116] Among them, the target warning duration of the control device of the cleaning device includes: the first warning duration and the second warning duration. The first warning duration has a first correlation with the clothing treatment device, and the second warning duration has a second correlation with the floor cleaning device. The second warning duration is less than the first warning duration.
[0117] Since the cleaning device integrates the clothing treatment device and the floor cleaning device, and the water storage capacities of these two water-using devices are different, before triggering the alarm device to give an alarm, it is necessary to consider and set the alarm duration between each water-using device and the alarm device when they work simultaneously.
[0118] It can be understood that in order to ensure that the cleaning device can accurately judge and give an alarm in time when the clothing treatment device and the floor cleaning device work simultaneously, it is necessary to set an appropriate alarm duration. And this alarm duration should be determined according to the characteristics of each device, so that when the water storage capacity of any one device does not reach the corresponding standard, the cleaning device can trigger the alarm device to give an alarm in time to remind the user to take corresponding measures.
[0119] After obtaining the first parameter of the water inlet and outlet of the clothing treatment device, this parameter can be used as a reference basis to further determine the alarm duration of the clothing treatment device, so as to improve the accuracy and accuracy of the alarm duration range of the clothing treatment device.
[0120] It can be understood that by using the first parameter of the water inlet and outlet as a reference basis, the state of the clothing treatment device can be judged more accurately, so as to set the alarm duration more precisely. At the same time, it also helps to reduce false alarms and missed alarms, and improve the accuracy and reliability of the alarm.
[0121] Optionally, since the first parameter of the laundry treatment device includes: the first water flow rate of the laundry treatment device for separate water inlet and drainage, the second water flow rate for simultaneous water inlet and drainage, the first initial warning duration, and the first water storage capacity, therefore, according to the first parameter of the laundry treatment device, the specific implementation process of determining the first warning duration of the laundry treatment device can be, for example: determining the first warning duration of the laundry treatment device according to the first initial warning duration, the first water flow rate, the second water flow rate, and the first water storage capacity of the laundry treatment device.
[0122] Among them, when the first water flow rate of the laundry treatment device for separate water inlet and drainage, the second water flow rate for simultaneous water inlet and drainage, the first initial warning duration, and the first water storage capacity are obtained, it means that the time relationship between the alarm duration of the alarm device and the water inlet time of the laundry treatment device when the laundry treatment device is separately inletting water is obtained. Therefore, by according to the relationship between the alarm duration and the water inlet duration, the time relationship between the alarm duration of the control device and the water inlet duration of the laundry treatment device when the laundry treatment device and the floor cleaning device are simultaneously inletting water can be determined, thereby improving the accuracy and reliability of the alarm.
[0123] It can be understood that the first water flow rate and the first water storage capacity parameter for separate water inlet can illustrate the performance and water inlet volume requirement of the laundry treatment device when separately inletting water. At the same time, the second water flow rate parameter for simultaneous water inlet and drainage reflects the ability of the laundry treatment device when performing water inlet and drainage operations simultaneously. Therefore, by combining these parameters with the first initial warning duration, the relationship between the alarm duration and the water inlet duration can be further determined, thereby avoiding the alarm device from alarming when the laundry treatment device has not yet reached the water inlet state.
[0124] Optionally, the formula for determining the first warning duration of the laundry treatment device according to the first initial warning duration, the first water flow rate, the second water flow rate, and the first water storage capacity proposed in this application includes but is not limited to the following:
[0125] The first warning duration of the laundry treatment device is calculated using the following formula: T1 = N1 + [k1 * (V1 - V2) * M1]
[0126] Among them, T1 is the first warning duration, N1 is the first initial warning duration, k1 is the proportionality coefficient, V1 is the first water flow rate, V2 is the second water flow rate, and M1 is the first water storage capacity.
[0127] Optionally, when the first warning duration of the laundry treatment device is determined, a maximum allowable value may also be set for the first warning duration. The determination process of the maximum allowable value may be, for example: obtaining the standard warning duration of the alarm device and setting the maximum allowable value according to the standard warning duration.
[0128] S205: Determine the second warning duration of the floor cleaning device according to the second parameter.
[0129] Among them, after obtaining the second parameter of the water inlet and outlet of the floor cleaning device, this parameter can be used as a reference basis to further determine the alarm duration of floor cleaning, so as to improve the accuracy and reliability of the alarm duration range of the floor cleaning device.
[0130] It can be understood that by setting an accurate alarm duration for the floor cleaning device, the operation and intervention of the user can be reduced, making it more convenient for the user to manage the floor cleaning device. At the same time, when an abnormal situation occurs in the floor cleaning device, the alarm can be triggered in time to notify the user, helping the user better understand the device status and perform corresponding maintenance and upkeep.
[0131] Optionally, since the second parameter of the floor cleaning device includes: the third water flow rate of the floor cleaning device for separate water inlet and outlet, the fourth water flow rate for simultaneous water inlet and outlet, the second initial warning duration, and the second water storage capacity, therefore, the specific implementation process of determining the second warning duration of the floor cleaning device according to the second parameter of the floor cleaning device may be, for example: determining the second warning duration of the floor cleaning device according to the second initial warning duration, the third water flow rate, the fourth water flow rate, and the second water storage capacity of the floor cleaning device, where the second warning duration is less than the first warning duration.
[0132] Among them, when the third water flow rate of the floor cleaning device for separate water inlet and outlet, the fourth water flow rate for simultaneous water inlet and outlet, the second initial warning duration, and the second water storage capacity are obtained, it means that the time relationship between the alarm duration of the alarm device and the water inlet time of the floor cleaning device when the floor cleaning device is separately filling water is obtained. Therefore, by according to the relationship between the alarm duration and the water inlet duration, the time relationship between the alarm duration of the control device and the water inlet duration of the floor cleaning device when the laundry treatment device and the floor cleaning device are filling water simultaneously can be determined, thereby improving the accuracy and reliability of the alarm.
[0133] It is understandable that the third water flow rate and the second water storage capacity parameter for single water inlet can illustrate the performance and water inlet demand of the floor cleaning device during single water inlet. Meanwhile, the fourth water flow rate parameter for simultaneous water inlet and drainage reflects the ability of the floor cleaning device during simultaneous water inlet and drainage operations. Therefore, by combining these parameters with the second initial warning duration, the relationship between the warning duration and the water inlet duration can be further determined, thereby avoiding the alarm device from alarming when the floor cleaning device has not yet reached the water inlet state.
[0134] Optionally, the formula for determining the second warning duration of the floor cleaning device based on the second initial warning duration, the third water flow rate, the fourth water flow rate, and the second water storage capacity of the floor cleaning device includes but is not limited to the following:
[0135] The second warning duration of the floor cleaning device is calculated using the following formula: T2 = N2 + [k2 * (V3 - V4) * M2] Where, T2 is the second warning duration, N2 is the second initial warning duration, k2 is the proportionality coefficient, V3 is the third water flow rate, V4 is the fourth water flow rate, and M2 is the second water storage capacity.
[0136] Optionally, when the second warning duration of the floor cleaning device is determined, a maximum allowable value can also be set for the second warning duration. The determination process of the maximum allowable value can be, for example: obtaining the standard warning duration of the alarm device and setting the maximum allowable value according to the standard warning duration.
[0137] S206: Start the water usage timer.
[0138] For the explanation of step S206, refer to the explanation of the above embodiment, which will not be elaborated here.
[0139] S207: Determine whether the timing duration of the water usage timer has reached the second warning duration; if so, execute step S208; if not, execute step S207.
[0140] By determining whether the timing duration of the water usage timer has reached the second warning duration of the floor cleaning device, it can be determined whether the current water inlet duration of the floor cleaning device has reached the duration that requires an alarm.
[0141] If the timing duration of the water usage timer reaches the second warning duration of the floor cleaning device, it indicates that the current water inlet duration of the floor cleaning device has reached the duration that requires an alarm. At this time, the current first water level position of the floor cleaning device can be obtained.
[0142] If the timing duration of the water timer does not reach the second warning duration of the floor cleaning device, it indicates that the current water inlet duration of the floor cleaning device has not reached the duration that requires an alarm. At this time, it is possible to continue to determine whether the timing duration of the water timer reaches the second warning duration of the floor cleaning device.
[0143] It can be understood that when the floor cleaning device starts to intake water, the water timer will start timing. If the timing duration reaches the second warning duration, it means that the water inlet duration of the floor cleaning device has reached the alarm duration range allowed when the floor cleaning device and the laundry treatment device intake water simultaneously. At this time, in order to detect whether the water volume in the floor cleaning device can enable the floor cleaning device to work properly, it is also necessary to obtain the current first water level position of the floor cleaning device.
[0144] S208: Obtain the current first water level position of the floor cleaning device.
[0145] Among them, when it is determined that the timing duration of the water timer reaches the second warning duration of the floor cleaning device, by obtaining the current first water level position of the floor cleaning device, the water level position reached by the floor cleaning device when the floor cleaning device and the laundry treatment device intake water simultaneously can be obtained.
[0146] It can be understood that when the laundry treatment device and the floor cleaning device intake water simultaneously, the cleaning device can monitor the water inlet states of the two devices. And by obtaining the current first water level position of the floor cleaning device, the actual water level position reached by the floor cleaning device during the water inlet process can be judged, so as to help the cleaning device understand the water inlet situation of the floor cleaning device.
[0147] The method of obtaining the current first water level position of the floor cleaning device can be, for example, obtained through a water level sensor, or can also be obtained through a mechanical water level gauge. This application does not make special restrictions on this.
[0148] S209: Judge whether the first water level position reaches the first preset water level corresponding to the floor cleaning device; if so, execute steps S211 and S212; if not, execute step S210.
[0149] Among them, the first preset water level can be, for example, the standard water level position of the floor cleaning device.
[0150] The purpose of judging whether the first water level position of the floor cleaning device reaches the first preset water level corresponding to the floor cleaning device is to judge whether the current water level position of the floor cleaning device can meet the water level position for the floor cleaning device to normally execute the cleaning process.
[0151] If the first water level position of the floor cleaning device reaches the first preset water level corresponding to the floor cleaning device, it indicates that the current water level position of the floor cleaning device can meet the water level position for the floor cleaning device to normally execute the cleaning process. At this time, the floor cleaning device can be controlled to execute the target cleaning program. Meanwhile, when it is determined that the timing duration of the water usage timer reaches the first warning duration, the current second water level position of the laundry treatment device is obtained.
[0152] If the first water level position of the floor cleaning device does not reach the first preset water level corresponding to the floor cleaning device, it indicates that the current water level position of the floor cleaning device cannot meet the water level position for the floor cleaning device to normally execute the target processing program. At this time, the alarm device of the cleaning device can be controlled to give an alarm.
[0153] S210: Control the alarm device of the cleaning device to give an alarm.
[0154] The explanatory note of step S210 is similar to the above steps and will not be elaborated here.
[0155] S211: Control the floor cleaning device to execute the target cleaning program.
[0156] Among them, in order to ensure that the floor cleaning device can clean the floor in a timely manner, it is necessary to control the floor cleaning device to execute the target cleaning program when it is determined that the first water level position of the floor cleaning device reaches the first preset water level corresponding to the floor cleaning device.
[0157] It can be understood that when the water level of the floor cleaning device reaches the preset first water level, it means that the floor cleaning device has enough water to execute the cleaning program. Therefore, in this case, the cleaning device can control the floor cleaning device to start executing the target cleaning program to ensure that the floor cleaning device can complete the floor cleaning work in a timely and effective manner.
[0158] S212: When the timing duration of the water usage timer reaches the first warning duration, obtain the current second water level position of the laundry treatment device.
[0159] Among them, since the floor cleaning device and the laundry treatment device share a single inlet and drain pipe, and the water storage capacity of the floor cleaning device is less than that of the laundry treatment device, when it is determined that the current water storage capacity of the floor cleaning device meets the first preset water level of the floor cleaning device, the current water level position of the laundry treatment device should also be continuously judged to determine whether the laundry treatment device can normally execute the target laundry treatment program.
[0160] By judging whether the timing duration of the water usage timer reaches the first warning duration of the laundry treatment device, it can be determined whether the current water inlet duration of the laundry treatment device has reached the duration that requires an alarm.
[0161] If the timing duration of the water timer reaches the first warning duration of the laundry treatment device, it indicates that the current water inlet duration of the laundry treatment device has reached the duration that requires an alarm. At this time, the current second water level position of the laundry treatment device can be obtained.
[0162] If the timing duration of the water timer does not reach the first warning duration of the laundry treatment device, it indicates that the current water inlet duration of the floor cleaning device has not reached the duration that requires an alarm. At this time, it can be continued to determine whether the timing duration of the water timer reaches the second warning duration of the floor cleaning device.
[0163] It can be understood that when the laundry treatment device starts to inlet water, the water timer will start timing. If the timing duration reaches the first warning duration, it means that the water inlet duration of the laundry treatment device has reached the alarm duration range allowed when the laundry treatment device and the floor cleaning device inlet water simultaneously. At this time, in order to detect whether the water volume in the laundry treatment device can enable the laundry treatment device to work normally, the current second water level position of the laundry treatment device also needs to be obtained.
[0164] The way to obtain the current second water level position of the laundry treatment device can be, for example, obtained through a water level sensor, or can also be obtained through a mechanical water level gauge. This application does not make special restrictions on this.
[0165] S213: Determine whether the second water level position reaches the second preset water level corresponding to the laundry treatment device; if not, execute step 210; if so, execute step S214.
[0166] Among them, the second preset water level can be, for example, the standard water level position obtained for the laundry treatment device.
[0167] The purpose of determining whether the second water level position of the laundry treatment device reaches the second preset water level corresponding to the laundry treatment device is: to determine whether the current water level position of the laundry treatment device can meet the water level position for the laundry treatment device to normally execute the laundry treatment program.
[0168] If the second water level position of the laundry treatment device reaches the second preset water level corresponding to the laundry treatment device, it indicates that the current water level position of the laundry treatment device can meet the water level position for the laundry treatment device to normally execute the laundry treatment program. At this time, the floor cleaning device can be controlled to execute the target cleaning program.
[0169] If the second water level position of the laundry treatment device does not reach the second preset water level corresponding to the laundry treatment device, it indicates that the current water level position of the laundry treatment device cannot meet the water level position for the laundry treatment device to normally execute the laundry treatment program. At this time, the alarm device of the cleaning device can be controlled to give an alarm.
[0170] S214: Control the laundry treatment device to execute a target laundry treatment program.
[0171] Among them, in order to ensure that the laundry treatment device can clean the clothes in a timely manner, it is necessary to control the laundry treatment device to execute the target laundry treatment program when it is determined that the second water level position of the laundry treatment device reaches the corresponding second preset water level of the laundry treatment device.
[0172] It can be understood that when the water level of the laundry treatment device reaches the preset second water level, it means that the laundry treatment device has enough water to execute the laundry treatment program. Therefore, in this case, the cleaning device can control the laundry treatment device to start executing the target laundry treatment program to ensure that the laundry treatment device can complete the cleaning and treatment of the clothes in a timely and effective manner.
[0173] The alarm control method of the cleaning device provided in this embodiment, after obtaining the first water usage instruction of the laundry treatment device and the second water usage instruction of the floor cleaning device at the same time, first, obtain the first parameter of the water inlet and drainage of the laundry treatment device and the second parameter of the water inlet and drainage of the floor cleaning device, then, respectively determine the first warning duration corresponding to the first parameter and the second warning duration corresponding to the second parameter, and start a water usage timer. Next, when the timing duration of the water usage timer reaches the second warning duration of the floor cleaning device, obtain the current first water level position of the floor cleaning device, and when it is determined that the current first water level position of the floor cleaning device does not reach the first preset water level corresponding to the floor cleaning device, control the alarm device of the cleaning device to give an alarm. On the contrary, when it is determined that the current first water level position of the floor cleaning device reaches the first preset water level corresponding to the floor cleaning device, and when it is determined that the timing duration of the water usage timer reaches the first warning duration of the laundry treatment device, obtain the current second water level position of the laundry treatment device. Finally, when the current second water level position of the laundry treatment device does not reach the second preset water level corresponding to the laundry treatment device, control the alarm device of the cleaning device to give an alarm. This method solves the problem in the prior art that when multiple devices perform water inlet or drainage operations simultaneously, due to the slow water flow speed, each device cannot reach its corresponding water inlet standard or drainage standard within the specified time, resulting in an overtime alarm. At the same time, this method also improves the user's satisfaction with the cleaning device, thereby improving the usage efficiency of the cleaning device.
[0174] Figure 4 It is a schematic structural diagram of the alarm control device of the cleaning device provided by this application. As Figure 4 shown, this application provides an alarm control device for a cleaning device. The alarm control device 400 of the cleaning device includes:
[0175] An acquisition module 401 is configured to acquire in real time a first water usage instruction of a laundry treatment device and a second water usage instruction of a floor cleaning device, where the water usage instruction is used to indicate that there is a water inlet / outlet request for the laundry treatment device or the floor cleaning device;
[0176] A judgment module 402 is configured to judge whether a first moment of the first water usage instruction is the same as a second moment of the second water usage instruction;
[0177] The acquisition module 401 is further configured to, when the first moment is the same as the second moment, acquire a first parameter of water inlet / outlet of the laundry treatment device and a second parameter of water inlet / outlet of the floor cleaning device;
[0178] A determination module 403 is configured to determine a target warning duration of the cleaning device according to the first parameter and the second parameter;
[0179] An activation module 404 is configured to activate a water usage timer;
[0180] A detection module 405 is configured to detect whether a first water level position of the floor cleaning device and a second water level position of the laundry treatment device reach a preset water level according to the target warning duration and the water usage timer;
[0181] A control module 406 is configured to, when it is detected that the first water level position or the second water level position does not reach the preset water level, control an alarm device of the cleaning device to give an alarm.
[0182] Optionally, the determination module 403 is further configured to determine a first warning duration of the laundry treatment device according to the first parameter;
[0183] The determination module 403 is further configured to determine a second warning duration of the floor cleaning device according to the second parameter.
[0184] Optionally, the determination module 403 is further configured to determine the first warning duration of the laundry treatment device according to the first initial warning duration, the first water flow rate, the second water flow rate, and the first water storage capacity.
[0185] Optionally, the device further includes: a calculation module 407;
[0186] The calculation module 407 is configured to calculate the first warning duration by using the following formula: T1 = N1 + [k1 * (V1 - V2) * M1] where T1 is the first warning duration, N1 is the first initial warning duration, k1 is a proportionality coefficient, V1 is the first water flow rate, V2 is the second water flow rate, and M1 is the first water storage capacity.
[0187] Optionally, the determining module 403 is further configured to determine a second warning duration of the floor cleaning device according to the second initial warning duration, the third water flow rate, the fourth water flow rate, and the second water storage amount, where the second warning duration is less than the first warning duration.
[0188] Optionally, the obtaining module 401 is further configured to obtain a current first water level position of the floor cleaning device when the timing duration of the water usage timer reaches the second warning duration;
[0189] The determining module 402 is further configured to determine whether the first water level position reaches a first preset water level corresponding to the floor cleaning device;
[0190] The control module 406 is specifically configured to control the alarm device of the cleaning device to give an alarm when the first water level position does not reach the first preset water level;
[0191] The obtaining module 401 is further configured to obtain a current second water level position of the laundry treatment device when the first water level position reaches the first preset water level and the timing duration of the water usage timer reaches the first warning duration;
[0192] The determining module 402 is further configured to determine whether the second water level position reaches a second preset water level corresponding to the laundry treatment device;
[0193] The control module 406 is specifically configured to control the alarm device of the cleaning device to give an alarm when the first water level position does not reach the first preset water level.
[0194] Figure 5 This is a schematic structural diagram of an alarm control device for a cleaning device provided by this application. As Figure 5 shown, this application provides an alarm control device for a cleaning device. The alarm control device 500 of the cleaning device includes: a receiver 501, a transmitter 502, a processor 503, and a memory 504.
[0195] The receiver 501 is configured to receive instructions and data;
[0196] The transmitter 502 is configured to transmit instructions and data;
[0197] The memory 504 is configured to store computer execution instructions;
[0198] The processor 503 is configured to execute the computer execution instructions stored in the memory 504 to implement each step performed by the alarm control method of the cleaning device in the above embodiments. Specifically, reference can be made to the relevant descriptions in the embodiments of the alarm control method of the cleaning device described above.
[0199] Optionally, the above-mentioned memory 504 can be either independent or integrated with the processor 503.
[0200] When the memory 504 is independently provided, the electronic device further includes a bus for connecting the memory 504 and the processor 503.
[0201] This application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the processor executes the computer-executable instructions, the cleaning device alarm control method executed by the alarm control device of the cleaning device as described above is implemented.
[0202] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, and appropriate combinations thereof. In the hardware implementation, the division of the functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component can have multiple functions, or a function or step can be executed by several physical components in cooperation. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or can be implemented as hardware, or can be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, a communication medium typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium.
[0203] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solution of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An alarm control method for a cleaning device, characterized in that, Applied to a cleaning device, the cleaning device includes: a laundry processing device and a floor cleaning device, and the laundry processing device and the floor cleaning device share a single water inlet and outlet pipe. The method includes: Obtaining in real time a first water usage instruction of the laundry processing device and a second water usage instruction of the floor cleaning device, where the water usage instruction is used to indicate that there is a water inlet and outlet request for the laundry processing device or the floor cleaning device; Determining whether a first time of the first water usage instruction is the same as a second time of the second water usage instruction; When the first time and the second time are the same, obtaining a first parameter for the water inlet and outlet of the laundry processing device and a second parameter for the water inlet and outlet of the floor cleaning device, determining a target warning duration of the cleaning device according to the first parameter and the second parameter, and starting a water usage timer; Detecting whether a first water level position of the floor cleaning device and a second water level position of the laundry processing device reach a preset water level according to the target warning duration and the water usage timer; When it is detected that the first water level position or the second water level position does not reach the preset water level, controlling an alarm device of the cleaning device to give an alarm.
2. The method according to claim 1, wherein The target warning duration includes: a first warning duration and a second warning duration. Determining the target warning duration of the cleaning device according to the first parameter and the second parameter includes: Determining the first warning duration of the laundry processing device according to the first parameter; Determining the second warning duration of the floor cleaning device according to the second parameter.
3. The method according to claim 2, wherein The first parameter includes: a first water flow rate for the laundry processing device to independently perform water inlet and outlet, a second water flow rate for simultaneous water inlet and outlet, a first initial warning duration, and a first water storage capacity. Determining the first warning duration of the laundry processing device according to the first parameter includes: Determining the first warning duration of the laundry processing device according to the first initial warning duration, the first water flow rate, the second water flow rate, and the first water storage capacity.
4. The method according to claim 3, wherein Determining the first warning duration of the laundry processing device according to the first initial warning duration, the first water flow rate, the second water flow rate, and the first water storage capacity includes: Calculating the first warning duration using the following formula: T1 = N1 + [k1 * (V1 - V2) * M1] where T1 is the first warning duration, N1 is the first initial warning duration, k1 is a proportionality coefficient, V1 is the first water flow rate, V2 is the second water flow rate, and M1 is the first water storage capacity.
5. The method according to claim 3, characterized in that, The second parameter includes: a third water flow rate for the floor cleaning device to independently perform water inlet and outlet, a fourth water flow rate for simultaneous water inlet and outlet, a second initial warning duration, and a second water storage capacity. Determining the second warning duration of the floor cleaning device according to the second parameter includes: Determining the second warning duration of the floor cleaning device according to the second initial warning duration, the third water flow rate, the fourth water flow rate, and the second water storage capacity, where the second warning duration is less than the first warning duration.
6. The method according to claim 5, wherein Determining whether a first water level position of the floor cleaning device and a second water level position of the laundry treatment device reach a preset water level according to the target warning duration and the water timer includes: When the timing duration of the water timer reaches the second warning duration, obtaining the current first water level position of the floor cleaning device; Determining whether the first water level position reaches a first preset water level corresponding to the floor cleaning device; When the first water level position does not reach the first preset water level, controlling an alarm device of the cleaning device to give an alarm; When the first water level position reaches the first preset water level and the timing duration of the water timer reaches the first warning duration, obtaining the current second water level position of the laundry treatment device; Determining whether the second water level position reaches a second preset water level corresponding to the laundry treatment device; When the first water level position does not reach the first preset water level, controlling an alarm device of the cleaning device to give an alarm.
7. An alarm control device for a cleaning device, characterized in that, Including: An obtaining module, configured to obtain a first water use instruction of the laundry treatment device and a second water use instruction of the floor cleaning device in real time, where the water use instruction is used to indicate that there is a water inlet / outlet request for the laundry treatment device or the floor cleaning device; A judging module, configured to judge whether a first moment of the first water use instruction is the same as a second moment of the second water use instruction; The obtaining module is further configured to obtain a first parameter of water inlet / outlet of the laundry treatment device and a second parameter of water inlet / outlet of the floor cleaning device when the first moment is the same as the second moment; A determining module, configured to determine a target warning duration of the cleaning device according to the first parameter and the second parameter; An enabling module, configured to enable the water timer; A detecting module, configured to detect whether the first water level position of the floor cleaning device and the second water level position of the laundry treatment device reach the preset water level according to the target warning duration and the water timer; A control module, configured to control an alarm device of the cleaning device to give an alarm when it is detected that the first water level position or the second water level position does not reach the preset water level.
8. The device according to claim 7, characterized in that, The device further includes: The determining module is further configured to determine a first warning duration of the laundry treatment device according to the first parameter; The determining module is further configured to determine a second warning duration of the floor cleaning device according to the second parameter.
9. An alarm control device for a cleaning device, characterized in that, Including: A memory; A processor; Wherein, the memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory to implement the alarm control method of the cleaning device according to any one of claims 1-7.
10. A computer storage medium, characterized in that, Computer execution instructions are stored in the computer storage medium, and when the computer execution instructions are executed by the processor, they are used to implement the alarm control method of the cleaning device according to any one of claims 1-7.