BIM model examination method and device based on knowledge graph and image matching
Through the method based on knowledge graph and image matching, the BIM model is automatically parsed and verified, and the problem of low BIM model review efficiency in the existing technology is solved, and an efficient and accurate review process is achieved, reducing costs and errors.
Patent Information
- Application Number
- CN202411023908.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-07-29
AI Technical Summary
The existing BIM model review method is inefficient and relies on manual verification and commercial software interfaces, which leads to high time and cost, and is prone to inconsistent matching between the model and the standard drawings.
Using a method based on knowledge graph and image matching, a standard and standardized knowledge graph is constructed, the BIM model is analyzed through off-platform development, attributes and geometric information are extracted, and the image feature matching algorithm is used for automatic verification to generate a review report.
It improves the efficiency and accuracy of BIM model review, reduces manual intervention, ensures efficient and precise matching of the model with standard drawings, and reduces development costs and errors.
Smart Images

Figure CN119004595A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to building information modeling engineering, and in particular to a BIM model review method and device based on knowledge graph and image matching. Background Art
[0002] At present, the main method used is commercial software + manual review to check and verify the attributes and geometric information of BIM (Building Information Modeling) models. Through the secondary development interface provided by commercial software, the attributes and geometric information in the BIM model are parsed, and the information in the standard specification documents is checked and verified, and the review results are organized and output into a review report.
[0003] For large-scale BIM model data, manual review will consume a long time and human resources. For BIM model data in different formats, it is necessary to rely on the secondary development interface provided by different commercial software to load and parse, which has strong technical dependence, limited interface extensibility, and high development costs. In the model review process, the method of polling and traversing the specification information is adopted to compare and review the model attribute information and geometric information. Not only is the review efficiency low, but it is also easy to have problems with the model's geometric features not matching the standard drawings, resulting in errors.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide a BIM model review method and device based on knowledge graph and image matching, aiming to solve the technical problem of low efficiency of BIM model review method in the prior art.
[0006] To achieve the above objectives, the present application provides a BIM model review method based on knowledge graph and image matching, the method comprising:
[0007] Build a knowledge graph of standards and specifications based on reviewing standards and specifications documents;
[0008] Based on the off-platform development strategy, the BIM project file is parsed to obtain the target BIM model, and the attribute information and geometric information of the target BIM model are extracted;
[0009] Based on the standard specification knowledge graph, the attribute information of the target BIM model is compared and reviewed to obtain an attribute review result;
[0010] Projecting the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information;
[0011] Based on the feature information in the two-dimensional plane drawing information, the geometric information is compared and reviewed to obtain a geometric review result;
[0012] Based on the attribute review result and the geometry review result, a review report file of the target BIM model is generated.
[0013] In one embodiment, the step of constructing a standard specification knowledge graph based on reviewing the standard specification document includes:
[0014] Analyze and review standard and specification documents to determine the information of standard and specification clauses;
[0015] Extracting the standard specification clause information into structured data, wherein the structured data at least includes entity data, relationship data and attribute data;
[0016] The structured data is subjected to knowledge fusion to construct a standard knowledge graph.
[0017] In one embodiment, the step of parsing the BIM project file based on the off-platform development strategy to obtain the target BIM model includes:
[0018] Acquire a BIM project file, where the BIM project file has multiple formats;
[0019] Based on the off-platform development strategy, BIM project files in multiple formats are parsed to obtain multiple BIM models of the target project, and the multiple BIM models are used as the target BIM model.
[0020] In one embodiment, the step of comparing and reviewing the attribute information of the target BIM model based on the standard specification knowledge graph to obtain the attribute review result includes:
[0021] Based on the attribute information of the target BIM model, corresponding specification attribute information is retrieved in the standard specification knowledge graph, where the attribute information at least includes category, layer information and material information;
[0022] Based on the specification attribute information, the attribute information of the target BIM model is compared and reviewed to generate an attribute review result.
[0023] In one embodiment, the step of comparing and reviewing the attribute information of the target BIM model based on the specification attribute information to generate an attribute review result includes:
[0024] When the attribute information of the target BIM model meets the specification attribute information, determining that the attribute review result is qualified;
[0025] When the attribute information of the target BIM model does not conform to the standard attribute information, the attribute review result is determined to be unqualified.
[0026] In one embodiment, the step of projecting the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information includes:
[0027] Based on the geometric information of the target BIM model, extracting the kernel basic data structure in the geometric information;
[0028] Performing three-dimensional hiding on the kernel basic data structure to determine an occlusion relationship in the kernel basic data structure, wherein the occlusion relationship at least includes an occlusion relationship between edges, an occlusion relationship between edges and faces, and an occlusion relationship between faces;
[0029] Based on the occlusion relationship, the kernel basic data structure is projected onto a two-dimensional plane to obtain the two-dimensional plane drawing information.
[0030] In one embodiment, the step of comparing and reviewing the geometric information based on the feature information in the two-dimensional plane drawing information to obtain a geometric review result includes:
[0031] Extracting features from the two-dimensional plane drawing information based on a pre-trained feature model to obtain feature information;
[0032] Extract features from standard drawing files based on pre-trained feature models to obtain standard feature information;
[0033] Based on a pre-trained matching model, matching the standard feature information with the feature information to determine a matching score;
[0034] Based on the matching score, the geometric review result is determined.
[0035] In one embodiment, the step of determining the geometric review result based on the matching score comprises:
[0036] When the matching score is greater than or equal to a preset score, determining that the geometric review result is qualified;
[0037] When the matching score is less than the preset score, the geometric review result is determined to be unqualified.
[0038] In one embodiment, the step of generating a review report file of the target BIM model based on the attribute review result and the geometry review result includes:
[0039] Record the attribute review result and the geometry review result, and determine whether the target BIM model is traversed;
[0040] When the traversal is completed, an audit report file corresponding to the attribute audit result and the geometry audit result is generated based on the audit report template file.
[0041] In addition, to achieve the above purpose, the present application also proposes a BIM model review device based on knowledge graph and image matching, and the BIM model review device based on knowledge graph and image matching includes:
[0042] A graph construction module, which is used to construct a standard specification knowledge graph based on the review of standard specification documents;
[0043] A model parsing module is used to parse the BIM project file based on the off-platform development strategy to obtain the target BIM model and extract the attribute information and geometric information of the target BIM model;
[0044] A model review module, used to compare and review the attribute information of the target BIM model based on the standard specification knowledge graph to obtain an attribute review result;
[0045] The model review module is further used to project the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information;
[0046] The model review module is further used to compare and review the geometric information based on the feature information in the two-dimensional plane drawing information to obtain a geometric review result;
[0047] The model review module is also used to generate a review report file of the target BIM model based on the attribute review result and the geometry review result.
[0048] In addition, to achieve the above-mentioned objectives, the present application also proposes a BIM model review device based on knowledge graph and image matching, and the BIM model review device based on knowledge graph and image matching includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the BIM model review method based on knowledge graph and image matching as described above.
[0049] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the BIM model review method based on knowledge graph and image matching as described above are implemented.
[0050] In addition, to achieve the above-mentioned objectives, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the BIM model review method based on knowledge graph and image matching as described above.
[0051] The present application provides a BIM model review method based on knowledge graph and image matching. Based on the review of standard specification documents, a standard specification knowledge graph is constructed; based on the off-platform development strategy, the BIM project file is parsed to obtain the target BIM model, and the attribute information and geometric information of the target BIM model are extracted; based on the standard specification knowledge graph, the attribute information of the target BIM model is compared and reviewed to obtain the attribute review result; the geometric information of the target BIM model is projected onto a two-dimensional plane to obtain two-dimensional plane drawing information, and based on the feature information in the two-dimensional plane drawing information, the geometric information is compared and reviewed to obtain the geometric review result; based on the attribute review result and the geometric review result, a review report file of the target BIM model is generated. This application adopts an off-platform development concept, which can automatically realize model parsing, model review and review report output, improve review efficiency, build a standard knowledge graph based on the review specification documents, use the standard knowledge graph for search, and realize efficient and accurate retrieval and review of BIM model attribute information, ensuring review efficiency and accuracy. It also adopts image feature extraction and matching algorithms, combined with the review of specification drawing documents, to review the geometric features of the BIM model, accurately verify the consistency of the drawing and model, reduce errors, ensure the accuracy of the review, and solve the technical problem of low efficiency of the BIM model review method. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0054] Figure 1 This is a flow chart of Embodiment 1 of the BIM model review method based on knowledge graph and image matching of this application;
[0055] Figure 2 A schematic diagram of a standard specification knowledge graph for a BIM model review method based on a knowledge graph and image matching provided in Example 1 of the present application;
[0056] Figure 3 A BIM parsing schematic diagram of a BIM model review method based on knowledge graph and image matching provided in Example 1 of the present application;
[0057] Figure 4 A schematic diagram of a knowledge graph retrieval query for a BIM model review method based on a knowledge graph and image matching provided in Example 1 of the present application;
[0058] Figure 5 A schematic diagram of the Brep structure of the BIM model review method based on knowledge graph and image matching provided in Example 1 of the present application;
[0059] Figure 6 A schematic diagram of two-dimensional information generation of a BIM model review method based on knowledge graph and image matching provided in Example 1 of the present application;
[0060] Figure 7 A schematic diagram of feature extraction of a BIM model review method based on knowledge graph and image matching provided in Example 1 of the present application;
[0061] Figure 8 A feature matching schematic diagram of a BIM model review method based on knowledge graph and image matching provided in Example 1 of the present application;
[0062] Fig. 9 A brief flowchart of a BIM model review method based on knowledge graph and image matching provided in Example 1 of the present application;
[0063] Fig.10 This is a schematic diagram of the module structure of a BIM model review device based on knowledge graph and image matching in an embodiment of the present application;
[0064] Fig.11 This is a schematic diagram of the device structure of the hardware operating environment involved in the BIM model review method based on knowledge graph and image matching in an embodiment of the present application.
[0065] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0066] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0067] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0068] The main solution of the embodiment of the present application is: based on the review of standard specification documents, a standard specification knowledge graph is constructed; based on the off-platform development strategy, the BIM project files are parsed to obtain the target BIM model, and the attribute information and geometric information of the target BIM model are extracted; based on the standard specification knowledge graph, the attribute information of the target BIM model is compared and reviewed to obtain the attribute review result; the geometric information of the target BIM model is projected onto a two-dimensional plane to obtain two-dimensional plane drawing information, and based on the feature information in the two-dimensional plane drawing information, the geometric information is compared and reviewed to obtain the geometric review result; based on the attribute review result and the geometric review result, a review report file of the target BIM model is generated.
[0069] At present, the main method of commercial software + manual review is to check and review the attributes and geometric information of BIM models. Through the secondary development interface provided by commercial software, the attributes and geometric information in the BIM model are parsed, and the information in the standard specification documents is checked and reviewed, and the review results are sorted and output into the review report. For large-scale BIM model data, if manual review is used, it will take a long time and human resources.
[0070] This application provides a solution that adopts a platform-free development concept, can automatically realize model parsing, model review and review report output, improve review efficiency, build a standard specification knowledge graph based on the review specification and standard documents, use the standard specification knowledge graph for search, realize efficient and accurate retrieval and review of BIM model attribute information, ensure review efficiency and accuracy, and adopt image feature extraction and matching algorithms, combined with the review specification drawing files, review the geometric features of the BIM model, accurately verify the consistency of the drawing and model, reduce errors, ensure the accuracy of the review, and solve the technical problem of low efficiency of the BIM model review method.
[0071] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device that can realize the above functions, a BIM model review device based on knowledge graph and image matching, etc., and this embodiment does not specifically limit this. The following takes the BIM model review device based on knowledge graph and image matching as an example to illustrate this embodiment and the following embodiments.
[0072] The present application embodiment provides a BIM model review method based on knowledge graph and image matching, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the BIM model review method based on knowledge graph and image matching in this application.
[0073] In this embodiment, the BIM model review method based on knowledge graph and image matching includes steps S10 to S60:
[0074] Step S10, constructing a standard specification knowledge graph based on the review standard specification document;
[0075] It should be noted that the review standard specification document is the specification document that needs to be referenced during the review process, and the standard specification knowledge graph is the knowledge graph formed by the contents in the review standard specification document.
[0076] In a feasible implementation, step S10 may include steps S101 to S103:
[0077] Step S101, analyzing the review standard specification document to determine the standard specification clause information;
[0078] It should be noted that the standard specification article information refers to the standard content of each article in the review standard specification document.
[0079] Step S102, extracting the standard specification information into structured data, wherein the structured data at least includes entity data, relationship data and attribute data;
[0080] It should be noted that the construction of knowledge graphs requires the use of structured data, which includes at least entity data, relationship data and attribute data, namely, entity, relationship and attribute. Entity can be the profession and category of BIM model, relationship can be (contains, points to), and attribute can be IFD code and layer information of BIM model.
[0081] Step S103, performing knowledge fusion on the structured data to construct a standard specification knowledge graph.
[0082] It can be understood that according to the extracted structured data, the flattened entity nodes are fused by knowledge fusion to construct a standard knowledge graph, such as Figure 2 shown.
[0083] In the specific implementation, based on the review of standard specification documents, the specification clause information is extracted as structured data, and the standard specification knowledge graph is constructed based on the extracted structured data.
[0084] Step S20, based on the off-platform development strategy, parsing the BIM project file to obtain a target BIM model, and extracting attribute information and geometric information of the target BIM model;
[0085] It should be noted that the off-platform development strategy is the off-platform development technology, and the framework and tools used in the off-platform development are not specifically limited in this embodiment. BIM project files are related project files, and the target BIM model is the BIM model that needs to be reviewed, which is usually all the BIM models in the project files. The attribute information and geometric information are the information that needs to be compared and reviewed when reviewing the BIM model.
[0086] In a feasible implementation, based on the off-platform development strategy, the step of parsing the BIM project file to obtain the target BIM model may include steps S201 to S202:
[0087] Step S201, obtaining a BIM project file, wherein the BIM project file has multiple formats;
[0088] It should be noted that different BIM project files may have different formats, such as dgn, rvt, etc., which is not specifically limited in this embodiment.
[0089] Step S202: Based on the off-platform development strategy, parse BIM project files in multiple formats to obtain multiple BIM models of the target project, and use the multiple BIM models as the target BIM models.
[0090] Understandably, reference Figure 3 ,For BIM project files in different formats, the off-platform development component ODA (Open Data Alliance) is used to load and parse them, traverse and collect all BIM models in the BIM project.
[0091] In the specific implementation, the off-platform development technology is adopted to parse the BIM project files, collect all BIM models in the project, and then extract the attribute information and geometric information in the BIM models.
[0092] Step S30, based on the standard specification knowledge graph, comparing and reviewing the attribute information of the target BIM model to obtain an attribute review result;
[0093] It should be noted that the attribute review result is the result obtained after reviewing the attribute information of the BIM model.
[0094] In a feasible implementation, step S30 may include steps S301 to S302:
[0095] Step S301, based on the attribute information of the target BIM model, searching the standard specification knowledge graph for corresponding specification attribute information, wherein the attribute information at least includes category, layer information and material information;
[0096] It should be noted that the attribute information in this embodiment includes at least category, layer information and material information. Specification attribute information refers to the attribute information in the specification stored in the standard specification knowledge graph.
[0097] Understandably, reference Figure 4 ,Based on the extracted attribute information of the target BIM model, the knowledge graph relationship ,search algorithm is used to quickly query the corresponding attribute information in the ,specification.
[0098] Step S302: Based on the specification attribute information, the attribute information of the target BIM model is compared and reviewed to generate an attribute review result.
[0099] It is understandable that the attribute information in the target BIM model is compared and reviewed to see if it is consistent with the attribute information in the specification.
[0100] In a feasible implementation, when the attribute information of the target BIM model conforms to the standard attribute information, the attribute review result is determined to be qualified; when the attribute information of the target BIM model does not conform to the standard attribute information, the attribute review result is determined to be unqualified.
[0101] It should be noted that the target BIM model's attribute information complies with the specification attribute information, which means that the target BIM model's attribute information is consistent with the specification attribute information, and in this case, it can usually be considered that the attribute information review is qualified / passed. The target BIM model's attribute information does not comply with the specification attribute information, which means that the target BIM model's attribute information is inconsistent with the specification attribute information, and in this case, it can usually be considered that the attribute information review is unqualified / failed.
[0102] In the specific implementation, the attribute information in the BIM model is traversed, and the knowledge graph relationship search algorithm is used to quickly query the standard attribute information for comparison and review.
[0103] It should be understood that the traditional review method usually requires polling and traversing all specification information to compare the model's attribute information, which has low review efficiency. This embodiment is based on reviewing specification standard documents, constructing a standard specification knowledge graph, and using the standard specification knowledge graph for search to achieve efficient and accurate retrieval and review of BIM model attribute information, thereby ensuring review efficiency and accuracy.
[0104] Step S40, projecting the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information;
[0105] In a feasible implementation, step S40 may include steps S401 to S403:
[0106] Step S401, based on the geometric information of the target BIM model, extracting the kernel basic data structure in the geometric information;
[0107] It should be noted that the reference Figure 5 , the kernel basic data structure is the Brep structure in the geometric information.
[0108] Step S402, performing three-dimensional hiding on the kernel basic data structure to determine the occlusion relationship in the kernel basic data structure;
[0109] It should be noted that the reference Figure 6 This embodiment adopts a three-dimensional hidden ZBuffer algorithm, and the corresponding occlusion relationship can be obtained by using the three-dimensional hidden ZBuffer algorithm. The occlusion relationship at least includes the occlusion relationship between edges, the occlusion relationship between edges and faces, and the occlusion relationship between faces.
[0110] It can be understood that the three-dimensional hidden ZBuffer algorithm is used to calculate the occlusion relationship between edges, edges and faces, and faces in the Brep structure.
[0111] Step S403, based on the occlusion relationship, projecting the kernel basic data structure onto a two-dimensional plane to obtain the two-dimensional plane drawing information;
[0112] It can be understood that based on the calculated occlusion relationship between the Brep structures, the Brep structures are projected onto a two-dimensional plane using a perspective projection algorithm.
[0113] In the specific implementation, based on the extracted geometric information of the target BIM model, a three-dimensional hidden layer removal and perspective projection algorithm is used to project the three-dimensional geometric information onto a two-dimensional plane.
[0114] Step S50, based on the feature information in the two-dimensional plane drawing information, the geometric information is compared and verified to obtain a geometric review result.
[0115] It should be noted that the geometric review result is the result obtained after reviewing the attribute information of the BIM model.
[0116] In a feasible implementation, step S50 may include steps S501 to S503:
[0117] Step S501, extracting features from the two-dimensional plane drawing information based on a pre-trained feature model to obtain feature information;
[0118] It should be noted that the feature model is a model used for feature extraction, which has been pre-trained, and the feature information refers to the features extracted from the two-dimensional plane drawing information. The feature model in this embodiment uses MatchNet to train the feature network.
[0119] Understandably, reference Figure 7 Based on the two-dimensional plane drawing information obtained by projection, MatchNet is used to train the feature network and calculate the feature information.
[0120] Step S502, extracting features from the standard drawing file based on the pre-trained feature model to obtain standard feature information;
[0121] It should be noted that the standard feature information is the feature extracted from the standard drawing file. The standard drawing file and the two-dimensional plane drawing information use the same feature model for feature extraction.
[0122] It can be understood that based on the standard drawing file, MatchNet is used to train the feature network and calculate the feature information.
[0123] Step S503, based on the pre-trained matching model, the standard feature information is matched with the feature information to determine the matching score, and based on the matching score, the geometric review result is determined.
[0124] It should be noted that the matching model is a model used for feature matching, which has been pre-trained, and the matching score is a numerical value output by the matching model to measure the matching degree, that is, the matching score value. The matching model in this embodiment uses the MatchNet training measurement network.
[0125] Understandably, reference Figure 8 , based on the calculated feature information and the standard feature information, a feature pair is created, and the MatchNet training measurement network is used to perform pairwise matching. According to the matching score value, the matching degree between the geometric information of the target BIM model and the standard drawing file is judged.
[0126] In a feasible implementation, when the matching score is greater than or equal to a preset score, the geometric review result is determined to be qualified; when the matching score is less than the preset score, the geometric review result is determined to be unqualified.
[0127] It should be noted that the degree of matching between the geometric information and the standard drawing file can be determined by setting a threshold. The preset score is the threshold of the matching score set in this embodiment. The specific value can be set according to actual needs and is not specifically limited.
[0128] It can be understood that if the matching score is greater than or equal to the preset score, it means that the geometric information has a high degree of match with the standard drawing file, and the geometric information review can be considered qualified / passed. If the matching score is less than the preset score, it means that the geometric information has a low degree of match with the standard drawing file, and the geometric information review can be considered unqualified / failed.
[0129] In the specific implementation, based on the two-dimensional plane drawing information obtained by projection and combined with the standard drawing file, the MatchNet algorithm is used to intelligently extract feature information, perform image matching and review, and obtain the geometric review results.
[0130] It should be understood that the traditional review method usually requires polling and traversing all standard drawings to compare the geometric information of the model, which has low review efficiency. This embodiment adopts image feature extraction and matching algorithm, combined with review of standard drawing files, reviews the geometric features of the BIM model, accurately verifies the consistency of the drawings and models, reduces errors, and ensures the accuracy of the review.
[0131] Step S60: generating a review report file of the target BIM model based on the attribute review result and the geometry review result.
[0132] In a feasible implementation, step S60 may include steps S601 to S602:
[0133] Step S601, recording the attribute review result and the geometry review result, and determining whether the target BIM model is traversed;
[0134] Step S602, when the traversal is completed, generating a review report file corresponding to the attribute review result and the geometry review result based on the review report template file.
[0135] It should be noted that the review report template file is a template used for reference when generating a review report file.
[0136] It can be understood that the property review results and geometric review results of the target BIM model are collected and recorded, and it is determined whether the target BIM model collected from the BIM project has been traversed. If it has not been traversed, the attribute information and geometric information are extracted and then the execution of step S30 is returned. If it has been traversed, step 602 is continued, and the property review results and geometric review results of all collected BIM models are output to the review report file with reference to the review report template file.
[0137] This embodiment provides a BIM model review method based on knowledge graph and image matching. Based on the review standard specification file, a standard specification knowledge graph is constructed; based on the off-platform development strategy, the BIM project file is parsed to obtain the target BIM model, and the attribute information and geometric information of the target BIM model are extracted; based on the standard specification knowledge graph, the attribute information of the target BIM model is compared and reviewed to obtain the attribute review result; the geometric information of the target BIM model is projected onto a two-dimensional plane to obtain two-dimensional plane drawing information, and based on the feature information in the two-dimensional plane drawing information, the geometric information is compared and reviewed to obtain the geometric review result; based on the attribute review result and the geometric review result, a review report file of the target BIM model is generated. By adopting a platform-free development concept, model analysis, model review, and review report output can be automatically realized, thereby improving review efficiency. Based on the review of standard specifications and documents, a standard specification knowledge graph is constructed, and the standard specification knowledge graph is used for search to achieve efficient and accurate retrieval and review of BIM model attribute information, thereby ensuring review efficiency and accuracy. In addition, image feature extraction and matching algorithms are used, combined with the review of standard drawing documents, to review the geometric features of the BIM model, accurately verify the consistency of the drawing and model, reduce errors, and ensure the accuracy of the review.
[0138] For example, in order to help understand the implementation process of the BIM model review method based on knowledge graph and image matching obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Fig. 9 , Fig. 9 A brief process diagram of the BIM model review method based on knowledge graph and image matching is provided. Specifically:
[0139] Based on the review of standard specification documents, the specification clause information is extracted as structured data, and the standard specification knowledge graph is constructed based on the extracted structured data; the off-platform development technology is used to parse the BIM project files and collect all BIM models in the project; based on the BIM model data collected in the previous step, the attribute information and geometric information in the BIM model are extracted; the attribute information in the BIM model is traversed, and the knowledge graph relationship search algorithm is used to quickly query the specification attribute information for comparison and review; based on the extracted BIM model geometric information, the three-dimensional hidden and perspective projection algorithms are used to project the three-dimensional geometric feature information onto the two-dimensional plane; based on the two-dimensional plane drawing information obtained by projection, combined with the standard drawing file, the MatchNet algorithm is used to intelligently extract feature information and perform image matching review; the result information of the BIM model attribute information review and geometric information review is collected and recorded; it is determined whether the BIM model collected from the BIM project has been traversed. If not, the review is continued. If it has been traversed, all the collected BIM model attribute and geometric information review results are output to the review report file with reference to the review report template file.
[0140] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the BIM model review method based on knowledge graph and image matching of the present application. More forms of simple transformations based on this technical concept are all within the scope of protection of the present application.
[0141] This application also provides a BIM model review device based on knowledge graph and image matching, please refer to Fig.10 , the BIM model review device based on knowledge graph and image matching includes:
[0142] The graph construction module 10 is used to construct a standard specification knowledge graph based on the review standard specification documents.
[0143] The model parsing module 20 is used to parse the BIM project file based on the off-platform development strategy, obtain the target BIM model, and extract the attribute information and geometric information of the target BIM model.
[0144] The model review module 30 is used to compare and review the attribute information of the target BIM model based on the standard specification knowledge graph to obtain an attribute review result.
[0145] The model review module 30 is also used to project the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information.
[0146] The model review module 30 is also used to compare and review the geometric information based on the feature information in the two-dimensional plane drawing information to obtain a geometric review result.
[0147] The model review module 30 is further used to generate a review report file of the target BIM model based on the attribute review result and the geometry review result.
[0148] In a feasible implementation, the graph construction module 10 is also used to analyze the review standard specification document to determine the standard specification clause information;
[0149] Extracting the standard specification clause information into structured data, wherein the structured data at least includes entity data, relationship data and attribute data;
[0150] The structured data is subjected to knowledge fusion to construct a standard knowledge graph.
[0151] In a feasible implementation manner, the model parsing module 20 is further used to obtain a BIM engineering file, and the BIM engineering file has multiple formats;
[0152] Based on the off-platform development strategy, BIM project files in multiple formats are parsed to obtain multiple BIM models of the target project, and the multiple BIM models are used as the target BIM model.
[0153] In a feasible implementation manner, the model review module 30 is further used to retrieve corresponding specification attribute information in the standard specification knowledge graph based on the attribute information of the target BIM model, wherein the attribute information at least includes category, layer information and material information;
[0154] Based on the specification attribute information, the attribute information of the target BIM model is compared and reviewed to generate an attribute review result.
[0155] In a feasible implementation manner, the model review module 30 is further configured to determine that the attribute review result is qualified when the attribute information of the target BIM model meets the specification attribute information;
[0156] When the attribute information of the target BIM model does not conform to the standard attribute information, the attribute review result is determined to be unqualified.
[0157] In a feasible implementation manner, the model review module 30 is further used to extract the kernel basic data structure in the geometric information based on the geometric information of the target BIM model;
[0158] Performing three-dimensional hiding on the kernel basic data structure to determine an occlusion relationship in the kernel basic data structure, wherein the occlusion relationship at least includes an occlusion relationship between edges, an occlusion relationship between edges and faces, and an occlusion relationship between faces;
[0159] Based on the occlusion relationship, the kernel basic data structure is projected onto a two-dimensional plane to obtain the two-dimensional plane drawing information.
[0160] In a feasible implementation manner, the model review module 30 is further used to extract features from the two-dimensional plane drawing information based on a pre-trained feature model to obtain feature information;
[0161] Extract features from standard drawing files based on pre-trained feature models to obtain standard feature information;
[0162] Based on a pre-trained matching model, matching the standard feature information with the feature information to determine a matching score;
[0163] Based on the matching score, the geometric review result is determined.
[0164] In a feasible implementation manner, the model review module 30 is further used to determine that the geometric review result is qualified when the matching score is greater than or equal to a preset score;
[0165] When the matching score is less than the preset score, the geometric review result is determined to be unqualified.
[0166] In a feasible implementation manner, the model review module 30 is further used to record the attribute review result and the geometry review result, and determine whether the traversal of the target BIM model is completed;
[0167] When the traversal is completed, an audit report file corresponding to the attribute audit result and the geometry audit result is generated based on the audit report template file.
[0168] The BIM model review device based on knowledge graph and image matching provided by the present application adopts the BIM model review method based on knowledge graph and image matching in the above-mentioned embodiment, which can solve the technical problem of low efficiency of the BIM model review method. Compared with the prior art, the beneficial effects of the BIM model review device based on knowledge graph and image matching provided by the present application are the same as the beneficial effects of the BIM model review method based on knowledge graph and image matching provided by the above-mentioned embodiment, and the other technical features in the BIM model review device based on knowledge graph and image matching are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.
[0169] The present application provides a BIM model review device based on knowledge graph and image matching, and the BIM model review device based on knowledge graph and image matching includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the BIM model review method based on knowledge graph and image matching in the above-mentioned embodiment one.
[0170] Reference below Fig.11, which shows a schematic diagram of the structure of a BIM model review device based on knowledge graph and image matching suitable for implementing the embodiment of the present application. The BIM model review device based on knowledge graph and image matching in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The BIM model review device based on knowledge graph and image matching shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0171] like Fig.11 As shown, the BIM model review device based on knowledge graph and image matching may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the BIM model review device based on knowledge graph and image matching are also stored in RAM1004. The processing device 1001, ROM1002 and RAM1004 are connected to each other via a bus 1005. The input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the BIM model review device based on the knowledge graph and image matching to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a BIM model review device based on the knowledge graph and image matching with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.
[0172] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0173] The BIM model review device based on knowledge graph and image matching provided by the present application adopts the BIM model review method based on knowledge graph and image matching in the above-mentioned embodiment, which can solve the technical problem of low efficiency of the BIM model review method. Compared with the prior art, the beneficial effects of the BIM model review device based on knowledge graph and image matching provided by the present application are the same as the beneficial effects of the BIM model review method based on knowledge graph and image matching provided by the above-mentioned embodiment, and the other technical features in the BIM model review device based on knowledge graph and image matching are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0174] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0175] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0176] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the BIM model review method based on knowledge graph and image matching in the above-mentioned embodiment.
[0177] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0178] The above-mentioned computer-readable storage medium may be included in the BIM model review device based on knowledge graph and image matching; or it may exist independently without being assembled into the BIM model review device based on knowledge graph and image matching.
[0179] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the BIM model review device based on the knowledge graph and image matching, the BIM model review device based on the knowledge graph and image matching: constructs a standard specification knowledge graph based on the review standard specification file; parses the BIM engineering file based on the off-platform development strategy to obtain the target BIM model, and extracts the attribute information and geometric information of the target BIM model; compares and verifies the attribute information of the target BIM model based on the standard specification knowledge graph to obtain the attribute review result; projects the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information, and compares and verifies the geometric information based on the feature information in the two-dimensional plane drawing information to obtain the geometric review result; generates a review report file of the target BIM model based on the attribute review result and the geometric review result.
[0180] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0181] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0182] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0183] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned BIM model review method based on knowledge graph and image matching, and can solve the technical problem of low efficiency in the review method of BIM models. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the BIM model review method based on knowledge graph and image matching provided by the above-mentioned embodiment, and will not be repeated here.
[0184] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the BIM model review method based on knowledge graph and image matching as described above.
[0185] The computer program product provided by this application can solve the technical problem of low efficiency in the review method of BIM models. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the BIM model review method based on knowledge graph and image matching provided by the above embodiment, which will not be repeated here.
[0186] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A BIM model review method based on knowledge graph and image matching, characterized in that: The method comprises: Build a knowledge graph of standards and specifications based on reviewing standards and specifications documents; Based on the off-platform development strategy, the BIM project file is parsed to obtain the target BIM model, and the attribute information and geometric information of the target BIM model are extracted; Based on the standard specification knowledge graph, the attribute information of the target BIM model is compared and reviewed to obtain an attribute review result; Projecting the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information; Based on the feature information in the two-dimensional plane drawing information, the geometric information is compared and reviewed to obtain a geometric review result; Based on the attribute review result and the geometry review result, a review report file of the target BIM model is generated.
2. The method according to claim 1, characterized in that The steps of constructing a standard specification knowledge graph based on reviewing the standard specification document include: Analyze and review standard and specification documents to determine the information of standard and specification clauses; Extracting the standard specification clause information into structured data, wherein the structured data at least includes entity data, relationship data and attribute data; The structured data is subjected to knowledge fusion to construct a standard knowledge graph.
3. The method according to claim 1, characterized in that The step of parsing the BIM project file based on the off-platform development strategy to obtain the target BIM model includes: Acquire a BIM project file, where the BIM project file has multiple formats; Based on the off-platform development strategy, BIM project files in multiple formats are parsed to obtain multiple BIM models of the target project, and the multiple BIM models are used as the target BIM model.
4. The method according to claim 1, characterized in that The step of comparing and reviewing the attribute information of the target BIM model based on the standard specification knowledge graph to obtain the attribute review result includes: Based on the attribute information of the target BIM model, corresponding specification attribute information is retrieved in the standard specification knowledge graph, where the attribute information at least includes category, layer information and material information; Based on the specification attribute information, the attribute information of the target BIM model is compared and reviewed to generate an attribute review result.
5. The method according to claim 4, characterized in that The step of comparing and reviewing the attribute information of the target BIM model based on the specification attribute information to generate an attribute review result includes: When the attribute information of the target BIM model meets the specification attribute information, determining that the attribute review result is qualified; When the attribute information of the target BIM model does not conform to the standard attribute information, the attribute review result is determined to be unqualified.
6. The method according to claim 1, characterized in that The step of projecting the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information comprises: Based on the geometric information of the target BIM model, extracting the kernel basic data structure in the geometric information; Performing three-dimensional hiding on the kernel basic data structure to determine an occlusion relationship in the kernel basic data structure, wherein the occlusion relationship at least includes an occlusion relationship between edges, an occlusion relationship between edges and faces, and an occlusion relationship between faces; Based on the occlusion relationship, the kernel basic data structure is projected onto a two-dimensional plane to obtain the two-dimensional plane drawing information.
7. The method according to claim 1, characterized in that The step of comparing and reviewing the geometric information based on the feature information in the two-dimensional plane drawing information to obtain a geometric review result includes: Extracting features from the two-dimensional plane drawing information based on a pre-trained feature model to obtain feature information; Extract features from standard drawing files based on pre-trained feature models to obtain standard feature information; Based on a pre-trained matching model, matching the standard feature information with the feature information to determine a matching score; Based on the matching score, the geometric review result is determined.
8. The method according to claim 7, characterized in that The step of determining the geometric review result based on the matching score comprises: When the matching score is greater than or equal to a preset score, determining that the geometric review result is qualified; When the matching score is less than the preset score, the geometric review result is determined to be unqualified.
9. The method according to any one of claims 1 to 8, characterized in that The step of generating a review report file of the target BIM model based on the attribute review result and the geometry review result comprises: Record the attribute review result and the geometry review result, and determine whether the target BIM model is traversed; When the traversal is completed, an audit report file corresponding to the attribute audit result and the geometry audit result is generated based on the audit report template file.
10. A BIM model review device based on knowledge graph and image matching, characterized in that: The device comprises: A graph construction module, which is used to construct a standard specification knowledge graph based on the review of standard specification documents; A model parsing module is used to parse the BIM project file based on the off-platform development strategy to obtain the target BIM model and extract the attribute information and geometric information of the target BIM model; A model review module, used to compare and review the attribute information of the target BIM model based on the standard specification knowledge graph to obtain an attribute review result; The model review module is further used to project the geometric information of the target BIM model onto a two-dimensional plane to obtain two-dimensional plane drawing information; The model review module is further used to compare and review the geometric information based on the feature information in the two-dimensional plane drawing information to obtain a geometric review result; The model review module is also used to generate a review report file of the target BIM model based on the attribute review result and the geometry review result.
Citation Information
Patent Citations
Method for constructing 3D model feature vector and searching 3D model according to image feature
CN110458946A
Drawing review method, device, computer equipment and storage medium
CN110517223A
Graph-model consistency examination method and system based on knowledge graph, terminal and medium
CN112784345A
Drawing review method and system based on building information model
CN113298497A
Building specification examination method and system based on BiLSTM and knowledge graph
CN114880468A
Cited By
AI-driven construction drawing compliance examination system and method
CN120671228A
Power grid drawing intelligent review method and system based on knowledge graph
CN120833124A
A power grid drawing intelligent review method and system based on a knowledge graph
CN120833124B
Model quality evaluation method and device, electronic equipment, product and storage medium
CN121543182A
Model quality evaluation method and device, electronic equipment, product and storage medium
CN121543182B
