Waterway cleaning method, device, water supply device, and storage medium

By acquiring the structural information of the water circuit nodes of the water supply device and constructing a directed cyclic graph, a cleaning plan is generated using a long short-term memory network. The flow rate and water temperature are monitored in real time, and the cleaning parameters are dynamically adjusted. This solves the problem of insufficient targeting of traditional water circuit cleaning methods and achieves efficient and safe water circuit cleaning.

CN119819661BActive Publication Date: 2025-12-09GUANGDONG LIZI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510112329.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-12-09
Estimated Expiration
2045-01-23

AI Technical Summary

Technical Problem

Traditional waterway cleaning methods lack real-time monitoring of flow rate, dirt accumulation, and waterway node status, resulting in insufficient targeting and effectiveness of cleaning, which may overlook some heavily polluted areas or cause over-cleaning.

Method used

By acquiring the structural information of the water circuit nodes of the water supply device, a directed cyclic graph is constructed. A long short-term memory network model is used to generate cleaning codes and schemes. Flow rate and water temperature are monitored in real time, and cleaning parameters are dynamically adjusted to achieve precise cleaning.

Benefits of technology

It improved the effectiveness and efficiency of water system cleaning, ensured the safety of drinking water, reduced operating costs, and improved the performance and user experience of the water system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119819661B_ABST
    Figure CN119819661B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of water supply devices, and discloses a water channel cleaning method and device, a water supply device and a storage medium, wherein the application comprises the following steps: acquiring structure information of each water channel node in a water channel to be cleaned of a water supply device, generating a cleaning scheme based on the structure information, and cleaning the water channel to be cleaned based on the cleaning scheme. The application has the beneficial effects of improving the cleaning effect and efficiency, providing strong support for long-term maintenance of a water channel system, guaranteeing the safety of drinking water, and reducing operation cost. Overall, the method can effectively improve the working performance of the water channel and the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of water supply devices, in particular to a waterway cleaning method, device, water supply device and storage medium. BACKGROUND

[0002] With the acceleration of urbanization and the increasing demand for water resource management, the safety of drinking water and the maintenance of waterway systems have become the focus of public attention. Drinking water equipment and water supply systems play an important role in daily life, and ensuring water quality safety is directly related to people's health. However, waterway systems often have reduced flow rates and polluted water quality due to the accumulation of scale, sludge and microorganisms, which affects the normal operation of drinking water equipment.

[0003] Traditional waterway cleaning methods mainly rely on periodic manual cleaning or simple chemical cleaning agent soaking. During the cleaning process, there is a lack of real-time monitoring of flow rate, scale accumulation and waterway node state, resulting in insufficient targeting and effectiveness of cleaning, which may overlook some severely polluted areas or may result in over-cleaning. SUMMARY

[0004] Therefore, it is necessary to propose a waterway cleaning method, device, water supply device and storage medium to solve the existing waterway cleaning problem.

[0005] A waterway cleaning method, the method comprising:

[0006] obtaining structure information of each waterway node in a waterway to be cleaned of a water supply device;

[0007] generating a cleaning scheme based on the structure information;

[0008] cleaning the waterway to be cleaned based on the cleaning scheme.

[0009] Further, the step of generating a cleaning scheme based on the structure information comprises:

[0010] obtaining flow rates between each waterway node, and calculating a virtual distance between two adjacent waterway nodes based on the flow rates and the structure information;

[0011] constructing a directed cyclic graph based on the virtual distance and the relative positions of each waterway node in the waterway to be cleaned; wherein each node in the directed cyclic graph is composed of one waterway node, and the length of the line segment between each node and its adjacent node in the directed cyclic graph is the corresponding virtual distance;

[0012] inputting the directed cyclic graph into a long short-term memory network model to obtain a cleaning code;

[0013] inputting the cleaning code and the structure information into a long short-term memory network decoder to obtain a cleaning scheme; wherein the long short-term memory network model and the long short-term memory network decoder are trained by taking a plurality of the directed cyclic graphs and corresponding structure information as input and taking the corresponding cleaning scheme as output.

[0014] Further, the step of inputting the cleaning code and the structure information into a long short-term memory network decoder to obtain a cleaning scheme comprises:

[0015] splitting the cleaning code into a plurality of cleaning sub-codes in sequence;

[0016] inputting each cleaning sub-code into the long short-term memory network decoder in sequence for decoding; wherein for each cleaning sub-code, the hidden layer in the previous decoding process and the structure information and the current cleaning sub-code are input into the long short-term memory network decoder to obtain the decoding result of the current cleaning sub-code;

[0017] splicing each decoding result in sequence to obtain the cleaning scheme.

[0018] Further, the step of cleaning the waterway to be cleaned based on the cleaning scheme further comprises:

[0019] detecting the target parameter of the liquid in each adjacent waterway node after cleaning;

[0020] determining whether the target parameter meets a preset standard;

[0021] If the preset standard is not met, performing secondary cleaning on the waterway to be cleaned based on the target parameter.

