Water quality evaluation and early warning method, device, equipment and medium
By performing preset checks and evaluation strategies on water body monitoring data, early warning information is generated, the problems of inaccurate water body evaluation and inaccurate early warning are solved, and the accuracy of water quality monitoring and early warning response speed are improved.
Patent Information
- Application Number
- CN202411268390.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-12-13
AI Technical Summary
The accuracy of existing water body evaluation methods is low, and the warning of critical or exceeding standards is inaccurate, resulting in the inability to effectively protect the ecological environment and human health.
By verifying the original data based on preset verification parameters, generating monitoring data, and evaluating the monitoring data based on preset evaluation strategies, generating evaluation results and early warning information, using the site-user association table to send early warning information, improving the evaluation results accuracy and early warning response speed.
The standardization of monitoring data is achieved, the accuracy of evaluation results is improved, manual evaluation is reduced, the accuracy and response speed of early warnings are improved, and timely treatment is ensured in the case of abnormal water quality.
Smart Images

Figure CN119130195A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water quality monitoring, and in particular to a water quality assessment and early warning method, device, equipment and medium. Background Art
[0002] In order to protect the ecological environment, human health and support various social and economic activities, it is necessary to ensure that the water quality meets specific standards or requirements. Therefore, it is necessary to monitor the concentration of pollutants, nutrient content, heavy metal content and other indicators of the water in a specific water area to assess whether the water in the specific water area is polluted, the degree of pollution and the impact on the ecological environment.
[0003] However, at present, water body assessment is mostly carried out by managers based on monitoring data. This assessment method not only leads to low accuracy of assessment results, but also inaccurate warnings for critical or exceeding data. Therefore, there is an urgent need for a method that can effectively improve the accuracy of assessment results and warnings. Summary of the invention
[0004] In view of the above-mentioned defects or deficiencies in the relevant technology, the purpose of this application is to provide a water quality assessment and early warning method, device, equipment and medium, which can effectively improve the accuracy of assessment results and early warning accuracy.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] In the first aspect, the present application provides a water quality assessment and early warning method, comprising: the water quality assessment and early warning method comprises: verifying the original data obtained in a preset time period based on preset verification parameters to obtain monitoring data; evaluating the monitoring data based on a preset evaluation strategy to obtain evaluation results; when a warning information receiving user is set and the monitoring data meets the warning triggering conditions, generating warning information based on the monitoring data and the evaluation results, and sending the warning information to the warning information receiving user based on a pre-configured site-user association table.
[0007] Optionally, the preset verification parameters include date format parameters, number format parameters, detection limit parameters, decimal places and significant figures parameters and logic parameters; the original data of the preset time period obtained is verified based on the preset verification parameters, and obtaining monitoring data includes: verifying the date format of the original data obtained from the data template, if the date format of the original data satisfies the date format parameters, then verifying the digital format of the original data; if the digital format of the original data satisfies the digital format parameters, then verifying the detection limit of the original data; if the detection limit of the original data satisfies the detection limit parameters, then verifying the decimal places and significant figures of the original data; if the decimal places and significant figures of the original data satisfy the decimal places and significant figures parameters, then verifying the logical order of the original data; if the logical order of the original data satisfies the logical parameters, then the original data is successfully verified, and the successfully verified original data is marked as the monitoring data.
[0008] Optionally, the monitoring data is evaluated based on a preset evaluation strategy to obtain an evaluation result, including: evaluating a single water quality of the monitoring data based on the preset evaluation strategy to obtain an evaluation result; the evaluation result includes a water quality category assessment result, a lake eutrophication assessment result, and a drinking assessment result.
[0009] Optionally, when a warning information receiving user is set up and the monitoring data meets the warning triggering conditions, the warning information is generated based on the monitoring data and the evaluation results, and the warning information is sent to the warning information receiving user based on a pre-configured site-user association table, including: configuring the number of warning items and warning triggering conditions for each water quality item in the monitoring item list; determining in turn whether the monitoring data corresponding to the number of warning items of all water quality items meets the corresponding warning triggering conditions; if the monitoring data corresponding to the number of warning items of all water quality items meets the corresponding warning triggering conditions, sending the warning information to the warning information receiving user based on the pre-configured site-user association table.
[0010] Optionally, the method further includes: after the original data verification is successful, storing the monitoring data in a pre-established original standard database; and, after the original data verification fails, storing the original data that failed the verification in a pre-established interception record table, so that staff can review or process the original data that failed the verification; and, after obtaining the evaluation result, storing the evaluation result in the pre-established original standard database; the evaluation result is associated with the monitoring data in the pre-established original standard database.
[0011] Optionally, the method also includes: in response to a user operation instruction input by the terminal, calling the first monitoring data from the pre-established original standard database; generating a target report based on the report template information of the user operation instruction and the first monitoring data; the type of the target report includes a line chart, a bar chart and / or a pie chart; the data of the target report includes monthly data, annual data, monthly or annual data of a preset area and assessment data of the target site.
[0012] Optionally, the method also includes: obtaining a geographic information system map and basic site information associated with the monitored water area; the basic site information includes a site number or a site name; calling the second monitoring data and the second evaluation result corresponding to the site number or the site name in the pre-established original standard database; and displaying the second monitoring data and the second evaluation result on the geographic information system map.
[0013] In the second aspect, the present application provides a water quality assessment and early warning device, which includes: a verification module, which is used to verify the original data obtained in a preset time period based on preset verification parameters to obtain monitoring data; an evaluation module, which is used to evaluate the monitoring data based on a preset evaluation strategy to obtain an evaluation result; an early warning module, which is used to generate early warning information based on the monitoring data and the evaluation result when an early warning information receiving user is set and the monitoring data meets the early warning triggering conditions, and send the early warning information to the early warning information receiving user based on a pre-configured site-user association table.
[0014] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any one of the water quality assessment and early warning methods described above.
[0015] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the water quality assessment and early warning methods described above.
[0016] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any one of the water quality assessment and early warning methods described above.
[0017] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0018] The present application provides a water quality assessment and early warning method, device, equipment and medium, which realizes standardization of the original data by verifying the acquired raw data, eliminating the raw data that does not conform to the preset verification parameters, and ensuring the accuracy of the monitoring data to a certain extent, and then ensuring the accuracy of the assessment results; the monitoring data is evaluated by a preset evaluation strategy, which can reduce manual evaluation to a certain extent and further improve the accuracy of the evaluation; the early warning information is generated by the monitoring data and the evaluation results, and the pre-configured site-user association table is used to send the early warning information to the early warning information receiving user, which not only improves the early warning response speed in the case of abnormal water quality, but also improves the accuracy of the early warning. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A schematic diagram of a process of water quality assessment and early warning method provided in one embodiment of the present application;
[0021] Figure 2 A schematic flow chart of a water quality assessment and early warning method provided in another embodiment of the present application;
[0022] Figure 3 A schematic diagram of the functional modules of a water quality assessment and early warning device provided in one embodiment of the present application;
[0023] Figure 4 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0025] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0026] In order to protect the ecological environment, human health and support various social and economic activities, it is necessary to ensure that the water quality meets specific standards or requirements. Therefore, it is necessary to monitor the concentration of pollutants, nutrient content, heavy metal content and other indicators of the water in a specific water area to assess whether the water in the specific water area is polluted, the degree of pollution and the impact on the ecological environment.
[0027] However, at present, water body assessment is mostly carried out by managers based on monitoring data. This assessment method not only leads to low accuracy of assessment results, but also inaccurate warnings for critical or exceeding data. Therefore, there is an urgent need for a method that can effectively improve the accuracy of assessment results and warnings.
[0028] In order to effectively improve the accuracy of the evaluation results and the accuracy of the early warning, in an exemplary embodiment, Figure 1 As shown, a water quality assessment and early warning method is provided, which is executed by a computer device with computing function, and can be executed by a computer device such as a terminal or a server alone, or by a terminal and a server together. The water quality assessment and early warning method may include the following steps S110 to S130. Among them:
[0029] Step S110, verifying the original data of the preset time period obtained based on preset verification parameters to obtain monitoring data.
[0030] In an example embodiment, the preset verification parameters include a date format parameter, a number format parameter, a detection limit parameter, a decimal place and significant digit parameter, and a logic parameter.
[0031] The preset time period is a period set by the monitoring personnel according to the actual production application, for example, it can be half a year, a quarter or a year, and no specific restrictions are made here.
[0032] The original data may be data uploaded by automatic monitoring equipment installed in the monitored waters, or may be data obtained by monitoring personnel testing samples collected from the monitored waters in a laboratory.
[0033] In a specific embodiment, the above-mentioned step S110 may include: verifying the date format of the original data obtained from the data template, if the date format of the original data satisfies the date format parameters, then verifying the digital format of the original data; if the digital format of the original data satisfies the digital format parameters, then verifying the detection limit of the original data; if the detection limit of the original data satisfies the detection limit parameters, then verifying the decimal places and significant figures of the original data; if the decimal places and significant figures of the original data satisfy the decimal places and significant figures parameters, then verifying the logical order of the original data; if the logical order of the original data satisfies the logical parameters, the original data is successfully verified, and the successfully verified original data is marked as monitoring data.
[0034] Understandably, for example, the template data entered by the user is read, and the template data may include basic information of the sampling point (for example, geographical location information of the sampling point, surrounding environment information of the sampling point, and sampling equipment information), sampling time, and test results of water samples at the sampling point; when verifying the template data, first, the date format is verified, and the date format parameter is yyyy-MM-dd HH; if the date format is wrong, the whole row of data is marked as wrong date data; if the date format is correct, the digital format is checked. If the data format is wrong, such as extra decimal points or decimal points replaced by commas, it is determined whether it contains mathematical symbols "<"; if it does not contain mathematical symbols "<", it is marked as wrong format data; if it contains mathematical symbols "<", it is determined whether it is the correct data format after removing the mathematical symbols "<". If it is still incorrect, it is marked as wrong format data; if the digital format is correct, it is determined whether the detection limit parameters are set. If the detection limit is not set, the data passes the check; if the detection limit is set, the data is compared with the detection limit parameters. If they are consistent, the data passes the check; if they are inconsistent, the data is marked as detection limit error data.
[0035] Also, for data with correct digital format, check whether the decimal places and valid digits parameters are set; if not, the data passes the verification; if set, verify according to the set decimal places and valid digits parameters; if the decimal places and valid digits are consistent with the decimal places and valid digits parameters, the verification passes; otherwise, the data is marked as a numerical abnormality.
[0036] Finally, for data with correct digital format, logic verification is required; logical parameters, for example: total nitrogen>ammonia nitrogen+nitrate nitrogen+nitrite nitrogen. For data that requires logic verification, if the necessary monitoring values are missing, the logic verification is abandoned; if the monitoring values are complete, it is determined whether the logic parameters are met. If the logic verification passes, the data passes the verification; otherwise, the data is marked as a logical anomaly. Among them, the monitoring values are the test results (or values) of each water quality item that requires logic verification, such as total nitrogen>ammonia nitrogen+nitrate nitrogen+nitrite nitrogen. If the test results of total nitrogen are not reported, no logic verification will be performed due to the lack of the main values for judgment.
[0037] In other embodiments, after the original data verification is successful, the monitoring data is stored in a pre-established original standard database. And after the original data verification fails, the original data that failed the verification is stored in a pre-established interception record table, so that the staff can review or process the original data that failed the verification.
[0038] It should be noted that in the embodiment of the present application, raw data that does not meet the preset verification parameters will generally be ignored, but raw data that appears multiple times will be recorded in the interception record table and will not be stored in the pre-established raw standard database.
[0039] In addition, the pre-established original standard database is a database table constructed in accordance with the "Water Quality Database Table Structure and Identifier SL325-2014" specification, which is used to store verified monitoring data and evaluation results associated with the monitoring data.
[0040] Step S120, evaluating the monitoring data based on a preset evaluation strategy to obtain an evaluation result.
[0041] In an example embodiment, the preset evaluation strategy is to select a corresponding water quality item in the monitoring item list according to the user's evaluation requirements for the water quality of the sampling point. For example, if the user's evaluation requirements for the water quality of the sampling point are whether it meets the water source standard, the preset evaluation strategy is to select a water quality item corresponding to the water source in the monitoring item list.
[0042] The monitoring project list is a summary table of water quality projects established in accordance with the "Surface Water Environmental Quality Standard GB 3838-2002" and the "Groundwater Quality Standard GB14848-2017". Among them, multiple preset evaluation strategies can be established based on the monitoring project list, and each preset evaluation strategy can independently associate multiple water quality projects to participate in the evaluation.
[0043] The assessment results include water quality category assessment results, lake and reservoir eutrophication assessment results, and drinking water assessment results.
[0044] In a specific embodiment, the above step S120 may include: evaluating a single water quality item of the monitoring data based on a preset evaluation strategy to obtain an evaluation result.
[0045] For example, first, select the evaluation time and obtain the monitoring data corresponding to the evaluation time. Secondly, determine the water quality items that need to be evaluated according to the preset evaluation strategy. Secondly, determine the evaluation level range of each water quality item according to the "Technical Code for Surface Water Resource Quality Assessment SL395-2007". Thirdly, compare the monitoring value of each water quality item with the standard limit to determine the single water quality category. For example, the determined water quality items include dissolved oxygen, and the evaluation level range of dissolved oxygen is Class I water quality saturation greater than or equal to 7.5 mg per liter, Class II water quality dissolved oxygen greater than or equal to 6 mg per liter, Class III water quality dissolved oxygen greater than or equal to 5 mg per liter, Class IV water quality dissolved oxygen greater than or equal to 3 ml per liter, and Class V water quality dissolved oxygen greater than or equal to 2 mg per liter; if the monitoring value is 5.5 mg per liter, the sample water quality corresponding to the monitoring value is Class III water quality.
[0046] If the water quality exceeds the Class III standard, the excess multiple needs to be calculated using the following formula (1):
[0047] B=C / S-1 (1)
[0048] In the formula: B is the excess multiple of a certain water quality item;
[0049] C is the concentration of a water quality item, in mg / L;
[0050] S is the Class III standard limit for a certain water quality item.
[0051] Also, when the monitoring data is evaluated as a whole, the water quality category is determined according to the worst water quality item among the water quality items evaluated. For example, if dissolved oxygen is inferior to Class V, total nitrogen is Class IV, and other water quality items are less than Class III, then the water quality category of the sampling point is inferior to Class V. For water quality items that exceed the standard, all water quality items that exceed the Class III standard are recorded.
[0052] After completing the single water quality category assessment, the index method is used to conduct eutrophication assessment of lakes and reservoirs. The specific steps are as follows:
[0053] Firstly, referring to the nutrient status assessment standards and classification methods in the Technical Specifications for Surface Water Resource Quality Assessment SL395-2007, the concentration values of water quality items were converted into scoring values using linear interpolation.
[0054] Secondly, the nutritional status index (EI) was calculated according to the following formula (2):
[0055]
[0056] Where: EI——Nutritional status index;
[0057] EN – Assignment of scores to the assessment items;
[0058] N——number of evaluation items;
[0059] Finally, the nutritional status grade is determined based on the nutritional status index.
[0060] It should be noted that according to the preset assessment strategy, when a single water quality assessment is conducted on the monitoring data, the lake and reservoir eutrophication score is calculated, and finally the water quality category, exceeded items, lake and reservoir eutrophication score and whether the water source meets the standard of a single water sample are calculated based on the results of the single project.
[0061] For example, in combination with the above embodiment, a water quality assessment is conducted on a reservoir, and the GB 3838-2002 standard is selected, the preset assessment strategy is "21 basic items", and the time is January 2024. First, the water quality items involved in the assessment and the assessment grade range are determined according to the intersection of the GB 3838-2002 standard and the preset assessment strategy, and then the monitoring data is obtained according to the code, time and water quality items involved in the assessment of a reservoir monitoring station. After that, according to the water quality items involved in the assessment and their grade range, the water quality category of each water quality item involved in the assessment is evaluated, and the excess multiples of each water quality item exceeding the three-category limit are calculated to obtain the water quality categories of different water quality items; then the worst category is taken to obtain the water quality category of a reservoir in January 2024. Because the water body type of a certain reservoir is a reservoir, the eutrophication status evaluation must be carried out. According to the eutrophication status evaluation standards and grading methods in the "Technical Code for Surface Water Resource Quality Assessment SL395-2007", the concentration values of water quality items are converted into scoring values using linear interpolation method. The eutrophication evaluation results are obtained after summing and averaging and combining with the eutrophication grade range. Because it is not a water source, the assessment of whether the water source is qualified is skipped.
[0062] In other embodiments, after the evaluation result is obtained, the evaluation result is stored in a pre-established original standard database; the evaluation result is associated with the monitoring data in the pre-established original standard database.
[0063] Step S130, when a warning information receiving user is set and the monitoring data meets the warning triggering condition, the warning information is generated based on the monitoring data and the evaluation result, and the warning information is sent to the warning information receiving user based on the pre-configured site-user association table.
[0064] In the example embodiment, the warning information receiving user is the user recorded in the warning address book, and the warning address book is divided into different groups, and different users belong to different groups. Each warning information receiving user can set a warning site separately to form a pre-configured site-user association table, and when there is a warning information at the site, it will be sent to the warning information receiving user. The warning information of each water quality project can be set to send a group separately. After setting, the warning information of the water quality project will only be sent to the warning information receiving users in the group.
[0065] Each item in the monitoring item list can be individually configured with different numbers of warning items and warning trigger conditions. For example, a water quality item can be configured with four numbers of warning items: water quality category warning, threshold warning, zero value warning, and continuous no change warning. Correspondingly, the warning trigger conditions are that the water quality category of a single water quality item exceeds the set warning category to trigger a warning, the monitoring data of a single water quality item is greater than or less than the preset threshold to trigger a warning (the time interval for sending continuous warning information can be set), the monitoring data of a single water quality item is zero to trigger a warning, and the monitoring data of a single water quality item has no change for multiple consecutive times to trigger a warning (there is no limit to the number of items, which can be adjusted according to actual application conditions).
[0066] The warning information may be information corresponding to a water quality category warning, information corresponding to a threshold warning, information corresponding to a zero point warning, and / or information corresponding to a continuous no-change warning.
[0067] In a specific embodiment, the above-mentioned step S130 may include: configuring the number of warning items and warning trigger conditions for each water quality item in the monitoring item list; determining in turn whether the monitoring data corresponding to the number of warning items of all water quality items meets the corresponding warning trigger conditions; if the monitoring data corresponding to the number of warning items of all water quality items meets the corresponding warning trigger conditions, then sending warning information to the warning information receiving user based on the pre-configured site-user association table.
[0068] Understandably, after completing the monitoring data evaluation, it is necessary to confirm whether the site corresponding to the monitoring data has a warning information receiving user. If there is no warning information receiving user, cancel the warning; if there is a warning information receiving user, then determine in turn whether the monitoring data corresponding to the number of warning items of all water quality projects meets the trigger condition; if the trigger condition is met, generate warning information and store it in the warning information list until the monitoring data of all water quality projects is executed. After that, according to the warning information list and the pre-configured site-user association table, send warning information to the users without warning information receiving users in turn.
[0069] By configuring the number of warning items, warning trigger conditions, and user groups, SMS warnings can be sent for monitoring data that triggers the warning trigger conditions to ensure the timeliness and accuracy of the warning.
[0070] In another exemplary embodiment, after step S130, the method may further include steps S201 to S202, wherein:
[0071] Step S201 , in response to a user operation instruction inputted from a terminal, first monitoring data is called from a pre-established original standard database.
[0072] Step S202: Generate a target report based on the report template information of the user operation instruction and the first monitoring data.
[0073] In the example embodiment, the user operation instruction refers to various operation instructions input by the user through the terminal, such as various report template operation instructions selected by the user, data filling instructions for different time periods selected by the user, etc. The target report is a report generated according to the user operation instruction, and the types of the target report include line charts, bar charts and / or pie charts; the data of the target report includes monthly data, annual data, monthly or annual data of a preset area, and assessment data of the target site.
[0074] It can be understood that, for example, the target report template is obtained according to the user's operating instructions, and a fixed report format is generated on the Web side; according to the production requirements of the target report template, the required first detection data is retrieved from the pre-established original standard database, and the first monitoring data may include monthly data, annual data, regional data and assessment data; then, the first monitoring data is filled into various charts of the target report template to generate a target report, and the target report may include line charts, bar charts and pie charts.
[0075] By generating various customized reports, such as monthly reports, annual reports, regional reports and assessment reports, the report generation process can be greatly simplified, which can not only effectively reduce the report error rate and improve the accuracy of various reports; but also improve work efficiency and significantly reduce manpower and time costs.
[0076] In another exemplary embodiment, after step S130, the method may further include steps S210 to S213, wherein:
[0077] Step S210, obtaining a geographic information system map and basic information of sites associated with the monitored water area; the basic information of the sites includes the site number or the site name.
[0078] Step S220, calling the second monitoring data and the second evaluation result corresponding to the site number or the site name in the pre-established original standard database.
[0079] Step S230: display the second monitoring data and the second evaluation result on a geographic information system map.
[0080] Understandably, the basic site information may include a site number or site name, site geographical location information, site surrounding environment information, site sampling equipment information, etc. The site, the second monitoring data, and the second evaluation result are associated in a pre-established original standard database.
[0081] For example, if the monitored water area includes multiple sites, the second monitoring data and second assessment results associated with the corresponding sites are displayed on the Geographic Information System (GIS) map. For example, sites with different colors represent water quality categories, and you can click on a site to view the second monitoring data and second assessment results; click on a river to display river length information through sites, and display water quality categories of different rivers or water quality categories of different sections of the same river. This enhances the visualization and practicality of the data.
[0082] Implement the above-mentioned steps S110 to S130, verify the acquired raw data, eliminate the raw data that does not conform to the preset verification parameters, realize the standardization of the raw data, and ensure the accuracy of the monitoring data to a certain extent, and then ensure the accuracy of the evaluation results; evaluate the monitoring data through the preset evaluation strategy, which can reduce the manual evaluation to a certain extent and further improve the accuracy of the evaluation; generate early warning information through monitoring data and evaluation results, and send the early warning information to the early warning information receiving user by using the pre-configured site-user association table, which not only improves the early warning response speed in the case of abnormal water quality, but also improves the accuracy of the early warning.
[0083] Based on the same inventive concept, the embodiment of the present application also provides a water quality assessment and early warning device for implementing the water quality assessment and early warning method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more water quality assessment and early warning device embodiments provided below can refer to the limitations of the water quality assessment and early warning method above, and will not be repeated here.
[0084] In an exemplary embodiment, Figure 3 As shown, a water quality assessment and early warning device is provided, and the water quality assessment and early warning device 300 includes:
[0085] The verification module 310 is used to verify the original data of the preset time period obtained based on the preset verification parameters to obtain monitoring data;
[0086] An evaluation module 320 is used to evaluate the monitoring data based on a preset evaluation strategy to obtain an evaluation result;
[0087] The warning module 330 is used to generate warning information based on monitoring data and evaluation results when a warning information receiving user is set and the monitoring data meets the warning triggering condition, and send the warning information to the warning information receiving user based on a pre-configured site-user association table.
[0088] As an optional implementation, the preset verification parameters include date format parameters, number format parameters, detection limit parameters, decimal places and significant digits parameters and logic parameters;
[0089] The verification module 310 is also used to verify the date format of the original data obtained from the data template. If the date format of the original data satisfies the date format parameters, the digital format of the original data is verified; if the digital format of the original data satisfies the digital format parameters, the detection limit of the original data is verified; if the detection limit of the original data satisfies the detection limit parameters, the decimal places and significant figures of the original data are verified; if the decimal places and significant figures of the original data meet the decimal places and significant figures parameters, the logical order of the original data is verified; if the logical order of the original data meets the logical parameters, the original data is successfully verified, and the successfully verified original data is marked as monitoring data.
[0090] As an optional implementation, the above-mentioned evaluation module 320 is also used to evaluate the single water quality of the monitoring data based on a preset evaluation strategy to obtain evaluation results; the evaluation results include water quality category evaluation results, lake eutrophication evaluation results and drinking evaluation results.
[0091] As an optional implementation, the above-mentioned early warning module 330 is also used to: configure the number of early warning items and early warning trigger conditions for each water quality item in the monitoring item list; determine in turn whether the monitoring data corresponding to the number of early warning items of all water quality items meet the corresponding early warning trigger conditions; if the monitoring data corresponding to the number of early warning items of all water quality items meet the corresponding early warning trigger conditions, then send early warning information to the early warning information receiving user based on the pre-configured site-user association table.
[0092] As an optional implementation, the water quality assessment and early warning device is also used to, after the original data verification is successful, store the monitoring data into a pre-established original standard database; and, after the original data verification fails, store the original data that failed the verification into a pre-established interception record table, so that the staff can review or process the original data that failed the verification; and, after obtaining the assessment result, store the assessment result into a pre-established original standard database; the assessment result is associated with the monitoring data in the pre-established original standard database.
[0093] As an optional implementation, the water quality assessment and early warning device is also used to call the first monitoring data from a pre-established original standard database in response to a user operation instruction input by a terminal; generate a target report based on the report template information of the user operation instruction and the first monitoring data; the types of target reports include line charts, bar charts and / or pie charts; the data of the target report includes monthly data, annual data, monthly or annual data of a preset area, and assessment data of the target site.
[0094] As an optional implementation, the water quality assessment and early warning device is also used to obtain a geographic information system map and basic site information associated with the monitored water area; the basic site information includes the site number or site name; call the second monitoring data and the second assessment result corresponding to the site number or site name in a pre-established original standard database; and display the second monitoring data and the second assessment result on the geographic information system map.
[0095] Among them, by implementing this implementation method, the acquired raw data is verified, and the raw data that does not meet the preset verification parameters is eliminated, so as to achieve standardization of the raw data, thereby ensuring the accuracy of the monitoring data to a certain extent, and then ensuring the accuracy of the evaluation results; the monitoring data is evaluated by a preset evaluation strategy, which can reduce manual evaluation to a certain extent and further improve the accuracy of the evaluation; warning information is generated through monitoring data and evaluation results, and the warning information is sent to the warning information receiving user using a pre-configured site-user association table, which not only improves the warning response speed in the case of abnormal water quality, but also improves the accuracy of the warning.
[0096] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store video tag processing data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a water quality assessment and early warning method is implemented.
[0097] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0098] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0099] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0100] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0101] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0102] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0103] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0104] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0105] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A water quality assessment and early warning method, It is characterized in that The water quality assessment and early warning method comprises: Verify the original data of the preset time period obtained based on the preset verification parameters to obtain monitoring data; Evaluate the monitoring data based on a preset evaluation strategy to obtain an evaluation result; When a warning information receiving user is provided and the monitoring data meets the warning triggering condition, the warning information is generated based on the monitoring data and the evaluation result, and the warning information is sent to the warning information receiving user based on a pre-configured site-user association table.
2. The water quality assessment and early warning method according to claim 1, It is characterized in that The preset verification parameters include date format parameters, number format parameters, detection limit parameters, decimal places and significant digit parameters and logic parameters; The obtaining of monitoring data by verifying the acquired raw data of the preset time period based on the preset verification parameters includes: Verifying the date format of the original data obtained from the data template, and if the date format of the original data satisfies the date format parameter, verifying the digital format of the original data; If the digital format of the original data satisfies the digital format parameter, verifying the detection limit of the original data; If the detection limit of the original data satisfies the detection limit parameter, checking the decimal places and significant figures of the original data; If the decimal places and significant figures of the original data meet the decimal places and significant figures parameters, verifying the logical order of the original data; If the logic sequence of the original data satisfies the logic parameter, the original data verification succeeds, and the original data that succeeds in verification is marked as the monitoring data.
3. The water quality assessment and early warning method according to claim 2, It is characterized in that The step of evaluating the monitoring data based on a preset evaluation strategy to obtain an evaluation result includes: Based on the preset evaluation strategy, the single water quality of the monitoring data is evaluated to obtain an evaluation result; the evaluation result includes a water quality category evaluation result, a lake eutrophication evaluation result and a drinking water evaluation result.
4. The water quality assessment and early warning method according to claim 3, It is characterized in that In the case where a warning information receiving user is provided and the monitoring data meets the warning triggering condition, generating warning information based on the monitoring data and the evaluation result, and sending the warning information to the warning information receiving user based on a pre-configured site-user association table, includes: Configure the number of warning items and warning trigger conditions for each water quality item in the monitoring item list; Determine in sequence whether the monitoring data corresponding to the number of warning items of all water quality items meets the corresponding warning triggering conditions; If the monitoring data corresponding to the number of warning items of all water quality items meets the corresponding warning triggering condition, the warning information is sent to the warning information receiving user based on the pre-configured site-user association table.
5. The water quality assessment and early warning method according to claim 4, It is characterized in that The method further comprises: After the original data is successfully verified, the monitoring data is stored in a pre-established original standard database; and, After the original data fails verification, the original data that fails verification is stored in a pre-established interception record table, so that the staff can review or process the original data that fails verification; and, After obtaining the evaluation result, the evaluation result is stored in the pre-established original standard database; the evaluation result is associated with the monitoring data in the pre-established original standard database.
6. The water quality assessment and early warning method according to claim 5, It is characterized in that The method further comprises: In response to a user operation instruction inputted by the terminal, calling first monitoring data from the pre-established original standard database; A target report is generated based on the report template information of the user operation instruction and the first monitoring data; the types of the target report include line charts, bar charts and / or pie charts; the data of the target report includes monthly data, annual data, monthly or annual data of a preset area, and assessment data of the target site.
7. The water quality assessment and early warning method according to any one of claims 5-6, It is characterized in that The method further comprises: Obtaining a geographic information system map and basic information of sites associated with the monitored waters; the basic information of the sites includes a site number or a site name; Calling the second monitoring data and the second evaluation result corresponding to the site number or the site name in the pre-established original standard database; The second monitoring data and the second evaluation result are displayed on the geographic information system map.
8. A water quality assessment and early warning device, It is characterized in that The water quality assessment and early warning device comprises: A verification module, used to verify the original data obtained in a preset time period based on preset verification parameters to obtain monitoring data; An evaluation module, used to evaluate the monitoring data based on a preset evaluation strategy to obtain an evaluation result; The early warning module is used to generate early warning information based on the monitoring data and the evaluation results when an early warning information receiving user is set and the monitoring data meets the early warning triggering conditions, and send the early warning information to the early warning information receiving user based on a pre-configured site-user association table.
9. A computer device, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the water quality assessment and early warning method described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the water quality assessment and early warning method described in any one of claims 1 to 7 are implemented.
