Multi-point distributed water quality detection method, system, equipment and storage medium

By determining the central detection point and distributed detection points in the top view of the water body, combined with the flow diffusion law, the problem of deviation in water quality detection results in the existing technology is solved, and accurate water quality assessment of irregular water body areas is achieved.

CN118584078BActive Publication Date: 2024-10-18SHENZHEN NEWFOSS TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411066917.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-18
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

Existing water quality detection technology fails to fully consider the law of water flow diffusion when setting up detection points, resulting in large deviations in water quality detection results, especially in irregular water body areas where it is difficult to accurately reflect the overall water quality.

Method used

By obtaining an overhead view of the water body, the central detection point is determined, and distributed detection points are obtained based on the analysis of the positional relationship between the central detection point and the water body outline. Water quality sensors are installed to obtain water quality data, calculate the water quality index, and then evaluate the water quality.

Benefits of technology

It improves the rationality and accuracy of water quality detection, can better identify areas with poor water quality and conduct comprehensive assessments, and is suitable for irregular water areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584078B_ABST
    Figure CN118584078B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-point distributed water quality detection method, system, equipment and storage medium, which relates to the technical field of water quality detection, and comprises the following steps: obtaining a bird's-eye view of a water body, obtaining a central detection point of the water body based on the bird's-eye view, and obtaining the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour; installing a water quality sensor on the distributed detection point; obtaining water quality data of the water body through the water quality sensor, calculating and analyzing the water quality data to obtain a water quality index of the water body; and evaluating the water quality of the water body based on the water quality index. The present invention is used to solve the problem that the existing water quality detection technology still has unreasonable setting of water quality detection points for water bodies, does not consider the law of water flow diffusion, and leads to large deviations in the results of water quality detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water quality detection, and specifically to a multi-point distributed water quality detection method, system, equipment and storage medium. Background Art

[0002] Water quality testing technology refers to a technology used to evaluate various physical, chemical and biological parameters in water bodies, aiming to determine the quality, purity and suitability of water bodies. These technologies cover a wide range of methods and tools for monitoring and analyzing various pollutants, microorganisms, nutrients and other factors that affect the health of water bodies.

[0003] Existing water quality detection technologies usually set up a single detection point in the water body to detect and calculate the water quality of the water body, or scatter multiple detection points for detection. When using multiple detection points to detect the water quality of the water body, the existing water quality detection technology usually sets the detection points at the water outlet, water inlet and water center of the water body, or sets the detection points in an equidistant arrangement. For large-volume water bodies, the locations of these detection points cannot well reflect the overall water quality of the water body or the regional water quality. After the water flows into the water body area from the water inlet, it will diffuse in the form of waves, and the overall diffusion will be semicircular. If the water body area is an irregular shape, it is difficult to detect it through conventional detection points. The water area is divided, so as to set up appropriate detection points for detection. For example, in the patent application with publication number CN117929665A, a surface water source water quality monitoring system and method are disclosed. Although this scheme detects the water quality of the target area through multiple water quality detection modules, there is no actual setting for the installation position of the water quality detection module. In the absence of actual setting, the detection points are usually set in an equidistant distribution or random placement manner. This method is too random and is not suitable for irregularly shaped water areas. The existing water quality detection technology also has the problem of unreasonable setting of water quality detection points, and does not consider the law of water flow diffusion, resulting in large deviations in the results of water quality detection. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the prior art to at least a certain extent, by obtaining a bird's-eye view of a water body, obtaining a central detection point of the water body based on the bird's-eye view, obtaining the remaining distributed detection points based on an analysis of the positional relationship between the central detection point and the water body contour, installing water quality sensors on the distributed detection points, and then obtaining water quality data of the water body through the water quality sensors, calculating and analyzing the water quality data to obtain a water quality index of the water body, and finally evaluating the water quality of the water body based on the water quality index, so as to solve the problem that the existing water quality detection technology still has unreasonable setting of water quality detection points for water bodies, does not consider the law of water flow diffusion, and leads to large deviations in water quality detection results.

[0005] To achieve the above objectives, in a first aspect, the present application provides a multi-point distributed water quality detection method, comprising the following steps:

[0006] Obtain a bird's-eye view of the water body, obtain the central detection point of the water body based on the bird's-eye view, and obtain the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour;

[0007] Install water quality sensors at distributed testing points;

[0008] The water quality data of the water body is obtained through the water quality sensor, and the water quality data is calculated and analyzed to obtain the water quality index of the water body;

[0009] The water quality of water bodies is assessed based on the water quality index.

[0010] Furthermore, obtaining a bird's-eye view of the water body, and obtaining a central detection point of the water body based on the bird's-eye view includes the following sub-steps:

[0011] Obtain a top view of the water body, construct a plane rectangular coordinate system based on the scale of the top view, name it the detection and analysis coordinate system, and put the top view into the first quadrant of the detection and analysis coordinate system;

[0012] Get the minimum value of X in the detection and analysis coordinate system, marked as min(X); Get the maximum value of X in the detection and analysis coordinate system, marked as max(X); Get the minimum value of Y in the detection and analysis coordinate system, marked as min(Y); Get the maximum value of Y in the detection and analysis coordinate system, marked as max(Y);

[0013] Mark the coordinate points (min(X), max(Y)), (min(X), min(Y)), (max(X), min(Y)) and (max(X), max(Y)) as the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point respectively;

[0014] Connect the first coordinate point with the third coordinate point, connect the second coordinate point with the fourth coordinate point, and mark the intersection of the two lines as the center detection point;

[0015] The remaining distributed detection points are obtained based on the positional relationship between the central detection point and the water body contour.

[0016] Furthermore, the remaining distributed detection points are obtained by analyzing the positional relationship between the central detection point and the water body contour, including the following sub-steps:

[0017] Set the center radius, represented by the symbol R, draw a circle with the center detection point as the center and R as the radius, named center circle, 0 <R;

[0018] The line between the center circle and the first coordinate point is named the first auxiliary line, the line between the center circle and the second coordinate point is named the second auxiliary line, the line between the center circle and the third coordinate point is named the third auxiliary line, and the line between the center circle and the fourth coordinate point is named the fourth auxiliary line;

[0019] The intersection point of the center circle and the first auxiliary line is named the first intersection point, the intersection point of the center circle and the second auxiliary line is named the second intersection point, the intersection point of the center circle and the third auxiliary line is named the third intersection point, and the intersection point of the center circle and the fourth auxiliary line is named the fourth intersection point;

[0020] Draw a fifth auxiliary line, which passes through the center detection point and is perpendicular to the X axis, and name the intersection points of the center circle and the fifth auxiliary line as the fifth intersection point and the sixth intersection point respectively from large to small along the Y axis;

[0021] Draw a sixth auxiliary line, which passes through the center detection point and is perpendicular to the Y axis, and name the intersection points of the center circle and the sixth auxiliary line as the seventh intersection point and the eighth intersection point respectively from large to small along the X axis;

[0022] Extract the outline of the top view, name it as the water body outline, and refer to the first intersection point, the second intersection point, the third intersection point, the fourth intersection point, the fifth intersection point, the sixth intersection point, the seventh intersection point and the eighth intersection point as reference intersection points;

[0023] R is gradually increased, and whether the reference intersection point intersects with the water body contour is monitored in real time. If so, the intersection point is marked as a contour intersection point; if not, R is continued to be increased; the contour intersection points include a first contour intersection point, a second contour intersection point, a third contour intersection point, a fourth contour intersection point, a fifth contour intersection point, a sixth contour intersection point, a seventh contour intersection point, and an eighth contour intersection point, which correspond to the reference intersection point;

[0024] Continue to increase R until all contour intersections are found, connect the contour intersections with the center detection points, and obtain reference straight lines; the reference straight lines include a first reference straight line, a second reference straight line, a third reference straight line, a fourth reference straight line, a fifth reference straight line, a sixth reference straight line, a seventh reference straight line, and an eighth reference straight line, and the names of the reference straight lines correspond to the contour intersections;

[0025] The midpoint of the first reference straight line is marked as the first detection point, the midpoint of the second reference straight line is marked as the second detection point, the midpoint of the third reference straight line is marked as the third detection point, the midpoint of the fourth reference straight line is marked as the fourth detection point, the midpoint of the fifth reference straight line is marked as the fifth detection point, the midpoint of the sixth reference straight line is marked as the sixth detection point, the midpoint of the seventh reference straight line is marked as the seventh detection point, and the midpoint of the eighth reference straight line is marked as the eighth detection point; the first to eighth detection points and the center detection point are collectively referred to as distributed detection points.

[0026] Furthermore, water quality sensors are installed at the distributed detection points, and the water quality sensors include conductivity sensors, dissolved oxygen sensors, pH sensors and temperature sensors.

[0027] Furthermore, obtaining water quality data of a water body through a water quality sensor, calculating and analyzing the water quality data, and obtaining a water quality index of the water body includes the following sub-steps:

[0028] For any distributed detection point, the conductivity, dissolved oxygen concentration, pH value and water temperature of the water body are obtained, and the conductivity, dissolved oxygen concentration and pH value are collectively referred to as water quality influencing factors of the water body;

[0029] Find the scores of water quality influencing factors based on the parameters and scoring scale table of the Horton Water Quality Index, marked as conductivity score, dissolved oxygen score and pH score respectively;

[0030] The conductivity score, dissolved oxygen score and pH score are expressed by the symbol C i It represents, where i is a positive integer and i is the serial number of C, C1 to C3 are conductivity score, dissolved oxygen score and pH value score respectively;

[0031] Obtain the weights corresponding to the factors affecting water quality, named as factor influence weights, and use the symbol W i Indicates that W i With C i corresponding;

[0032] Calculate water quality index at distributed testing points.

[0033] Furthermore, calculating the water quality index of the distributed detection points includes the following sub-steps:

[0034] Set the obvious pollution coefficient to obtain whether the water body is obviously polluted. If so, set the obvious pollution coefficient to the first coefficient; if not, set the obvious pollution coefficient to the second coefficient;

[0035] Set the water temperature coefficient to determine whether the water temperature is greater than or equal to the first water temperature threshold. If so, set the water temperature coefficient to the first coefficient; if not, set the water temperature coefficient to the second coefficient;

[0036] Calculate the water quality index of distributed detection points through the water quality index calculation formula;

[0037] The water quality index calculation formula is configured as: ;WQI is the water quality index, M1 is the water temperature coefficient, M2 is the obvious pollution coefficient, and max(i) is the maximum value of i;

[0038] Calculate the water quality index for all distributed testing points.

[0039] Furthermore, the water quality assessment of the water body based on the water quality index includes the following sub-steps:

[0040] Based on the numerical range of the water quality index, the numerical range is evenly divided into 4 intervals, named extreme interval, poor interval, good interval and excellent interval from small to large;

[0041] The extreme difference interval, bad interval, good interval and excellent interval are all left closed intervals, among which the excellent interval is a right closed interval, and the rest are right open intervals;

[0042] Find the interval where the water quality index of the distributed detection point is located. If it is an extremely poor interval, mark the water quality of the distributed detection point as extremely poor water quality; if it is a poor interval, mark the water quality of the distributed detection point as poor water quality; if it is a good interval, mark the water quality of the distributed detection point as good water quality; if it is an excellent interval, mark the water quality of the distributed detection point as excellent water quality;

