A project quality audit method, system and storage medium
Through the construction of anomaly assessment models and graph networks, engineering quality audits are automated, which solves the problem of low efficiency of manual inspections, improves the accuracy and reliability of audits, and is suitable for the complex environment of petroleum engineering projects.
Patent Information
- Application Number
- CN202411025203.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-30
AI Technical Summary
Project quality audit mainly relies on manual inspection and empirical judgment, resulting in low efficiency and strong subjectivity, making it difficult to meet the complexity and specific requirements of petroleum engineering projects.
The anomaly assessment model is used to correct the initial engineering information and classify the feasibility. Through graph network construction and similarity calculation, quality audit results are automatically generated to improve the accuracy and reliability of the information.
It improves the accuracy and efficiency of engineering quality audits, reduces manual errors, and can more intuitively display the correlation and structure between engineering information, quantify similarities, thereby obtaining quality audit results, helping to identify problems and room for improvement, and improve engineering information quality and reliability.
Smart Images

Figure CN118569738B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an engineering quality audit method, system and storage medium. Background Art
[0002] Project quality audit refers to the review, evaluation and inspection of the processes and results of the project at various stages, including informatization, design, project establishment and implementation, to ensure that the project complies with relevant laws and regulations, standards, design requirements and technical specifications, so as to ensure that the project quality reaches the expected level.
[0003] In some specific occasions, such as in oil field engineering construction, the importance of engineering quality audit is not only reflected in equipment safety and durability, but also includes equipment installation, pipeline construction, and special requirements of site conditions. Due to the particularity of oil engineering projects, such as extreme environments, special materials and complex equipment systems, traditional manual inspection and experience judgment methods often have deficiencies in efficiency and accuracy.
[0004] Therefore, there is an urgent need for a method that can assist humans in conducting efficient and automated engineering quality audits. Summary of the invention
[0005] The main purpose of the embodiments of the present invention is to provide a project quality audit method, system and storage medium, aiming to solve the problems that the project quality audit in the related technology mainly relies on manual inspection and experience judgment, and has low efficiency and strong subjectivity.
[0006] In a first aspect, an embodiment of the present invention provides a method for project quality audit, comprising:
[0007] Acquire initial project information, and modify the initial project information according to the abnormality assessment model to obtain target project information;
[0008] Performing feasibility classification on the target project information to obtain a classification type corresponding to the target project information;
[0009] When the classification type is a preset type, initial drawing information corresponding to the target engineering information is determined, and first drawing network information corresponding to the initial drawing information is obtained;
[0010] Performing graph construction on the target project information to obtain corresponding second graph network information;
[0011] Calculating the similarity between the first graph network information and the second graph network information to obtain a matching degree between the initial drawing information and the target project information;
[0012] A quality review result corresponding to the initial drawing information is obtained according to the matching degree.
[0013] In a second aspect, an embodiment of the present invention provides a project quality audit system, including:
[0014] An information correction module is used to obtain initial project information and correct the initial project information according to the abnormality assessment model to obtain target project information;
[0015] A data classification module is used to perform feasibility classification on the target project information and obtain the classification type corresponding to the target project information;
[0016] A first drawing generation module, used for determining the initial drawing information corresponding to the target engineering information and obtaining the first drawing network information corresponding to the initial drawing information when the classification type is a preset type;
[0017] A second graph generation module, used for performing graph construction on the target project information to obtain corresponding second graph network information;
[0018] A matching calculation module, used to calculate the similarity between the first graph network information and the second graph network information, and obtain the matching degree between the initial drawing information and the target project information;
[0019] A result determination module is used to obtain the quality review result corresponding to the initial drawing information according to the matching degree.
[0020] In a third aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any engineering quality audit method provided in the specification of the present invention.
[0021] The embodiment of the present invention provides a project quality audit method, system and storage medium, which includes: the method corrects the initial project information through an abnormal assessment model, which can improve the accuracy and completeness of the project information, reduce potential errors and problems, and then perform feasibility classification on the target project information to obtain a classification type. When the classification type is a preset type, the initial drawing information is determined and the first graph network information corresponding to the initial drawing information is obtained, and then the second graph network information is obtained by graph construction of the target project information, which can more intuitively display the association and structure between the project information. At the same time, the similarity between the first graph network information and the second graph network information can be calculated to quantify the similarity between different graphs, thereby determining the matching degree between the initial drawing information and the target project information. Finally, the quality audit result corresponding to the initial drawing information is obtained according to the matching degree, which can help discover possible problems and improvement space, and improve the quality and reliability of the project information. It also solves the problems that the project quality audit in the related technology mainly relies on manual inspection and experience judgment, and has low efficiency and strong subjectivity. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 A schematic diagram of a process flow of a project quality audit method provided by an embodiment of the present invention;
[0024] Figure 2 A schematic diagram of the module structure of a project quality audit system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0027] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0028] The embodiment of the present invention provides a project quality audit method, system and storage medium. The project quality audit method can be applied to a terminal device, which can be an electronic device such as a tablet computer, a laptop computer, a desktop computer, a personal digital assistant and a wearable device. The terminal device can be a server or a server cluster.
[0029] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0030] Please refer to Figure 1 , Figure 1 A flowchart of a method for project quality audit provided by an embodiment of the present invention.
[0031] like Figure 1 As shown, the project quality audit method includes steps S101 to S106.
[0032] Step S101: Acquire initial project information, and modify the initial project information according to an abnormality assessment model to obtain target project information.
[0033] Exemplarily, the method is applied to a terminal device, and after an engineer or designer writes relevant engineering documents according to engineering requirements to form initial engineering information, the initial engineering information is transmitted to the terminal device, so that the terminal device obtains the initial engineering information.
[0034] Exemplarily, the anomaly assessment model can be used to detect abnormal data or abnormal files in the initial project information. The anomaly assessment model can be a machine learning algorithm or other neural network technology to identify abnormal data or erroneous data. Thus, the designed anomaly assessment model is applied to the initial project information to identify abnormal data or erroneous information therein.
[0035] Exemplarily, after obtaining abnormal data or error information, engineers or designers perform data correction based on the abnormal data or error information to obtain corrected target engineering information, thereby making the corrected target engineering information more accurate and reliable.
[0036] For example, the anomaly assessment model includes a text segmentation layer, a text representation layer, and an anomaly recognition layer, wherein the text representation layer may be a context encoder, and the anomaly recognition layer may be an autoencoder, which detects abnormal texts that are different from normal text distributions by learning data representation, and then obtains abnormal data samples and normal data samples based on historical experience, and then trains the model based on the abnormal data samples and the normal data samples to obtain an anomaly assessment model, and then performs text segmentation on the initial engineering information according to the text segmentation layer of the anomaly assessment model to obtain multiple segmented engineering information, and then performs sentence representation on each segmented engineering information according to the text representation layer of the anomaly assessment model to obtain a text representation vector corresponding to the segmented engineering information, and finally performs anomaly recognition on the text representation vector according to the anomaly recognition layer of the anomaly assessment model to obtain abnormal data corresponding to the segmented engineering information, and finally, the engineer or designer performs text inspection and data correction based on the abnormal data to obtain the corrected target engineering information.
[0037] In addition, the present application can also evaluate the accuracy of the constructed anomaly assessment model in actual use, and then when the accuracy decreases, adjust the model's hyperparameters or model structure according to the new data characteristics and anomaly definitions. This may include adding or reducing hidden layers, adjusting the learning rate, changing the regularization strategy, etc., so as to obtain a revised anomaly assessment model that can adapt to the processing of initial engineering information.
[0038] In some embodiments, the modifying the initial engineering information according to the anomaly assessment model to obtain target engineering information includes: obtaining historical engineering cases and determining the anomaly assessment model according to the historical engineering cases; identifying anomalies in the initial engineering information according to the anomaly assessment model to obtain engineering anomaly information; and modifying the initial engineering information according to the engineering anomaly information to obtain the target engineering information.
[0039] For example, a series of historical engineering cases are collected, which should contain detailed engineering information and related abnormal situations. Such historical cases can come from project databases, document records, or other reference materials. Thus, by analyzing historical engineering cases, an abnormal assessment model suitable for the current engineering situation can be determined. This may involve methods such as statistical analysis, machine learning algorithms, and expert rules. Selecting an appropriate model can better identify abnormal situations in engineering information.
[0040] Exemplarily, the determined anomaly assessment model is applied to the initial engineering information to identify and extract engineering anomaly information, which may include abnormal values, missing data, logical inconsistencies, etc.
[0041] Exemplarily, the initial engineering information is modified according to the engineering abnormality information, which may require data cleaning, error correction, supplementation and other operations to obtain the modified target engineering information.
[0042] Specifically, an anomaly assessment model is determined based on historical engineering cases to identify and correct engineering anomalies in the initial engineering information, thereby obtaining more accurate and reliable target engineering information. This can help improve the quality and reliability of target engineering information, and thus support subsequent engineering decision-making and planning processes.
[0043] In some embodiments, determining the anomaly assessment model based on the historical engineering cases includes: determining an initial rule base, wherein the initial rule base includes multiple engineering rules; determining activation weights corresponding to the engineering rules in the initial rule base based on the historical engineering cases; fusing the engineering rules based on the activation weights and the historical engineering cases to obtain rule confidences corresponding to the engineering rules; and determining the anomaly assessment model based on the activation weights and the rule confidences corresponding to the engineering rules.
[0044] Exemplarily, an initial rule base is established, wherein the initial rule base includes a plurality of engineering rules. These rules may be engineering rules derived based on expert knowledge, historical data or other information. Thus, by analyzing historical engineering cases, the activation weights corresponding to the various engineering rules in the initial rule base are determined. These activation weights may reflect the importance or priority of the rules in abnormal situations.
[0045] For example, the activation weight can express the importance of the engineering rule in anomaly assessment, and the historical engineering cases can be used to evaluate the performance of the engineering rules. The matching degree corresponding to each engineering rule in the historical engineering cases is determined, and then the engineering rules are fused according to the activation weight and matching degree to obtain the rule confidence corresponding to the engineering rules. The rule confidence can measure the reliability and accuracy of the engineering rules in anomaly assessment.
[0046] Exemplarily, finally, a comprehensive anomaly assessment model is determined based on the activation weights and rule confidences corresponding to the engineering rules, thereby helping to identify and correct anomalies in the engineering information based on the anomaly assessment model, and providing guidance for subsequent quality control and improvement.
[0047] Specifically, engineering rules and historical engineering cases are used to build a more complete and reliable anomaly assessment model to improve the quality of engineering information, reduce the risk of errors, and improve the reliability of engineering projects.
[0048] Step S102: Feasibility classification is performed on the target project information to obtain the classification type corresponding to the target project information.
[0049] Exemplarily, the feasibility classification model is used to classify the target project information to obtain the classification type corresponding to the target project information. The classification type can be any one of feasible and not feasible, and the classification type can also be any one of feasible, further evaluation is required, or not feasible, wherein the feasibility classification model can be a decision tree, logistic regression, support vector machine, neural network, and other model types.
[0050] For example, if the feasibility classification model is a support vector machine, the historical project information and the classification type of the feasibility corresponding to the historical project information are obtained, and the classification type is either feasible or not feasible. Then, the training data set is determined according to the historical project information and the classification type of the feasibility corresponding to the historical project information, and then the historical project information is converted into a computable vector form. Common methods include bag-of-words model (Bag-of-Words), TF-IDF (TermFrequency-Inverse Document Frequency), etc., and then the SVM is selected. When dealing with nonlinear classification problems, kernel functions are usually used. Common kernel functions include linear kernels, polynomial kernels, Gaussian radial basis function (RBF) kernels, etc. Finally, the training data set is used to train the SVM model. The training process is mainly to adjust the parameters of the model to find the optimal hyperplane (or the optimal decision boundary in the case of nonlinearity) to maximize the classification boundary and minimize the classification error, so as to obtain a feasibility classification model.
[0051] For example, a trained feasibility classification model is loaded into the working environment. It can be a model previously trained through a training set or an existing pre-trained model. The data of the target project information is preprocessed in the same way as the training data, including data cleaning, feature selection, data standardization, etc., to ensure the quality and consistency of the input data, and then the preprocessed target project information is input into the loaded classification model for prediction. The classification model will give the corresponding classification type based on the characteristics of the input data and the rules of model learning. The classification type is either feasible or not feasible.
[0052] Step S103: When the classification type is a preset type, initial drawing information corresponding to the target engineering information is determined, and first drawing network information corresponding to the initial drawing information is obtained.
[0053] Exemplarily, the classification type is either feasible or not feasible. If the preset type is set to feasible, when the classification type obtained after feasibility classification of the target engineering information using the feasibility classification model is feasible, that is, when the classification type is equal to the preset type, the engineer or designer draws drawings according to the target engineering information to obtain initial drawing information, and then transmits the initial drawing information to the terminal device, so that the terminal device obtains the initial drawing information corresponding to the target engineering information.
[0054] Exemplarily, when the classification type is not a preset type, the target project information needs to be further modified until the classification type corresponding to the modified target project information is the preset type.
[0055] Exemplarily, the initial drawing information includes drawing files, drawing attribute data, etc. Ensure that the data contains sufficient information to construct the first graph network information. Use computer vision, image processing or professional tools to parse and process the initial drawing information, extract key information such as drawing elements, connection relationships, attributes, etc., and then convert the initial drawing information into a processable data format.
[0056] For example, first, the input drawing image is preprocessed to ensure image quality and analyzability. Preprocessing steps may include denoising, contrast enhancement, image smoothing, etc., which help improve the accuracy of subsequent information extraction. Then, the elements in the drawing (such as lines, text, symbols, etc.) are separated from the background through semantic segmentation models (such as Mask R-CNN, U-Net, etc.) and image processing algorithms (such as edge detection, thresholding, etc.). Then, for the connection relationship between the elements in the drawing, geometric calculations or line detection algorithms can be used to identify and describe these relationships. For example, Hough transform can be used to detect straight lines, while contour analysis helps to understand the hierarchy and connection relationship between different objects. Finally, after detecting each element in the drawing, the attribute information of each element, such as size, angle, position, etc., is calculated by measuring pixels or physical dimensions. In this way, the extracted drawing elements, connection relationships, attributes, etc. are integrated into a unified and processable data format using JSON format.
[0057] Exemplarily, based on the parsed initial drawing information, the first graph network information is constructed. The first graph network information refers to representing the elements in the drawing and the connection relationship between them as a network structure, which can be represented by nodes and edges in graph theory. Nodes represent drawing elements, and edges represent the connection relationship between elements.
[0058] In some embodiments, obtaining the first graph network information corresponding to the initial drawing information includes: identifying components of the initial drawing information to obtain component entities; identifying relationships between the component entities in the initial drawing information to obtain component relationships; and obtaining the first graph network information corresponding to the initial drawing information based on the component entities and the component relationships.
[0059] Exemplarily, computer vision or deep learning technology is used to perform component recognition on the initial drawing information, and each component entity in the drawing, such as a wall, a bridge, a gully, etc., is recognized by training a model or using an existing model.
[0060] Exemplarily, after identifying each component entity, it is necessary to identify the relationship between them. By analyzing the spatial position, connection mode and other information between components, the relationship between components, such as adjacent, connected, and overlapping, is identified. Thus, the first graph network information is constructed based on the component entities and component relationships. Among them, the first graph network information uses the component entities in the initial drawing information as nodes in the network, and the component relationships between component entities as edges in the network, and establishes the connection relationship between components.
[0061] Specifically, through component identification and relationship identification, the graphic elements in the initial drawing information can be converted into component entities and component relationships that can be understood by computers, which helps to deepen the understanding and interpretation of the initial drawing information, and then build the first graph network information based on the component entities and component relationships to integrate the initial drawing information, which helps to clearly show the connection and layout between the various components in the initial drawing information, facilitating further analysis and application.
[0062] Step S104: construct a graph for the target project information to obtain corresponding second graph network information.
[0063] Exemplarily, the target project information includes project design files, structural data, attribute information, etc. Ensure that the data contains sufficient information to construct the second graph network information. Thus, each component, element or entity in the project design is represented as a node in the graph theory according to the target project information, and the second graph network information is constructed according to the association relationship between them. The node represents the entity in the project, and the edge represents the connection relationship between the entities.
[0064] For example, a named entity recognition model is used to identify key entities in engineering design documents, such as engineering parts, operating steps, material types, etc. The results of these entity recognitions will serve as the basis for subsequent relationship extraction. Then, syntactic analysis tools are applied to understand the structure and components of sentences in engineering design documents, such as subject-verb-object structures or other syntactic relationships. This helps to understand the entity relationships between entities in the sentence, and then obtain the key entities in the engineering design document and the entity relationships between key entities. Then, the data is merged with the structured data in the target engineering information to obtain the final structured data, and then the second graph network information is constructed based on the obtained structured data.
[0065] In some embodiments, the graph construction of the target engineering information to obtain the corresponding second graph network information includes: extracting information from the target engineering information to obtain initial structured data corresponding to the target engineering information; performing text classification on the target engineering information to obtain relevant text information in the target engineering information that is related to the initial structured data; performing keyword recognition on the relevant text information to obtain target keywords corresponding to the relevant text information; using the relevant text information and the target keywords as nodes respectively, and using the association between the relevant text information and the target keywords as the relationship between the nodes to establish a text proof network; wherein the relevant The association relationship between the text information and the target keyword is that the relevant text information points to the target keyword contained in the relevant text information and the target keyword is bidirectionally connected in the same relevant text information, and the same target keyword in different relevant text information is bidirectionally connected; the word proof network is convolutionally processed to obtain a network representation vector corresponding to the word proof network; the credibility corresponding to the initial structured data is determined according to the network representation vector, and the initial structured data is screened according to the credibility to obtain target structured data; the second graph network information corresponding to the target engineering information is obtained according to the target structured data.
[0066] For example, natural language processing technology is used to extract information from the target project information and extract structured data therein, which may involve tasks such as text parsing, entity recognition, and relationship extraction to obtain initial structured data corresponding to the target project information.
[0067] Exemplarily, a machine learning algorithm or a deep learning model is used to classify the target engineering information, and relevant text information related to the initial structured data is screened out. Then, the classified relevant text information is subjected to keyword recognition through text mining techniques, such as TF-IDF, word vector model, etc., to extract the target keywords.
[0068] Exemplarily, a word proof network is constructed based on the relevant text information and the target keyword. The relevant text information and the target keyword are used as nodes, and the relationship between the nodes includes the relevant text information pointing to the target keyword contained in the relevant text information and the target keyword is bidirectionally connected in the same relevant text information, and the same target keyword in different relevant text information is bidirectionally connected.
[0069] For example, the relevant text information includes text 1 and text 2, text 1 contains target keyword 1 and target keyword 2, and text 2 contains target keyword 1 and target keyword 3, then text 1, text 2, target keyword 1, target keyword 2, and target keyword 3 are all used as nodes, text 1 is connected to target keyword 1 and target keyword 2 respectively, text 2 is connected to target keyword 1 and target keyword 3 respectively, target keyword 1 and target keyword 2 are bidirectionally connected, and target keyword 1 and target keyword 3 are bidirectionally connected, wherein target keyword 1 exists in text 1 and text 2 respectively, there are two target keywords 1 in the first graph network information, and the two target keywords 1 are bidirectionally connected.
[0070] Exemplarily, the word proof network aggregates the semantic structure information of different node objects based on the co-occurrence relationship between multiple related text information and target keywords, while reducing the interference of noise information, thereby effectively improving the ability to distinguish false information in subsequent initial structured data.
[0071] Exemplarily, the word proof network is convoluted to convert the network structure information into a network representation vector. The convolution process can help extract the structural features of the network and effectively encode the relationship between the relevant text information and the target keyword, thereby determining the credibility of the initial structured data according to the network representation vector, and then screening the initial structured data according to the credibility to obtain the target structured data.
[0072] Exemplarily, the second graph network information is constructed based on the target structured data, similar to the steps mentioned above, the entities in the data are represented as nodes, and the relationships are represented as edges, to construct the second graph network information of the target engineering information.
[0073] Specifically, through text classification and keyword recognition, relevant text information and target keywords related to the initial structured data in the target engineering information can be accurately extracted, and then the construction of a word proof network helps to formalize the logical relationship between the relevant text information and the target keywords, so that the network representation vector is obtained through convolution processing, and then the credibility of the initial structured data is evaluated, which helps to identify and screen out high-quality and credible target structured data, and improve the accuracy and reliability of the data. This provides an intuitive reference and analysis basis for engineering design and management.
[0074] Step S105: Calculate the similarity between the first graph network information and the second graph network information to obtain a matching degree between the initial drawing information and the target project information.
[0075] Exemplarily, feature extraction is performed on the first graph network information and the second graph network information, and the information of nodes and edges is represented as feature vectors or representation matrices. These features may include information such as node attributes, connection relationships, network structures, etc. Thus, using a suitable similarity calculation method (such as cosine similarity, Jaccard similarity, Pearson correlation coefficient, etc.), the feature vectors or representation matrices in the first graph network information and the second graph network information are compared to calculate the similarity between them.
[0076] Exemplarily, the matching degree between the initial drawing information and the target engineering information is evaluated according to the calculated similarity. The matching degree can be regarded as a derivative indicator of the similarity, which is used to quantify the matching degree or similarity between the two.
[0077] In some embodiments, the calculating the similarity between the first graph network information and the second graph network information to obtain the matching degree between the initial drawing information and the target engineering information includes: performing block processing on the first graph network information to obtain first block information, and performing block processing on the second graph network information to obtain second block information; determining a first central node corresponding to the first block information and a second central node corresponding to the second block information; calculating the similarity between any first node in the first block information and the first central node to obtain a first similarity, and merging the similarity between any second node in the second block information and the second central node to obtain a second similarity; calculating the similarity between the first block information and the second block information to obtain a third similarity; determining a target similarity between the first block information and the second block information based on the first similarity, the second similarity and the third similarity; and fusing the target similarity to obtain the matching degree between the initial drawing information and the target engineering information.
[0078] Exemplarily, the first graph network information is processed in blocks, divided into multiple subgraphs or node clusters, and first block information is generated. Similarly, the second graph network information is processed in a similar manner to obtain second block information. By processing the graph network information in blocks, the original complex network structure can be decomposed into smaller and more manageable units, which helps to reduce computational complexity and improve computational efficiency.
[0079] Exemplarily, a key node or a representative node in the first block information is selected to determine a first central node in the first block information, and similarly, a key or representative node in the second block information is selected to determine a second central node in the second block information.
[0080] Exemplarily, a first vector is obtained by performing vector representation on the nodes in each block diagram in the first block information, and then a first similarity is obtained by performing similarity calculation on the first vector and a second vector corresponding to the first central node. A third vector is obtained by performing vector representation on the nodes in each block diagram in the second block information, and then a second similarity is obtained by performing similarity calculation on the second vector and a fourth vector corresponding to the second central node.
[0081] For example, determining the central node corresponding to the block graph helps extract the key features of each block. These central nodes can represent the entire block and help with subsequent calculations and analysis. By calculating the similarity between the nodes in the block graph and the central node, the similarity between the nodes can be quantified, helping to identify potential connections and similarities between the nodes.
[0082] Exemplarily, the first block information is represented by a matrix to obtain a first matrix, and the second block information is represented by a matrix to obtain a second matrix, so that similarity calculation is performed based on the first matrix and the second matrix to obtain a third similarity.
[0083] Exemplarily, the first similarity, the second similarity and the third similarity are fused in a weighted average manner to determine the target similarity between any first sub-block in the first block information and any second sub-block in the second block information.
[0084] Exemplarily, the target similarity between any block diagram in all the first block information and any block diagram in the second block information is obtained, and then multiple target similarities are obtained, and then the target similarities are summed to obtain a sum result, and then the sum result is determined as the matching degree between the initial drawing information and the target engineering information.
[0085] Specifically, calculating the similarity between different block graphs helps measure the overall structural similarity of the entire network and can provide a more comprehensive information matching and alignment analysis. Determining the target similarity between blocks based on the results of various similarity calculations can more accurately evaluate the matching degree between drawing information and engineering information, and improve the accuracy and reliability of the matching results. Fusion target similarity can comprehensively consider multiple similarity indicators to obtain the final matching evaluation result, helping users better understand the matching relationship between the initial drawing information and the target engineering information, and provide a basis for subsequent decision-making.
[0086] In some embodiments, the calculating of the similarity between any first node in the first block information and the first central node to obtain the first similarity, and the merging of the similarity between any second node in the second block information and the second central node to obtain the second similarity, include: calculating the first inter-node similarity between the first node and any node in the first block information; summing and averaging the first inter-node similarities to determine the first similarity; calculating the second inter-node similarity between the second node and any node in the second block information; summing and averaging the second inter-node similarities to determine the second similarity; wherein the first similarity and the second similarity are obtained according to the following formula:
[0087] ;
[0088] ;
[0089] Indicates the first node and the first central node The first similarity between them, n1 represents the number of nodes in the first block information, Indicates the first node and the i-th node in the first block information The similarity between the first nodes; Indicates the second node and the second central node The second similarity between them, n2 represents the number of nodes in the second block information, Indicates the second node and the jth node in the second block information The second inter-node similarity between them.
[0090] Exemplarily, for the first node and any node in the first block information, the similarity between them is calculated to obtain a set of inter-node similarities. The set of inter-node similarities are summed and averaged to obtain a first similarity. The first similarity is obtained according to the following formula:
[0091] ;
[0092] Represents the first node and the first central node The first similarity between them, n1 represents the number of nodes in the first block information, Represents the first node and the i-th node in the first block information The first inter-node similarity between .
[0093] Exemplarily, according to the above formula, an approximate method is used to calculate the similarity between the first node and the first central node, that is, the average similarity between the first node and all nodes in each block in the first block information is used to estimate it, and then the first similarity between any node in the block graph and the first central node can be quickly obtained.
[0094] Exemplarily, for the second node and any node in the second block information, the similarity between them is calculated to obtain a set of inter-node similarities. The similarities between the set of nodes are summed and averaged to obtain a second similarity. The second similarity is obtained according to the following formula:
[0095] ;
[0096] Represents the second node and the second central node The second similarity between them, n2 represents the number of nodes in the second block information, Represents the second node and the jth node in the second block information The second inter-node similarity between .
[0097] Exemplarily, according to the above formula, an approximate method is used to calculate the similarity between the second node and the second central node, that is, the average similarity of the second node and all nodes in each block in the second block information is used to estimate it, and then the second similarity between any node in the block graph in the second block information and the second central node can be quickly obtained.
[0098] Specifically, by calculating the sum of the similarities between the first node and all the nodes in the first block information and taking the average value to measure the similarity between the first node and the first central node in the block, the calculation efficiency of the first similarity can be improved. By calculating the sum of the similarities between the second node and all the nodes in the second block information and taking the average value to measure the similarity between the second node and the second central node in the block, the calculation efficiency of the second similarity can be improved, thereby providing good support for the subsequent evaluation of the matching degree between the initial drawing information and the target engineering information.
[0099] Step S106: Obtain a quality review result corresponding to the initial drawing information according to the matching degree.
[0100] Exemplarily, a threshold value of the matching degree is determined, and the threshold value can be set according to specific circumstances. Generally speaking, a matching degree above the threshold value can be considered as a successful match, and a matching degree below the threshold value can be considered as a failed match.
[0101] Exemplarily, the matching degree calculated previously is used to evaluate the matching of the initial drawing information. The matching degree is compared with a set threshold to determine whether the matching is successful or failed. Thus, according to the comparison result of the matching degree and the threshold, a corresponding quality audit result can be generated.
[0102] For example, if the matching degree is higher than a threshold, the corresponding initial drawing information may be marked as "matching success" or "qualified quality"; if the matching degree is lower than a threshold, the corresponding initial drawing information may be marked as "matching failure" or "unqualified quality".
[0103] In some embodiments, after obtaining the quality review result corresponding to the initial drawing information according to the matching degree, the method further includes: determining the location information of the initial drawing information that needs to be modified according to the quality review result; modifying the initial drawing information according to the location information to obtain the target drawing information corresponding to the target engineering information.
[0104] Exemplarily, the part that needs to be modified in the initial drawing information is obtained according to the quality review result, so as to determine the position information that needs to be modified in the initial drawing information. The part that needs to be modified includes but is not limited to correcting errors, adjusting designs or other modification operations.
[0105] For example, the initial drawing information is modified accordingly based on the determined position information. This may include modifying text, adjusting size, changing design elements, etc., so that the initial drawing information meets the requirements of the target project. After the modification is completed, the updated target drawing information is obtained to ensure that it meets the quality requirements and design specifications.
[0106] Specifically, the initial drawing information is located and modified according to the quality review results, and finally the target drawing information corresponding to the target engineering information that meets the requirements is obtained. This helps to ensure the accuracy and compliance of the design.
[0107] The embodiment of the present invention provides a project quality audit method, system and storage medium, which includes: the method corrects the initial project information through an abnormal assessment model, which can improve the accuracy and completeness of the project information, reduce potential errors and problems, and then perform feasibility classification on the target project information to obtain a classification type. When the classification type is a preset type, the initial drawing information is determined and the first graph network information corresponding to the initial drawing information is obtained, and then the second graph network information is obtained by graph construction of the target project information, which can more intuitively display the association and structure between the project information. At the same time, the similarity between the first graph network information and the second graph network information can be calculated to quantify the similarity between different graphs, thereby determining the matching degree between the initial drawing information and the target project information. Finally, the quality audit result corresponding to the initial drawing information is obtained according to the matching degree, which can help discover possible problems and improvement space, and improve the quality and reliability of the project information. It also solves the problems that the project quality audit in the related technology mainly relies on manual inspection and experience judgment, and has low efficiency and strong subjectivity.
[0108] See also Figure 2 , Figure 2 An engineering quality audit system 200 provided in an embodiment of the present application includes an information correction module 201, a data classification module 202, a first graph generation module 203, a second graph generation module 204, a matching calculation module 205, and a result determination module 206, wherein the information correction module 201 is used to obtain initial engineering information, and to correct the initial engineering information according to the abnormal assessment model to obtain target engineering information; the data classification module 202 is used to perform feasibility classification on the target engineering information to obtain the classification type corresponding to the target engineering information; the first graph generation module Block 203 is used to determine the initial drawing information corresponding to the target engineering information and obtain the first graph network information corresponding to the initial drawing information when the classification type is a preset type; the second graph generation module 204 is used to perform graph construction on the target engineering information to obtain the corresponding second graph network information; the matching calculation module 205 is used to calculate the similarity between the first graph network information and the second graph network information to obtain the matching degree between the initial drawing information and the target engineering information; the result determination module 206 is used to obtain the quality review result corresponding to the initial drawing information according to the matching degree.
[0109] In some implementations, the information correction module 201, during the process of correcting the initial engineering information according to the abnormality assessment model to obtain the target engineering information, performs:
[0110] Acquire historical engineering cases, and determine the anomaly assessment model based on the historical engineering cases;
[0111] Performing abnormality identification on the initial engineering information according to the abnormality assessment model to obtain engineering abnormality information;
[0112] The initial engineering information is modified according to the engineering abnormality information to obtain the target engineering information.
[0113] In some implementations, the information correction module 201, in the process of determining the abnormality assessment model according to the historical engineering case, performs:
[0114] Determining an initial rule base, wherein the initial rule base includes a plurality of engineering rules;
[0115] Determine the activation weight corresponding to the engineering rule in the initial rule base according to the historical engineering case;
[0116] The engineering rules are integrated according to the activation weights and the historical engineering cases to obtain rule confidences corresponding to the engineering rules;
[0117] The anomaly assessment model is determined according to the activation weight corresponding to the engineering rule and the rule confidence.
[0118] In some implementations, the first drawing generation module 203 performs, during the process of obtaining the first drawing network information corresponding to the initial drawing information:
[0119] Performing component recognition on the initial drawing information to obtain a component entity;
[0120] Relationships between the component entities in the initial drawing information are identified to obtain component relationships;
[0121] The first drawing network information corresponding to the initial drawing information is obtained according to the component entity and the component relationship.
[0122] In some implementations, during the process of constructing a graph of the target project information to obtain corresponding second graph network information, the second graph generation module 204 executes:
[0123] Extracting information from the target project information to obtain initial structured data corresponding to the target project information;
[0124] Performing text classification on the target engineering information to obtain relevant text information in the target engineering information that is related to the initial structured data;
[0125] Perform keyword recognition on the relevant text information to obtain target keywords corresponding to the relevant text information;
[0126] A word certification network is established by taking the relevant text information and the target keyword as nodes respectively, and taking the association relationship between the relevant text information and the target keyword as the relationship between the nodes; wherein the association relationship between the relevant text information and the target keyword is that the relevant text information points to the target keyword contained in the relevant text information, and the target keywords are bidirectionally connected when they are in the same relevant text information, and the same target keywords in different relevant text information are bidirectionally connected;
[0127] Performing convolution processing on the word proof network to obtain a network representation vector corresponding to the word proof network;
[0128] Determining the credibility of the initial structured data according to the network representation vector, and screening the initial structured data according to the credibility to obtain target structured data;
[0129] The second graph network information corresponding to the target engineering information is obtained according to the target structured data.
[0130] In some implementations, the matching calculation module 205 performs, during the process of calculating the similarity between the first graph network information and the second graph network information and obtaining the matching degree between the initial drawing information and the target engineering information:
[0131] Performing block processing on the first graph network information to obtain first block information, and performing block processing on the second graph network information to obtain second block information;
[0132] Determine a first central node corresponding to the first block information and a second central node corresponding to the second block information;
[0133] Calculate the similarity between any first node in the first block information and the first central node to obtain a first similarity, and combine the similarity between any second node in the second block information and the second central node to obtain a second similarity;
[0134] Calculating the similarity between the first block information and the second block information to obtain a third similarity;
[0135] Determine a target similarity between the first block information and the second block information according to the first similarity, the second similarity, and the third similarity;
[0136] The target similarity is integrated to obtain the matching degree between the initial drawing information and the target engineering information.
[0137] In some implementations, the matching calculation module 205 performs the following steps in the process of calculating the similarity between any first node in the first block information and the first central node to obtain the first similarity, and merging the similarity between any second node in the second block information and the second central node to obtain the second similarity:
[0138] Calculating a first inter-node similarity between the first node and any node in the first block information;
[0139] Summing the similarities between the first nodes and taking the average value to determine the first similarity;
[0140] Calculating a second inter-node similarity between the second node and any node in the second block information;
[0141] Summing the similarities between the second nodes and taking the average value to determine the second similarity;
[0142] The first similarity and the second similarity are obtained according to the following formula:
[0143] ;
[0144] ;
[0145] Indicates the first node and the first central node The first similarity between them, n1 represents the number of nodes in the first block information, Indicates the first node and the i-th node in the first block information The similarity between the first nodes; Indicates the second node and the second central node The second similarity between them, n2 represents the number of nodes in the second block information, Indicates the second node and the jth node in the second block information The second inter-node similarity between them.
[0146] In some implementations, after obtaining the quality review result corresponding to the initial drawing information according to the matching degree, the result determination module 206 further performs:
[0147] Determine the location information of the initial drawing information that needs to be modified according to the quality review result;
[0148] The initial drawing information is modified according to the location information to obtain target drawing information corresponding to the target engineering information.
[0149] In some implementations, the engineering quality audit system 200 may be applied to a terminal device.
[0150] It should be noted that technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the engineering quality audit system 200 described above can refer to the corresponding process in the aforementioned engineering quality audit method embodiment, and will not be repeated here.
[0151] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any engineering quality audit method provided in the description of the embodiment of the present invention.
[0152] The storage medium may be an internal storage unit of the terminal device in the aforementioned embodiment, such as a hard disk or memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device.
[0153] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a storage medium (or non-transitory medium) and a communication medium (or transient medium). As is well known to those skilled in the art, the term storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media generally contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0154] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0155] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for project quality audit, characterized in that: The method comprises: Acquire initial project information, and modify the initial project information according to the abnormality assessment model to obtain target project information; Performing feasibility classification on the target project information to obtain a classification type corresponding to the target project information; When the classification type is a preset type, the initial drawing information corresponding to the target engineering information is determined, and the components of the initial drawing information are identified to obtain component entities; the relationship between the component entities in the initial drawing information is identified to obtain component relationships; the first graph network information corresponding to the initial drawing information is obtained according to the component entities and the component relationships; wherein the preset type is set to be feasible; Extract information from the target engineering information to obtain initial structured data corresponding to the target engineering information; perform text classification on the target engineering information to obtain relevant text information in the target engineering information that is related to the initial structured data; perform keyword recognition on the relevant text information to obtain target keywords corresponding to the relevant text information; establish a text proof network with the relevant text information and the target keywords as nodes respectively and the association relationship between the relevant text information and the target keywords as the relationship between the nodes; wherein the association relationship between the relevant text information and the target keywords is that the relevant text information points to the target keywords contained in the relevant text information Keywords and the target keywords are bidirectionally connected in the same related text information, and the same target keywords in different related text information are bidirectionally connected. The word proof network aggregates the semantic structure information of different node objects based on the co-occurrence relationship between multiple related text information and the target keywords; the word proof network is convoluted to obtain a network representation vector corresponding to the word proof network; the credibility corresponding to the initial structured data is determined according to the network representation vector, and the initial structured data is screened according to the credibility to obtain target structured data; the second graph network information corresponding to the target engineering information is obtained according to the target structured data; Calculating the similarity between the first graph network information and the second graph network information to obtain a matching degree between the initial drawing information and the target project information; Obtaining a quality review result corresponding to the initial drawing information according to the matching degree; The calculating the similarity between the first graph network information and the second graph network information to obtain the matching degree between the initial drawing information and the target project information includes: Performing block processing on the first graph network information to obtain first block information, and performing block processing on the second graph network information to obtain second block information; Determine a first central node corresponding to the first block information and a second central node corresponding to the second block information; Calculate the similarity between any first node in the first block information and the first central node to obtain a first similarity, and calculate the similarity between any second node in the second block information and the second central node to obtain a second similarity; Calculating the similarity between the first block information and the second block information to obtain a third similarity; Determine a target similarity between the first block information and the second block information according to the first similarity, the second similarity, and the third similarity; Merging the target similarity to obtain the matching degree between the initial drawing information and the target engineering information; The calculating of the similarity between any first node in the first block information and the first central node to obtain a first similarity, and the calculating of the similarity between any second node in the second block information and the second central node to obtain a second similarity, include: Calculating a first inter-node similarity between the first node and any node in the first block information; Summing the similarities between the first nodes and taking the average value to determine the first similarity; Calculating a second inter-node similarity between the second node and any node in the second block information; Summing the similarities between the second nodes and taking the average value to determine the second similarity; The first similarity and the second similarity are obtained according to the following formula: ; ; Indicates the first node and the first central node The first similarity between them, n1 represents the number of nodes in the first block information, Indicates the first node and the i-th node in the first block information The similarity between the first nodes; Indicates the second node and the second central node The second similarity between them, n2 represents the number of nodes in the second block information, Indicates the second node and the jth node in the second block information The second inter-node similarity between them.
2. The method according to claim 1, characterized in that The step of correcting the initial engineering information according to the abnormality assessment model to obtain target engineering information includes: Acquire historical engineering cases, and determine the anomaly assessment model based on the historical engineering cases; Performing abnormality identification on the initial engineering information according to the abnormality assessment model to obtain engineering abnormality information; The initial engineering information is modified according to the engineering abnormality information to obtain the target engineering information.
3. The method according to claim 2, characterized in that Determining the abnormality assessment model according to the historical engineering case includes: Determining an initial rule base, wherein the initial rule base includes a plurality of engineering rules; Determine the activation weight corresponding to the engineering rule in the initial rule base according to the historical engineering case; fusing the engineering rules according to the activation weights and the historical engineering cases to obtain rule confidences corresponding to the engineering rules; The anomaly assessment model is determined according to the activation weight corresponding to the engineering rule and the rule confidence.
4. The method according to any one of claims 1 to 3, characterized in that After obtaining the quality review result corresponding to the initial drawing information according to the matching degree, the method further includes: Determine the location information of the initial drawing information that needs to be modified according to the quality review result; The initial drawing information is modified according to the location information to obtain target drawing information corresponding to the target engineering information.
5. A project quality audit system, characterized in that: include: An information correction module is used to obtain initial project information and correct the initial project information according to the abnormality assessment model to obtain target project information; A data classification module is used to perform feasibility classification on the target project information and obtain the classification type corresponding to the target project information; A first graph generation module is used for determining the initial drawing information corresponding to the target engineering information when the classification type is a preset type, and performing component identification on the initial drawing information to obtain component entities; performing relationship identification between the component entities in the initial drawing information to obtain component relationships; and obtaining first graph network information corresponding to the initial drawing information according to the component entities and the component relationships, wherein the preset type is set to be feasible; The second graph generation module is used to extract information from the target engineering information to obtain initial structured data corresponding to the target engineering information; perform text classification on the target engineering information to obtain relevant text information in the target engineering information that is related to the initial structured data; perform keyword recognition on the relevant text information to obtain target keywords corresponding to the relevant text information; use the relevant text information and the target keywords as nodes respectively, and use the association relationship between the relevant text information and the target keywords as the relationship between the nodes to establish a text proof network; wherein the association relationship between the relevant text information and the target keyword is that the relevant text information points to the relevant text information containing The target keyword and the target keyword are bidirectionally connected when they are in the same related text information, and the same target keywords in different related text information are bidirectionally connected. The word proof network aggregates the semantic structure information of different node objects based on the co-occurrence relationship between multiple related text information and the target keyword; the word proof network is convoluted to obtain a network representation vector corresponding to the word proof network; the credibility corresponding to the initial structured data is determined according to the network representation vector, and the initial structured data is screened according to the credibility to obtain target structured data; the second graph network information corresponding to the target engineering information is obtained according to the target structured data; A matching calculation module, used for calculating the similarity between the first graph network information and the second graph network information, and obtaining the matching degree between the initial drawing information and the target engineering information; wherein, the calculating the similarity between the first graph network information and the second graph network information, and obtaining the matching degree between the initial drawing information and the target engineering information, includes: performing block processing on the first graph network information to obtain first block information, and performing block processing on the second graph network information to obtain second block information; determining a first central node corresponding to the first block information and a second central node corresponding to the second block information; calculating the similarity between any first node in the first block information and the first central node to obtain a first similarity, and the similarity between any second node in the second block information and the second central node to obtain a second similarity; calculating the similarity between the first block information and the second block information to obtain a third similarity; according to the The first similarity, the second similarity and the third similarity determine the target similarity between the first block information and the second block information; the target similarity is integrated to obtain the matching degree between the initial drawing information and the target engineering information; wherein the calculating the similarity between any first node in the first block information and the first central node to obtain the first similarity, and the calculating the similarity between any second node in the second block information and the second central node to obtain the second similarity, comprises: calculating the first inter-node similarity between the first node and any node in the first block information; summing and averaging the first inter-node similarities to determine the first similarity; calculating the second inter-node similarity between the second node and any node in the second block information; summing and averaging the second inter-node similarities to determine the second similarity; wherein the first similarity and the second similarity are obtained according to the following formula: The first similarity and the second similarity are obtained according to the following formula: ; ; Indicates the first node and the first central node The first similarity between them, n1 represents the number of nodes in the first block information, Indicates the first node and the i-th node in the first block information The similarity between the first nodes; Indicates the second node and the second central node The second similarity between them, n2 represents the number of nodes in the second block information, Indicates the second node and the jth node in the second block information The similarity between the second nodes; A result determination module is used to obtain the quality review result corresponding to the initial drawing information according to the matching degree.
6. A storage medium for computer storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the engineering quality audit method described in any one of claims 1 to 4.
Citation Information
Patent Citations
Method of aligning phrases and picture regions based on decoupling and intervention graph network
CN112101358A
Method and system for checking large sample drawing of fabricated building
CN114443880A
