Construction method of village and town sewage internet-of-things platform based on data assets

Through the village sewage IoT platform based on data assets, water quality data is collected and analyzed in real time, the weight value and damage index of pollutants are calculated, and pollution sources are screened. This solves the problem of inaccurate monitoring of pollutant composition and content in the existing technology and improves the quality of pollutants. It improves the accuracy of pollution source judgment and water body protection effect.

CN118535903APending Publication Date: 2024-08-23JIANGSU LIDING ENVIRONMENTAL PROTECTION EQUIPMENT CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410710846.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing technology cannot effectively monitor the composition and content of pollutants in sewage, resulting in the inability to accurately determine the source of pollution and affecting pollution supervision and water body protection.

Method used

Design a village sewage IoT platform based on data assets to collect water quality data in real time, conduct data verification and analysis, calculate the weight value of pollutants and pollution damage index, screen possible pollution sources, and improve the accuracy of pollution source judgment.

Benefits of technology

It achieves the accurate identification of pollution sources and the detection and processing efficiency of management departments, and improves the effect of water body protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535903A
    Figure CN118535903A
Patent Text Reader

Abstract

The invention relates to the technical field of internet of things and software system structures, in particular to a method for constructing a village and town sewage internet-of-things platform based on data assets, and the method comprises the steps: carrying out the real-time collection of water quality data of a to-be-monitored water area, and transmitting the collected data to a data verification port; importing the collected water quality data into a data verification port for data validity analysis, extracting valid data, obtaining pollutant components exceeding the standard, and outputting pollution data information; according to the pollution data information, the data analysis port calculates the weight value of the exceeding pollutant component in the water area pollution and the pollution infringement index of the exceeding pollutant component on the water area, and calculates the water area pollution index according to the weight value and the pollution infringement index; and the data screening port screens possible pollution sources through importance calculation and feeds back the possible pollution sources to the data management port for pollution supervision, prevention and control.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Wastewater monitoring is the process of monitoring and measuring the types of pollutants in water bodies, the concentrations of various pollutants and their changing trends, and evaluating the water quality. The monitoring scope is very wide, including polluted natural water (rivers, lakes, seas and groundwater) and various industrial drainage. The main monitoring items can be divided into two categories: one is the comprehensive indicators reflecting the water quality, such as temperature, color, turbidity, pH value, conductivity, suspended solids, dissolved oxygen, chemical oxygen demand and biochemical oxygen demand; the other is some toxic substances, such as phenol, cyanide, arsenic, lead, chromium, cadmium, mercury and organic pesticides.

[0003] The existing technology cannot guarantee the validity of monitoring data, and it is impossible to accurately determine the source of pollution based on accurate calculations of pollutant composition and content. To solve the above problems, this application designs a method for building a village and town sewage IoT platform based on data assets. Summary of the invention

[0004] The main purpose of the present invention is to provide a method for constructing a village and town sewage Internet of Things platform based on data assets, which effectively solves the above-mentioned problems mentioned in the background technology.

[0005] The technical solution of the present invention is as follows: In the first aspect, a method for constructing a village and town sewage IoT platform based on data assets is proposed, and the method includes the following steps: S1. Collect water quality data of the monitored water area in real time and send the collected data to the data verification port; S2. Import the collected water quality data into the data verification port for data validity analysis, extract valid data and obtain the pollutant components exceeding the standard, and output pollution data information; S3. The data analysis port calculates the weight value of the pollutant components exceeding the standard in the water pollution and the pollution damage index of the pollutant components exceeding the standard to the water area based on the pollution data information, and calculates the water pollution index based on the weight value and the pollution damage index; S4. The data screening port screens possible pollution sources through importance calculation and feeds back to the data management port for pollution supervision and prevention.

[0006] A further improvement of the present invention is that S1 comprises the following specific steps: S11, arranging k water quality data collection points at equal distances along the water flow direction in the water area to be monitored to obtain k-1 water area flow sections, and arranging water quality sensors at the water quality data collection points in sequence; S12. Preset a period of time as a water quality monitoring period, and obtain water quality data of the water quality sensor within the water quality monitoring period and its corresponding time node data in real time.

