Water quality detection method, device, equipment and medium

By constructing a preset water quality prediction model and obtaining a real-time water quality parameter set, and calculating water quality evaluation indicators and applicability indexes, the problem of determining applicable scenarios for water from different sources is solved, and the accuracy and applicability of water quality testing are achieved.

CN118655285APending Publication Date: 2024-09-17四川九诚检测技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410809674.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

It is difficult to accurately determine the applicable scenarios for water from different sources with existing technology, making it difficult to detect water quality in water treatment.

Method used

Construct a preset water quality prediction model, obtain real-time water quality parameter sets at multiple preset points of the target water source, calculate the water quality evaluation index and applicable index, and determine the applicable scenarios of the water source.

Benefits of technology

It achieves accurate determination of applicable scenarios for water from different sources, supports outdoor water use and water quality treatment, and improves the accuracy of water quality detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655285A
    Figure CN118655285A
Patent Text Reader

Abstract

The invention discloses a water quality detection method, device and equipment and a medium. The method comprises the following steps: constructing a preset water quality prediction model; acquiring a real-time water quality parameter set of the target water source at a plurality of preset point locations; inputting the real-time water quality parameter set of the target water source under the plurality of preset point locations into a preset water quality prediction model to obtain real-time water quality evaluation coefficients corresponding to the preset point locations; determining a maximum water quality evaluation index, a minimum water quality evaluation index and a relative water quality evaluation index according to the real-time water quality evaluation coefficients respectively corresponding to the plurality of preset point locations; determining a water quality applicable index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight; and determining an applicable scene of the target water source according to the water quality applicable index of the target water source. The invention belongs to the field of water quality detection. According to the invention, water usage scenes of water of different sources can be accurately determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of water quality detection, and in particular to a water quality detection method, device, equipment and medium. Background Art

[0002] Water is a molecule composed of hydrogen atoms and oxygen atoms connected by chemical bonds, with the chemical formula H2O. It is one of the most common compounds on Earth and one of the foundations of life. Water exists in nature in liquid, solid (ice) and gaseous (water vapor) states, and has many unique physical and chemical properties. The molecular structure of water is composed of one oxygen atom and two hydrogen atoms, and the hydrogen atoms and oxygen atoms are connected by covalent bonds. This molecular structure gives water many special properties, such as high specific heat capacity, high thermal expansion coefficient, good solubility and surface tension. Water plays many roles in nature, for example, water is the basis of life; water is the basis of most ecosystems on Earth.

[0003] At present, in water treatment application scenarios, it is often necessary to test the water quality of water from multiple sources. For example, water quality testing is performed on water from different process sections of a water plant, tap water from different manufacturers, or water from different lakes. However, different water qualities are suitable for different environments. For example, direct drinking water has higher requirements than agricultural water. How to test the water quality of water from different sources and determine the applicable scenarios of water from different sources is an urgent problem to be solved. Summary of the invention

[0004] The embodiments of the present application solve the technical problem of difficulty in determining the applicable scenarios of water from different sources in the prior art by providing a water quality detection method, device, equipment and medium, and achieve the technical effect of accurately determining the applicable scenarios of water from different sources.

[0005] In a first aspect, the present application provides a water quality detection method, the method comprising:

[0006] Construct preset water quality prediction models;

[0007] Acquire a real-time water quality parameter set of a target water source at a plurality of preset points, where the preset points are distributed in the area where the target water source is located according to a preset distribution rule;

[0008] Input the real-time water quality parameter set of the target water source at multiple preset points into the preset water quality prediction model to obtain the real-time water quality evaluation coefficient corresponding to each preset point;

[0009] According to the real-time water quality evaluation coefficients corresponding to the plurality of preset points, the maximum water quality evaluation index, the minimum water quality evaluation index and the relative water quality evaluation index are determined;

[0010] Determine the water quality applicability index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight;

[0011] Determine the applicable scenarios of the target water source based on the water quality applicability index of the target water source.

[0012] Furthermore, a preset water quality prediction model is constructed, including:

[0013] Obtain several historical water quality parameter sets, the sources of which are not exactly the same;

[0014] Determine the weights corresponding to each parameter in the historical water quality parameter set;

[0015] Determine the historical water quality evaluation coefficient corresponding to the historical water quality parameter set according to each parameter in the historical water quality parameter set and the corresponding weight;

[0016] Establish an initial water quality prediction model;