[0043] Calculate the average value of the water quality index of all distributed detection points, mark it as the comprehensive index, and find the interval corresponding to the comprehensive index. If it is an extreme interval, the comprehensive water quality of the marked water body is extremely poor; if it is a poor interval, the comprehensive water quality of the marked water body is poor; if it is a good interval, the comprehensive water quality of the marked water body is good; if it is an excellent interval, the comprehensive water quality of the marked water body is excellent.

[0044] In a second aspect, the present application provides a multi-point distributed water quality detection system, including a detection point selection module, a sensor installation module, a water quality index calculation module and a water quality assessment module; the detection point selection module, the sensor installation module and the water quality assessment module are respectively connected to the water quality index calculation module;

[0045] The detection point selection module is used to obtain a bird's-eye view of the water body, obtain a central detection point of the water body based on the bird's-eye view, and obtain the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour;

[0046] The sensor installation module is used to install water quality sensors at distributed detection points;

[0047] The water quality index calculation module is used to obtain water quality data of the water body through the water quality sensor, calculate and analyze the water quality data, and obtain the water quality index of the water body;

[0048] The water quality assessment module is used to assess the water quality of the water body based on the water quality index.

[0049] In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are performed.

[0050] In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above method are performed.

[0051] Beneficial effects of the present invention: The present invention obtains the central detection point by analyzing the top view of the water body, and then obtains the distributed detection points by circular diffusion based on the central detection point. The advantage is that for irregular water body areas, the center of the water body is difficult to determine, and the method based on the top view filling can find points close to the center of the water body area as detection points, so as to detect the central area of ​​the water body, and the circular diffusion method can make the distribution of the detection points conform to the diffusion law of the water flow, and at the same time combine the analysis with the distance from the shore, so that the installation position of the distributed detection points can achieve a balance in terms of the distance from the shore and the distance from the central detection point, thereby improving the rationality and accuracy of water quality detection of water bodies;

[0052] The present invention installs water quality sensors at distributed detection points, then obtains water quality data of the water body through the water quality sensors, calculates and analyzes the water quality data to obtain a water quality index of the water body, and finally evaluates the water quality of the water body based on the water quality index. The advantage is that the water quality indexes calculated by different distributed detection points are different, which is affected by many factors, and the water body has a certain purification function. Therefore, a regional evaluation of the water body is performed, and then a comprehensive evaluation is performed. In this way, the area with poor water quality in the water body can be identified, and the comprehensive water quality of the water body can be judged, thereby improving the rationality and effectiveness of water quality detection of the water body. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 is a functional block diagram of the system of the present invention;

[0054] Figure 2 It is a schematic diagram of the top view of the present invention in the detection and analysis coordinate system;

[0055] Figure 3 It is a schematic diagram of the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point of the present invention;

[0056] Figure 4 It is a schematic diagram of the first auxiliary line to the sixth auxiliary line of the present invention;

[0057] Figure 5 It is a schematic diagram of the first intersection to the eighth intersection of the present invention;

[0058] Figure 6 is a schematic diagram of the intersection of the fourth intersection point of the present invention and the water body contour;

[0059] Figure 7It is a schematic diagram of the first detection point to the eighth detection point of the present invention;

[0060] Figure 8 The figure is a flow chart of the steps of the method of the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] Example 1, please refer to Figure 1 As shown, the present application provides a multi-point distributed water quality detection system, including a detection point selection module, a sensor installation module, a water quality index calculation module and a water quality assessment module; the detection point selection module, the sensor installation module and the water quality assessment module are respectively connected to the water quality index calculation module data;

[0063] The detection point selection module is used to obtain a bird's-eye view of the water body, obtain the central detection point of the water body based on the bird's-eye view, and obtain the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour; the detection point selection module includes a central detection determination unit and a distributed detection determination unit;

[0064] The center detection determination unit is configured with a center detection determination strategy, which includes:

[0065] See also Figure 2 As shown, a top view of the water body is obtained, and a plane rectangular coordinate system is constructed based on the scale of the top view, which is named the detection and analysis coordinate system, and the top view is placed in the first quadrant of the detection and analysis coordinate system;

[0066] In practical applications, the top view is in the detection and analysis coordinate system. Figure 2 As shown, the scale of the top view is actually the scale of the top view relative to the water body itself. For example, one unit scale on the X-axis and Y-axis in the detection and analysis coordinate system is 50m in reality, that is, the distance from X=0, Y=0 is 50m from X=1, Y=0. For the conversion between the coordinate point and the actual distance, no specific calculation is performed in this embodiment, and only the coordinate point is displayed;

[0067] Get the minimum value of X in the detection and analysis coordinate system, marked as min(X); Get the maximum value of X in the detection and analysis coordinate system, marked as max(X); Get the minimum value of Y in the detection and analysis coordinate system, marked as min(Y); Get the maximum value of Y in the detection and analysis coordinate system, marked as max(Y);

[0068] See also Figure 3 As shown, the coordinate points (min(X), max(Y)), (min(X), min(Y)), (max(X), min(Y)) and (max(X), max(Y)) are marked as the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point respectively;

[0069] Connect the first coordinate point with the third coordinate point, connect the second coordinate point with the fourth coordinate point, and mark the intersection of the two lines as the center detection point;

[0070] The remaining distributed detection points are obtained by analyzing the positional relationship between the central detection point and the water body contour;

[0071] In actual application, min(X) is 3.2, max(X) is 25.1, min(Y) is 1.9, and max(Y) is 12.2. That is, the coordinates of the first coordinate point are (3.2, 12.2), the coordinates of the second coordinate point are (3.2, 1.9), the coordinates of the third coordinate point are (25.1, 1.9), and the coordinates of the fourth coordinate point are (25.1, 12.2). The positions of the first coordinate point, the second coordinate point, the third coordinate point, and the fourth coordinate point are as follows: Figure 3 As shown, the central detection point obtained by connecting the lines is (10.95, 5.15);

