A water conservancy monitoring method and system based on multi-sensor fusion technology

Through multi-sensor fusion technology and neural network models, water conservancy indicators are automatically analyzed, disaster level values ​​and label maps are generated, which solves the problem of manual analysis in existing water conservancy monitoring that is difficult to provide timely warning, and achieves fast and accurate disaster warning and prevention and control assistance. .

CN118347471BActive Publication Date: 2024-09-17JIANGXI SHUITOUJIANG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410775284.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-17
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Existing water conservancy monitoring technology relies on manual analysis, making it difficult to promptly warn and prevent flood disasters, and it is easy to miss the best prevention and control opportunities.

Method used

Based on multi-sensor fusion technology, the historical water conservancy parameters are obtained for normalization processing, and a multi-layer perceptron neural network model is used to build a target neural network model to automatically analyze water conservancy indicators, generate disaster level values, and automatically label bird's-eye views to assist Users carry out prevention and control deployment.

Benefits of technology

It achieves rapid and accurate early warning of disasters, reduces user workload, and improves the efficiency and accuracy of flood disaster prevention and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118347471B
    Figure CN118347471B
Patent Text Reader

Abstract

The present invention belongs to the technical field of water conservancy monitoring, and provides a water conservancy monitoring method and system based on multi-sensor fusion technology. The method obtains historical water conservancy parameters collected by multiple sensors, and normalizes the historical water conservancy parameters as input, and various types of disasters are output with corresponding level values, and a multi-layer perceptron neural network model is trained to build a target neural network model, and then a bird's-eye view of the target water area is obtained. According to the target disaster and the target level value, the bird's-eye view is automatically labeled to obtain a labeled map, so as to assist users in prevention and control deployment, and quickly and accurately warn of disasters through machine learning, and assist users in completing prevention and control, thereby reducing the workload of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of water conservancy monitoring, and in particular relates to a water conservancy monitoring method and system based on multi-sensor fusion technology. Background Art

[0002] Water conservancy monitoring is mainly used to monitor the water conservancy operations of rivers, lakes and reservoirs, and to promptly respond to the hydrological characteristics of each water body so that relevant departments can make arrangements to prevent the occurrence of flood disasters.

[0003] At present, water conservancy monitoring uses various detectors to detect digital information such as water conservancy temperature, humidity, wind speed, wind direction, rainfall, water quality, water flow rate, water volume, video images or pictures, and uploads them to the online monitoring center through GPRS / CDMA channels. When one or several water conservancy indicators are detected to be abnormal, corresponding countermeasures are taken in a timely manner.

[0004] The analysis of abnormal water indicators needs to be conducted by experts to determine whether there are floods, soil erosion, water pollution, etc. This method often relies on human experience and is likely to miss the best time to prevent and control disasters. Summary of the invention

[0005] Based on this, an embodiment of the present invention provides a water conservancy monitoring method and system based on multi-sensor fusion technology to provide early warning of disasters and assist users in completing prevention and control.

[0006] A first aspect of an embodiment of the present invention provides a water conservancy monitoring method based on multi-sensor fusion technology, which is applied to a lake scenario. The method includes:

[0007] Acquire historical water conservancy parameters collected by multiple sensors, wherein the historical water conservancy parameters at least include historical water level, historical flow, historical pressure and historical temperature of the target water area, wherein the acquired historical flow, historical pressure and historical temperature are parameters of a preset depth at a preset position in the target water area, specifically including:

[0008] Obtaining a bird's-eye view of the target water area, and generating a plurality of grids on the bird's-eye view according to a preset grid density;

[0009] Determine a complete first grid among the plurality of grids, and determine a second grid and a third grid in the first grid, and scale the second grid and the third grid according to a preset scaling factor to obtain a target grid;

[0010] Determine the center point of the target grid as the preset position;

[0011] Surveying the total depth of the preset position, and determining whether the total depth is greater than a first threshold;

[0012] If it is determined that the total depth is greater than a first threshold, dividing it into at least three depth regions;

[0013] Obtain the historical flow, historical pressure and historical temperature collected by sensors installed at different depths at preset locations in the target waters, and simultaneously obtain the historical water level collected by a water level sensor installed at a designated location;

