Wastewater control method and device, water purification equipment and storage medium
By using control components and wastewater switching valves in water purification equipment, dynamically adjusting wastewater discharge methods in combination with targets and historical water quality, the problem that water purifiers in the prior art cannot take into account complex municipal water and user habits, and improve the purification Water effects and user experience.
Patent Information
- Application Number
- CN202411169114.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-05
AI Technical Summary
Due to the fixed single wastewater discharge method of existing water purifiers, the water purification effect and user experience cannot be taken into account in the complex municipal water conditions and user habits in different regions.
By introducing control components and wastewater switching valves into the water purification equipment, combining the target water quality, current water quality and historical water quality input by the user, the wastewater switching valves are dynamically adjusted to achieve a variety of wastewater discharge methods to adapt to complex municipal water conditions and user habits.
It improves the flexibility of wastewater discharge, enhances water purification effect and user experience, and ensures effective wastewater treatment in different situations.
Smart Images

Figure CN118894564A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water purification equipment, and in particular to a wastewater control method, device, water purification equipment and storage medium. Background Art
[0002] With economic development and the improvement of living standards, people have higher and higher requirements for the quality of life, including the quality of drinking water. Water purifiers have become an indispensable household appliance for every family. Water purifiers are mainly used to remove impurities, microorganisms and harmful substances in water, thereby providing safe and clean drinking water.
[0003] However, the municipal water situation in each region is complex, and the municipal water quality in different cities is different and easily affected by seasonal changes. Existing water purifiers usually have only a single wastewater flow rate and can only discharge wastewater according to the fixed method set by the user. However, due to the different municipal water conditions in various regions, the single fixed wastewater discharge method of existing water purifiers cannot take into account the complex municipal water situation and user habits, which will not only affect the water purification effect, but also greatly affect the user experience. Summary of the invention
[0004] The present application provides a wastewater control method, device, water purification equipment and storage medium, which can take into account factors such as complex municipal water conditions and user habits to discharge wastewater in different ways, thereby improving water purification effects and user experience.
[0005] In a first aspect, the present application provides a wastewater control method, which is applied to a water purification device, wherein the water purification device includes a control component and a wastewater switching valve, and the wastewater control method includes:
[0006] receiving a user instruction and determining a target water quality corresponding to the user instruction;
[0007] Obtaining the current water quality and historical water quality of the water purification equipment;
[0008] Based on the target water quality, the current water quality and the historical water quality conditions, a target wastewater switching valve is determined, and the target wastewater switching valve is activated by the control component to discharge wastewater.
[0009] In a possible implementation of the first aspect, the method further includes:
[0010] When the target wastewater switching valve is activated by the control component to discharge wastewater, the latest water quality information of the water purification equipment is detected in real time;
[0011] Based on the latest water quality information and the target water quality, dynamically adjusting the target wastewater switching valve;
[0012] The adjusted target wastewater switching valve is started by the control component to discharge wastewater.
[0013] In a possible implementation of the first aspect, determining a target wastewater switching valve based on the target water quality, the current water quality, and the historical water quality includes:
[0014] constructing a water quality adjustment model based on the historical water quality conditions;
[0015] Inputting the target water quality and the current water quality into the water quality adjustment model, and outputting a water quality adjustment strategy;
[0016] Based on the water quality adjustment strategy, a target wastewater switching valve corresponding to the target time is determined.
[0017] In a possible implementation manner of the first aspect, constructing a water quality adjustment model based on the historical water quality conditions includes:
[0018] Constructing a training data set based on the historical water quality conditions, wherein the historical water quality conditions include the user's historical set target water quality, historical raw water quality data of the water purification equipment, historical pure water data, historical wastewater data, and historical wastewater switching valve data;
[0019] Training the initial water quality adjustment model using the training data set, and adjusting model parameters of the initial water quality adjustment model;
[0020] The initial water quality adjustment model is continuously trained based on the adjusted model parameters until the training conditions are met, thereby obtaining a trained water quality adjustment model.
[0021] In a possible implementation manner of the first aspect, starting the target wastewater switching valve by the control component to discharge wastewater includes:
[0022] Determine a target wastewater pipeline corresponding to the target wastewater switching valve;
[0023] Switching the wastewater switching valve of the water purification equipment to the target wastewater switching valve through the control component, so that the target wastewater pipeline is connected to the water purification equipment;
[0024] When the water purification device performs a water purification task, the target wastewater valve is started by the control component to discharge the wastewater flowing out of the water purification device through the target wastewater pipeline.
[0025] In a possible implementation manner of the first aspect, the receiving a user instruction and determining a target water quality corresponding to the user instruction includes:
[0026] Receive user instructions and obtain target water quality requirement information corresponding to the user instructions;
[0027] Based on the target water quality requirement information, the target water quality corresponding to the user instruction is determined.
[0028] In a possible implementation manner of the first aspect, the water purification device includes a detection component and an information acquisition component, and the obtaining of current water quality and historical water quality conditions of the water purification device includes:
[0029] In response to the first water quality acquisition instruction, the detection component detects the current water quality of the water inlet pipe in the water purification device;
[0030] In response to the second water quality acquisition instruction, the historical water quality conditions of the water purification device stored in the local database or uploaded to the cloud server are acquired through the information acquisition component.
[0031] In a second aspect, the present application provides a wastewater control device, which is applied to a water purification device, wherein the water purification device includes a control component and a wastewater switching valve, and the device includes:
[0032] A determination module, used to receive a user instruction and determine a target water quality corresponding to the user instruction;
[0033] An acquisition module, used to obtain the current water quality and historical water quality of the water purification equipment;
[0034] The control module is used to determine the target wastewater switching valve based on the target water quality, the current water quality and the historical water quality, and to start the target wastewater switching valve to discharge wastewater through the control component.
[0035] In a third aspect, the present application provides a water purification device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the wastewater control method as described in the first aspect when executing the computer program.
[0036] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the wastewater control method as described in the first aspect are implemented.
[0037] As described above, the present application provides a wastewater control method, device, water purification equipment and storage medium. First, a user instruction is received, and the target water quality corresponding to the user instruction is determined; then, the current water quality and historical water quality of the water purification equipment are obtained; then, based on the target water quality, the current water quality and the historical water quality, the target wastewater switching valve of this water purification task is determined, and finally, the target wastewater switching valve is started by the control component so that the water purification equipment discharges wastewater after switching to the target wastewater switching valve. It can be seen that the wastewater control scheme provided by the present application determines the target wastewater switching valve by combining the target water quality input by the user, the current water quality of the water purification equipment and the historical water quality set in history, thereby providing a variety of wastewater flow control schemes under different circumstances by switching the wastewater switching valve, realizing a variety of wastewater discharge methods, solving the problem that the prior art has only a single fixed wastewater discharge method, which cannot take into account the complex municipal water conditions and different user habits in different regions, and can effectively take into account the complex municipal water conditions and user habits to discharge wastewater in different ways, improve the flexibility of wastewater discharge, and thus improve the water purification effect and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] in:
[0040] Figure 1 This is an application environment diagram of the wastewater control method provided in the embodiment of the present application.
[0041] Figure 2 It is a flow chart of the wastewater control method provided in the embodiment of the present application.
[0042] Figure 3 It is another flow chart of the wastewater control method provided in the embodiment of the present application.
[0043] Figure 4 It is a flowchart of step S3 provided in an embodiment of the present application.
[0044] Figure 5 It is a flowchart of step S31 provided in an embodiment of the present application.
[0045] Figure 6 This is another flowchart of step S3 provided in an embodiment of the present application.
[0046] Figure 7It is a schematic diagram of the structure of the wastewater control device provided in the embodiment of the present application.
[0047] Figure 8 It is another structural schematic diagram of the wastewater control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0051] The wastewater control method provided by the embodiment of the present invention can be applied in Figure 1 In an application environment, the application environment includes: a processor 1, a memory 2, a detection component 31, an information acquisition component 32, a control component 33 and a wastewater switching valve 34, and the processor 1 is electrically connected to the memory 2, the detection component 31, the information acquisition component 32, the control component 33 and the wastewater switching valve 34.
[0052] When the processor 1 executes the computer program, the following steps are implemented: receiving user instructions and determining the target water quality corresponding to the user instructions; obtaining the current water quality and historical water quality of the water purification equipment; determining the target wastewater switching valve based on the target water quality, current water quality and historical water quality, and starting the target wastewater switching valve through the control component to discharge wastewater. Thus, wastewater discharge in various ways is realized, the flexibility of wastewater discharge is improved, and the water purification effect and user experience are improved.
[0053] Figure 1The application environment is suitable for water purification equipment, which may include an inlet pipe, a wastewater pipe, a detection component, an information acquisition component, a control component, a wastewater switching valve, a processor, a memory, and a computer program stored in the memory and can be run on the processor, wherein the water inlet end of the wastewater pipe is connected to the water outlet end of the wastewater switching valve; in addition, the water outlet of the inlet pipe can be connected to the water inlet end of the purification and filtration module in the water purification equipment, and the water outlet end of the purification and filtration module is connected to the water inlet end of the wastewater switching valve.
[0054] It is understandable that the water purification equipment may also include other components, such as a power supply component, the input end of the power supply component is electrically connected to the AC power supply, and the output end of the power supply component inputs electrical energy to the electrical components of the water purification equipment (that is, the control component, the detection component, the memory, the processor), which is not limited here.
[0055] The present invention is described in detail below through specific embodiments.
[0056] See also Figure 2 As shown, Figure 2 A schematic flow chart of a first implementation of a wastewater control method provided in an embodiment of the present invention, wherein the wastewater control method is applied to a water purification device, wherein the water purification device includes a control component and a wastewater switching valve, and the wastewater control method may specifically include:
[0057] S1. Receive user instructions and determine the target water quality corresponding to the user instructions;
[0058] Specifically, for step S1, after the water purification device receives a user instruction initiated by the user, such as an instruction for the user to input the target water quality, the target water quality corresponding to the user instruction is determined by identifying the user instruction. For example, the target water quality can be the soft water level or TDS value input by the user.
[0059] In addition, the user instruction can be generated by the user clicking the water purification button on the display screen of the water purification device, or by the user initiating a request through the APP of the smart mobile terminal, or after the user pre-sets a scheduled water purification task, a pre-set user instruction is generated when the current time reaches the preset time. No specific restrictions are made here.
[0060] S2. Obtain the current and historical water quality of the water purification equipment;
[0061] Specifically, for step S2, after determining the target water quality corresponding to the user instruction, it is also necessary to obtain the original water quality of the area where the water purification equipment is currently located. Since the municipal water conditions in various regions are different, the original water quality conditions corresponding to different regions are also different. Therefore, it is necessary to obtain the original water quality of the area where the water purification equipment is currently located in order to carry out subsequent water purification and wastewater flow control; in addition, it is also necessary to obtain the historical water quality of the water purification equipment. The historical water quality conditions may include the target water quality historically set by the user, the historical water quality conditions of the area where the water purification equipment is located, and the historical water quality conditions of the water purification equipment at different times.
[0062] S3. Based on the target water quality, current water quality and historical water quality, determine the target wastewater switching valve, and start the target wastewater switching valve for wastewater discharge through the control component;
[0063] Specifically, due to different water purity requirements or flow requirements, the wastewater discharge method and flow control selected by the water purification equipment also need to be different. For example, when the user needs the water quality purity of the water purification equipment to be higher, the waterway with a wastewater plug with a larger flow rate can be connected, and the wastewater discharge volume is large. Correspondingly, the desalination rate of the water purification equipment will also be improved, and the water quality purity is higher; when the user wants to save water more, the waterway with a wastewater plug with a smaller flow rate is connected. Therefore, for step S3, after determining the target water quality of this water purification task, the current water quality and historical water quality of the water purification equipment, the target wastewater switching valve required for this water purification task is first determined according to the target water quality, current water quality and historical water quality, and the switching of the wastewater switching valve is controlled by the control component to switch to the target wastewater switching valve, so that when the water purification equipment performs the water purification task, the target wastewater switching valve is started by the control component, so that the water purification equipment can discharge wastewater through the wastewater pipeline corresponding to the target wastewater switching valve.
[0064] To summarize, the wastewater control method provided in this embodiment first determines the target wastewater switching valve by combining the target water quality input by the user, the current water quality of the water purification equipment and the historical water quality conditions set historically, thereby providing a variety of wastewater flow control schemes under different situations by switching the wastewater switching valve, and realizing a variety of wastewater discharge methods. This solves the problem that the prior art has only one single fixed wastewater discharge method, which makes it impossible to take into account the complex municipal water conditions and different user habits in different regions. It can effectively take into account the complex municipal water conditions and user habits to discharge wastewater in different ways, improve the flexibility of wastewater discharge, and thus improve the water purification effect and user experience.
[0065] Furthermore, if Figure 3 As shown, in some embodiments, the wastewater control method may further include:
[0066] S41. When the target wastewater switching valve is activated by the control component for wastewater discharge, the latest water quality information of the water purification equipment is detected in real time;
[0067] S42. Dynamically adjust the target wastewater switching valve based on the latest water quality information and target water quality;
[0068] S43. Start the adjusted target wastewater switching valve through the control component to discharge wastewater.
[0069] In a specific embodiment, the wastewater control method in this embodiment also specifically provides a way to dynamically adjust the wastewater switching valve. When the control component starts to discharge the wastewater by starting the determined target wastewater switching valve, the detection component can be used to detect in real time the current latest water quality information of the water purification equipment in the process of performing the water purification task, such as detecting the latest water quality information of the water inlet pipe of the water purification equipment or the latest water quality information of the wastewater pipe, so as to judge whether the current target wastewater switching valve needs to be dynamically adjusted according to the latest water quality information and the target water quality input by the user. For example, when it is judged that the current difference between the latest water quality and the target water quality is inconsistent with the difference before the water purification task is performed, it is necessary to dynamically adjust the target wastewater switching valve to obtain the adjusted target wastewater switching valve, so as to start the adjusted target wastewater switching valve through the control component to discharge the wastewater, and realize the effect of dynamically adjusting the wastewater switching valve by the water purification equipment in real time detecting the water quality during drainage, so as to effectively further enhance the water purification effect and save water resources.
[0070] Furthermore, if Figure 4 As shown, in some embodiments, the "determining the target wastewater switching valve based on the target water quality, current water quality and historical water quality conditions" in step S3 may specifically include:
[0071] S31. Construct a water quality adjustment model based on historical water quality conditions;
[0072] S32. Input the target water quality and the current water quality into the water quality adjustment model, and output a water quality adjustment strategy;
[0073] S33. Based on the water quality adjustment strategy, determine the corresponding target wastewater switching valve within the target time.
[0074] Specifically, for determining the target wastewater switching valve in step S3, firstly, a water quality adjustment model is constructed based on the historical water quality conditions obtained, and the water quality adjustment model is used to output a water quality adjustment strategy. The water quality model can be a deep neural network model, a decision support model, or a deep learning model; then the obtained target water quality and current water quality are input into the constructed water quality adjustment model, so that the corresponding water quality adjustment strategy is output through the water quality adjustment model, and the water quality adjustment strategy can include the corresponding target wastewater switching valves in multiple time periods. Finally, the target wastewater switching valves that need to be activated in different target times for this water purification task are determined based on the water quality adjustment strategy. This embodiment determines the target wastewater switching valve by combining the target water quality, the current water quality, and the historical water quality conditions, thereby taking into account the complex municipal water conditions and the problems of different user habits to provide different wastewater discharge methods.
[0075] Furthermore, if Figure 5 As shown, in some embodiments, step S31 "constructing a water quality adjustment model based on historical water quality conditions" may specifically include:
[0076] S311. Construct a training data set based on historical water quality conditions, including historical user-set target water quality, historical raw water quality data of water purification equipment, historical pure water data, historical wastewater data, and historical wastewater switching valve data;
[0077] S312. Train the initial water quality adjustment model through the training data set, and adjust the model parameters of the initial water quality adjustment model;
[0078] S313. Continue to train the initial water quality adjustment model based on the adjusted model parameters until the training conditions are met, thereby obtaining a trained water quality adjustment model.
[0079] In a specific embodiment, for step S31 to construct a water quality adjustment model, the specific process is as follows: first, the historical water quality of the water purification equipment is obtained. The historical water quality in this embodiment may specifically include one or more of the user's historical set target water quality, the historical original water quality data of the water purification equipment, the historical pure water data, the historical wastewater data, and the historical wastewater switching valve data. Then, a training data set is constructed according to the historical water quality conditions, and the initial water quality adjustment model is trained by the constructed training data set. The model parameters of the initial water quality adjustment model are adjusted according to the training results. For example, the training data set is input into the initial water quality adjustment model to obtain a sample water quality adjustment strategy. The sample water quality adjustment strategy is compared with the historical water quality adjustment strategy to determine the model parameters of the initial water quality adjustment model adjusted according to the comparison results. Finally, the initial water quality adjustment model is continued to be trained based on the adjusted model parameters until the preset training condition position is met. For example, the error value or loss value between the sample water quality adjustment strategy and the historical water quality adjustment strategy meets the preset value, and a trained water quality adjustment model is obtained. This embodiment trains the water quality adjustment model based on the historical water quality conditions and historical water quality adjustment strategies after the water purification equipment performs a water purification task each time, achieves the effect of iterative updating of the model, improves the accuracy and reliability of the water quality adjustment model, and is conducive to further improving the water purification effect.
[0080] Furthermore, if Figure 6 As shown, in some embodiments, the "starting the target wastewater switching valve to discharge wastewater by the control component" in step S3 may specifically include:
[0081] S34. Determine the target wastewater pipe corresponding to the target wastewater switching valve;
[0082] S35. Switching the wastewater switching valve of the water purification equipment to the target wastewater switching valve through the control component so that the target wastewater pipeline is connected to the water purification equipment;
[0083] S36. When the water purification device performs the water purification task, the target wastewater valve is started by the control component to discharge the wastewater flowing out of the water purification device through the target wastewater pipeline.
[0084] In a specific embodiment, for the wastewater discharge in step S3, the specific method is as follows: first determine the target wastewater pipe corresponding to the target wastewater switching valve required for this water purification task, then, the water purification equipment is provided with a plurality of wastewater plugs with inconsistent wastewater flow rates, and the wastewater switching valve of the water purification equipment is switched to the target wastewater switching valve by the control component, so that the water purification equipment is connected to the target wastewater pipe corresponding to the target wastewater switching valve, and the wastewater flow of the wastewater plug in the target wastewater pipe matches the difference between the target water quality value and the original water quality value; after the water purification equipment is connected to the target wastewater pipe, when the water purification equipment performs the water purification task, the target wastewater valve is started by the control component, and the wastewater flowing out of the water purification equipment will flow out through the target wastewater pipe, and the wastewater will be discharged according to the wastewater flow rate corresponding to the target wastewater pipe. This embodiment can effectively take into account different municipal water conditions and user habits by switching the wastewater switching valve to connect wastewater pipes with different wastewater flows for wastewater discharge, thereby improving the water purification effect and user experience.
[0085] Further, in some embodiments, step S1 “receiving a user instruction and determining a target water quality corresponding to the user instruction” may specifically include:
[0086] S11. Receive user instructions and obtain target water quality demand information corresponding to the user instructions;
[0087] S12. Based on the target water quality requirement information, determine the target water quality corresponding to the user instruction.
[0088] In a specific embodiment, after receiving a user instruction, the user instruction needs to be identified first, and the target water quality requirement information set by the user in the user instruction is identified, such as the target water quality requirement of the soft water level or the pure water TDS value that meets the user input value, and then the target water quality corresponding to this user instruction is determined according to the target water quality requirement information. This embodiment can quickly and accurately identify the target water quality input by the user this time by identifying the user instruction.
[0089] Furthermore, in some embodiments, the water purification device includes a detection component and an information acquisition component, and step S2 "obtaining the current water quality and historical water quality of the water purification device" may specifically include:
[0090] S21. In response to the first water quality acquisition instruction, the current water quality of the water inlet pipe in the water purification device is detected by the detection component;
[0091] S22. In response to the second water quality acquisition instruction, the historical water quality information stored in the local database or uploaded to the cloud server by the water purification device is obtained through the information acquisition component.
[0092] In a specific embodiment, the water purification equipment of this embodiment may also include a detection component and an information acquisition component, wherein the detection component is used to detect the current water quality information of the water inlet pipe in the water purification equipment, first receive a first water quality acquisition instruction, and then detect the current water quality information of the water inlet pipe in the water purification equipment through the detection component. The current water quality information of the water inlet pipe is generally related to the municipal water conditions in the area where the water purification equipment is currently located. Then, in response to the water quality acquisition instruction, the original water quality of the area where the water purification equipment is currently located is determined according to the current water quality information acquired by the detection component; this embodiment accurately obtains the current original water quality of the water purification equipment by detecting the water quality of the water inlet pipe in the water purification equipment. In addition, the detection component can also obtain the area information where the water purifier is currently located, such as obtaining the location information of the water purifier through a GPS positioning sensor to determine the area information where the water purifier is located, or determining the area information where the water purifier is located through a gateway according to the local area network where it is located, and no specific restrictions are made here; then respond to the first water quality acquisition instruction, and determine the original water quality of the area where the water purifier is currently located according to the current area information obtained by the detection component. For example, when the area information obtained is xx city in xx province, the local municipal water situation in xx city in xx province is obtained as the original water quality situation; it can be seen that in addition to obtaining the current original water quality of the water purifier by detecting the water quality of the water inlet pipe in the water purifier through the first detection component, this embodiment can also obtain the original water quality by detecting the current area information of the water purifier. While accurately obtaining the current original water quality of the water purifier, the flexibility of information acquisition can also be improved.
[0093] Among them, the information acquisition component is used to obtain the regional information of the current location of the water purification equipment, first receive the water quality acquisition instruction, and then respond to the second water quality acquisition instruction, directly read the historical water quality conditions stored in the local database of the water purification equipment through the information acquisition component, or connect to the cloud server through the information acquisition component, so as to download the historical water quality conditions uploaded to the cloud server by the water purification equipment through the cloud server; this embodiment provides a method for obtaining historical water quality conditions, which provides a data basis for the subsequent determination of the target wastewater switching valve.
[0094] See also Figure 7 As shown, this embodiment also provides a wastewater control device, which is applied to a water purification device. The water purification device includes a control component and a wastewater switching valve. The wastewater control device may specifically include:
[0095] The determination module 100 is used to receive a user instruction and determine the target water quality corresponding to the user instruction;
[0096] Specifically, for the determination module 100, after receiving a user instruction initiated by the user through the water purification device, for example, an instruction for the user to input the target water quality, the target water quality corresponding to the user instruction is determined by identifying the user instruction. For example, the target water quality can be the soft water level or TDS value input by the user.
[0097] An acquisition module 200 is used to obtain the current water quality and historical water quality of the water purification equipment;
[0098] Specifically, for the acquisition module 200, after determining the target water quality corresponding to the user instruction, it is also necessary to obtain the original water quality of the area where the water purification equipment is currently located. Since the municipal water conditions in various regions are different, the original water quality conditions corresponding to different regions are also different. Therefore, it is necessary to obtain the original water quality of the area where the water purification equipment is currently located in order to carry out subsequent water purification and wastewater flow control; in addition, it is also necessary to obtain the historical water quality of the water purification equipment. The historical water quality conditions may include the target water quality historically set by the user, the historical water quality conditions of the area where the water purification equipment is located, and the historical water quality conditions of the water purification equipment at different times.
[0099] The control module 300 is used to determine the target wastewater switching valve based on the target water quality, the current water quality and the historical water quality, and start the target wastewater switching valve to discharge wastewater through the control component;
[0100] Specifically, for the control module 300, after determining the target water quality of this water purification task, the current water quality and the historical water quality of the water purification equipment, the target wastewater switching valve required for this water purification task is first determined according to the target water quality, the current water quality and the historical water quality, and the switching of the wastewater switching valve is controlled by the control component to switch to the target wastewater switching valve, so that when the water purification equipment performs the water purification task, the target wastewater switching valve is started by the control component, so that the water purification equipment can discharge wastewater through the wastewater pipe corresponding to the target wastewater switching valve.
[0101] Furthermore, if Figure 8 As shown, in some embodiments, the wastewater control device may further include a real-time adjustment module 400, which may specifically include:
[0102] A real-time detection unit, used to detect the latest water quality information of the water purification equipment in real time when the target wastewater switching valve is activated by the control component to discharge wastewater;
[0103] An adjustment unit, used to dynamically adjust a target wastewater switching valve based on the latest water quality information and target water quality;
[0104] The control unit is used to start the adjusted target wastewater switching valve through the control component to discharge wastewater.
[0105] Furthermore, in some embodiments, the control module 300 may specifically include:
[0106] A construction unit for constructing a water quality adjustment model based on historical water quality conditions;
[0107] A strategy unit, used to input the target water quality and the current water quality into the water quality adjustment model, and output a water quality adjustment strategy;
[0108] The switching valve determination unit is used to determine the corresponding target wastewater switching valve within the target time based on the water quality adjustment strategy.
[0109] Furthermore, in some embodiments, the construction unit may specifically include:
[0110] A data subunit, for constructing a training data set based on the historical water quality conditions, wherein the historical water quality conditions include the user's historical set target water quality, the historical raw water quality data of the water purification equipment, the historical pure water data, the historical wastewater data, and the historical wastewater switching valve data;
[0111] A training subunit, used to train the initial water quality adjustment model using the training data set, and adjust the model parameters of the initial water quality adjustment model;
[0112] The adjustment subunit is used to continue training the initial water quality adjustment model based on the adjusted model parameters until the training conditions are met to obtain a trained water quality adjustment model.
[0113] Furthermore, in some embodiments, the control module 300 may further include:
[0114] A wastewater pipeline determination unit, used to determine a target wastewater pipeline corresponding to a target wastewater switching valve;
[0115] A switching unit, used to switch the wastewater switching valve of the water purification equipment to the target wastewater switching valve through a control component, so that the target wastewater pipeline is connected to the water purification equipment;
[0116] The starting unit is used to control the starting of the target wastewater valve through the control component when the water purification equipment performs the water purification task, so as to discharge the wastewater flowing out of the water purification equipment through the target wastewater pipeline.
[0117] Furthermore, in some embodiments, the determination module 100 may specifically include:
[0118] A receiving unit, used to receive a user instruction and obtain target water quality requirement information corresponding to the user instruction;
[0119] The determination unit is used to determine the target water quality corresponding to the user instruction based on the target water quality requirement information.
[0120] Further, in some embodiments, the water purification device includes a detection component and an information acquisition component, and the acquisition module 200 may specifically include:
[0121] A current water quality acquisition unit, configured to respond to a first water quality acquisition instruction and detect the current water quality of the water inlet pipe in the water purification device through a detection component;
[0122] The historical water quality acquisition unit is used to respond to the second water quality acquisition instruction and obtain the historical water quality conditions of the water purification device stored in the local database or uploaded to the cloud server through the information acquisition component.
[0123] The wastewater control device provided in this embodiment determines the target wastewater switching valve by combining the target water quality input by the user, the current water quality of the water purification equipment and the historical water quality conditions set historically, thereby providing a variety of wastewater flow control schemes under different situations by switching the wastewater switching valve, realizing a variety of wastewater discharge methods, and solving the problem that the prior art has only one single fixed wastewater discharge method, which makes it impossible to take into account the complex municipal water conditions in different regions and the different user habits. It can effectively take into account the complex municipal water conditions and user habits to discharge wastewater in different ways, improve the flexibility of wastewater discharge, and thus improve the water purification effect and user experience.
[0124] The process of each module in the wastewater control device provided in this embodiment realizing its own function can be specifically referred to the aforementioned Figure 2 The description of the illustrated embodiment and other related method embodiments will not be repeated here.
[0125] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0126] In one embodiment, a water purification device is proposed, which may include a water inlet pipe, a wastewater pipe, a detection component, an information acquisition component, a control component, a wastewater switching valve, a processor, a memory, and a computer program stored in the memory and run on the processor, wherein the water inlet end of the wastewater pipe is connected to the wastewater switching valve.
[0127] In addition, it should be noted that the water purification device of this embodiment is provided with a plurality of waterways of wastewater plugs with inconsistent wastewater flow rates, and the required wastewater volume can be freely selected through a wastewater switching valve (such as a ceramic plate switching valve), thereby satisfying the user's need for higher water purity or more water conservation. The water purification device includes two or more waterways of wastewater plugs with inconsistent wastewater flow rates, each of which is a water inlet of a wastewater plug waterway with different installation specifications, and is switched and controlled by one or more ceramic plates.
[0128] This embodiment determines the target wastewater switching valve by combining the target water quality input by the user, the current water quality of the water purification equipment and the historical water quality conditions set historically, thereby providing a variety of wastewater flow control schemes under different situations by switching the wastewater switching valve, realizing a variety of wastewater discharge methods, and solving the problem that the prior art has only one single fixed wastewater discharge method, which makes it impossible to take into account the complex municipal water conditions in different regions and the different user habits. It can effectively take into account the complex municipal water conditions and user habits to discharge wastewater in different ways, improve the flexibility of wastewater discharge, and thus improve the water purification effect and user experience.
[0129] In one embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned wastewater control methods are implemented.
[0130] This embodiment determines the target wastewater switching valve by combining the target water quality input by the user, the current water quality of the water purification equipment and the historical water quality conditions set historically, thereby providing a variety of wastewater flow control schemes under different situations by switching the wastewater switching valve, realizing a variety of wastewater discharge methods, and solving the problem that the prior art has only one single fixed wastewater discharge method, which makes it impossible to take into account the complex municipal water conditions and different user habits in different regions. It can effectively take into account the complex municipal water conditions and user habits to discharge wastewater in different ways, improve the flexibility of wastewater discharge, and thus improve the water purification effect and user experience.
[0131] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.
[0132] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer 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 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 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 (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0133] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0134] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for controlling wastewater, It is characterized in that The method is applied to a water purification device, the water purification device comprising a control component and a wastewater switching valve, and the method comprises: receiving a user instruction and determining a target water quality corresponding to the user instruction; Obtaining the current water quality and historical water quality of the water purification equipment; Based on the target water quality, the current water quality and the historical water quality conditions, a target wastewater switching valve is determined, and the target wastewater switching valve is activated by the control component to discharge wastewater.
2. The wastewater control method according to claim 1, It is characterized in that The method further comprises: When the target wastewater switching valve is activated by the control component to discharge wastewater, the latest water quality information of the water purification equipment is detected in real time; Based on the latest water quality information and the target water quality, dynamically adjusting the target wastewater switching valve; The adjusted target wastewater switching valve is started by the control component to discharge wastewater.
3. The wastewater control method according to claim 1, It is characterized in that Determining a target wastewater switching valve based on the target water quality, the current water quality and the historical water quality conditions includes: constructing a water quality adjustment model based on the historical water quality conditions; Inputting the target water quality and the current water quality into the water quality adjustment model, and outputting a water quality adjustment strategy; Based on the water quality adjustment strategy, a target wastewater switching valve corresponding to the target time is determined.
4. The wastewater control method according to claim 3, It is characterized in that The constructing of a water quality adjustment model based on the historical water quality conditions includes: Constructing a training data set based on the historical water quality conditions, wherein the historical water quality conditions include the user's historical set target water quality, historical raw water quality data of the water purification equipment, historical pure water data, historical wastewater data, and historical wastewater switching valve data; Training the initial water quality adjustment model using the training data set, and adjusting model parameters of the initial water quality adjustment model; The initial water quality adjustment model is continuously trained based on the adjusted model parameters until the training conditions are met, thereby obtaining a trained water quality adjustment model.
5. The wastewater control method according to claim 1, It is characterized in that The step of starting the target wastewater switching valve to discharge wastewater by the control component includes: Determine a target wastewater pipeline corresponding to the target wastewater switching valve; Switching the wastewater switching valve of the water purification equipment to the target wastewater switching valve through the control component, so that the target wastewater pipeline is connected to the water purification equipment; When the water purification device performs a water purification task, the target wastewater valve is started by the control component to discharge the wastewater flowing out of the water purification device through the target wastewater pipeline.
6. The wastewater control method according to claim 1, It is characterized in that The receiving a user instruction and determining a target water quality corresponding to the user instruction includes: Receive user instructions and obtain target water quality requirement information corresponding to the user instructions; Based on the target water quality requirement information, the target water quality corresponding to the user instruction is determined.
7. The wastewater control method according to claim 1, It is characterized in that The water purification device includes a detection component and an information acquisition component, and the acquisition of the current water quality and historical water quality of the water purification device includes: In response to the first water quality acquisition instruction, the detection component detects the current water quality of the water inlet pipe in the water purification device; In response to the second water quality acquisition instruction, the historical water quality conditions of the water purification device stored in the local database or uploaded to the cloud server are acquired through the information acquisition component.
8. A wastewater control device, It is characterized in that The wastewater device is applied to a water purification device, the water purification device includes a control component and a wastewater switching valve, and the device includes: A determination module, used to receive a user instruction and determine a target water quality corresponding to the user instruction; An acquisition module, used to obtain the current water quality and historical water quality of the water purification equipment; The control module is used to determine the target wastewater switching valve based on the target water quality, the current water quality and the historical water quality, and to start the target wastewater switching valve to discharge wastewater through the control component.
9. A water purification device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the wastewater control method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the wastewater control method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Sewage treatment management method and system
CN107040595A
Waste water valve control method and device, water purification equipment and storage medium
CN113031662A
Water purifier and control method
CN115991517A
Water purification treatment method and device of water purification system and processor
CN117735641A
Sewage treatment plant integrated management server and system including the same
KR102471662B1