[0022] Further, the structure information includes the length distance between the waterway nodes and the aperture size of the waterway to be cleaned.

[0023] Further, the step of obtaining the structure information of each waterway node in the waterway of the water supply device further comprises:

[0024] real-time monitoring the liquid flow rate between each node of the waterway of the water supply device by a sensor;

[0025] determining whether at least one liquid flow rate is lower than a preset value in the liquid flow rate;

[0026] If at least one liquid flow rate is lower than a preset value, it is determined that the waterway is a waterway to be cleaned.

[0027] Further, the step of cleaning the waterway to be cleaned based on the cleaning scheme further comprises:

[0028] determining whether the water temperature in the water path to be cleaned reaches a preset temperature;

[0029] if the preset temperature is not reached, heating the water in the water path to be cleaned to the preset temperature by a preset heater.

[0030] A water path cleaning device, the device comprising:

[0031] an acquisition module configured to acquire structure information of each water path node in a water path to be cleaned of a water supply device;

[0032] a generation module configured to generate a cleaning scheme based on the structure information;

[0033] a cleaning module configured to clean the water path to be cleaned based on the cleaning scheme.

[0034] A water supply device comprising a memory and a processor, the memory storing a computer program, the computer program being executed by the processor to cause the processor to perform the following steps:

[0035] acquiring structure information of each water path node in a water path to be cleaned of a water supply device;

[0036] generating a cleaning scheme based on the structure information;

[0037] cleaning the water path to be cleaned based on the cleaning scheme. A computer readable storage medium storing a computer program, the computer program being executed by a processor to cause the processor to perform the following steps:

[0038] acquiring structure information of each water path node in a water path to be cleaned of a water supply device;

[0039] generating a cleaning scheme based on the structure information;

[0040] cleaning the water path to be cleaned based on the cleaning scheme.

[0041] The present application has the following advantages: acquiring structure information of each water path node in a water path to be cleaned of a water supply device, generating a corresponding cleaning scheme, improving cleaning effect and efficiency, and providing strong support for long-term maintenance of the water path system, ensuring the safety of drinking water, and reducing operating costs. Overall, the method will effectively improve the working performance and user experience of the water path. BRIEF DESCRIPTION OF DRAWINGS

[0042] In order to make the technical solutions in the embodiments of the present application or the prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description only aim to some embodiments of the present application, and all other embodiments obtained by those of ordinary skill in the art without any creative work based on the embodiments of the present application should also fall into the protection scope of the present application.

[0043] Wherein:

[0044] Figure 1 Fig. 1 is a schematic diagram of the waterway structure of the water supply device in one embodiment;

[0045] Figure 2 Fig. 2 is a schematic diagram of the waterway structure of the water supply device in another embodiment;

[0046] Figure 3 Fig. 3 is a schematic diagram of the waterway structure of the water supply device in another embodiment;

[0047] Figure 4 Fig. 4 is a schematic diagram of the overall structure of the waterway of the water supply device in one embodiment;

[0048] Figure 5 Fig. 5 is a flow chart of the waterway cleaning method in one embodiment;

[0049] Figure 6 Fig. 6 is a structural block diagram of the waterway cleaning device in one embodiment;

[0050] Figure 7 Fig. 7 is a structural block diagram of the water supply device in one embodiment. DETAILED DESCRIPTION

[0051] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without any creative work should also fall into the protection scope of the present application.

[0052] Referring to Figures 1-4In one specific embodiment, the water supply device water circuit comprises: a first water circuit pipe 80, a second water circuit pipe 90, a third water circuit pipe 130, a control unit 70, and a refrigeration unit 20 and a heating unit 30 controlled by the control unit 70; the first water circuit pipe 80 and the second water circuit pipe 90 are respectively communicated with the third water circuit pipe 130; the first water circuit pipe 80 is connected with the heating unit 30, and the heating unit 30 is used for heating the liquid in the first water circuit pipe 80; the second water circuit pipe 90 is connected with the refrigeration unit 20, and the refrigeration unit 20 is used for refrigerating the liquid in the second water circuit pipe 90; a first valve 40 is arranged on the first water circuit pipe 80, and a second valve 50 is arranged on the second water circuit pipe 90, and the first valve 40 and the second valve 50 are controlled by the control unit 70.

