A method for identifying characteristic elements of digital twin watershed based on intelligent computing
Through an intelligent computing model that simulates the dual-flow mechanism of the human brain, ventral and dorsal flow path modules are used to identify the characteristic elements of the digital twin watershed, solving the problems of complexity and information hiding of characteristic elements in water conservancy scenes, and achieving high-accuracy features Feature identification and error correction for engineering applications in digital twin watersheds.
Patent Information
- Application Number
- CN202311735799.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-18
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-12-18
AI Technical Summary
The characteristic elements of digital twin watersheds are complex, dynamic, information hidden and weak in water conservancy scenarios. Existing intelligent computing methods are difficult to meet the identification needs of dynamic changes and hidden characteristic elements, and there are difficulties in model migration and data acquisition. .
An intelligent computing model simulating the dual-flow mechanism of the human brain is used to realize the initial identification and error correction of the characteristic elements of the digital twin watershed through the ventral flow path and dorsal flow path modules, and the Gabor wavelet convolution kernel function and neural network are used to perform texture information Extraction, information integration, timing matching and weighted fusion to reduce recognition errors.
It achieves accurate spatial positioning of characteristic elements without relying on data-driven and model learning conditions, improves the accuracy and reliability of identification of characteristic elements in digital twin watersheds, reduces error accumulation, and is suitable for engineering application needs of digital twin watersheds.
Smart Images

