Waterway cleaning method and device, water supply device and storage medium
By obtaining the structural information of the waterway nodes and generating a cleaning solution, the problem of the lack of real-time monitoring and targeted nature of traditional waterway cleaning methods is solved, achieving more efficient cleaning results and long-term maintenance of the waterway system.
Patent Information
- Application Number
- CN202510112329.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2045-01-23
AI Technical Summary
Traditional waterway cleaning methods lack real-time monitoring of flow velocity, dirt accumulation and waterway node status, resulting in insufficient targeted and effective cleaning, which may ignore certain areas with severe pollution, and may also cause excessive cleaning.
By obtaining the structural information of each waterway node in the waterway to be cleaned in the water supply device, a cleaning solution is generated, including building a directed and ring diagram, inputting it to a long and short-term memory network model to obtain a cleaning code, and generating a cleaning solution based on the structural information.
It improves the cleaning effect and efficiency, ensures long-term maintenance of the waterway system, ensures the safety of drinking water, reduces operating costs, and improves the working performance and user experience of the waterway.
Smart Images

Figure CN119819661A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water supply devices, and in particular to a waterway cleaning method, device, water supply device and storage medium. Background Art
[0002] With the acceleration of urbanization and the increasing demand for water resource management, the safety of drinking water and the maintenance of water 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, the accumulation of scale, sludge and microorganisms in water systems often leads to a decrease in flow rate and water pollution, thus affecting the normal operation of drinking water equipment.
[0003] Traditional waterway cleaning methods mainly rely on manual regular cleaning or simple immersion in chemical cleaning agents. During the cleaning process, there is a lack of real-time monitoring of flow rate, dirt accumulation and waterway node status, resulting in insufficient targeting and effectiveness of cleaning, which may lead to the neglect of certain severely polluted areas and excessive cleaning. Summary of the invention
[0004] Based on this, it is necessary to propose a water channel cleaning method, device, water supply device and storage medium to address the existing water channel cleaning problems.
[0005] A waterway cleaning method, the method comprising:
[0006] Acquire structural information of each water channel node in the water channel to be cleaned of the water supply device;
[0007] generating a cleaning solution based on the structural information;
[0008] The water channel to be cleaned is cleaned based on the cleaning scheme.
[0009] Furthermore, the step of generating a cleaning solution based on the structural information includes:
[0010] Acquire 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;
[0011] A directed cyclic graph is constructed based on the virtual distance and the relative position relationship 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 length of the line segment between each node and the 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 cleansing code;
[0013] The cleaning code and the structural information are input 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 the corresponding structural information as input and taking the corresponding cleaning scheme as output.
[0014] Furthermore, the step of inputting the cleaning code and the structural information into a long short-term memory network decoder to obtain a cleaning solution includes:
[0015] Sequentially split the cleaning code into a plurality of cleaning sub-codes;
[0016] Inputting each of the cleaning subcodes into the long short-term memory network decoder in order for decoding; wherein the operation on each cleaning subcode is to input the hidden layer in the previous encoding and decoding process and the structural information and the current cleaning subcode into the long short-term memory network decoder to obtain the decoding result of the current cleaning subcode;
[0017] The decoding results are concatenated in order to obtain the cleaning solution.
[0018] Furthermore, after the step of cleaning the waterway to be cleaned based on the cleaning scheme, the method further includes:
[0019] Detecting target parameters of liquid in each of two adjacent waterway nodes after cleaning;
[0020] Determining whether the target parameter meets a preset standard;
[0021] If the preset standard is not reached, the water channel to be cleaned is cleaned for a second time based on the target parameter.
[0022] Furthermore, the structural information includes the length distance between the water channel nodes and the aperture size of the water channel to be cleaned.
[0023] Furthermore, before the step of obtaining the structural information of each water channel node in the water channel to be cleaned of the water supply device, it also includes:
[0024] The liquid flow rate between each node of the water path of the water supply device is monitored in real time by sensors;
[0025] Determining whether at least one of the liquid flow rates is lower than a preset value;
[0026] If there is at least one liquid flow rate lower than a preset value, the waterway is determined to be a waterway to be cleaned.
[0027] Furthermore, before the step of cleaning the waterway to be cleaned based on the cleaning scheme, the step further includes:
[0028] Determining whether the water temperature in the water channel to be cleaned has reached a preset temperature;
[0029] If the preset temperature is not reached, the water in the water channel to be cleaned is heated to the preset temperature by a preset heater.
[0030] A waterway cleaning device, comprising:
[0031] An acquisition module, used to acquire structural information of each water channel node in the water channel to be cleaned of the water supply device;
[0032] A generation module, used for generating a cleaning solution based on the structural information;
[0033] A cleaning module is used to clean the water channel to be cleaned based on the cleaning scheme.
[0034] A water supply device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0035] Acquire structural information of each water channel node in the water channel to be cleaned of the water supply device;
[0036] generating a cleaning solution based on the structural information;
[0037] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following steps:
[0038] Acquire structural information of each water channel node in the water channel to be cleaned of the water supply device;
[0039] generating a cleaning solution based on the structural information;
[0040] The water channel to be cleaned is cleaned based on the cleaning scheme.
[0041] The beneficial effects of the present invention are as follows: the structural information of each waterway node in the waterway to be cleaned of the water supply device is obtained, and the corresponding cleaning plan is generated, which improves the cleaning effect and efficiency, and also provides strong support for the long-term maintenance of the waterway system, ensures the safety of drinking water, and reduces operating costs. Overall, this method will effectively improve the working performance of the waterway and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] in:
[0044] Figure 1 This is a schematic diagram of the water circuit structure of a water supply device in one embodiment;
[0045] Figure 2 A schematic diagram of the waterway structure of a water supply device in another embodiment;
[0046] Figure 3 This is a schematic diagram of the water circuit structure of a water supply device in another embodiment;
[0047] Figure 4 This is a schematic diagram of the overall structure of the water circuit of a water supply device in one embodiment;
[0048] Figure 5 A flow chart of a waterway cleaning method in one embodiment;
[0049] Figure 6 It is a structural block diagram of a waterway cleaning device in one embodiment;
[0050] Figure 7 It is a structural block diagram of a water supply device in one embodiment. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] Reference Figure 1-4In a specific embodiment, the water circuit of the water supply device includes: 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 connected to the third water circuit pipe 130; the first water circuit pipe 80 is connected to the heating unit 30, and the heating unit 30 is used to heat the liquid in the first water circuit pipe 80; the second water circuit pipe 90 is connected to the refrigeration unit 20, and the refrigeration unit 20 is used to cool the liquid in the second water circuit pipe 90; a first valve 40 is provided on the first water circuit pipe 80, and a second valve 50 is provided 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 includes a heating and heat storage module, a heat exchange module 301 and a fourth water pipeline. The heating and heat storage module is connected to the heat exchange module 301 through the fourth water pipeline. The heat exchange module 301 is connected to the first water pipeline 80 and the fourth water pipeline respectively. The heating and heat storage module is a module that heats and stores the heated liquid. The heating and heat storage module includes a heater 303 and a hot tank 302. The heater 303 is connected to the hot tank 302 and is used to heat the liquid in the hot tank 302. The hot tank 302 is connected to the heat exchange module 301 through the fourth water pipeline. A first water pump 150 is provided on the fourth water pipeline. The first water pump 150 is used to extract the liquid in the heating and heat storage module. The first water pump 150 is connected to the control unit 70. One end of the fourth water pipeline is connected to the water outlet 60 of the heating and heat storage module, and the other end of the fourth water pipeline is connected to the water inlet of the heating and heat storage module. The refrigeration unit 20 includes a cold tank and a refrigeration device, the refrigeration device is connected to the cold tank and is used to refrigerate the water in the cold tank, and the cold tank is connected to the second water pipe 90. The water channel structure of the water supply device also includes a water outlet unit, and the water outlet unit is in communication with the third water pipe 130. The water channel structure of the water supply device also includes a fourth water pipe, one end of the fourth water pipe is connected to the water supply port 10, and the other end is connected to the third water pipe 130, and a third valve is provided on the fourth water pipe. In one embodiment, the water channel structure of the water supply device also includes a temperature detection unit 120, and the temperature detection unit 120 is connected to the control unit 70, and the temperature detection unit 120 is connected to the third water pipe 130, and is used to detect the temperature of the liquid in the third water channel.
[0054] like Figure 5As shown, in one embodiment, a waterway cleaning method is provided. The method can be applied to both a terminal and a server. This embodiment is illustrated by applying to a terminal. The waterway cleaning method specifically includes the following steps:
[0055] S1: Obtaining structural information of each water channel node in the water channel to be cleaned of the water supply device;
[0056] S2: generating a cleaning solution based on the structural information;
[0057] S3: Cleaning the water channel to be cleaned based on the cleaning scheme.
[0058] As described in step S1 above, the structural information of the waterway to be cleaned of the water supply device is obtained. The preliminary identification of the entire waterway system usually includes the layout of the pipeline, the connectivity relationship, the node type, etc. Specifically, the location, type, diameter, valve, connection point and other information of the water pipe can be understood by viewing the design drawing, installation drawing or technical documentation of the waterway system. In some embodiments, the waterway can also be modeled using three-dimensional modeling software to obtain more intuitive structural information. After confirming the basic structure of the waterway, it is necessary to determine the specific information of each waterway node (such as intersection, valve, water outlet, etc.). Define the type of waterway node, such as water pipe interface, valve, elbow, etc., and mark important nodes. Use positioning technology to obtain the specific position of each node (for example, coordinates: 7, y, z), and then assign a unique identifier to each node for subsequent processing. After obtaining the location information of each waterway node, sensors such as electromagnetic flowmeters and ultrasonic flowmeters are installed between each waterway node in advance to monitor the flow rate in real time. The flow rate data is obtained regularly through the sensor, and the flow rate changes of the liquid between adjacent nodes are recorded. The collected raw flow rate data is filtered and processed to obtain clear flow rate information to ensure the accuracy and reliability of the data. The acquired structural 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, this information can be used for subsequent cleaning operation design. Determine whether certain areas need more frequent cleaning based on the node flow rate. In the formulation of the cleaning strategy, the specific location and flow rate of the node are taken into account to implement more accurate cleaning treatment.
[0059] As described in step S2 above, a cleaning scheme is generated based on the structural information. Specifically, assuming that the liquid flowing between nodes requires a certain amount of time t to complete the flow, the time can be calculated by the flow velocity v and the distance d, thereby deriving the virtual distance. The specific formula is: t = d / v. In actual calculations, the virtual distance can be defined as the distance that the liquid flows in the pipeline per unit time, and the distance can be adjusted by the flow velocity. Assuming that the flow velocity v is known and uniformly distributed, considering the specific impact of the flow velocity on the flow effect, a certain weight factor based on the flow velocity is added to define Among them, k is the preset weight coefficient, v max Indicates the maximum flow rate between nodes. Specifically, suppose there are two waterway nodes with the following location information:
[0060] Waterway node 1: (0,0,0)
[0061] Waterway node 2: (6,8,0)
[0062] Calculate the true distance:
[0063] Assuming the flow velocity v = 2m / s, the maximum flow velocity is 4m / s, and k is 1, then according to the formula
[0064] Based on 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 node lines, various cleaning lines can be generated. For example, please refer to Figure 4 Between the water outlet 10 and the wastewater outlet, there may be the first waterway pipe, the third waterway pipe, and then the fourth waterway pipe, or there may be the second waterway pipe, the third waterway pipe, and then the fourth waterway pipe. That is, a variety of different waterway cleaning routes can be set. Since a certain waterway pipe may be cleaned multiple times, intelligent design is required. When the cleaning effect of each pipe is achieved, cleaning resources are not wasted. Combined with the flow rate information between each node, the corresponding cleaning plan can be intelligently generated. The specific generation method will be described in detail later and will not be repeated here. The cleaning plan specifically includes a cleaning method, a concentration of a cleaning agent, a cleaning intensity, and a cleaning time.
[0065] As described in step S3 above, the water channel to be cleaned is cleaned based on the cleaning scheme. Specifically, first check whether the functions of the cleaning equipment are normal, including pumps, nozzles, chemical cleaning agent delivery devices, etc. Select the required tools according to the cleaning scheme, such as high-pressure water guns, cleaning brushes, cleaning agent sprayers, etc., to ensure the applicability of the tools. During the cleaning process, the cleaning effect can also be monitored in real time, which improves the cleaning effect and efficiency. At the same time, it also provides strong support for the long-term maintenance of the water system, ensures the safety of water, reduces operating costs, and effectively improves the working performance of the water channel and user experience. The generation of cleaning water at least includes temperature, flow rate, duration, or water treatment (bubble water, small molecule water, electrolytic hydroxyl, etc.).
[0066] In one embodiment, the step S2 of generating a cleaning solution based on the structural information includes:
[0067] S3201: Acquire 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;
[0068] S202: constructing a directed cyclic graph based on the virtual distance and the relative positional relationship between 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 length of the line segment between each node and the adjacent node in the directed cyclic graph is the corresponding virtual distance;
[0069] S203: inputting 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 structural 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 the corresponding structural information as input and taking the corresponding cleaning scheme as output.
[0071] As described in step S201 above, specifically, assuming that the liquid flowing between nodes requires a certain amount of time t to complete the flow, the time can be calculated by the flow velocity v and the distance d, thereby deriving the virtual distance. The specific formula is: t = d / v. In actual calculations, the virtual distance can be defined as the distance that the liquid flows in the pipe per unit time, and the distance can be adjusted by the flow velocity. Assuming that the flow velocity v is known and uniformly distributed, considering the specific impact of the flow velocity on the flow effect, a certain weight factor based on the flow velocity is added to define Among them, k is the preset weight coefficient, v max Indicates the maximum flow rate between nodes. Specifically, suppose there are two waterway nodes with the following location information:
[0072] Waterway node 1: (0,0,0)
[0073] Waterway node 2: (6,8,0)
[0074] Calculate the true distance:
[0075] Assuming the flow velocity v = 2m / s, the maximum flow velocity is 4m / s, and k is 1, then according to the formula
[0076] As described in step S202 above, a directed cyclic graph is constructed based on the virtual distance and the relative 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 connecting edge between the nodes to connect adjacent waterway nodes to form a directed cyclic graph (DAG). The length of each edge corresponds to the virtual distance between adjacent nodes. The direction of the arrow indicates the direction of liquid flow, which is convenient for simulating the flow process. Circularity indicates a possible reflux path, reflecting the circulation and reuse of the 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 the cleaning code, and the constructed directed cyclic graph is converted into a format suitable for the long short-term memory network (LSTM) model input. It can be represented by an adjacency matrix, node features, or graph convolutional network methods. Multiple directed cyclic graphs and corresponding cleaning schemes in the previous data set are used as training data, and the input graph features are learned using the LSTM model to capture the dynamic characteristics and change patterns of the waterway system.
[0078] As described in step S204 above, the cleaning code and the structural information are input into the long short-term memory network decoder to obtain a cleaning solution. The generated cleaning code is input into the long short-term memory network decoder together with the structural information of the waterway, and the decoder is responsible for generating a complete cleaning solution. During the decoding process, the cleaning parameters (such as flow rate, pressure, duration, etc.) in the cleaning solution are adjusted according to the cleaning code, and the influence of the structural information on the cleaning solution is considered to ensure the effectiveness and applicability of the cleaning method. The cleaning solution output by the decoder includes a specific cleaning method, a verification solution, and execution details, such as the cleaning sequence, the type and concentration of the cleaning agent used, the duration of cleaning, etc. It can make full use of the structural information of the waterway and the virtual distance model, combined with the powerful ability of deep learning, to generate an efficient and accurate cleaning solution. This method has good adaptability and intelligent characteristics, and can automatically adjust parameters in different waterway systems, thereby optimizing the efficiency of resource use while improving the cleaning effect.
[0079] In one embodiment, the step S204 of inputting the cleaning code and the structural information into a long short-term memory network decoder to obtain a cleaning solution includes:
[0080] S2041: Split the cleaning code into multiple cleaning sub-codes in order;
[0081] S2042: Inputting each of the cleaning sub-codes into the long short-term memory network decoder in order for decoding; wherein the operation on each cleaning sub-code is to input the hidden layer in the previous encoding and decoding process and the structural information and the current cleaning sub-code into the long short-term memory network decoder to obtain a decoding result of the current cleaning sub-code;
[0082] S2043: splicing the decoding results in order to obtain the cleaning solution.
[0083] As described in the above step S2041, the cleaning code is split into a plurality of cleaning sub-codes in sequence, and each sub-code represents information of two adjacent waterway nodes.
[0084] As described in step S2042 above, each cleaning sub-code is sequentially input into the LSTM decoder. Specifically, the hidden layer state in the previous encoding and decoding process is transferred to the decoding process of the current sub-code to ensure the coherence of information and the consistency of context. The current cleaning sub-code and the structural information of the waterway to be cleaned are input into the preset decoder together, and the current decoding result is generated in combination with the context and structural features.
[0085] As described in step S2043 above, the various decoding results are spliced in order to obtain the cleaning solution. All decoding results are spliced in order to form a complete cleaning solution. That is, the cleaning solution is a cleaning sub-solution for the waterway channel between each two adjacent waterway nodes, and finally a total cleaning solution is formed. Due to the information of the waterway structure, the waterway channels between each two adjacent waterway nodes will be connected in different ways, that is, one waterway channel may be connected to multiple different waterway cleaning channels, and this part may be cleaned multiple times. Therefore, it is necessary to transfer the hidden layer state in the previous encoding and decoding process to the decoding process of the current sub-encoding to achieve better planning of waterway cleaning and avoid waste of resources.
[0086] In one embodiment, after the step S3 of cleaning the waterway to be cleaned based on the cleaning scheme, the method further includes:
[0087] S401: Detecting target parameters of liquid in two adjacent waterway nodes after cleaning;
[0088] S402: Determine whether the target parameter meets a preset standard;
[0089] S403: If the preset standard is not reached, the water channel to be cleaned is cleaned for a second time based on the target parameter.
[0090] As described in step S401 above, sensors are set between adjacent nodes of the waterway to be cleaned to monitor the flow rate of the liquid passing through in real time, and the sensors are started and the target parameter data between each waterway node is recorded after the cleaning is completed. The target parameter can be the flow rate, or it can be water quality, light transmittance, turbidity, etc. The flow rate data can include information of different dimensions such as the average flow rate and instantaneous flow rate, which is convenient for making a comprehensive judgment.
[0091] As described in the above step S402, it is determined whether the target parameter reaches the preset standard, wherein the preset standard is a pre-set standard, which can be a flow rate range or a specific flow rate value, and these standards should be directly related to the safety and operating efficiency of the system.
[0092] As described in step S403 above, if the preset standard is not reached, the waterway to be cleaned is secondary cleaned based on the target parameter. If the target parameter does not reach the preset standard, the secondary cleaning procedure is immediately started based on the current flow rate information. The secondary cleaning can be customized, using different cleaning agents for the flow rate problems found, adjusting parameters such as flow rate and pressure, to enhance the cleaning effect. Effective verification 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 includes:
[0094] S301: During the cleaning process, the liquid flow rate between each node of the water channel to be cleaned is monitored in real time by a sensor;
[0095] S302: Dynamically adjust the cleaning parameters in the cleaning scheme according to the monitored liquid flow rate.
[0096] As described in the above steps S301-S302, the currently monitored flow rate is compared with the preset standard or target parameter value in real time, that is, the flow rate change during cleaning is analyzed to see whether it meets the requirements of the cleaning solution. If the flow rate is too low, it may indicate that the cleaning effect has not met expectations, and it is necessary to increase the concentration of the cleaning agent, increase the flow rate or pressure. If the flow rate is normal, continue to maintain the current cleaning parameters to ensure the smooth progress of the cleaning process. If the flow rate is abnormal (such as a sudden drop), the cause needs to be analyzed quickly, and the cleaning may need to be suspended and the system checked. It can ensure the efficiency and flexibility of the cleaning process. Real-time monitoring and dynamic adjustment form a closed-loop control system, so that waterway cleaning can respond quickly according to actual flow rate changes, maximize the cleaning effect, and ensure the long-term cleaning and operation efficiency of the waterway. This feedback control not only improves the intelligence level of the cleaning operation, but also enhances the comprehensive management and effect evaluation capabilities of waterway maintenance.
[0097] In one embodiment, before the step S1 of acquiring the structural information of each water channel node in the water channel to be cleaned of the water supply device, the method further includes:
[0098] S001: monitoring the liquid flow rate between various nodes of the water channel of the water supply device in real time through sensors;
[0099] S002: Determine whether there is at least one liquid flow rate lower than a preset value among the liquid flow rates;
[0100] S003: If there is at least one liquid flow rate lower than a preset value, the waterway is determined to be a waterway to be cleaned.
[0101] As described in the above steps S001-S003, the liquid flow rate between each node of the water channel of the water supply device is monitored in real time by sensors, and a preset flow rate value is set according to the water channel design standard or historical data. This value will be used to judge the cleaning needs of the water channel. This value should reflect the flow rate level under normal flow conditions. According to the judgment result, if it is determined that the liquid flow rate is lower than the preset value, it is determined that the water channel system needs to be cleaned and marked as "water channel to be cleaned". Water channels that need to be cleaned can be effectively identified in advance. This pre-judgment mechanism can not only reduce the passivity of subsequent cleaning work, but also improve the efficiency of resource utilization.
[0102] In one embodiment, before the step S3 of cleaning the waterway to be cleaned based on the cleaning scheme, the method further includes:
[0103] S211: Determine whether the water temperature in the water channel to be cleaned has reached a preset temperature;
[0104] S212: If the preset temperature is not reached, the water in the water channel to be cleaned is heated to the preset temperature by a preset heater.
[0105] As described in the above steps S211-S212, temperature sensors are installed at certain key positions of the water channel to be cleaned to monitor the water temperature in the water channel in real time. The sensor should be able to provide water temperature data at an appropriate frequency (such as per second). A preset water temperature value is set based on the requirements of the cleaning scheme and the cleaning agent. This temperature is usually the optimal water temperature for optimizing the cleaning effect, which is determined by experiments or historical data. The temperature sensor is started, and the water temperature data in the water channel is collected and compared with the preset temperature. Through the data processing system, it is judged in real time whether the water temperature in the water channel to be cleaned reaches the preset temperature. If the temperature is reached, the next cleaning process is entered; if not, the heating device is started: after confirming that the water temperature has not reached the preset value, the heater in the system (such as an electric heater or a steam heater) is started. It should be noted that the heater can be a heater set in a water tank, that is, a heater in the water channel to be cleaned, or an external heater. The external heater heats the water and then inputs it into the water channel to be cleaned to heat the water in the water channel to the set temperature. Continue to use the temperature sensor to track the change of water temperature, ensure that the water temperature gradually rises, and timely feedback the status of the heater. The heating process continues until the water temperature reaches the preset temperature. The system needs to record the heating time and temperature changes for subsequent analysis and adjustment. It can ensure 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 structural information includes the length distance between the water channel nodes and the aperture size of the water channel to be cleaned.
[0107] The beneficial effects of the present invention are as follows: the structural information of each waterway node in the waterway to be cleaned of the water supply device is obtained, and the corresponding cleaning plan is generated, which improves the cleaning effect and efficiency, and also provides strong support for the long-term maintenance of the waterway system, ensures the safety of drinking water, and reduces operating costs. Overall, this method will effectively improve the working performance of the waterway and the user experience.
[0108] Reference Figure 6 The present invention also provides a waterway cleaning device, the device comprising:
[0109] An acquisition module 10 is used to acquire structural information of each water channel node in the water channel to be cleaned of the water supply device;
[0110] A generating module 20, configured to generate a cleaning solution based on the structural information;
[0111] The cleaning module 30 is used to clean the water channel to be cleaned based on the cleaning scheme.
[0112] The structural information of each water channel node in the water channel to be cleaned of the water supply device is obtained, the corresponding directed cyclic graph is generated, and then the corresponding cleaning plan is generated based on the directed cyclic graph, which improves the cleaning effect and efficiency. At the same time, it also provides strong support for the long-term maintenance of the water channel system, ensures the safety of drinking water, reduces operating costs, and effectively improves the working performance of the water channel and user experience.
[0113] In one embodiment, the generating module 20 includes:
[0114] A virtual distance calculation submodule, used for obtaining the flow velocity between each of the waterway nodes, and calculating the virtual distance between two adjacent waterway nodes based on the flow velocity and the structural information;
[0115] A directed cyclic graph construction submodule, used to construct a directed cyclic graph based on the virtual distance and the relative position relationship between each of the waterway nodes 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 the adjacent node in the directed cyclic graph is the corresponding virtual distance;
[0116] A directed cyclic graph input submodule, used for inputting the directed cyclic graph into a long short-term memory network model to obtain a cleansing code;
[0117] The cleaning code input submodule is used to input the cleaning code and the structural information into the 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 the corresponding structural information as input and taking the corresponding cleaning scheme as output.
[0118] In one embodiment, the cleaning code input submodule includes:
[0119] A splitting unit, used for splitting the cleaning code into a plurality of cleaning sub-codes in sequence;
[0120] An input unit is used to input each of the cleaning sub-codes into the long short-term memory network decoder in order for decoding; wherein the operation on each cleaning sub-code is to input the hidden layer in the previous encoding and decoding process and the structural information and the current cleaning sub-code into the long short-term memory network decoder to obtain a decoding result of the current cleaning sub-code;
[0121] The splicing unit is used to splice the decoding results in sequence to obtain the cleaning solution.
[0122] In one embodiment, the waterway cleaning device further includes:
[0123] A target parameter detection module, used to detect the target parameters of the liquid in each of two adjacent waterway nodes after cleaning;
[0124] A target parameter judgment module is used to judge whether the target parameter meets the preset standard;
[0125] The secondary cleaning module is used to perform secondary cleaning on the water channel to be cleaned based on the target parameter if the preset standard is not reached.
[0126] In one embodiment, the cleaning module 30 comprises:
[0127] The liquid flow rate monitoring submodule is used to monitor the liquid flow rate between various nodes of the water channel to be cleaned in real time through sensors during the cleaning process;
[0128] The cleaning parameter adjustment submodule is used 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, used to monitor the liquid flow rate between various nodes of the water path of the water supply device in real time through sensors;
[0131] A liquid flow rate determination module, used to determine whether there is at least one liquid flow rate lower than a preset value among the liquid flow rates;
[0132] The determination module is used to determine that the waterway is a waterway to be cleaned if at least one liquid flow rate is lower than a preset value.
[0133] In one embodiment, the waterway cleaning device further comprises:
[0134] A temperature judgment module, used to judge whether the water temperature in the water channel to be cleaned has reached a preset temperature;
[0135] The heating module is used to heat the water in the water channel to be cleaned to a preset temperature through a preset heater if the preset temperature has not been reached.
[0136] Figure 7 FIG. 1 shows an internal structure diagram of a water supply device in an embodiment. The water supply device may be a terminal or a server. Figure 7As shown, the water supply device includes a processor, a memory and a network interface connected via 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 may also store a computer program. When the computer program is executed by the processor, the processor can implement the waterway cleaning method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement the waterway cleaning method. Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a partial 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. The specific water supply device may 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, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0138] Acquire structural information of each water channel node in the water channel to be cleaned of the water supply device;
[0139] generating a cleaning solution based on the structural information;
[0140] The water channel to be cleaned is cleaned based on the cleaning scheme.
[0141] The structural information of each water channel node in the water channel to be cleaned of the water supply device is obtained, the corresponding directed cyclic graph is generated, and then the corresponding cleaning plan is generated based on the directed cyclic graph, which improves the cleaning effect and efficiency. At the same time, it also provides strong support for the long-term maintenance of the water channel system, ensures the safety of drinking water, reduces operating costs, and effectively improves the working performance of the water channel and user experience.
[0142] In one embodiment, a computer-readable storage medium is provided, storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
[0143] Obtaining structural information of each water channel node in the water channel to be cleaned of the water supply device;
[0144] generating a cleaning solution based on the structural information;
[0145] The water channel to be cleaned is cleaned based on the cleaning scheme.
[0146] The structural information of each water channel node in the water channel to be cleaned of the water supply device is obtained, the corresponding directed cyclic graph is generated, and then the corresponding cleaning plan is generated based on the directed cyclic graph, which improves the cleaning effect and efficiency. At the same time, it also provides strong support for the long-term maintenance of the water channel system, ensures the safety of drinking water, reduces operating costs, and effectively improves the working performance of the water channel and user experience.
[0147] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, 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 embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0148] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0149] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A waterway cleaning method, characterized in that: The method comprises: Obtaining structural information of each water channel node in the water channel to be cleaned of the water supply device; generating a cleaning solution based on the structural information; The water channel to be cleaned is cleaned based on the cleaning scheme.
2. The waterway cleaning method according to claim 1, characterized in that: The step of generating a cleaning solution based on the structural information comprises: Acquire 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; A directed cyclic graph is constructed based on the virtual distance and the relative position relationship 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 length of the line segment between each node and the adjacent node in the directed cyclic graph is the corresponding virtual distance; Inputting the directed cyclic graph into a long short-term memory network model to obtain a cleansing code; The cleaning code and the structural information are input 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 the corresponding structural information as input and taking the corresponding cleaning scheme as output.
3. The waterway cleaning method according to claim 2, characterized in that: The step of inputting the cleaning code and the structural information into a long short-term memory network decoder to obtain a cleaning solution comprises: Sequentially split the cleaning code into a plurality of cleaning sub-codes; Inputting each of the cleaning subcodes into the long short-term memory network decoder in order for decoding; wherein the operation on each cleaning subcode is to input the hidden layer in the previous encoding and decoding process and the structural information and the current cleaning subcode into the long short-term memory network decoder to obtain the decoding result of the current cleaning subcode; The decoding results are concatenated in order to obtain the cleaning solution.
4. The waterway cleaning method according to claim 1, characterized in that: After the step of cleaning the waterway to be cleaned based on the cleaning scheme, the method further includes: Detecting target parameters of liquid in each of two adjacent waterway nodes after cleaning; Determining whether the target parameter meets a preset standard; If the preset standard is not reached, the water channel to be cleaned is cleaned for a second time based on the target parameter.
5. The waterway cleaning method according to claim 1, characterized in that: The structural information includes the length distance between the water channel nodes and the aperture size of the water channel to be cleaned.
6. The waterway cleaning method according to claim 1, characterized in that: Before the step of obtaining the structural information of each water channel node in the water channel to be cleaned of the water supply device, the method further includes: The liquid flow rate between each node of the water path of the water supply device is monitored in real time by sensors; Determining whether at least one of the liquid flow rates is lower than a preset value; If there is at least one liquid flow rate lower than a preset value, the waterway is determined to be a waterway to be cleaned.
7. The waterway cleaning method according to claim 1, characterized in that: Before the step of cleaning the waterway to be cleaned based on the cleaning scheme, the method further includes: Determining whether the water temperature in the water channel to be cleaned has reached a preset temperature; If the preset temperature is not reached, the water in the water channel to be cleaned is heated to the preset temperature by a preset heater.
8. A waterway cleaning device, characterized in that: The device comprises: An acquisition module, used to acquire structural information of each water channel node in the water channel to be cleaned of the water supply device; A generation module, used for generating a cleaning solution based on the structural information; A cleaning module is used to clean the water channel to be cleaned based on the cleaning scheme.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor executes the steps of the water channel cleaning method according to any one of claims 1 to 7.
10. A water supply device, characterized in that: The water supply device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the water channel cleaning method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Intelligent control system and method for waterway sterilization and waterway system
CN116443971A
Drainage pipeline cleaning method based on novel path exploration algorithm
CN117669105A
Three-dimensional full-coverage path planning method for secondary water supply tank cleaning
CN118095602A
Water distribution pipe network route search device and water distribution control device using the device
JP2004092285A