[0053] The heating unit 30 comprises a heating and heat storage module, a heat exchange module 301, and a fourth water circuit pipe, the heating and heat storage module is connected with the heat exchange module 301 through the fourth water circuit pipe, and the heat exchange module 301 is respectively connected with the first water circuit pipe 80 and the fourth water circuit pipe. The heating and heat storage module is a module with the functions of heating and storing the heated liquid. The heating and heat storage module comprises a heater 303 and a hot tank 302, the heater 303 is connected with the hot tank 302 and used for heating the liquid in the hot tank 302, and the hot tank 302 is connected with the heat exchange module 301 through the fourth water circuit pipe. A first water pump 150 is arranged on the fourth water circuit pipe, the first water pump 150 is used for pumping the liquid in the heating and heat storage module, and the first water pump 150 is connected with the control unit 70. One end of the fourth water circuit pipe is connected with a water outlet 60 of the heating and heat storage module, and the other end of the fourth water circuit pipe is connected with a water inlet of the heating and heat storage module. The refrigeration unit 20 comprises a cold tank and a refrigeration device, the refrigeration device is connected with the cold tank and used for refrigerating the water in the cold tank, and the cold tank is connected with the second water circuit pipe 90. The water supply device water circuit structure further comprises a water outlet unit communicated with the third water circuit pipe 130. The water supply device water circuit structure further comprises a fourth water circuit pipe, one end of the fourth water circuit pipe is connected with a water supply port 10, and the other end of the fourth water circuit pipe is connected with the third water circuit pipe 130, and a third valve is arranged on the fourth water circuit pipe. In one embodiment, the water supply device water circuit structure further comprises a temperature detection unit 120, the temperature detection unit 120 is connected with the control unit 70, and the temperature detection unit 120 is connected with the third water circuit pipe 130 and used for detecting the temperature of the liquid in the third water circuit.

[0054] As Figure 5As shown, in one embodiment, a waterway cleaning method is provided. The method can be applied to both terminals and servers, and the present embodiment is exemplified by application to terminals. The waterway cleaning method specifically includes the following steps:

[0055] S1: Obtain the structure information of each waterway node in the waterway to be cleaned of the water supply device;

[0056] S2: Generate a cleaning scheme based on the structure information;

[0057] S3: Clean the waterway to be cleaned based on the cleaning scheme.

[0058] As described in step S1 above, the structure information of the waterway to be cleaned of the water supply device is obtained. Preliminary identification of the entire waterway system generally includes the layout of the pipeline, the connection relationship, the node type, etc. Specifically, by checking the design drawings, installation drawings or technical documents of the waterway system, the position, type, diameter, valve, connection point, etc. of the water pipe can be understood. In some embodiments, three-dimensional modeling software can also be used to model the waterway to obtain more intuitive structure information. After confirming the basic structure of the waterway, the specific information of each waterway node (such as the intersection point, valve, water outlet, etc.) needs to be determined. Define the type of waterway node, such as pipe interface, valve, elbow, etc., and mark important nodes. Using positioning technology, the specific position (such as coordinates: x, y, z) of each node is obtained, and then a unique identifier is assigned to each node for subsequent processing. After obtaining the position information of each waterway node, sensors such as electromagnetic flow meters, ultrasonic flow meters, etc. are installed in advance between each waterway node to monitor the flow rate in real time. The flow rate data is obtained regularly through the sensors, and the flow rate change between adjacent nodes is recorded. The collected raw flow rate data is filtered and processed to obtain clear flow rate information, ensuring the accuracy and reliability of the data. The obtained structure information, node information and flow rate data are integrated together to form a complete waterway structure data set. After the entire acquisition process is completed, these information can be used for subsequent cleaning operation design. According to the node flow rate, it is determined whether some areas need more frequent cleaning. In the development of the cleaning strategy, the specific position and flow rate of the node are considered to implement more accurate cleaning processing.

[0059] As described in step S2, the cleaning scheme is generated based on the structure information. Specifically, assuming that the liquid flowing between nodes needs a certain time t to complete the flow, the time can be calculated by the flow rate v and the distance d, and thus the virtual distance is derived. The specific formula is: t=d / v. In actual calculation, the virtual distance can be defined as the distance of the liquid flowing in the pipeline in unit time, which can be adjusted by the flow rate. Assuming that the flow rate v is known and uniformly distributed, considering the specific influence of the flow rate on the flow effect, a certain flow rate-based weight factor is added, and the virtual distance is defined as where k is a preset weight coefficient, represents the maximum flow rate between nodes. Specifically, assuming that the position information of two waterway nodes is as follows:

[0060] Waterway node 1: (0, 0, 0)

[0061] Waterway node 2: (6, 8, 0)

[0062] The real distance is calculated as: ;

[0063] Assuming that the flow rate v=2 m / s, the maximum flow rate is 4 m / s, and k is 1, then according to the formula =15.

[0064] According to the virtual distance and flow rate information, the cleaning priority of different nodes is determined. For example, nodes with slower flow rates may need more frequent cleaning. Specifically, considering the composition of the node line, various cleaning lines can be generated, for example, please refer to Figure 4 , the first waterway pipeline, the third waterway pipeline, and then the fourth waterway pipeline can be between the water outlet 10 and the waste water outlet. It can also pass through the second waterway pipeline, the third waterway pipeline, and then the fourth waterway pipeline, that is, multiple different waterway cleaning lines can be set. Since a waterway pipeline may be cleaned multiple times, intelligent design is required, and when the cleaning effect of each pipeline is achieved, cleaning resources are not wasted. In combination with the flow rate information between nodes, the corresponding cleaning scheme can be intelligently generated, and the specific generation method will be described in detail later. Here, it is not repeated. The cleaning scheme specifically includes the cleaning method, the concentration of the cleaning agent, the cleaning intensity, and the cleaning time.

