A BIM model space decomposition method and system

By starting from the component attributes of the BIM model, space decomposition is automatically performed to form a space decomposition tree, which solves the problem in the existing technology that BIM model space decomposition relies on manual operations, realizes automated space decomposition and efficient information utilization, and supports sub-models. Extraction and visual presentation.

CN118470223BActive Publication Date: 2024-10-29BEIJING YUNJIANXIN TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410924666.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-29
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

The existing BIM model spatial decomposition relies on manual operations, is complex and cannot be automated, and cannot effectively utilize the spatial information of the BIM model, which limits the further development of BIM technology.

Method used

Starting from the component attributes of the BIM model, spatial decomposition is performed using attribute aggregation and distribution to form a spatial decomposition tree. The DB index or Dunn index is used to determine the cohesion degree, the division criteria are screened, and the components are automatically divided until the termination criterion is reached to generate a spatial decomposition tree.

Benefits of technology

Automatic spatial decomposition of BIM models is realized, which reduces the requirements for modeling. The formed spatial decomposition tree supports sub-model extraction and information query, enhances visual display capabilities, and deepens the understanding of spatial relationships of BIM models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470223B_ABST
    Figure CN118470223B_ABST
Patent Text Reader

Abstract

A BIM model space decomposition method and system, the method comprising: extracting the attributes and spatial coordinates of all components in a BIM model file; creating a space tree node for all the components; selecting the attributes suitable as the division criteria according to the screening criteria; tentatively dividing the components according to each attribute suitable as the division criteria, and judging the division goodness according to the cohesion index, and selecting the attribute with the highest division goodness as the final division criteria; dividing the components in the node into a plurality of sub-nodes according to the final division criteria; generating a space decomposition tree until all nodes of the space tree meet the termination criteria. The BIM model space decomposition method and system of the present invention mines the attributes that can express spatial information in the BIM model, automatically performs space decomposition according to the attributes, has low modeling requirements for the BIM model, and does not need to define the sub-model extraction rules in advance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of BIM (Building Information Model), and in particular to a BIM model space decomposition method and system. Background Art

[0002] Building Information Modeling (BIM for short, hereinafter referred to as BIM model) is a digital expression of the physical and functional characteristics of buildings or structures. In the past decade, BIM technology has developed rapidly and has been widely used in many fields such as construction, infrastructure, and real estate. The extraction of BIM sub-models is an important part of the application of BIM technology in the construction industry. It can help promote professional collaboration, enhance data management capabilities, support visualization and information extraction, etc. The spatial decomposition of BIM models is the basis for the generation of BIM sub-models.

[0003] The application of BIM technology in the construction industry has been continuously deepened, which has become an obvious development trend. The in-depth understanding and full utilization of the spatial relationship of the BIM model has become an important trend in the application of BIM technology, which is crucial to the value of BIM at all stages. However, the lack of relevant tools has become a bottleneck hindering the further development of BIM. At present, the spatial decomposition of BIM models mostly relies on manual operations or more complex sub-model definitions. It cannot automatically decompose the space according to the existing BIM model, and has high modeling requirements for BIM models. Summary of the invention

[0004] In order to solve the defects of the prior art, the purpose of the present invention is to provide a BIM model space decomposition method, starting from the component attributes of the BIM model, according to the clustered distribution of the attributes in space, the attributes that can express spatial information are mined in the BIM model, and the space is automatically decomposed to form a space decomposition tree.

[0005] In order to achieve the above object, the BIM model space decomposition method provided by the present invention includes:

[0006] Extract the properties and spatial coordinates of all components in the BIM model file;

[0007] Creating a space tree node for all the components;

[0008] Filter out attributes suitable as classification criteria according to the screening criteria;

[0009] The components are tentatively divided according to each attribute suitable as a division standard, and the division goodness is judged according to the cohesion index, and the attribute with the highest division goodness is selected as the final division standard. The division goodness is used to judge whether the result after division according to a certain attribute meets the characteristics of high cohesion and low coupling; the cohesion index adopts DB index or Dunn index;

[0010] According to the final division standard, the components in the node are divided into a plurality of sub-nodes;