[0072] The distributed detection determination unit is configured with a distributed detection determination strategy, and the distributed detection determination strategy includes:

[0073] See also Figure 4 As shown, set the center radius, represented by the symbol R, draw a circle with the center detection point as the center and R as the radius, named center circle, 0 <R;

[0074] The line between the center circle and the first coordinate point is named the first auxiliary line, the line between the center circle and the second coordinate point is named the second auxiliary line, the line between the center circle and the third coordinate point is named the third auxiliary line, and the line between the center circle and the fourth coordinate point is named the fourth auxiliary line;

[0075] See also Figure 5 As shown, the intersection point of the center circle and the first auxiliary line is named the first intersection point, the intersection point of the center circle and the second auxiliary line is named the second intersection point, the intersection point of the center circle and the third auxiliary line is named the third intersection point, and the intersection point of the center circle and the fourth auxiliary line is named the fourth intersection point;

[0076] Draw the fifth auxiliary line, which passes through the center detection point and is perpendicular to the X axis. The intersection points of the center circle and the fifth auxiliary line are named the fifth intersection point and the sixth intersection point respectively according to the Y axis from large to small;

[0077] Draw the sixth auxiliary line, which passes through the center detection point and is perpendicular to the Y axis. The intersection points of the center circle and the sixth auxiliary line are named the seventh intersection point and the eighth intersection point from large to small along the X axis;

[0078] In practical applications, the first to sixth auxiliary lines are as follows: Figure 4 As shown, the positions of the first to eighth intersections are as follows Figure 5 As shown;

[0079] Extract the outline of the top view, name it as the water body outline, and refer to the first intersection point, the second intersection point, the third intersection point, the fourth intersection point, the fifth intersection point, the sixth intersection point, the seventh intersection point and the eighth intersection point as reference intersection points;

[0080] See also Figure 6 to Figure 7 As shown, R is gradually increased, and whether the reference intersection point intersects with the water body contour is monitored in real time. If so, the intersection point is marked as a contour intersection point; if not, R is continued to be increased; the contour intersection points include the first contour intersection point, the second contour intersection point, the third contour intersection point, the fourth contour intersection point, the fifth contour intersection point, the sixth contour intersection point, the seventh contour intersection point and the eighth contour intersection point, which correspond to the reference intersection point;

[0081] Continue to increase R until all contour intersections are found, and connect the contour intersections with the center detection points to obtain reference straight lines; the reference straight lines include a first reference straight line, a second reference straight line, a third reference straight line, a fourth reference straight line, a fifth reference straight line, a sixth reference straight line, a seventh reference straight line, and an eighth reference straight line, and the names of the reference straight lines correspond to the contour intersections;

[0082] The midpoint of the first reference straight line is marked as the first detection point, the midpoint of the second reference straight line is marked as the second detection point, the midpoint of the third reference straight line is marked as the third detection point, the midpoint of the fourth reference straight line is marked as the fourth detection point, the midpoint of the fifth reference straight line is marked as the fifth detection point, the midpoint of the sixth reference straight line is marked as the sixth detection point, the midpoint of the seventh reference straight line is marked as the seventh detection point, and the midpoint of the eighth reference straight line is marked as the eighth detection point; the first detection point to the eighth detection point and the central detection point are collectively referred to as distributed detection points;

[0083] In practical applications, R is increased from 0. When R increases, the center circle will also increase. Figure 6 When the size is as shown, the fourth intersection point intersects with the water body contour. At this time, the coordinates of the fourth intersection point are (11.88, 6.02), that is, the coordinates of the fourth contour intersection point are (11.88, 6.02). The fourth reference straight line is obtained by connecting the lines, and the coordinates of the fourth detection point are (11.415, 5.584). Similarly, the first reference straight line to the eighth reference straight line and the first detection point to the eighth detection point are analyzed as follows Figure 7 shown.

[0084] The sensor installation module is used to install water quality sensors at distributed detection points; water quality sensors include conductivity sensors, dissolved oxygen sensors, pH sensors and temperature sensors;

[0085] In practical applications, the conductivity sensor adopts the existing conductivity sensor, the dissolved oxygen sensor adopts the existing dissolved oxygen sensor, the pH sensor adopts the existing pH sensor, and the temperature sensor adopts the existing temperature sensor. In actual use, the parameters used to evaluate the water quality of the water body are not limited to these four parameters, but are formulated according to actual conditions. This embodiment only uses these four parameters to illustrate the specific analysis and calculation process.

[0086] The water quality index calculation module is used to obtain water quality data of the water body through the water quality sensor, calculate and analyze the water quality data, and obtain the water quality index of the water body; the water quality index calculation module includes a parameter determination unit and an index calculation unit;

[0087] The parameter determination unit is configured with a parameter determination strategy, which includes:

[0088] For any distributed detection point, the conductivity, dissolved oxygen concentration, pH value and water temperature of the water body are obtained. The conductivity, dissolved oxygen concentration and pH value are collectively referred to as the water quality influencing factors of the water body;

[0089] Find the scores of water quality influencing factors based on the parameters and scoring scale table of the Horton Water Quality Index, marked as conductivity score, dissolved oxygen score and pH score respectively;

[0090] The conductivity score, dissolved oxygen score and pH score are expressed by the symbol C. i It represents, where i is a positive integer and i is the serial number of C, C1 to C3 are conductivity, dissolved oxygen concentration and pH value respectively;

[0091] In practical applications, the water quality influencing factors detected at the central detection point are used as an example to calculate the water quality index in this embodiment, which is intended to explain the specific calculation process of the water quality index. The calculation process of the water quality index of other distributed detection points is omitted in this embodiment; the parameters and partial data of the scoring scale table of the Horton water quality index are shown in Table 1 below:

[0092] Table 1 Partial data of the parameters and scoring scale of the Horton Water Quality Index

[0093]

[0094] The conductivity, dissolved oxygen concentration, pH value and water temperature detected at the central detection point were 872μΩ / cm, 68%, 7 and 28℃ respectively. The conductivity score, dissolved oxygen score and pH value score were 80, 80 and 100 respectively, that is, C1 was 80, C2 was 80, and C3 was 100.

[0095] Obtain the weights corresponding to the factors affecting water quality, named as factor influence weights, and use the symbol W i Indicates that W i With C i corresponding;

[0096] Calculate water quality index at distributed testing points;

[0097] In practical applications, the values ​​of the weights of some factors are shown in Table 2 below:

[0098] Table 2 The values ​​of the weights of some factors

[0099]

[0100] Through searching, we can find that W1 is 1, W2 is 4, and W3 is 4;

[0101] The index calculation unit is configured with an index calculation strategy, which includes:

[0102] Set the obvious pollution coefficient to obtain whether the water body is obviously polluted. If so, set the obvious pollution coefficient to the first coefficient; if not, set the obvious pollution coefficient to the second coefficient;

[0103] Set the water temperature coefficient to determine whether the water temperature is greater than or equal to the first water temperature threshold. If so, set the water temperature coefficient to the first coefficient; if not, set the water temperature coefficient to the second coefficient;

[0104] Calculate the water quality index of distributed detection points through the water quality index calculation formula;

[0105] The water quality index calculation formula is configured as: ;WQI is the water quality index, M1 is the water temperature coefficient, M2 is the obvious pollution coefficient, and max(i) is the maximum value of i;

[0106] Calculate water quality index at all distributed testing points;

[0107] In practical applications, the obvious pollution coefficient and the water temperature coefficient are parameters of the Horton water quality detection technology. The first coefficient is set to 0.5, the second coefficient is set to 1, and the first water temperature threshold is set to 34°C. The values ​​of the first coefficient, the second coefficient and the first water temperature threshold are fixed values ​​of the Horton water quality detection technology. The definition of obvious pollution in the water body is determined by manual visual and olfactory observations. If it is found that there is no obvious pollution in the water body, the obvious pollution coefficient is set to the second coefficient, that is, the obvious pollution coefficient is 1. By comparison, if the water temperature is less than the first water temperature threshold, the water temperature coefficient is set to 1. In this embodiment, three data max(i)=3 are calculated. The water quality index WQI of the central detection point is calculated to be 88.9, and the calculation result retains one decimal place. Similarly, the water quality indexes of the first detection point to the eighth detection point are calculated to be 87.5, 88.2, 85.6, 91.3, 89.7, 87.7, 81.9 and 74.2 respectively.

[0108] The water quality assessment module is used to assess the water quality of water bodies based on the water quality index;

[0109] The water quality assessment module is configured with water quality assessment strategies, which include:

[0110] Based on the numerical range of the water quality index, the numerical range is evenly divided into 4 intervals, named extreme interval, poor interval, good interval and excellent interval from small to large;

[0111] The extreme interval, poor interval, good interval and excellent interval are all left-closed intervals, among which the excellent interval is a right-closed interval, and the others are right-open intervals;

[0112] Find the interval where the water quality index of the distributed detection point is located. If it is an extremely poor interval, mark the water quality of the distributed detection point as extremely poor water quality; if it is a poor interval, mark the water quality of the distributed detection point as poor water quality; if it is a good interval, mark the water quality of the distributed detection point as good water quality; if it is an excellent interval, mark the water quality of the distributed detection point as excellent water quality;

[0113] Calculate the average value of the water quality index of all distributed detection points, mark it as the comprehensive index, and find the interval corresponding to the comprehensive index. If it is an extreme interval, the comprehensive water quality of the marked water body is extremely poor; if it is a poor interval, the comprehensive water quality of the marked water body is poor; if it is a good interval, the comprehensive water quality of the marked water body is good; if it is an excellent interval, the comprehensive water quality of the marked water body is excellent;

[0114] In practical applications, the numerical range of the water quality index is 0 to 100, which is divided into the extreme range [0, 25), the poor range [25, 50), the good range [50, 75), and the excellent range [75, 100]. By searching, it is found that the water quality indexes of the first to seventh detection points are all in the excellent range, so the water quality of the first to seventh detection points is marked as excellent water quality; the water quality index of the eighth detection point is in the good range, so the water quality of the eighth detection point is marked as good water quality; the comprehensive index is calculated to be 86.1, and the calculation result is retained to one decimal place. By searching, it is found that the comprehensive index is in the excellent range, so the comprehensive water quality of the marked water body is excellent water quality.

[0115] Example 2, please refer to Figure 8 As shown, the present application provides a multi-point distributed water quality detection method, comprising the following steps:

[0116] Step S1, obtaining a bird's-eye view of the water body, obtaining the central detection point of the water body based on the bird's-eye view, and obtaining the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour; Step S1 includes the following sub-steps:

[0117] Step S101, obtaining a top view of the water body, constructing a plane rectangular coordinate system based on the proportion of the top view, named as the detection and analysis coordinate system, and placing the top view into the first quadrant of the detection and analysis coordinate system;

[0118] Step S102, obtaining the minimum value of X in the detection and analysis coordinate system, marked as min(X); obtaining the maximum value of X in the detection and analysis coordinate system, marked as max(X); obtaining the minimum value of Y in the detection and analysis coordinate system, marked as min(Y); obtaining the maximum value of Y in the detection and analysis coordinate system, marked as max(Y);

[0119] Step S103, marking the coordinate points (min(X), max(Y)), (min(X), min(Y)), (max(X), min(Y)) and (max(X), max(Y)) as the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point respectively;