[0007] A further improvement of the present invention is that S2 comprises the following specific steps: S21: Calculate the average water quality of each water quality data collection point during the water quality monitoring period. The calculation formula is: ;in, is the water quality data of the jth water quality data collection point at any time node within the water quality monitoring period, j is any value from 1 to k, is the start time of water quality monitoring, The end time of water quality monitoring; S22: Verify the validity of water quality data at any time point within the water quality monitoring period. The calculation formula of the data verification value is: ;in, is the verification value of the water quality data at any time node at the jth water quality data collection point within the water quality monitoring period; S23, comparing the data verification value with the verification threshold a, when the data verification value is not greater than the verification threshold a, the data is valid, all invalid water quality data in the water quality monitoring time period are eliminated, and the corresponding time node data is marked as an invalid time node; S24. Extract water quality data of all water quality sensors at any valid time node within the water quality monitoring period, and obtain n pollutant components exceeding the standard.

[0008] A further improvement of the present invention is that the specific formula of the weight value in S3 is: ;in, is the weight of the i-th pollutant component in the j-th water section in the water pollution, It is the monitoring data of the i-th pollutant component at the k-th water quality data collection point.

[0009] A further improvement of the present invention is that the specific formula of the pollution damage index in S3 is: ;in, is the pollution damage index of the i-th pollutant component in the j-th water section to the water area, is the maximum value of the i-th pollutant component within the safe range.

[0010] A further improvement of the present invention is that the specific formula for calculating the water pollution index in S3 is: ; X is the water pollution index.

[0011] A further improvement of the present invention is that the importance calculation in S4 includes the following specific steps: S41. Calculate the pollution damage index of n pollutant components in the water area respectively. The calculation formula is: ;in, is the pollution damage index of the i-th pollutant component to the water area; S42, screening and locking the location of the pollution source that causes water pollution, collecting the excessive pollutant component information discharged by a single pollution source, outputting the excessive pollutant component set P, and at the same time outputting the water pollutant component set Q; S43, calculating the intersection U of the excessive pollutant component set P and the water pollutant component set Q, extracting data information of all pollutant component elements in the set U, and calculating the importance of a single pollution source; S44. Arrange the possible pollution sources in descending order of importance and feed them back to the data management port, and the supervisors will divide the supervision levels.

[0012] A further improvement of the present invention is that the specific content of S43 calculating the importance of a single pollution source is: extracting the data information of all pollutant component elements in the set U, multiplying the data information of each pollutant component element by its pollution damage index to the water area and adding them up to obtain the importance of a single pollution source.

[0013] On the second aspect, a computer-readable storage medium is proposed, on which a computer program is stored. When the computer program is executed, the above-mentioned method for constructing a village and town sewage Internet of Things platform based on data assets is implemented.

[0014] On the third aspect, an electronic device is proposed, comprising a memory for storing instructions; and a processor for executing the instructions, so that the device implements a method for constructing a village and town sewage Internet of Things platform based on data assets.

[0015] The technical effects of the present invention are as follows: A method for constructing a village and town sewage IoT platform based on data assets was constructed. By accurately monitoring water quality pollution and accurately calculating the pollutant composition and content, the pollution source was accurately locked, thereby improving the accuracy of pollution source judgment, improving the efficiency of management departments in discovering and treating pollution sources, and further improving the protection of water bodies. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings: Figure 1 It is a flow chart of a method for constructing a village and town sewage IoT platform based on data assets of the present invention; Figure 2 It is a schematic diagram of the detailed steps of a method for constructing a village and town sewage IoT platform based on data assets according to the present invention. DETAILED DESCRIPTION

[0017] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Example 1