Figure CN117576420B
Abstract
Description
Technical Field
[0001] The present invention relates to a method for identifying characteristic elements of a digital twin watershed based on intelligent computing. The method is mainly aimed at characteristic elements of a digital twin watershed that change over time and have dynamic characteristics, such as water-related engineering operation, disaster evolution, flow field, etc. The characteristic elements are identified through the technical means of intelligent computing, and belongs to the technical field of digital twin watersheds. Background Art
[0002] The digital twin watershed is a digital twin watershed that realizes the mapping of the physical watershed to the digital space by comprehensively using technologies such as the perception of the characteristic elements of the entire watershed, intelligent computing, and edge computing. The digital twin of the physical watershed monitors and perceives the characteristic elements of the current watershed to achieve twin collaborative mapping and interaction between the physical watershed and the digital watershed, ultimately achieving human-machine decision-making and operation management.
[0003] The digital twin watershed is a "mirror" of the physical watershed in nature, monitors and reacts to the physical watershed, and integrates the deep integration of water conservancy management and the water conservancy industry. The core of the construction of the digital twin watershed is the digitization, connection, data acquisition, twin model and its services of the characteristic elements of the physical watershed, based on the accurate identification of the characteristic elements of the digital twin watershed. However, there are great challenges in the identification of characteristic elements of the digital twin watershed in the water conservancy scenario:
[0004] ① Water conservancy scenarios are complex and dynamically changing. Due to the influence of water flow, meteorological climate and other factors, water conservancy scenarios are extremely complex and dynamically changing. Air-space-ground-water water conservancy monitoring and perception methods are faced with the impact of sudden scene changes, sensor noise pollution, and accumulated data acquisition errors.
[0005] ②The characteristic elements of digital twin watersheds are diverse and changeable. For water conservancy applications, the characteristics of digital twin watersheds include multiple elements of nature, human and society, and there is a lack of uniformity between different physical watersheds. The attributes of the elements are random and the weights vary significantly.
[0006] ③ The characteristic elements of the digital twin watershed are hidden and weak. The information attenuation in the process of acquiring the characteristic elements of the digital twin watershed is extremely serious due to factors such as water flow, meteorology and climate, and the characteristic element information is partially or completely obscured, showing information hiding. In addition, in order to establish a large-scale digital twin watershed, the spatial scale of data acquisition is large, and the characteristic elements of the digital twin watershed, such as water surface targets, water conservancy operation processes, and water flow states, account for a small proportion and are extremely weak.
[0007] ④ Existing intelligent computing methods are difficult to meet the needs of digital twin watershed water conservancy applications. For the dynamic and subtle characteristic elements of digital twin watersheds, the knowledge models that existing intelligent computing methods rely on are difficult to migrate, and model retraining faces essential difficulties such as data scarcity and fuzzy mapping. Intelligent computing methods for digital twin watersheds are relatively scarce and are still in the initial research and development stage. Summary of the invention
[0008] Purpose of the invention: Aiming at the application needs of digital twin watershed construction and the difficulty of identifying characteristic elements of digital twin watersheds, the present invention discloses a method for identifying characteristic elements of digital twin watersheds based on intelligent computing, proposes an intelligent computing model that simulates the dual-stream mechanism of the human brain, and realizes the accurate identification of characteristic elements of digital twin watersheds. It can accurately locate the spatial position of characteristic elements without relying on data-driven and model learning, and serve the construction of digital twin watershed data base.
[0009] Technical solution: A method for identifying characteristic elements of a digital twin watershed based on intelligent computing, comprising the following steps:
[0010] Step 1: Simulate and establish the ventral flow pathway module: simulate the continuous neural activity process of the ventral flow pathway from simple cells to complex cells to model and realize the initial recognition of the characteristic elements of the digital twin watershed; from the input end to the output end, it is from low level to high level. The ventral flow pathway contains a four-layer series structure from simple cells (S1, S2 cells) to complex cells (C1, C2 cells):
[0011] ①S1 layer, models the neural activity process of simple cells in the lower layer to extract texture information;
[0012] ②C1 layer, models the neural activity process of low-level complex cells to achieve information integration;
[0013] ③S2 layer, models the high-level simple cell neural activity process to achieve timing matching;
[0014] ④C2 layer, models high-level complex cellular neural activity processes to achieve weighted fusion;
[0015] A neural network is a front-to-back structure, where the low layers refer to the neurons close to the front end and the high layers refer to the neurons close to the back end (center).
[0016] S1 layer: The S1 layer uses the Gabor wavelet convolution kernel function to filter the water conservancy monitoring data input at time t and extract texture information. The expression is as follows:
[0017]
[0018] Where: I t(x, y) is the water conservancy monitoring data input at time t, (x, y) is the spatial coordinates of the monitoring data, is the texture information output by the S1 layer at the position (x, y) at time t, and G(x, y, θ, s(λ, σ)) is the two-dimensional Gabor convolution kernel:
[0019]
[0020] Where: θ is the direction angle, here we select 4 angles: θ = 0, π / 4, π / 2, 3π / 4, λ is the wavelength of Gabor wavelet, σ is the bandwidth, X = x cosθ + y sinθ, Y = y cosθ - x sinθ, s is the scale, a total of 8 scales are selected, and the typical parameters of Gabor convolution kernel are set as follows:
[0021]
[0022] C1 layer: The C1 layer receives the signal from the S1 layer and performs integration and pooling, and performs maximum pooling calculation on the multi-scale information generated by the S1 layer:
[0023]
[0024] Where: is the multi-scale texture information output after the S1 layer at time t, k constrains a set of scales for the maximum pooling calculation, T is the integration area, and the typical area size is set to T∈5×5;
[0025] S2 layer: The S2 layer matches the output results of the C1 layer in time sequence:
[0026]
[0027] Where: and They represent the output results of the C1 layer at time t and time t-1 respectively, * is the convolution calculation, Represents the output result of S2 layer at time t.
[0028] C2 layer: The C2 layer performs weighted fusion calculation on the output results of the S2 layer at time t:
[0029]
[0030] Where: W t is the connection weight at time t;
[0031] The recognition result of the feature element is obtained through the output of the C2 layer, which is represented as the spatial coordinates of the feature element;
[0032]
[0033] Where: (x′ t ,y′ t ) is the spatial coordinate of the feature element identified at time t.
[0034] At this point, the modeling and calculation of the ventral flow pathway of the visual cortex have been completed, and the initial recognition of the characteristic elements of the digital twin watershed has been achieved.
[0035] Step 2: Simulate the neural activity process of the dorsal flow pathway, determine the initial recognition error of the digital twin watershed feature elements, and correct the error to improve the recognition accuracy of dynamic feature elements:
[0036] Estimate the initial recognition error of the feature elements:
[0037]
[0038] Where: represents the maximum response of the dorsal flow pathway at time t μ t represents the average maximum response of the time window size of 5
[0039] like There is no feature element recognition error at time t, (x′ t ,y′ t ) is the final recognition result of the characteristic elements of the digital twin watershed, and Υ is the judgment threshold;
[0040] like When a feature element recognition error occurs at time t, the feature element at time t is repeatedly traversed and recognized:
[0041] The characteristic element coordinates (x′) at time t-1 t-1 ,y′ t-1 ) is used as the center to design the search area that is repeatedly traversed at time t (the typical search area range is 0.1 of the monitoring area size), design the search window (the typical search window size is 9×9), traverse the search window point by point in the area, and calculate the coordinates of the characteristic elements at time t-1 (x′ t-1 ,y′ t-1 ) as the center (same size as the search window) and the similarity between each search window:
[0042]
[0043] Where: M = {m1, m2, ..., m n} is the intensity histogram of the search window, O = {o1, o2, ..., o n} is the intensity histogram of the window centered on the feature element coordinate at time t-1, n is the histogram dimension (typical value n = 255), and the center coordinate of the search window with the maximum similarity (x″) t ,y″ t ) is the recognition result of the feature element at time t after error correction, and is fed back to the S2 layer to avoid error accumulation.
[0044] At this point, the identification and correction of the identification errors have been completed, and the final identification of the characteristic elements of the digital twin watershed has been achieved.
[0045] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for identifying characteristic elements of a digital twin watershed based on intelligent computing as described above is implemented.
[0046] A computer-readable storage medium stores a computer program for executing the digital twin watershed feature element identification method based on intelligent computing as described above.
[0047] Beneficial effects: Compared with the prior art, the method disclosed in the present invention can keenly identify dynamic characteristic elements and reduce the error accumulation in the identification of characteristic elements of the digital twin watershed. It is generally applicable to the engineering application needs of the digital baseplate construction of the digital twin watershed, and lays the application technology foundation for the construction of the "three lines of defense" in water conservancy. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is an intelligent computing model that simulates the dual-stream mechanism of the human brain in an embodiment of the present invention;
[0049] Figure 2 This is an example of the identification results of characteristic elements of the digital twin watershed in the embodiment of the present invention. DETAILED DESCRIPTION
[0050] The present invention is further explained below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.
[0051] Technical solution: A method for identifying characteristic elements of digital twin watersheds based on intelligent computing is proposed. Aiming at the characteristic elements of digital twin watersheds with dynamic characteristics, an intelligent computing model that simulates the dual-flow mechanism of the human brain is proposed. Figure 1As shown, it mainly includes ventral flow pathway and dorsal flow pathway modules: in the ventral flow pathway module, the neural activity process of the visual cortex is simulated to realize the initial recognition of dynamic feature elements; in the dorsal flow pathway module, the neural activity process of spatial position perception is simulated, the recognition error of the initial recognition result is automatically judged and corrected, and the accurate recognition of the characteristic elements of the digital twin watershed is realized.
[0052] The ventral flow pathway module models the neural activity processes of simple cells and complex cells in the visual cortex respectively to achieve initial recognition of the characteristic elements of the digital twin watershed; the dorsal flow pathway module judges the initial recognition error of the characteristic elements. When a recognition error occurs, the current characteristic element is repeatedly traversed and searched to reduce the recognition error, so as to improve the accuracy of the recognition of the characteristic elements of the digital twin watershed.
[0053] The method for identifying characteristic elements of a digital twin watershed based on intelligent computing includes the following steps:
[0054] A1: simulates the neural activity process of the S1 layer, models the neural activity process of simple cells in the lower layer, and realizes texture information extraction;
[0055] The S1 layer uses the Gabor wavelet convolution kernel function to filter the water conservancy monitoring data input at time t and extract texture information. The expression is as follows:
[0056]
[0057] Where: I t (x, y) is the water conservancy monitoring data input at time t, (x, y) is the spatial coordinates of the monitoring data, is the texture information output by the S1 layer at the position (x, y) at time t, and G(x, y, θ, s(λ, σ)) is the two-dimensional Gabor convolution kernel:
[0058]
[0059] Where: θ is the direction angle, here we select 4 angles: θ = 0, π / 4, π / 2, 3π / 4, λ is the wavelength of Gabor wavelet, σ is the bandwidth, X = x cosθ + y sinθ, Y = y cosθ - x sinθ, s is the scale, a total of 8 scales are selected, and the typical parameters of Gabor convolution kernel are set as follows:
[0060]
[0061] A2: Simulate the neural activity process of the C1 layer, model the neural activity process of the lower-level complex cells, and achieve information integration;
[0062] The C1 layer receives the signal from the S1 layer and performs integration and pooling, and performs maximum pooling calculation on the multi-scale information generated by the S1 layer:
[0063]
[0064] Where: is the multi-scale texture information output after the S1 layer at time t, k constrains a set of scales for the maximum pooling calculation, T is the integration area, and the typical area size is set to T∈5×5.
[0065] A3: Simulate the neural activity process of the S2 layer, model the high-level simple cell neural activity process, and achieve timing matching; the S2 layer matches the output results of the C1 layer in timing:
[0066]
[0067] Where: and They represent the output results of the C1 layer at time t and time t-1 respectively, * is the convolution calculation, Represents the output result of S2 layer at time t.
[0068] A4: Simulate the neural activity process of the C2 layer, model the high-level complex cellular neural activity process, and achieve weighted fusion; the C2 layer performs weighted fusion calculation on the output results of the S2 layer at time t:
[0069]
[0070] Where: W t is the connection weight at time t;
[0071] The recognition result of the feature element is obtained through the output of the C2 layer, which is represented as the spatial coordinates of the feature element;
[0072]
[0073] Where: (x′ t ,y′ t ) is the spatial coordinate of the feature element identified at time t.
[0074] At this point, the modeling and calculation of the ventral flow pathway of the visual cortex have been completed, and the initial recognition of the characteristic elements of the digital twin watershed has been achieved.
[0075] A5: Simulate the neural activity process of the dorsal flow pathway, determine the recognition error of the digital twin watershed feature elements, and correct the error to improve the recognition accuracy of dynamic feature elements. Taking the water surface target as an example, the recognition results of the digital twin watershed feature elements are as follows: Figure 2 shown.
[0076] Estimate the initial recognition error of the feature elements:
[0077]
[0078] Where: represents the maximum response of the dorsal flow pathway at time t μ t represents the average maximum response of the time window size of 5
[0079] like There is no feature element recognition error at time t, (x′ t ,y′ t ) is the final recognition result of the characteristic elements of the digital twin watershed, and Υ is the judgment threshold;
[0080] like When a feature element recognition error occurs at time t, the feature element at time t is repeatedly traversed and recognized:
[0081] The characteristic element coordinates (x′) at time t-1 t-1 ,y′ t-1 ) is used as the center to design the search area that is repeatedly traversed at time t (the typical search area range is 0.1 of the monitoring area size), design the search window (the typical search window size is 9×9), traverse the search window point by point in the area, and calculate the coordinates of the characteristic elements at time t-1 (x′ t-1 ,y′ t-1 ) as the center (same size as the search window) and the similarity between each search window:
[0082]
[0083] Where: M = {m1, m2, ..., m n} is the intensity histogram of the search window, O = {o1, o2, ..., o n} is the intensity histogram of the window centered on the feature element coordinate at time t-1, n is the histogram dimension (typical value n = 255), and the center coordinate of the search window with the maximum similarity (x″) t ,y″ t ) is the recognition result of the feature element at time t after error correction, and is fed back to the S2 layer to avoid error accumulation.
[0084] At this point, the identification and correction of the identification errors have been completed, and the final identification of the characteristic elements of the digital twin watershed has been achieved.
[0085] Obviously, those skilled in the art should understand that the steps of the digital twin watershed feature element identification method based on intelligent computing of the above-mentioned embodiment of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.
Claims
1. A method for identifying characteristic elements of a digital twin watershed based on intelligent computing, characterized in that: The method includes the following steps: for the digital twin watershed feature elements with dynamic characteristics, an intelligent computing model simulating the dual-flow mechanism of the human brain is proposed, and the intelligent computing model simulating the dual-flow mechanism of the human brain includes a ventral flow pathway and a dorsal flow pathway module; in the ventral flow pathway module, the neural activity process of the visual cortex is simulated to realize the initial recognition of dynamic feature elements; in the dorsal flow pathway module, the neural activity process of spatial position perception is simulated, the recognition error of the initial recognition result is automatically judged and corrected, and the recognition of the digital twin watershed feature elements is realized; The ventral flow pathway module models the neural activity processes of simple cells and complex cells in the visual cortex respectively, and realizes the initial recognition of the characteristic elements of the digital twin watershed; The dorsal flow path module determines the initial recognition error of the characteristic element, and when a recognition error occurs, it repeatedly searches the current characteristic element; Simulate and establish the ventral flow pathway module: simulate the continuous neural activity process of the ventral flow pathway from simple cells to complex cells to model and realize the initial recognition of the characteristic elements of the digital twin watershed; from the input end to the output end, from the low layer to the high layer, the ventral flow pathway contains four layers of series structure in sequence: ① S1 layer, modeling the neural activity process of simple cells in the lower layer, wherein the modeling uses Gabor wavelet convolution kernel function to filter the input water conservancy monitoring data to realize texture information extraction; ②C1 layer, models the neural activity process of low-level complex cells. The modeling receives signals from the S1 layer and integrates and pools them, performs maximum pooling calculation on the multi-scale information generated by the S1 layer, and realizes information integration; ③S2 layer, models the high-level simple cell neural activity process, and the modeling is to match the output results of the C1 layer in time sequence to achieve time sequence matching; ④C2 layer, modeling the high-level complex cellular neural activity process, the modeling is to perform weighted fusion calculation on the output results of the S2 layer at time t to achieve weighted fusion; The recognition result of the feature elements is obtained through the output of the C2 layer; Simulate the neural activity process of the dorsal flow pathway and estimate the initial recognition error of the feature elements: Where: represents the maximum response of the dorsal flow path at time t, μ t represents the average maximum response with a time window size of 5; like There is no feature element recognition error at time t, and the spatial coordinates (x t ′,y t ′) is the final recognition result of the characteristic elements of the digital twin watershed, and Υ is the judgment threshold; like When a feature element recognition error occurs at time t, the feature element at time t is repeatedly traversed and recognized: The characteristic element coordinates (x t ' -1 ,y t ' -1 ) is the center of the design of the search area t time repeated traversal, the design of the search window, point by point in the search window traversal within the area, calculate the coordinates of the feature element at time t-1 (x′ t-1 ,y′ t-1 ) as the center and the similarity between each search window; the center coordinate of the search window with the maximum similarity (x t ″,y t ″) is the recognition result of the feature element at time t after error correction, and is fed back to the S2 layer to avoid error accumulation; At this point, the identification and correction of the identification errors have been completed, and the final identification of the characteristic elements of the digital twin watershed has been achieved.
2. The method for identifying characteristic elements of a digital twin watershed based on intelligent computing according to claim 1 is characterized in that: The S1 layer uses the Gabor wavelet convolution kernel function to filter the water conservancy monitoring data input at time t to extract texture information. The expression is as follows: Where: I t (x, y) is the water conservancy monitoring data input at time t, (x, y) is the spatial coordinates of the monitoring data, is the texture information output by the S1 layer at the position (x, y) at time t, and G(x, y, θ, s(λ, σ)) is the two-dimensional Gabor convolution kernel: Where: θ is the direction angle, and four angles are selected here: θ = 0, π / 4, π / 2, 3π / 4, λ is the wavelength of the Gabor wavelet, σ is the bandwidth, X = xcosθ + ysinθ, Y = ycosθ - xsinθ, and s is the scale.
3. The method for identifying characteristic elements of a digital twin watershed based on intelligent computing according to claim 2 is characterized in that: The C1 layer receives the signal from the S1 layer and performs integration and pooling, and performs maximum pooling calculation on the multi-scale information generated by the S1 layer: Where: is the multi-scale texture information output after the S1 layer at time t, k constrains a set of scales for the maximum pooling calculation, and T is the integration area.
4. The method for identifying characteristic elements of a digital twin watershed based on intelligent computing according to claim 2 is characterized in that: S2 layer: The S2 layer matches the output results of the C1 layer in time sequence: Where: and They represent the output results of the C1 layer at time t and time t-1 respectively, * is the convolution calculation, Represents the output result of S2 layer at time t.
5. The method for identifying characteristic elements of a digital twin watershed based on intelligent computing according to claim 4 is characterized in that: C2 layer: The C2 layer performs weighted fusion calculation on the output results of the S2 layer at time t: Where: W t is the connection weight at time t; The recognition result of the feature element is obtained through the output of the C2 layer, which is represented as the spatial coordinates of the feature element; Where: (x t ′,y t ′) is the spatial coordinate of the feature element identified at time t.
6. The method for identifying characteristic elements of a digital twin watershed based on intelligent computing according to claim 4 is characterized in that: Simulate the neural activity process of the dorsal flow pathway and estimate the initial recognition error of the feature elements: Where: represents the maximum response of the dorsal flow pathway at time t μ t represents the average maximum response of the time window size of 5 like There is no feature element recognition error at time t, (x t ′,y t ′) is the final recognition result of the characteristic elements of the digital twin watershed, and Υ is the judgment threshold; like When a feature element recognition error occurs at time t, the feature element at time t is repeatedly traversed and recognized: The characteristic element coordinates (x t ' -1 ,y t ' -1 ) is the center of the design of the search area t time repeated traversal, the design of the search window, point by point in the search window traversal within the area, calculate the coordinates of the feature element at time t-1 (x t ' -1 ,y t ' -1 ) as the center and the similarity between each search window: Where: M = {m1, m2, ..., m n } is the intensity histogram of the search window, O = {o1, o2, ..., o n } is the intensity histogram of the window centered on the feature element coordinates at time t-1, n is the dimension of the histogram, and the center coordinates of the search window with the maximum similarity (x t ″,y t ″) is the recognition result of the feature element at time t after error correction, and is fed back to the S2 layer to avoid error accumulation; At this point, the identification and correction of the identification errors have been completed, and the final identification of the characteristic elements of the digital twin watershed has been achieved.
7. A computer device, characterized in that: The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for identifying characteristic elements of a digital twin watershed based on intelligent computing as described in any one of claims 1 to 6 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the digital twin watershed characteristic element identification method based on intelligent computing as described in any one of claims 1 to 6.