[0120] Step S104, connecting the first coordinate point with the third coordinate point, connecting the second coordinate point with the fourth coordinate point, and marking the intersection of the two connecting lines as the center detection point;

[0121] Step S105, analyzing the positional relationship between the central detection point and the water body contour to obtain the remaining distributed detection points;

[0122] Step S105 includes the following sub-steps:

[0123] Step S1051, set the center radius, represented by the symbol R, draw a circle with the center detection point as the center and R as the radius, named the center circle, 0 <R;

[0124] Step S1052, naming the line between the center circle and the first coordinate point as the first auxiliary line, naming the line between the center circle and the second coordinate point as the second auxiliary line, naming the line between the center circle and the third coordinate point as the third auxiliary line, and naming the line between the center circle and the fourth coordinate point as the fourth auxiliary line;

[0125] Step S1053, naming the intersection of the center circle and the first auxiliary line as the first intersection, naming the intersection of the center circle and the second auxiliary line as the second intersection, naming the intersection of the center circle and the third auxiliary line as the third intersection, and naming the intersection of the center circle and the fourth auxiliary line as the fourth intersection;

[0126] Step S1054, draw a fifth auxiliary line, the fifth auxiliary line passes through the center detection point and is perpendicular to the X axis, and the intersection points of the center circle and the fifth auxiliary line are named the fifth intersection point and the sixth intersection point respectively from large to small along the Y axis;

[0127] Step S1055, draw a sixth auxiliary line, the sixth auxiliary line passes through the central detection point and is perpendicular to the Y axis, and the intersection points of the central circle and the sixth auxiliary line are named the seventh intersection point and the eighth intersection point respectively from large to small along the X axis;

[0128] Step S1056, extracting the outline of the top view, naming it as the water body outline, and collectively referring to the first intersection point, the second intersection point, the third intersection point, the fourth intersection point, the fifth intersection point, the sixth intersection point, the seventh intersection point, and the eighth intersection point as reference intersection points;

[0129] Step S1057, gradually increase R, and monitor in real time whether the reference intersection intersects with the water body contour. If so, mark the intersection as a contour intersection; if not, continue to increase R; the contour intersections include a first contour intersection, a second contour intersection, a third contour intersection, a fourth contour intersection, a fifth contour intersection, a sixth contour intersection, a seventh contour intersection, and an eighth contour intersection, which correspond to the reference intersection;

[0130] Step S1058, continuously increasing R until all contour intersections are found, and connecting the contour intersections with the center detection points to obtain reference straight lines; the reference straight lines include a first reference straight line, a second reference straight line, a third reference straight line, a fourth reference straight line, a fifth reference straight line, a sixth reference straight line, a seventh reference straight line and an eighth reference straight line, and the names of the reference straight lines correspond to the contour intersections;

[0131] Step S1059, mark the midpoint of the first reference straight line as the first detection point, mark the midpoint of the second reference straight line as the second detection point, mark the midpoint of the third reference straight line as the third detection point, mark the midpoint of the fourth reference straight line as the fourth detection point, mark the midpoint of the fifth reference straight line as the fifth detection point, mark the midpoint of the sixth reference straight line as the sixth detection point, mark the midpoint of the seventh reference straight line as the seventh detection point, and mark the midpoint of the eighth reference straight line as the eighth detection point; the first detection point to the eighth detection point and the central detection point are collectively referred to as distributed detection points;

[0132] Step S2, installing water quality sensors at distributed detection points; the water quality sensors include conductivity sensors, dissolved oxygen sensors, pH sensors and temperature sensors;

[0133] Step S3, obtaining water quality data of the water body through a water quality sensor, calculating and analyzing the water quality data, and obtaining a water quality index of the water body; Step S3 includes the following sub-steps:

[0134] Step S301, for any distributed detection point, obtain the conductivity, dissolved oxygen concentration, pH value and water temperature of the water body, where the conductivity, dissolved oxygen concentration and pH value are collectively referred to as water quality influencing factors of the water body;

[0135] Step S302, searching for scores of water quality influencing factors based on the parameters and scoring scale table of the Horton Water Quality Index, and marking them as conductivity score, dissolved oxygen score, and pH value score respectively;

[0136] Step S303: Conductivity score, dissolved oxygen score and pH score are expressed by symbol C. i It represents, where i is a positive integer and i is the serial number of C, C1 to C3 are conductivity score, dissolved oxygen score and pH value score respectively;

[0137] Step S304: Obtain the weights corresponding to the water quality influencing factors, named as factor influencing weights, and use the symbol W i Indicates that W i With C i corresponding;

[0138] Step S305, calculating the water quality index of the distributed detection points;

[0139] Step S305 includes the following sub-steps:

[0140] Step S3051, setting the obvious pollution coefficient, obtaining whether the water body is obviously polluted, if so, setting the obvious pollution coefficient to the first coefficient; if not, setting the obvious pollution coefficient to the second coefficient;

[0141] Step S3052, setting the water temperature coefficient, determining whether the water temperature is greater than or equal to the first water temperature threshold, if so, setting the water temperature coefficient to the first coefficient; if not, setting the water temperature coefficient to the second coefficient;

[0142] Step S3053, calculating the water quality index of the distributed detection points by using the water quality index calculation formula;

[0143] The water quality index calculation formula is configured as: ;WQI is the water quality index, M1 is the water temperature coefficient, M2 is the obvious pollution coefficient, and max(i) is the maximum value of i;

[0144] Step S3054, calculating the water quality index of all distributed detection points;

[0145] Step S4, evaluating the water quality of the water body based on the water quality index; Step S4 includes the following sub-steps:

[0146] Step S401, based on the numerical range of the water quality index, the numerical range is evenly divided into 4 intervals, which are named as extreme difference interval, poor interval, good interval and excellent interval from small to large;