[0018] This embodiment proposes a method for constructing a village sewage IoT platform based on data assets, such as Figure 1 , and combined with Figure 2 As shown, the specific steps include: S1. Collect water quality data of the monitored water area in real time and send the collected data to the data verification port.

[0019] In this embodiment, S1 includes the following specific steps: S11. Arrange k water quality data collection points at equal distances along the water flow direction in the water area to be monitored to obtain k-1 water area flow sections, and arrange water quality sensors at the water quality data collection points in sequence.

[0020] In this embodiment, this step is demonstrated here by example code: import numpy as np def generate_data_collection_points(start_point, end_point, k): """ Generate k equally spaced data collection points """ distance_between_points = (end_point - start_point) / (k - 1) data_collection_points = [start_point + i · distance_between_points for i in range(k)] return data_collection_points def generate_segments(data_collection_points): """ Generate water flow segments """ segments = [] for i in range(len(data_collection_points) - 1): segment_start = data_collection_points[i] segment_end = data_collection_points[i + 1] segment = (segment_start, segment_end) segments.append(segment) return segments # Set the length of the water area and the number of collection points to be arranged start_point = 0 # starting point end_point = 100 # End point k = 5 # Number of collection points # Generate data collection points and water flow sections data_collection_points generate_data_collection_points(start_point,end_point, k) segments = generate_segments(data_collection_points) # Output results print("Data collection points:", data_collection_points) print("Water flow segment:", segments) S12. Preset a period of time as a water quality monitoring period, and obtain water quality data of the water quality sensor within the water quality monitoring period and its corresponding time node data in real time.

[0021] In this embodiment, this step is demonstrated here by example code: import time #Simulate the data acquisition function of the water quality sensor def get_water_quality_data(): # This can be replaced with the actual water quality sensor data acquisition method # Assume that a tuple is returned, containing water quality data and timestamp water_quality = 7.5 # Example water quality data timestamp = time.time() # Current timestamp return water_quality, timestamp # Set the water quality monitoring time period (example time period: 10 seconds back from the current time) monitoring_duration = 10 # Monitoring period (seconds) start_time = time.time() # start time try: while True: current_time = time.time() if current_time - start_time >= monitoring_duration: break # Get the current water quality data and timestamp water_quality, timestamp = get_water_quality_data() # Output water quality data and timestamp print("Water quality data:", water_quality, " Time:", time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(timestamp))) time.sleep(1) # Update data once a second to simulate real-time monitoring except KeyboardInterrupt: print("Monitoring ended") This code is a sample code and needs to be modified and improved according to actual conditions in actual applications.

[0022] S2. Import the collected water quality data into the data verification port for data validity analysis, extract valid data and obtain the pollutant components that exceed the standard, and output pollution data information.

[0023] In this embodiment, S2 includes the following specific steps: S21: Calculate the average water quality of each water quality data collection point during the water quality monitoring period. The calculation formula is: ;in, is the water quality data of the jth water quality data collection point at any time node within the water quality monitoring period, j is any value from 1 to k, is the start time of water quality monitoring, The end time of water quality monitoring; S22: Verify the validity of water quality data at any time point within the water quality monitoring period. The calculation formula of the data verification value is: ;in, is the verification value of the water quality data at any time node at the jth water quality data collection point within the water quality monitoring period; S23, comparing the data verification value with the verification threshold a, when the data verification value is not greater than the verification threshold a, the data is valid, all invalid water quality data in the water quality monitoring time period are eliminated, and the corresponding time node data is marked as an invalid time node; S24, extract the water quality data of all water quality sensors at any valid time node within the water quality monitoring period, and obtain n pollutant components that exceed the standard In this embodiment, it should be noted that the verification threshold a is obtained by obtaining 100 groups of historical data judged as invalid and 100 groups of historical data judged as valid, importing them into the data verification value calculation formula for calculation, classifying the invalid data and the valid data, and fitting the data to obtain the optimal solution of the verification threshold a. This step ensures the validity of the collected data.

