BIM data processing method, device and computer storage medium
By obtaining BIM component attributes and relationship information, exporting to the graph database, and exporting geometric models according to floor classification, the problem that the BIM model is not easy to flow and interact between upstream and downstream software is solved, efficient data conversion and storage is achieved, and model opening performance is improved.
Patent Information
- Application Number
- CN202111131273.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2041-09-26
AI Technical Summary
The existing BIM model is not easy to flow and interact between upstream and downstream software, and the problem of IFC storage space taking up more, data loading slowly, and waiting time is long.
By obtaining the attribute information of BIM components and the relationship information between components, exporting them to the graph database, and exporting the geometric model into an independent 3D format file according to floor classification, supporting asynchronous loading and parsing of geometric files.
It realizes efficient conversion and storage of BIM data, avoids the problem of long-term waiting for large files, improves model opening performance, and meets the needs of in-depth application such as geometric model analysis and calculation.
Smart Images

Figure CN113886621B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building models, and in particular to a BIM data processing method, device and computer storage medium. Background Art
[0002] BIM technology is becoming more and more popular in the construction industry, but because BIM models are based on proprietary formats of professional design tools, they are not conducive to the circulation between upstream and downstream software ecosystems. Although lightweight technology can be used to solve collaboration problems, the current lightweight technology is more used for browsing scenarios and is not suitable for the in-depth application of BIM models. For example, in quantity calculation scenarios, three-dimensional Boolean operations are required. Although IFC can be used as a standard for data exchange between software ecosystems, the performance optimization space is low because the content covered by IFC is too large, and there are problems such as slow data loading and long waiting time. In view of this, this application is specially proposed. Summary of the invention
[0003] In view of the deficiencies in the prior art, the present invention proposes a BIM data processing method, device and computer storage medium, thereby solving the problems that the existing BIM model is not easy to circulate and interact between upstream and downstream software, and the existing IFC storage space occupies a large amount of space, data loading is slow, and waiting time is long.
[0004] The present invention provides a BIM data processing method, comprising:
[0005] Step 1: Obtain the attribute information of BIM components and the relationship information between components as the basic information of the component object, and associate the component object with the corresponding BIM geometric model through GUID;
[0006] Step 2: Export the basic information of the component object to a graph database;
[0007] Step 3: Compare and classify the components according to their bottom elevation attributes and floor elevations, and export the geometric models of the components into independent 3D format files according to the floor classifications;
[0008] Step 4: According to the 3D format file, store it as a dedicated graphic file of the own BIM application platform by floor, and set support for asynchronous loading and parsing of geometric files;
[0009] Step 5: Load the corresponding dedicated graphic file according to the target floor selected by the user, and search and display the corresponding component attribute information according to the graphic object selected by the user.
[0010] Further, as an executable solution, step 3 exports the geometric model of the component into an independent 3D format file by floor classification, specifically including:
[0011] Step A1: Create a compressed file stream A for storing the target file;
[0012] Step A2: Obtain BIM component data set B according to a given floor elevation;
[0013] Step A3: traverse the component data set B to obtain geometric information;
[0014] Step A4: creating a memory stream C, and writing the geometric information into the memory stream C;
[0015] Step A5: after the traversal is completed, the memory stream C is written into the compressed file stream A;
[0016] Step A6: Given the next floor elevation, loop through steps A2 to A5 until all BIM component data for all floor elevations are processed.
[0017] Further, as an executable solution, after exporting the basic information of the component object to the graph database in step 2, the method further includes:
[0018] Compress the files in the graph database into the compressed file stream A to complete the storage operation.
[0019] Further, as an executable solution, step 4 stores the 3D format file as a dedicated graphic file of the own BIM application platform by floor, specifically including:
[0020] Step B1: Create file stream A to open the compressed file stream A;
[0021] Step B2: reading the geometric information corresponding to the floor stored in the compressed file stream A according to the floor;
[0022] Step B3: parsing and loading the geometric information through the CAD graphics platform;
[0023] Step B4: storing the geometric information in a CAD graphics platform-specific format;
[0024] Step B5: Obtain and read the geometric information corresponding to the floor stored in the next compressed file stream A according to the floor, and repeat steps B3 and B4 until all floors are processed.
[0025] Furthermore, as an executable solution, the method further includes:
[0026] Determine whether the file format in the image database in the compressed file stream A belongs to the proprietary format of the CAD graphics platform, and if so, directly store it in the corresponding designated storage directory;
[0027] If not, the files in the graphics database in the compressed file stream A are parsed through the CAD graphics platform and stored in a corresponding designated storage directory in a proprietary format of the CAD graphics platform.
[0028] On the other hand, an embodiment of the present invention further provides a BIM data processing device, including:
[0029] A memory storing executable program code;
[0030] a processor coupled to the memory;
[0031] The processor calls the executable program code stored in the memory to execute any one of the methods described above.
[0032] On the other hand, an embodiment of the present invention further provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enables the computer to execute any one of the above-mentioned methods.
[0033] By adopting the above technical scheme, the present invention can achieve the following technical effects: Compared with the prior art, the BIM data processing method realizes the conversion of geometric information, avoids the method of splitting and reusing geometric data in three-dimensional data files adopted by lightweight technology, and restores the specific geometric information expressed in professional design tools to the greatest extent; at the same time, the divide-and-conquer idea is adopted to classify and store geometric information according to floor elevations to avoid the long waiting problem of large file IO. For component attribute information and the spatial relationship between components, desktop graphic database technology is used for storage. At the same time, the asynchronous loading capability of eyeshot for proprietary formats can be used to realize asynchronous loading of multi-model files, thereby improving the model opening performance. The BIM data processing method described in the present invention can meet the deep application needs such as geometric model analysis and calculation, while meeting the performance requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A schematic diagram of a flow chart of a BIM data processing method according to an embodiment of the present invention is depicted;
[0036] Figure 2 Draws Figure 1 Specific flow chart of step 3 in FIG.
[0037] Figure 3 Draws Figure 1 Specific flow chart of step 4 in FIG.
[0038] Figure 4 A structural schematic diagram of a BIM data processing device according to an embodiment of the present invention is depicted. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] Embodiment 1
[0041] like Figure 1 As shown, an embodiment of the present invention provides a BIM data processing method, including:
[0042] Step 1: Obtain the attribute information of the BIM component and the relationship information between the components as the basic information of the component object, and associate the component object with the corresponding BIM geometric model through GUID.
[0043] It should be noted that the component object is associated with the corresponding BIM geometric model through the GUID, so that the component and the geometric model can be re-associated during the subsequent import in step 5. Specifically, the BIM geometric model may include a graphic object ID, according to which the corresponding component object can be mapped and the basic information of the component object can be obtained.
[0044] Taking the column as an example, the attribute information includes the cross-sectional size, top elevation, bottom elevation and material, etc.; the relationship between components, the components intersecting with the same floor may be beams, plates, walls and other components, and the components intersecting with the upper and lower floors are mainly columns, but may also be walls. This type of attribute information and component relationship is extracted from the visual model, which is conducive to subsequent information detection and analysis.
[0045] Step 2: Export the basic information of the component object to a graph database.
[0046] It should be noted that the graph data model used to store BIM's component attributes and relationship data is based on the content described in the patent 202010526985.7 (A method and construction device for constructing a BIM full-cycle data model). The preferred graph database technology of the present invention adopts VelocityGraph to facilitate its use as a desktop application tool scenario.
[0047] Furthermore, in one example, after exporting the basic information of the component object to the graph database in step 2, the method may further include:
[0048] Compress the files in the graph database into the compressed file stream A to complete the storage operation.
[0049] Step 3: Compare and classify the components according to their bottom elevation attributes and floor elevations, and export the geometric models of the components into independent 3D format files according to the floor classifications.
[0050] It should be noted that the choice of 3D format file determines the size of the exported file and the size occupied in the memory. The present invention preferably adopts the FBX format, which has a relatively large advantage in file size and memory usage.
[0051] Take Floor 1 (elevation 0-3 meters) and Floor 2 (elevation 3-6 meters) as examples, where there are column components 1 and 2. The bottom elevation of column component 1 falls within the elevation range of Floor 1, and the bottom elevation of column component 2 falls within the elevation range of Floor 2. Therefore, the exported files will be divided into two files, Floor 1 and Floor 2. The geometric model of column component 1 is stored in the file of Floor 1, and the geometric model of column component 2 is stored in the file of Floor 2.
[0052] Step 4: According to the 3D format file, store it as a dedicated graphic file of the own BIM application platform by floor, and set it to support asynchronous loading and parsing of geometric files.
[0053] It should be noted that since the volume of the geometric model may be relatively large, the IO bottleneck it brings is also relatively large; the traditional approach is to process it in the UI thread, which is more likely to cause the interactive interface to get stuck, affecting the user experience. In the embodiment of the present invention, the asynchronous loading capability of eyeshot for proprietary formats can be used to implement asynchronous loading of multiple model files, thereby improving the model opening performance, avoiding freezes in the interactive interface, and further improving the user experience.
[0054] Step 5: Load the corresponding dedicated graphic file according to the target floor selected by the user, and search and display the corresponding component attribute information according to the graphic object selected by the user.
[0055] For example, the basic information corresponding to the component can be searched according to the corresponding ID of the graphic, and the attribute information required to be displayed for the component can be selected and displayed according to the basic information.
[0056] This BIM data processing method realizes the conversion of geometric information, avoids the method of splitting and reusing geometric data in three-dimensional data files adopted by lightweight technology, and restores the specific geometric information expressed in professional design tools to the greatest extent; at the same time, the divide-and-conquer idea is adopted to classify and store geometric information according to floor elevations to avoid the long waiting time of large file IO. For component attribute information and the spatial relationship between components, desktop graphic database technology is used for storage. At the same time, the asynchronous loading capability of eyeshot for proprietary formats can be used to realize asynchronous loading of multi-model files, thereby improving the model opening performance. The BIM data processing method described in the present invention can meet the deep application needs such as geometric model analysis and calculation, while meeting the performance requirements.
[0057] Furthermore, after the BIM data processing method, display and calculation BIM data described in the embodiment of the present invention enters the upstream and downstream ecological software, such as BIM quantity calculation software, BIM labeling software, etc., it is necessary to be able to quickly open the model. In view of the fact that many scenes only need to be viewed by floor, in terms of model display, through the above processing steps, the model is split and displayed according to the floors required by the user, avoiding long IO waiting caused by large models; and, because the imported geometric information has not been lightweight processed, in terms of calculation, it can better meet the needs of three-dimensional Boolean operations and component intersection relationship analysis.
[0058] Furthermore, in one example, step 3 exports the geometric model of the component into an independent 3D format file by floor classification, specifically including:
[0059] Step A1: Create a compressed file stream A for storing the target file.
[0060] Specifically, this part of the application is in the Revit plug-in application, which creates a compressed file stream in memory to reduce the file IO bottleneck and improve efficiency.
[0061] Step A2: Obtain BIM component data set B according to the given floor elevation.
[0062] Step A3: traverse the component data set B to obtain geometric information.
[0063] Specifically, the geometric information can be obtained by accessing an API provided by Revit, and the geometric information may include dimensions and spatial topological relationships, etc.
[0064] Step A4: Create a memory stream C, and write the geometric information into the memory stream C.
[0065] Specifically, for the conversion of BIM geometric information, fbx or obj format can be selected as the storage format, and fbx is preferred (fbx has better compression effect and relatively higher performance).
[0066] Step A5: After the traversal is completed, the memory stream C is written into the compressed file stream A.
[0067] Step A6: Given the next floor elevation, loop through steps A2 to A5 until all BIM component data for all floor elevations are processed.
[0068] Furthermore, file processing mainly refers to the processing operations such as the conversion of BIM data and the analysis before application after storage. The goal of file processing is to convert files into a specific processing format to improve performance and meet the needs of deep application. Since the display of BIM geometric models requires a corresponding CAD graphics platform, the present invention prefers DevDept Eyeshot.
[0069] Specifically, step 4 stores the 3D format file as a dedicated graphic file of the own BIM application platform by floor, specifically including:
[0070] Step B1: Create file stream A to open the compressed file stream A.
[0071] Specifically, in terms of storage, there is a special storage function that creates a corresponding independent file stream A corresponding to the compressed file stream A.
[0072] Step B2: Read the geometric information corresponding to the floor stored in the compressed file stream A according to the floor.
[0073] Step B3: Parse and load the geometric information through the CAD graphics platform.
[0074] Step B4: storing the geometric information in a format specific to the CAD graphics platform.
[0075] Step B5: Obtain and read the geometric information corresponding to the floor stored in the next compressed file stream A according to the floor, and repeat steps B3 and B4 until all floors are processed.
[0076] It should be noted that the component attributes and relationship data stored in the graph database can be copied to a specified storage directory for direct reuse or secondary processing as needed.
[0077] Specifically, in one example, the method may further include:
[0078] Determine whether the file format in the image database in the compressed file stream A belongs to the proprietary format of the CAD graphics platform, and if so, directly store it in the corresponding designated storage directory;
[0079] If not, the files in the graphics database in the compressed file stream A are parsed through the CAD graphics platform and stored in a corresponding designated storage directory in a proprietary format of the CAD graphics platform.
[0080] Specifically, generally, before importing data, a data environment will be created, and the environment will specify a storage directory, such as a CAD graphics platform storage directory.
[0081] This BIM data processing method realizes the conversion of geometric information, avoids the method of splitting and reusing geometric data in three-dimensional data files adopted by lightweight technology, and restores the specific geometric information expressed in professional design tools to the greatest extent; at the same time, the divide-and-conquer idea is adopted to classify and store geometric information according to floor elevations to avoid the long waiting time of large file IO. For component attribute information and the spatial relationship between components, desktop graphic database technology is used for storage. At the same time, the asynchronous loading capability of eyeshot for proprietary formats can be used to realize asynchronous loading of multi-model files, thereby improving the model opening performance. The BIM data processing method described in the present invention can meet the deep application needs such as geometric model analysis and calculation, while meeting the performance requirements.
[0082] Embodiment 2
[0083] Based on the same inventive concept as the first embodiment of the present invention, the second embodiment of the present invention further provides a BIM data processing device, which is characterized by comprising:
[0084] A memory 11 storing executable program codes;
[0085] a processor 12 coupled to the memory;
[0086] The processor 2 calls the executable program code stored in the memory 1 to execute the method according to any one of claims 1 to 5.
[0087] Embodiment 3
[0088] Based on the same inventive concept as the first embodiment of the present invention, the third embodiment of the present invention further provides a computer-readable storage medium, including instructions, which, when executed on a computer, enables the computer to execute the method as described in any one of claims 1-5.
[0089] This BIM data processing method realizes the conversion of geometric information, avoids the method of splitting and reusing geometric data in three-dimensional data files adopted by lightweight technology, and restores the specific geometric information expressed in professional design tools to the greatest extent; at the same time, the divide-and-conquer idea is adopted to classify and store geometric information according to floor elevations to avoid the long waiting time of large file IO. For component attribute information and the spatial relationship between components, desktop graphic database technology is used for storage. At the same time, the asynchronous loading capability of eyeshot for proprietary formats can be used to realize asynchronous loading of multi-model files, thereby improving the model opening performance. The BIM data processing method described in the present invention can meet the deep application needs such as geometric model analysis and calculation, while meeting the performance requirements.
[0090] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0091] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center to another website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0093] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0096] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0097] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
[0098] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0099] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A BIM data processing method, characterized in that: include: Step 1: Obtain the attribute information of BIM components and the relationship information between components as the basic information of the component object, and associate the component object with the corresponding BIM geometric model through GUID; Step 2: Export the basic information of the component object to a graph database; Step 3: Compare and classify the components according to their bottom elevation attributes and floor elevations, and export the geometric models of the components into independent 3D format files according to the floor classifications; Step 4: According to the 3D format file, store it as a dedicated graphic file of the own BIM application platform by floor, and set support for asynchronous loading and parsing of geometric files; Step 5: Load the corresponding dedicated graphic file according to the target floor selected by the user, and search for the basic information of the component according to the corresponding ID of the graphic, select the attribute information that needs to be displayed for the component according to the basic information and display it.
2. The processing method according to claim 1, characterized in that: Step 3: exporting the geometric model of the component into an independent 3D format file by floor classification, specifically including: Step A1: Create a compressed file stream A for storing the target file; Step A2: Obtain BIM component data set B according to a given floor elevation; Step A3: traverse the component data set B to obtain geometric information; Step A4: creating a memory stream C, and writing the geometric information into the memory stream C; Step A5: after the traversal is completed, the memory stream C is written into the compressed file stream A; Step A6: Given the next floor elevation, loop through steps A2 to A5 until all BIM component data for all floor elevations are processed.
3. The processing method according to claim 2, characterized in that: After exporting the basic information of the component object to the graph database in step 2, the method further includes: Compress the files in the graph database into the compressed file stream A to complete the storage operation.
4. The processing method according to claim 3, characterized in that: Step 4 stores the 3D format file as a dedicated graphic file of the own BIM application platform by floor, specifically including: Step B1: Create file stream A to open the compressed file stream A; Step B2: reading the geometric information corresponding to the floor stored in the compressed file stream A according to the floor; Step B3: parsing and loading the geometric information through the CAD graphics platform; Step B4: storing the geometric information in a CAD graphics platform-specific format; Step B5: Obtain and read the geometric information corresponding to the floor stored in the next compressed file stream A according to the floor, and repeat steps B3 and B4 until all floors are processed.
5. The processing method according to any one of claims 3 or 4, characterized in that: The method further comprises: Determine whether the file format in the image database in the compressed file stream A belongs to the proprietary format of the CAD graphics platform, and if so, directly store it in the corresponding designated storage directory; If not, the files in the graphics database in the compressed file stream A are parsed through the CAD graphics platform and stored in a corresponding designated storage directory in a proprietary format of the CAD graphics platform.
6. A BIM data processing device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method according to any one of claims 1 to 5.
7. A computer-readable storage medium comprising instructions, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
A method and apparatus for constructing a full-lifecycle BIM data model
CN111666622B
BIM data graph engine
CN111858618A
Methods and systems for processing building information modeling (BIM)- based data
US20150088467A1