[0014] The historical water level, the historical flow, the historical pressure and the historical temperature are normalized, and the normalized hydraulic parameters are used as input, and the corresponding level values ​​of various disasters are used as output to perform multi-layer perceptron neural network model training to construct a target neural network model;

[0015] Obtain the current water level, flow, pressure and temperature of the target water area, input them into the target neural network model, and output the corresponding target disaster and target level values;

[0016] A bird's-eye view of the target water area is obtained, and the bird's-eye view is automatically annotated according to the target disaster and the target level value to obtain an annotated map to assist users in prevention and control deployment.

[0017] Furthermore, the step of obtaining a bird's-eye view of the target water area and generating a plurality of grids on the bird's-eye view according to a preset grid density includes:

[0018] Obtain a bird's-eye view of the target water area, and identify the boundary of the target water area in the bird's-eye view;

[0019] Obtaining the water flow direction of the target water area, and determining the direction perpendicular to the water flow direction as the arrangement direction of the grid;

[0020] According to the preset grid density and the arrangement direction of the grids, a plurality of grids are generated between the boundaries.

[0021] Further, the step of determining a complete first grid among the plurality of grids, determining a second grid and a third grid in the first grid, and scaling the second grid and the third grid according to a preset scaling factor to obtain a target grid includes:

[0022] Obtaining the area of ​​each grid, and determining whether the area is greater than a second threshold;

[0023] If it is determined that the area is greater than a second threshold, it is determined to be the first grid;

[0024] Counting the number of grids in each row according to the arrangement direction of the grids, and determining whether the number of grids is greater than a third threshold;

[0025] If it is determined that the number of grids is greater than a third threshold, determining a first preset zoom factor of the second grid and a second preset zoom factor of the third grid respectively according to the number of grids in the corresponding row, and determining the grid in the middle area of ​​the corresponding row as the second grid, and the grids on both sides of the corresponding row as the third grid;

[0026] According to the first preset zoom factor, the second grid is enlarged, and at the same time, according to the second preset zoom factor, the third grid is reduced to obtain a target grid;

[0027] If it is determined that the number of grids is not greater than the third threshold, the grid of the corresponding row is determined as the third grid;

[0028] According to a third preset zoom factor, the third grid is reduced to obtain a target grid.

[0029] Furthermore, in the step of normalization, the Z-score method is used to transform the original data to obtain data that obeys a normal distribution with a mean of 0 and a standard deviation of 1, wherein the formula for transforming the original data using the Z-score method is:

[0030] ;

[0031] in, Represents the normalized data. Represented as the original data, Expressed as the mean of all original data, Expressed as the standard deviation of all raw data.

[0032] Furthermore, the multi-layer perceptron neural network model includes an input layer, a hidden layer and an output layer, wherein:

[0033] The input layer includes L nodes for receiving training samples, where L is represented by the total number of sensors, wherein L=nm+l, n is represented by the number of positions where the total depth is greater than the first threshold, m is represented by the number of depth regions into which the preset position is divided, and l is represented by the number of positions where the total depth is not greater than the first threshold;

[0034] The hidden layer is composed of a first hidden sublayer, a second hidden sublayer, a third hidden sublayer, a fourth hidden sublayer and a fifth hidden sublayer, wherein the first hidden sublayer includes 64 nodes, which is used to extract features of input data and extract feature information related to output results, and the first hidden sublayer uses a Leaky ReLU function; the second hidden sublayer and the third hidden sublayer each include 128 nodes, which are used to extract features from the output data of the first hidden sublayer and capture the intrinsic connection between upper-layer nodes, and the second hidden sublayer and the third hidden sublayer use a Sigmoid function; the fourth hidden sublayer and the fifth hidden sublayer each include 64 nodes, which are used to process the data features output by the third hidden sublayer again, and the fourth hidden sublayer and the fifth hidden sublayer use a ReLU activation function;

[0035] The output layer has N nodes, wherein the output includes the disaster type and the corresponding level value, totaling N node data, and the output layer uses a linear activation function.