[0011] When all nodes of the spatial tree reach the termination criteria, a spatial decomposition tree is generated;

[0012] The termination criteria include: there is no attribute in the node that is suitable for being used as a partitioning criterion; the partitioning has reached a preset depth; and the number of components in the node is less than a preset value.

[0013] Furthermore, the step of creating a space tree node for all the components further includes:

[0014] If the vertical projections of the bounding boxes of multiple BIM model files overlap with each other, it means that the multiple BIM model files jointly express a building, then all components are taken as a whole to create a root node;

[0015] If the vertical projections of the bounding boxes of multiple BIM model files do not overlap, it means that each BIM model file expresses a different building. In this case, a root node is created for each BIM model file. The root node is divided into multiple child nodes, and each child node corresponds to a component in a BIM model file.

[0016] Furthermore, the step of selecting attributes suitable as the classification criteria according to the screening criteria further includes:

[0017] Select attributes suitable as classification criteria according to the screening criteria;

[0018] When the number of attributes suitable as the division standard is less than a preset threshold, the attributes are further judged according to the division uniformity index of the attributes, and the attributes whose division uniformity meets the preset conditions are determined to be the attributes suitable as the division standard; the division uniformity index includes: Gini value, intrinsic value, information entropy, and information gain.

[0019] Furthermore, it also includes: setting the screening criteria according to one or more of the attribute type, the proportion of missing values ​​of the attribute, and the number of attribute values ​​in the node, and the screening criteria are used to exclude continuous numerical attributes, attributes with too high a proportion of missing values, or too many or too few values.

[0020] Furthermore, the step of dividing the components in the node into a number of sub-nodes according to the final division standard further includes: for components with missing attributes, classifying them into a separate category, or classifying them into the closest category according to the spatial proximity relationship.

[0021] To achieve the above object, the present invention further provides a BIM model space decomposition system, comprising:

[0022] The component attribute extraction module takes the BIM model file as input, is used to analyze the BIM model file, and extracts the codes, attributes, geometric representations, and spatial coordinates of all components in the model as output, and sends the extraction results to the data storage module;

[0023] A space decomposition module, which is connected to the data storage module, is used to read the code, attributes and spatial coordinates of the component, establish a space tree node, send the data of each node to the attribute analysis module, and divide the space tree node according to the result returned by the attribute analysis module to form a space decomposition tree of the BIM model and send it to the data storage module;

[0024] The attribute analysis module receives the data sent by the spatial decomposition module, obtains the attributes and spatial coordinates of the components in the node, screens and evaluates the attributes, selects the attribute with the highest division quality and returns it to the spatial decomposition module as an output; the attribute analysis module selects the attributes suitable as the division standard according to the screening criteria, performs a trial division of the components according to each attribute suitable as the division standard, and judges the division quality according to the cohesion index, selects the attribute with the highest division quality as the final division standard and outputs it;

[0025] A data storage module, used for receiving and storing data from the component attribute extraction module;

[0026] The data storage module stores the component attributes, spatial coordinates and spatial decomposition tree results of the BIM model file in the form of a file system or a database system;

[0027] The visualization display module is connected to the data storage module and is used to read the structure of the space decomposition tree and the geometric representation of the components in the node and display them on the computer screen.

[0028] Furthermore, the spatial decomposition module is used to create a root node, or a root node and several child nodes for all the components, and further divide the components in the corresponding root node or child node into several child nodes according to the final division standard until each node meets the termination criterion to generate a spatial decomposition tree.

[0029] Furthermore, if the vertical projections of the bounding boxes of multiple BIM model files overlap with each other, the space decomposition module takes all components as a whole and creates a root node;

[0030] If the vertical projections of the bounding boxes of multiple BIM model files do not overlap, the space decomposition module creates a root node for each BIM model file, and the root node is divided into multiple child nodes, each child node corresponding to a component in the BIM model file.

[0031] To achieve the above-mentioned purpose, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is used to execute the computer program stored in the memory to implement the BIM model space decomposition method as described above.

[0032] To achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the BIM model space decomposition method as described above.

[0033] The BIM model space decomposition method provided by the present invention has the following beneficial effects compared with the prior art:

[0034] Based on the BIM model file, the attributes that can express spatial information are mined in the BIM model, and the component attributes are used as the division standard to automatically complete the space decomposition and form the space decomposition tree of the BIM model. This makes the space decomposition of the BIM model no longer rely on manual operation, and the formed space decomposition tree has the advantages of supporting sub-model extraction, information query, and visual display of the BIM model.

[0035] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0037] Figure 1 A flow chart of a BIM model space decomposition method according to an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of the structure of a building information model space decomposition system according to an embodiment of the present invention;

[0039] Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0041] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0042] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0043] It should be noted that the concepts of “first”, “second”, etc. may be mentioned in the present invention only to distinguish different devices, components or parts, and are not used to limit the order or interdependence of the functions performed by these devices, components or parts.

[0044] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more". "Plurality" should be understood as two or more.

[0045] It should be noted that the “node” mentioned in the description of this article may be a root node or a child node, and those skilled in the art should understand it according to the specific situation.

[0046] It should be noted that the revit mentioned in this article is the name of a series of software from Autodesk. The revit series of software is a commonly used BIM modeling software that helps construction industry practitioners design, build and maintain buildings with better quality and higher energy efficiency. rvt format files need to be opened with revit software.

[0047] Example 1

[0048] In an embodiment of the present invention, a BIM model space decomposition method is provided. Taking a building construction project in which the processing object is a building as an example, the specific implementation method of the BIM model space decomposition method is described in detail. A building can be divided into different floors, and each floor can be further decomposed into several areas. Using such a decomposition structure, the space of the building can be divided level by level to form a space decomposition tree. The building construction project contains a building, but is composed of multiple BIM model files in rvt format, and each BIM model file contains a professional model of several floors.

[0049] Figure 1 The flowchart of the BIM model space decomposition method according to an embodiment of the present invention is as follows. Figure 1 The steps of the BIM model space decomposition method of the present invention are described in detail.

[0050] First, in step 101, the properties and spatial coordinates of all components in the BIM model file are extracted.

[0051] In this embodiment, the Revit secondary development interface is used to obtain the GUID (globally unique identifier) ​​of all components as the primary key, and to obtain the properties of all components and the xyz coordinates (three-dimensional coordinates) of the bounding box, and the obtained results are stored in the file system, wherein the properties of the components are stored in the json format as the first file, and the geometric information of the components is stored separately in the obj format as the second file.

[0052] In step 102, space tree nodes are created for all components.

[0053] In this embodiment, the vertical projections of the bounding boxes of the BIM model files overlap with each other, indicating that multiple BIM model files jointly express a building, so all components should be treated as a whole to create a root node.

[0054] In step 103, the attributes are screened. The attributes of the components in the node are analyzed, and according to certain rules, it is determined whether each attribute is suitable as a division standard. If no attribute is suitable as a division standard, the node is not divided, and steps 104 to 106 are skipped.

[0055] In an embodiment of the present invention, the screening of attributes is divided into two stages: the first screening stage excludes attributes that are not suitable as division criteria, and the second screening stage further judges the uniformity of attribute division. If the number of attributes is already small after the first screening stage, the second screening stage may not be performed. Among them, the criteria for excluding attributes in the first stage include one or more of the attribute type, the proportion of missing values ​​of the attribute, and the number of attribute values ​​in the node. This stage should exclude continuous numerical attributes, attributes with too high a proportion of missing values, and too many or too few values. The second stage is judged based on the uniformity of attribute division, and the indicators that can be used include Gini value, inherent value, information entropy, and information gain.

[0056] In some implementations, a threshold value for the number of attributes may be set. If the number of attributes is less than the threshold value after the first screening stage is completed, the second screening stage is not performed.

[0057] In this embodiment, all attribute names are extracted for all components in the node. Each attribute is traversed and the following criteria are used to determine whether the attribute is suitable as a classification standard:

[0058] (1) The value of the attribute is not a numeric data; (2) The value of the attribute cannot be only one; (3) The value of the attribute cannot exceed half of the number of components in the node; (4) The number of missing attributes cannot exceed half of the number of components in the node. If all attributes are not suitable as a division criterion, the division is terminated.