[0147] Step S402, the extreme difference interval, the bad interval, the good interval and the excellent interval are all left-closed intervals, among which the excellent interval is a right-closed interval, and the others are right-open intervals;

[0148] Step S403, finding the interval where the water quality index of the distributed detection point is located, if it is an extremely poor interval, then mark the water quality of the distributed detection point as extremely poor water quality; if it is a poor interval, then mark the water quality of the distributed detection point as poor water quality; if it is a good interval, then mark the water quality of the distributed detection point as good water quality; if it is an excellent interval, then mark the water quality of the distributed detection point as excellent water quality;

[0149] Step S404, calculate the average value of the water quality index of all distributed detection points, mark it as a comprehensive index, and find the interval corresponding to the comprehensive index. If it is an extreme interval, the comprehensive water quality of the marked water body is extremely poor water quality; if it is a poor interval, the comprehensive water quality of the marked water body is poor water quality; if it is a good interval, the comprehensive water quality of the marked water body is good water quality; if it is an excellent interval, the comprehensive water quality of the marked water body is excellent water quality.

[0150] Embodiment 3, the present application provides an electronic device, which may include: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus. The memory stores computer-readable instructions, and the processor can call the instructions in the memory. When the computer-readable instructions are executed by the processor, the steps in the multi-point distributed water quality detection method are executed to achieve the following functions: obtain a bird's-eye view of the water body, obtain the central detection point of the water body based on the bird's-eye view, and obtain the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour; install water quality sensors on the distributed detection points; obtain water quality data of the water body through the water quality sensor, calculate and analyze the water quality data, and obtain the water quality index of the water body; evaluate the water quality of the water body based on the water quality index.

[0151] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0152] Embodiment 4. The present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the multi-point distributed water body water quality detection method provided by the above-mentioned methods, and the method includes: obtaining a bird's-eye view of the water body, obtaining a central detection point of the water body based on the bird's-eye view, and obtaining the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour; installing water quality sensors at the distributed detection points; obtaining water quality data of the water body through the water quality sensor, calculating and analyzing the water quality data to obtain a water quality index of the water body; and evaluating the water quality of the water body based on the water quality index.

[0153] Embodiment 5. The present application also provides a computer-readable storage medium. The present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the above multi-point distributed water body water quality detection method are executed to achieve the following functions: obtain a bird's-eye view of the water body, obtain a central detection point of the water body based on the bird's-eye view, and obtain the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour; install water quality sensors at the distributed detection points; obtain water quality data of the water body through the water quality sensor, calculate and analyze the water quality data to obtain a water quality index of the water body; and evaluate the water quality of the water body based on the water quality index.

[0154] Through the description of the above implementation methods, the embodiments of the present invention can be provided as methods, systems or computer program products. Based on such an understanding, the above technical solutions can be essentially or partly contributed to the prior art in the form of software products, which can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and include several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0155] In the embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of systems, modules and units can be electrical, mechanical or other forms.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these 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 application.

Claims

1. A multi-point distributed water quality detection method, characterized in that: The steps include: Obtain a bird's-eye view of the water body, obtain the central detection point of the water body based on the bird's-eye view, and obtain the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour; Install water quality sensors at distributed testing points; The water quality data of the water body is obtained through the water quality sensor, and the water quality data is calculated and analyzed to obtain the water quality index of the water body; Assessment of water quality of water bodies based on water quality index; Obtaining a bird's-eye view of the water body, and obtaining the center detection point of the water body based on the bird's-eye view includes the following sub-steps: Obtain a top view of the water body, construct a plane rectangular coordinate system based on the scale of the top view, name it the detection and analysis coordinate system, and put the top view into the first quadrant of the detection and analysis coordinate system; Get the minimum value of X in the detection and analysis coordinate system, marked as min(X); Get the maximum value of X in the detection and analysis coordinate system, marked as max(X); Get the minimum value of Y in the detection and analysis coordinate system, marked as min(Y); Get the maximum value of Y in the detection and analysis coordinate system, marked as max(Y); Mark the coordinate points (min(X), max(Y)), (min(X), min(Y)), (max(X), min(Y)) and (max(X), max(Y)) as the first coordinate point, the second coordinate point, the third coordinate point and the fourth coordinate point respectively; Connect the first coordinate point with the third coordinate point, connect the second coordinate point with the fourth coordinate point, and mark the intersection of the two lines as the center detection point; The remaining distributed detection points are obtained by analyzing the positional relationship between the central detection point and the water body contour, including the following sub-steps: Set the center radius, represented by the symbol R, draw a circle with the center detection point as the center and R as the radius, named center circle, 0 <R; The line between the center circle and the first coordinate point is named the first auxiliary line, the line between the center circle and the second coordinate point is named the second auxiliary line, the line between the center circle and the third coordinate point is named the third auxiliary line, and the line between the center circle and the fourth coordinate point is named the fourth auxiliary line; The intersection point of the center circle and the first auxiliary line is named the first intersection point, the intersection point of the center circle and the second auxiliary line is named the second intersection point, the intersection point of the center circle and the third auxiliary line is named the third intersection point, and the intersection point of the center circle and the fourth auxiliary line is named the fourth intersection point; Draw a fifth auxiliary line, which passes through the center detection point and is perpendicular to the X axis, and name the intersection points of the center circle and the fifth auxiliary line as the fifth intersection point and the sixth intersection point respectively from large to small along the Y axis; Draw a sixth auxiliary line, which passes through the center detection point and is perpendicular to the Y axis, and name the intersection points of the center circle and the sixth auxiliary line as the seventh intersection point and the eighth intersection point respectively from large to small along the X axis; Extract the outline of the top view, name it as the water body outline, and refer to the first intersection point, the second intersection point, the third intersection point, the fourth intersection point, the fifth intersection point, the sixth intersection point, the seventh intersection point and the eighth intersection point as reference intersection points; R is gradually increased, and whether the reference intersection point intersects with the water body contour is monitored in real time. If so, the intersection point is marked as a contour intersection point; if not, R is continued to be increased; the contour intersection points include a first contour intersection point, a second contour intersection point, a third contour intersection point, a fourth contour intersection point, a fifth contour intersection point, a sixth contour intersection point, a seventh contour intersection point, and an eighth contour intersection point, which correspond to the reference intersection point; Continue to increase R until all contour intersections are found, connect the contour intersections with the center detection points, and obtain reference straight lines; the reference straight lines include a first reference straight line, a second reference straight line, a third reference straight line, a fourth reference straight line, a fifth reference straight line, a sixth reference straight line, a seventh reference straight line, and an eighth reference straight line, and the names of the reference straight lines correspond to the contour intersections; The midpoint of the first reference straight line is marked as the first detection point, the midpoint of the second reference straight line is marked as the second detection point, the midpoint of the third reference straight line is marked as the third detection point, the midpoint of the fourth reference straight line is marked as the fourth detection point, the midpoint of the fifth reference straight line is marked as the fifth detection point, the midpoint of the sixth reference straight line is marked as the sixth detection point, the midpoint of the seventh reference straight line is marked as the seventh detection point, and the midpoint of the eighth reference straight line is marked as the eighth detection point; the first to eighth detection points and the center detection point are collectively referred to as distributed detection points.