[0036] Furthermore, the step of obtaining a bird's-eye view of the target water area, automatically marking the bird's-eye view according to the target disaster and the target level value, and obtaining a marked map to assist users in making prevention and control deployments includes:

[0037] According to the target disaster and the target level value, matching a corresponding response plan in the plan database;

[0038] According to the coping plan, the target area of ​​the bird's-eye view is determined and marked to obtain a marked map.

[0039] A second aspect of an embodiment of the present invention provides a water conservancy monitoring system based on multi-sensor fusion technology, which is applied to a lake scene and is used to implement the water conservancy monitoring method based on multi-sensor fusion technology provided in the first aspect. The system includes:

[0040] A first acquisition module is used to acquire historical water conservancy parameters collected by multiple sensors, wherein the historical water conservancy parameters at least include historical water level, historical flow, historical pressure and historical temperature of the target water area, wherein the acquired historical flow, historical pressure and historical temperature are parameters of a preset depth at a preset position in the target water area;

[0041] A training module is used to normalize the historical water level, the historical flow, the historical pressure and the historical temperature, and use the normalized hydraulic parameters as input, and various disasters with corresponding level values ​​as output, to train a multi-layer perceptron neural network model to construct a target neural network model;

[0042] An input module is used to obtain the current water level, flow, pressure and temperature of the target water area, input them into the target neural network model, and output the corresponding target disaster and target level values;

[0043] The marking module is used to obtain a bird's-eye view of the target water area, and automatically mark the bird's-eye view according to the target disaster and the target level value to obtain a marked map to assist users in prevention and control deployment.

[0044] A third aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the water conservancy monitoring method based on multi-sensor fusion technology provided in the first aspect.

[0045] The fourth aspect of an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the water conservancy monitoring method based on multi-sensor fusion technology provided in the first aspect is implemented.

[0046] A water conservancy monitoring method and system based on multi-sensor fusion technology is provided in an embodiment of the present invention. The method obtains historical water conservancy parameters collected by multiple sensors, normalizes the historical water conservancy parameters, and uses them as input. Various types of disasters are output with corresponding level values, and a multi-layer perceptron neural network model is trained to build a target neural network model. Then, a bird's-eye view of the target water area is obtained, and the bird's-eye view is automatically labeled according to the target disaster and the target level value to obtain a labeled map to assist users in prevention and control deployment, quickly and accurately warn of disasters through machine learning, and assist users in completing prevention and control, thereby reducing user workload. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A flowchart of a water conservancy monitoring method based on multi-sensor fusion technology provided in the first embodiment of the present invention;

[0048] Figure 2 A structural block diagram of a water conservancy monitoring system based on multi-sensor fusion technology provided in the second embodiment of the present invention;

[0049] Figure 3 This is a structural block diagram of an electronic device provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0050] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0051] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0053] Embodiment 1

[0054] See also Figure 1 , Figure 1 A water conservancy monitoring method based on multi-sensor fusion technology provided in Embodiment 1 of the present invention is shown, which is applied to a lake scenario. The water conservancy monitoring method based on multi-sensor fusion technology specifically includes steps S01 to S04.

[0055] Step S01, obtaining historical water parameters collected by multiple sensors, wherein the historical water parameters at least include historical water level, historical flow, historical pressure and historical temperature of the target water area, wherein the acquired historical flow, historical pressure and historical temperature are parameters of a preset depth at a preset position in the target water area.

[0056] Specifically, the target waters are photographed by a device with a photographing function such as a drone. Taking a drone as an example, the drone is controlled to hover at a preset height to obtain a bird's-eye view of a preset ratio, and a number of grids are generated on the bird's-eye view according to a preset grid density, specifically including:

[0057] Obtain a bird's-eye view of the target water area, and identify the boundary of the target water area in the bird's-eye view;

[0058] Obtain the water flow direction of the target water area. The water flow direction can be obtained through geographical analysis. As the overall direction, the direction perpendicular to the water flow direction is determined as the grid arrangement direction. The purpose is to make the subsequent sensor installation more reasonable and the collected water conservancy parameters more representative.

