An intelligent determination method and system for groundwater quality grade based on index analysis
By dividing the depth levels at groundwater sampling points, calculating the sample dispersion value and metabolic value, combining acid and alkaline and fluorescence analysis, the problem of insufficient accuracy of traditional groundwater quality detection is solved, and a more accurate judgment of groundwater quality level is achieved.
Patent Information
- Application Number
- CN202510502906.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-04-22
AI Technical Summary
Traditional groundwater quality testing has insufficient systemic data collection and lack of standardization of sample processing, resulting in low accuracy in determining groundwater quality grades, which makes it difficult to meet the high-precision needs of environmental monitoring and water resource management.
By obtaining the depth of the groundwater sampling points, dividing different levels for sampling, calculating the sample dispersion value and metabolic value, combining acid-base value and fluorescence intensity analysis, an intelligent judgment method is used to improve the judgment accuracy.
It improves the accuracy and representativeness of groundwater quality grade judgment, provides reliable indicators and quantitative evaluation, and achieves a more objective groundwater quality grade judgment.
Smart Images

Figure CN120031261B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for intelligently determining groundwater quality grade based on indicator analysis. Background Art
[0002] With the rapid development of information technology and sensing technology, groundwater quality monitoring and assessment has become an important part of environmental protection and water resources management. As an important natural water resource, groundwater has a significant impact on the ecological environment and public health. Groundwater quality is directly related to the safe water use in farmland irrigation, industrial production and daily life of residents.
[0003] Traditional groundwater quality testing suffers from inadequate data collection and a lack of standardization in groundwater sample processing and characteristic analysis. This results in inaccurate groundwater quality grading, making it difficult to meet the high-precision data analysis requirements of environmental monitoring and water resources management. Therefore, improving the accuracy of groundwater quality grading is a critical issue that needs to be addressed. Summary of the Invention
[0004] The present invention provides a method and system for intelligently determining groundwater quality grade based on index analysis, the main purpose of which is to improve the accuracy of groundwater quality grade determination.
[0005] To achieve the above objectives, the present invention provides a method for intelligently determining groundwater quality grade based on index analysis, comprising:
[0006] Obtaining groundwater sampling points, measuring groundwater depths at the groundwater sampling points, and dividing the groundwater depths based on preset measurement intervals to obtain a sampling depth set, wherein the sampling depth set includes: a first depth, a second depth, and a third depth;
[0007] Sampling the groundwater sampling point according to the first depth, the second depth, the third depth and the preset sampling time to obtain a first sampling sample, a second sampling sample and a third sampling sample, wherein the first sampling sample corresponds to the first depth, the second sampling sample corresponds to the second depth, and the third sampling sample corresponds to the third depth;
[0008] Calculate a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample, respectively, wherein the first sample dispersion value corresponds to the first sampling sample, the second sample dispersion value corresponds to the second sampling sample, and the third sample dispersion value corresponds to the third sampling sample;
[0009] The calculating of a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample respectively includes:
[0010] Detect the first pH value, the second pH value, and the third pH value of the first sampling sample, the second sampling sample, and the third sampling sample;
[0011] Extract a first experimental sample from the first sampling sample, and confirm the first sampling sample from which the first experimental sample has been extracted as the first screening sample. Extract a second experimental sample from the second sampling sample, and confirm the second sampling sample from which the second experimental sample has been extracted as the second screening sample. Extract a third experimental sample from the third sampling sample, and confirm the third sampling sample from which the third experimental sample has been extracted as the third screening sample. Among them, the volumes of the first experimental sample, the second experimental sample, and the third experimental sample are the same;
[0012] Perturb the first screening sample, the second screening sample, and the third screening sample based on a preset perturbation time, and use a pre-constructed pH sensor to record the first perturbation value, the second perturbation value, and the third perturbation value;
[0013] Confirm the time when the first screening sample, the second screening sample, and the third screening sample are perturbed as the initial perturbation time;
[0014] Calculate a first change rate according to the first pH value, the first perturbation value, the perturbation time, the initial perturbation time, and a preset time parameter:
[0015]
[0016] Among them, denotes the first change rate, denotes that the time parameter is the first perturbation value at this time, denotes the initial perturbation time, denotes the perturbation time, denotes that the time parameter is the first pH value at this time;
[0017] Calculate a second change rate according to the second pH value, the second perturbation value, the perturbation time, the initial perturbation time, and the time parameter, and calculate a third change rate according to the third pH value, the third perturbation value, the perturbation time, the initial perturbation time, and the time parameter;
[0018] Calculate a first sample dispersion value using the first change rate and the first experimental sample, calculate a second sample dispersion value using the second change rate and the second experimental sample, and calculate a third sample dispersion value using the third change rate and the third experimental sample. Among them, the calculation methods of the second sample dispersion value and the third sample dispersion value are the same as that of the first sample dispersion value;
[0019] Compare the first sample dispersion value, the second sample dispersion value, the third sample dispersion value, and a preset dispersion threshold;
[0020] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are all less than the dispersion threshold, calculate the determination dispersion value according to the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value, make a determination according to the determination dispersion value, obtain the groundwater quality grade, and complete the intelligent determination of the groundwater quality grade according to the groundwater quality grade;
[0021] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are not all less than the dispersion threshold, obtain the screening samples, and obtain the screening dispersion value according to the screening samples;
[0022] Calculate the sample metabolic value based on the screening samples, calculate the comprehensive determination value according to the screening dispersion value and the sample metabolic value, and complete the intelligent determination of the groundwater quality grade according to the comprehensive determination value.
[0023] Optionally, the calculating the first sample dispersion value by using the first change rate and the first experimental sample includes:
[0024] Obtain a test solution, and perform the following operations on the first experimental sample according to the preset test volume and the test solution:
[0025] Set the initial number of times and the initial volume, titrate the first experimental sample by using the test volume and the test solution, and record the number of titrations;
[0026] When the number of titrations is the preset number of test times, obtain the first test solution, record the titrant volume and the first test acid-base value, calculate the iteration number according to the number of titrations and the number of test times, and calculate the iteration volume according to the initial volume and the titrant volume;
[0027] Calculate the acid-base change value according to the first test acid-base value and the first acid-base value;
[0028] Compare the acid-base change value with the preset change threshold;
[0029] If the acid-base change value is less than the change threshold, update the first experimental sample by using the first test solution, update the initial number of times by using the number of test times, update the number of test times by using the iteration number, update the initial volume by using the titrant volume, and return to the above step of titrating the first experimental sample by using the test volume and the test solution by using the updated first experimental sample, initial number of times, number of test times, and initial volume;
[0030] If the acid-base change value is greater than or equal to the change threshold, calculate the test buffer value according to the acid-base change value and the iteration volume;
[0031] Calculate the first sample dispersion value according to the test buffer value and the first change rate.
[0032] Optionally, calculating the test buffer value according to the acid-base change value and the iterative volume includes:
[0033]
[0034] in, Refers to the test buffer value, refers to the iteration volume, Refers to the pH change value.
[0035] Optionally, calculating the first sample dispersion value according to the test buffer value and the first change rate includes:
[0036] Setting a change time window and an acid-base recording frequency, dividing the change time window according to the acid-base recording frequency to obtain a divided time window set;
[0037] Calculating a set of disturbance acid-base change rates according to the divided time window set;
[0038] An overall acid-base change rate is calculated based on the perturbation acid-base change rate set, and a first sample dispersion value is calculated based on the test buffer value, the overall acid-base change rate, and the first change rate.
[0039] Optionally, calculating the disturbance acid-base change rate set according to the divided time window set includes:
[0040] Extracting divided time windows in sequence from the divided time window set, obtaining initial window moments according to the extracted divided time windows, and aggregating the initial window moments to obtain an initial window moment set;
[0041] The disturbance is performed according to the initial window time set, and the initial pH value and the ending pH value are recorded by the pH sensor. The disturbance pH change rate is calculated according to the initial pH value and the ending pH value, and the disturbance pH change rates are collected to obtain a disturbance pH change rate set.
[0042] Optionally, calculating the first sample dispersion value based on the test buffer value, the overall acid-base change rate, and the first change rate includes:
[0043] The total pH change value is calculated based on the change time window and the first pH value, and the first sample dispersion value is calculated using the test buffer value, the overall pH change rate, the first change rate, and the total pH change value:
[0044]
[0045] in, Refers to the first sample dispersion value, Refers to the preset change parameters, Refers to the overall acid-base change rate, Refers to the total change in acidity and base.
[0046] Optionally, making a determination based on the determined dispersion value to obtain the groundwater quality grade includes:
[0047] Obtaining the excellent quality grade, good quality grade, and polluted quality grade, and obtaining the excellent grade interval and good grade interval;
[0048] Obtaining the excellent upper limit according to the excellent grade interval, and comparing the determined dispersion value with the excellent upper limit;
[0049] If the determined dispersion value is less than or equal to the excellent upper limit, confirming the excellent quality grade as the groundwater quality grade; otherwise, obtaining the good upper limit of the good grade interval and comparing the determined dispersion value with the good upper limit;
[0050] If the determined dispersion value is less than the good upper limit, confirming the good quality grade as the groundwater quality grade; otherwise, confirming the polluted quality grade as the groundwater quality grade.
[0051] Optionally, calculating the sample metabolic value based on the screened samples includes:
[0052] Detecting the screened samples based on a pre-built detection sensor, a preset detection frequency, and a preset detection period to obtain a fluorescence intensity set;
[0053] Sorting the fluorescence intensities in the fluorescence intensity set in ascending order to obtain a fluorescence intensity sequence;
[0054] Obtaining the maximum fluorescence intensity and the minimum fluorescence intensity from the fluorescence intensity sequence, calculating the intensity difference according to the maximum fluorescence intensity and the minimum fluorescence intensity, and calculating the bin interval according to the intensity difference and the total number of preset division intervals;
[0055] Dividing the fluorescence intensity sequence using the bin interval to obtain a fluorescence division interval set;
[0056] Sequentially extracting fluorescence division intervals from the fluorescence division interval set, calculating the number of interval samples according to the extracted fluorescence division intervals, and aggregating the number of interval samples to obtain a set of the number of interval samples;
[0057] Calculating the interval discrete probability according to the set of the number of interval samples, and calculating the sample metabolic value using the total number of division intervals and the interval discrete probability:
[0058]
[0059] Wherein, denotes the sample metabolic value, denotes the total number of division intervals, denotes a preset interval parameter, denotes that the preset interval parameter is The interval weight at this time, represents the natural logarithm, represents that the interval parameter is the interval discrete probability at this time.
[0060] To achieve the above object, the present invention also provides an intelligent determination system for groundwater quality grade based on index analysis, including:
[0061] A water body sampling module, used to obtain groundwater sampling points, measure the groundwater depth of the groundwater sampling points, divide the groundwater depth based on a preset measurement interval to obtain a sampling depth set, where the sampling depth set includes: a first depth, a second depth, and a third depth;
[0062] According to the first depth, the second depth, the third depth, and the preset sampling duration, sample the groundwater sampling points to obtain a first sampling sample, a second sampling sample, and a third sampling sample, where the first sampling sample corresponds to the first depth, the second sampling sample corresponds to the second depth, and the third sampling sample corresponds to the third depth;
[0063] A dispersion calculation module, used to calculate a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample respectively, where the first sample dispersion value corresponds to the first sampling sample, the second sample dispersion value corresponds to the second sampling sample, and the third sample dispersion value corresponds to the third sampling sample;
[0064] A dispersion determination module, used to compare the first sample dispersion value, the second sample dispersion value, the third sample dispersion value, and a preset dispersion threshold;
[0065] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are all less than the dispersion threshold, then calculate a determination dispersion value according to the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value, make a determination according to the determination dispersion value to obtain the groundwater quality grade, and complete the intelligent determination of the groundwater quality grade according to the groundwater quality grade;
[0066] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are not all less than the dispersion threshold, then obtain a screening sample, and obtain a screening dispersion value according to the screening sample;
[0067] A comprehensive determination module, used to calculate a sample metabolism value based on the screening sample, calculate a comprehensive determination value according to the screening dispersion value and the sample metabolism value, and complete the intelligent determination of the groundwater quality grade according to the comprehensive determination value.
[0068] To solve the above problems, the present invention also provides an electronic device, and the electronic device includes:
[0069] A memory, storing at least one instruction;
[0070] A processor that executes instructions stored in the memory to implement the intelligent determination method for groundwater quality grade based on index analysis described above.
[0071] To solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is executed by a processor in an electronic device to implement the intelligent determination method for groundwater quality grade based on index analysis described above.
[0072] To solve the problems described in the background art, first, groundwater sampling points are obtained, the groundwater depth at the groundwater sampling points is measured and divided according to the measurement interval. The measured groundwater depth is divided into different levels according to the measurement interval, and each level is used as an independent sampling unit, which can not only reflect the water quality differences between surface and deep groundwater, but also avoid losing specific information due to depth mixing, ensuring the accuracy and representativeness of subsequent groundwater quality grade determination; secondly, the groundwater sampling points are sampled according to the first depth, the second depth, the third depth and the sampling duration. Sampling at different depths can obtain samples at the levels of the first depth, the second depth and the third depth, providing stable data for subsequent calculation of the first sample dispersion value, the second sample dispersion value and the third sample dispersion value, making the calculation of the first sample dispersion value, the second sample dispersion value and the third sample dispersion value more accurate; then, the first sample dispersion value, the second sample dispersion value and the third sample dispersion value are calculated. The first sample dispersion value, the second sample dispersion value and the third sample dispersion value respectively reflect the ability of the samples at the levels of the first depth, the second depth and the third depth to resist acid-base fluctuations, providing reliable indicators for the intelligent determination of groundwater quality grade; further, the sample metabolic value is calculated based on the screened samples. The sample metabolic value reflects the distribution of fluorescence intensity, and the sample metabolic value can evaluate the stability of microbial metabolism in groundwater, thus providing a novel and quantitative indicator for the determination of groundwater quality; finally, the comprehensive determination value is calculated, and the intelligent determination of groundwater quality grade is completed according to the comprehensive determination value. By performing weighted calculation on the sample metabolic value and the screened dispersion value, the determination of groundwater quality grade is made more objective. Therefore, the present invention can improve the accuracy of groundwater quality grade determination. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 It is a flowchart showing the method for intelligent determination of groundwater quality grade based on index analysis provided by an embodiment of the present invention;
[0074] Figure 2 It is a functional module diagram of the intelligent determination system for groundwater quality grade based on index analysis provided by an embodiment of the present invention;
[0075] Figure 3 Schematic structural diagram of an electronic device for implementing the intelligent determination method of groundwater quality grade based on index analysis provided by an embodiment of the present invention.
[0076] Description of reference numerals:
[0077] 1. Electronic device; 10. Processor; 11. Memory; 12. Bus.
[0078] The implementation, functional features and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners
[0079] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0080] An embodiment of the present application provides an intelligent determination method for groundwater quality grade based on index analysis. The execution subject of the intelligent determination method for groundwater quality grade based on index analysis includes, but is not limited to, at least one of electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the intelligent determination method for groundwater quality grade based on index analysis can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0081] Refer to Figure 1 As shown, it is a flowchart of an intelligent determination method for groundwater quality grade based on index analysis provided by an embodiment of the present invention. In this embodiment, the intelligent determination method for groundwater quality grade based on index analysis includes:
[0082] S1. Obtain groundwater sampling points, measure the groundwater depth of the groundwater sampling points, and divide the groundwater depth based on a preset measurement interval to obtain a sampling depth set, where the sampling depth set includes: a first depth, a second depth, and a third depth.
[0083] Interpretably, a groundwater sampling point refers to a sampling point used for determining the groundwater quality grade. Samples are taken from the groundwater sampling point to obtain groundwater samples, and through the detection of the groundwater samples, the intelligent determination of the groundwater quality grade is completed. The groundwater depth refers to the depth of the groundwater at the groundwater sampling point, and the measurement interval refers to the interval for dividing the groundwater depth. For example, if the measurement interval is 3m and the groundwater depth is 6m, the groundwater depth is divided into 0m, 3m, and 6m according to the measurement interval. The sampling depth set refers to a set composed of a first depth, a second depth, and a third depth. The first depth, the second depth, and the third depth are all obtained by dividing the groundwater depth according to the measurement interval, and the first depth corresponds to the water surface of the groundwater sampling point, the third depth corresponds to the bottom of the groundwater sampling point, and the second depth is between the water surface and the bottom. For example, if the groundwater depth is divided into 0m, 3m, and 6m according to the measurement interval, 0m corresponds to the first depth, 3m corresponds to the second depth, and 6m corresponds to the third depth.
[0084] S2. Sample the groundwater sampling point according to the first depth, the second depth, the third depth, and a preset sampling duration to obtain a first sampling sample, a second sampling sample, and a third sampling sample, where the first sampling sample corresponds to the first depth, the second sampling sample corresponds to the second depth, and the third sampling sample corresponds to the third depth.
[0085] Interpretably, the sampling duration refers to the duration of sampling the groundwater sampling point. For example, the sampling duration is 1 minute. The first sampling sample refers to the groundwater sample obtained after sampling at the groundwater sampling point according to the first depth, the second sampling sample refers to the groundwater sample obtained after sampling at the groundwater sampling point according to the second depth, and the third sampling sample refers to the groundwater sample obtained after sampling at the groundwater sampling point according to the third depth. For example, if the first depth is 0m, the second depth is 3m, and the third depth is 6m, the groundwater sample obtained by sampling at the first depth of 0m at the groundwater sampling point is the first sampling sample, the groundwater sample obtained by sampling at the second depth of 3m at the groundwater sampling point is the second sampling sample, and the groundwater sample obtained by sampling at the third depth of 6m at the groundwater sampling point is the third sampling sample.
[0086] S3. Calculate a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value respectively based on the first sampling sample, the second sampling sample, and the third sampling sample, where the first sample dispersion value corresponds to the first sampling sample, the second sample dispersion value corresponds to the second sampling sample, and the third sample dispersion value corresponds to the third sampling sample.
[0087] Specifically, the calculating of the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value respectively based on the first sampling sample, the second sampling sample, and the third sampling sample includes:
[0088] Detect the first pH value, second pH value, and third pH value of the first sampling sample, second sampling sample, and third sampling sample;
[0089] Extract a first experimental sample from the first sampling sample, and confirm the first sampling sample from which the first experimental sample has been extracted as the first screening sample. Extract a second experimental sample from the second sampling sample, and confirm the second sampling sample from which the second experimental sample has been extracted as the second screening sample. Extract a third experimental sample from the third sampling sample, and confirm the third sampling sample from which the third experimental sample has been extracted as the third screening sample. Among them, the volumes of the first experimental sample, second experimental sample, and third experimental sample are the same;
[0090] Perturb the first screening sample, second screening sample, and third screening sample based on a preset perturbation time, and use a pre-constructed acid-base sensor to record the first perturbation value, second perturbation value, and third perturbation value;
[0091] Confirm the time when the first screening sample, second screening sample, and third screening sample are perturbed as the initial perturbation time;
[0092] Calculate the first change rate according to the first pH value, first perturbation value, perturbation time, initial perturbation time, and preset time parameter:
[0093]
[0094] Among them, refers to the first change rate, refers to the first perturbation value when the time parameter is ; refers to the initial perturbation time, refers to the perturbation time, refers to the first pH value when the time parameter is ;
[0095] Calculate the second change rate according to the second pH value, second perturbation value, perturbation time, initial perturbation time, and time parameter, and calculate the third change rate according to the third pH value, third perturbation value, perturbation time, initial perturbation time, and time parameter;
[0096] Calculate the first sample dispersion value using the first change rate and the first experimental sample, calculate the second sample dispersion value using the second change rate and the second experimental sample, and calculate the third sample dispersion value using the third change rate and the third experimental sample. Among them, the calculation methods of the second sample dispersion value and the third sample dispersion value are the same as that of the first sample dispersion value.
[0097] Interpretive, the first pH value refers to the pH value of the first sampling sample, the second pH value refers to the pH value of the second sampling sample, the third pH value refers to the pH value of the third sampling sample, the first experimental sample refers to the sample solution extracted from the first sampling sample according to the extraction volume, and the extraction volume refers to the volume of the first experimental sample. For example, the extraction volume is 80 ml, and 80 ml of the sample is extracted from the first sampling sample, and this sample is the first experimental sample. The first screening sample refers to the sample obtained after extracting the first experimental sample from the first sampling sample. For example, the extraction volume is 80 ml, 80 ml of the first experimental sample is extracted from the first sampling sample, and the remaining first sampling sample is the first screening sample. The second experimental sample refers to the sample solution extracted from the second sampling sample according to the extraction volume, the second screening sample refers to the sample obtained after extracting the second experimental sample from the second sampling sample, the third experimental sample refers to the sample solution extracted from the third sampling sample according to the extraction volume, and the third screening sample refers to the sample obtained after extracting the third experimental sample from the third sampling sample. The perturbation time refers to the time after perturbing the first screening sample, the second screening sample, and the third screening sample. Perturbing the first screening sample, the second screening sample, and the third screening sample means adding a solution to the first screening sample, the second screening sample, and the third screening sample according to the pH values of the first screening sample, the second screening sample, and the third screening sample. Optionally, when the pH values of the first screening sample, the second screening sample, and the third screening sample are less than 7.0, the solution for solution perturbation is 0.05 mol / L sodium hydroxide solution, and when the pH values of the first screening sample, the second screening sample, and the third screening sample are greater than or equal to 7.0, the solution for solution perturbation is 0.05 mol / L dilute hydrochloric acid solution. The acid-base sensor refers to a sensor used to detect the pH value. Optionally, the acid-base sensor is a glass electrode pH sensor. The first perturbation value refers to the pH value of the first screening sample after perturbing the first screening sample, the second perturbation value refers to the pH value of the second screening sample after perturbing the second screening sample, the third perturbation value refers to the pH value of the third screening sample after perturbing the third screening sample, and the initial perturbation moment refers to the moment when perturbing the first screening sample, the second screening sample, and the third screening sample starts. For example, when perturbing the first screening sample, the second screening sample, and the third screening sample at 10:00 am, 10:00 am is the initial perturbation moment. The time parameter refers to a parameter used to represent time, the first change rate refers to the pH change rate of the first screening sample during the perturbation time, the second change rate refers to the pH change rate of the second screening sample during the perturbation time, the third change rate refers to the pH change rate of the third screening sample during the perturbation time, and the calculation methods of the second change rate and the third change rate are the same as that of the first change rate, which will not be elaborated here.The first sample dispersion value refers to the resistance of the first screening sample to pH change when the first screening sample is perturbed. The larger the first sample dispersion value, the greater the resistance of the first screening sample to pH change, and the more stable the pH value of the first screening sample. The second sample dispersion value refers to the resistance of the second screening sample to pH change when the second screening sample is perturbed. The third sample dispersion value refers to the resistance of the third screening sample to pH change when the third screening sample is perturbed.
[0098] Specifically, calculating the first sample dispersion value by using the first change rate and the first experimental sample includes:
[0099] Obtain a test solution, and perform the following operations on the first experimental sample according to the preset test volume and the test solution:
[0100] Set the initial number of times and the initial volume, titrate the first experimental sample by using the test volume and the test solution, and record the number of titrations;
[0101] When the number of titrations reaches the preset number of test times, obtain the first test solution, record the volume of the titrated solution and the first test acid-base value, calculate the number of iterations according to the number of titrations and the number of test times, and calculate the iterative volume according to the initial volume and the volume of the titrated solution;
[0102] Calculate the acid-base change value according to the first test acid-base value and the first acid-base value;
[0103] Compare the acid-base change value with the preset change threshold;
[0104] If the acid-base change value is less than the change threshold, update the first experimental sample by using the first test solution, update the initial number of times by using the number of test times, update the number of test times by using the number of iterations, update the initial volume by using the volume of the titrated solution, and return to the step of titrating the first experimental sample by using the test volume and the test solution by using the updated first experimental sample, initial number of times, number of test times and initial volume;
[0105] If the acid-base change value is greater than or equal to the change threshold, calculate the test buffer value according to the acid-base change value and the iterative volume;
[0106] Calculate the first sample dispersion value according to the test buffer value and the first change rate.
[0107] Interpretably, the test solution refers to the solution used for titrating the first experimental sample. The test solution includes: an acidic solution and a basic solution. The acidic solution is a 0.05 mol / L dilute hydrochloric acid solution, and the basic solution is a 0.05 mol / L sodium hydroxide solution. When the pH value of the first experimental sample is less than 7.0, the basic solution is used for titration; when the pH value of the first experimental sample is greater than or equal to 7.0, the acidic solution is used for titration. The test volume refers to the volume of the solution used for each titration when titrating the first experimental sample with the test solution. The initial number is used to record the number of titrations, and the initial value of the initial number is 0. The initial volume is used to record the volume of the titrated solution, and the initial value of the initial volume is 0. The test number refers to the number of titrations set artificially, and optionally, the test number is 3. The first test solution refers to the solution obtained after titrating the first experimental sample according to the test volume, the test solution, and the test number. The titrated solution volume refers to the volume of the solution used for titration. The first test acid-base value refers to the pH value of the first test solution. The iteration number refers to the sum of the number of titrations and the test number. The iteration volume refers to the sum of the initial volume and the titrated solution volume. The acid-base change value refers to the absolute value of the difference between the first test acid-base value and the first acid-base value. The change threshold refers to the threshold set artificially for determining the acid-base change value.
[0108] Specifically, calculating the test buffer value according to the acid-base change value and the iteration volume includes:
[0109]
[0110] Wherein, refers to the test buffer value, refers to the iteration volume, refers to the acid-base change value.
[0111] Interpretably, the test buffer value refers to the ratio of the iteration volume to the acid-base change value. For example, if the acid-base change value is 0.2 and the iteration volume is 0.4, then the test buffer value is 2.
[0112] Specifically, calculating the first sample dispersion value according to the test buffer value and the first change rate includes:
[0113] Set the change time window and the acid-base recording frequency, and divide the change time window according to the acid-base recording frequency to obtain a set of divided time windows;
[0114] Calculate the set of perturbed acid-base change rates according to the set of divided time windows;
[0115] Calculate the overall acid-base change rate according to the set of perturbed acid-base change rates, and calculate the first sample dispersion value based on the test buffer value, the overall acid-base change rate, and the first change rate.
[0116] Interpretable, the change time window refers to the time period used to calculate the overall acid-base change rate. Optionally, the change time window is 120 seconds. The acid-base recording frequency refers to the frequency of recording the disturbance acid-base change rate. Optionally, the acid-base recording frequency is 2 times per second. The divided time window set refers to the set composed of divided time windows. The divided time window refers to the window obtained after dividing the change time window using the acid-base recording frequency. For example, starting from 0 seconds, the change time window is 120 seconds, and the acid-base recording frequency is 2 times per second, then the time period from 0 seconds to 0.5 seconds is a divided time window. The disturbance acid-base change rate set refers to the set composed of disturbance acid-base change rates. The overall acid-base change rate refers to the average value of all disturbance acid-base change rates in the disturbance acid-base change rate set.
[0117] Specifically, calculating the disturbance acid-base change rate set according to the divided time window set includes:
[0118] Sequentially extract the divided time windows from the divided time window set, obtain the initial window moments according to the extracted divided time windows, and gather the initial window moments to obtain the initial window moment set;
[0119] Perform disturbances according to the initial window moment set, and use the acid-base sensor to record the initial acid-base value and the ending acid-base value. Calculate the disturbance acid-base change rate according to the initial acid-base value and the ending acid-base value, and gather the disturbance acid-base change rates to obtain the disturbance acid-base change rate set.
[0120] Interpretable, the initial window moment refers to the initial moment of the divided time window. For example, if the time period from 0 seconds to 0.5 seconds is a divided time window, then 0 seconds is the initial window moment. The initial window moment set refers to the set composed of initial window moments. Performing disturbances according to the initial window moment set means performing disturbances at the initial window moments. The initial acid-base value refers to the pH value detected by the acid-base sensor at the initial window moment. The ending acid-base value refers to the pH value detected by the acid-base sensor at the ending window moment. The ending window moment refers to the ending moment of the divided time window. For example, if the time period from 0 seconds to 0.5 seconds is a divided time window, then 0.5 seconds is the ending window moment. The disturbance acid-base change rate refers to the change rate of the pH value within the divided time window. Calculating the disturbance acid-base change rate according to the initial acid-base value and the ending acid-base value means subtracting the initial acid-base value from the ending acid-base value to obtain the acid-base difference, and then dividing the acid-base difference by the divided time to obtain the disturbance acid-base change rate. The divided time refers to the time corresponding to the divided time window. For example, if the time period from 0 seconds to 0.5 seconds is a divided time window, 0.5 s is the divided time.
[0121] Specifically, calculating the first sample dispersion value based on the test buffer value, the overall acid-base change rate, and the first change rate includes:
[0122] Calculate the total acid-base change value according to the change time window and the first acid-base value, and calculate the first sample dispersion value by using the test buffer value, the overall acid-base change rate, the first change rate and the total acid-base change value:
[0123]
[0124] Among them, refers to the first sample dispersion value, refers to the preset change parameter, refers to the overall acid-base change rate, refers to the total acid-base change value.
[0125] It is understandable that the change parameter is set manually and is used to adjust the influence degree of the first change rate and the overall acid-base change rate on the first sample dispersion value. The larger the change parameter is, the greater the influence degree of the first change rate on the first sample dispersion value is. If the influence degree of the first change rate on the first sample dispersion value is greater than that of the overall acid-base change rate on the first sample dispersion value, the change parameter should be set greater than 0.5 to correctly reflect the influence degree of the first change rate on the first sample dispersion value.
[0126] S4. Compare the first sample dispersion value, the second sample dispersion value, the third sample dispersion value and the preset dispersion threshold.
[0127] It is understandable that the dispersion threshold is set manually and is used to judge the first sample dispersion value, the second sample dispersion value and the third sample dispersion value.
[0128] S5. If the first sample dispersion value, the second sample dispersion value and the third sample dispersion value are all less than the dispersion threshold, calculate the judgment dispersion value according to the first sample dispersion value, the second sample dispersion value and the third sample dispersion value, make a judgment according to the judgment dispersion value to obtain the groundwater quality grade, and complete the intelligent judgment of the groundwater quality grade according to the groundwater quality grade.
[0129] It is understandable that calculating the judgment dispersion value according to the first sample dispersion value, the second sample dispersion value and the third sample dispersion value means comparing the sizes of the first sample dispersion value, the second sample dispersion value and the third sample dispersion value to obtain the maximum sample dispersion value, and determining the maximum sample dispersion value as the judgment dispersion value. The maximum sample dispersion value refers to the largest value among the first sample dispersion value, the second sample dispersion value and the third sample dispersion value.
[0130] Specifically, the judgment according to the judgment dispersion value to obtain the groundwater quality grade includes:
[0131] Obtain the excellent quality grade, the good quality grade and the polluted quality grade, and obtain the excellent grade interval and the good grade interval;
[0132] Obtain the high-quality upper limit according to the high-quality grade interval, and compare and determine the dispersion value with the high-quality upper limit;
[0133] If it is determined that the dispersion value is less than or equal to the high-quality upper limit, then confirm the high-quality quality grade as the groundwater quality grade; otherwise, obtain the good upper limit of the good grade interval, and compare and determine the dispersion value with the good upper limit;
[0134] If it is determined that the dispersion value is less than the good upper limit, then confirm the good quality grade as the groundwater quality grade; otherwise, confirm the polluted quality grade as the groundwater quality grade.
[0135] It is understandable that the high-quality quality grade, the good quality grade, and the polluted quality grade are all grades of groundwater quality. The high-quality quality grade refers to the grade when the determined dispersion value is within The good quality grade refers to the grade when the determined dispersion value is within The polluted quality grade refers to the grade when the determined dispersion value is greater than or equal to 0.5. The high-quality grade interval refers to the interval of the determined dispersion value corresponding to the high-quality quality grade. The good grade interval refers to the interval of the determined dispersion value corresponding to the good quality grade. The polluted grade interval refers to the interval of the determined dispersion value corresponding to the polluted quality grade. The high-quality upper limit refers to the upper limit value of the high-quality grade interval. The good upper limit refers to the upper limit value of the good grade interval.
[0136] S6. If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are not all less than the dispersion threshold, then obtain the screening sample, and obtain the screening dispersion value according to the screening sample.
[0137] It is understandable that the screening sample refers to the sample corresponding to the maximum value among the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value. For example, if the first sample dispersion value is the largest among the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value, then the first screening sample corresponding to the first sample dispersion value is the screening sample. The screening dispersion value refers to the dispersion value corresponding to the screening sample. For example, if the screening sample is the first screening sample, then the first sample dispersion value is the screening dispersion value.
[0138] S7. Calculate the sample metabolic value based on the screening sample, calculate the comprehensive determination value according to the screening dispersion value and the sample metabolic value, and complete the intelligent determination of the groundwater quality grade according to the comprehensive determination value.
[0139] Specifically, the calculating the sample metabolic value based on the screening sample includes:
[0140] Detect the screening sample based on a pre-built detection sensor, a preset detection frequency, and a preset detection period to obtain a fluorescence intensity set;
[0141] Sort the fluorescence intensities in the fluorescence intensity set in ascending order to obtain a fluorescence intensity sequence;
[0142] Obtain the maximum fluorescence intensity and the minimum fluorescence intensity from the fluorescence intensity sequence, calculate the intensity difference according to the maximum fluorescence intensity and the minimum fluorescence intensity, and calculate the bin interval according to the intensity difference and the total number of preset division intervals;
[0143] Divide the fluorescence intensity sequence using the bin interval to obtain a set of fluorescence division intervals;
[0144] Extract the fluorescence division intervals from the set of fluorescence division intervals in sequence, calculate the number of interval samples according to the extracted fluorescence division intervals, and gather the number of interval samples to obtain a set of interval sample numbers;
[0145] Calculate the interval discrete probability according to the set of interval sample numbers, and calculate the sample metabolic value using the total number of division intervals and the interval discrete probability:
[0146]
[0147] Among them, refers to the sample metabolic value, refers to the total number of division intervals, refers to the preset interval parameter, refers to when the preset interval parameter is the interval weight, refers to the natural logarithm, refers to when the interval parameter is the interval discrete probability.
[0148] Interpretive, the detection sensor refers to a sensor used to detect the fluorescence intensity of dissolved organic matter in the screening sample. Optionally, the detection sensor is an on-line fluorometer. The detection frequency refers to the frequency at which the detection sensor performs detections. Optionally, the detection frequency is 0.5 seconds per time. The detection period refers to the time period during which detections are made using the detection sensor. Optionally, the detection period is 60 seconds. The fluorescence intensity set refers to the set composed of fluorescence intensities. The fluorescence intensity sequence refers to the sequence obtained after sorting the fluorescence intensities in the fluorescence intensity set in ascending order. The maximum fluorescence intensity refers to the largest fluorescence intensity in the fluorescence intensity sequence. The minimum fluorescence intensity refers to the smallest fluorescence intensity in the fluorescence intensity sequence. The intensity difference refers to the difference between the maximum fluorescence intensity and the minimum fluorescence intensity. The total number of divided intervals refers to the number of artificially set fluorescence divided intervals. The binning interval refers to the interval calculated based on the intensity difference and the total number of divided intervals. For example, if the intensity difference is 100 and the total number of divided intervals is 10, then the binning interval is 100 / 10 = 10. The fluorescence divided interval set refers to the set composed of fluorescence divided intervals. The fluorescence divided interval refers to the interval obtained after dividing the fluorescence intensity sequence using the binning interval. For example, if the minimum fluorescence intensity is 100, the maximum fluorescence intensity is 200, and the binning interval is 10, then the fluorescence divided interval is the interval obtained by dividing every 10 from 100 to 200. The number of interval samples refers to the number of fluorescence intensities in the fluorescence divided interval. The number of interval samples set refers to the set composed of the number of interval samples. The interval discrete probability refers to the proportion of the number of interval samples in the fluorescence divided interval to the total number of fluorescence intensities. The total number of fluorescence intensities refers to the total number of fluorescence intensities in the fluorescence intensity set. The sample metabolic value refers to an index reflecting the metabolism of microorganisms in groundwater. The more serious the groundwater pollution, the greater the sample metabolic value. The interval parameter refers to the parameter used to traverse the fluorescence divided interval. The interval weight refers to the degree of influence of the fluorescence divided interval on the sample metabolic value. The greater the interval weight, the greater the degree of influence of the fluorescence divided interval corresponding to the interval weight on the sample metabolic value. Calculate the comprehensive determination value based on the screening dispersion value and the sample metabolic value:
[0149]
[0150] Among them, refers to the comprehensive determination value, refers to the comprehensive parameter.
[0151] It is understandable that the comprehensive parameter refers to a parameter set artificially to control the influence degree of the sample metabolic value and the screening dispersion value on the comprehensive determination value. The larger the comprehensive parameter is, the greater the influence degree of the screening dispersion value on the comprehensive determination value. If the influence degree of the sample metabolic value on the comprehensive determination value is greater than that of the screening dispersion value on the comprehensive determination value, the comprehensive parameter should be set less than 0.5 to correctly reflect the influence degree of the sample metabolic value on the comprehensive determination value. Completing the intelligent determination of the groundwater quality grade according to the comprehensive determination value means obtaining the excellent comprehensive grade range, the good comprehensive grade range, and the pollution comprehensive grade range, and obtaining the comprehensive grade according to the comprehensive determination value, the excellent comprehensive grade range, the good comprehensive grade range, and the pollution comprehensive grade range. The excellent comprehensive grade range is , the good comprehensive grade range is , and the pollution comprehensive grade range is that the comprehensive determination value is greater than 0.6. When the comprehensive determination value is within the excellent comprehensive grade range, confirm that the groundwater quality grade is the excellent comprehensive grade; when the comprehensive determination value is within the good comprehensive grade range, confirm that the groundwater quality grade is the good comprehensive grade; when the comprehensive determination value is within the pollution comprehensive grade range, confirm that the groundwater quality grade is the pollution comprehensive grade.
[0152] To solve the problems described in the background art, first, groundwater sampling points are obtained, the groundwater depth at the groundwater sampling points is measured, and the groundwater depth is divided according to a preset measurement interval. The measured groundwater depth is divided into different levels according to the measurement interval, and each level is used as an independent sampling unit, which can not only reflect the water quality differences between surface and deep groundwater, but also avoid losing specific information due to depth mixing, ensuring the accuracy and representativeness of subsequent groundwater quality grade determination; secondly, the groundwater sampling points are sampled according to the first depth, the second depth, the third depth and the sampling duration. Sampling at different depths can obtain samples at the levels of the first depth, the second depth and the third depth, providing stable data for subsequent calculation of the first sample dispersion value, the second sample dispersion value and the third sample dispersion value, and making the calculation of the first sample dispersion value, the second sample dispersion value and the third sample dispersion value more accurate; then, the first sample dispersion value, the second sample dispersion value and the third sample dispersion value are calculated. The first sample dispersion value, the second sample dispersion value and the third sample dispersion value respectively reflect the ability of the samples at the levels of the first depth, the second depth and the third depth to resist acid-base fluctuations, providing reliable indicators for intelligent determination of groundwater quality grades; further, a sample metabolic value is calculated based on the screened samples. The sample metabolic value reflects the distribution of fluorescence intensity, and the sample metabolic value can evaluate the stability of microbial metabolism in groundwater, thus providing a novel and quantitative indicator for the determination of groundwater quality; finally, a comprehensive determination value is calculated, and the intelligent determination of groundwater quality grades is completed according to the comprehensive determination value. By performing weighted calculations on the sample metabolic value and the screened dispersion value, the determination of groundwater quality grades is made more objective. Therefore, the present invention can improve the accuracy of groundwater quality grade determination.
[0153] As <l Figure 2 shown, it is a functional module diagram of an intelligent groundwater quality grade determination system based on index analysis provided by an embodiment of the present invention.
[0154] The intelligent groundwater quality grade determination system 100 based on index analysis according to the present invention can be installed in an electronic device. According to the functions to be realized, the intelligent groundwater quality grade determination system 100 based on index analysis can include a water body sampling module 101, a dispersion calculation module 102, a dispersion determination module 103 and a comprehensive determination module 104. The modules in the present invention can also be referred to as units, which refer to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
[0155] The water body sampling module 101 is used to obtain groundwater sampling points, measure the groundwater depth at the groundwater sampling points, and divide the groundwater depth based on a preset measurement interval to obtain a sampling depth set, where the sampling depth set includes: a first depth, a second depth and a third depth;
[0156] Sampling is performed on the groundwater sampling points according to the first depth, the second depth, the third depth, and a preset sampling duration to obtain a first sampling sample, a second sampling sample, and a third sampling sample, where the first sampling sample corresponds to the first depth, the second sampling sample corresponds to the second depth, and the third sampling sample corresponds to the third depth;
[0157] The dispersion calculation module 102 is configured to calculate a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample respectively, where the first sample dispersion value corresponds to the first sampling sample, the second sample dispersion value corresponds to the second sampling sample, and the third sample dispersion value corresponds to the third sampling sample;
[0158] The dispersion determination module 103 is configured to compare the first sample dispersion value, the second sample dispersion value, the third sample dispersion value, and a preset dispersion threshold;
[0159] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are all less than the dispersion threshold, then a determination dispersion value is calculated according to the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value, and a determination is made according to the determination dispersion value to obtain the groundwater quality grade, and the intelligent determination of the groundwater quality grade is completed according to the groundwater quality grade;
[0160] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are not all less than the dispersion threshold, then a screening sample is obtained, and a screening dispersion value is obtained according to the screening sample;
[0161] The comprehensive determination module 104 is configured to calculate a sample metabolism value based on the screening sample, calculate a comprehensive determination value according to the screening dispersion value and the sample metabolism value, and complete the intelligent determination of the groundwater quality grade according to the comprehensive determination value.
[0162] Specifically, each module in the intelligent groundwater quality grade determination system 100 based on index analysis in the embodiment of the present invention adopts the same technical means as those in the above-mentioned Figure 1 The same technical effects can be produced, and details are not described here again.
[0163] Such as Figure 3 shown, is a schematic structural diagram of an electronic device for implementing the intelligent groundwater quality grade determination method based on index analysis provided by an embodiment of the present invention.
[0164] The electronic device 1 may include a processor 10, a memory 11, and a bus 12, and may further include a computer program stored in the memory 11 and executable on the processor 10, such as a program for an intelligent determination method for the groundwater quality grade based on index analysis.
[0165] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disc, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as the mobile hard disk of the electronic device 1. In some other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electronic device 1. Further, the memory 11 also includes the internal storage unit of the electronic device 1 and also includes an external storage device. The memory 11 can not only be used to store application software installed on the electronic device 1 and various types of data, such as the code of the program for an intelligent determination method for the groundwater quality grade based on index analysis, etc., but can also be used to temporarily store data that has been output or will be output.
[0166] In some embodiments, the processor 10 may be composed of integrated circuits. For example, it may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same or different functions, including a combination of one or more Central Processing Units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, connecting various components of the entire electronic device through various interfaces and lines, and by running or executing programs or modules stored in the memory 11 (such as the program for an intelligent determination method for the groundwater quality grade based on index analysis, etc.), and by calling data stored in the memory 11, to execute various functions of the electronic device 1 and process data.
[0167] The bus 12 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 12 can be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to implement the connection and communication between the memory 11 and at least one processor 10, etc.
[0168] Figure 3 Only an electronic device with components is shown. Those skilled in the art can understand that Figure 3 the shown structure does not constitute a limitation on the electronic device 1 and may include fewer or more components than shown, or combine certain components, or have a different component arrangement.
[0169] For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for supplying power to each component. Preferably, the power source can be logically connected to the at least one processor 10 through a power management device, so as to implement functions such as charge management, discharge management, and power consumption management through the power management device. The power source may also include any components such as one or more DC or AC power sources, a recharge device, a power failure detection circuit, a power converter or inverter, a power status indicator, etc. The electronic device 1 may also include various sensors, a Bluetooth module, a Wi-Fi module, etc., which will not be elaborated here.
[0170] Furthermore, the electronic device 1 may further include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0171] Optionally, the electronic device 1 may further include a user interface. The user interface may be a display, an input unit (such as a keyboard), and optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visual user interface.
[0172] The program of the intelligent determination method for groundwater quality grade based on index analysis stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:
[0173] Obtain groundwater sampling points, measure the groundwater depth of the groundwater sampling points, divide the groundwater depth based on a preset measurement interval to obtain a sampling depth set, where the sampling depth set includes: a first depth, a second depth, and a third depth;
[0174] Sample the groundwater sampling points according to the first depth, the second depth, the third depth, and a preset sampling duration to obtain a first sampling sample, a second sampling sample, and a third sampling sample, where the first sampling sample corresponds to the first depth, the second sampling sample corresponds to the second depth, and the third sampling sample corresponds to the third depth;
[0175] Calculate a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample respectively, where the first sample dispersion value corresponds to the first sampling sample, the second sample dispersion value corresponds to the second sampling sample, and the third sample dispersion value corresponds to the third sampling sample;
[0176] Compare the first sample dispersion value, the second sample dispersion value, the third sample dispersion value, and a preset dispersion threshold;
[0177] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are all less than the dispersion threshold, calculate a determination dispersion value according to the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value, make a determination according to the determination dispersion value to obtain the groundwater quality grade, and complete the intelligent determination of the groundwater quality grade according to the groundwater quality grade;
[0178] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are not all less than the dispersion threshold, obtain a screening sample, and obtain a screening dispersion value according to the screening sample;
[0179] Calculate a sample metabolic value based on the screening sample, calculate a comprehensive determination value according to the screening dispersion value and the sample metabolic value, and complete the intelligent determination of the groundwater quality grade according to the comprehensive determination value.
[0180] Specifically, the specific implementation method of the above instructions by the processor 10 can refer to Figures 1 to 3 the description of the relevant steps in the corresponding embodiments, which will not be elaborated here.
[0181] Further, if the modules / units integrated in the electronic device 1 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM, Read-Only Memory).
[0182] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor of an electronic device, it can implement:
[0183] Obtain groundwater sampling points, measure the groundwater depth of the groundwater sampling points, divide the groundwater depth based on a preset measurement interval to obtain a sampling depth set, where the sampling depth set includes: a first depth, a second depth, and a third depth;
[0184] Sample the groundwater sampling points according to the first depth, the second depth, the third depth, and a preset sampling duration to obtain a first sampling sample, a second sampling sample, and a third sampling sample, where the first sampling sample corresponds to the first depth, the second sampling sample corresponds to the second depth, and the third sampling sample corresponds to the third depth;
[0185] Calculate a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample respectively, where the first sample dispersion value corresponds to the first sampling sample, the second sample dispersion value corresponds to the second sampling sample, and the third sample dispersion value corresponds to the third sampling sample;
[0186] Compare the first sample dispersion value, the second sample dispersion value, the third sample dispersion value, and a preset dispersion threshold;
[0187] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are all less than the dispersion threshold, calculate a determination dispersion value according to the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value, make a determination according to the determination dispersion value to obtain the groundwater quality grade, and complete the intelligent determination of the groundwater quality grade according to the groundwater quality grade;
[0188] If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are not all less than the dispersion threshold, obtain a screening sample and obtain a screening dispersion value according to the screening sample;
[0189] Calculate the sample metabolic value based on the screened samples, calculate the comprehensive determination value according to the screened dispersion value and the sample metabolic value, and complete the intelligent determination of the groundwater quality grade according to the comprehensive determination value.
[0190] In several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiment described above is only illustrative, and there may be other partitioning methods in actual implementation.
[0191] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] In addition, in each embodiment of the present invention, the functional modules can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware, or in the form of hardware plus software functional modules.
[0193] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention.
[0194] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. An intelligent determination method for groundwater quality grades based on index analysis, characterized in that, The method includes: Obtain groundwater sampling points, measure the groundwater depth of the groundwater sampling points, divide the groundwater depth based on a preset measurement interval to obtain a sampling depth set, where the sampling depth set includes: a first depth, a second depth, and a third depth; Sample the groundwater sampling points according to the first depth, the second depth, the third depth, and a preset sampling duration to obtain a first sampling sample, a second sampling sample, and a third sampling sample, where the first sampling sample corresponds to the first depth, the second sampling sample corresponds to the second depth, and the third sampling sample corresponds to the third depth; Calculate a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample respectively, where the first sample dispersion value corresponds to the first sampling sample, the second sample dispersion value corresponds to the second sampling sample, and the third sample dispersion value corresponds to the third sampling sample; Detect a first acid-base value, a second acid-base value, and a third acid-base value of the first sampling sample, the second sampling sample, and the third sampling sample; Set a change time window and an acid-base recording frequency, and divide the change time window according to the acid-base recording frequency to obtain a set of divided time windows; Calculate a set of disturbance acid-base change rates according to the set of divided time windows; Calculate an overall acid-base change rate according to the set of disturbance acid-base change rates, where the overall acid-base change rate refers to the average value of all disturbance acid-base change rates in the set of disturbance acid-base change rates; Calculate an overall acid-base change value according to the change time window and the first acid-base value, and calculate the first sample dispersion value by using a test buffer value, the overall acid-base change rate, a first change rate, and the overall acid-base change value: Among them, refers to the first sample dispersion value, represents the test buffer value, refers to the first change rate, refers to the preset change parameter, refers to the overall acid-base change rate, refers to the total acid-base change value; Among them, the calculation methods of the second sample dispersion value and the third sample dispersion value are the same as the calculation method of the first sample dispersion value; Compare the first sample dispersion value, the second sample dispersion value, the third sample dispersion value, and a preset dispersion threshold; If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are all less than the dispersion threshold, then calculate a determination dispersion value according to the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value, make a determination according to the determination dispersion value to obtain a groundwater quality grade, and complete the intelligent determination of the groundwater quality grade according to the groundwater quality grade; If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are not all less than the dispersion threshold, then obtain a screening sample, and obtain a screening dispersion value according to the screening sample, where the maximum value of the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value is taken as the screening dispersion value; Detect the screening sample based on a pre-constructed detection sensor, a preset detection frequency, and a preset detection period to obtain a set of fluorescence intensities; Sort the fluorescence intensities in the set of fluorescence intensities in ascending order to obtain a fluorescence intensity sequence; Obtain a maximum fluorescence intensity and a minimum fluorescence intensity by using the fluorescence intensity sequence, calculate an intensity difference according to the maximum fluorescence intensity and the minimum fluorescence intensity, and calculate a bin interval according to the intensity difference and the total number of preset division intervals; Divide the fluorescence intensity sequence by using the bin interval to obtain a set of fluorescence division intervals; Extract the fluorescence division intervals from the fluorescence division interval set in sequence, calculate the interval sample numbers according to the extracted fluorescence division intervals, and aggregate the interval sample numbers to obtain the interval sample number set; Calculate the interval discrete probability according to the interval sample number set, and calculate the sample metabolic value by using the total number of division intervals and the interval discrete probability: Among them, refers to the sample metabolic value, refers to the total number of divided intervals, refers to the preset interval parameter, refers to when the preset interval parameter is the interval weight, refers to the natural logarithm, refers to when the interval parameter is the interval discrete probability; Calculate the comprehensive determination value according to the screening dispersion value and the sample metabolic value, and complete the intelligent determination of the groundwater quality level according to the comprehensive determination value.
2. The intelligent determination method for groundwater quality grade based on index analysis according to claim 1, wherein Calculating the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample respectively includes: Extract the first experimental sample from the first sampling sample, and confirm the first sampling sample from which the first experimental sample has been extracted as the first screening sample. Extract the second experimental sample from the second sampling sample, and confirm the second sampling sample from which the second experimental sample has been extracted as the second screening sample. Extract the third experimental sample from the third sampling sample, and confirm the third sampling sample from which the third experimental sample has been extracted as the third screening sample, where the volumes of the first experimental sample, the second experimental sample, and the third experimental sample are the same; Perturb the first screening sample, the second screening sample, and the third screening sample based on a preset perturbation time, and record the first perturbation value, the second perturbation value, and the third perturbation value by using a pre-constructed acid-base sensor; Confirm the time for perturbing the first screening sample, the second screening sample, and the third screening sample as the initial perturbation time; Calculate the first change rate according to the first acid-base value, the first perturbation value, the perturbation time, the initial perturbation time, and the preset time parameter: Among them, refers to the first change rate, refers to when the time parameter is the first perturbation value, refers to the initial perturbation moment, refers to the perturbation time, refers to when the time parameter is the first acid-base value; Calculate the second change rate according to the second acid-base value, the second perturbation value, the perturbation time, the initial perturbation time, and the time parameter, and calculate the third change rate according to the third acid-base value, the third perturbation value, the perturbation time, the initial perturbation time, and the time parameter; Calculate the first sample dispersion value by using the first change rate and the first experimental sample, calculate the second sample dispersion value by using the second change rate and the second experimental sample, and calculate the third sample dispersion value by using the third change rate and the third experimental sample, where the calculation methods of the second sample dispersion value and the third sample dispersion value are the same as that of the first sample dispersion value.
3. The intelligent determination method for groundwater quality grade based on index analysis according to claim 2, characterized in that, Obtaining the test buffer value includes: Obtain a test solution, and perform the following operations on the first experimental sample according to the preset test volume and the test solution: Set the initial number of times and the initial volume, titrate the first experimental sample by using the test volume and the test solution, and record the number of titrations; When the number of titrations reaches the preset number of test times, obtain the first test solution, record the volume of the titrated solution and the first test acid-base value, calculate the number of iterations according to the number of titrations and the number of test times, and calculate the iterative volume according to the initial volume and the volume of the titrated solution; Calculate the acid-base change value according to the first test acid-base value and the first acid-base value; Compare the acid-base change value with the preset change threshold; If the acid-base change value is less than the change threshold, update the first experimental sample with the first test solution, update the initial number with the number of tests, update the number of tests with the number of iterations, update the initial volume with the volume of the titrant solution, and return the above step of titrating the first experimental sample with the test volume and test solution using the updated first experimental sample, initial number, number of tests, and initial volume; If the acid-base change value is greater than or equal to the change threshold, calculate the test buffer value according to the acid-base change value and the iterative volume, and the calculation formula is as follows; Among them, refers to the test buffer value, refers to the iterative volume, refers to the acid-base change value.
4. The intelligent determination method for groundwater quality grade based on index analysis according to claim 3, characterized in that, The calculating the set of disturbance acid-base change rates according to the divided time window set includes: Extract the divided time windows from the divided time window set in sequence, obtain the initial window moments according to the extracted divided time windows, and gather the initial window moments to obtain the set of initial window moments; Perform disturbances according to the set of initial window moments, record the initial acid-base value and the ending acid-base value using the acid-base sensor, calculate the disturbance acid-base change rate according to the initial acid-base value and the ending acid-base value, and gather the disturbance acid-base change rates to obtain the set of disturbance acid-base change rates.
5. The intelligent determination method for groundwater quality grade based on index analysis according to claim 4, wherein The making a determination according to the determined dispersion value to obtain the groundwater quality grade includes: Obtain the excellent quality grade, good quality grade, and polluted quality grade, and obtain the excellent grade interval and good grade interval; Obtain the excellent upper limit according to the excellent grade interval, and compare the determined dispersion value with the excellent upper limit; If the determined dispersion value is less than or equal to the excellent upper limit, confirm the excellent quality grade as the groundwater quality grade; otherwise, obtain the good upper limit of the good grade interval and compare the determined dispersion value with the good upper limit; If the determined dispersion value is less than the good upper limit, confirm the good quality grade as the groundwater quality grade; otherwise, confirm the polluted quality grade as the groundwater quality grade.
6. An intelligent determination system for groundwater quality grades based on index analysis, characterized in that, The system includes: A water body sampling module, configured to obtain a groundwater sampling point, measure the groundwater depth of the groundwater sampling point, divide the groundwater depth based on a preset measurement interval to obtain a set of sampling depths, where the set of sampling depths includes: a first depth, a second depth, and a third depth; Sample the groundwater sampling point according to the first depth, second depth, third depth, and a preset sampling duration to obtain a first sampling sample, a second sampling sample, and a third sampling sample, where the first sampling sample corresponds to the first depth, the second sampling sample corresponds to the second depth, and the third sampling sample corresponds to the third depth; A dispersion calculation module, configured to calculate a first sample dispersion value, a second sample dispersion value, and a third sample dispersion value based on the first sampling sample, the second sampling sample, and the third sampling sample respectively, where the first sample dispersion value corresponds to the first sampling sample, the second sample dispersion value corresponds to the second sampling sample, and the third sample dispersion value corresponds to the third sampling sample; Detect the first acid-base value, the second acid-base value, and the third acid-base value of the first sampling sample, the second sampling sample, and the third sampling sample; Set a change time window and an acid-base recording frequency, and divide the change time window according to the acid-base recording frequency to obtain a set of divided time windows; Calculate a set of disturbance acid-base change rates according to the set of divided time windows; Calculate the overall acid-base change rate according to the set of disturbance acid-base change rates, where the overall acid-base change rate refers to the average value of all disturbance acid-base change rates in the set of disturbance acid-base change rates; Calculate the total acid-base change value according to the change time window and the first acid-base value, and calculate the first sample dispersion value by using the test buffer value, the overall acid-base change rate, the first change rate, and the total acid-base change value: Among them, refers to the first sample dispersion value, represents the test buffer value, refers to the first change rate, refers to the preset change parameter, refers to the overall acid-base change rate, refers to the total acid-base change value; Among them, the calculation methods of the second sample dispersion value and the third sample dispersion value are the same as those of the first sample dispersion value; A dispersion determination module is used to compare the first sample dispersion value, the second sample dispersion value, the third sample dispersion value, and a preset dispersion threshold; If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are all less than the dispersion threshold, then calculate the determination dispersion value according to the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value, make a determination according to the determination dispersion value, obtain the groundwater quality grade, and complete the intelligent determination of the groundwater quality grade according to the groundwater quality grade; If the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value are not all less than the dispersion threshold, then obtain the screening sample, and obtain the screening dispersion value according to the screening sample, where the maximum value of the first sample dispersion value, the second sample dispersion value, and the third sample dispersion value is taken as the screening dispersion value; A comprehensive determination module is used to Detect the screening sample based on a pre-built detection sensor, a preset detection frequency, and a preset detection period to obtain a set of fluorescence intensities; Sort the fluorescence intensities in the set of fluorescence intensities in ascending order to obtain a fluorescence intensity sequence; Use the fluorescence intensity sequence to obtain the maximum fluorescence intensity and the minimum fluorescence intensity, calculate the intensity difference according to the maximum fluorescence intensity and the minimum fluorescence intensity, and calculate the bin interval according to the intensity difference and the total number of preset division intervals; Use the bin interval to divide the fluorescence intensity sequence to obtain a set of fluorescence division intervals; Sequentially extract the fluorescence division intervals from the set of fluorescence division intervals, calculate the interval sample number according to the extracted fluorescence division intervals, and collect the interval sample numbers to obtain a set of interval sample numbers; Calculate the interval discrete probability according to the set of interval sample numbers, and calculate the sample metabolism value by using the total number of division intervals and the interval discrete probability: Among them, refers to the sample metabolic value, refers to the total number of divided intervals, refers to the preset interval parameter, refers to when the preset interval parameter is the interval weight, refers to the natural logarithm, refers to when the interval parameter is the interval discrete probability; Calculate the comprehensive determination value according to the screening dispersion value and the sample metabolism value, and complete the intelligent determination of the groundwater quality grade according to the comprehensive determination value.
Citation Information
Patent Citations
Evaluation system and method for water sample detection
CN119359511A