Wastewater pool liquid level over-limit early warning method, system, equipment and medium
By fusing traditional liquid level monitoring data with video data, and using technologies such as image recognition and Kalman filtering algorithms, the problem of insufficient accuracy of traditional liquid level monitoring methods in complex environments is solved, and the accuracy of liquid level monitoring and the reliability of early warning is improved.
Patent Information
- Application Number
- CN202510191124.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-06-03
AI Technical Summary
Traditional liquid level monitoring methods may be disturbed in complex environments, reducing the accuracy of liquid level monitoring and thus reducing the reliability of early warning.
A variety of liquid level monitoring data (float, pressure, ultrasound) are fused with video data, image liquid level monitoring data is obtained through image recognition, and the Kalman filtering algorithm and other methods are used to improve the accuracy of data fusion.
It improves the accuracy of liquid level monitoring and the reliability of early warning, weakens the shortcomings of various monitoring methods, and reduces monitoring costs.
Smart Images

Figure CN120088962A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of water level monitoring, and particularly to a method, system, device and medium for early warning of over-limit liquid level in a wastewater tank. Background Art
[0002] Industrial wastewater includes production wastewater, production sewage and cooling water, which refers to the wastewater and waste liquid generated during the industrial production process. Untreated wastewater may contain toxic and harmful substances. Once discharged into the natural environment, it will damage the ecosystem and even affect the safety of drinking water sources. Therefore, effective treatment of industrial wastewater to reduce its harm to the environment is an important part of achieving sustainable development. And liquid level monitoring plays a crucial role in the process of industrial wastewater treatment. The liquid level of the wastewater tank directly affects the treatment effect and the operation of the equipment. Therefore, real-time monitoring of the liquid level of the wastewater tank to ensure it is within a safe range is the key to ensuring the treatment effect of industrial wastewater and the safe operation of the equipment.
[0003] Traditional liquid level monitoring methods mostly rely on sensors such as mechanical float balls, ultrasonic waves or radars. These methods may be interfered with in complex environments, reducing the accuracy of liquid level monitoring and thus the reliability of early warning. Summary of the Invention
[0004] In order to improve the accuracy of liquid level monitoring and thus the reliability of early warning, this application provides a method, system, device and medium for early warning of over-limit liquid level in a wastewater tank.
[0005] In the first aspect, this application provides a method for early warning of over-limit liquid level in a wastewater tank, adopting the following technical solution: A method for early warning of over-limit liquid level in a wastewater tank includes: Obtaining liquid level monitoring data and video data at a target location, where the liquid level monitoring data includes float ball liquid level monitoring data, pressure liquid level monitoring data and ultrasonic liquid level monitoring data; Performing image recognition on the video data to obtain image liquid level monitoring data; Fusing the liquid level monitoring data and the image liquid level monitoring data to obtain liquid level data; Determining an early warning strategy based on the liquid level data and an early warning threshold.
[0006] By adopting the above technical solution, multiple liquid level monitoring data and video data are obtained, and image recognition is performed on the video data to obtain image liquid level monitoring data. By fusing multiple liquid level monitoring data and image liquid level monitoring data to obtain liquid level data, the deficiencies of various monitoring methods are weakened, thereby improving the accuracy of liquid level monitoring. An early warning strategy is formulated based on the fused liquid level data and an early warning threshold, improving the reliability of early warning.
[0007] Optionally, before obtaining the liquid level monitoring data and video data of the target position, the method further includes: Obtaining the water quality parameters of the wastewater being treated in the wastewater tank, where the water quality parameters include water quality and color; Obtaining the environmental data of the wastewater tank, where the environmental data includes light intensity and water mist parameters; Adjusting the camera parameters based on the water quality parameters, the environmental data, and a preset correction rule.
[0008] By adopting the above technical solution, the camera parameters are adjusted in real time according to the water quality parameters and environmental data, making the video data clearer, thereby improving the accuracy of the image liquid level monitoring data. The liquid level data is determined based on the image liquid level monitoring data, improving the accuracy of the liquid level monitoring.
[0009] Optionally, the step of fusing the liquid level monitoring data and the image liquid level monitoring data to obtain liquid level data includes: Jointly determining the monitoring data from the liquid level monitoring data and the image liquid level monitoring data; Calculating the monitoring difference between every two pieces of the monitoring data; If the monitoring differences are all less than or equal to a preset difference, calculating the average value of the monitoring data and determining the average value as the liquid level data; If there is monitoring data greater than the preset difference, determining the liquid level data based on the monitoring data and the Kalman filtering algorithm.
[0010] By adopting the above technical solution, different fusion methods are used according to the size of the monitoring differences between the monitoring data, improving the reliability of data fusion, and thus improving the accuracy of the fused liquid level data.
[0011] Optionally, the method further includes: Obtaining historical liquid level data and historical monitoring data; Calculating the deviation value between the historical monitoring data and the historical liquid level data; Analyzing the deviation value to obtain the accuracy rate of various historical monitoring data at each time period; Determining the monitoring devices at each time period based on the accuracy rate.
[0012] By adopting the above technical solution, by analyzing the deviation value between the historical monitoring data and the historical liquid level data, the accuracy rate of various monitoring devices at each time period is obtained, so that a monitoring device with a higher accuracy rate can be selected for liquid level monitoring at the corresponding time period, reducing the monitoring cost without affecting the accuracy of liquid level monitoring.
[0013] Optionally, before determining the warning strategy based on the liquid level data and the warning threshold, the method further includes: Obtain historical liquid level information, where the historical liquid level information includes historical liquid level data, time, and the water tank workload; Divide the historical liquid level information according to a preset time period and a preset load range to obtain a plurality of liquid level information combinations, and the historical liquid level information in each liquid level information combination corresponds to the same preset time period and the same preset load range; Train a preset algorithm based on the liquid level information combination to obtain a threshold adjustment model; Obtain the current time and the current workload; Determine the warning threshold based on the current time, the current workload, and the threshold adjustment model.
[0014] By adopting the above technical solution, the historical liquid level information is divided according to a preset time period and a preset load range to obtain liquid level information combinations with different preset time periods and different preset load ranges. The preset algorithm is trained respectively by multiple liquid level information combinations, which improves the reliability of the threshold adjustment model. Different warning thresholds are set in different preset time periods and different preset load ranges through the threshold adjustment model, thereby improving the reliability of the warning threshold.
[0015] Optionally, the determining the warning strategy based on the liquid level data and the warning threshold includes: Determine the liquid level range based on the warning threshold; Determine the current liquid level range based on the liquid level data and the liquid level range; Determine the warning level based on the current liquid level range, the liquid level duration, and the liquid level rising rate, where the liquid level duration is the duration of the liquid level data in the current liquid level range; Determine the warning strategy based on the warning level and the target location.
[0016] By adopting the above technical solution, the warning level is determined through the current liquid level range, the liquid level duration, and the liquid level rising rate, which improves the reliability of the warning level division. Different warning methods are selected according to different warning levels, which improves the reliability of the warning strategy.
[0017] Optionally, the determining the warning level based on the current liquid level range, the liquid level duration, and the liquid level rising rate includes: If the current liquid level range is the first range, the liquid level rising rate is greater than the preset rising rate, and the rising duration is greater than the first preset duration, then determine the warning level as the first level, where the rising duration is the duration during which the liquid level rising rate is greater than the preset rising rate; If the current liquid level range is the second range, and the liquid level duration is greater than the second preset duration, then determine the warning level as the second level; If the current liquid level range is the third range, and the liquid level duration is greater than the third preset duration, then determine the warning level as the third level.
[0018] In a second aspect, the present application provides a waste water tank liquid level overlimit warning system, adopting the following technical solution: A waste water tank liquid level overlimit warning system includes: A data acquisition module, configured to acquire liquid level monitoring data and video data of a target location, where the liquid level monitoring data includes float liquid level monitoring data, pressure liquid level monitoring data, and ultrasonic liquid level monitoring data; An image recognition module, configured to perform image recognition on the video data to obtain image liquid level monitoring data; A data fusion module, configured to fuse the liquid level monitoring data and the image liquid level monitoring data to obtain liquid level data; A warning determination module, configured to determine a warning strategy based on the liquid level data and a warning threshold.
[0019] By adopting the above technical solution, multiple types of liquid level monitoring data and video data are acquired, image recognition is performed on the video data to obtain image liquid level monitoring data, the liquid level data is obtained by fusing multiple types of liquid level monitoring data and image liquid level monitoring data, weakening the deficiencies of various monitoring methods, thereby improving the accuracy of liquid level monitoring, and formulating a warning strategy based on the fused liquid level data and the warning threshold, improving the reliability of the warning.
[0020] In a third aspect, the present application provides an electronic device, adopting the following technical solution: An electronic device includes a processor, and the processor is coupled to a memory; A computer program capable of being loaded and executed by the processor for the waste water tank liquid level overlimit warning method according to any one of the first aspect is stored on the memory.
[0021] In a fourth aspect, the present application provides a computer-readable storage medium, adopting the following technical solution: A computer-readable storage medium stores a computer program capable of being loaded and executed by the processor for the waste water tank liquid level overlimit warning method according to any one of the first aspect.
[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. Obtain various liquid level monitoring data and video data, perform image recognition on the video data to obtain image liquid level monitoring data, fuse the various liquid level monitoring data and the image liquid level monitoring data to obtain liquid level data, weaken the deficiencies of various monitoring methods, thereby improving the accuracy of liquid level monitoring, and formulate an early warning strategy based on the fused liquid level data and the early warning threshold, improving the reliability of the early warning; 2. Adopt different fusion methods according to the different magnitudes of the monitoring differences between the monitoring data, improve the reliability of data fusion, and thus improve the accuracy of the fused liquid level data. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a schematic flowchart of a method for early warning of over-limit liquid level in a wastewater tank provided by an embodiment of the present application.
[0024] Figure 2 is a structural block diagram of a system for early warning of over-limit liquid level in a wastewater tank provided by an embodiment of the present application.
[0025] Figure 3 is a structural block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] The following further describes the present application in detail with reference to the accompanying drawings.
[0027] An embodiment of the present application provides a method for early warning of over-limit liquid level in a wastewater tank. The method for early warning of over-limit liquid level in a wastewater tank can be executed by an electronic device, which can be a server or a terminal device. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.
[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0029] In addition, the term "and / or" in this text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this text generally represents an "or" relationship between the related objects before and after, unless otherwise specified.
[0030] As Figure 1 shown, a method for warning of over-limit liquid level in a wastewater tank, the main process of this method is described as follows (Steps S101 to S104): Step S101, obtain the liquid level monitoring data and video data of the target location.
[0031] The target location can be any wastewater tank, and the liquid level monitoring data includes but is not limited to float liquid level monitoring data, pressure liquid level monitoring data, and ultrasonic liquid level monitoring data.
[0032] A variety of liquid level gauges and cameras are installed at the wastewater tank. The liquid level gauges include but are not limited to float type liquid level gauges, pressure type liquid level gauges, radar / ultrasonic liquid level gauges. Obtaining the liquid level monitoring data from the liquid level gauges includes but is not limited to obtaining the float liquid level monitoring data from the float type liquid level gauge, obtaining the pressure liquid level monitoring data from the pressure type liquid level gauge, obtaining the ultrasonic liquid level monitoring data from the radar / ultrasonic liquid level gauge, and obtaining the video data from the camera.
[0033] Specifically, before obtaining the liquid level monitoring data and video data of the target location, the method further includes: obtaining the water quality parameters of the wastewater currently being treated in the wastewater tank, where the water quality parameters include water quality and color; obtaining the environmental data of the wastewater tank, where the environmental data includes light intensity and water mist parameters; adjusting the camera parameters based on the water quality parameters, environmental data, and preset correction rules.
[0034] In this embodiment, obtain the water quality, color of the wastewater currently being treated in the wastewater tank and the light intensity and water mist parameters of the wastewater tank from the staff, and obtain the preset correction rules from the database. The preset correction rules are the rules for determining the camera parameters according to the water quality, color of the wastewater, and the light intensity and water mist parameters of the wastewater tank. Thus, the camera parameters can be found from the preset correction rules according to the water quality, color of the wastewater, and the light intensity and water mist parameters of the wastewater tank, and the camera parameters are adjusted so that the camera can capture clearer video data.
[0035] Step S102, perform image recognition on the video data to obtain image liquid level monitoring data.
[0036] Perform image recognition on the video data through a preset image recognition model to obtain image liquid level monitoring data, where the preset image recognition model is trained according to a large amount of image data.
[0037] Step S103: Fuse the liquid level monitoring data and the image liquid level monitoring data to obtain liquid level data.
[0038] Specifically, fusing the liquid level monitoring data and the image liquid level monitoring data to obtain liquid level data includes: jointly determining the liquid level monitoring data and the image liquid level monitoring data as monitoring data; calculating the monitoring difference between every two monitoring data; if the monitoring differences are all less than or equal to a preset difference, calculating the average value of the monitoring data and determining the average value as the liquid level data; if there is monitoring data greater than the preset difference, determining the liquid level data based on the monitoring data and the Kalman filtering algorithm.
[0039] In this embodiment, the liquid level monitoring data and the image liquid level monitoring data are jointly determined as monitoring data, and the monitoring difference between every two monitoring data at the target position is calculated. If all the monitoring differences are less than or equal to the preset difference, it indicates that all the monitoring data are relatively close, and the average value of all the monitoring data is calculated and determined as the liquid level data at the target position; if there is monitoring data greater than the preset difference, it indicates that there are monitoring data with relatively large differences. At this time, all the monitoring data at the target position are calculated through the Kalman filtering algorithm to obtain the liquid level data. The Kalman filtering algorithm is a prior art and will not be elaborated here.
[0040] Further, the method further includes: obtaining historical liquid level data and historical monitoring data; calculating the deviation value between the historical monitoring data and the historical liquid level data; analyzing the deviation value to obtain the accuracy rate of various historical monitoring data in each period; determining the monitoring devices in each period based on the accuracy rate.
[0041] Obtaining liquid level data through data fusion improves the accuracy of liquid level monitoring, but requires multiple liquid level gauges and camera devices to collect data simultaneously, which increases the monitoring cost to a certain extent. In this embodiment, historical liquid level data (i.e., the data obtained through data fusion) and historical monitoring data are obtained from the database, the deviation value between each historical monitoring data and the corresponding historical liquid level data is calculated, and the deviation value is analyzed through a data analysis tool to obtain the accuracy rate of various historical monitoring data in each period. The monitoring devices corresponding to the preset number of types of historical monitoring data with the highest accuracy rate in a period are determined as the monitoring devices in that period, so that it is not necessary to enable all the monitoring devices simultaneously in a period, reducing the cost of liquid level detection. Among them, the data analysis tool can be Excel, or Python, or SQL. A period can be 6 hours, or 8 hours. The preset number can be 1, or multiple. No specific limitation is made here.
[0042] Step S104: Determine an early warning strategy based on the liquid level data and the early warning threshold.
[0043] Specifically, before determining the warning strategy based on the liquid level data and the warning threshold, the method further includes: obtaining historical liquid level information, where the historical liquid level information includes historical liquid level data, time, and the working load of the water tank; dividing the historical liquid level information according to a preset time period and a preset load range to obtain a plurality of liquid level information combinations, and the historical liquid level information in each liquid level information combination corresponds to the same preset time period and the same preset load range; training a preset algorithm based on the liquid level information combination to obtain a threshold adjustment model; obtaining the current time and the current working load; and determining the warning threshold based on the current time, the current working load, and the threshold adjustment model.
[0044] In this embodiment, the historical liquid level information is obtained from the database, and the historical liquid level information is divided according to the different preset time periods in which the time in the historical liquid level information is located and the different preset load ranges in which the working load of the water tank is located to obtain a plurality of liquid level information combinations. The preset algorithm is trained respectively through the plurality of liquid level information combinations to obtain a threshold adjustment model. The threshold adjustment model can obtain the warning threshold according to the time and the working load. The current time is obtained from the electronic device and the current working load is obtained from the staff, and the current time and the current working load are input into the threshold adjustment model to obtain the warning threshold. Among them, the preset time period and the preset load range are both set in advance. The preset time period is, for example, one month or one quarter, and the preset load range is a range divided according to the amount of wastewater treated by the wastewater tank. The preset algorithm is a machine learning algorithm, such as neural network, linear regression, etc.
[0045] Specifically, determining the warning strategy based on the liquid level data and the warning threshold includes: determining the liquid level range based on the warning threshold; determining the current liquid level range based on the liquid level data and the liquid level range; determining the warning level based on the current liquid level range, the liquid level duration, and the liquid level rising rate, where the liquid level duration is the duration of the liquid level data in the current liquid level range; and determining the warning strategy based on the warning level and the target location.
[0046] In this embodiment, the warning thresholds include a first warning threshold and a second warning threshold, where the first warning threshold is less than the second warning threshold. The liquid level ranges include a first range, a second range, and a third range. The first range is the range less than the first warning threshold. The second range is the range greater than or equal to the first warning threshold and less than the second warning threshold. The third range is the range greater than or equal to the second warning threshold. Determine the liquid level range where the liquid level data is located as the current liquid level range. Determine the warning level based on the current liquid level range, the duration of the liquid level in the current liquid level range, and the liquid level rising rate. Each warning level corresponds to a warning method stored in the database. Obtain the current warning method from the database according to the warning level. If the current warning method includes closing the valve, then determine the valve corresponding to the target position as the valve to be closed. The warning strategy is to issue a warning according to the current warning method.
[0047] Specifically, determining the warning level based on the current liquid level range, the duration of the liquid level, and the liquid level rising rate includes: If the current liquid level range is the first range, the liquid level rising rate is greater than the preset rising rate, and the rising duration is greater than the first preset duration, then determine the warning level as the first level. The rising duration is the duration when the liquid level rising rate is greater than the preset rising rate. If the current liquid level range is the second range, and the duration of the liquid level is greater than the second preset duration, then determine the warning level as the second level. If the current liquid level range is the third range, and the duration of the liquid level is greater than the third preset duration, then determine the warning level as the third level.
[0048] In this embodiment, the liquid level overlimit situations of the first level, the second level, and the third level are increasingly serious in turn. The magnitudes of the first preset duration, the second preset duration, and the third preset duration are not specifically limited here.
[0049] More specifically, the method further includes: If the current liquid level range is the third range, but the duration of the liquid level is less than or equal to the third preset duration, then update the current liquid level range to the second range, and then determine whether the duration of the liquid level data in the second range is greater than the second preset duration. If the duration of the liquid level data in the second range is greater than the second preset duration, then determine the warning level as the second level. If the duration of the liquid level data in the second range is less than or equal to the second preset duration, then there is no liquid level overlimit abnormality at this time. It should be noted that there is also no liquid level overlimit abnormality in other unmentioned situations, and no warning is required.
[0050] Figure 2 It is a structural block diagram of a wastewater tank liquid level overlimit warning system 200 provided by an embodiment of the present application.
[0051] As Figure 2 shown, the wastewater tank liquid level overlimit warning system 200 mainly includes: The data acquisition module 201 is configured to acquire liquid level monitoring data and video data of a target location. The liquid level monitoring data includes float liquid level monitoring data, pressure liquid level monitoring data, and ultrasonic liquid level monitoring data. The image recognition module 202 is configured to perform image recognition on the video data to obtain image liquid level monitoring data. The data fusion module 203 is configured to fuse the liquid level monitoring data with the image liquid level monitoring data to obtain liquid level data. The warning determination module 204 is configured to determine a warning strategy based on the liquid level data and a warning threshold.
[0052] As an optional implementation manner of this embodiment, the data acquisition module 201 is further specifically configured to, before acquiring the liquid level monitoring data and the video data of the target location, further include: acquiring water quality parameters of the wastewater currently being treated in the wastewater tank, where the water quality parameters include water quality and color; acquiring environmental data of the wastewater tank, where the environmental data includes light intensity and water mist parameters; and adjusting the camera parameters based on the water quality parameters, the environmental data, and a preset correction rule.
[0053] As an optional implementation manner of this embodiment, the data fusion module 203 is further specifically configured to fuse the liquid level monitoring data with the image liquid level monitoring data to obtain liquid level data, including: jointly determining the liquid level monitoring data and the image liquid level monitoring data as monitoring data; calculating the monitoring difference between every two pieces of monitoring data; if the monitoring differences are all less than or equal to a preset difference, calculating the average value of the monitoring data and determining the average value as the liquid level data; if there is monitoring data greater than the preset difference, determining the liquid level data based on the monitoring data and the Kalman filtering algorithm.
[0054] As an optional implementation manner of this embodiment, the wastewater tank liquid level over - limit warning system 200 is further specifically configured to: acquire historical liquid level data and historical monitoring data; calculate the deviation value between the historical monitoring data and the historical liquid level data; analyze the deviation value to obtain the accuracy rate of various historical monitoring data in each time period; and determine the monitoring devices in each time period based on the accuracy rate.
[0055] As an optional implementation manner of this embodiment, the warning determination module 204 is further specifically configured to, before determining the warning strategy based on the liquid level data and the warning threshold, further include: acquiring historical liquid level information, where the historical liquid level information includes historical liquid level data, time, and the working load of the water tank; dividing the historical liquid level information according to a preset time period and a preset load range to obtain a plurality of liquid level information combinations, where the historical liquid level information in each liquid level information combination corresponds to the same preset time period and the same preset load range; training a preset algorithm based on the liquid level information combination to obtain a threshold adjustment model; acquiring the current time and the current working load; and determining the warning threshold based on the current time, the current working load, and the threshold adjustment model.
[0056] As an alternative implementation of this embodiment, the warning determination module 204 is further specifically configured to determine a warning strategy based on the liquid level data and the warning threshold, including: determining a liquid level range based on the warning threshold; determining the current liquid level range based on the liquid level data and the liquid level range; determining a warning level based on the current liquid level range, the duration of the liquid level, and the rising rate of the liquid level, where the duration of the liquid level is the duration for which the liquid level data remains within the current liquid level range; and determining a warning strategy based on the warning level and the target location.
[0057] As an alternative implementation of this embodiment, the warning determination module 204 is further specifically configured to determine a warning level based on the current liquid level range, the duration of the liquid level, and the rising rate of the liquid level, including: if the current liquid level range is the first range, the rising rate of the liquid level is greater than the preset rising rate, and the rising duration is greater than the first preset duration, then determine the warning level as the first level, where the rising duration is the duration for which the rising rate of the liquid level is greater than the preset rising rate; if the current liquid level range is the second range, and the duration of the liquid level is greater than the second preset duration, then determine the warning level as the second level; if the current liquid level range is the third range, and the duration of the liquid level is greater than the third preset duration, then determine the warning level as the third level.
[0058] In one example, the modules in any of the above devices may be one or more integrated circuits configured to implement the above methods. For example: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0059] Again, when the modules in the device can be implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs. Again, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0060] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0061] Figure 3This is a structural block diagram of an electronic device 300 provided by an embodiment of the present application.
[0062] As Figure 3 shown, the electronic device 300 includes a processor 301 and a memory 302, and may further include one or more of an information input / output (I / O) interface 303, a communication component 304, and a communication bus 305.
[0063] Among them, the processor 301 is used to control the overall operation of the electronic device 300 to complete all or part of the steps of the above wastewater tank liquid level over-limit warning method; the memory 302 is used to store various types of data to support the operation of the electronic device 300. These data may include, for example, instructions for any application or method operating on the electronic device 300, and application-related data. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, a disk, or an optical disc, or one or more of them.
[0064] The I / O interface 303 provides an interface between the processor 301 and other interface modules. The above other interface modules can be a keyboard, a mouse, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 304 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them. Therefore, the corresponding communication component 304 may include: a Wi-Fi component, a Bluetooth component, and an NFC component.
[0065] The electronic device 300 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components, and is used to execute the wastewater tank liquid level over - limit warning method given in the above embodiments.
[0066] The communication bus 305 may include a path for transmitting information between the above - mentioned components. The communication bus 305 can be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus 305 can be divided into an address bus, a data bus, a control bus, etc.
[0067] The electronic device 300 may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in - vehicle terminals (such as in - vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc., and may also be a server, etc.
[0068] This application also provides a computer - readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above - mentioned wastewater tank liquid level over - limit warning method are implemented.
[0069] The computer - readable storage medium may include: various media that can store program codes, such as USB flash drives, mobile hard disks, read - only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0070] The term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus.
[0071] The above description is only a preferred embodiment of the present application and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the application involved in the present application is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions applied in the present application.
Claims
1. A wastewater pool liquid level over-limit early warning method, characterized in that: include: Acquire liquid level monitoring data and video data of the target position, wherein the liquid level monitoring data includes float liquid level monitoring data, pressure liquid level monitoring data and ultrasonic liquid level monitoring data; Performing image recognition on the video data to obtain image liquid level monitoring data; Merging the liquid level monitoring data with the image liquid level monitoring data to obtain liquid level data; An early warning strategy is determined based on the liquid level data and the early warning threshold.
2. The method according to claim 1, characterized in that: Before acquiring the liquid level monitoring data and video data of the target position, the method further includes: Acquire water quality parameters of wastewater currently being treated in the wastewater pool, wherein the water quality parameters include water quality and color; Acquiring environmental data of the wastewater pool, wherein the environmental data includes light intensity and water mist parameters; The camera parameters are adjusted based on the water quality parameters, the environmental data and preset correction rules.
3. The method according to claim 1, characterized in that The step of fusing the liquid level monitoring data with the image liquid level monitoring data to obtain liquid level data includes: Determine the liquid level monitoring data and the image liquid level monitoring data together as monitoring data; Calculate the monitoring difference between every two of the monitoring data; If the monitoring differences are all less than or equal to the preset differences, then calculating the average value of the monitoring data and determining the average value as the liquid level data; If the monitoring data exists and is greater than the preset difference, the liquid level data is determined based on the monitoring data and the Kalman filter algorithm.
4. The method according to claim 1, characterized in that The method further comprises: Obtain historical liquid level data and historical monitoring data; Calculating the deviation value between the historical monitoring data and the historical liquid level data; Analyze the deviation value to obtain the accuracy of various historical monitoring data in each time period; The monitoring equipment for each time period is determined based on the accuracy rate.
5. The method according to claim 1, characterized in that: Before determining the warning strategy based on the liquid level data and the warning threshold, the method further includes: Acquire historical liquid level information, wherein the historical liquid level information includes historical liquid level data, time, and water tank workload; Dividing the historical liquid level information according to a preset time period and a preset load range to obtain a plurality of liquid level information combinations, wherein the historical liquid level information in each of the liquid level information combinations corresponds to the same preset time period and the same preset load range; Training a preset algorithm based on the liquid level information combination to obtain a threshold adjustment model; Get the current time and current workload; An early warning threshold is determined based on the current time, the current workload, and the threshold adjustment model.
6. The method according to claim 1, characterized in that The determining of the early warning strategy based on the liquid level data and the early warning threshold comprises: determining a liquid level range based on the warning threshold; Determine a current liquid level range based on the liquid level data and the liquid level range; Determine the warning level based on the current liquid level range, liquid level duration and liquid level rising rate, wherein the liquid level duration is the duration of the liquid level data in the current liquid level range; An early warning strategy is determined based on the early warning level and the target location.
7. The method according to claim 6, characterized in that The determining of the warning level based on the current liquid level range, liquid level duration and liquid level rising rate includes: If the current liquid level range is the first range, the liquid level rising rate is greater than the preset rising rate, and the rising duration is greater than the first preset duration, the warning level is determined to be the first level, and the rising duration is the duration during which the liquid level rising rate is greater than the preset rising rate; If the current liquid level range is within the second range, and the duration of the liquid level is greater than a second preset duration, the warning level is determined to be the second level; If the current liquid level range is within the third range and the duration of the liquid level is greater than a third preset duration, the warning level is determined to be the third level.
8. A wastewater pool liquid level over-limit warning system, characterized in that: include: A data acquisition module, used to acquire liquid level monitoring data and video data at a target location, wherein the liquid level monitoring data includes float liquid level monitoring data, pressure liquid level monitoring data and ultrasonic liquid level monitoring data; An image recognition module, used to perform image recognition on the video data to obtain image liquid level monitoring data; A data fusion module, used for fusing the liquid level monitoring data with the image liquid level monitoring data to obtain liquid level data; The early warning determination module is used to determine an early warning strategy based on the liquid level data and the early warning threshold.
9. An electronic device, characterized in that: comprising a processor coupled to a memory; The processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The method comprises a computer program or an instruction, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 7.