[0059] Generating a plurality of grids between the boundaries according to the preset grid density and the arrangement direction of the grids;

[0060] Determining a complete first grid among the plurality of grids, and determining a second grid and a third grid in the first grid, and scaling the second grid and the third grid according to a preset scaling factor to obtain a target grid, specifically includes:

[0061] The area of ​​each grid is obtained, and it is determined whether the area is greater than a second threshold. It can be understood that the grid is generated in the bird's-eye view, and the sensor needs to be installed in the target water area, so the grid in the target water area needs to be determined;

[0062] If the area is greater than the second threshold, it is determined to be the first grid. For example, when the area of ​​the grid in the target water area is greater than half of the corresponding entire grid area, it is determined to be the first grid;

[0063] According to the arrangement direction of the grids, the number of grids in each row is counted to determine whether the number of grids is greater than a third threshold. It can be understood that the span of the water area is reflected according to the number of grids in each row.

[0064] If it is judged that the number of grids is greater than the third threshold, it means that the span of the water area is large. If the sensors are installed according to the preset grid density, it is time-consuming and labor-intensive, and there is a waste of sensor resources. Therefore, according to the number of grids in the corresponding row, the first preset zoom factor of the second grid and the second preset zoom factor of the third grid are determined respectively, and the grids in the middle area of ​​the corresponding row are determined as the second grid, and the grids in the areas on both sides of the corresponding row are determined as the third grid;

[0065] The second grid is enlarged according to the first preset zoom factor, and the third grid is reduced according to the second preset zoom factor to obtain the target grid, that is, the sensor is installed by adopting the strategy of sparse in the middle and dense in the periphery;

[0066] If it is determined that the number of grids is not greater than the third threshold, the grid of the corresponding row is determined as the third grid;

[0067] According to a third preset zoom factor, the third grid is reduced to obtain a target grid;

[0068] Further, the center point of the target grid is determined as the preset position;

[0069] Surveying the total depth of a preset position, and determining whether the total depth is greater than a first threshold;

[0070] If it is determined that the total depth is greater than the first threshold, it is divided into at least three depth regions;

[0071] The historical flow, historical pressure and historical temperature collected by sensors at different depths installed at preset positions in the target water area are obtained, and the historical water level collected by the water level sensor installed at the specified position is obtained. It should be noted that in order to further reduce the number of sensors on this basis, the relationship between the parameters collected by each sensor at each preset position can be analyzed. If there is a linear or other derivable relationship, the number of sensors at the preset position can be reduced. Similarly, the relationship between the parameters collected by the sensors between the preset positions is analyzed. If there is a linear or other derivable relationship, the sensor at the corresponding preset position can be cancelled.

[0072] Step S02, normalize the historical water level, the historical flow, the historical pressure and the historical temperature, and use the normalized hydraulic parameters as input, and various disasters with corresponding level values ​​as output, and perform multi-layer perceptron neural network model training to construct a target neural network model.

[0073] In this embodiment, the normalization process uses the Z-score method to transform the original data to obtain data that obeys a normal distribution with a mean of 0 and a standard deviation of 1. The formula for transforming the original data using the Z-score method is:

[0074] ;

[0075] in, Represents the normalized data. Represented as the original data, Expressed as the mean of all original data, Expressed as the standard deviation of all raw data.

[0076] In addition, the multilayer perceptron neural network model includes an input layer, a hidden layer, and an output layer, wherein:

[0077] The input layer includes L nodes for receiving training samples, where L is represented by the total number of sensors, wherein L=nm+l, n is represented by the number of positions where the total depth is greater than the first threshold, m is represented by the number of depth regions divided by the preset position, and l is represented by the number of positions where the total depth is not greater than the first threshold;