[0017] Inputting the historical water quality parameter set into the initial water quality prediction model to obtain the prediction coefficient corresponding to the historical water quality parameter set;

[0018] According to the prediction coefficient of the historical water quality parameter set and the historical water quality evaluation coefficient corresponding to the historical water quality parameter set, it is determined whether there is a need to update the initial water quality prediction model;

[0019] If it exists, continue to input any other historical water quality parameter set into the initial water quality prediction model;

[0020] When the difference between the prediction coefficient corresponding to the historical water quality parameter set output by the updated initial water quality prediction model and the historical water quality evaluation coefficient corresponding to the historical water quality parameter set is less than a preset threshold, the initial water quality prediction model is used as the preset water quality prediction model.

[0021] Furthermore, according to the real-time water quality evaluation coefficients corresponding to the plurality of preset points, the maximum water quality evaluation index, the minimum water quality evaluation index and the relative water quality evaluation index are determined, including:

[0022] Determine the maximum water quality evaluation index according to the maximum value of the real-time water quality evaluation coefficients of multiple preset points;

[0023] Determine the minimum water quality evaluation index according to the minimum value of the real-time water quality evaluation coefficients of multiple preset points;

[0024] The relative water quality evaluation index is determined based on the maximum and minimum values ​​of the real-time water quality evaluation coefficients of multiple preset points and the water quality experience coefficient.

[0025] Furthermore, the preset distribution rule distribution includes:

[0026] For the preset points on the same horizontal plane, each preset point is horizontally equidistantly distributed on the horizontal plane;

[0027] For the preset points on the same vertical plane, the preset points are vertically equidistantly distributed on the vertical plane.

[0028] Furthermore, the parameters in the water quality parameter set include:

[0029] Temperature, turbidity, pH value, dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, hardness, total dissolved solids, nitrogen content, phosphate content, heavy metal content, coliform bacteria content, fecal coliform bacteria content, other pathogenic microorganisms content and radioactive material content.

[0030] Furthermore, according to the water quality applicability index of the target water source, the applicable scenarios of the target water source are determined, including:

[0031] Determine the water quality grade of the target water source according to the water quality applicability index of the target water source;

[0032] Determine the applicable scenarios of the target water source based on the water quality level of the target water source.

[0033] Furthermore, according to the maximum value, the minimum value and the water quality experience coefficient of the real-time water quality evaluation coefficients of the plurality of preset points, a function expression of the relative water quality evaluation index is determined, including:

[0034]

[0035] Among them, P3 is the relative water quality evaluation index, A is the water quality experience coefficient, W max is the maximum value of the real-time water quality evaluation coefficient, W min It is the minimum value among the real-time water quality evaluation coefficients.

[0036] In a second aspect, the present application provides a water quality detection device, the device comprising:

[0037] Model building module, used to build a preset water quality prediction model;

[0038] An acquisition module, used to acquire a real-time water quality parameter set of a target water source at a plurality of preset points, where the preset points are distributed in an area where the target water source is located according to a preset distribution rule;

[0039] The coefficient determination module is used to input the real-time water quality parameter set of the target water source at multiple preset points into the preset water quality prediction model to obtain the real-time water quality evaluation coefficient corresponding to each preset point;

[0040] An indicator determination module is used to determine the maximum water quality evaluation index, the minimum water quality evaluation index and the relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to multiple preset points;

[0041] An index determination module, for determining the water quality applicable index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight;

[0042] The applicable scenario determination module is used to determine the applicable scenarios of the target water source based on the water quality applicability index of the target water source.

[0043] In a third aspect, the present application provides an electronic device, including:

[0044] processor;

[0045] a memory for storing processor-executable instructions;

[0046] The processor is configured to execute to implement a water quality detection method as provided in the first aspect.

[0047] In a fourth aspect, the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to implement a water quality detection method as provided in the first aspect.

[0048] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0049] The present application provides a water quality detection method, which includes: constructing a preset water quality prediction model; obtaining a real-time water quality parameter set of a target water source at multiple preset points, wherein the preset points are distributed in an area where the target water source is located according to a preset distribution rule; inputting the real-time water quality parameter set of the target water source at multiple preset points into the preset water quality prediction model to obtain a real-time water quality evaluation coefficient corresponding to each preset point; determining a maximum water quality evaluation index, a minimum water quality evaluation index, and a relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to the multiple preset points; determining a water quality applicability index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index, and the relative index preset weight; and determining an applicable scenario for the target water source according to the water quality applicability index of the target water source. By distributing preset points in the area where the target water source is located according to preset distribution rules, this application can obtain the real-time water quality parameter set of the target water source in all aspects, and accurately support the subsequent determination of the applicable scenarios of the target water source. By determining the water quality applicability index, this application can more accurately determine the applicable scenarios of the target water source, providing accurate support for outdoor water use and also providing a reference for subsequent water quality treatment. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 A schematic diagram of a water quality detection method provided in this application;