[0059] In step 104, the attribute with the highest partitioning goodness is selected. Each attribute suitable as a partitioning standard is tentatively partitioned, and the partitioning goodness of each attribute suitable as a partitioning standard is judged according to the cohesion standard, and the attribute with the highest partitioning goodness is selected as the final partitioning standard. The partitioning goodness is used to judge whether the result after partitioning according to this attribute meets the characteristics of high cohesion and low coupling. The indicators that can be used include DB index and Dunn index.

[0060] In the embodiment of the present invention, when calculating the partitioning goodness, the distance between two components may be the closest distance between components, the farthest distance between components, the closest distance between bounding boxes, the farthest distance between bounding boxes, or the distance between the centers of bounding boxes.

[0061] In the embodiment of the present invention, the distance metric may be Manhattan distance, Euclidean distance, Minkowski distance, Chebyshev distance or weighted distance.

[0062] In this embodiment, for each attribute suitable as a division standard, the component is tentatively divided to form a number of sub-nodes, and the division quality is judged according to the cohesion standard. First, for each sub-node obtained by the tentative division, the farthest distance between the internal components is calculated, where the distance metric uses the bounding box center distance. Then the distance between the centers of each sub-node is calculated, and finally the DB index of the spatial division is calculated to obtain the DB index corresponding to each attribute. After calculating the DB index for all attributes, the attribute with the largest DB index is selected as the final division standard.

[0063] In step 105, the components in the node are divided into several sub-nodes according to the attributes of the final division standard. For components with missing attributes, the components are classified into the closest class according to the spatial proximity relationship.

[0064] In step 106, for each child node, it is determined whether the termination criterion is met. If the termination criterion is met, the division is stopped; if the termination criterion is not met, the process returns to step 103 to continue the division.

[0065] In an embodiment of the present invention, termination criteria include: no attributes suitable for division criteria exist in the node; the division has reached a certain depth (such as the number of division layers exceeds a preset number of layers); the number of components in the node is too small (or less than a preset standard).

[0066] In this embodiment, the termination criteria include: the division has reached 4 layers; the number of components in the node is less than 10.

[0067] In step 107, after all child nodes have reached the termination criteria, a spatial decomposition tree is formed. If the number of layers of the formed decomposition tree is too large, post-pruning can be performed to retain only the first several layers of decomposition results.

[0068] In this embodiment, the space decomposition tree is expressed in json format and saved as a file. The formed space decomposition tree first decomposes the entire building into floors, each floor into different areas, and finally each area into different types of components.

[0069] The BIM model space decomposition method provided by the present invention has the following advantages:

[0070] Analyze the existing BIM model, use component attributes as the division criteria, and divide it layer by layer with low cohesion and high coupling evaluation indicators, and finally form a space decomposition tree. In this way, space decomposition is performed according to component attributes, and the established space decomposition tree has practical significance for construction projects;

[0071] According to the information of the BIM model file itself, the attributes suitable for space division standards are automatically analyzed and screened step by step to generate a space decomposition tree. Each space node has a high cohesion and low coupling relationship, which deepens the computer's understanding of the spatial relationship of the BIM model;

[0072] The modeling requirements for BIM models are low, and the spatial decomposition of BIM models can be automatically completed without the need to define sub-model extraction rules in advance and without relying on manual operations. The formed spatial decomposition tree can support sub-model extraction, information query, and visualization display of BIM models.

[0073] Example 2

[0074] The difference between this embodiment and the first embodiment is that the processing object of the BIM model space decomposition method is a building construction project including multiple buildings. The project is composed of multiple BIM model files in ifc format. Each BIM model file contains information of a building and should be processed separately when performing spatial decomposition.

[0075] The ifc format is a unified data format for defining extensible building information to facilitate interaction between architectural, engineering and construction software applications. In order to fully describe all objects in a project, the ifc format standard uses object-oriented features to describe the association between data using various relationships such as inheritance, polymorphism, encapsulation, abstraction, and reference.

[0076] First, in step 201, the properties and spatial coordinates of all components in the BIM model file are extracted.