[0024] S3. The data analysis port calculates the weight value of the pollutant components exceeding the standard in the water pollution and the pollution damage index of the water area caused by the pollutant components exceeding the standard based on the pollution data information, and calculates the water pollution index based on the weight value and the pollution damage index.

[0025] In this embodiment, the specific formula of the weight value in S3 is: ;in, is the weight of the i-th pollutant component in the j-th water section in the water pollution, It is the monitoring data of the i-th pollutant component at the k-th water quality data collection point.

[0026] In this embodiment, the specific formula of the pollution damage index in S3 is: ;in, is the pollution damage index of the i-th pollutant component in the j-th water section to the water area, is the maximum value of the i-th pollutant component within the safe range.

[0027] In this embodiment, the specific formula for calculating the water pollution index in S3 is: ; X is the water pollution index.

[0028] It should be noted that this embodiment only calculates the water pollution index.

[0029] Embodiment 2: like Figure 1 , and combined with Figure 2 As shown, a method for constructing a village and town sewage IoT platform based on data assets includes the following specific steps: real-time collection of water quality data of the monitored water area, and sending the collected data to the data verification port; importing the collected water quality data into the data verification port for data validity analysis, extracting valid data and obtaining the pollutant components exceeding the standard, and outputting pollution data information; the data analysis port calculates the weight value of the pollutant components exceeding the standard in the water area pollution and the pollution damage index of the pollutant components exceeding the standard to the water area according to the pollution data information, and calculates the water area pollution index according to the weight value and the pollution damage index. Add on the basis of Example 1: S4. The data screening port screens possible pollution sources through importance calculation and feeds back to the data management port for pollution supervision and prevention.

[0030] In this embodiment, the importance calculation in S4 includes the following specific steps: S41. Calculate the pollution damage index of n pollutant components in the water area respectively. The calculation formula is: ;in, is the pollution damage index of the i-th pollutant component to the water area; S42, screening and locking the location of the pollution source that causes water pollution, collecting the excessive pollutant component information discharged by a single pollution source, outputting the excessive pollutant component set P, and at the same time outputting the water pollutant component set Q; S43, calculating the intersection U of the excessive pollutant component set P and the water pollutant component set Q, extracting data information of all pollutant component elements in the set U, and calculating the importance of a single pollution source; S44. Arrange the possible pollution sources in descending order of importance and feed them back to the data management port, and the supervisors will divide the supervision levels.

[0031] In this embodiment, the specific content of S43 calculating the importance of a single pollution source is: extracting the data information of all pollutant component elements in the set U, multiplying the data information of each pollutant component element by its pollution damage index to the water area and adding them up to obtain the importance of a single pollution source.

[0032] Embodiment 3: This embodiment provides an electronic device, including: a processor and a memory, wherein the memory stores a computer program that can be called by the processor; the processor executes the above-mentioned method for constructing a village and town sewage Internet of Things platform based on data assets by calling the computer program stored in the memory.

[0033] The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) and one or more memories, wherein the memory stores at least one computer program, which is loaded and executed by the processor to implement a method for constructing a village sewage IoT platform based on data assets provided by the above method embodiment. The electronic device may also include other components for realizing the functions of the device, for example, the electronic device may also have components such as a wired or wireless network interface and an input and output interface to input and output data. This embodiment will not be described in detail here.

[0034] Those skilled in the art know that the present invention can be implemented as a system, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, which is generally referred to as a "circuit", "module" or "system" herein. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code.

[0035] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

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

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

[0038] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

Claims

1. A method for constructing a village and town sewage IoT platform based on data assets, characterized by: The specific steps include: S1. Collect water quality data of the monitored water area in real time and send the collected data to the data verification port; S2. Import the collected water quality data into the data verification port for data validity analysis, extract valid data and obtain the pollutant components exceeding the standard, and output pollution data information; S3. The data analysis port calculates the weight value of the pollutant components exceeding the standard in the water pollution and the pollution damage index of the pollutant components exceeding the standard to the water area based on the pollution data information, and calculates the water pollution index based on the weight value and the pollution damage index; S4. The data screening port screens possible pollution sources through importance calculation and feeds back to the data management port for pollution supervision and prevention.