[0052] Figure 2 A schematic diagram of the structure of a water quality detection device provided in this application;

[0053] Figure 3 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION

[0054] The embodiments of the present application solve the technical problem in the prior art of difficulty in determining the applicable scenarios of water from different sources by providing a water quality detection method.

[0055] The technical solution of the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:

[0056] A water quality detection method comprises: constructing a preset water quality prediction model; obtaining a real-time water quality parameter set of a target water source at a plurality of preset points, wherein the preset points are distributed in an area where the target water source is located according to a preset distribution rule; inputting the real-time water quality parameter set of the target water source at the plurality of preset points into the preset water quality prediction model to obtain a real-time water quality evaluation coefficient corresponding to each preset point; determining a maximum water quality evaluation index, a minimum water quality evaluation index and a relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to the plurality of preset points; determining a water quality applicability index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight; and determining an applicable scenario of the target water source according to the water quality applicability index of the target water source.

[0057] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0058] First of all, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0059] The present application provides a water quality detection method as claimed in claim 1, comprising steps S11-S16.

[0060] Step S11, constructing a preset water quality prediction model.

[0061] Step S12, obtaining a real-time water quality parameter set of a target water source at a plurality of preset points, where the preset points are distributed in an area where the target water source is located according to a preset distribution rule.

[0062] Step S13, inputting the real-time water quality parameter set of the target water source at multiple preset points into a preset water quality prediction model to obtain the real-time water quality evaluation coefficient corresponding to each preset point.

[0063] Step S14, determining a maximum water quality evaluation index, a minimum water quality evaluation index and a relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to the plurality of preset points.

[0064] Step S15, determining the water quality applicability index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight.

[0065] Step S16, determining the applicable scenario of the target water source according to the water quality applicability index of the target water source.

[0066] Step S11, constructing a preset water quality prediction model.

[0067] Constructing a preset water quality prediction model includes: obtaining several historical water quality parameter sets, wherein the sources of the historical water quality parameter sets are not exactly the same; determining the weights corresponding to the parameters in the historical water quality parameter sets; determining the historical water quality evaluation coefficients corresponding to the historical water quality parameter sets according to the parameters in the historical water quality parameter sets and the corresponding weights; establishing an initial water quality prediction model; inputting the historical water quality parameter sets into the initial water quality prediction model to obtain the prediction coefficients corresponding to the historical water quality parameter sets; judging whether there is a need to update the initial water quality prediction model according to the prediction coefficients of the historical water quality parameter sets and the historical water quality evaluation coefficients corresponding to the historical water quality parameter sets; if there is a need to update the initial water quality prediction model, continuing to input any other historical water quality parameter sets into the initial water quality prediction model; when the difference between the prediction coefficients corresponding to the historical water quality parameter sets output by the updated initial water quality prediction model and the historical water quality evaluation coefficients corresponding to the historical water quality parameter sets is less than a preset threshold, the initial water quality prediction model is used as the preset water quality prediction model.

[0068] The water quality parameter set includes various parameters related to water quality, specifically, it can include: temperature, turbidity, pH value, dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, hardness, total dissolved solids, nitrogen content, phosphate content, heavy metal content, coliform content, fecal coliform content, other pathogenic microorganisms content and radioactive substance content.

[0069] The historical water quality parameter set refers to the water quality parameter set of each water source in the past. The sources of each historical water quality parameter set are not exactly the same, and some historical water quality parameter sets can come from the same source. For example, historical water quality parameter sets A, B, and C, historical water quality parameter sets A and B come from water source A, and C comes from water source B.

[0070] The weight corresponding to each parameter in the historical water quality parameter set can be determined separately. The present application provides a distribution method, which can also be specifically distributed according to actual conditions.

