A method, apparatus, device and storage medium for exporting data
By using target configuration files and read/write API interfaces in the BIM model, data is converted into standard data of the target data standard, solving the problems of complex and non-scalable data export in existing technologies, and realizing an efficient and clear data export process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GLODON CO LTD
- Filing Date
- 2024-08-20
- Publication Date
- 2026-08-04
AI Technical Summary
Existing technologies for exporting BIM model data are complex, cannot separate the data acquisition and export processes, lack scalability, and cannot be applied to different data standards or their versions.
By selecting a configuration file from the preset library, data is obtained from the BIM model using the target configuration file, and the data is converted into standard data of the target data standard through the read/write API interface and stored in a standard file, thus separating the data acquisition and export processes.
It simplifies the data export process, improves R&D efficiency, reduces costs, and can adapt to multiple data standards and versions, expanding the scope of export functionality.
Smart Images

Figure CN119046244B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, device, and storage medium for exporting data. Background Technology
[0002] In the field of architectural modeling, when a BIM (Building Information Modeling) model is created using modeling software, it needs to be exported as a standard data file conforming to common data standards in order to facilitate data review or data transfer. Existing data export solutions generally parse data for a specific data standard and then convert it into a specific standard data file. However, existing data export methods have the following drawbacks: (1) The data export process is relatively complex and does not separate the data acquisition process from the data export process, resulting in the two processes being mixed together and unable to be reused for a specific process; (2) The export process can only be applied to a specific data standard, with poor extensibility and scalability. The export process cannot be applied to another data standard or different versions of the same specific data standard. Therefore, how to export BIM model data into a standard data file conforming to data standards more efficiently has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0003] The purpose of this invention is to provide a method, apparatus, device, and storage medium for exporting data, which can efficiently and accurately convert BIM models into files of a universal data standard for various purposes such as model conversion, data review, and data transmission.
[0004] According to one aspect of the present invention, a method for exporting data is provided, the method comprising:
[0005] When an export command is received, a target configuration file corresponding to the target data standard is selected from a preset library; wherein, a corresponding configuration file is pre-created for each type of data standard in the preset library;
[0006] The data to be exported is obtained from the created BIM model according to the target configuration file;
[0007] The data to be exported is converted into standard data that conforms to the target data standard according to the target configuration file.
[0008] All converted standard data is stored in a preset standard file and saved.
[0009] Optionally, after selecting the target configuration file corresponding to the target data standard from the preset library, the method further includes:
[0010] Load the read / write API interfaces contained in the Software Development Kit (SDK) of the target data standard according to the target configuration file;
[0011] An empty standard file corresponding to the target data standard is generated by calling the read / write API interface.
[0012] Optionally, obtaining the data to be exported from the created BIM model according to the target configuration file includes:
[0013] Based on the exported object component in the configuration file, the objects to be exported are determined from the BIM model; wherein, the objects to be exported include: building units, building floors, and building components;
[0014] Each object to be exported is traversed sequentially, and the original attribute data of the currently traversed object to be exported is obtained according to the object attribute component corresponding to the currently traversed object in the configuration file.
[0015] Optionally, converting the data to be exported into standard data conforming to the target data standard according to the target configuration file includes:
[0016] Each object to be exported is traversed sequentially. Based on the mapping rules in the object attribute component corresponding to the currently traversed object, the original attribute data of the currently traversed object is converted into standard attribute data that conforms to the target data standard.
[0017] Optionally, storing all converted standard data in a preset standard file and saving it includes:
[0018] By calling the read / write API interface, all standard attribute data is written into the standard file according to the format of the target data standard for caching.
[0019] Obtain the hierarchical relationship data between each object to be exported from the BIM model, and write the hierarchical relationship data into the standard file by calling the read / write API interface.
[0020] Optionally, after storing all the converted standard data into a preset standard file and saving it, the method further includes:
[0021] During the process of obtaining the data to be exported from the BIM model according to the target configuration file, the data to be exported that cannot be obtained is written into the preset export report;
[0022] During the process of converting the data to be exported into the standard data according to the target configuration file, the data to be exported that cannot be converted into the standard data is written into the preset export report.
[0023] To achieve the above objectives, the present invention also provides an apparatus for exporting data, the apparatus comprising:
[0024] The receiving module is used to select a target configuration file corresponding to the target data standard from a preset library when an export instruction is received; wherein, a corresponding configuration file is pre-created for each type of data standard in the preset library;
[0025] The acquisition module is used to acquire the data to be exported from the created BIM model according to the target configuration file;
[0026] A conversion module is used to convert the data to be exported into standard data that conforms to the target data standard according to the target configuration file.
[0027] The export module is used to store all converted standard data into a preset standard file and save it.
[0028] Optionally, the device further includes:
[0029] The reporting module is used to write out any unobtainable data to a preset export report during the process of obtaining data to be exported from the BIM model according to the target configuration file; and to write out any data that cannot be converted into standard data during the process of converting the data to be exported according to the target configuration file into the preset export report.
[0030] To achieve the above objectives, the present invention also provides a computer device, which specifically includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the data export method described above.
[0031] To achieve the above objectives, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for exporting data described above.
[0032] The method, apparatus, device, and storage medium for exporting data provided by this invention simplify the data export process by dividing it into a data acquisition process and a data export process. It also enables reusable processing of the basic process, making the entire export process clearer. This not only improves R&D efficiency but also reduces R&D costs. This invention can be adapted to different types of data standards and different versions of the same data standard, greatly expanding the scope of the export function. Attached Figure Description
[0033] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0034] Figure 1 This is an optional flowchart illustrating the data export method provided in Embodiment 1;
[0035] Figure 2 A schematic diagram of another optional process for the data export method provided in Embodiment 1;
[0036] Figure 3 A schematic diagram of an optional component structure of the data exporting device provided in Embodiment 2;
[0037] Figure 4 This is a schematic diagram of an optional hardware architecture for the computer device provided in Embodiment 3. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.
[0039] Example 1
[0040] This invention provides a method for exporting data, such as... Figure 1 As shown, the method specifically includes the following steps:
[0041] Step S101: When an export instruction is received, a target configuration file corresponding to the target data standard is selected from the preset library; wherein, a corresponding configuration file is pre-created for each type of data standard in the preset library.
[0042] In this embodiment, after a user creates a BIM model, they can trigger an export command to convert the information in the BIM model into standard data conforming to the target data standard and store it as a standard file for subsequent data transmission or data review. When the user triggers the export command, they specify the target data standard; that is, the export command includes the target data standard. The target data standard can be one of the following: IFC (Industry Foundation Classes) data standard, GFC (Glodon Foundation Classes) data standard, or Xiong'an XDB data standard. It should also be noted that the target data standard can be different versions of the above three data standards, such as the Shenzhen SZ-IFC data standard or the Hunan HN-IFC data standard.
[0043] In this embodiment, corresponding configuration files are created in advance for different types of data standards. These configuration files are used to determine the original model data to be exported during the export process, as well as to convert the original model data into standard data that conforms to the target data standard. By creating multiple configuration files, it is possible to complete the export operation of multiple data standards through a single export process, making the export process reusable.
[0044] Step S102: Obtain the data to be exported from the created BIM model according to the target configuration file.
[0045] The data to be exported includes: the object to be exported and additional information of the object to be exported; the object to be exported includes at least one of the following: building unit, building floor height, building component; the additional information includes: attribute information and / or shape information.
[0046] In this embodiment, the data to be exported that needs to be standardized can be filtered out from the BIM model through the target configuration file, and only the determined data to be exported is standardized and exported; by exporting data in a targeted manner, the efficiency of data export can be improved and the complexity of export can be reduced.
[0047] Step S103: Convert the data to be exported into standard data that conforms to the target data standard according to the target configuration file.
[0048] In this embodiment, once the data to be exported is determined, it is converted into standard data according to the mapping rules corresponding to that data in the target configuration file. These mapping rules include, but are not limited to, matching data types, unifying units, unifying names, and converting attribute value types. For example, if a certain attribute data in a BIM model is a numeric type, but the target data standard defines this data as a string, then mapping processing is required according to the corresponding mapping rules in the configuration file. By using preset mapping rules, the data to be exported can be accurately converted into standard data, improving the accuracy of data export.
[0049] Step S104: Store all converted standard data in a preset standard file and save it.
[0050] The process involves writing all the converted standard data into the standard file according to the format of the target data standard to complete the data export process.
[0051] This embodiment simplifies the data export process by dividing it into a data acquisition process and a data export process, and enables reusable processing of the basic process. The entire export process is clearer, which not only improves R&D efficiency but also reduces R&D costs. This embodiment can be adapted to different types of data standards and different versions of the same data standard, greatly expanding the scope of the export function.
[0052] Specifically, after step S101, the method further includes:
[0053] Step A1: Load the read / write API interfaces contained in the Software Development Kit (SDK) of the target data standard according to the target configuration file;
[0054] Step A2: Generate an empty standard file corresponding to the target data standard by calling the read / write API interface.
[0055] In this embodiment, after obtaining the target configuration file of the target data standard, the SDK package of the target data standard is first obtained, and then the read / write API interface is obtained from the SDK package. The read / write API interface is used to generate a standard file for storing the converted standard data, and finally the read / write API interface is used to write the converted standard data into the standard file according to the format of the target data standard.
[0056] Specifically, step S102 includes the following steps:
[0057] Step B1: Based on the exported object components in the configuration file, determine the objects to be exported from the BIM model; wherein, the objects to be exported include: building units, building floors, and building components;
[0058] Step B2: Iterate through each object to be exported in sequence, and obtain the original attribute data of the currently exported object according to the object attribute component corresponding to the currently exported object in the configuration file.
[0059] Furthermore, step S102 also includes:
[0060] Step B3: Obtain project data according to the project module in the configuration file; wherein the project data includes at least one of the following: type information of the target data standard, file name of the target configuration file, name information of the modeling software used to create the BIM model, and version information of the modeling software used to create the BIM model.
[0061] In this embodiment, the project module is used to obtain project software-level information, which is written into the schema when generating standard files. Specifically, the project module is used to obtain data from the following fields: Function (type information of the target data standard), ConfigName (file name of the target configuration file), AppName (name information of the modeling software that creates the BIM model), and Version (version information of the modeling software that creates the BIM model).
[0062] In this embodiment, to adapt to different export data standards, the configuration file adopts XML format and features a multi-module, multi-level, and multi-field design. Specifically, the configuration file includes a project module and an export object module. The export object module further includes an export object component and an object attribute component. Each of these components contains multiple fields. The project module allows access to project-level data information, while the export object component in the export object module identifies the objects to be exported from the BIM model that require standardized conversion. Furthermore, the export object module sets corresponding object attribute components for each type of export object to retrieve the original attribute data of the corresponding export object.
[0063] It should be noted that the raw attribute data here corresponds to the additional information of the objects to be exported mentioned above; the data to be exported includes: project data, objects to be exported, and raw attribute data of each object to be exported.
[0064] Specifically, step S103 includes the following steps:
[0065] Each object to be exported is traversed sequentially. Based on the mapping rules in the object attribute component corresponding to the currently traversed object, the original attribute data of the currently traversed object is converted into standard attribute data that conforms to the target data standard.
[0066] It should be noted that, in addition to the attribute fields that need to be standardized, the object attribute component also sets corresponding mapping rules for each attribute field. These attribute fields allow the acquisition of raw attribute data of the object to be exported from the BIM model, while the mapping rules convert the acquired raw attribute data into standard attribute data. For example, an object attribute component includes: Name (original model attribute name), ExportName (attribute name in the data standard), ExportValveType (attribute value type in the data standard), and Unite (attribute unit in the data standard); where Name is the field used to acquire raw attribute data, and ExportName, ExportValveType, and Unite constitute the mapping rules.
[0067] Specifically, step S104 includes the following steps:
[0068] Step C1: Write the project data into the standard file by calling the read / write API interface;
[0069] Step C2: By calling the read / write API interface, all standard attribute data is written into the standard file according to the format of the target data standard for caching;
[0070] Step C3: Obtain the hierarchical relationship data between each object to be exported from the BIM model, and write the hierarchical relationship data into the standard file by calling the read / write API interface.
[0071] In this embodiment, after obtaining the raw data according to the configuration file and converting the raw data into standard data, it is also necessary to call the read / write API interface in the SDK package of the target data standard to write the standard data into a pre-generated standard file in the format required by the target data standard and save it.
[0072] Specifically, after step S104, the method further includes:
[0073] Step D1: During the process of obtaining the data to be exported from the BIM model according to the target configuration file, the data to be exported that cannot be obtained is written into the preset export report;
[0074] Step D2: During the process of converting the data to be exported into the standard data according to the target configuration file, the data to be exported that cannot be converted into the standard data is written into the preset export report.
[0075] During the data export process, there may be instances where writing to the standard file fails. In this embodiment, after saving the standard file, all failed export data will be compiled into an export report, which will then be returned to the user so that they can understand the export status. The export report records all missing data and export error records from the data export process.
[0076] like Figure 2 The diagram shown is a schematic of a complete export process given in this embodiment. Figure 2 As shown, the export process includes five steps: Step 1: Load Configuration, which loads the configuration file and read / write API and generates an empty standard file; Step 2: Data Acquisition, which obtains individual building information, floor information, and component information from the BIM model; Step 3: Export Processing, which standardizes the acquired information. Since some objects to be exported have no attributes or shapes, attribute and shape conversions can be performed optionally; Step 4: Process Hierarchical Relationships, which writes the converted standard data and hierarchical relationship data into the standard file; Step 5: Save File, which saves the standard file for subsequent data exchange or data review.
[0077] This embodiment can be adapted to various data standards, and the adaptation process is relatively simple, which greatly improves development efficiency. It can also handle various types of data review and provide error reports for exported data, which can be displayed to the user.
[0078] Example 2
[0079] This invention provides a device for exporting data, such as... Figure 3 As shown, the device specifically includes the following components:
[0080] The receiving module 301 is used to select a target configuration file corresponding to the target data standard from a preset library when an export instruction is received; wherein, a corresponding configuration file is pre-created for each type of data standard in the preset library;
[0081] The target data standard is one of the following: IFC (Industry Foundation Classes) data standard, GFC (Glodon Foundation Classes) data standard, or Xiong'an XDB data standard. It should also be noted that the target data standard can also be different versions of the above three data standards, such as: Shenzhen SZ-IFC data standard or Hunan HN-IFC data standard.
[0082] The acquisition module 302 is used to acquire the data to be exported from the created BIM model according to the target configuration file;
[0083] The conversion module 303 is used to convert the data to be exported into standard data that conforms to the target data standard according to the target configuration file;
[0084] The export module 304 is used to store all converted standard data into a preset standard file and save it.
[0085] Specifically, the device further includes:
[0086] The generation module is used to load the read / write API interfaces contained in the software development kit (SDK) of the target data standard according to the target configuration file; and generate an empty standard file corresponding to the target data standard by calling the read / write API interfaces.
[0087] Furthermore, the acquisition module 302 is specifically used for:
[0088] Based on the exported object component in the configuration file, the objects to be exported are determined from the BIM model; wherein, the objects to be exported include: building units, building floors, and building components;
[0089] Each object to be exported is traversed sequentially, and the original attribute data of the currently traversed object to be exported is obtained according to the object attribute component corresponding to the currently traversed object in the configuration file.
[0090] In addition, the acquisition module 302 is also used for:
[0091] Project data is obtained from the project module in the configuration file; wherein the project data includes at least one of the following: type information of the target data standard, file name of the target configuration file, name information of the modeling software used to create the BIM model, and version information of the modeling software used to create the BIM model.
[0092] Furthermore, the conversion module 303 is specifically used for:
[0093] Each object to be exported is traversed sequentially. Based on the mapping rules in the object attribute component corresponding to the currently traversed object, the original attribute data of the currently traversed object is converted into standard attribute data that conforms to the target data standard.
[0094] Furthermore, the export module 304 is specifically used for:
[0095] The project data is written to the standard file by calling the read / write API interface;
[0096] By calling the read / write API interface, all standard attribute data is written into the standard file according to the format of the target data standard for caching.
[0097] Obtain the hierarchical relationship data between each object to be exported from the BIM model, and write the hierarchical relationship data into the standard file by calling the read / write API interface.
[0098] Furthermore, the device also includes:
[0099] The reporting module is used to write out any unobtainable data to a preset export report during the process of obtaining data to be exported from the BIM model according to the target configuration file; and to write out any data that cannot be converted into standard data during the process of converting the data to be exported according to the target configuration file into the preset export report.
[0100] This embodiment simplifies the data export process by dividing it into a data acquisition process and a data export process, and enables reusable processing of the basic process. The entire export process is clearer, which not only improves R&D efficiency but also reduces R&D costs. This embodiment can be adapted to different types of data standards and different versions of the same data standard, greatly expanding the scope of the export function.
[0101] Example 3
[0102] This embodiment also provides a computer device, such as a smartphone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server, or cabinet server (including a standalone server or a server cluster composed of multiple servers), etc., capable of executing programs. Figure 4 As shown, the computer device 40 in this embodiment includes, but is not limited to, a memory 401 and a processor 402 that are communicatively connected to each other via a system bus. It should be noted that... Figure 4 Only a computer device 40 with components 401-402 is shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0103] In this embodiment, the memory 401 (i.e., the readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 401 may be an internal storage unit of the computer device 40, such as the hard disk or memory of the computer device 40. In other embodiments, the memory 401 may also be an external storage device of the computer device 40, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 40. Of course, the memory 401 may include both the internal storage unit and the external storage device of the computer device 40. In this embodiment, the memory 401 is typically used to store the operating system and various application software installed on the computer device 40. In addition, the memory 401 may also be used to temporarily store various types of data that have been output or will be output.
[0104] In some embodiments, processor 402 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. This processor 402 is typically used to control the overall operation of computer device 40.
[0105] Specifically, in this embodiment, the processor 402 is used to execute a program for a method of exporting data stored in the memory 401. When the program for the method of exporting data is executed, it implements the following steps:
[0106] When an export command is received, a target configuration file corresponding to the target data standard is selected from a preset library; wherein, a corresponding configuration file is pre-created for each type of data standard in the preset library;
[0107] The data to be exported is obtained from the created BIM model according to the target configuration file;
[0108] The data to be exported is converted into standard data that conforms to the target data standard according to the target configuration file.
[0109] All converted standard data is stored in a preset standard file and saved.
[0110] For a detailed description of the above method steps, please refer to Example 1. This example will not be repeated here.
[0111] Example 4
[0112] This embodiment also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, app store, etc., which stores a computer program. When the computer program is executed by a processor, it implements the following method steps:
[0113] When an export command is received, a target configuration file corresponding to the target data standard is selected from a preset library; wherein, a corresponding configuration file is pre-created for each type of data standard in the preset library;
[0114] The data to be exported is obtained from the created BIM model according to the target configuration file;
[0115] The data to be exported is converted into standard data that conforms to the target data standard according to the target configuration file.
[0116] All converted standard data is stored in a preset standard file and saved.
[0117] For a detailed description of the above method steps, please refer to Example 1. This example will not be repeated here.
[0118] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0119] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0120] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.
[0121] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for exporting data, characterized in that, The method includes: When an export command is received, a target configuration file corresponding to the target data standard is selected from a preset library; wherein, a corresponding configuration file is pre-created for each type of data standard in the preset library; The data to be exported is obtained from the created BIM model according to the target configuration file; The data to be exported is converted into standard data that conforms to the target data standard according to the target configuration file. All converted standard data are stored in a preset standard file and saved. The step of obtaining the data to be exported from the created BIM model according to the target configuration file includes: Based on the export object component in the configuration file, the objects to be exported that need to be standardized and converted are determined from the BIM model; wherein, the objects to be exported include: building units, building floors and building components; Each object to be exported is traversed sequentially. Based on the object attribute component corresponding to the currently traversed object in the configuration file, the original attribute data of the currently traversed object to be exported is obtained. The object attribute component includes attribute fields that need to be standardized and corresponding mapping rules. The step of converting the data to be exported into standard data that conforms to the target data standard according to the target configuration file includes: Each object to be exported is traversed sequentially. Based on the mapping rules in the object attribute component corresponding to the currently traversed object, the original attribute data of the currently traversed object is converted into standard attribute data that conforms to the target data standard.
2. The method for exporting data according to claim 1, characterized in that, After selecting the target configuration file corresponding to the target data standard from the preset library, the method further includes: Load the read / write API interfaces contained in the Software Development Kit (SDK) of the target data standard according to the target configuration file; An empty standard file corresponding to the target data standard is generated by calling the read / write API interface.
3. The method for exporting data according to claim 2, characterized in that, The step of storing all converted standard data into a preset standard file and saving it includes: By calling the read / write API interface, all standard attribute data is written into the standard file according to the format of the target data standard for caching. Obtain the hierarchical relationship data between each object to be exported from the BIM model, and write the hierarchical relationship data into the standard file by calling the read / write API interface.
4. The method for exporting data according to any one of claims 1 to 3, characterized in that, After storing all the converted standard data into a preset standard file and saving it, the method further includes: During the process of obtaining the data to be exported from the BIM model according to the target configuration file, the data to be exported that cannot be obtained is written into the preset export report; During the process of converting the data to be exported into the standard data according to the target configuration file, the data to be exported that cannot be converted into the standard data is written into the preset export report.
5. A device for exporting data, characterized in that, The device includes: The receiving module is used to select a target configuration file corresponding to the target data standard from a preset library when an export instruction is received; wherein, a corresponding configuration file is pre-created for each type of data standard in the preset library; The acquisition module is used to acquire the data to be exported from the created BIM model according to the target configuration file; A conversion module is used to convert the data to be exported into standard data that conforms to the target data standard according to the target configuration file. The export module is used to store all converted standard data into a preset standard file and save it. The acquisition module is used for: Based on the export object component in the configuration file, the objects to be exported that need to be standardized and converted are determined from the BIM model; wherein, the objects to be exported include: building units, building floors and building components; Each object to be exported is traversed sequentially. Based on the object attribute component corresponding to the currently traversed object in the configuration file, the original attribute data of the currently traversed object to be exported is obtained. The object attribute component includes attribute fields that need to be standardized and corresponding mapping rules. The conversion module is used for: Each object to be exported is traversed sequentially. Based on the mapping rules in the object attribute component corresponding to the currently traversed object, the original attribute data of the currently traversed object is converted into standard attribute data that conforms to the target data standard.
6. The data export apparatus according to claim 5, characterized in that, The device further includes: The reporting module is used to write out any unobtainable data to a preset export report during the process of obtaining data to be exported from the BIM model according to the target configuration file; and to write out any data that cannot be converted into standard data during the process of converting the data to be exported according to the target configuration file into the preset export report.
7. A computer device, the computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.