[0078] The hidden layer consists of a first hidden sublayer, a second hidden sublayer, a third hidden sublayer, a fourth hidden sublayer and a fifth hidden sublayer, wherein the first hidden sublayer includes 64 nodes, which is used to extract features of the input data and extract feature information related to the output result, and the first hidden sublayer uses the Leaky ReLU function; the second hidden sublayer and the third hidden sublayer each include 128 nodes, which are used to extract features from the output data of the first hidden sublayer and capture the intrinsic connection between the upper-layer nodes, and the second hidden sublayer and the third hidden sublayer use the Sigmoid function; the fourth hidden sublayer and the fifth hidden sublayer each include 64 nodes, which are used to process the data features output by the third hidden sublayer again, and the fourth hidden sublayer and the fifth hidden sublayer use the ReLU activation function;

[0079] The output layer has N nodes, where the output includes the disaster type and the corresponding level value, totaling N node data. The disaster type can be flood disaster, drought disaster, geological disaster, etc. In addition, the output layer uses a linear activation function.

[0080] Step S03, obtaining the current water level, flow, pressure and temperature of the target water area, inputting them into the target neural network model, and outputting the corresponding target disaster and target level values.

[0081] Step S04, obtaining a bird's-eye view of the target water area, and automatically marking the bird's-eye view according to the target disaster and the target level value to obtain a marked map to assist users in prevention and control deployment.

[0082] It should be noted that, according to the target disaster and the target level value, the corresponding response plan is matched in the plan database, wherein the plan database is the existing plan to combat different disasters of different levels;

[0083] According to the response plan, the target area of ​​the bird's-eye view is determined and marked to obtain a marked map. For example, if a flood warning is issued, the corresponding response plan is matched according to the level of the flood warning. For example, the need to use flood prevention sandbags, the laying location of the flood prevention sandbags, the laying area of ​​the flood prevention sandbags and other plan information, and the target area for the layout of the flood prevention sandbags in the bird's-eye view is determined and marked.

[0084] In summary, the water conservancy monitoring method based on multi-sensor fusion technology in the above-mentioned embodiment of the present invention obtains historical water conservancy parameters collected by multiple sensors, normalizes the historical water conservancy parameters, and uses them as input. Various types of disasters use corresponding level values ​​as outputs, and trains a multi-layer perceptron neural network model to construct a target neural network model. Then, a bird's-eye view of the target water area is obtained, and the bird's-eye view map is automatically labeled according to the target disaster and the target level value to obtain a labeled map to assist users in prevention and control deployment, and quickly and accurately warn of disasters through machine learning, and assist users in completing prevention and control, thereby reducing user workload.

[0085] Embodiment 2

[0086] See also Figure 2 , Figure 2 : is a structural block diagram of a water conservancy monitoring system 200 based on multi-sensor fusion technology provided in the second embodiment of the present invention. The water conservancy monitoring system 200 based on multi-sensor fusion technology is applied to the scene of the lake, and specifically includes: a first acquisition module 21, a training module 22, an input module 23 and a labeling module 24, wherein:

[0087] A first acquisition module 21 is used to acquire historical water conservancy parameters collected by multiple sensors, wherein the historical water conservancy parameters at least include historical water level, historical flow, historical pressure and historical temperature of the target water area, wherein the acquired historical flow, historical pressure and historical temperature are parameters of a preset depth at a preset position in the target water area;

[0088] The training module 22 is used to normalize the historical water level, the historical flow, the historical pressure and the historical temperature, and use the normalized hydraulic parameters as input, and various disasters as outputs with corresponding level values, to train a multi-layer perceptron neural network model to build a target neural network model. In the normalization step, the Z-score method is used to transform the original data to obtain data that obeys a normal distribution with a mean of 0 and a standard deviation of 1. The formula for transforming the original data using the Z-score method is:

[0089] ;

[0090] in, Represents the normalized data. Represented as the original data, Expressed as the mean of all original data, It is expressed as the standard deviation of all original data. In addition, the multilayer perceptron neural network model includes an input layer, a hidden layer and an output layer, wherein:

[0091] The input layer includes L nodes for receiving training samples, where L is represented by the total number of sensors, wherein L=nm+l, n is represented by the number of positions where the total depth is greater than the first threshold, m is represented by the number of depth regions into which the preset position is divided, and l is represented by the number of positions where the total depth is not greater than the first threshold;