2. The method for constructing a village and town sewage IoT platform based on data assets according to claim 1 is characterized by: The S1 comprises the following specific steps: S11, arranging k water quality data collection points at equal distances along the water flow direction in the water area to be monitored to obtain k-1 water area flow sections, and arranging water quality sensors at the water quality data collection points in sequence; S12. Preset a period of time as a water quality monitoring period, and obtain water quality data of the water quality sensor within the water quality monitoring period and its corresponding time node data in real time.

3. The method for constructing a village and town sewage IoT platform based on data assets according to claim 2 is characterized by: The S2 comprises the following specific steps: S21: Calculate the average water quality of each water quality data collection point during the water quality monitoring period. The calculation formula is: ;in, is the water quality data of the jth water quality data collection point at any time node within the water quality monitoring period, j is any value from 1 to k, is the start time of water quality monitoring, The end time of water quality monitoring; S22: Verify the validity of water quality data at any time point within the water quality monitoring period. The calculation formula of the data verification value is: ;in, is the verification value of the water quality data at any time node at the jth water quality data collection point within the water quality monitoring period; S23, comparing the data verification value with the verification threshold a, when the data verification value is not greater than the verification threshold a, the data is valid, all invalid water quality data in the water quality monitoring time period are eliminated, and the corresponding time node data is marked as an invalid time node; S24. Extract water quality data of all water quality sensors at any valid time node within the water quality monitoring period, and obtain n pollutant components exceeding the standard.

4. The method for constructing a village and town sewage IoT platform based on data assets according to claim 3 is characterized by: The specific formula of the weight value in S3 is: ;in, is the weight of the i-th pollutant component in the j-th water section in the water pollution, It is the monitoring data of the i-th pollutant component at the k-th water quality data collection point.

5. The method for constructing a village and town sewage IoT platform based on data assets according to claim 4 is characterized by: The specific formula of the pollution damage index in S3 is: ;in, is the pollution damage index of the i-th pollutant component in the j-th water section to the water area, is the maximum value of the i-th pollutant component within the safe range.

6. The method for constructing a village and town sewage IoT platform based on data assets according to claim 5 is characterized by: The specific formula for calculating the water pollution index in S3 is: ; X is the water pollution index.

7. The method for constructing a village and town sewage IoT platform based on data assets according to claim 6 is characterized by: The importance calculation in S4 includes the following specific steps: S41. Calculate the pollution damage index of n pollutant components in the water area respectively. The calculation formula is: ;in, is the pollution damage index of the i-th pollutant component to the water area; S42, screening and locking the location of the pollution source that causes water pollution, collecting the excessive pollutant component information discharged by a single pollution source, outputting the excessive pollutant component set P, and at the same time outputting the water pollutant component set Q; S43, calculating the intersection U of the excessive pollutant component set P and the water pollutant component set Q, extracting data information of all pollutant component elements in the set U, and calculating the importance of a single pollution source; S44. Arrange the possible pollution sources in descending order of importance and feed them back to the data management port, and the supervisors will divide the supervision levels.

8. The method for constructing a village and town sewage IoT platform based on data assets according to claim 1, characterized in that: The specific content of S43 calculating the importance of a single pollution source is: extracting the data information of all pollutant component elements in the set U, multiplying the data information of each pollutant component element by its pollution damage index to the water area and adding them up to obtain the importance of a single pollution source.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements a method for constructing a village and town sewage Internet of Things platform based on data assets as described in any one of claims 1-8.

10. An electronic device, characterized in that: It includes a memory for storing instructions; a processor for executing the instructions, so that the device executes a method for constructing a village and town sewage Internet of Things platform based on data assets as described in any one of claims 1-8.

Citation Information

Cited By

  • Epoxy resin wastewater pollutant tracking method

    CN119959492A