[0065] The water route to be cleaned is cleaned based on the cleaning scheme as described in step S3. Specifically, it is checked whether the functions of the cleaning equipment are normal, including the pump, nozzle, chemical cleaning agent delivery device, etc. The required tools are selected according to the cleaning scheme, such as a high-pressure water gun, a cleaning brush, a cleaning agent sprayer, etc., to ensure the applicability of the tools. During the cleaning process, the cleaning effect can also be monitored in real time, improving the cleaning effect and efficiency, providing strong support for the long-term maintenance of the water route system, ensuring the safety of the water, reducing the operating cost, effectively improving the working performance of the water route and the user experience, and generating cleaning water, at least including temperature, flow rate, time length, or water treatment (bubble water, small molecule water, electrolytic hydroxyl, etc.).

[0066] In one embodiment, the step S2 of generating a cleaning scheme based on the structure information comprises:

[0067] S201: Obtain the flow rate between each water route node, and calculate the virtual distance between two adjacent water route nodes based on the flow rate and the structure information;

[0068] S202: Construct a directed cyclic graph based on the virtual distance and the mutual positional relationship of each water route node in the water route to be cleaned; wherein each node in the directed cyclic graph is composed of one water route node, and the line segment length between each node and the adjacent node in the directed cyclic graph is the corresponding virtual distance;

[0069] S203: Input the directed cyclic graph into a long short-term memory network model to obtain a cleaning code;

[0070] S204: Input the cleaning code and the structure information into a long short-term memory network decoder to obtain a cleaning scheme; wherein the long short-term memory network model and the long short-term memory network decoder are trained with multiple directed cyclic graphs and corresponding structure information as input and the corresponding cleaning scheme as output.

[0071] As described in step S201, specifically, assuming that the liquid flowing between nodes needs a certain time t to complete the flow, the time can be calculated from the flow rate v and the distance d, thereby deriving the virtual distance. The specific formula is: t=d / v. In actual calculation, the virtual distance can be defined as the distance of the liquid flowing in the pipeline in unit time, which can be adjusted by the flow rate. Assuming that the flow rate v is known and uniformly distributed, considering the specific influence of the flow rate on the flow effect, a certain weight factor based on the flow rate is added, defined as wherein k is a preset weight coefficient, represents the maximum flow rate between nodes. Specifically, assuming that the positional information of two water route nodes is as follows:

[0072] Waterway node 1: (0, 0, 0)

[0073] Waterway node 2: (6, 8, 0)

[0074] Calculate the real distance:

[0075] Assuming the flow rate v = 2 m / s, the maximum flow rate is 4 m / s, and k is 1, then according to the formula = 15.

[0076] As described in step S202 above, a directed cyclic graph is constructed based on the virtual distance and the mutual positional relationship of each waterway node in the waterway to be cleaned. In the waterway to be cleaned, each waterway node (such as a valve, a joint, etc.) is defined as a node in the graph. The virtual distance is used as the weight of the connection edge between the nodes, and the adjacent waterway nodes are connected to form a directed cyclic graph (DAG). The length of each edge corresponds to the virtual distance between adjacent nodes. The arrow direction represents the direction of liquid flow, facilitating the simulation of the flow process. The cyclic nature represents possible backflow paths, reflecting the circulation and reuse of fluid during the cleaning process.

[0077] As described in step S203 above, the directed cyclic graph is input into the long short-term memory network model to obtain a cleaning code, and the constructed directed cyclic graph is converted into a format suitable for input into the long short-term memory network (LSTM) model. Adjacency matrix, node features, or graph convolution network methods can be used for representation. The multiple directed cyclic graphs in the previous data set and the corresponding cleaning schemes are used as training data, and the LSTM model is used to learn the input graph features, capturing the dynamic characteristics and change patterns of the waterway system.

[0078] As described in step S204 above, the cleaning code and the structure information are input into the long short-term memory network decoder to obtain a cleaning scheme. The generated cleaning code and the structure information of the waterway are input into the long short-term memory network decoder, and the decoder is responsible for generating a complete cleaning scheme. During decoding, the cleaning parameters (such as flow rate, pressure, duration, etc.) in the cleaning scheme are adjusted according to the cleaning code, and the influence of the structure information on the cleaning scheme is considered to ensure the effectiveness and applicability of the cleaning method. The cleaning scheme output by the decoder includes specific cleaning methods, verification schemes, and execution details, such as cleaning sequence, type and concentration of cleaning agent used, cleaning duration, etc. It can fully utilize the structure information of the waterway and the virtual distance model, and combine the powerful ability of deep learning to generate efficient and accurate cleaning schemes. This approach has good adaptability and intelligent features, and can automatically adjust parameters in different waterway systems, thereby improving the cleaning effect while optimizing the use efficiency of resources.