[0092] The hidden layer is composed of a first hidden sublayer, a second hidden sublayer, a third hidden sublayer, a fourth hidden sublayer and a fifth hidden sublayer, wherein the first hidden sublayer includes 64 nodes, which is used to extract features of input data and extract feature information related to output results, and the first hidden sublayer uses a Leaky ReLU function; the second hidden sublayer and the third hidden sublayer each include 128 nodes, which are used to extract features from the output data of the first hidden sublayer and capture the intrinsic connection between upper-layer nodes, and the second hidden sublayer and the third hidden sublayer use a Sigmoid function; the fourth hidden sublayer and the fifth hidden sublayer each include 64 nodes, which are used to process the data features output by the third hidden sublayer again, and the fourth hidden sublayer and the fifth hidden sublayer use a ReLU activation function;

[0093] The output layer has N nodes, wherein the output includes the disaster type and the corresponding level value, a total of N node data, and the output layer uses a linear activation function;

[0094] An input module 23 is used to obtain the current water level, flow, pressure and temperature of the target water area, input them into the target neural network model, and output the corresponding target disaster and target level values;

[0095] The marking module 24 is used to obtain a bird's-eye view of the target water area, and automatically mark the bird's-eye view according to the target disaster and the target level value to obtain a marked map to assist users in prevention and control deployment.

[0096] Further, in some optional embodiments of the present invention, the first acquisition module 21 includes:

[0097] A grid generation unit, used to obtain a bird's-eye view of the target water area and generate a plurality of grids on the bird's-eye view according to a preset grid density;

[0098] A scaling unit, used to determine a complete first grid among the plurality of grids, and determine a second grid and a third grid in the first grid, and scale the second grid and the third grid according to a preset scaling factor to obtain a target grid;

[0099] A first determining unit, configured to determine the center point of the target grid as the preset position;

[0100] A first judgment unit, used to survey the total depth of the preset position and judge whether the total depth is greater than a first threshold;

[0101] a dividing unit, configured to divide the total depth into at least three depth regions if it is determined that the total depth is greater than a first threshold;

[0102] The first acquisition unit is used to acquire the historical flow, historical pressure and historical temperature collected by sensors installed in different depth areas at preset positions in the target water area, and simultaneously acquire the historical water level collected by a water level sensor installed at a designated position.

[0103] Further, in some optional embodiments of the present invention, the grid generation unit includes:

[0104] A boundary recognition subunit is used to obtain a bird's-eye view of the target water area and recognize the boundary of the target water area in the bird's-eye view;

[0105] An arrangement direction determination subunit is used to obtain the water flow direction of the target water area and determine the direction perpendicular to the water flow direction as the arrangement direction of the grid;

[0106] The grid generation subunit is used to generate a plurality of grids between the boundaries according to the preset grid density and the arrangement direction of the grids.

[0107] Further, in some optional embodiments of the present invention, the scaling unit includes:

[0108] A first judging subunit, used to obtain the area of ​​each grid and judge whether the area is greater than a second threshold;

[0109] A first determining subunit, configured to determine the first grid if it is determined that the area is greater than a second threshold;

[0110] A second judgment subunit is used to count the number of grids in each row according to the arrangement direction of the grids, and judge whether the number of grids is greater than a third threshold;

[0111] a second determining subunit, configured to determine, if it is determined that the number of grids is greater than a third threshold, a first preset zoom factor of the second grid and a second preset zoom factor of the third grid according to the number of grids in the corresponding row, and to determine the grids in the middle area of ​​the corresponding row as the second grid and the grids on both sides of the corresponding row as the third grid;

[0112] a first zoom subunit, configured to magnify the second grid according to the first preset zoom factor, and simultaneously reduce the third grid according to the second preset zoom factor, to obtain a target grid;

[0113] A third determining subunit, configured to determine the grid of the corresponding row as the third grid if it is determined that the number of grids is not greater than a third threshold;

[0114] The second scaling subunit is used to reduce the third grid according to a third preset scaling factor to obtain a target grid.

[0115] Furthermore, in some optional embodiments of the present invention, the marking module 24 includes:

[0116] A matching unit, configured to match a corresponding response plan in a plan database according to the target disaster and the target level value;