[0071] The weights of temperature, turbidity, pH value, dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, hardness, total dissolved solids, nitrogen content, phosphate content, heavy metal content, coliform bacteria content, fecal coliform bacteria content, other pathogenic microorganisms content and radioactive material content are: 0.01: 0.02: 0.01: 0.01: 0.01: 0.01: 0.05: 0.05: 0.08: 0.05: 0.1: 0.2: 0.1: 0.1: 0.2. The sum of the weights is 1. It should be emphasized that the parameters of this application are normalized after acquisition.

[0072] According to the parameters in the historical water quality parameter set and the corresponding weights, the historical water quality evaluation coefficient corresponding to the historical water quality parameter set is determined. The higher the historical water quality evaluation coefficient, the worse the water quality. After the initial water quality (neural network) prediction model is established, the historical water quality parameter set can be input into the initial water quality prediction model to obtain the prediction coefficient corresponding to the historical water quality parameter set. The larger the prediction coefficient, the worse the water quality.

[0073] When the difference between the prediction coefficient of the historical water quality parameter set and the historical water quality evaluation coefficient corresponding to the historical water quality parameter set is greater than the preset threshold, it means that the initial water quality prediction model is not accurate, the grid parameters can be adjusted, and then the initial water quality prediction model is input into any other historical water quality parameter set; when the difference between the prediction coefficient corresponding to the historical water quality parameter set output by the updated initial water quality prediction model and the historical water quality evaluation coefficient corresponding to the historical water quality parameter set is less than the preset threshold, the initial water quality prediction model is used as the preset water quality prediction model.

[0074] Step S12, obtaining a real-time water quality parameter set of a target water source at a plurality of preset points, where the preset points are distributed in an area where the target water source is located according to a preset distribution rule.

[0075] The target water source is a water source for a yet-to-be-determined applicable scenario. The target water source includes multiple preset points, and a real-time water quality parameter set of the target water source can be obtained at each preset point.

[0076] The preset distribution rules include: for the preset points on the same horizontal plane, the preset points are horizontally equidistantly distributed on the horizontal plane; for the preset points on the same vertical plane, the preset points are vertically equidistantly distributed on the vertical plane.

[0077] In other words, the distances between the preset points and the adjacent preset points are the same. By setting them equidistantly, it is possible to ensure that the real-time water quality parameter set of the target water source is obtained in all directions, providing more accurate data guarantee for the subsequent determination of the applicable scenarios of the target water source.

[0078] Step S13, inputting the real-time water quality parameter set of the target water source at multiple preset points into a preset water quality prediction model to obtain the real-time water quality evaluation coefficient corresponding to each preset point.

[0079] The real-time water quality parameters at each preset point correspond to the real-time water quality evaluation coefficient of each preset point. In other words, one preset point corresponds to one real-time water quality parameter set and one real-time water quality evaluation coefficient.

[0080] Step S14, determining a maximum water quality evaluation index, a minimum water quality evaluation index and a relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to the plurality of preset points.

[0081] According to the real-time water quality evaluation coefficients corresponding to multiple preset points, the maximum water quality evaluation index, the minimum water quality evaluation index and the relative water quality evaluation index are determined, including: determining the maximum water quality evaluation index according to the maximum value of the real-time water quality evaluation coefficients of multiple preset points; determining the minimum water quality evaluation index according to the minimum value of the real-time water quality evaluation coefficients of multiple preset points; determining the relative water quality evaluation index according to the maximum value, the minimum value and the water quality experience coefficient of the real-time water quality evaluation coefficients of multiple preset points. For details, please refer to Table 1.

[0082] Table 1

[0083]

[0084] Among them, Wmax is the maximum value of the real-time water quality evaluation coefficient, Wmin is the minimum value of the real-time water quality evaluation coefficient, M1 is the maximum water quality evaluation index, and M2 is the minimum water quality evaluation index.

[0085] According to the maximum value, minimum value and water quality experience coefficient of the real-time water quality evaluation coefficients of multiple preset points, the function expression of the relative water quality evaluation index is determined, including:

[0086]

[0087] Among them, P3 is the relative water quality evaluation index, A is the water quality experience coefficient, W max is the maximum value of the real-time water quality evaluation coefficient, W min It is the minimum value among the real-time water quality evaluation coefficients.

[0088] Step S15, determining the water quality applicability index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight.

[0089] The maximum indicator preset weight, the minimum indicator preset weight, and the relative indicator preset weight can be determined according to actual conditions. For details, please refer to the following expressions:

[0090]