[0077] In this embodiment, the IFC secondary development interface is used to obtain the GUID of all components as the primary key, and to obtain the properties of all components and the xyz coordinates of the bounding box, which are stored in the MySQL database. After the geometric information of the components is converted into binary data, it is also stored in the same database.

[0078] In step 202, space tree nodes are created for all components.

[0079] In this embodiment, the vertical projections of the bounding boxes of each BIM model file do not overlap, indicating that each BIM model file expresses a different building. Therefore, each BIM model file should be processed separately, that is, first establish a root node, and the root node is divided into multiple sub-nodes, each sub-node corresponding to a component in a BIM model file.

[0080] In step 203, the attributes are screened. For all components in the node, all attribute names are extracted. Each attribute is traversed and the following rules are used to determine whether the attribute is suitable as a division criterion: (1) The value of the attribute is not numeric data; (2) The attribute cannot have only one value; (3) The value of the attribute cannot exceed 20% of the number of components in the node; (4) The number of missing attributes cannot exceed 40% of the number of components in the node. If all attributes are not suitable as division criteria, the division is terminated. After screening, if there are more than 5 candidate attributes, the second stage of screening is performed, that is, the Gini value of the node after division is calculated, and the 5 attributes with the largest Gini value are selected as candidate attributes, and step 204 is entered.

[0081] In step 204, the attribute with the highest partitioning quality is selected. For each attribute suitable as a partitioning criterion, a trial partition is performed to form a number of child nodes. First, for each child node obtained by the trial partitioning, the distance between its internal components is calculated, where the distance metric uses the closest distance of the bounding box. Then the distance between the centers of each child node obtained by the trial partitioning is calculated, and finally the Dunn index of the spatial partitioning is calculated (the Dunn index refers to the shortest distance between any two clusters divided by the longest distance between the points of any cluster), and the Dunn index corresponding to each attribute is obtained. After calculating the Dunn index for all attributes, the attribute with the largest Dunn index is selected as the final partitioning criterion.

[0082] In step 205, components in the node are divided into a number of sub-nodes according to the attributes of the final division standard. Components with missing attributes are treated as a separate category.

[0083] In step 206, for each child node, it is determined whether the termination criterion is met. If the termination criterion is met, the division is stopped; if the termination criterion is not met, the process returns to step 203 to continue the division.

[0084] The termination criteria include: (1) the partitioning has reached 5 layers; (2) the number of components in the node is less than 5.

[0085] In step 207, after all child nodes have reached the termination criteria, a spatial decomposition tree is formed, and the parent-child relationship of the spatial decomposition is recorded in the database.

[0086] In this embodiment, the formed space decomposition tree first decomposes the entire project into a single building, each building is decomposed into floors, each floor is decomposed into different construction sections, and each construction section is divided into different component types. Due to the large number of decomposition levels, the space decomposition tree is post-pruned to retain only the results of the first 4 levels of decomposition.

[0087] Example 3

[0088] In an embodiment of the present invention, a building information model space decomposition system is provided, which adopts the BIM model space decomposition method of the above embodiment to realize automatic space decomposition of the building information model to form a space decomposition tree. The system includes: a component attribute extraction module, a space decomposition module, an attribute analysis module, and a data storage module, wherein:

[0089] The component attribute extraction module takes the BIM model file as input, is used to analyze the BIM model file, extracts the codes, attributes, geometric representations, and spatial coordinates of all components in the model as output, and sends the extraction results to the data storage module;

[0090] The spatial decomposition module is connected to the data storage module to read the component code, attributes and spatial coordinates to establish the spatial tree node; for each node, the data is sent to the attribute analysis module, and the spatial tree nodes are divided according to the returned results, finally forming the spatial decomposition tree of the BIM model, and the decomposition results are sent to the data storage module for storage;

[0091] The attribute analysis module receives the attributes and spatial coordinates of the components in the node from the spatial decomposition module, screens and evaluates the attributes, selects the attribute with the highest division quality, and returns the result as output to the spatial decomposition module;

[0092] The data storage module receives the data from the component attribute extraction module and stores the component attributes, space coordinates and space tree division results of the BIM model file.

[0093] In the embodiment of the present invention, the data storage module may be in the form of a file system, a database system, etc., preferably a database system.