[0117] The labeling unit is used to determine the target area of ​​the bird's-eye view according to the response plan, and label it to obtain a labeled map.

[0118] Embodiment 3

[0119] Another aspect of the present invention provides an electronic device, see Figure 3 , shown is an electronic device in Embodiment 3 of the present invention, including a memory 20, a processor 10, and a computer program 30 stored in the memory and executable on the processor. When the processor 10 executes the computer program 30, the water conservancy monitoring method based on multi-sensor fusion technology as described above is implemented.

[0120] In some embodiments, the processor 10 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 20, such as executing access restriction programs.

[0121] Among them, the memory 20 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 20 can be an internal storage unit of an electronic device, such as a hard disk of the electronic device. In other embodiments, the memory 20 can also be an external storage device of an electronic device, such as a plug-in hard disk equipped on the electronic device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Further, the memory 20 can also include both an internal storage unit of the electronic device and an external storage device. The memory 20 can not only be used to store application software and various types of data of the electronic device, but also can be used to temporarily store data that has been output or is to be output.

[0122] It should be pointed out that Figure 3 The structure shown does not constitute a limitation on the electronic device. In other embodiments, the electronic device may include fewer or more components than those shown in the figure, or combine certain components, or arrange the components differently.

[0123] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the water conservancy monitoring method based on multi-sensor fusion technology as described above is implemented.

[0124] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0125] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0126] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0127] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0128] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the attached claims.

Claims

1. A water conservancy monitoring method based on multi-sensor fusion technology, characterized in that: Applied to a lake scenario, the method includes: Acquire historical water conservancy parameters collected by multiple sensors, wherein the historical water conservancy parameters at least include historical water level, historical flow, historical pressure and historical temperature of the target water area, wherein the acquired historical flow, historical pressure and historical temperature are parameters of a preset depth at a preset position in the target water area, specifically including: Obtaining a bird's-eye view of the target water area, and generating a plurality of grids on the bird's-eye view according to a preset grid density; Determine a complete first grid among the plurality of grids, and determine a second grid and a third grid in the first grid, and scale the second grid and the third grid according to a preset scaling factor to obtain a target grid; Determine the center point of the target grid as the preset position; Surveying the total depth of the preset position, and determining whether the total depth is greater than a first threshold; If it is determined that the total depth is greater than a first threshold, dividing it into at least three depth regions; Obtain the historical flow, historical pressure and historical temperature collected by sensors installed at different depths at preset locations in the target waters, and simultaneously obtain the historical water level collected by a water level sensor installed at a specified location; The historical water level, the historical flow, the historical pressure and the historical temperature are normalized, and the normalized hydraulic parameters are used as input, and the corresponding level values ​​of various disasters are used as output to perform multi-layer perceptron neural network model training to construct a target neural network model; Obtain the current water level, flow, pressure and temperature of the target water area, input them into the target neural network model, and output the corresponding target disaster and target level values; Obtaining a bird's-eye view of the target waters, and automatically marking the bird's-eye view according to the target disaster and the target level value to obtain a marked map to assist users in making prevention and control deployments; The step of obtaining a bird's-eye view of the target water area and generating a plurality of grids on the bird's-eye view according to a preset grid density comprises: Obtain a bird's-eye view of the target water area, and identify the boundary of the target water area in the bird's-eye view; Obtaining the water flow direction of the target water area, and determining the direction perpendicular to the water flow direction as the arrangement direction of the grid; Generating a plurality of grids between the boundaries according to the preset grid density and the arrangement direction of the grids; The step of determining a complete first grid among the plurality of grids, determining a second grid and a third grid in the first grid, and scaling the second grid and the third grid according to a preset scaling factor to obtain a target grid includes: Obtaining the area of ​​each grid, and determining whether the area is greater than a second threshold; If it is determined that the area is greater than a second threshold, it is determined to be the first grid; Counting the number of grids in each row according to the arrangement direction of the grids, and determining whether the number of grids is greater than a third threshold; If it is determined that the number of grids is greater than a third threshold, determining a first preset zoom factor of the second grid and a second preset zoom factor of the third grid respectively according to the number of grids in the corresponding row, and determining the grid in the middle area of ​​the corresponding row as the second grid, and the grids on both sides of the corresponding row as the third grid; According to the first preset zoom factor, the second grid is enlarged, and at the same time, according to the second preset zoom factor, the third grid is reduced to obtain a target grid; If it is determined that the number of grids is not greater than the third threshold, the grid in the corresponding row is determined as the third grid; According to a third preset zoom factor, the third grid is reduced to obtain a target grid.