[0091] Among them, C is the water quality applicability index, M1 is the maximum water quality evaluation index, M2 is the minimum water quality evaluation index, ω1 is the maximum index preset weight, ω2 is the minimum water quality evaluation index, ω3 is the relative index preset weight, and P3 is the relative water quality evaluation index. ω1:ω2:ω3:=0.2:0.3:0.5.

[0092] Step S16, determining the applicable scenario of the target water source according to the water quality applicability index of the target water source.

[0093] It is understandable that the higher the water quality applicability index is, the higher the water quality is and the wider the applicable scenarios are.

[0094] After obtaining the water quality applicability index of the target water source, this application can classify the water quality according to the water quality applicability index. For example, when C>0.8, the water quality is extremely poor; 0.8≥C>0.5, the water quality is poor; 0.5≥C>0.3, the water quality is medium; 0.3≥C>0.2, the water quality is relatively good; C≤0.4, the water quality is excellent.

[0095] According to the water quality applicability index of the target water source, the applicable scenarios of the target water source are determined, including: according to the water quality applicability index of the target water source, the water quality grade of the target water source is determined; according to the water quality grade of the target water source, the applicable scenarios of the target water source are determined. Please refer to Table 2 for details.

[0096] Table 2

[0097]

[0098] In summary, the present application provides a water quality detection method, which includes: constructing a preset water quality prediction model; obtaining a real-time water quality parameter set of a target water source at multiple preset points, and the preset points are distributed in the area where the target water source is located according to a preset distribution rule; inputting the real-time water quality parameter set of the target water source at multiple preset points into the preset water quality prediction model to obtain the real-time water quality evaluation coefficient corresponding to each preset point; determining the maximum water quality evaluation index, the minimum water quality evaluation index and the relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to the multiple preset points; determining the water quality applicability index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight; determining the applicable scenario of the target water source according to the water quality applicability index of the target water source. By distributing preset points in the area where the target water source is located according to preset distribution rules, this application can obtain the real-time water quality parameter set of the target water source in all aspects, and accurately support the subsequent determination of the applicable scenarios of the target water source. By determining the water quality applicability index, this application can more accurately determine the applicable scenarios of the target water source, providing accurate support for outdoor water use and also providing a reference for subsequent water quality treatment.

[0099] Based on the same inventive concept, the present application provides Figure 2 A water quality detection device is shown, the device comprising:

[0100] A model building module 21 is used to build a preset water quality prediction model;

[0101] An acquisition module 22 is used to acquire a real-time water quality parameter set of a target water source at a plurality of preset points, where the preset points are distributed in an area where the target water source is located according to a preset distribution rule;

[0102] The coefficient determination module 23 is used to input the real-time water quality parameter set of the target water source at multiple preset points into the preset water quality prediction model to obtain the real-time water quality evaluation coefficient corresponding to each preset point;

[0103] An index determination module 24 is used to determine a maximum water quality evaluation index, a minimum water quality evaluation index and a relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to a plurality of preset points;

[0104] An index determination module 25, for determining the water quality applicable index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight;

[0105] The applicable scenario determination module 26 is used to determine the applicable scenario of the target water source according to the water quality applicability index of the target water source.

[0106] Based on the same inventive concept, the present application also provides Figure 3 An electronic device as shown includes:

[0107] Processor 31;

[0108] A memory 32 for storing instructions executable by the processor 31;

[0109] The processor 31 is configured to execute to implement a water quality detection method as provided above.

[0110] Based on the same inventive concept, the present application also provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor 31 of the electronic device, the electronic device can execute a water quality detection method as provided above.

[0111] Since the electronic device introduced in this embodiment is an electronic device used to implement the information processing method in the embodiment of the present application, based on the information processing method introduced in the embodiment of the present application, a person skilled in the art can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as a person skilled in the art implements the electronic device used by the information processing method in the embodiment of the present application, it belongs to the scope of protection of this application.

[0112] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0113] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0114] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0115] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0116] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0117] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A water quality detection method, characterized in that: The method comprises: Construct preset water quality prediction models; Acquire a real-time water quality parameter set of a target water source at a plurality of preset points, where the preset points are distributed in an area where the target water source is located according to a preset distribution rule; Inputting the real-time water quality parameter set of the target water source at multiple preset points into the preset water quality prediction model to obtain the real-time water quality evaluation coefficient corresponding to each preset point; According to the real-time water quality evaluation coefficients corresponding to the plurality of preset points, the maximum water quality evaluation index, the minimum water quality evaluation index and the relative water quality evaluation index are determined; Determine the water quality applicability index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight; According to the water quality applicability index of the target water source, the applicable scenarios of the target water source are determined.

