A method, system, intelligent terminal, and storage medium for operating a swimming pool water pump.
By pre-setting the mapping relationship between operating parameters and time periods in the pool water pump, and combining image sequences and behavior prediction, the automatic state switching of the pool water pump was realized, solving the problem of lag in manual adjustment and improving the intelligence of operation and cleaning efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHUZHOU SIPU INTELLIGENT TECHNOLOGY CO LTD
- Filing Date
- 2026-04-29
- Publication Date
- 2026-06-30
AI Technical Summary
In existing technologies, the operation of pool water pumps relies on human experience, which leads to operational delays and affects work efficiency.
By pre-setting at least two different sets of mapping relationships between operating parameters and time periods, and combining pool image sequences and human behavior predictions, the system can automatically determine the state switching of the water pump and achieve time-based adaptive control.
It improves the intelligence level and time-adaptability of pool water pumps, realizes precise control, avoids frequent manual adjustments and energy waste, and improves operating efficiency and cleaning effect.
Smart Images

Figure CN122304984A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water pump technology, and in particular to a method, system, intelligent terminal, and storage medium for operating a swimming pool water pump. Background Technology
[0002] Water pumps are an important component of various water supply and drainage systems. With the development of technology, the operation of water pumps needs to become increasingly intelligent.
[0003] When controlling a pool water pump, the relevant technology requires staff to pre-determine the number of people in the pool and pre-set the pump's operating time and water volume based on the number of people. Then, the pump is turned on to exchange the water in the pool, thereby cleaning the pool.
[0004] Regarding the aforementioned technologies, the operation of the water pump relies on the experience of the staff and requires frequent manual adjustments, which can easily lead to lag in the operation of the water pump and affect its working effect. Summary of the Invention
[0005] To improve the working efficiency of swimming pool pumps, this application provides a method, system, intelligent terminal, and storage medium for operating swimming pool pumps.
[0006] Firstly, this application provides a method for operating a swimming pool water pump, employing the following technical solution: A method for operating a swimming pool water pump, comprising: Obtain the preset operating state of the pool water pump, the preset operating state including at least two different sets of operating parameters, the operating parameters including operating time and water pump volume; Establish a first mapping relationship between the preset working state and the time period; Obtain the current operating status and current time of the pool water pump; Based on the current working state and the current time, determine whether the pool water pump meets the state switching criteria in the first mapping relationship; If so, determine the future working state corresponding to the next time period in the first mapping relationship; control the pool water pump to operate according to the future working state; If not, the pool pump will continue to operate according to the current working state.
[0007] By adopting the above technical solution, at least two different sets of operating parameters are preset and a mapping relationship with time periods is established. This allows the system to automatically determine whether the state switching criteria are met based on the current operating state and the current time. When the switching criteria are met, the pump is automatically controlled to operate according to the future operating state; otherwise, the current state is maintained. This method achieves adaptive switching of the pump's operating state across time periods, avoiding frequent manual adjustments. It enables the pump to automatically match appropriate operating durations and opening levels at different times, improving the intelligence and time-time adaptability of the pool pump operation and enhancing its performance.
[0008] Optionally, if the time period is a pool working period, a candidate working state corresponding to the pool working period is determined from the preset working states; Based on the range of action of the pool pump within the pool, the pool is divided into several grid areas; Acquire a sequence of pool images; The number of people within the grid area is obtained using the pool image sequence; Determine the candidate working state corresponding to the number of personnel, and establish a second mapping relationship between the pool water pump and the candidate working state; The pool water pump is controlled to operate according to the second mapping relationship.
[0009] By adopting the above technical solution, during the pool's operating hours, the pool is divided into grid areas, and image sequences are collected to obtain the number of people in each area. This establishes a second mapping relationship between the number of people and candidate operating states. This allows the water pump to automatically select the corresponding operating state for control based on the distribution of people in different areas of the pool, achieving refined control based on personnel density distribution. This ensures the effective circulation and filtration of pool water while avoiding energy waste in sparsely populated areas, thus improving operational efficiency.
[0010] Optionally, human behavior can be captured from the pool image sequence; For the first grid area in the grid area, determine the adjacent grid areas around the first grid area, and the first number of people corresponding to the first grid area; Based on the described personnel behavior, behavior prediction is performed on the personnel in the first grid area and the adjacent grid areas to obtain personnel behavior prediction results; Based on the predicted personnel behavior, the first number of personnel is updated to obtain the second number of personnel; If the difference between the second number of personnel and the first number of personnel is less than a preset difference, then the candidate working status is determined according to the first number of personnel. If the difference between the second number of personnel and the first number of personnel is not less than the preset difference, then the candidate working status is determined according to the second number of personnel.
[0011] By adopting the above technical solution, personnel behavior is collected and behavior prediction is performed on personnel in the grid area and adjacent areas. The number of personnel is updated based on the prediction results, and candidate working states are determined based on the comparison between the difference in the number before and after the update and the preset difference in the number. This method effectively solves the problem of misjudgment of the state caused by instantaneous personnel movement. By correcting personnel distribution data through behavior prediction, the determination of the water pump's working state is made more consistent with the actual personnel flow trend, avoiding frequent invalid switching and improving the accuracy and stability of state switching.
[0012] Optionally, based on the pool image sequence, the total area of the first floating objects on the pool surface and the coordinates of the floating objects are calculated; If the total area of the first floating object is greater than the first preset area threshold, then the working water pump corresponding to the coordinates of the floating object is determined; Based on the total area of the first floating object, a target working state is determined in the preset working state; Control the operation of the working water pump according to the target working state.
[0013] By employing the above technical solution, the total area of floating debris on the pool surface is calculated and its coordinates are obtained. When the area of floating debris exceeds a first preset area threshold, the working water pump corresponding to the floating debris coordinates is determined, and the target working state is selected from preset working states based on the total area of floating debris for control operation. This allows the water pump to respond precisely to areas where floating debris accumulates, automatically matching the appropriate working state according to the degree of pollution, achieving targeted cleaning of floating debris on the pool surface and improving cleaning efficiency.
[0014] Optionally, the working inlet corresponding to the working water pump is determined from the pool image sequence; If the operating time of the working water pump in the target working state is longer than the first preset time, it is determined whether there is a problem water inlet in the working water inlet, and whether there are floating objects at the problem water inlet; If so, the area of floating debris at the problematic inlet is determined from the pool image sequence; The operating water volume is set according to the area of the floating object; Control the operation of the working water pump corresponding to the problematic water inlet according to the operating water volume.
[0015] By adopting the above technical solution, after operating under the target working state for more than a first preset time, the system determines whether there are floating objects at the working inlet. If so, the problematic inlet is identified, and the area of the floating objects is obtained. The operating water volume is then set based on this area. This method achieves secondary precise control of problematic inlets with blockages or floating object accumulation. It dynamically adjusts the operating water volume of the corresponding water pump based on the actual floating object area, avoiding incomplete cleaning or energy waste caused by uniform water volume operation, and improving the targeted nature of localized cleaning.
[0016] Optionally, the number of target personnel in the grid area where the problematic water inlet is located and in adjacent grid areas can be obtained; The maximum allowable water volume is determined based on the target number of personnel, wherein the maximum allowable water volume is inversely proportional to the number of personnel; The required water volume is determined based on the area of the floating object. If the required water volume is less than or equal to the maximum allowable water volume, then the operating water volume is set to the required water volume. If the required water volume is greater than the maximum allowable water volume, the operating water volume is set to the maximum allowable water volume, and at least one auxiliary water pump within a preset range around the problematic water inlet is started. The operating water volume of the auxiliary water pump is determined based on the difference between the required water volume and the maximum allowable water volume.
[0017] By adopting the above technical solution, when setting the operating water volume, the number of people in the grid area where the problem inlet is located and the adjacent areas are comprehensively considered. A maximum allowable water volume value that is inversely proportional to the number of people is determined. The required water volume value is then compared with the maximum allowable water volume value to determine the final operating water volume. An auxiliary water pump is activated if necessary. This method maximizes the satisfaction of cleaning needs while ensuring personnel safety. It avoids the impact of large water volume operation on people in the pool and compensates for water volume shortages through auxiliary water pumps, achieving a balance between safety and cleaning effectiveness.
[0018] Optionally, if the operating time of the working water pump in the target working state is longer than the second preset time, the total area of the second floating objects on the pool surface is calculated based on the pool image sequence. If the total area of the second floating object is greater than the second preset area threshold, then the water volume of the working water pump is increased, and the second preset area threshold is less than the first preset area threshold. If the total area of the second floating object is less than the second preset area threshold, then detect whether there are floating objects in the edge area of the pool surface; If present, determine the auxiliary water pump based on the location of the floating object and start the auxiliary water pump; If it does not exist, then shut down the working water pump.
[0019] By adopting the above technical solution, after operating under the target working condition for more than a second preset time, if the total area of floating objects is still greater than the second preset area threshold, the water pump opening is increased; if it is less than the second preset area threshold, the presence of floating objects in the edge area is further detected, and the auxiliary water pump is started or the working water pump is shut down accordingly. This multi-level judgment mechanism realizes a gradual cleaning control from coarse to fine adjustment, and can automatically shut down the equipment after the degree of pollution is reduced, avoiding energy waste caused by over-cleaning.
[0020] Secondly, this application provides a swimming pool water pump operating system, which adopts the following technical solution: A swimming pool water pump operating system, comprising: The acquisition module is used to acquire the preset working state, the current working state, and the current time. A memory for storing a program for the operation method of the pool pump; The processor and the program in the memory can be loaded and executed by the processor to implement the operation method of the pool water pump.
[0021] By adopting the above technical solution, at least two different sets of operating parameters are preset and a mapping relationship with time periods is established. This allows the system to automatically determine whether the state switching criteria are met based on the current operating state and the current time. When the switching criteria are met, the pump is automatically controlled to operate according to the future operating state; otherwise, the current state is maintained. This method achieves adaptive switching of the pump's operating state across time periods, avoiding frequent manual adjustments. It enables the pump to automatically match appropriate operating durations and opening levels at different times, improving the intelligence and time-time adaptability of the pool pump operation and enhancing its performance.
[0022] Thirdly, this application provides a smart terminal, which adopts the following technical solution: A smart terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any one of the above methods.
[0023] Fourthly, this application provides a computer storage medium capable of storing corresponding programs, which facilitates improving the working effect of swimming pool water pumps, and adopts the following technical solution: A computer-readable storage medium storing a computer program that can be loaded by a processor and executed any of the above-described methods for operating a swimming pool pump.
[0024] In summary, this application includes at least one of the following beneficial technical effects: 1. The system presets at least two different sets of operating parameters and establishes a mapping relationship with time periods. It can automatically determine whether the state switching criteria are met based on the current operating status and time. When the switching criteria are met, the system automatically controls the water pump to operate according to the future operating state; otherwise, it maintains the current state. This method achieves adaptive switching of the water pump's operating state across time periods, avoiding frequent manual adjustments. It allows the water pump to automatically match appropriate operating duration and opening levels at different time periods, improving the intelligence and time-time adaptability of the pool water pump operation and enhancing its performance. 2. During the pool's operating hours, the pool is divided into grid areas, and image sequences are collected to obtain the number of people in each area. This establishes a second mapping relationship between the number of people and candidate operating states. This allows the water pump to automatically select the corresponding operating state based on the distribution of people in different areas of the pool, achieving refined control based on personnel density distribution. This ensures the effective circulation and filtration of pool water while avoiding energy waste in sparsely populated areas, thus improving operational efficiency. 3. By collecting personnel behavior data and predicting the behavior of personnel in the grid area and adjacent areas, the number of personnel is updated based on the prediction results. Candidate working states are determined based on a comparison between the difference in number before and after the update and a preset difference. This method effectively solves the problem of misjudgment of state caused by instantaneous personnel movement. By correcting personnel distribution data through behavior prediction, the determination of the water pump's working state is made more consistent with the actual personnel flow trend, avoiding frequent and invalid switching and improving the accuracy and stability of state switching. Attached Figure Description
[0025] Figure 1 This is a schematic flowchart illustrating an operation method of a swimming pool water pump provided in an embodiment of this application.
[0026] Figure 2 This is a schematic flowchart of a method for updating the operation of a swimming pool water pump provided in an embodiment of this application.
[0027] Figure 3 This is a flowchart illustrating a method for determining a candidate working state provided in an embodiment of this application.
[0028] Figure 4 This is a schematic flowchart of a method for handling floating debris based on a water pump, provided in an embodiment of this application.
[0029] Figure 5 This is a schematic flowchart of a second method for handling floating debris based on a water pump, provided in an embodiment of this application.
[0030] Figure 6 This is a schematic flowchart of a third method for handling floating debris based on a water pump, provided in an embodiment of this application.
[0031] Figure 7 This is a schematic flowchart of a fourth method for handling floating debris based on a water pump, provided in an embodiment of this application.
[0032] Figure 8 This is a schematic diagram of the operating system of a swimming pool water pump provided in an embodiment of this application. Detailed Implementation
[0033] To make the purpose, technical solution, and advantages of this application clearer, the following description is provided in conjunction with the appendix. Figure 1 To be continued Figure 8 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.
[0034] This application discloses a method for operating a swimming pool water pump. (Refer to...) Figure 1 The method includes: Step S101: Obtain the preset working state of the pool water pump. The preset working state includes at least two different sets of working parameters, including working time and water pump volume.
[0035] A preset operating state refers to a set of pre-defined operating parameters for the pool pump. Each set of operating parameters includes at least two dimensions: operating duration and pump water volume. Operating duration refers to the length of time the pump operates continuously during one operating cycle; pump water volume refers to the amount of water output by the pump during operation.
[0036] For example, four different working states can be preset: the first working state includes a working time of 2 hours and a water pump volume of 100%; the second working state includes a working time of 10 hours and a water pump volume of 50%; the third working state includes a working time of 2 hours and a water pump volume of 75%; and the fourth working state includes a working time of 8 hours and a water pump volume of 40%.
[0037] Step S102: Establish the first mapping relationship between the preset working state and the time period.
[0038] The first mapping relationship refers to the rules that establish a corresponding association between the above-mentioned preset working states and different time periods of the day. Specifically, the time periods can be divided according to the actual usage patterns of the swimming pool. For example, from 8:00 to 10:00, the water pump volume is set to 100%; from 10:00 to 20:00, the water pump volume is set to 50%; from 20:00 to 22:00, the water pump volume is set to 75%; and from 22:00 to 6:00 the next day, the water pump volume is set to 40%.
[0039] Step S103: Obtain the current operating status and current time of the pool water pump.
[0040] Current operating status refers to the operating parameters that the pool pump is currently executing, including the current operating duration setting and the current pump power.
[0041] The current time refers to the current point in time of the system, which can be obtained through the system clock.
[0042] Step S104: Based on the current working status and the current time, determine whether the pool water pump meets the state switching criteria in the first mapping relationship.
[0043] A state transition criterion refers to the conditional rules used to determine whether the water pump needs to be switched from its current operating state to the next operating state. Optionally, the state transition criterion is based on whether the current time is close to or has reached the start time of the next time period in the first mapping relationship, or it is based on whether the current operating state has completed its preset working duration.
[0044] Step S105: If yes, then determine the future working state corresponding to the next time period in the first mapping relationship.
[0045] For example, based on the first mapping relationship, the preset working state corresponding to the next time period after the current moment is found, and the preset working state is determined as the future working state.
[0046] Step S106: Control the pool water pump to operate according to the future working state.
[0047] For example, a control command is sent to the pool pump to adjust its operating parameters, so that the pool pump starts running according to the operating time and pump power set in the future operating state.
[0048] Step S107: If not, maintain the pool pump in its current operating state.
[0049] By adopting the above technical solution, at least two different sets of operating parameters are preset and a mapping relationship with time periods is established. This allows the system to automatically determine whether the state switching criteria are met based on the current operating state and the current time. When the switching criteria are met, the pump is automatically controlled to operate according to the future operating state; otherwise, the current state is maintained. This method achieves adaptive switching of the pump's operating state across time periods, avoiding frequent manual adjustments. It enables the pump to automatically match appropriate operating durations and opening levels at different times, improving the intelligence and time-time adaptability of the pool pump operation and enhancing its performance.
[0050] In real-world scenarios, multiple pool pumps are typically used, and the number of people in the pool affects water quality. Therefore, it is necessary to adjust the operation and status of the pool pumps according to the number of people. This application discloses a method for updating the operation of a pool pump. (Refer to...) Figure 2 The method includes: Step S201: When the time period is the pool working period, determine the candidate working state corresponding to the pool working period from the preset working states.
[0051] Pool operating hours refer to the time during which a pool is open for swimming or other activities, typically between 10:00 AM and 8:00 PM daily.
[0052] Candidate working states refer to a set of working states suitable for operation during the working hours of a particular swimming pool, selected from at least two pre-set sets of working parameters. Since the number of personnel and usage intensity vary during different working hours of different swimming pools, at least one set of candidate working states needs to be pre-determined for further selection.
[0053] Step S202: Divide the pool into several grid areas according to the range of action of the pool pump in the pool.
[0054] The scope of action refers to the area of water that can be affected by the inlet or circulation cover of a single pool pump. Since pools typically have multiple pumps, each pump is primarily responsible for water circulation and filtration in a specific area.
[0055] A grid area refers to several sub-areas obtained by virtually dividing the pool water area according to the operating range of the water pumps. Each grid area corresponds to the coverage area of one or a group of water pumps.
[0056] For example, a swimming pool is 50 meters long and 25 meters wide, with 6 water pumps evenly distributed inside. The effective operating range of each pump is approximately 8 meters by 8 meters. The system divides the pool into 6 grid areas, each roughly corresponding to the coverage area of one water pump, and records the coordinate range of each grid area.
[0057] Step S203: Acquire a sequence of pool images.
[0058] Optionally, a pool image sequence can be obtained by continuously acquiring multiple frames of images of the pool surface and underwater areas at certain time intervals using cameras installed above or around the pool.
[0059] Step S204: Obtain the number of people in the grid area through the pool image sequence.
[0060] Optionally, the number of people located in each grid area can be identified from the pool image sequence using an image recognition algorithm.
[0061] Step S205: Determine the candidate working states corresponding to the number of personnel, and establish a second mapping relationship between the pool water pump and the candidate working states.
[0062] The second mapping relationship refers to a mapping table that associates each grid area with its corresponding candidate operating state. For example, densely populated areas require pumps operating with higher water volume or longer operating times, while sparsely populated areas can use pumps operating with lower water volume.
[0063] Step S206: Control the operation of the pool water pump according to the second mapping relationship.
[0064] By adopting the above technical solution, during the pool's operating hours, the pool is divided into grid areas, and image sequences are collected to obtain the number of people in each area. This establishes a second mapping relationship between the number of people and candidate operating states. This allows the water pump to automatically select the corresponding operating state for control based on the distribution of people in different areas of the pool, achieving refined control based on personnel density distribution. This ensures the effective circulation and filtration of pool water while avoiding energy waste in sparsely populated areas, thus improving operational efficiency.
[0065] In real-world scenarios, people moving within the swimming pool can affect the accuracy of personnel counts. Therefore, this application discloses a method for determining candidate working states. (Refer to...) Figure 3 The method includes: Step S301: Collect human behavior from the pool image sequence.
[0066] Human behavior includes, but is not limited to, standing still, walking slowly, running quickly, swimming, diving, and floating.
[0067] For example, a behavior analysis model can be invoked to analyze the posture, motion trajectory, and direction of movement of people in a pool image sequence to identify their behavior.
[0068] Step S302: For the first grid area in the grid area, determine the adjacent grid areas around the first grid area and the number of the first personnel corresponding to the first grid area.
[0069] The first grid region is any grid region.
[0070] An adjacent grid region is spatially adjacent to the first grid region, or an adjacent grid is a grid region that shares a boundary or corner with the first grid region.
[0071] The first number of people refers to the number of people in the second grid area.
[0072] Step S303: Based on the personnel behavior, predict the behavior of personnel in the first grid area and adjacent grid areas to obtain the personnel behavior prediction results.
[0073] The predicted results of personnel behavior include at least the number of people moving from the first grid area to the adjacent grid area, the number of people moving from the adjacent grid area to the first grid area, and the changing trend of the number of people in each grid area.
[0074] For example, there are 4 people in the first grid area, 3 of whom are moving quickly towards the adjacent grid area to the right. Simultaneously, 2 people in the adjacent grid area to the left are moving towards the first grid area. Based on this behavioral information, the prediction is that the 3 people in the first grid area will leave and enter the adjacent grid area to the right, while the 2 people in the adjacent grid area to the left will enter the first grid area.
[0075] Step S304: Update the first number of people according to the prediction results of personnel behavior to obtain the second number of people.
[0076] The second number of people refers to the predicted number of people that reflects the future distribution trend of people, obtained by correcting the first number of people based on the behavioral prediction results.
[0077] Step S305: If the difference between the number of second personnel and the number of first personnel is less than the preset difference, then the candidate work status is determined according to the number of first personnel.
[0078] The preset quantity difference is a preset empirical value, which can be adjusted by technicians according to actual needs. For example, the preset quantity difference is 3.
[0079] If the difference between the number of second personnel and the number of first personnel is less than the preset difference, it means that the change in the number of personnel is small and not enough to cause a change in the working state of the water pump. Therefore, the candidate working state is still determined according to the actual number of personnel at the current moment to avoid frequent switching.
[0080] Step S306: If the difference between the number of the second personnel and the number of the first personnel is not less than the preset difference, then the candidate work status is determined according to the number of the second personnel.
[0081] If the difference between the second number of personnel and the first number of personnel is not less than the preset difference, it indicates that the change in personnel numbers is significant. If the current actual number of personnel is used to determine the work status, it may lead to a lag in regulation or a mismatch with actual needs. Therefore, the candidate work status is determined according to the predicted second number of personnel, thereby achieving proactive regulation.
[0082] By adopting the above technical solution, personnel behavior is collected and behavior prediction is performed on personnel in the grid area and adjacent areas. The number of personnel is updated based on the prediction results, and candidate working states are determined based on the comparison between the difference in the number before and after the update and the preset difference in the number. This method effectively solves the problem of misjudgment of the state caused by instantaneous personnel movement. By correcting personnel distribution data through behavior prediction, the determination of the water pump's working state is made more consistent with the actual personnel flow trend, avoiding frequent invalid switching and improving the accuracy and stability of state switching.
[0083] This application discloses a method for handling floating debris based on a water pump. (Refer to...) Figure 4 The method includes: Step S401: Calculate the total area of the first floating object on the pool surface and obtain the coordinates of the floating object based on the pool image sequence.
[0084] Floating debris refers to any object floating on the surface of a swimming pool. Optionally, floating debris includes, but is not limited to, leaves, insects, dust, hair, grease, etc.
[0085] Optionally, image segmentation and target detection are performed on the pool image sequence to identify all floating object regions. The pixel area of each floating object region is then converted into its actual physical area to obtain the first total floating object area.
[0086] Optionally, floating object coordinates refer to the position information of each floating object area in the plane coordinate system of the pool. Usually, floating object coordinates refer to the coordinates of the geometric center of the floating object area.
[0087] Step S402: If the total area of the first floating object is greater than the first preset area threshold, then determine the working water pump corresponding to the coordinates of the floating object.
[0088] The first preset area threshold is a pre-defined critical value for the total area of floating debris. This threshold is used to determine whether the pollution level on the pool surface has reached a point where targeted cleaning is necessary. Technicians can adjust the specific value of the first preset area threshold according to actual needs.
[0089] The working pump refers to the pump corresponding to the grid area where the floating object's coordinates are located. Since each pump has a fixed coverage area, the coordinates of the floating object can determine which pump's coverage area the floating object falls into.
[0090] Step S403: Determine the target working state in the preset working state based on the total area of the first floating object.
[0091] The target operating state refers to the operating state most suitable for the current level of pollution, selected from at least two preset operating parameters based on the total area of floating debris. Generally, the larger the total area of floating debris, the higher the required pump power or the longer the operating time; conversely, a smaller total area of floating debris requires a lower power or shorter operating time.
[0092] Step S404: Control the operation of the working water pump according to the target working state.
[0093] By employing the above technical solution, the total area of floating debris on the pool surface is calculated and its coordinates are obtained. When the area of floating debris exceeds a first preset area threshold, the working water pump corresponding to the floating debris coordinates is determined, and the target working state is selected from preset working states based on the total area of floating debris for control operation. This allows the water pump to respond precisely to areas where floating debris accumulates, automatically matching the appropriate working state according to the degree of pollution, achieving targeted cleaning of floating debris on the pool surface and improving cleaning efficiency.
[0094] This application discloses a second method for handling floating debris based on a water pump. (Refer to...) Figure 5 The method includes: Step S501: Determine the working inlet of the working water pump in the pool image sequence.
[0095] The working inlet is a structure located on the pool wall or bottom that is connected to the working water pump. When the pump is running, water flows through the inlet into the circulation system, is filtered, and then returns to the pool.
[0096] Step S502: If the operating time of the working water pump in the target working state is longer than the first preset time, determine whether there is a problem water inlet in the working water inlet, and whether there are floating objects at the problem water inlet.
[0097] The first preset duration is a pre-set time threshold that can be used to determine whether the working water pump has been running for a sufficient amount of time in order to evaluate its cleaning effect.
[0098] A problematic inlet refers to an abnormal inlet where floating objects accumulate, blockage occurs, or the water is not effectively sucked in.
[0099] Optionally, by analyzing the image area around the working inlet in the pool image sequence, it can be identified whether there are floating objects stuck at the inlet. If so, the inlet is marked as a problem inlet.
[0100] Step S503: If so, determine the area of floating debris at the problem inlet from the pool image sequence.
[0101] Optionally, an image of the area where the problem inlet is located can be extracted from the pool image sequence, the outline of the floating object can be identified by an image segmentation algorithm, its pixel area can be calculated and converted into the actual physical area to obtain the area of the floating object.
[0102] Step S504: Set the operating water volume according to the area of the floating objects.
[0103] The larger the area of floating debris, the more severe the blockage, requiring a larger flow rate to generate sufficient suction to remove it; conversely, a smaller area of floating debris allows for a smaller flow rate. The flow rate can be determined based on a pre-defined mapping relationship.
[0104] Step S505: Operate the working water pump corresponding to the inlet of the water flow control problem.
[0105] By adopting the above technical solution, after operating under the target working state for more than a first preset time, the system determines whether there are floating objects at the working inlet. If so, the problematic inlet is identified, and the area of the floating objects is obtained. The operating water volume is then set based on this area. This method achieves secondary precise control of problematic inlets with blockages or floating object accumulation. It dynamically adjusts the operating water volume of the corresponding water pump based on the actual floating object area, avoiding incomplete cleaning or energy waste caused by uniform water volume operation, and improving the targeted nature of localized cleaning.
[0106] This application discloses a third method for handling floating debris based on a water pump. (Refer to...) Figure 6 The method includes: Step S601: Obtain the number of target personnel in the grid area where the problem water inlet is located and in the adjacent grid areas.
[0107] The target number of personnel refers to the number of people in the grid area where the problem inlet is located and in the adjacent grid areas.
[0108] Step S602: Determine the maximum allowable water volume based on the target number of personnel, wherein the maximum allowable water volume is inversely proportional to the number of personnel.
[0109] The maximum permissible power value refers to the highest power that the working water pump corresponding to the problematic inlet can operate under the premise of ensuring the safety of personnel in the pool. The maximum permissible power value is inversely proportional to the number of people in the grid area where the problematic inlet is located and the adjacent grid areas. That is, the more people there are, the lower the maximum permissible power value, in order to avoid the strong suction generated by high-power operation from causing harm to personnel (such as hair or swimsuits being sucked into the inlet); the fewer people there are, the higher the maximum permissible power value can be.
[0110] Step S603: Determine the required water volume based on the area of the floating objects.
[0111] The required power value refers to the expected power output needed to remove floating debris from a problem inlet. The required water volume is positively correlated with the area of the floating debris. The larger the floating debris area, the greater the suction required, and therefore the higher the required power value; the smaller the floating debris area, the lower the required power value.
[0112] Step S604: If the water demand value is less than or equal to the maximum allowable water value, then set the operating water volume to the water demand value.
[0113] When the required water volume is less than or equal to the maximum allowable water volume, it means that the cleaning needs can be met without posing a threat to personnel safety. In this case, the operating power should be directly set to the required power value.
[0114] Step S605: If the demand water volume is greater than the maximum allowable water volume, the operating water volume is set to the maximum allowable water volume, and at least one auxiliary water pump within a preset range around the problem inlet is started. The operating water volume of the auxiliary water pump is determined based on the difference between the demand water volume and the maximum allowable water volume.
[0115] When the required power exceeds the maximum permissible power, it indicates that operating solely at the required power would exceed the safety limit. Therefore, the operating power is set to the maximum permissible power to ensure personnel safety. Simultaneously, to compensate for the insufficient cleaning capacity caused by the inadequate power, at least one auxiliary water pump within a preset range around the problematic inlet needs to be activated.
[0116] By adopting the above technical solution, when setting the operating water volume, the number of people in the grid area where the problem inlet is located and the adjacent areas are comprehensively considered. A maximum allowable water volume value that is inversely proportional to the number of people is determined. The required water volume value is then compared with the maximum allowable water volume value to determine the final operating water volume. An auxiliary water pump is activated if necessary. This method maximizes the satisfaction of cleaning needs while ensuring personnel safety. It avoids the impact of large water volume operation on people in the pool and compensates for water volume shortages through auxiliary water pumps, achieving a balance between safety and cleaning effectiveness.
[0117] This application discloses a fourth method for handling floating debris based on a water pump. (Refer to...) Figure 7 The method includes: Step S701: If the operating time of the working water pump in the target working state is longer than the second preset time, calculate the total area of the second floating objects on the pool surface based on the pool image sequence.
[0118] The second preset duration is a pre-set time threshold, and the second preset duration is longer than the first preset duration.
[0119] Step S702: If the total area of the second floating object is greater than the second preset area threshold, then increase the water volume of the working water pump, and the second preset area threshold is less than the first preset area threshold.
[0120] When the total area of the second floating debris is still greater than the second preset area threshold, it indicates that the current cleaning power is insufficient and the water volume of the working water pump needs to be further increased to remove the remaining floating debris with stronger circulation and filtration capabilities.
[0121] Step S703: If the total area of the second floating objects is less than the second preset area threshold, then detect whether there are floating objects in the edge area of the pool surface.
[0122] When the total area of the second set of floating objects is less than the second preset area threshold, it indicates that the floating objects in most areas of the pool have been basically removed, and the overall cleanliness of the water surface has reached the expected level. However, at this point, floating objects may still accumulate in areas that are difficult to be effectively covered by the water pump inlet, such as the pool edges and corners. Therefore, it is necessary to further inspect the edge areas of the pool surface for floating objects.
[0123] Step S704: If present, determine the auxiliary water pump based on the location of the floating object and turn on the auxiliary water pump.
[0124] If a floating object is detected in the edge area, the available auxiliary water pumps near that location are located based on the object's specific coordinates. The auxiliary water pumps can be pumps that were not originally running, or pumps that originally served other areas but can now cover this edge area.
[0125] Step S705: If not, shut down the working water pump.
[0126] By adopting the above technical solution, after operating under the target working condition for more than a second preset time, if the total area of floating objects is still greater than the second preset area threshold, the water pump opening is increased; if it is less than the second preset area threshold, the presence of floating objects in the edge area is further detected, and the auxiliary water pump is started or the working water pump is shut down accordingly. This multi-level judgment mechanism realizes a gradual cleaning control from coarse to fine adjustment, and can automatically shut down the equipment after the degree of pollution is reduced, avoiding energy waste caused by over-cleaning.
[0127] Based on the same inventive concept, this application provides an operating system for a swimming pool water pump. Please refer to... Figure 8 ,include: The acquisition module 801 is used to acquire the preset working state, the current working state, and the current time. The memory 802 is used to store the program for the operation method of the above-mentioned swimming pool water pump; The processor 803 can load and execute the program in the memory to implement the above-mentioned operation method of the pool water pump.
[0128] By adopting the above technical solution, at least two different sets of operating parameters are preset and a mapping relationship with time periods is established. This allows the system to automatically determine whether the state switching criteria are met based on the current operating state and the current time. When the switching criteria are met, the pump is automatically controlled to operate according to the future operating state; otherwise, the current state is maintained. This method achieves adaptive switching of the pump's operating state across time periods, avoiding frequent manual adjustments. It enables the pump to automatically match appropriate operating durations and opening levels at different times, improving the intelligence and time-time adaptability of the pool pump operation and enhancing its performance.
[0129] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0130] This application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed to operate a swimming pool pump.
[0131] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.
[0132] Based on the same inventive concept, this application provides a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed to operate a swimming pool water pump.
[0133] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0134] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.
Claims
1. A method for operating a swimming pool water pump, characterized in that, include: Obtain the preset operating state of the pool water pump, the preset operating state including at least two different sets of operating parameters, the operating parameters including operating time and water pump volume; Establish a first mapping relationship between the preset working state and the time period; Obtain the current operating status and current time of the pool water pump; Based on the current working state and the current time, determine whether the pool water pump meets the state switching criteria in the first mapping relationship; If so, determine the future working state corresponding to the next time period in the first mapping relationship; control the pool water pump to operate according to the future working state; If not, the pool pump will continue to operate according to the current working state.
2. The method for operating a swimming pool pump according to claim 1, characterized in that, The method further includes: If the time period is a pool working period, a candidate working state corresponding to the pool working period is determined from the preset working states; Based on the range of action of the pool pump within the pool, the pool is divided into several grid areas; Acquire a sequence of images of the swimming pool; The number of people within the grid area is obtained using the pool image sequence; Determine the candidate working state corresponding to the number of personnel, and establish a second mapping relationship between the pool water pump and the candidate working state; The pool water pump is controlled to operate according to the second mapping relationship.
3. The method for operating a swimming pool pump according to claim 2, characterized in that, Determining the candidate work status corresponding to the number of personnel includes: Human behavior was captured from the pool image sequence; For the first grid area in the grid area, determine the adjacent grid areas around the first grid area, and the first number of people corresponding to the first grid area; Based on the described personnel behavior, behavior prediction is performed on the personnel in the first grid area and the adjacent grid areas to obtain personnel behavior prediction results; Based on the predicted personnel behavior, the first number of personnel is updated to obtain the second number of personnel; If the difference between the second number of personnel and the first number of personnel is less than a preset difference, then the candidate working status is determined according to the first number of personnel. If the difference between the second number of personnel and the first number of personnel is not less than the preset difference, then the candidate working status is determined according to the second number of personnel.
4. The method for operating a swimming pool pump according to claim 2, characterized in that, The method further includes: Based on the pool image sequence, calculate the total area of the first floating objects on the pool surface and obtain the coordinates of the floating objects; If the total area of the first floating object is greater than the first preset area threshold, then the working water pump corresponding to the coordinates of the floating object is determined; Based on the total area of the first floating object, a target working state is determined in the preset working state; Control the operation of the working water pump according to the target working state.
5. The method for operating a swimming pool pump according to claim 4, characterized in that, After controlling the working water pump to operate according to the target working state, the method further includes: Determine the working inlet of the working water pump from the pool image sequence; If the operating time of the working water pump in the target working state is longer than the first preset time, it is determined whether the problematic water inlet exists in the working water inlet, and whether there are floating objects at the problematic water inlet; If so, the area of floating debris at the problematic inlet is determined from the pool image sequence; The operating water volume is set according to the area of the floating object; Control the operation of the working water pump corresponding to the problematic water inlet according to the operating water volume.
6. The method for operating a swimming pool pump according to claim 5, characterized in that, The step of setting the operating water volume based on the area of the floating object includes: Obtain the number of target personnel in the grid area where the problematic water inlet is located and in adjacent grid areas; The maximum allowable water volume is determined based on the target number of personnel, wherein the maximum allowable water volume is inversely proportional to the number of personnel; The required water volume is determined based on the area of the floating object. If the required water volume is less than or equal to the maximum allowable water volume, then the operating water volume is set to the required water volume. If the required water volume is greater than the maximum allowable water volume, the operating water volume is set to the maximum allowable water volume, and at least one auxiliary water pump within a preset range around the problematic water inlet is started. The operating water volume of the auxiliary water pump is determined based on the difference between the required water volume and the maximum allowable water volume.
7. The method for operating a swimming pool pump according to claim 4, characterized in that, The method further includes: If the operating time of the working water pump in the target working state is greater than the second preset time, the total area of the second floating objects on the pool surface is calculated based on the pool image sequence. If the total area of the second floating object is greater than the second preset area threshold, then the water volume of the working water pump is increased, and the second preset area threshold is less than the first preset area threshold. If the total area of the second floating object is less than the second preset area threshold, then detect whether there are floating objects in the edge area of the pool surface; If present, determine the auxiliary water pump based on the location of the floating object and start the auxiliary water pump; If it does not exist, then shut down the working water pump.
8. A swimming pool water pump operating system, characterized in that, The system is used to perform the operation method of the pool water pump as described in any one of claims 1 to 7, including: The acquisition module is used to acquire the preset working state, the current working state, and the current time. A memory for storing a program for the operation method of the pool pump; The processor and the program in the memory can be loaded and executed by the processor to implement the operation method of the pool water pump.
9. A smart terminal, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer program is stored that can be loaded by a processor and execute the method as described in any one of claims 1 to 7.