2. The water conservancy monitoring method based on multi-sensor fusion technology according to claim 1 is characterized in that: In the normalization step, the Z-score method is used to transform the original data to obtain data that obeys a normal distribution with a mean of 0 and a standard deviation of 1. The formula for transforming the original data using the Z-score method is: ; in, Represents the normalized data. Represented as the original data, Expressed as the mean of all original data, Expressed as the standard deviation of all raw data.

3. The water conservancy monitoring method based on multi-sensor fusion technology according to claim 2 is characterized in that: The multi-layer perceptron neural network model includes an input layer, a hidden layer and an output layer, wherein: The input layer includes L nodes for receiving training samples, where L is represented by the total number of sensors, wherein L=nm+l, n is represented by the number of positions where the total depth is greater than the first threshold, m is represented by the number of depth regions into which the preset position is divided, and l is represented by the number of positions where the total depth is not greater than the first threshold; The hidden layer is composed of a first hidden sublayer, a second hidden sublayer, a third hidden sublayer, a fourth hidden sublayer and a fifth hidden sublayer, wherein the first hidden sublayer includes 64 nodes, which is used to extract features of input data and extract feature information related to output results, and the first hidden sublayer uses a Leaky ReLU function; the second hidden sublayer and the third hidden sublayer each include 128 nodes, which are used to extract features from the output data of the first hidden sublayer and capture the intrinsic connection between upper-layer nodes, and the second hidden sublayer and the third hidden sublayer use a Sigmoid function; the fourth hidden sublayer and the fifth hidden sublayer each include 64 nodes, which are used to process the data features output by the third hidden sublayer again, and the fourth hidden sublayer and the fifth hidden sublayer use a ReLU activation function; The output layer has N nodes, wherein the output includes the disaster type and the corresponding level value, totaling N node data, and the output layer uses a linear activation function.

4. The water conservancy monitoring method based on multi-sensor fusion technology according to claim 3 is characterized in that: The step of obtaining a bird's-eye view of the target water area, and automatically marking the bird's-eye view according to the target disaster and the target level value to obtain a marked map to assist users in making prevention and control deployments includes: According to the target disaster and the target level value, matching a corresponding response plan in the plan database; According to the coping plan, the target area of ​​the bird's-eye view is determined and marked to obtain a marked map.

5. A water conservancy monitoring system based on multi-sensor fusion technology, characterized in that: Applied in a lake scenario, the system is used to implement the water conservancy monitoring method based on multi-sensor fusion technology as described in any one of claims 1 to 4, and the system includes: A first acquisition module is used to acquire historical water conservancy parameters collected by multiple sensors, wherein the historical water conservancy parameters at least include historical water level, historical flow, historical pressure and historical temperature of the target water area, wherein the acquired historical flow, historical pressure and historical temperature are parameters of a preset depth at a preset position in the target water area; A training module is used to normalize the historical water level, the historical flow, the historical pressure and the historical temperature, and use the normalized hydraulic parameters as input, and various disasters with corresponding level values ​​as output, to train a multi-layer perceptron neural network model to construct a target neural network model; An input module is used to obtain the current water level, flow, pressure and temperature of the target water area, input them into the target neural network model, and output the corresponding target disaster and target level values; The marking module is used to obtain a bird's-eye view of the target water area, and automatically mark the bird's-eye view according to the target disaster and the target level value to obtain a marked map to assist users in prevention and control deployment.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the water conservancy monitoring method based on multi-sensor fusion technology as described in any one of claims 1 to 4 is implemented.

7. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the water conservancy monitoring method based on multi-sensor fusion technology as claimed in any one of claims 1 to 4 is implemented.