2. A water quality detection method as claimed in claim 1, characterized in that: The construction of a preset water quality prediction model includes: Obtain several historical water quality parameter sets, the sources of which are not exactly the same; Determine the weight corresponding to each parameter in the historical water quality parameter set; Determine the historical water quality evaluation coefficient corresponding to the historical water quality parameter set according to each parameter in the historical water quality parameter set and the corresponding weight; Establish an initial water quality prediction model; Inputting the historical water quality parameter set into the initial water quality prediction model to obtain the prediction coefficient corresponding to the historical water quality parameter set; According to the prediction coefficient of the historical water quality parameter set and the historical water quality evaluation coefficient corresponding to the historical water quality parameter set, determining whether the initial water quality prediction model needs to be updated; If so, continue to input any other historical water quality parameter set into the initial water quality prediction model; When the difference between the prediction coefficient corresponding to the historical water quality parameter set output by the updated initial water quality prediction model and the historical water quality evaluation coefficient corresponding to the historical water quality parameter set is less than a preset threshold, the initial water quality prediction model is used as the preset water quality prediction model.

3. A water quality detection method as claimed in claim 1, characterized in that: The method of determining the maximum water quality evaluation index, the minimum water quality evaluation index and the relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to the plurality of preset points respectively includes: Determining the maximum water quality evaluation index according to the maximum value of the real-time water quality evaluation coefficients of multiple preset points; Determining the minimum water quality evaluation index according to the minimum value of the real-time water quality evaluation coefficients of multiple preset points; The relative water quality evaluation index is determined according to the maximum value, the minimum value and the water quality experience coefficient among the real-time water quality evaluation coefficients of multiple preset points.

4. A water quality detection method as claimed in claim 1, characterized in that: The preset distribution rule distribution includes: For the preset points on the same horizontal plane, each preset point is horizontally equidistantly distributed on the horizontal plane; For the preset points on the same vertical plane, the preset points are vertically equidistantly distributed on the vertical plane.

5. A water quality detection method as claimed in claim 1, characterized in that: Parameters in the water quality parameter set include: Temperature, turbidity, pH value, dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, hardness, total dissolved solids, nitrogen content, phosphate content, heavy metal content, coliform bacteria content, fecal coliform bacteria content, other pathogenic microorganisms content and radioactive material content.

6. A water quality detection method as claimed in claim 1, characterized in that: The determining, according to the water quality applicability index of the target water source, the applicable scenario of the target water source includes: Determining the water quality grade of the target water source according to the water quality applicability index of the target water source; According to the water quality level of the target water source, the applicable scenario of the target water source is determined.

7. A water quality detection method as claimed in claim 3, characterized in that: According to the maximum value, the minimum value and the water quality experience coefficient of the real-time water quality evaluation coefficients of multiple preset points, the function expression of the relative water quality evaluation index is determined, including: Among them, P3 is the relative water quality evaluation index, A is the water quality experience coefficient, W max is the maximum value of the real-time water quality evaluation coefficient, W min It is the minimum value among the real-time water quality evaluation coefficients.

8. A water quality detection device, characterized in that: The device comprises: Model building module, used to build a preset water quality prediction model; An acquisition module, used to acquire a real-time water quality parameter set of a target water source at a plurality of preset points, where the preset points are distributed in an area where the target water source is located according to a preset distribution rule; A coefficient determination module, used to input the real-time water quality parameter set of the target water source at multiple preset points into the preset water quality prediction model to obtain the real-time water quality evaluation coefficient corresponding to each preset point; An indicator determination module is used to determine the maximum water quality evaluation index, the minimum water quality evaluation index and the relative water quality evaluation index according to the real-time water quality evaluation coefficients corresponding to multiple preset points; An index determination module, for determining the water quality applicability index corresponding to the target water source according to the maximum water quality evaluation index, the maximum index preset weight, the minimum water quality evaluation index, the minimum index preset weight, the relative water quality evaluation index and the relative index preset weight; The applicable scenario determination module is used to determine the applicable scenario of the target water source according to the water quality applicability index of the target water source.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute to implement a water quality detection method as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to implement a water quality detection method as described in any one of claims 1 to 7.