Building model data conversion method, device, equipment, medium and program
By obtaining the format identification of building model data and determining the target conversion function, the problem of insufficient conversion capabilities of BIM data conversion interface for heterogeneous data is solved, and high-precision and efficient data conversion are achieved.
Patent Information
- Application Number
- CN202411643375.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-03-11
AI Technical Summary
The existing BIM data conversion interface has weak ability to convert heterogeneous data, which is prone to data loss and low accuracy.
By obtaining the format identification of building model data, the target conversion function is determined, including structured and unstructured data conversion functions, and data conversion is performed to improve conversion accuracy and accuracy.
It effectively avoids data loss, improves the accuracy and efficiency of data conversion, and ensures that the converted data corresponds to the original data.
Smart Images

Figure CN119598569A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of data processing technology, and in particular to a method, device, equipment, medium and program for converting building model data. Background Art
[0002] For the cross-stage BIM (Building Information Modeling) model data conversion problem, the main technical issue is how to solve the heterogeneous data conversion problem through a configuration-based approach while taking into account data conversion performance.
[0003] In the prior art, the BIM data conversion interface (a technical tool used to convert BIM data between different BIM software or data platforms) is a common data conversion method for general BIM software (professional software used to create, manage and analyze building information models). Generally, it specifies the specific mapping method of BIM data (building information model data) between the source data platform and the target data platform through visual configuration or writing configuration files, which generally includes mapping rules for entity type, attribute, geometry, spatial organization, material and association relationship information. Its characteristics are that it fits the actual user environment and has a strong correlation with BIM data.
[0004] For the BIM data conversion interface, the conversion capability for heterogeneous data is weak, and the rule configuration needs to rely on the content defined by the data standard. The converted data is prone to data loss and has low accuracy. Summary of the invention
[0005] The embodiments of the present invention provide a method, device, electronic device, storage medium and program product for converting building model data, which can avoid the problem of data loss after the building model data to be converted is converted into conversion data, and improve the conversion precision and accuracy of data conversion.
[0006] According to one aspect of the present invention, a method for converting building model data is provided, comprising:
[0007] Acquire a building data format identifier of each building data to be converted in the building model data to be converted; wherein the building data to be converted includes structured building data and unstructured building data;
[0008] Determining a target conversion function of each of the to-be-converted building data according to the building data format identifier, wherein the target conversion function includes a structured data conversion function and an unstructured data conversion function;
[0009] Converting the structured building data by using the structured data conversion function to obtain structured conversion data corresponding to the structured building data;
[0010] The unstructured building data is converted by using the unstructured data conversion function to obtain unstructured conversion data corresponding to the unstructured building data.
[0011] According to another aspect of the present invention, there is provided a building model data conversion device, comprising:
[0012] A building data format identification acquisition module, used to acquire a building data format identification of each building data to be converted in the building model data to be converted; wherein the building data to be converted includes structured building data and unstructured building data;
[0013] A conversion function determination module, used to determine a target conversion function of each of the to-be-converted building data according to the building data format identifier, wherein the target conversion function includes a structured data conversion function and an unstructured data conversion function;
[0014] A structured data conversion module, used to convert the structured building data through the structured data conversion function to obtain structured conversion data corresponding to the structured building data;
[0015] The unstructured data conversion module is used to convert the unstructured building data through the unstructured data conversion function to obtain unstructured conversion data corresponding to the unstructured building data.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor;
[0018] and a memory communicatively coupled to the at least one processor;
[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the building model data conversion method described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the building model data conversion method described in any embodiment of the present invention when executed.
[0021] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method for converting building model data according to any embodiment of the present invention is implemented.
[0022] The embodiment of the present invention obtains the building data format identifier of each building data to be converted, such as structured building data and unstructured building data, in the building model data to be converted, so as to determine the target conversion function such as the structured data conversion function and the unstructured data conversion function of each building data to be converted according to the building data format identifier. Further, the structured building data can be converted by the structured data conversion function to obtain the structured conversion data corresponding to the structured building data, which can improve the flexibility, accuracy and conversion efficiency of the structured data conversion and avoid the problem that the converted data does not correspond to the data to be converted. The unstructured building data can also be converted by the unstructured data conversion function to obtain the unstructured conversion data corresponding to the unstructured building data, which can improve the efficiency of data processing, avoid the data conversion errors caused by the fixed data conversion method when converting the unstructured data, and the problem of data loss after the building model data to be converted is converted into the conversion data, and improve the conversion precision and accuracy of the data conversion.
[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0025] Figure 1 is a flow chart of a building model data conversion method provided by Embodiment 1 of the present invention;
[0026] Figure 2 is a flow chart of another building model data conversion method provided by Embodiment 2 of the present invention;
[0027] Figure 3 It is a schematic diagram of a composition structure of importing multi-source building model files according to preset filtering rules corresponding to building model files provided by the second embodiment of the present invention;
[0028] Figure 4 It is a schematic diagram of a process of exporting data from a target building model according to a data export instruction provided by a second embodiment of the present invention;
[0029] Figure 5 This is a schematic diagram of data conversion through a custom conversion function provided by the second embodiment of the present invention;
[0030] Figure 6 This is a schematic diagram of data type division of a target database provided by Embodiment 2 of the present invention;
[0031] Figure 7 It is a schematic diagram of converting and writing data according to the data writing function provided by XDBSDK provided in the second embodiment of the present invention;
[0032] Figure 8 It is a schematic diagram of a specific application scenario of the building model data conversion method provided by the second embodiment of the present invention;
[0033] Fig. 9 It is a structural schematic diagram of a building model data conversion device provided by Embodiment 3 of the present invention;
[0034] Fig.10 A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0036] It should be noted that the terms "include", "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatus.
[0037] Embodiment 1
[0038] Figure 1 This is a flowchart of a building model data conversion method provided in the first embodiment of the present invention. This embodiment is applicable to the case where different target conversion functions are determined according to different building data format identifiers, and the building data is converted through the corresponding target conversion functions. The method can be executed by a building model data conversion device, which can be implemented by software and / or hardware, and can generally be integrated into an electronic device. The electronic device can be a terminal device or a server device, which is used in conjunction with a client for completing building model data conversion. The embodiment of the present invention does not limit the specific device type of the electronic device. Figure 1 As shown, the method may include:
[0039] S110, obtaining a building data format identifier of each building data to be converted in the building model data to be converted; wherein the building data to be converted may include structured building data and unstructured building data.
[0040] The building model data to be converted may be data of a building model constructed by data that is extracted or exported from different building model files according to the user's data conversion requirements and needs to be uniformly stored or managed. For example, model data created by BIMBase (a model data management platform that can realize the classified storage and management of multi-professional data and support the conversion and integration of multiple data formats). Exemplarily, the building model data to be converted may be data extracted from at least one building model file such as a CAD (Computer Aided Design) file, a BIM file (Building Information Model file) and a 3D model file (a digital file that contains all data for reconstructing a three-dimensional object in a computer environment). The building data to be converted may be data that is exported from the building model data to be converted and needs to be converted.
[0041] The building data format identifier may be format identifier information corresponding to each building data to be converted, and is used to characterize the format of the building data to be converted. By obtaining the building data format identifier of the building data to be converted, the target conversion function corresponding to the building data to be converted can be determined according to the format identifier corresponding to the building data.
[0042] Among them, structured building data can be building data with a clear format and predefined model, which can be queried or managed through a standard query language. Structured building data can be conveniently stored in the logical table of the database, and can be added, deleted, modified, checked or exported through a standard database query language. In the building information model data, structured data can include but is not limited to geometric data and attribute data and other structured data. Geometric data can be data used to characterize the spatial form and size of various objects in the building model. Attribute data can be data used to characterize various characteristics and parameters of various objects in the building model. For example, data such as material, color, weight and size.
[0043] Among them, unstructured building data can be building model data with irregular data structure and no predefined data. Unstructured building data is difficult to query or manage through query language, and is difficult to represent and store using traditional database logic tables. Unstructured data may include but is not limited to texture data, material data, and other types of unstructured data. Texture data can be used to represent the appearance and texture of various objects in the building model. Material data can be used to represent the characteristics and properties of various materials used in various objects in the building model. For example, information data such as the name, type, color, and texture of the building material.
[0044] Exemplarily, when the building data to be converted is exported from the building model data to be converted, the format corresponding to each building data to be converted can be obtained. The format identifier corresponding to each building data to be converted is determined according to the format corresponding to the building data to be converted. After the building data to be converted is exported from the building model data to be converted, the format identifier corresponding to each building data to be converted can be obtained. By determining the format identifier corresponding to each building data to be converted, a basis can be provided for subsequent data conversion. Then, different conversion methods are determined according to different format identifiers, thereby reducing the probability of data loss and improving the accuracy of data conversion.
[0045] S120. Determine a target conversion function for each to-be-converted building data according to the building data format identifier, wherein the target conversion function includes a structured data conversion function and an unstructured data conversion function.
[0046] The target conversion function may be a function for converting the to-be-converted building data in the to-be-converted building model data. The to-be-converted building data with different building data format identifiers may correspond to different target conversion functions. For example, the structured building data may be converted by the structured data conversion function, and the unstructured building data may be converted by the unstructured data conversion function.
[0047] Among them, the structured data conversion function can be a function for converting structured building data. The structured data conversion function can be composed of a structured conversion function and a custom structured conversion function in the SQLite data management system (a lightweight embedded relational database management system). The structured conversion function can be a system default in the SQLite data management system, which is used to convert the building data to be converted in the building data to be converted, and the building data format is identified as structured building data. The data conversion function can be used to convert part of the structured building data in the building data to be converted. A custom function library that can be established in the SQLite data management system can call a custom structured conversion function through the custom function library, that is, through an externally written C++ business function (containing a code for performing a specific task or operation in an application, a function for processing the building data to be converted). The custom structured conversion function can be used to convert structured building data that cannot be converted by the structured conversion function in the SQLite data management system, or the conversion effect is poor. The embodiment of the present invention does not specifically limit the generation method of the custom structured conversion function, and those skilled in the art can set it by themselves according to the data conversion requirements.
[0048] Wherein, the unstructured data conversion function can be a function for converting unstructured building data. The unstructured data conversion function can be composed of an unstructured conversion function and a custom unstructured conversion function in the SQLite data management system. Wherein, the unstructured conversion function can be a data conversion function that is a system default in the SQLite data management system and is used to convert the building data to be converted, in which the building data format is identified as unstructured building data. For example, the unstructured data conversion function can be a conversion function such as a geographic spatial data conversion function, a binary data processing function, and a text parsing function. A custom function library that can be established in the SQLite data management system can call a custom unstructured conversion function through the custom function library, that is, through an externally written C++ business function (containing a code for performing a specific task or operation in an application, a function for processing building data to be converted). It can be used to convert unstructured building data that cannot be converted by the unstructured conversion function in the SQLite data management system, or the conversion effect is poor. The embodiment of the present invention does not specifically limit the generation method of the custom unstructured conversion function, and those skilled in the art can set it by themselves according to the data conversion requirements.
[0049] Specifically, after obtaining the building data format identifier of the building data to be converted, the format type of the building data to be converted can be identified, and the corresponding target conversion function can be selected in the conversion function library based on the format type to ensure that the structured building data and the unstructured building data can be accurately converted into the required structured format. By determining the target conversion function of each building data to be converted according to the building data format identifier of the building data to be converted, it is possible to convert a variety of different types of building data to be converted, improve the efficiency of data conversion, and avoid data conversion problems caused by fixed data conversion methods when converting unstructured data.
[0050] S130. Convert the structured building data using a structured data conversion function to obtain structured conversion data corresponding to the structured building data.
[0051] The structured conversion data may be conversion data obtained by converting the structured data in the building data to be converted through a structured data conversion function. Exemplarily, the structured conversion data may be conversion data in the sqlite format (the default format of the SQLite data management system).
[0052] Specifically, the part of the building data to be converted whose building data format is identified as structured building data in the building data to be converted can be converted by a structured conversion function to obtain structured conversion data corresponding to the part of the structured building data. Optionally, the structured data conversion function of the system default in the SQLite data management system can be used to convert the structured building data to obtain structured conversion data corresponding to the structured building data. For structured building data that cannot be converted by the system default data conversion function in the SQLite data management system, or the conversion accuracy is low, the conversion can be performed by calling the C++ business function written externally in the custom function library, that is, the custom structured conversion function, to obtain structured conversion data corresponding to other building data whose building data format is identified as structured building data. By combining the system default and custom structured conversion functions to convert the building data whose building data format is identified as structured building data in the building data to be converted, the conversion data corresponding to the building data format identified as structured building data in the building data to be converted can be obtained, which can improve the flexibility, accuracy and conversion efficiency of the structured data conversion, and avoid the problem that the converted structured conversion data does not correspond to the building data to be converted.
[0053] S140. Convert the unstructured building data using an unstructured data conversion function to obtain unstructured conversion data corresponding to the unstructured building data.
[0054] Among them, the unstructured conversion data can be the conversion data in a preset format obtained by converting the unstructured building data whose building data format is identified as unstructured data in the building model data to be converted through an unstructured data conversion function, such as the conversion data in the sqlite format.
[0055] Specifically, the part of the building data to be converted whose building data format is identified as unstructured building data in the building data to be converted can be converted through an unstructured conversion function to obtain the unstructured conversion data corresponding to the part of the unstructured building data. By calling the C++ business function written externally in the custom function library, that is, the custom unstructured conversion function, the unstructured data that cannot be converted by the system default data conversion function in the SQLite data management system or the conversion accuracy is low is converted to obtain the unstructured conversion data corresponding to the other building data to be converted whose building data format is identified as unstructured building data. By combining the system default and custom unstructured conversion functions to convert the building data whose building data format is identified as unstructured in the building data to be converted, the unstructured conversion data corresponding to the building data format identified as unstructured building data is obtained, which can improve the flexibility, accuracy and conversion efficiency of the unstructured data conversion and avoid the problem that the converted data does not correspond to the data to be converted.
[0056] The embodiment of the present invention uses the building data format identifier of each building data to be converted, such as structured building data and unstructured building data, to determine the target conversion function, such as the structured data conversion function and the unstructured data conversion function, of each building data to be converted according to the building data format identifier. Furthermore, the structured building data can be converted by the structured data conversion function to obtain the structured conversion data corresponding to the structured building data, which can improve the flexibility, accuracy and conversion efficiency of the structured data conversion and avoid the problem that the converted data does not correspond to the data to be converted. The unstructured building data can also be converted by the unstructured data conversion function to obtain the unstructured conversion data corresponding to the unstructured building data, which can improve the efficiency of data processing, avoid the data conversion errors caused by the fixed data conversion method when converting the unstructured data, and the problem of data loss after the building model data to be converted is converted into the conversion data, and improve the conversion precision and accuracy of the data conversion.
[0057] Embodiment 2
[0058] Figure 2It is a flow chart of another building model data conversion method provided in the second embodiment of the present invention. This embodiment is concretized based on the above embodiment. In this embodiment, structured building data is converted by a structured data conversion function to obtain structured conversion data corresponding to the structured building data, specifically: the geometric data in the structured building data is converted into triangular patch data by a structured building data conversion function. The attribute data in the structured building data is converted into data table data, and the triangular patch data and the data table data are determined as structured conversion data. Unstructured building data is converted by an unstructured data conversion function to obtain unstructured conversion data corresponding to the unstructured building data, specifically: the unstructured building data is converted into binary block data by an unstructured building data conversion function, and the binary block data is determined as unstructured conversion data. And a variety of specific optional implementation methods of the building model data conversion method. The same terms as those in the above embodiment are not repeated here. Such as Figure 2 As shown, the method of this embodiment may include:
[0059] S210, obtaining a building data format identifier of each building data to be converted in the building model data to be converted; wherein the building data to be converted includes structured building data and unstructured building data.
[0060] In an optional embodiment of the embodiment of the present invention, before obtaining the building data format identifier of each building data to be converted in the building model data to be converted, it may also include: in response to an import instruction of the building model file, obtaining the file format identifier of each building model file; determining a preset filtering rule corresponding to each building model file according to the file format identifier, wherein the building model file is used to store building model data in at least one building data format; processing each building model file according to the preset filtering rule corresponding to each building model file to obtain a target building model.
[0061] The building model file may be a file used to store BIM data or other building information models, and the building model file is used to represent the three-dimensional geometric information of the building and related non-geometric information, such as material information, attribute information, annotation information, etc. Optionally, the building model file may be a file created and edited by various BIM software, such as BIM software Maya (a three-dimensional computer graphics software) and Autodesk Revit (a software for building information modeling).
[0062] The import instruction may be a command to import a building model file into a specific BIM software or data processing platform. By executing the import instruction, the system can read the data in the building model file and perform subsequent processing and analysis on it. For example, a data import instruction may be issued through the SQLite data management system to import building model files of different formats into the SQLite data management system.
[0063] Among them, the file format identifier can be a format suffix corresponding to each building model file, which is used to characterize the format of the building model file. For example, the format identifier of the building model file can be Rvm (Rvm format file is generated by PDMS (Plant Design Management System, building model software) and is used for model transmission and review), Rvt (Rvt format file is a proprietary file format of Revit software (an architectural design and modeling software) and is used to store building information models) and Ifc (Ifc format file is a universal data exchange format used in the fields of architecture, engineering and manufacturing). The preset filtering rules can be determined according to the file format identifiers corresponding to different building model files, and are filtering rules for filtering different building model files. The embodiment of the present invention does not specifically limit the setting method of the filtering rules, and those skilled in the art can set them according to the filtering requirements of the building model files.
[0064] Among them, the target building model can be a building model management file obtained by filtering the building model files according to the filtering rules corresponding to the building model files after receiving the import instruction, according to the file format identifier corresponding to each imported building model file, and integrating all the building model files into a BIMBase (a model data management platform that can realize the classified storage and management of multi-professional data and support the conversion and integration of multiple data formats).
[0065] Figure 3 is a schematic diagram of a composition structure of importing a multi-source building model file according to a preset filtering rule corresponding to the building model file provided in the second embodiment of the present invention, such as Figure 3 As shown in the figure, in the import process of multi-source building model files, the unified import stages of different building model file formats can be divided first, and based on the pipeline filter architecture, the import solutions corresponding to different multi-source building model files can be developed. Figure 3As shown, architectural model files in Rvt / Rfa (Revit Family, Rfa format files are file formats that can be loaded into Revit families), Dgn (Design Exchange Format, a vector graphics file format used by CAD software-related applications) and Rvm formats correspond to different data processing processes. Exemplarily, after receiving the data import instruction, the format identifier of each file to be imported can be obtained. For example, according to the file format identifiers of files in formats such as Rvt / Rfa, Dgn and Rvm, the architectural model files are processed according to the preset filtering rules corresponding to different file format identifiers, and the data obtained after processing architectural model files in various formats are integrated into a BIMBase environment to obtain the target architectural model. By presetting different filtering rules for architectural model files in different formats, it can be ensured that the information of architectural model files in each format can be fully integrated into the model data management platform, which is convenient for user management and avoids data loss or data errors during the processing process due to different file formats of architectural model files, thereby improving the integrity and accuracy of data filtering.
[0066] In an optional embodiment of the embodiments of the present invention, obtaining the building data format identifier of each building data to be converted in the building model data to be converted may include: determining export identification information and export configuration information of the exported building data in response to the building data export instruction; determining the building model data to be exported from the target building model according to the export identification information; exporting the building model data to be exported from the target building model according to the export configuration information; determining the exported building model data to be exported as the building model data to be converted; and obtaining the building data format identifier of each building data to be converted in the building model data to be converted according to the export identification information of the building model data to be exported.
[0067] Among them, the building data export instruction can be an operation or command for building data export issued by the user, which is used to instruct the export tool to export the building model data to be exported from the target building model according to the export file and export rules selected by the user. After the building model data is exported from the target building model, subsequent processing, conversion or storage operations can be performed. The building data export instruction may include but is not limited to at least one of a selected export instruction, a full export instruction, a hierarchical export instruction and a professional export instruction. It should be noted that when exporting data, the filtering form can be defined through the strategy pattern, allowing external inheritance modification and adjusting different data export configurations to support more flexible data export methods, thereby realizing more export methods without modifying the original code base. The so-called external inheritance modification is the inheritance mechanism in object-oriented programming, which allows external developers or users to create their own subclasses to modify or extend the logic of the filtering form based on the existing strategy pattern implementation.
[0068] The exported building data may be building model data extracted from the target building model according to the building data export instruction. The exported building data may include but is not limited to data information such as geometric information, material information and attribute information in each building model file. The export identification information may be information used to uniquely identify the building model data to be exported. For example, the category identification of a certain type of building model data, the identification of the selected building model data, or the identification data corresponding to all the building model data in the target building model, which is used to characterize the identification information corresponding to the building model data to be exported by the building data export instruction. The export configuration information may be information used to characterize various parameters and settings when exporting building data. It may include but is not limited to information such as the format, precision, range or screening conditions of the exported data, which is used to control the specific content and format of the exported building data. The building model data to be exported is the building model data that needs to be exported from the target building model through the building data export instruction.
[0069] Figure 4 FIG. 2 is a flow chart of exporting data from a target building model according to a data export instruction provided by Embodiment 2 of the present invention. Figure 4 As shown, after receiving the building data export instruction, you can access < <interface>>(data filtering interface), and filter out the strategy base class corresponding to the building data export instruction through the BPDateFilterStrategy (data filtering strategy base class, used to determine the corresponding data export strategy base class according to the data export instruction) provided by the data filtering interface. Determine the strategy base class that meets the requirements from multiple export strategies, and then export the corresponding building model data to be exported through the determined strategy base class. The strategy base class can be inherited and rewritten on the basis of the original base class, or it can directly reference the existing base class. These base classes can be further modified according to different data export requirements, and the original export function can be inherited or rewritten according to different export requirements to determine different multiple export functions. Among them, the strategy base class may include BPDateAllBuildingStrategy (all export strategy base class, used to export all building data in the target building model), BPDateFilterByLevelStrategy (hierarchical export strategy base class, used to export the building data in the target building model according to the level selected by the data export instruction) and BPDateFilterBySelectStrategy (selected export strategy base class, used to export selected building data from the target building model according to the data export instruction).
[0070] Exemplarily, after receiving the building data export instruction, the building model data to be exported can be located in the target building model according to the export identification information. Further, the building model data to be exported is exported from the target building model according to the export configuration information, and the exported data is determined as the building model data to be converted. By inheriting or rewriting the original export function, an export function that can meet different export requirements is obtained, and then after receiving the building data export instruction, the corresponding export function can be determined according to the different export requirements in the building data export instruction, and the exported data is determined as the building data to be converted. The above data conversion method can meet the user's diversified data export needs, improve the flexibility of data export, enhance the user experience, avoid excessive and unnecessary data export, and reduce data redundancy.
[0071] S220. Determine a target conversion function for each to-be-converted building data according to the building data format identifier, wherein the target conversion function includes a structured data conversion function and an unstructured data conversion function.
[0072] S230, converting the geometric data in the structured building data into triangular face data through a structured building data conversion function; converting the attribute data in the structured building data into data table data, and determining the triangular face data and the data table data as structured conversion data.
[0073] Among them, geometric data can be data describing the shape and size of a building or building scene in structured building data. Geometric data can include but is not limited to geometric elements such as points, lines and surfaces, which are used to characterize the three-dimensional shape of a building. Attribute data can be information associated with geometric data or other types of data in structured building data. For example, data such as the material, color, texture and name of each building material or building in a building model. Attribute data can be used to characterize external features such as the shape and color of a building or building material.
[0074] Optionally, the structured conversion data may include but are not limited to triangular patch data and data table data. The triangular patch data may be a plurality of small triangular patch data corresponding to the geometric data obtained by converting the geometric data in the structured building data through a structured conversion function, and each triangular patch data is defined by three vertices. The data table data may be data table information corresponding to the attribute data obtained by converting the data in the structured building data through a structured conversion function, and the data table information may include but is not limited to data such as room number, floor and purpose.
[0075] Specifically, it can be by obtaining the building data format identifier of the building data in the structured building data, and when it is determined that the building data format identifier of the building data is geometric data, the structured conversion function corresponding to the geometric data can be determined from the structured data conversion function according to the format identifier corresponding to the geometric data. If the structured conversion function corresponding to the geometric data is a structured conversion function in the SQLite data management system, the geometric data can be converted by the structured conversion function in the SQLite data management system, and the geometric data can be converted into triangular face data; if the structured conversion function corresponding to the geometric data is a custom structured conversion function, the geometric data can be converted by the custom structured conversion function, and the geometric data can be converted into triangular face data.
[0076] Specifically, the format identifier of the building data in the structured building data can be obtained. When it is determined that the format identifier of the building data is attribute data, the structured data conversion function corresponding to the attribute data can be determined from the structured data conversion function according to the format identifier corresponding to the attribute data. If the structured conversion function corresponding to the attribute data is a structured conversion function in the SQLite data management system, the attribute data can be converted by the structured conversion function in the SQLite data management system to convert the attribute data into data table data; if the structured conversion function corresponding to the attribute data is a custom structured conversion function, the attribute data can be converted by the custom structured conversion function to convert the attribute data into data table data.
[0077] After the structured building data is processed by the structured building data conversion function corresponding to the structured building data, the corresponding triangular face data, data table data and conversion data corresponding to other structured building data can be obtained. The triangular face data, data table data and conversion data corresponding to the structured building data can be determined as structured conversion data. By combining the structured conversion function in the SQLite data management system and the custom structured conversion function to convert the building data format identified as structured building data in the building data to be converted, the structured conversion data corresponding to the building data format identified as structured building data is obtained, which can ensure that the structured building data before the conversion corresponds to the structured conversion data after the conversion, and improve the accuracy of the conversion data while improving the conversion efficiency of the structured building data.
[0078] S240: Convert the unstructured building data into binary block data using an unstructured building data conversion function, and determine the binary block data as unstructured conversion data.
[0079] The unstructured data may be data that does not have a specific structure format in the building data to be converted. The unstructured data may include, but is not limited to, document data in other formats such as images, materials, or text. The binary block data may be block data stored in binary form after the unstructured building data is converted by the unstructured data conversion function. When storing the binary block data, the storage method may not depend on the specific format or structure of the data.
[0080] Specifically, the building data format identifier of each unstructured building data can be obtained, and the unstructured data conversion function corresponding to each building data format identifier in the unstructured building data can be determined from the unstructured conversion function according to the building data format identifier. If the unstructured conversion function corresponding to the building data format identifier in the unstructured building data is an unstructured conversion function in the SQLite data management system, the unstructured building data can be converted by the unstructured conversion function in the SQLite data management system to convert the unstructured building data into binary block data. If the unstructured conversion function corresponding to the building data format identifier in the unstructured building data is a custom unstructured conversion function, the unstructured building data can be converted by the custom unstructured conversion function to convert the unstructured building data into binary block data.
[0081] After the unstructured building data is processed by the unstructured data function corresponding to the unstructured building data, the secondary block data corresponding to the unstructured building data can be obtained. Then the unstructured conversion data corresponding to the unstructured building data is determined. By combining the system default and customized unstructured conversion functions to convert the data whose building data format is identified as unstructured building data in the building data to be converted, the conversion data corresponding to the building data format identified as unstructured building data is obtained, which can ensure that the unstructured building data before the conversion corresponds to the conversion data corresponding to the unstructured building data after the conversion, thereby improving the accuracy of the conversion data. When storing, the binary block data can retain the content of the unstructured building data, and then by combining with other structured data, jointly describe the characteristics and performance of the building.
[0082] For example, Figure 5 This is a schematic diagram of data conversion through a custom conversion function provided by the second embodiment of the present invention, such as Figure 5 As shown, for the data in the building model data to be converted that cannot be converted by the system default conversion function, the data that cannot be converted by the system default conversion function can be converted by the established custom function. Exemplarily, the original building data (data with binary blocks) in the building model data to be converted that cannot be converted by the system default conversion function can be obtained, and the corresponding custom function is called according to the identification of the original building data. The identification information of the original building data is passed to the custom function, and the custom function converts the original building data according to the identification information of the original building data to obtain an intermediate file in the sqlite format corresponding to the converted data converted by the data that cannot be converted by the system default conversion function. By calling the custom unstructured conversion function and the custom structured conversion function, the data that cannot be converted by the conversion function in the SQLite data management system or the conversion accuracy is low can be converted, and the conversion data with higher accuracy can be generated.
[0083] In an optional embodiment of the embodiment of the present invention, after converting the unstructured building data into binary block data through the unstructured building data conversion function and determining the binary block data as unstructured conversion data, it can also include: determining the target storage address corresponding to each building data to be converted according to the building data format identifier of the building data to be converted; writing the structured building data and the unstructured conversion data to the corresponding target storage address to obtain the target data file of the building model data to be converted; wherein the target storage address is the address corresponding to the data table in the target database for storing different building data format identifiers; the target database may include at least one data table, and the data table is used to store conversion data corresponding to the building data format identifier.
[0084] The building data format identifier may be the format identifier information corresponding to each building model data, which is used to represent the unique format identifier of the building model data to be converted. The target storage address may be the data table address for storing the building data determined according to the format identifier corresponding to the building data. The target data file may be a data file generated according to the building data to be converted after conversion.
[0085] Among them, the target database can be a database system established based on a standardized template, which can be used to store and manage structured building model data and unstructured building model data after standardization and normalization conversion. The data structure in the target database is a data structure formed by abstracting the building model data of multiple building models and the building data of different business scenarios. The standardized template can be a standardized template designed based on the XDB standard (the design standard of XML database (XML Database)) for the purpose of realizing the standardization of multi-source building model data while ensuring the accuracy and completeness of multi-source building model data and the non-loss of various logical relationships in the model. The standardized template can be used to store the target data file, and has high scalability and flexibility.
[0086] In an optional embodiment of the present invention, after the standardized template is determined, the standardized template, structured conversion data and unstructured conversion data can be input into XDBSDK (XML Database Software Development Kit, a software development kit that provides a series of tools and libraries to support the conversion, processing and management of XDB files). The structured conversion data and unstructured conversion data are converted into a target data file that complies with the standardized template through XDBSDK.
[0087] For example, Figure 6 Schematic diagram of data type division of target database provided by the second embodiment of the present invention. Figure 6 As shown, the target database may be an XDB database (a database designed with XML database (XML Database) as the design standard) which is divided into system tables and data tables according to system classification, into geometric information tables and non-geometric information tables according to form classification, and into component tables and relationship tables according to data classification. The database tables of the target database may include, but are not limited to, system management data tables, professional component data tables, association information data tables, business attribute data tables, logical relationship data tables, geometric expression data tables, material texture data tables, combination relationship data tables, proxy object data tables, and extended attribute data tables, etc., which are used to store conversion data.
[0088] In an optional embodiment of the embodiment of the present invention, the structured building data and the unstructured conversion data are written to the corresponding target storage address to obtain the target data file of the building model data to be converted, which may include but is not limited to obtaining the conversion data format of each data in the structured conversion data and the unstructured conversion data; determining the data writing function corresponding to each data in the structured conversion data and the unstructured conversion data according to the conversion data format; through the data writing function, writing the structured conversion data and the unstructured conversion data into the data table corresponding to the conversion data format of each data in the structured conversion data and the unstructured conversion data to obtain the target data file.
[0089] The data writing function may be a pre-built function for converting structured conversion data and unstructured conversion data into an intermediate file, and converting the intermediate file into a file that complies with a standardized template. The data writing function may be used to write the file that complies with the standardized template into a data table corresponding to the conversion data format of each data in the structured conversion data and the unstructured conversion data. Optionally, the data writing function may be a data writing function provided by XDBSDK (XML DatabaseSoftware Development Kit, a software development kit that provides a series of tools and libraries to support the conversion, processing and management of XDB files (format files corresponding to the target database)). Figure 7 1 is a schematic diagram of converting and writing data according to a data writing function provided by XDBSDK provided by the second embodiment of the present invention. Figure 7 As shown, by relying on the BPXDBExportProcesser (data writing control class, which can be used to control data writing) base class provided by XDBSDK, according to BPDefoultXDBProject (engineering base class interface provided by XDBSDK, which can be used to call the engineering base class provided by XDBSDK) and BPDefoultXDBPWriter (db file writing base class interface provided by XDBSDK, which can be used to call the writing base class provided by XDBSDK), the corresponding data writing function can be accessed. Such as XDBProject (engineering base class provided by XDBSDK) and XDBModelPWriter (db file writing base class provided by XDBSDK). The standardized template and the intermediate files corresponding to the structured conversion data and the unstructured conversion data are processed through the corresponding data writing function, and finally the target file is generated.
[0090] Figure 8 FIG. 2 is a schematic diagram of a specific application effect of a building model data conversion method provided by Embodiment 2 of the present invention. Figure 8 As shown, the specific application scenario may include the following process: first, parse the internal data in external formats such as rvt and ifc, and integrate them into the BIMBase environment. By establishing a general export process, the multi-source BIM model in BIMBase is converted into general data in sqlite format. Then read the sql configuration file, custom function library and standardized template (xdbschema) file through the transformer converter (a pre-defined converter used to generate an sqlite intermediate file in the same format as the standardized template). Furthermore, generate an sqlite intermediate file in the same format as the standardized template, and finally convert the intermediate file into an XDB file by calling XDBSDK.
[0091] The technical solution of this embodiment obtains the building data format identifier of each building data to be converted in the building model data to be converted, and determines the target conversion function of each building data to be converted according to the building data format identifier. The geometric data in the structured building data is converted into triangular face data through the structured building data conversion function. The attribute data in the structured building data is converted into data table data, and the triangular face data and the data table data are determined as structured conversion data, which can improve the accuracy and conversion efficiency of the structured data conversion in the building model data to be converted. The unstructured building data is converted into binary block data through the unstructured building data conversion function, and the binary block data is determined as unstructured conversion data. It is possible to process unstructured building data that is difficult to process, avoid the problem of data loss in the unstructured building data in the building model data to be converted during the conversion process, and improve the conversion precision and accuracy of data conversion.
[0092] Embodiment 3
[0093] Fig. 9 is a schematic diagram of the structure of a building model data conversion device provided by the third embodiment of the present invention. Fig. 9 As shown, the device includes: a building data format identification acquisition module 910, a conversion function determination module 920, a structured data conversion module 930 and an unstructured data conversion module 940.
[0094] Among them, the building data format identifier acquisition module 910 is used to obtain the building data format identifier of each building data to be converted in the building model data to be converted; wherein the building data to be converted includes structured building data and unstructured building data; the conversion function determination module 920 is used to determine the target conversion function of each building data to be converted according to the building data format identifier, wherein the target conversion function includes a structured data conversion function and an unstructured data conversion function; the structured data conversion module 930 is used to convert the structured building data through the structured data conversion function to obtain the structured conversion data corresponding to the structured building data; the unstructured data conversion module 940 is used to convert the unstructured building data through the unstructured data conversion function to obtain the unstructured conversion data corresponding to the unstructured building data.
[0095] Furthermore, the building model data conversion device also includes: a target building model generation module, which is used to: respond to the import instruction of the building model file, obtain the file format identifier of each building model file; determine the preset filtering rule corresponding to each building model file according to the file format identifier, wherein the building model file is used to store building model data in at least one building data format; process each building model file according to the preset filtering rule corresponding to each building model file to obtain the target building model.
[0096] Furthermore, the building data format identification acquisition module 910 is specifically used to: determine the export identification information and export configuration information of the exported building data in response to the building data export instruction; determine the building model data to be exported from the target building model according to the export identification information; export the building model data to be exported from the target building model according to the export configuration information; determine the exported building model data to be exported as the building model data to be converted; and obtain the building data format identification of each building data to be converted in the building model data to be converted according to the export identification information of the building model data to be exported.
[0097] Furthermore, the structured building data includes geometric data and attribute data, and the structured data conversion module 930 is specifically used to: convert the geometric data in the structured building data into triangular face data through a structured building data conversion function; convert the attribute data in the structured building data into data table data, and determine the triangular face data and data table data as structured conversion data.
[0098] Furthermore, the unstructured data conversion module 940 is specifically used to: convert the unstructured building data into binary block data through an unstructured building data conversion function, and determine the binary block data as unstructured conversion data.
[0099] Furthermore, the building model data conversion device also includes: a target data file generation module, which is used to determine the target storage address corresponding to each building data to be converted according to the building data format identifier of the building data to be converted; write the structured building data and the unstructured conversion data to the corresponding target storage address to obtain the target data file of the building model data to be converted; wherein the target storage address is the address corresponding to the data table in the target database for storing different building data format identifiers; the target database includes at least one data table, which is used to store conversion data corresponding to the building data format identifier.
[0100] Furthermore, the target data file generation module is specifically used to: obtain the conversion data format of each data in the structured conversion data and the unstructured conversion data; determine the data writing function corresponding to each data in the structured conversion data and the unstructured conversion data according to the conversion data format; write the structured conversion data and the unstructured conversion data into the data table corresponding to the conversion data format of each data in the structured conversion data and the unstructured conversion data through the data writing function, so as to obtain the target data file.
[0101] The above-mentioned building model data conversion device can execute the building model data conversion method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the building model data conversion method provided by any embodiment of the present invention.
[0102] Since the building model data conversion device introduced above is a device that can execute the building model data conversion method in the embodiment of the present invention, based on the building model data conversion method introduced in the embodiment of the present invention, the technical personnel of the field can understand the specific implementation of the building model data conversion device of the present embodiment and its various variations, so how the building model data conversion device implements the building model data conversion method in the embodiment of the present invention is not introduced in detail here. As long as the technical personnel of the field implement the device used by the building model data conversion method in the embodiment of the present invention, it belongs to the scope of protection of this application.
[0103] Embodiment 4
[0104] Fig.10 A schematic diagram of the structure of an electronic device provided for Embodiment 4 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the embodiments of the present invention described and / or required herein.
[0105] like Fig.10 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0106] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0107] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the building model data conversion method.
[0108] Optionally, the building model data conversion method may include: obtaining a building data format identifier of each building data to be converted in the building model data to be converted; wherein the building data to be converted includes structured building data and unstructured building data; determining a target conversion function for each building data to be converted according to the building data format identifier, wherein the target conversion function includes a structured data conversion function and an unstructured data conversion function; converting the structured building data through the structured data conversion function to obtain structured conversion data corresponding to the structured building data; converting the unstructured building data through the unstructured data conversion function to obtain unstructured conversion data corresponding to the unstructured building data.
[0109] In some embodiments, the architectural model data conversion method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the architectural model data conversion method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the architectural model data conversion method in any other appropriate manner (e.g., by means of firmware).
[0110] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0111] The computer programs for implementing the methods of the embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0112] In the context of an embodiment of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0113] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0114] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0115] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0116] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0117] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.< / interface>
Claims
1. A method for converting building model data, characterized in that: include: Acquire a building data format identifier of each building data to be converted in the building model data to be converted; wherein the building data to be converted includes structured building data and unstructured building data; Determining a target conversion function of each of the to-be-converted building data according to the building data format identifier, wherein the target conversion function includes a structured data conversion function and an unstructured data conversion function; Converting the structured building data by using the structured data conversion function to obtain structured conversion data corresponding to the structured building data; The unstructured building data is converted by using the unstructured data conversion function to obtain unstructured conversion data corresponding to the unstructured building data.
2. The method according to claim 1, characterized in that Before obtaining the building data format identifier of each building data to be converted in the building model data to be converted, the method further includes: In response to an instruction to import a building model file, obtaining a file format identifier of each of the building model files; Determining a preset filtering rule corresponding to each of the building model files according to the file format identifier, wherein the building model file is used to store building model data in at least one building data format; Each of the building model files is processed according to the preset filtering rule corresponding to each of the building model files to obtain a target building model.
3. The method according to claim 2, characterized in that The step of obtaining the building data format identifier of each building data to be converted in the building model data to be converted comprises: In response to the building data export instruction, determining export identification information and export configuration information for exporting the building data; Determining the building model data to be exported from the target building model according to the export identification information; Exporting the to-be-exported building model data from the target building model according to the export configuration information; Determining the exported building model data to be exported as the building model data to be converted; The building data format identifier of each of the building data to be converted in the building model data to be converted is obtained according to the export identification information of the building model data to be exported.
4. The method according to claim 1, characterized in that: The structured building data includes geometric data and attribute data, and the structured building data is converted by the structured data conversion function to obtain structured conversion data corresponding to the structured building data, including: Converting the geometric data in the structured building data into triangular patch data by using the structured building data conversion function; Converting the attribute data in the structured building data into data table data, and determining the triangular face data and the data table data as structured conversion data; The unstructured building data is converted by using the unstructured data conversion function to obtain unstructured conversion data corresponding to the unstructured building data, including: The unstructured building data is converted into binary block data by using the unstructured building data conversion function, and the binary block data is determined as the unstructured conversion data.
5. The method according to claim 4, characterized in that The method further comprises: Determine a target storage address corresponding to each of the building data to be converted according to the building data format identifier of the building data to be converted; Writing the structured building data and the unstructured conversion data into the corresponding target storage address to obtain a target data file of the building model data to be converted; The target storage address is an address corresponding to a data table in a target database for storing different building data format identifiers; the target database includes at least one data table, and the data table is used to store conversion data corresponding to the building data format identifier.
6. The method according to claim 5, characterized in that The step of writing the structured building data and the unstructured conversion data into the corresponding target storage address to obtain a target data file of the building model data to be converted comprises: Acquire the conversion data format of each data in the structured conversion data and the unstructured conversion data; Determine, according to the conversion data format, a data writing function corresponding to each data in the structured conversion data and the unstructured conversion data; The structured conversion data and the unstructured conversion data are written into a data table corresponding to the conversion data format of each data in the structured conversion data and the unstructured conversion data through the data writing function to obtain the target data file.
7. A building model data conversion device, characterized in that: include: A building data format identification acquisition module, used to acquire a building data format identification of each building data to be converted in the building model data to be converted; wherein the building data to be converted includes structured building data and unstructured building data; A conversion function determination module, used to determine a target conversion function of each of the to-be-converted building data according to the building data format identifier, wherein the target conversion function includes a structured data conversion function and an unstructured data conversion function; A structured data conversion module, used to convert the structured building data through the structured data conversion function to obtain structured conversion data corresponding to the structured building data; The unstructured data conversion module is used to convert the unstructured building data through the unstructured data conversion function to obtain unstructured conversion data corresponding to the unstructured building data.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the architectural model data conversion method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the building model data conversion method described in any one of claims 1-6 when executed.
10. A computer program product comprising a computer program / instructions, wherein: When the computer program / instructions are executed by a processor, the building model data conversion method described in any one of claims 1-6 is implemented.
Citation Information
Patent Citations
Building information model (BIM) rendering optimization system and method based on IFC standard
CN103324475A
Data processing method and related device
CN111930816A
A construction BIM model conversion method and device
CN112784340A
BIM data processing system for BIM data format conversion
KR101465481B1
KR20240026539A