[0094] The building information model space decomposition system also includes a visualization display module (optional module) to facilitate the visualization of decomposition results: the visualization display module is connected to the data storage module, reads the spatial tree decomposition structure, the geometric representation of the node internal components, and displays them on the computer screen.

[0095] Figure 2 The schematic diagram of the structure of the building information model space decomposition system according to the embodiment of the present invention is as follows. Figure 2 The building information model space decomposition system of the present invention is described in detail.

[0096] like Figure 2 As shown, the building information model space decomposition system of the present invention includes:

[0097] The component attribute extraction module 301 parses the BIM model files in the rvt, ifc and other formats, extracts the guids of all components in the BIM model files as the component codes, and extracts the attributes, geometric representations, and bounding box space coordinates of the components, and stores the extracted results in the json file format or obj format into the data storage module 303.

[0098] The spatial decomposition module 302 is connected to the data storage module 303, reads the GUID, attributes and spatial coordinates of the component from the file system or database, and establishes the spatial tree nodes (including root nodes and child nodes); for each node, the data is sent to the attribute analysis module 304, and the nodes are divided according to the attributes with the highest division quality received, until each node meets the termination criterion, forming a spatial decomposition tree of the BIM model; finally, the spatial decomposition tree is sent to the data storage module 303, and stored in the file system in JSON format, or stored in the MySQL database.

[0099] The attribute analysis module 304 receives the attributes and coordinates of the components in the node from the spatial decomposition module 302, selects the attributes suitable as the division criteria according to the screening criteria, tentatively divides the components according to each attribute suitable as the division criteria, and judges the division quality according to the cohesion index, selects the attribute with the highest division quality, and returns the optimal attribute (i.e., the final division criterion) to the spatial decomposition module 302.

[0100] The data storage module 303 adopts the form of a file system or a MySQL database to receive data from the component attribute extraction module 301 and store the component attributes, spatial coordinates and division results of the space decomposition tree of the BIM model file.

[0101] The visualization display module 305 is connected to the data storage module 303 and is used to read the spatial tree decomposition structure and display it on the computer screen; the user clicks on the spatial tree to browse the spatial decomposition structure. After clicking on a spatial tree node, the geometric information of the component under the node is read from the data storage module 303 and the component is displayed on the computer screen.

[0102] Example 4

[0103] In an embodiment of the present invention, an electronic device is also provided. Figure 3 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Figure 3 As shown, the electronic device of the present invention includes a processor 401 and a memory 402, wherein:

[0104] The memory 402 stores a computer program, and when the computer program is read and executed by the processor 401, the computer program executes the steps in the embodiment of the BIM model space decomposition method as described above.

[0105] Example 5

[0106] In an embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the steps in the BIM model space decomposition method embodiment described above when running.

[0107] In this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0108] Those skilled in the art can understand that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for spatial decomposition of a building information model (BIM) model. It is characterized in that The following steps are involved: Extract the properties and spatial coordinates of all components in the BIM model file; Creating a space tree node for all the components; Filter out attributes suitable as classification criteria according to the screening criteria; The components are tentatively divided according to each attribute suitable as a division standard, and the division goodness is judged according to the cohesion index, and the attribute with the highest division goodness is selected as the final division standard. The division goodness is used to judge whether the result after division according to a certain attribute meets the characteristics of high cohesion and low coupling; the cohesion index adopts DB index or Dunn index; According to the final division standard, the components in the node are divided into a plurality of sub-nodes; When all nodes of the spatial tree reach the termination criteria, a spatial decomposition tree is generated; The termination criteria include: there is no attribute suitable for the division standard in the node; the division has reached a preset depth; the number of components in the node is less than a preset value; The method further includes: setting the screening criteria according to one or more of the attribute type, the attribute missing value ratio, and the number of attribute values ​​in the node, wherein the screening criteria are used to exclude continuous numerical attributes, attributes with too high a missing value ratio, or attributes with too many or too few values; The method further includes: screening the attributes, wherein the screening is divided into two stages: the first screening stage excludes attributes that are not suitable as the division standard, and the second screening stage judges the division uniformity of the attributes; if the number of attributes is less than the preset attribute number threshold after the first screening stage, the second screening stage is not performed; wherein the first screening stage excludes continuous numerical attributes, attributes with too high a proportion of missing values, and attributes with too many or too few values; The step of selecting attributes suitable as the classification criteria according to the screening criteria further includes: Select attributes suitable as classification criteria according to the screening criteria; When the number of attributes suitable as the division standard is greater than or equal to the preset attribute number threshold, the attributes are judged according to the attribute division uniformity index, and the attributes whose division uniformity meets the preset conditions are determined to be the attributes suitable as the division standard; the division uniformity index includes: Gini value, intrinsic value, information entropy, and information gain.

