A method and device for partitioning key parts of concrete dam based on knowledge graph
By establishing multiple paths for special working conditions and key parts and using knowledge-aware path recursive networks to calculate path scores and key parts weight values, the problem of low accuracy in concrete dam structure monitoring in the existing technology is solved, and a more accurate Key parts division and behavior diagnosis.
Patent Information
- Application Number
- CN202310831413.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-06
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-07-06
AI Technical Summary
The existing technology focuses on mining common features of time series data in concrete dam structure monitoring, but fails to effectively highlight the spatial location of measurement points, resulting in low accuracy.
By establishing multiple paths between special working conditions and key parts, the knowledge-aware path recursive network is used to encode these paths, calculate the path score, and calculate the weight value of each key part based on the score, and filter out those whose weight value is greater than the preset threshold. key parts.
It improves the accuracy of the classification of key parts of concrete dams, quantifies the degree of attention to structural parts, and improves the ability to diagnose the behavior of concrete dams.
Smart Images

Figure CN116861785B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of concrete dam structure monitoring, and in particular to a method, device, equipment and computer storage medium for partitioning key parts of a concrete dam based on a knowledge graph. Background Art
[0002] The layout of concrete dam structure safety monitoring instruments is based on the principle of taking into account both structural safety and engineering economy. It is based on the calculation results of the arch-beam load sharing method, and in accordance with the technical requirements of controlling key parts, paying attention to time and space relationships, and multiple types of monitoring instruments at key parts serving as backup and mutual verification. The horizontal arch ring is used as the arch-direction monitoring base surface, and the vertical dam section is used as the beam-direction monitoring section. Various types of monitoring instruments are deployed on the monitoring base surface and the monitoring section to form a concrete dam arch-beam monitoring space grid system.
[0003] By setting up measuring points in the arch beam monitoring space grid, monitoring data reflecting the operating status of the concrete dam can be collected. Under the influence of external factors, the same or multiple types of monitoring data in various parts have a certain correlation, which is mainly reflected in the similarity of the time series trend of monitoring data in the same or similar parts. The object of concrete dam operation performance analysis is the structural part where the monitoring instrument is arranged. How to mine the spatiotemporal correlation of monitoring data to dynamically determine the key parts of the concrete dam affected by special loads, and then improve the pertinence of relevant common monitoring data for key parts operation performance analysis and diagnosis, is worthy of further study.
[0004] At present, the key parts of concrete dam structures are mainly determined based on geological conditions, structural characteristics and other factors. However, due to the randomness of the impact and even damage of internal and external loads on the structural parts of concrete dams, there is still a lack of means to dynamically determine the key parts through structural monitoring data analysis. Various types of clustering models are widely used, with high computational complexity, strong assumptions on data distribution, and the clustering effect is greatly affected by the selection of clustering indicators. They mainly focus on mining the common features of time series data, without highlighting the spatial location of the measuring points, and have low accuracy. Summary of the invention
[0005] To this end, the technical problem to be solved by the present invention is to overcome the problem that the prior art focuses on mining common features of time series data, does not highlight the spatial position of the measuring points, and has low accuracy.
[0006] In order to solve the above technical problems, the present invention provides a method for zoning key parts of a concrete dam, comprising:
[0007] According to the relationship attributes between special working conditions and key parts, multiple paths from special working conditions to key parts are established;
[0008] A knowledge-aware path recursive network is used to encode multiple paths from the special working condition to the key part, a path score of each path is calculated, and the path scores between the same special working condition and the key part pair are aggregated to obtain a target score;
[0009] Calculate the weight value of each key part according to the target score corresponding to the key part;
[0010] The key parts with weight values greater than the preset threshold are selected as the target key parts.
[0011] Preferably, the special working conditions include close-range strong earthquakes, severe floods and extreme low temperatures.
[0012] Preferably, the establishing of multiple paths from special working conditions to key parts according to the relationship attributes between the special working conditions and the key parts comprises:
[0013] Take close-range strong earthquakes, major floods, extreme low temperatures, dam foundation rock, reservoir water level, material properties, concrete dam body, monitoring system, monitoring effect quantity, structural parts, monitoring parts, arch monitoring base surface, beam monitoring section, various measuring points and key parts as object nodes, and take inclusion, influence, inspection, triggering, inspection scope and layout as intermediate relationships to establish multiple paths from special working conditions to key parts.
[0014] Preferably, the encoding of the multiple paths from the special working condition to the key parts by using the knowledge-aware path recursive network comprises:
[0015] The special working conditions and key parts corresponding to any path are encoded into two embedding vectors, and the corresponding relationship type embedding vectors are introduced;
[0016] The two embedding vectors and the relationship type embedding vector are concatenated and input into the LSTM layer to obtain the final vector representation of the path.
[0017] Preferably, calculating the path score of each path includes:
[0018] The final vector representation is projected into the prediction score using two fully connected layers to obtain the path score.
[0019] Preferably, aggregating the path scores between the same special working condition and key part pair to obtain the target score includes:
[0020] Between the same special working condition and key part pair, a pooling operation is performed according to the contribution of the path to the special working condition preference, and all path scores are aggregated to obtain the target score.
[0021] Preferably, calculating the weight value of each key part according to the target score corresponding to the key part includes:
[0022] The target score of a key part itself is normalized with the sum of the target scores of all key parts to obtain the weight value of the key part.
[0023] The present invention also provides a device for partitioning key parts of a concrete dam, comprising:
[0024] A path building module is used to establish multiple paths from special working conditions to key parts according to the relationship attributes between special working conditions and key parts;
[0025] a target score calculation module, for encoding multiple paths from the special working condition to the key part using a knowledge-aware path recursive network, calculating a path score for each path, and aggregating path scores between the same special working condition and the key part pair to obtain a target score;
[0026] A weight calculation module is used to calculate the weight value of each key part according to the target score corresponding to the key part;
[0027] The key parts division module is used to select key parts whose weight values are greater than a preset threshold as target key parts.
[0028] The present invention also provides a device for partitioning key parts of a concrete dam, comprising:
[0029] Memory for storing computer programs;
[0030] A processor is used to implement the steps of the above-mentioned method for zoning key parts of a concrete dam when executing the computer program.
[0031] The present invention 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 method for zoning key parts of a concrete dam are implemented.
[0032] The above technical solution of the present invention has the following advantages compared with the prior art:
[0033] The method for partitioning key parts of concrete dams based on knowledge graphs described in the present invention selects special working conditions as input user items of the concrete dam operation safety knowledge graph, preliminarily selects the structural parts of concern for the concrete dam performance, and then drives the concrete dam operation safety knowledge graph through the special working conditions to activate the potentially affected structural parts, calculate the weight score of each structural part under the special working conditions, further quantify the degree of concern of the structural parts, and then determine the key parts of concern for the concrete dam performance, thereby improving the division accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein:
[0035] Figure 1 A flowchart of a method for partitioning key parts of a concrete dam provided by the present invention;
[0036] Figure 2 It is a schematic diagram of the overview of the path from special working conditions to key parts;
[0037] Figure 3 This is a sample graph of knowledge-aware recommendation in the field of concrete dams;
[0038] Figure 4 Schematic diagram of the local LSTM structure. DETAILED DESCRIPTION
[0039] The core of the present invention is to provide a method, device, equipment and computer storage medium for partitioning key parts of a concrete dam based on a knowledge graph, thereby improving the accuracy of the partitioning.
[0040] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0041] Please refer to Figure 1 , Figure 1 This is a flow chart of a method for partitioning key parts of a concrete dam provided by the present invention; the specific operation steps are as follows:
[0042] S101: establishing multiple paths from special working conditions to key parts according to the relationship attributes between special working conditions and key parts;
[0043] S102: using a knowledge-aware path recursive network to encode multiple paths from the special working condition to the key part, calculating the path score of each path, and aggregating the path scores between the same special working condition and the key part pair to obtain a target score;
[0044] S103: Calculate the weight value of each key part according to the target score corresponding to the key part;
[0045] S104: Filter key parts whose weight values are greater than a preset threshold as target key parts.
[0046] Based on the above embodiments, this embodiment describes step S101 in detail:
[0047] The essence of a knowledge graph is a directed graph, which can be defined as KG = {(h, r, t)|h, r∈ε, r∈R), where each triple (h, r, t), that is, from the head entity h to the tail entity t, has a relationship r. This section uses and denote the user item set and the target item set respectively, where user item u t For special conditions, the target item i t Contains all key parts, M and N refer to the number of user items and target items respectively. The triples in the graph clearly describe the direct or indirect relationship attributes between user items and target items, which constitute one or more paths between them, defined as:
[0048]
[0049] In the formula, e1=u,e L =i,(e l ,r l ,e l+1 ) is p k The lth triplet in , where l represents the number of triplets in the path.
[0050] The close-in strong earthquake, major flood, extreme low temperature, dam foundation rock, reservoir water level, material properties, concrete dam body, monitoring system, monitoring effect, structural parts, monitoring parts, key parts, arch monitoring base surface, beam monitoring section, various measuring points, etc. are taken as object nodes at both ends of the knowledge graph triple; inclusion, influence, inspection, triggering, inspection scope, layout, etc. are taken as the association relationship between the knowledge graph triple. The main relationship types of the concrete dam operation safety knowledge graph are defined as shown in Table 1:
[0051] Table 1 Main relationship types in the knowledge graph of concrete dam operation safety
[0052] Table 1 The main relationship types of high arch dam operation safetyknowledge
[0053]
[0054]
[0055] like Figure 2 As shown, Figure 2 Multiple paths from special working conditions to key parts are marked, and different paths imply different combination semantics between special working conditions and similar evaluation indicator sub-items.
[0056] Based on the above embodiments, this embodiment describes step S102 in detail:
[0057] The knowledge-aware path recurrent network (KPRN) is used to derive the knowledge graph of concrete dam operation safety and evaluate the attention level scores of key parts under special working conditions. The KPRN model combines the semantics of entities and relationships to generate path representations, and uses the sequential dependencies in the path for reasoning to enhance the interpretability of the model derivation process. The KPRN model takes each user item as input and outputs a score as the attention level score of the key parts of the target item. The model mainly consists of three parts, such as Figure 3 As shown:
[0058] (1) The knowledge embedding layer maps each entity, entity type, and relationship in the graph to a low-dimensional vector: For a given path p k First, each entity in the path is encoded into two embedding vectors, entity value, denoted as e l ∈R d , e' l ∈R d , d is the embedding vector dimension. In addition, the relationship type between entities is introduced to embed r l ∈R d , expressing different semantic information between entity relationships. In this model, different relationships determine the encoding content of different knowledge perception paths, which helps the model to deeply understand the degree of interaction between special working conditions and key parts. Therefore, the encoding layer k [e1,r1,e2,...,r L-1 ,e L ] are encoded, where each element represents an entity or relationship.
[0059] (2) The LSTM layer encodes the elements sequentially and captures the semantics of entity combinations based on relationships: LSTM can process long sequences of data information, especially long-distance text data, and can capture the semantic information between contexts. Its model structure is as follows: Figure 4 As shown;
[0060] The repetitive module in LSTM contains three gated neural networks, the forget gate, the input gate, and the output gate. In addition, LSTM also contains a channel information, which only contains a small number of linear operations to ensure that the information remains unchanged during transmission. Among them, the forget gate determines the information discarded in the current state, and reads the input information x of this step. t And the output h of the previous step t-1 , output a value from 0 to 1 to determine the information ratio to be discarded, 1 means "completely retained" and 0 means "completely discarded". Calculated by formula (1):
[0061] ft =σ(W f [h t-1 ,x t ]+b f ) (1)
[0062] Where σ represents the sigmoid function.
[0063] The input gate determines the ratio of new information added to the current state, which is calculated by equations (2) and (3):
[0064] i t =σ(W i [h t-1 ,x t ]+b i ) (2)
[0065]
[0066] The output gate determines the output value h based on the current state t , calculated by equations (4 and (5):
[0067] o t =σ(W o [h t-1 ,x t ]+b o ) (4)
[0068] h t =o t *tanh(C t ) (5)
[0069] The LSTM layer can memorize long-term dependencies in a sequence, which is crucial for reasoning about the path connecting the user item and the target item entities to calculate the weight value. In the KPRN model, step l-1, LSTM concatenates the entity type, entity value, and relationship embedding vector of the knowledge embedding layer as the input vector and outputs a hidden layer vector h l-1 , replacing all previous input information [e1,r1,e2,...,e l-1 ,r l-1 ], calculated by formula (6):
[0070]
[0071] In the formula, Represents a vector concatenation operation. For the last entity e L , add an empty relation r to it L The LSTM layer obtains the vector h L, represents all the information on the entire path. Finally, in order to calculate the interaction score between special working conditions and key parts, two fully connected layers are used to project the final state into the predicted score, which is calculated by formula (7):
[0072]
[0073] Where W1 T , They are the trainable matrices for the first and second layers respectively.
[0074] (3) The pooling layer merges multiple paths and outputs the final score of the interaction between a given user item and a target item: The same user item and target item pair may contain multiple paths, and different paths represent different meanings. Pooling operations are performed based on the contribution of the paths to the model user item preference, and all path scores are aggregated and calculated using formula (8):
[0075]
[0076] Where γ is a hyperparameter that controls each exponent.
[0077] The final predicted user-item-target-item score is calculated using formula (9):
[0078]
[0079] Where σ represents the sigmoid activation function.
[0080] Based on the above embodiments, this embodiment describes step S103 in detail:
[0081] The user item u is a special working condition, i∈I is the key part of the concrete dam, and I is all the key parts. The attention level of all key parts is scored through the concrete dam operation safety knowledge graph, and the attention level scores of all key parts are obtained, which are used as the source of weight calculation. For each key part, the sum of its own score and all key parts is normalized as the weight value of the key part of the online evaluation of the concrete dam performance, which is calculated by formula (10):
[0082]
[0083] In the formula, w ui is the part weight value, and I' is the key part set to which i belongs.
[0084] The embodiment of the present invention also provides a device for partitioning key parts of a concrete dam; the specific device may include:
[0085] A path building module is used to establish multiple paths from special working conditions to key parts according to the relationship attributes between special working conditions and key parts;
[0086] a target score calculation module, for encoding multiple paths from the special working condition to the key part using a knowledge-aware path recursive network, calculating a path score for each path, and aggregating path scores between the same special working condition and the key part pair to obtain a target score;
[0087] A weight calculation module is used to calculate the weight value of each key part according to the target score corresponding to the key part;
[0088] The key parts division module is used to select key parts whose weight values are greater than a preset threshold as target key parts.
[0089] The device for zoning key parts of a concrete dam in this embodiment is used to implement the aforementioned method for zoning key parts of a concrete dam. Therefore, the specific implementation methods of the device for zoning key parts of a concrete dam can be seen in the embodiment part of the method for zoning key parts of a concrete dam in the aforementioned text. For example, the path construction module, the target score calculation module, the weight calculation module, and the weight calculation module are respectively used to implement steps S101, S102, S103, and S104 in the aforementioned method for zoning key parts of a concrete dam. Therefore, its specific implementation methods can refer to the descriptions of the corresponding embodiments of each part, which will not be repeated here.
[0090] A specific embodiment of the present invention further provides a device for zoning key parts of a concrete dam, comprising: a memory for storing a computer program; and a processor for implementing the steps of the above-mentioned method for zoning key parts of a concrete dam when executing the computer program.
[0091] A specific embodiment of the present invention further 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 method for zoning key parts of a concrete dam are implemented.
[0092] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0093] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0096] Obviously, the above embodiments are merely examples for the purpose of clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A method for zoning key parts of a concrete dam. It is characterized in that Applied to special working conditions, the special working conditions include close-range strong earthquakes, severe floods and extreme low temperatures, the method includes: Take close-in strong earthquakes, major floods, extreme low temperatures, dam foundation rock, reservoir water level, material properties, concrete dam body, monitoring system, monitoring effect, structural parts, monitoring parts, arch monitoring base surface, beam monitoring section, various measuring points and key parts as object nodes, and take inclusion, impact, inspection, triggering, inspection scope and layout as intermediate associations to establish multiple paths from special working conditions to key parts; The special working conditions and key parts corresponding to any path are encoded into two embedding vectors by using a knowledge-aware path recursive network, and the corresponding relationship type embedding vector is introduced. The two embedding vectors and the relationship type embedding vector are spliced and input into the LSTM layer to obtain the final vector representation of any path, and the path score of each path is calculated, and the path scores between the same special working condition and key part pair are aggregated to obtain the target score, wherein the repetitive module in the LSTM includes three gated neural networks, a forget gate, an input gate, an output gate and a channel information; The weight value of each key part is calculated according to the target score corresponding to the key part. The formula for determining the weight value of each key part is: Among them, w ui is the weight value of each key part, I' is the key part set to which i belongs, is the target score; The key parts with weight values greater than the preset threshold are selected as the target key parts.
2. The method for zoning key parts of a concrete dam according to claim 1, It is characterized in that The calculation of the path score of each path includes: The final vector representation is projected into the prediction score using two fully connected layers to obtain the path score.
3. The method for zoning key parts of a concrete dam according to claim 1, It is characterized in that The target score obtained by aggregating the path scores between the same special working condition and the key part pair includes: Between the same special working condition and key part pair, a pooling operation is performed according to the contribution of the path to the special working condition preference, and all path scores are aggregated to obtain the target score.
4. The method for zoning key parts of a concrete dam according to claim 1, It is characterized in that Calculating the weight value of each key part according to the target score corresponding to the key part includes: The target score of a key part itself is normalized with the sum of the target scores of all key parts to obtain the weight value of the key part.
5. A device for partitioning key parts of a concrete dam. It is characterized in that Applicable to special working conditions, including close-range strong earthquakes, severe floods and extreme low temperatures, the device includes: The path construction module is used to take close-range strong earthquakes, major floods, extreme low temperatures, dam foundation rock mass, reservoir water level, material properties, concrete dam body, monitoring system, monitoring effect quantity, structural parts, monitoring parts, arch-oriented monitoring base surface, beam-oriented monitoring section, various measuring points and key parts as object nodes, and use inclusion, impact, inspection, triggering, inspection scope and layout as intermediate associations to establish multiple paths from special working conditions to key parts; A target score calculation module is used to encode the special working conditions and key parts corresponding to any path into two embedding vectors using a knowledge-aware path recursive network, and introduce a corresponding relationship type embedding vector, and concatenate the two embedding vectors and the relationship type embedding vector and input them into the LSTM layer to obtain the final vector representation of any path, calculate the path score of each path, and aggregate the path scores between the same special working condition and key part pair to obtain the target score, wherein the repetitive module in the LSTM includes three gated neural networks, a forget gate, an input gate, an output gate, and a channel information; The weight calculation module is used to calculate the weight value of each key part according to the target score corresponding to the key part. The formula for determining the weight value of each key part is: Among them, w ui is the weight value of each key part, I' is the key part set to which i belongs, is the target score; The key parts division module is used to select key parts whose weight values are greater than a preset threshold as target key parts.
6. A device for partitioning key parts of a concrete dam. It is characterized in that include: Memory for storing computer programs; A processor is used to implement the steps of a method for zoning key parts of a concrete dam as described in any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a method for zoning key parts of a concrete dam as claimed in any one of claims 1 to 4 are implemented.