[0079] ​In one embodiment, the step S204 of inputting the cleaning code and the structure information into the LSTM decoder to obtain a cleaning scheme comprises:

[0080] S2041: splitting the cleaning code into a plurality of cleaning sub-codes in sequence;

[0081] S2042: sequentially inputting each cleaning sub-code into the LSTM decoder for decoding; wherein, for each cleaning sub-code, the hidden layer in the previous encoding decoding process and the structure information and the current cleaning sub-code are input into the LSTM decoder to obtain the decoding result of the current cleaning sub-code;

[0082] S2043: splicing each decoding result in sequence to obtain the cleaning scheme.

[0083] As described in step S2041 above, the cleaning code is split into a plurality of cleaning sub-codes in sequence, and each sub-code represents the information of two adjacent waterway nodes.

[0084] As described in step S2042 above, for each cleaning sub-code, it is sequentially input into the LSTM decoder. Specifically, the hidden layer state in the previous encoding decoding process is passed to the decoding process of the current sub-code to ensure the continuity of information and the consistency of context. The current cleaning sub-code and the structure information of the waterway to be cleaned are input into the preset decoder to generate the current decoding result in combination with the context and structure features.

[0085] As described in step S2043 above, each decoding result is spliced in sequence to obtain the cleaning scheme. All decoding results are spliced in sequence to form a complete cleaning scheme. That is, the cleaning scheme is a cleaning sub-scheme for the waterway channel between each of the two adjacent waterway nodes, and finally forms a total cleaning scheme. Due to the information of the waterway structure, the waterway channels between each of the two adjacent waterway nodes will be connected in different ways, that is, one waterway channel can be connected to multiple different waterway cleaning channels, and this part may be cleaned multiple times. Therefore, the hidden layer state in the previous encoding decoding process is passed to the decoding process of the current sub-code to achieve better planning of waterway cleaning and avoid waste of resources.

[0086] In one embodiment, the step S3 of cleaning the waterway to be cleaned based on the cleaning scheme further comprises:

[0087] S401: detecting the target parameter of the liquid in each of the two adjacent waterway nodes after cleaning;

[0088] S402: determining whether the target parameter reaches a preset standard;

[0089] S403: if the preset standard is not reached, performing secondary cleaning on the waterway to be cleaned based on the target parameter.

[0090] As described in step S401, sensors are arranged between adjacent nodes of the waterway to be cleaned to monitor the flow rate of the liquid in real time. After starting the sensor and recording the target parameter data between the nodes of the waterway after cleaning, the target parameter can be flow rate, water quality, light transmission, turbidity, etc. The flow rate data can include average flow rate, instantaneous flow rate, etc. Different dimensions of information are provided for comprehensive judgment.

[0091] As described in step S402, it is determined whether the target parameter reaches a preset standard, wherein the preset standard is a pre-set standard, which can be a flow rate range or a specific flow rate value. These standards should be directly related to the safety and operating efficiency of the system.

[0092] As described in step S403, if the preset standard is not reached, secondary cleaning is performed on the waterway to be cleaned based on the target parameter. If the target parameter does not reach the preset standard, the secondary cleaning program is immediately started based on the current flow rate information. The secondary cleaning can be customized, using different cleaning agents, adjusting the flow rate and pressure, etc. to enhance the cleaning effect. The effectiveness of the waterway cleaning effect is ensured, and the necessary secondary cleaning mechanism is provided to improve the efficiency and reliability of the entire waterway cleaning process.

[0093] In one embodiment, the step S3 of cleaning the waterway to be cleaned based on the cleaning scheme comprises:

[0094] S301: monitoring the flow rate of the liquid between the nodes of the waterway to be cleaned in real time during the cleaning process through the sensor;

[0095] S302: dynamically adjusting the cleaning parameters in the cleaning scheme according to the monitored liquid flow rate.

[0096] As described in steps S301-S302 above, the current monitored flow rate is compared with the preset standard or target parameter value in real time, i.e., whether the flow rate change in the cleaning meets the requirements of the cleaning scheme is analyzed. If the flow rate is too low, it may indicate that the cleaning effect does not meet the expectation, and the cleaning agent concentration, flow rate or pressure needs to be increased. If the flow rate is normal, the current cleaning parameters are continuously maintained to ensure the smooth progress of the cleaning process. If the flow rate is abnormal (such as sudden drop), the cause needs to be quickly analyzed, and the cleaning may need to be paused and the system needs to be checked. The efficiency and flexibility of the cleaning process can be ensured. Real-time monitoring and dynamic adjustment form a closed-loop control system, so that the waterway cleaning can quickly respond to the actual flow rate change, maximize the cleaning effect, and ensure the long-term cleaning and operation efficiency of the waterway. This feedback control not only improves the intelligent level of the cleaning operation, but also enhances the overall management and effect evaluation ability of the waterway maintenance.

[0097] In one embodiment, before the step S1 of acquiring the structure information of each waterway node in the waterway to be cleaned of the water supply device, the method further comprises:

[0098] S001: Real-time monitoring of the liquid flow rate between each node of the waterway of the water supply device by a sensor;

[0099] S002: Determining whether at least one of the liquid flow rates is lower than a preset value;

[0100] S003: If at least one of the liquid flow rates is lower than the preset value, determining that the waterway needs to be cleaned.

[0101] As described in steps S001-S003 above, the liquid flow rate between each node of the waterway of the water supply device is monitored in real time by a sensor, and a preset flow rate value is set according to the waterway design standard or historical data, which will be used to determine the cleaning requirement of the waterway. The value should reflect the flow rate level under normal flow condition. According to the judgment result, if it is determined that at least one of the liquid flow rates is lower than the preset value, it is determined that the waterway system needs to be cleaned, and is marked as “waterway to be cleaned”. The waterway with cleaning requirement can be effectively identified in advance. This pre-judgment mechanism not only reduces the passivity of subsequent cleaning work, but also improves the utilization efficiency of resources.

[0102] In one embodiment, before the step S3 of cleaning the waterway to be cleaned based on the cleaning scheme, the method further comprises:

[0103] S211: Determining whether the water temperature in the waterway to be cleaned reaches a preset temperature;

[0104] S212: If the preset temperature is not reached, heating the water in the waterway to be cleaned to the preset temperature by a preset heater.

[0105] As described in steps S211-S212, temperature sensors are installed at some key positions of the waterway to be cleaned to monitor the water temperature in the waterway in real time. The sensors should be able to provide water temperature data at an appropriate frequency (e.g., every second). Based on the cleaning scheme and the requirements of the cleaning agent, a preset water temperature value is set. This temperature is usually the optimal water temperature for optimizing the cleaning effect, which is determined by experiment or historical data. Start the temperature sensor and collect the water temperature data in the waterway, and compare it with the set preset temperature. Through the data processing system, it is judged in real time whether the water temperature in the waterway to be cleaned reaches the preset temperature. If the temperature reaches, it enters the next cleaning process; if it does not reach, start the heating device: after confirming that the water temperature does not reach the preset value, start the heater (such as an electric heater or a steam heater) in the system. It should be noted that the heater can be a heater set in the water tank, i.e., a heater in the waterway to be cleaned, or an external heater that heats the water and inputs it into the waterway to be cleaned to heat the water in the waterway to the set temperature. Continue to use the temperature sensor to track the change of water temperature to ensure that the water temperature gradually rises and the state of the heater is fed back in time. The heating process continues until the water temperature reaches the preset temperature. The system needs to record the heating time and temperature change for subsequent analysis and adjustment. It can be ensured that the water temperature in the waterway to be cleaned meets the optimal cleaning requirements. The appropriate water temperature helps to improve the effect of the cleaning agent, speed up the dissolution and removal of dirt, and improve the efficiency and effect of the cleaning process.

[0106] The structure information includes the length distance between the waterway nodes and the aperture size of the waterway to be cleaned.

[0107] The beneficial effects of the present application are: obtaining the structure information of each waterway node in the waterway to be cleaned of the water supply device, generating a corresponding cleaning scheme, improving the cleaning effect and efficiency, and also providing strong support for long-term maintenance of the waterway system, ensuring the safety of drinking water, and reducing the operating cost. Overall, the method will effectively improve the working performance and user experience of the waterway.

[0108] Reference Figure 6 The present application also provides a waterway cleaning device, which comprises:

[0109] The acquisition module 10 is used to acquire the structure information of each waterway node in the waterway to be cleaned of the water supply device;

[0110] The generation module 20 is used to generate a cleaning scheme based on the structure information;

[0111] The cleaning module 30 is used to clean the waterway to be cleaned based on the cleaning scheme.

[0112] The structure information of each waterway node in the waterway to be cleaned of the water supply device is acquired, a corresponding directed cyclic graph is generated, and then a corresponding cleaning scheme is generated based on the directed cyclic graph, thereby improving the cleaning effect and efficiency, providing strong support for long-term maintenance of the waterway system, ensuring the safety of drinking water, reducing operating costs, and effectively improving the working performance of the waterway and user experience.

[0113] In one embodiment, the generating module 20 comprises:

[0114] A virtual distance calculation submodule is configured to acquire flow rates between each of the waterway nodes, and calculate virtual distances between adjacent two waterway nodes based on the flow rates and the structure information.

[0115] A directed cyclic graph construction submodule is configured to construct a directed cyclic graph based on the virtual distances and the mutual positional relationships of each of the waterway nodes in the waterway to be cleaned. Each node in the directed cyclic graph is composed of one of the waterway nodes, and the length of a line segment between each node and an adjacent node in the directed cyclic graph is the corresponding virtual distance.

[0116] A directed cyclic graph input submodule is configured to input the directed cyclic graph into a long short-term memory network model to obtain a cleaning code.