2. The multi-point distributed water quality detection method according to claim 1 is characterized in that: Water quality sensors are installed at the distributed detection points, and the water quality sensors include conductivity sensors, dissolved oxygen sensors, pH sensors and temperature sensors.

3. The multi-point distributed water quality detection method according to claim 2 is characterized in that: The water quality data of the water body is obtained by using a water quality sensor, and the water quality data is calculated and analyzed to obtain the water quality index of the water body, which includes the following sub-steps: For any distributed detection point, the conductivity, dissolved oxygen concentration, pH value and water temperature of the water body are obtained, and the conductivity, dissolved oxygen concentration and pH value are collectively referred to as water quality influencing factors of the water body; Find the scores of water quality influencing factors based on the parameters and scoring scale table of the Horton Water Quality Index, marked as conductivity score, dissolved oxygen score and pH score respectively; The conductivity score, dissolved oxygen score and pH score are expressed by the symbol C i It represents, where i is a positive integer and i is the serial number of C, C1 to C3 are conductivity score, dissolved oxygen score and pH value score respectively; Obtain the weights corresponding to the factors affecting water quality, named as factor influence weights, and use the symbol W i Indicates that W i With C i corresponding; Calculate water quality index at distributed testing points.

4. The multi-point distributed water quality detection method according to claim 3 is characterized in that: Calculating the water quality index of distributed detection points includes the following sub-steps: Set the obvious pollution coefficient to obtain whether the water body is obviously polluted. If so, set the obvious pollution coefficient to the first coefficient; if not, set the obvious pollution coefficient to the second coefficient; Set the water temperature coefficient to determine whether the water temperature is greater than or equal to the first water temperature threshold. If so, set the water temperature coefficient to the first coefficient; if not, set the water temperature coefficient to the second coefficient; Calculate the water quality index of distributed detection points through the water quality index calculation formula; The water quality index calculation formula is configured as: ; Where WQI is the water quality index, M1 is the water temperature coefficient, M2 is the obvious pollution coefficient, and max(i) is the maximum value of i.

5. The multi-point distributed water quality detection method according to claim 4 is characterized in that: The water quality assessment of a water body based on the water quality index includes the following sub-steps: Based on the numerical range of the water quality index, the numerical range is evenly divided into 4 intervals, named extreme interval, poor interval, good interval and excellent interval from small to large; The extreme difference interval, bad interval, good interval and excellent interval are all left closed intervals, among which the excellent interval is a right closed interval, and the rest are right open intervals; Find the interval where the water quality index of the distributed detection point is located. If it is an extremely poor interval, mark the water quality of the distributed detection point as extremely poor water quality; if it is a poor interval, mark the water quality of the distributed detection point as poor water quality; if it is a good interval, mark the water quality of the distributed detection point as good water quality; if it is an excellent interval, mark the water quality of the distributed detection point as excellent water quality; Calculate the average value of the water quality index of all distributed detection points, mark it as the comprehensive index, and find the interval corresponding to the comprehensive index. If it is an extreme interval, the comprehensive water quality of the marked water body is extremely poor; if it is a poor interval, the comprehensive water quality of the marked water body is poor; if it is a good interval, the comprehensive water quality of the marked water body is good; if it is an excellent interval, the comprehensive water quality of the marked water body is excellent.

6. A multi-point distributed water quality detection system for implementing the multi-point distributed water quality detection method according to any one of claims 1 to 5, characterized in that: It includes a detection point selection module, a sensor installation module, a water quality index calculation module and a water quality assessment module; the detection point selection module, the sensor installation module and the water quality assessment module are respectively connected with the water quality index calculation module; The detection point selection module is used to obtain a bird's-eye view of the water body, obtain a central detection point of the water body based on the bird's-eye view, and obtain the remaining distributed detection points based on the positional relationship between the central detection point and the water body contour; The sensor installation module is used to install water quality sensors at distributed detection points; The water quality index calculation module is used to obtain water quality data of the water body through the water quality sensor, calculate and analyze the water quality data, and obtain the water quality index of the water body; The water quality assessment module is used to assess the water quality of the water body based on the water quality index.

7. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 5 are executed.

8. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are executed.

Citation Information

Patent Citations

  • Surface water source water quality monitoring system and method

    CN117929665A

  • Intelligent auxiliary decision analysis system for river chief

    CN114252576A

  • Water quality online monitoring analysis management system based on big data platform

    CN116519895A