A water quality determination method, system, storage medium and electronic device
By creating reagent configuration information and calculating the impact values between reagent groups, the water quality detection process is automated, and the problem of manual operation introduction errors is solved, and the accuracy and consistency of water quality measurement is improved.
Patent Information
- Application Number
- CN202411171129.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-26
AI Technical Summary
The existing water quality measurement technology relies on manual operation, which can easily lead to errors due to operator negligence or different technical levels, resulting in low accuracy of water quality measurement.
By creating multiple reagent configuration information, including detection reagents and their configuration and adding parameters, we realize automated detection process control, calculate the impact values between adjacent detection reagent groups, correct the initial detection value, generate target detection values, and improve detection Accuracy of the results.
It significantly improves the accuracy of water quality measurement, reduces the uncertainty impact caused by human operations, and ensures the consistency and repeatability of the detection process.
Smart Images

Figure CN118688416B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water quality measurement, and in particular to a water quality measurement method, system, storage medium and electronic device. Background Art
[0002] Water quality monitoring is a key activity in the field of environmental science, which involves assessing and safeguarding the quality of water resources to ensure human health, the balance of ecosystems and their sustainability. With the development of industrialization and urbanization, water pollution is becoming an increasingly serious problem. Therefore, it is particularly important to develop efficient and accurate methods for water quality determination.
[0003] In existing water quality measurement technologies, different detection indicators need to be detected by adding different reagents. Each detection indicator measurement method has its own specific operating steps. However, the traditional method is to perform these steps manually, which is prone to errors due to operator negligence or different technical levels, resulting in low accuracy of water quality measurement. Summary of the invention
[0004] The present application provides a water quality measurement method, system, storage medium and electronic device, which improve the accuracy of water quality measurement.
[0005] In a first aspect, the present application provides a method for determining water quality, the method comprising:
[0006] Creating a plurality of reagent configuration information, each of which includes a plurality of detection reagents and configuration parameters and addition parameters of each of the detection reagents, wherein the reagent configuration information corresponds to detecting a detection index in a sample to be detected;
[0007] Testing the sample to be tested according to the addition parameters and the configuration parameters in each reagent configuration information to obtain a test value corresponding to each test indicator;
[0008] For any of the detection indicators, adjacent detection reagent groups are determined based on the addition parameters of each detection reagent, the influence values between the adjacent detection reagent groups are calculated, and the detection values corresponding to the detection indicators are corrected based on the influence values to obtain the target detection values corresponding to the detection indicators;
[0009] A water quality test report of the sample to be tested is generated based on each of the target detection values.
[0010] By adopting the above technical scheme, multiple reagent configuration information is created, each configuration information contains multiple detection reagents related to specific detection indicators and their configuration parameters and addition parameters, which is helpful to realize automated detection process control. The samples to be detected are tested according to the parameters in the reagent configuration information to obtain the initial detection values corresponding to each detection indicator, thereby improving the standardization and consistency of the detection. Then, based on the addition parameters of each detection reagent, adjacent detection reagent groups are determined, and the influence values between groups are calculated. Then, based on these influence values, the initial detection values are corrected to obtain the target detection values, which effectively considers and eliminates the cross-influence between different reagents, thereby improving the accuracy of the detection results. Compared with the traditional water quality measurement technology that relies on manual operation, this technical scheme realizes automated water quality detection through reagent configuration information management, parameterized automated detection process, and influence value calculation and correction, effectively solves the problem of errors introduced by manual operation, and significantly improves the accuracy of water quality measurement.
[0011] Optionally, the creating of multiple reagent configuration information includes:
[0012] Get the preset detection indicator set;
[0013] For each detection indicator in the detection indicator set, determining a plurality of detection reagents associated with each detection indicator;
[0014] Determining the configuration parameters and addition parameters of each of the detection reagents based on a preset reagent configuration template;
[0015] Based on the multiple detection reagents corresponding to the detection indicators and the configuration parameters and addition parameters of the detection reagents, multiple reagent configuration information are generated.
[0016] By adopting the above technical solution, for each detection indicator in the preset detection indicator set, multiple detection reagents related thereto will be determined, and the configuration parameters and additional parameters of each determined detection reagent will be determined based on the preset reagent configuration template. The preset template standardizes the setting method of reagent parameters, so that the parameters of different detection reagents remain consistent, which is conducive to automated control and process management. Then, based on the multiple reagents corresponding to the detection indicators and their configuration parameters and additional parameters, multiple reagent configuration information is generated. These configuration information organizes all the detection reagents and parameters required for each detection indicator, laying the foundation for the realization of subsequent automated detection processes.
[0017] Optionally, testing the sample to be tested according to the addition parameters and the configuration parameters in each of the reagent configuration information to obtain a test value corresponding to each of the test indicators includes:
[0018] Based on the addition parameters and the configuration parameters in each of the reagent configuration information, generating a detection process corresponding to each of the detection indicators;
[0019] Determining the position coordinates of each detection reagent in each detection process;
[0020] For any of the detection processes, the needle of the water quality analyzer is controlled to sequentially reach the corresponding position coordinates according to the detection process and add the detection reagent to the target sample bottle, which contains the sample to be detected;
[0021] The substances in the target sample bottles are tested in parallel to obtain the test values corresponding to the test indicators.
[0022] By adopting the above-mentioned technical solutions, through innovative technical means such as parameterized generation of standard testing procedures, precise positioning of reagents, automated needle addition of reagents, and parallel efficient testing, the automation and intelligence of the water quality testing process has been achieved, minimizing the impact of uncertainty caused by human operation, thereby ensuring the consistency and repeatability of the testing process.
[0023] Optionally, the determining adjacent detection reagent groups based on the addition parameters of each detection reagent, and calculating the influence values between the adjacent detection reagent groups, includes:
[0024] Determining the order of addition in the additive parameters of each of the detection reagents;
[0025] Two detection reagents added in adjacent order are regarded as an adjacent detection reagent group;
[0026] Determining an influence formula for each of the adjacent detection reagent groups based on an influence relationship between two detection reagents in each of the adjacent detection reagent groups;
[0027] Based on the pipeline volume of the water quality measuring instrument and the influence formula, the influence value between each adjacent detection reagent group is calculated.
[0028] By adopting the above technical solution, introducing adjacent detection reagent groups, and combining factors such as the order of reagent addition, chemical influence relationship, and instrument pipeline volume, a quantitative calculation formula for the influence value between reagents was established. This formula can extremely accurately quantify and analyze and calculate the cross-interference between different reagents, thereby providing a key correction basis for subsequent test value corrections and ensuring the high accuracy of the corrected target test value.
[0029] Optionally, determining the influence formula of each adjacent detection reagent group based on the influence relationship between two detection reagents in each adjacent detection reagent group includes:
[0030] Querying the chemical property parameters of the two detection reagents in each of the adjacent detection reagent groups in a preset detection reagent chemical property database;
[0031] Constructing an influence relationship between the chemical property parameter and the influence degree, and generating an initial influence function based on the influence relationship;
[0032] The initial influence function is modified in combination with historical detection data to obtain an influence formula for each of the adjacent detection reagent groups.
[0033] By adopting the above technical solutions, a high-precision reagent-to-reagent influence formula model was established through multiple innovative technical means such as database storage, influence relationship modeling, and historical data correction. This model comprehensively considers multiple factors such as the physical and chemical properties of the reagents, reaction mechanisms, and practical experience, and can accurately and quantitatively predict the cross-influence between different reagents to the maximum extent, laying the foundation for subsequent corrections to obtain high-precision target detection values.
[0034] Optionally, generating a water quality test report of the sample to be tested based on each of the target detection values includes:
[0035] Calculating the deviation between each target detection value and the standard detection threshold;
[0036] Determining the water quality level of the sample to be tested based on each of the deviation values;
[0037] Based on the water quality grade and the target detection value corresponding to each detection index, a water quality detection report of the sample to be detected is generated.
[0038] By adopting the above technical solution, through the steps of calculating deviation values, assessing water quality levels, and generating comprehensive reports, the high-precision test data obtained in the previous sequence can be converted into an intuitive and comprehensive water quality test report.
[0039] Optionally, the method further includes:
[0040] Within a preset period, when the number of times that the deviation value corresponding to the detection index is greater than the deviation threshold is greater than a preset number, the water quality meter is automatically calibrated.
[0041] By adopting the above technical solution and setting the deviation threshold trigger condition, accurate error detection and timely correction are achieved, which effectively controls the system error and ensures the long-term accuracy and reliability of the detection data.
[0042] In a second aspect of the present application, a water quality measurement system is provided, the system comprising:
[0043] A configuration information creation module, used to create a plurality of reagent configuration information, each of which includes a plurality of detection reagents and configuration parameters and addition parameters of each of the detection reagents, and each of the reagent configuration information corresponds to a detection index in a sample to be detected;
[0044] A sample detection module, used to detect the sample to be detected according to the addition parameters and the configuration parameters in each of the reagent configuration information, and obtain the detection value corresponding to each of the detection indicators;
[0045] A detection value correction module, for determining, for any of the detection indicators, adjacent detection reagent groups based on the addition parameters of each of the detection reagents, calculating the influence values between the adjacent detection reagent groups, and correcting the detection value corresponding to the detection indicator based on each of the influence values to obtain a target detection value corresponding to each of the detection indicators;
[0046] A water quality report generating module is used to generate a water quality detection report of the sample to be detected based on each of the target detection values.
[0047] In a third aspect of the present application, a computer storage medium is provided, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above method steps.
[0048] In a fourth aspect of the present application, an electronic device is provided, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0049] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0050] The present application creates multiple reagent configuration information, each of which contains multiple detection reagents related to specific detection indicators and their configuration parameters and addition parameters, which helps to achieve automated detection process control. The test samples are tested according to the parameters in the reagent configuration information to obtain initial detection values corresponding to each detection indicator, thereby improving the standardization and consistency of the detection. Adjacent detection reagent groups are determined based on the addition parameters of each detection reagent, and the influence values between groups are calculated. The initial detection values are corrected based on these influence values to obtain target detection values, which effectively considers and eliminates the cross-influence between different reagents, thereby improving the accuracy of the detection results. Compared with traditional water quality measurement technologies that rely on manual operations, this technical solution realizes automated water quality detection through reagent configuration information management, parameterized automated detection processes, and influence value calculation and correction, effectively solving the problem of errors introduced by manual operations and significantly improving the accuracy of water quality measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a schematic flow chart of a water quality determination method provided in an embodiment of the present application;
[0052] Figure 2is a schematic diagram of an exemplary reagent configuration information provided in an embodiment of the present application;
[0053] Figure 3 It is a module schematic diagram of a water quality measurement system provided in an embodiment of the present application;
[0054] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0055] Description of reference numerals: 400, electronic device; 401, processor; 402, communication bus; 403, user interface; 404, network interface; 405, memory. DETAILED DESCRIPTION
[0056] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0057] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0058] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0059] The following will provide a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0060] Please refer to Figure 1, a flow chart of a water quality determination method is proposed, the method can be implemented by a computer program, can be implemented by a single-chip microcomputer, and can also be run on a water quality determination system, the computer program can be integrated in a water quality determination instrument, and can also be run as an independent tool application, specifically, the method includes steps 10 to 40, the above steps are as follows:
[0061] Step 10: Create multiple reagent configuration information, each reagent configuration information includes multiple detection reagents and configuration parameters and addition parameters of each detection reagent, and the reagent configuration information corresponds to a detection indicator in the sample to be detected.
[0062] In the embodiment of the present application, reagent configuration information refers to a complete set of detection solutions required for each specific detection indicator, which includes all reagent information, configuration parameters and added parameters required to perform the detection. Each reagent configuration information corresponds to a specific detection indicator.
[0063] In the embodiments of the present application, the detection reagent refers to a chemical substance used to detect specific indicators in the process of water quality measurement, including various reagents, buffer solutions, and clean water.
[0064] Configuration parameters in the present application embodiment refer to specific operating indicators related to the use of detection reagents. These parameters define how to handle and use the detection reagents to ensure the accuracy and consistency of the detection. For example, the number of shakes, the intensity of the shake, the rest time, etc. are all configuration parameters.
[0065] In the embodiments of the present application, the addition parameters refer to specific indicators related to the detection reagent addition process, which mainly include the addition order and addition volume of the detection reagent.
[0066] In the present embodiment, the detection index refers to the specific water quality characteristics or pollutant content that needs to be measured in the water quality determination, and each detection index corresponds to a specific set of reagent configuration information. For example, sample concentration, pH value, TDS (total dissolved solids), etc. are all detection indicators.
[0067] Specifically, first obtain the preset detection index set, which includes various indicators commonly used in water quality determination, such as pH value, dissolved oxygen, total nitrogen, total phosphorus, etc. For each detection index in the set, the system will determine multiple detection reagents related to it. The selection of these reagents is based on chemical principles and established detection methods to ensure that they can accurately reflect the situation of the indicators to be tested. Next, the system will determine the configuration parameters and addition parameters for each detection reagent based on the preset reagent configuration template. The configuration parameters may include the number of times the reagent is shaken, the shaking force, the standing time, etc., while the addition parameters may include the order of addition, the time interval for addition, and the volume of addition, etc. The setting of these parameters directly affects the accuracy and repeatability of the test.
[0068] Based on the above information, the system generates multiple reagent configuration information. Each configuration information corresponds to a detection indicator, including all the reagent information and usage parameters required for the detection of the indicator. This way of creating configuration information enables the entire detection process to be standardized, reducing errors caused by human operation. At the same time, since the configuration information is pre-created, it can be stored and reused, greatly improving the detection efficiency.
[0069] Based on the above embodiment, as an optional embodiment, the step of creating multiple reagent configuration information may further include the following steps:
[0070] Step 101: Obtain a preset detection index set.
[0071] Specifically, the system will extract a set of detection indicators suitable for the current measurement task from the pre-established water quality indicator database. This set of detection indicators usually includes conventional water quality parameters such as pH, dissolved oxygen, total nitrogen, total phosphorus, chemical oxygen demand (COD), biochemical oxygen demand (BOD), etc., and may also include specific pollutant indicators such as heavy metal content, organic pollutant concentration, etc. The system can select the corresponding detection indicator subset from the database according to different water quality measurement needs, such as drinking water safety testing, industrial wastewater monitoring or ecological water body assessment. It ensures the comprehensiveness and systematicness of water quality measurement. By pre-defining a complete set of detection indicators, it ensures that key water quality parameters will not be missed, thereby providing a comprehensive assessment of water quality conditions.
[0072] Step 102: for each detection indicator in the detection indicator set, determine a plurality of detection reagents related to each detection indicator.
[0073] Specifically, the system first accesses a pre-established chemical reaction database. This database contains standard test methods and required chemical reagent information corresponding to various water quality test indicators. For each indicator in the test indicator set, the system queries the database and extracts a list of test reagents related to the indicator. For example, for pH detection, the system may determine that reagents such as buffer solution, pH indicator and neutralizer are required; while for dissolved oxygen detection, potassium iodide solution, manganese sulfate solution and starch indicator may be required. In the process of determining the test reagents, the system considers not only the main reaction reagents, but also auxiliary reagents, cleaning fluids, etc. This comprehensive consideration ensures the integrity and accuracy of the test process. At the same time, the system also takes into account the differences between different test methods. For example, there may be multiple test methods for the same indicator, such as spectrophotometry, electrode method, etc., and each method may require a different combination of reagents. The system selects the most suitable test method and the corresponding reagent combination according to the preset priority or specific application scenario.
[0074] Step 103: Determine the configuration parameters and addition parameters of each detection reagent based on the preset reagent configuration template.
[0075] Specifically, the system will first access a pre-established reagent configuration template library. This template library contains the standard configuration and addition methods of various detection reagents, covering the requirements of different detection indicators and detection methods. For each detection reagent, the system will extract the corresponding configuration parameters and addition parameters from the template library. Configuration parameters usually include the concentration, pH value, temperature and other physical and chemical properties of the reagent, as well as operational requirements such as the number of shakes, the intensity of the shake, and the standing time. The addition parameters mainly include the order of reagent addition, the addition volume, the addition rate, etc.
[0076] Step 104: Generate multiple reagent configuration information based on multiple detection reagents corresponding to each detection indicator and the configuration parameters and addition parameters of each detection reagent.
[0077] Specifically, the determined test indicators, related multiple test reagents, configuration parameters and addition parameters are systematically integrated. For each test indicator, the system will create an independent reagent configuration information. This configuration information contains all the information required to perform the test of the indicator, including the test reagent list, the configuration parameters of each reagent (such as the number of shakes, the intensity of shakes, the standing time, etc.), the addition parameters (such as the order of addition, the volume of addition, the rate of addition, etc.), and other related operation instructions.
[0078] When generating reagent configuration information, the system considers multiple factors to ensure the completeness and executability of the configuration. First, it checks the completeness of the configuration information to ensure that each necessary parameter is included. Second, the system performs a logical check to ensure that there are no inconsistencies or conflicts between the parameters. For example, check whether the order of addition is reasonable, whether the total reaction time is sufficient, etc. In addition, the system also considers the performance limitations of the water quality analyzer to ensure that the generated configuration information is within the operating range of the device.
[0079] like Figure 2 , which is a schematic diagram of an exemplary reagent configuration information provided in an embodiment of the present application;
[0080] Combination Figure 2, assuming that it is the first reagent configuration information, the reagent configuration information includes multiple detection reagents, such as pure water, water sample (sample to be detected), reagent A, reagent B and reagent C. The currently selected reagent C is reagent C. The configuration parameters of reagent C may include: shaking times is 2 times, each shaking strength is 50, color development time is 2, drift time (drift will occur when absorbing some thicker reagents) is 0, and needle washing time is 10. If the reagent C is used as a diluent, the diluent option can be selected to use this reagent as a diluent. In addition, the reagent configuration information also includes adding parameters, which can be: in the selected station sequence, the addition order of the reagent is 1, and the addition volume is 0.5ml.
[0081] Step 20: Test the sample to be tested according to the added parameters and configuration parameters in each reagent configuration information to obtain the test value corresponding to each test index.
[0082] In the present embodiment, the sample to be tested refers to a water sample that needs to be tested for water quality, which may be a water sample collected from a natural water body (such as a river, lake, groundwater, etc.), industrial wastewater, domestic sewage, or a drinking water source, etc. The sample to be tested is the research object of the entire water quality determination process, which includes various water quality indicators that need to be measured.
[0083] The detection value in this embodiment of the application refers to the numerical result directly obtained after the sample to be detected is detected by a water quality measuring instrument. This numerical value reflects the preliminary measurement result of a specific water quality indicator in the sample to be detected.
[0084] Specifically, the system first generates a corresponding detection process for each detection index based on the addition parameters and configuration parameters in the configuration information of each reagent. These processes describe in detail the key information such as the order of addition, addition amount and reaction time of each reagent. Next, the system determines the position coordinates of each detection reagent in the detection process, and provides precise operation guidance for the mechanical arm or needle of the water quality analyzer. In the actual detection process, the needle of the water quality analyzer will reach the corresponding position coordinates in turn according to the generated detection process, and accurately add the detection reagent to the target sample bottle containing the sample to be detected. This automated addition process not only greatly improves the detection efficiency, but also significantly reduces the errors that may be caused by human operation, ensuring the consistency and repeatability of each test. It should be noted that the target sample bottle is a plurality of sample bottles into which the sample to be detected is equally divided, and the detection process of each detection index is detected in a target sample bottle, that is, each detection index is detected independently in each target sample bottle. After the addition of the detection reagent is completed, the system will perform parallel detection on the substances in each target sample bottle to obtain the detection value corresponding to each detection index. The error caused by human operation is greatly reduced, and the accuracy and reliability of the test results are improved.
[0085] Based on the above embodiment, as an optional embodiment, the step of testing the sample to be tested according to the added parameters and configuration parameters in each reagent configuration information to obtain the test value corresponding to each test index may also include the following steps:
[0086] Step 201: Based on the added parameters and configuration parameters in each reagent configuration information, a detection process corresponding to each detection indicator is generated.
[0087] Specifically, the system will first parse the reagent configuration information corresponding to each test indicator. This information includes the list of reagents required for the test, the configuration parameters of each reagent (such as concentration, pH value, etc.) and the addition parameters (such as addition order, addition volume, etc.). Based on this information, the system will generate a series of specific operating instructions in a logical order to form a complete test process. This process usually includes a series of steps such as reagent preparation, sample processing, reagent addition, reaction waiting, and measurement readings.
[0088] Step 202: Determine the position coordinates of each detection reagent in each detection process.
[0089] Specifically, the system first needs to establish a three-dimensional coordinate system to describe the various positions in the working space of the water quality meter. This coordinate system usually takes a fixed point of the equipment as the origin, and the X, Y, and Z axes represent the horizontal and vertical directions, respectively. Based on this coordinate system, the system will assign a specific position coordinate to each test reagent. These coordinates may include the position of the reagent bottle, the position of the sample to be tested, the position of the waste liquid collection area, etc. At the same time, the system will also take into account the various steps in the detection process, such as the use, addition, mixing of reagents, etc., and determine the corresponding operation coordinates for each step.
[0090] When determining the location coordinates, the system takes multiple factors into consideration. First, it ensures that all coordinate points are within the reach of the device based on the physical structure and size of the water quality analyzer. Second, the system considers the efficiency of the testing process and optimizes the placement of reagents and samples to minimize the movement distance of the robotic arm or needle. In addition, the system also takes safety factors into consideration, such as avoiding the adjacent placement of incompatible reagents or ensuring that corrosive reagents are placed in specific safe areas.
[0091] Step 203: For any detection process, control the needle of the water quality analyzer to reach the corresponding position coordinates in sequence according to the detection process and add the detection reagent to the target sample bottle, which contains the sample to be detected.
[0092] Specifically, the system will first determine the sequence of test reagents that need to be added and their corresponding position coordinates based on the pre-generated test process. For each test process, the system will control the needle of the water quality analyzer to move to the corresponding position coordinates one by one according to the order of reagent addition and add the test reagents to the target sample bottle, which contains the sample to be tested. This process involves precise three-dimensional spatial positioning and motion control. After the needle reaches the specified position, the system will control the needle to accurately absorb and inject the test reagent according to the addition parameters in the reagent configuration information (such as addition volume, addition rate, etc.).
[0093] When performing the addition process, the system takes into account multiple factors to ensure the accuracy and reliability of the operation. First, it adjusts the needle's suction and injection speed according to the physicochemical properties of different reagents (such as viscosity, volatility, etc.) to ensure the accuracy of the dosage. Secondly, the system controls the insertion depth and angle of the needle in the sample bottle to optimize the mixing effect of the reagents. In addition, the system also considers the risk of cross-contamination and performs appropriate cleaning or replacement of needles between different reagents.
[0094] Step 204: Perform parallel testing on the substances in each target sample bottle to obtain the test value corresponding to each test index.
[0095] Specifically, according to the detection process and reagent addition information generated above, it is confirmed that the reaction in each target sample bottle has been completed and the sample is in a state that can be tested. Subsequently, the system will start the parallel detection mechanism to analyze the substances in multiple target sample bottles at the same time. This parallel detection usually involves the comprehensive application of multiple detection technologies, such as spectrophotometry, electrode method, fluorescence analysis, etc., each technology targets specific detection indicators.
[0096] During the specific implementation process, the system will select the corresponding detection method and instrument according to the characteristics of different detection indicators. For example, for the detection of pH value, a pH electrode may be used; for the detection of heavy metal content, atomic absorption spectrophotometry may be used. The system will control each detection unit to work simultaneously, and each unit is responsible for the detection of one or more related indicators. This parallel operation not only improves efficiency, but also ensures that all samples are detected at similar time points, reducing the impact of time differences. During the parallel detection process, the system will monitor and record the working status and data output of each detection unit in real time. For each detection indicator, the system will convert the original reading of the instrument into the corresponding concentration or value, that is, the detection value, according to the preset algorithm and standard curve.
[0097] Step 30: For any detection index, adjacent detection reagent groups are determined based on the addition parameters of each detection reagent, the influence values between adjacent detection reagent groups are calculated, and the detection values corresponding to the detection index are corrected based on each influence value to obtain the target detection value corresponding to each detection index.
[0098] In the embodiment of the present application, an adjacent detection reagent group refers to two detection reagents that are adjacent in the order of addition in the detection process, in order to take into account the possible mutual influence between the detection reagents.
[0099] In the present embodiment, the impact value refers to a quantitative representation of the degree of influence of the interaction between two reagents in adjacent detection reagent groups on the detection result.
[0100] Specifically, the system first needs to determine the order of addition of each detection reagent in the addition parameters, and based on the order of addition, the two detection reagents with adjacent addition orders are regarded as an adjacent detection reagent group. Adjacently added reagents are more likely to produce direct chemical interactions, thereby affecting the test results. The system will query the chemical property parameters of the two detection reagents in the adjacent detection reagent group in the preset detection reagent chemical property database. These parameters may include key chemical properties such as acidity and alkalinity, redox, and ionic strength. Based on these chemical property parameters, the system constructs the influence relationship between the chemical property parameters and the degree of influence, and generates an initial influence function. However, the theoretical relationship may not fully reflect the actual situation. Therefore, the system will correct the initial influence function in combination with historical test data to obtain a more accurate influence formula. This method combining theory and practice can better describe the actual interaction between reagents. The system also needs to consider the physical properties of the water quality meter, such as pipeline volume, etc., which will affect the actual mixing of reagents. Combined with these factors, the system finally calculates the influence value between each adjacent detection reagent group according to the influence formula. After obtaining the influence value, the system will correct the detection value corresponding to the detection index based on these influence values, so as to obtain the target detection value corresponding to each detection index. This correction process takes into account the complex interactions between reagents and can effectively eliminate detection errors caused by mutual influence of reagents.
[0101] Based on the above embodiment, as an optional embodiment, the step of determining adjacent detection reagent groups based on the addition parameters of each detection reagent and calculating the influence value between each adjacent detection reagent group may further include the following steps:
[0102] Step 301: Determine the order of addition in the additive parameters of each detection reagent.
[0103] Step 302: Two detection reagents added in adjacent order are regarded as an adjacent detection reagent group.
[0104] Specifically, the system will first access the reagent configuration information generated in the previous steps to extract the addition parameters of each detection reagent. In the addition parameters, the order of addition reflects the order in which the detection reagents are added to the target sample bottle. Based on this order information, the system will arrange the detection reagents in the order of addition. This arrangement not only reflects the actual detection operation process, but more importantly, it provides information on the time dimension for analyzing the interaction between reagents. After determining the order of addition, the system will divide the two adjacent detection reagents in the order of addition into an adjacent detection reagent group. For example, if the order of reagent addition for a certain detection indicator is reagent A, reagent B, reagent C, and reagent D, then the system will form three adjacent detection reagent groups: (reagent A, reagent B), (reagent B, reagent C), and (reagent C, reagent D).
[0105] Step 303: Determine an influence formula for each adjacent detection reagent group based on the influence relationship between two detection reagents in each adjacent detection reagent group.
[0106] Specifically, the system will first analyze the key information such as the chemical properties, concentrations, and amounts added of the two detection reagents in each adjacent detection reagent group. This information can be obtained from the reagent configuration information and detection process generated in the previous steps. The system will combine the principles of chemical reactions, physical interaction mechanisms, etc. to determine the types of influence that may exist between the two reagents, such as synergistic effects, antagonistic effects, pH buffering, changes in ionic strength, etc. A specific influence formula is established for each adjacent detection reagent group. This formula may contain multiple variables and parameters, such as reagent concentration, amount added, reaction time, etc., and mathematical functions are used to describe how these factors jointly affect the test results. The specific form of the influence formula may vary depending on the test indicators and reagent characteristics. It may be a simple linear relationship or a complex nonlinear function.
[0107] Step 304: Based on the pipeline volume of the water quality measuring instrument and the influence formula, the influence value between each adjacent detection reagent group is calculated.
[0108] Specifically, the system first needs to obtain the pipeline volume data of the water quality meter, including the volume information of the entire pipeline system from the reagent storage container to the reaction chamber or detection unit. The pipeline volume directly affects the amount of residual reagents, which in turn affects the degree of interaction between adjacent detection reagent groups. Then, the revised influence formula is used, combined with the specific detection process and reagent configuration information, to calculate the influence value between each adjacent detection reagent group. Calculating the influence value based on the pipeline volume and the influence formula provides a more accurate and personalized impact assessment method. By taking the specific parameters of the instrument into consideration, the system can more accurately simulate the interaction between reagents in the actual detection process, thereby obtaining an influence value that is closer to the actual situation.
[0109] For example, suppose that a pH value test of a water sample to be tested is being conducted, and the test process is as follows: Test index: pH value; Order of adding test reagents: Reagent A, Reagent B, Reagent C. Adjacent test reagent groups: Group 1: Reagent A and Reagent B; Group 2: Reagent B and Reagent C. Reagent A absorbs acidic reagents, Reagent B absorbs flushing liquid for flushing, and Reagent C absorbs alkaline reagents. Reagent A: Acidic reagent, which will lower the pH value of the water sample; Reagent B: Flushing liquid, used to neutralize or reduce the residual effect of Reagent A; Reagent C: Alkaline reagent, which will increase the pH value of the water sample; Pipeline volume: Assume that the pipeline volume is V; This parameter is critical because it determines the amount of reagents staying in the pipeline. Flushing effect of reagent B: Assume that the volume of flushing liquid B is V B , the flushing efficiency is E, where E is the proportion of reagent A that is effectively flushed away (assuming it is 80%, i.e. 0.8), and the effect of the remaining reagent A is: ΔpH A残留 =ΔpH A ×(1−E), where ΔpH A残留 ΔpH refers to the effect of the remaining reagent A on the pH value of the water sample after being rinsed with reagent B. A Refers to the initial effect of reagent A on the pH value of the water sample, indicating the amount of change in the pH value of the water sample caused by adding reagent A alone without any other interference. Effect of reagent C: Assume that the volume of reagent C injected is V C , the influence formula is ΔpH C =0.07×V C . Total pH change: ΔpH 总 =ΔpH A残留 +ΔpH C , where ΔpH C Refers to the effect of reagent C on the pH value of the water sample, ΔpH 总 It refers to the effect of all reagents on the pH value of the water sample during the entire detection process. It takes into account the residual effect of reagent A and the influence of reagent C. This value represents the final change in the pH value of the water sample from the beginning of adding reagents to the final measurement.
[0110] Based on the above embodiment, as an optional embodiment, the step of determining the influence formula of each adjacent detection reagent group based on the influence relationship between two detection reagents in each adjacent detection reagent group further includes the following steps:
[0111] Step 3031: query the chemical property parameters of two detection reagents in each adjacent detection reagent group in a preset detection reagent chemical property database.
[0112] Specifically, the system first needs to access the pre-established database of chemical properties of test reagents. This database is a comprehensive information warehouse that contains detailed chemical property parameters of various reagents commonly used in water quality testing. These parameters may include but are not limited to: molecular weight, density, solubility, acidity and alkalinity (pKa value), redox potential, thermal stability, photosensitivity, etc. The database is established based on a large amount of experimental data and authoritative chemical literature to ensure the accuracy and reliability of the data.
[0113] For each pair of adjacent test reagents in the test process, the system will query the database one by one to extract the relevant chemical property parameters of the two test reagents. The query process uses efficient database retrieval algorithms, such as hash indexes or B-tree indexes, to ensure that the required information is obtained quickly and accurately. The system will not only extract a single parameter, but also consider the correlation between parameters, such as the relationship between pH value and buffering capacity, or the dependence of redox potential on concentration.
[0114] Step 3032: construct an influence relationship between chemical property parameters and influence degree, and generate an initial influence function based on the influence relationship.
[0115] Specifically, it is necessary to first establish a correlation model between each chemical property parameter and the degree of influence based on chemical principles and experimental data. This process involves complex chemical reaction mechanism analysis and data mining technology. For example, for pH detection, the system may consider parameters such as the acidity (pKa value), concentration, and buffering capacity of the reagent, and analyze their influence on the final pH reading. This correlation model may include a linear relationship, an exponential relationship, or a more complex nonlinear function, depending on the nature of the chemical process involved. After establishing the association between the parameters and the degree of influence, the system will construct an initial influence function based on these association models. This function takes multiple chemical property parameters as input variables and outputs a numerical value representing the degree of influence. For example, for two reagents A and B in an adjacent detection reagent group, the initial influence function may be as follows: I(A, B)=α×|pKa_A- pKa_B|+β×(C_A / C_B)+γ×f(Buffer_A, Buffer_B) + ... Among them, I(A, B) represents the influence of reagent A on reagent B, α, β, γ, etc. are weight coefficients, pKa, C, Buffer, etc. are corresponding chemical property parameters, and f() represents a specific functional relationship.
[0116] Step 3033: The initial influence function is modified in combination with historical detection data to obtain the influence formula of each adjacent detection reagent group.
[0117] Specifically, it is necessary to first establish a comprehensive historical test database, which contains a large number of past test records. Each record includes not only the final test results, but also the reagent combination used in the test process, the chemical property parameters of each reagent, the test conditions (such as temperature, pH value, etc.), and the influence value calculated by the initial influence function. Then, data analysis and machine learning techniques are used to deeply mine the historical data. This process involves a variety of algorithms, such as multivariate regression analysis, neural networks, support vector machines, etc. The system will compare the difference between the influence value predicted by the initial influence function and the actual test results, and identify possible deviations or deficiencies in the initial function. Based on the results of data analysis, the system will correct the initial influence function to obtain the influence formula of each adjacent test reagent group. This correction process can include adjusting the weight coefficient in the function, introducing new parameters, and changing the basic form of the function. For example, if the data analysis shows that the influence of a chemical property parameter is underestimated, the system may increase the weight of the parameter in the function. Alternatively, if nonlinear interactions are found between certain parameters, the system will introduce corresponding nonlinear terms in the function.
[0118] Step 40: Generate a water quality test report for the sample to be tested based on each target test value.
[0119] Specifically, all target test values will be obtained first. These target test values have been corrected for the mutual influence of reagents and are highly accurate and reliable. The system will compare each target test value with the corresponding preset water quality standard to determine whether each indicator meets the requirements, obtain the comparison results, and generate a structured water quality test report based on the comparison results. The water quality test report includes basic information: sampling time, location, environmental conditions, etc.; test result summary: list the target test values of all test indicators and indicate whether they meet the standards; data visualization: use charts to intuitively display the test results of each indicator for quick understanding and comparison; abnormal indicator analysis: focus on and preliminarily analyze indicators that exceed the standard or are close to the critical value; historical data comparison: compare the test results of this test with historical data to identify potential trends; suggestions and warnings: make water quality improvement suggestions or potential risk warnings based on the test results; quality control information: including the test methods used, instrument information, error range, etc., to ensure the scientificity and traceability of the report.
[0120] Based on the above embodiment, as an optional embodiment, the step of generating a water quality test report of the sample to be tested based on each target detection value further includes the following steps:
[0121] Step 401: Calculate the deviation between each target detection value and the standard detection threshold.
[0122] Specifically, you first need to access the preset water quality standard database, which contains standard detection thresholds for various water quality indicators. These thresholds may vary depending on factors such as water body type (such as drinking water, surface water, industrial water, etc.), geographical location, seasonal changes, etc. The system will select the applicable standard detection threshold based on the specific situation of the current test sample. For each target detection value, the system will perform the following calculation: Deviation value = (target detection value-standard detection threshold) / standard detection threshold × 100%. The deviation value is a percentage, indicating the degree of deviation of the target detection value from the standard detection threshold. A positive value indicates that it exceeds the standard, a negative value indicates that it is below the standard, and zero indicates that it just meets the standard.
[0123] Step 402: Determine the water quality level of the sample to be tested based on each deviation value.
[0124] Specifically, the system first needs to access the preset water quality grade standard database, which defines the criteria for different water quality grades, usually including multiple grades (such as excellent, good, medium, poor, and inferior), and each grade corresponds to the allowable deviation range of different indicators. These standards may vary depending on the purpose of the water body (such as drinking water source, fishery water, agricultural irrigation, etc.), and the system will select the appropriate standard according to the specific purpose of the sample to be tested.
[0125] The system will first compare the deviation value of each indicator with the grade standard to determine the water quality grade corresponding to each indicator. Considering that different indicators may have different impacts on water quality, the system will assign weights to each indicator. These weights may be based on expert experience, regulatory requirements, or statistical analysis results. Finally, a comprehensive score is calculated. The system will combine the individual grades and weights to calculate a comprehensive score. For example, the weighted average method can be used: comprehensive score = Σ(single indicator grade score × weight) / Σ weight. Based on the comprehensive score, the system will determine the final water quality grade.
[0126] Step 403: Generate a water quality test report for the sample to be tested based on the water quality grade and the target test value corresponding to each test indicator.
[0127] Specifically, all the information obtained in the previous steps will be integrated first, including water quality level, target detection value of each detection index, deviation value, etc. According to the preset report template, these data are filled in the corresponding position of the report in an orderly manner. In the process of report generation, the system will use intelligent data analysis and natural language generation technology. For example, for the analysis of abnormal indicators, the system may combine the chemical knowledge base and historical cases to automatically generate an analysis of possible causes of pollution. For trend prediction, the system may use time series analysis or machine learning algorithms to predict future water quality changes based on historical data.
[0128] Based on the above embodiment, as an optional embodiment, a water quality measurement system may further include the following process:
[0129] Specifically, the system first needs to define several key parameters: preset cycle, deviation threshold and preset number of times. The preset cycle is set based on time (such as weekly or monthly) or based on the number of tests (such as every 100 tests). The deviation threshold is a percentage value used to determine whether a test result deviates significantly from the standard value, and the preset number of times is the critical value for triggering automatic correction. After each test is completed, the system will compare the calculated deviation value with the preset deviation threshold. If the deviation value exceeds the threshold, the system will record this "abnormality". At the same time, the number of abnormalities within the preset cycle is continuously tracked. When the number of abnormalities accumulates to more than the preset number, the system will trigger the automatic correction procedure. The automatic correction procedure usually includes the following steps: System diagnosis: The system will first perform a self-check to confirm whether the working status of each component (such as pumps, valves, sensors, etc.) is normal. Standard sample test: The system will automatically introduce the pre-prepared standard sample for testing to obtain the measurement results of the known concentration sample. Error analysis: The system will compare the measurement results of the standard sample with its true value and calculate the system error. Correction coefficient update: Based on the results of the error analysis, the system will update the internal correction coefficient or calibration curve, which may involve complex algorithms such as least squares or machine learning techniques. Verification test: After updating the correction parameters, the system will test the standard sample again to ensure that the correction is effective. Log recording: The entire calibration process will be recorded in detail, including the triggering reason, parameter changes before and after calibration, etc., for subsequent analysis and traceability. By continuously monitoring the deviation of the test results, the system can detect and correct potential system errors in time before the problem becomes serious, ensuring the long-term reliability of the test results.
[0130] See also Figure 3 , is a module diagram of a water quality measurement system provided in an embodiment of the present application, the water quality measurement system may include: a configuration information creation module, a sample detection module, a detection value correction module and a water quality report generation module, wherein:
[0131] A configuration information creation module, used to create a plurality of reagent configuration information, each of which includes a plurality of detection reagents and configuration parameters and addition parameters of each of the detection reagents, and each of the reagent configuration information corresponds to a detection index in a sample to be detected;
[0132] A sample detection module, used to detect the sample to be detected according to the addition parameters and the configuration parameters in each of the reagent configuration information, and obtain the detection value corresponding to each of the detection indicators;
[0133] A detection value correction module, for determining, for any of the detection indicators, adjacent detection reagent groups based on the addition parameters of each of the detection reagents, calculating the influence values between the adjacent detection reagent groups, and correcting the detection value corresponding to the detection indicator based on each of the influence values to obtain a target detection value corresponding to each of the detection indicators;
[0134] A water quality report generating module is used to generate a water quality detection report of the sample to be detected based on each of the target detection values.
[0135] Optionally, the configuration information creation module is also used to obtain a preset set of detection indicators; for each detection indicator in the detection indicator set, determine multiple detection reagents related to each detection indicator; determine the configuration parameters and addition parameters of each detection reagent based on a preset reagent configuration template; and generate multiple reagent configuration information based on the multiple detection reagents corresponding to each detection indicator and the configuration parameters and addition parameters of each detection reagent.
[0136] Optionally, the sample detection module is also used to generate a detection process corresponding to each of the detection indicators based on the addition parameters and the configuration parameters in each of the reagent configuration information; determine the position coordinates of each detection reagent in each of the detection processes; for any of the detection processes, control the needle of the water quality meter to reach the corresponding position coordinates in sequence according to the detection process and add the detection reagent to the target sample bottle, which contains the sample to be tested; perform parallel detection on the substances in each of the target sample bottles to obtain the detection values corresponding to each of the detection indicators.
[0137] Optionally, the detection value correction module is also used to determine the order of addition in the additive parameters of each of the detection reagents; regard two detection reagents with adjacent addition orders as an adjacent detection reagent group; determine the influence formula of each of the adjacent detection reagent groups based on the influence relationship between the two detection reagents in each of the adjacent detection reagent groups; and calculate the influence value between each of the adjacent detection reagent groups based on the pipeline volume of the water quality meter and the influence formula.
[0138] Optionally, the detection value correction module is also used to query the chemical property parameters of the two detection reagents in each of the adjacent detection reagent groups in a preset detection reagent chemical property database; construct an influence relationship between the chemical property parameters and the degree of influence, and generate an initial influence function based on the influence relationship; and correct the initial influence function based on historical detection data to obtain an influence formula for each of the adjacent detection reagent groups.
[0139] Optionally, the water quality report generation module is also used to calculate the deviation value between each target detection value and the standard detection threshold; determine the water quality grade of the sample to be tested based on each deviation value; and generate a water quality detection report for the sample to be tested based on the water quality grade and the target detection value corresponding to each detection indicator.
[0140] Optionally, a water quality measurement system also includes the correction module, and is also used to automatically calibrate the water quality meter within a preset period when the deviation value corresponding to the detection index is greater than the deviation threshold for a number of times greater than a preset number of times.
[0141] It should be noted that: when the system provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0142] An embodiment of the present application also provides a computer storage medium, which can store multiple instructions. The instructions are suitable for being loaded by a processor and executing a water quality determination method of the above embodiment. The specific execution process can be found in the specific description of the above embodiment, which will not be repeated here.
[0143] Please refer to Figure 4 The application also discloses an electronic device. Figure 4 The electronic device 400 may include: at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .
[0144] The communication bus 402 is used to realize the connection and communication between these components.
[0145] The user interface 403 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 403 may also include a standard wired interface and a wireless interface.
[0146] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0147] Among them, the processor 401 may include one or more processing cores. The processor 401 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the processor 401 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 401 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 401, and it can be implemented separately through a chip.
[0148] Among them, the memory 405 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 405 includes a non-transitory computer-readable storage medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 405 may optionally also be at least one storage device located away from the aforementioned processor 401. Refer to Figure 4 , the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program for a water quality determination method.
[0149] exist Figure 4In the electronic device 400 shown, the user interface 403 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 401 can be used to call an application program storing a water quality determination method in the memory 405, and when executed by one or more processors 4201, the electronic device 400 executes one or more of the methods described in the above embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0150] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0151] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0152] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0153] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0154] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0155] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0156] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for measuring water quality, characterized in that: Applied to water quality measuring instruments, including: Creating a plurality of reagent configuration information, each of which includes a plurality of detection reagents and configuration parameters and addition parameters of each of the detection reagents, wherein the reagent configuration information corresponds to detecting a detection index in a sample to be detected; Testing the sample to be tested according to the addition parameters and the configuration parameters in each reagent configuration information to obtain a test value corresponding to each test indicator; For any of the detection indicators, determining the order of addition in the additive parameters of each of the detection reagents; Two detection reagents added in adjacent order are regarded as an adjacent detection reagent group; Querying the chemical property parameters of the two detection reagents in each of the adjacent detection reagent groups in a preset detection reagent chemical property database; Constructing an influence relationship between the chemical property parameter and the influence degree, and generating an initial influence function based on the influence relationship; The initial influence function is modified in combination with historical detection data to obtain an influence formula for each of the adjacent detection reagent groups; Calculating the influence value between each of the adjacent detection reagent groups based on the pipeline volume of the water quality measuring instrument and the influence formula; And based on each of the influence values, the detection value corresponding to the detection index is corrected to obtain the target detection value corresponding to each of the detection index; A water quality test report of the sample to be tested is generated based on each of the target detection values.
2. The water quality determination method according to claim 1, characterized in that: The step of creating multiple reagent configuration information includes: Get the preset detection indicator set; For each detection indicator in the detection indicator set, determining a plurality of detection reagents associated with each detection indicator; Determining the configuration parameters and addition parameters of each of the detection reagents based on a preset reagent configuration template; Based on the multiple detection reagents corresponding to the detection indicators and the configuration parameters and addition parameters of the detection reagents, multiple reagent configuration information are generated.
3. The water quality determination method according to claim 1, characterized in that: The step of testing the sample to be tested according to the addition parameters and the configuration parameters in each of the reagent configuration information to obtain a test value corresponding to each of the test indicators includes: Based on the addition parameters and the configuration parameters in each of the reagent configuration information, generating a detection process corresponding to each of the detection indicators; Determining the position coordinates of each detection reagent in each detection process; For any of the detection processes, the needle of the water quality detector is controlled to sequentially reach the corresponding position coordinates according to the detection process and add the detection reagent to the target sample bottle, wherein the target sample bottle contains the sample to be detected; The substances in the target sample bottles are tested in parallel to obtain the test values corresponding to the test indicators.
4. The water quality determination method according to claim 1, characterized in that: The step of generating a water quality test report of the sample to be tested based on each of the target test values comprises: Calculating the deviation between each target detection value and a standard detection threshold; Determining the water quality level of the sample to be tested based on each of the deviation values; Based on the water quality grade and the target detection value corresponding to each detection index, a water quality detection report of the sample to be detected is generated.
5. The water quality determination method according to claim 4, characterized in that: The method further comprises: Within a preset period, when the number of times that the deviation value corresponding to the detection index is greater than the deviation threshold is greater than a preset number, the water quality meter is automatically calibrated.
6. A water quality measurement system, characterized in that: The system comprises: A configuration information creation module, used to create a plurality of reagent configuration information, each of which includes a plurality of detection reagents and configuration parameters and addition parameters of each of the detection reagents, and each of the reagent configuration information corresponds to a detection index in a sample to be detected; A sample detection module, used to detect the sample to be detected according to the addition parameters and the configuration parameters in each of the reagent configuration information, and obtain the detection value corresponding to each of the detection indicators; A detection value correction module is used to determine the order of addition in the additive parameters of each detection reagent for any of the detection indicators; to regard two detection reagents with adjacent addition orders as an adjacent detection reagent group; to query the chemical property parameters of two detection reagents in each adjacent detection reagent group in a preset detection reagent chemical property database; to construct an influence relationship between the chemical property parameters and the influence degree, and to generate an initial influence function in combination with the influence relationship; to correct the initial influence function in combination with historical detection data to obtain an influence formula for each adjacent detection reagent group; to calculate the influence value between each adjacent detection reagent group based on the pipeline volume of the water quality meter and the influence formula; and to correct the detection value corresponding to the detection indicator based on each influence value to obtain a target detection value corresponding to each detection indicator; A water quality report generating module is used to generate a water quality detection report of the sample to be detected based on each of the target detection values.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 5.
8. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Analyzer and analyzing method
CN101258406A
Multiparameter automatic detection analyzer for water quality
CN108680397A
Water quality evaluation system model construction system, equipment and terminal under three-water overall planning
CN115660455A
Full-automatic multi-parameter water quality tester and detection method thereof
CN116165393A
Modularized water quality automatic on-line monitoring micro-station system
CN117434231A