[0117] A cleaning code input submodule is configured to input the cleaning code and the structure information into a long short-term memory network decoder to obtain a cleaning scheme. The long short-term memory network model and the long short-term memory network decoder are trained by taking a plurality of directed cyclic graphs and corresponding structure information as input and taking the corresponding cleaning scheme as output.

[0118] In one embodiment, the cleaning code input submodule comprises:

[0119] A splitting unit is configured to split the cleaning code into a plurality of cleaning sub-codes in sequence.

[0120] An input unit is configured to sequentially input each of the cleaning sub-codes into the long short-term memory network decoder for decoding. For each cleaning sub-code, the hidden layer in the previous encoding and decoding process, the structure information, and the current cleaning sub-code are input into the long short-term memory network decoder to obtain a decoding result of the current cleaning sub-code.

[0121] A splicing unit is configured to splice the decoding results in sequence to obtain the cleaning scheme.

[0122] In one embodiment, the waterway cleaning device further comprises:

[0123] a target parameter detection module configured to detect a target parameter of liquid in each of the two adjacent waterway nodes after cleaning;

[0124] a target parameter judgment module configured to judge whether the target parameter meets a preset standard;

[0125] a secondary cleaning module configured to perform secondary cleaning on the waterway to be cleaned based on the target parameter if the preset standard is not met.

[0126] In one embodiment, the cleaning module 30 comprises:

[0127] a liquid flow rate monitoring submodule configured to monitor the liquid flow rate between each node of the waterway to be cleaned in real time through a sensor during the cleaning process;

[0128] a cleaning parameter adjustment submodule configured to dynamically adjust the cleaning parameters in the cleaning scheme according to the monitored liquid flow rate.

[0129] In one embodiment, the waterway cleaning device further comprises:

[0130] a liquid flow rate monitoring module configured to monitor the liquid flow rate between each node of the waterway of the water supply device in real time through a sensor;

[0131] a liquid flow rate judgment module configured to judge whether at least one of the liquid flow rates is lower than a preset value;

[0132] a judgment module configured to judge that the waterway is a waterway to be cleaned if at least one of the liquid flow rates is lower than the preset value.

[0133] In one embodiment, the waterway cleaning device further comprises:

[0134] a temperature judgment module configured to judge whether the water temperature in the waterway to be cleaned meets a preset temperature;

[0135] a heating module configured to heat the water in the waterway to be cleaned to the preset temperature through a preset heater if the preset temperature is not met.

[0136] Figure 7 FIG. 4 shows an internal structure diagram of a water supply device in one embodiment. The water supply device can be a terminal or a server. As shown in FIG. 4, the water supply device comprises a waterway 40, a water supply device 41, a waterway cleaning device 42, and a waterway to be cleaned 43. Figure 7As shown, the water supply device includes a processor, a memory and a network interface connected through a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the water supply device stores an operating system, and can also store a computer program which, when executed by the processor, enables the processor to implement the waterway cleaning method. The internal memory can also store a computer program which, when executed by the processor, enables the processor to execute the waterway cleaning method. Those skilled in the art can understand that Figure 7 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the water supply device to which the scheme of the present application is applied. A specific water supply device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0137] In one embodiment, a water supply device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the following steps:

[0138] Obtaining structure information of each waterway node in a waterway to be cleaned of the water supply device;

[0139] Generating a cleaning scheme based on the structure information;

[0140] Cleaning the waterway to be cleaned based on the cleaning scheme.

[0141] Obtaining structure information of each waterway node in a waterway to be cleaned of the water supply device, generating a corresponding directed cyclic graph, and then generating a corresponding cleaning scheme based on the directed cyclic graph, thereby improving the cleaning effect and efficiency, providing strong support for long-term maintenance of the waterway system, ensuring the safety of drinking water, reducing operating costs, and effectively improving the working performance of the waterway and user experience.

[0142] In one embodiment, a computer readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the following steps:

[0143] Obtaining structure information of each waterway node in a waterway to be cleaned of the water supply device;

[0144] Generating a cleaning scheme based on the structure information;

[0145] Cleaning the waterway to be cleaned based on the cleaning scheme.

[0146] The structural information of each water path node in the water path to be cleaned of the water supply device is acquired, a corresponding directed cyclic graph is generated, and then a corresponding cleaning scheme is generated based on the directed cyclic graph, thereby improving the cleaning effect and efficiency, providing strong support for long-term maintenance of the water path system, ensuring the safety of drinking water, reducing operation cost, and effectively improving the working performance of the water path and user experience.

[0147] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing related hardware, and the program can be stored in a non-volatile computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments of each method. In the embodiments provided in the present application, any reference to memory, storage, database or other medium can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0148] The technical features of the above embodiments can be combined in any way. To make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist, they should be considered as the scope of the present application.