2. The method for decomposing a BIM model space according to claim 1, It is characterized in that The step of creating a space tree node for all the components further comprises: If the vertical projections of the bounding boxes of multiple BIM model files overlap with each other, it means that the multiple BIM model files jointly express a building, then all components are taken as a whole to create a root node; If the vertical projections of the bounding boxes of multiple BIM model files do not overlap, it means that each BIM model file expresses a different building. In this case, a root node is created for each BIM model file. The root node is divided into multiple child nodes, and each child node corresponds to a component in a BIM model file.

3. The method for decomposing a BIM model space according to claim 1, It is characterized in that The step of dividing the components in the node into a plurality of sub-nodes according to the final division standard further includes: for components with missing attributes, classifying them into a separate category, or classifying them into the closest category according to the spatial proximity relationship.

4. A building information model (BIM) model space decomposition system, using the building information model (BIM) model space decomposition method according to any one of claims 1 to 3, It is characterized in that include: The component attribute extraction module takes the BIM model file as input, is used to analyze the BIM model file, and extracts the codes, attributes, geometric representations, and spatial coordinates of all components in the model as output, and sends the extraction results to the data storage module; A space decomposition module, which is connected to the data storage module, is used to read the code, attributes and spatial coordinates of the component, establish a space tree node, send the data of each node to the attribute analysis module, and divide the space tree node according to the result returned by the attribute analysis module to form a space decomposition tree of the BIM model and send it to the data storage module; An attribute analysis module receives data sent by the spatial decomposition module, obtains the attributes and spatial coordinates of the components in the node, screens and evaluates the attributes, selects the attribute with the highest division quality and returns it to the spatial decomposition module as output; The attribute analysis module selects attributes suitable for use as a division standard according to the screening criteria, performs a trial division of the components according to each attribute suitable for use as a division standard, and determines the division quality according to the cohesion index, selects the attribute with the highest division quality as the final division standard and outputs it; A data storage module, used for receiving and storing data from the component attribute extraction module; The data storage module stores the component attributes, spatial coordinates and spatial decomposition tree results of the BIM model file in the form of a file system or a database system; The visualization display module is connected to the data storage module and is used to read the structure of the space decomposition tree and the geometric representation of the components in the node and display them on the computer screen.

5. The BIM model space decomposition system according to claim 4, It is characterized in that The spatial decomposition module is used to create a root node, or a root node and several sub-nodes for all the components, and divide the components in the corresponding root node or sub-node into several sub-nodes according to the final division standard until each node reaches the termination criterion, thereby generating a spatial decomposition tree.

6. The BIM model space decomposition system according to claim 5, It is characterized in that If the vertical projections of the bounding boxes of multiple BIM model files overlap with each other, the space decomposition module takes all components as a whole and creates a root node; If the vertical projections of the bounding boxes of multiple BIM model files do not overlap, the space decomposition module creates a root node for each BIM model file, and the root node is divided into multiple child nodes, each child node corresponding to a component in the BIM model file.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that The processor is used to execute the computer program stored in the memory to implement the steps of the building information model (BIM) model space decomposition method described in any one of claims 1 to 3.

8. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, which is loaded and executed by a processor to implement the steps of the building information model (BIM) model space decomposition method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Hook group module division method for considering incidence relation between any pairwise modules

    CN107992717A

  • A data generation method and device for a building information model BIM

    CN109558688A

  • Generation method and device of proxy model in virtual scene and electronic equipment

    CN115837163A