[0149] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be noted that for ordinary skilled in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are within the scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A water system cleaning method, characterized in that, The method includes: Obtain the structural information of each water circuit node in the water circuit to be cleaned in the water supply device; A cleaning scheme is generated based on the structural information; The water path to be cleaned is cleaned according to the cleaning plan; The step of generating a cleaning scheme based on the structural information includes: The flow velocity between each of the waterway nodes is obtained, and the virtual distance between two adjacent waterway nodes is calculated based on the flow velocity and the structural information; the formula for calculating the virtual distance is as follows: ;in, Where d is the virtual distance, k is the actual distance between two adjacent waterway nodes, and k is a preset weighting coefficient. Indicates the maximum flow rate between nodes. Indicates flow rate; A directed cyclic graph is constructed based on the virtual distance and the relative positions of each waterway node in the waterway to be cleaned; wherein each node in the directed cyclic graph is composed of one waterway node, and the line segment length between each node and its adjacent node in the directed cyclic graph is the corresponding virtual distance. The directed cyclic graph is input into the long short-term memory network model to obtain the cleaning code; The cleaning code and the structural information are input into the Long Short-Term Memory (LSTM) network decoder to obtain the cleaning scheme; wherein, the LSM network model and the LSM network decoder are trained by taking multiple directed cyclic graphs and their corresponding structural information as inputs and the corresponding cleaning scheme as outputs.

2. The water system cleaning method according to claim 1, characterized in that, The step of inputting the cleaning code and the structural information into the Long Short-Term Memory network decoder to obtain the cleaning scheme includes: The cleaning code is split into multiple cleaning sub-codes in sequence; Each of the cleaning sub-encodes is sequentially input into the Long Short-Term Memory (LSTM) network decoder for decoding; wherein, the operation for each cleaning sub-encoder is to input the hidden layer from the previous encoding and decoding process, as well as the structural information and the current cleaning sub-encoder, into the LTM network decoder to obtain the decoding result of the current cleaning sub-encoder; The decoding results are concatenated in sequence to obtain the cleaning scheme.

3. The water system cleaning method according to claim 1, characterized in that, After the step of cleaning the water path to be cleaned based on the cleaning scheme, the method further includes: Detect the target parameters of the liquid in each pair of adjacent waterway nodes after cleaning; Determine whether the target parameter meets the preset standard; If the preset standard is not met, the water path to be cleaned will be cleaned a second time based on the target parameters.

4. The water system cleaning method according to claim 1, characterized in that, The structural information includes the length and distance between the waterway nodes and the aperture size of the waterway to be cleaned.

5. The water system cleaning method according to claim 1, characterized in that, Before the step of obtaining the structural information of each waterway node in the waterway to be cleaned in the water supply device, the method further includes: The liquid flow rate between various nodes of the water supply device is monitored in real time by sensors. Determine whether at least one liquid flow rate is lower than a preset value; If at least one liquid flow rate is lower than a preset value, the water path is determined to be a water path to be cleaned.

6. The water system cleaning method according to claim 1, characterized in that, Before the step of cleaning the water path to be cleaned based on the cleaning scheme, the method further includes: Determine whether the water temperature in the water circuit to be cleaned has reached the preset temperature; If the preset temperature is not reached, the water in the water circuit to be cleaned will be heated to the preset temperature by a preset heater.

7. A waterway cleaning device, characterized in that, The device includes: The acquisition module is used to acquire the structural information of each water circuit node in the water circuit to be cleaned in the water supply device; The generation module is used to generate a cleaning plan based on the structural information; A cleaning module is used to clean the water path to be cleaned based on the cleaning scheme. The generation module includes: The virtual distance calculation submodule is used to obtain the flow velocity between each of the waterway nodes, and calculate the virtual distance between two adjacent waterway nodes based on the flow velocity and the structural information; the formula for calculating the virtual distance is as follows: ;in, Where d is the virtual distance, k is the actual distance between two adjacent waterway nodes, and k is a preset weighting coefficient. Indicates the maximum flow rate between nodes. Indicates flow rate; A directed cyclic graph construction submodule is used to construct a directed cyclic graph based on the virtual distance and the relative positions of each of the waterway nodes in the waterway to be cleaned; wherein, each node in the directed cyclic graph is composed of one of the waterway nodes, and the line segment length between each node and its adjacent node in the directed cyclic graph is the corresponding virtual distance; The directed cyclic graph input submodule is used to input the directed cyclic graph into the long short-term memory network model to obtain the cleaned code; The cleaning encoding input submodule is used to input the cleaning encoding and the structural information into the Long Short-Term Memory (LSTM) network decoder to obtain the cleaning scheme; wherein, the LSM network model and the LSM network decoder are trained by taking multiple directed cyclic graphs and their corresponding structural information as inputs and the corresponding cleaning scheme as outputs.

8. A computer-readable storage medium, characterized in that, The system contains a computer program that, when executed by a processor, causes the processor to perform the steps of the waterway cleaning method as described in any one of claims 1 to 6.

9. A water supply device, characterized in that, The water supply device includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the water cleaning method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Intelligent control system and method for waterway sterilization and waterway system

    CN116443971A

  • Three-dimensional full-coverage path planning method for secondary water supply tank cleaning

    CN118095602A