BIM data exchange conversion method and system based on multi-format analysis

CN123013856APending Publication Date: 2026-10-30POWERCHINA HUBEI ELECTRIC ENGINEERING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611509396.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0003]现有Bentley BIM数据转换至BES交换格式的方法,在确定源工程对象与目标标准对象之间的转换关系后,通常依据预设映射规则直接执行数据转换,缺少对源工程对象数据组织方式与目标标准对象数据表达能力之间的适配分析;当单一目标标准对象无法完整保持源工程对象的数据组织内容时,难以根据目标标准的数据表达能力确定可行的数据组织补偿方式,也无法在多个可转换目标标准对象之间进行转换方案比较与优选,容易造成转换过程中部分数据内容缺失、数据组织关系改变以及数据表达能力利用不足,从而影响最终BES交换数据的完整性和一致性

Benefits of technology

通过对Bentley BIM源工程数据进行解析构建统一关联组织结构,并对目标BES数据交换标准进行解析构建BES数据交换标准表达能力模型,使各源工程对象的数据表达需求能够与各目标标准对象的数据表达能力进行匹配;在此基础上,通过保持补偿方法,对能够由目标标准对象直接保持的数据组织内容建立保持关系,对无法直接保持的数据组织内容利用补偿目标标准对象建立补偿关系,并通过目标表达构型与标准表达构型判断候选数据转换方案,确定各源工程对象对应的目标数据转换方案,最终生成目标BES交换数据,从而提高Bentley BIM源工程数据在BES数据交换标准中的数据组织内容保持程度,减少数据交换转换过程中无法直接保持的数据组织内容。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123013856A_ABST
    Figure CN123013856A_ABST
Patent Text Reader

Abstract

The application provides a BIM data exchange conversion method and system based on multi-format analysis, relates to the technical field of data exchange conversion, and aims at Bentley BIM source engineering data, obtains each source engineering object, and constructs a unified correlation organization structure; aims at BES data exchange standards, obtains each target standard object, and constructs a BES data exchange standard expression capability model; aims at the unified correlation organization structure, obtains the data expression requirements of each source engineering object corresponding to the unified correlation organization structure; based on the BES data exchange standard expression capability model, obtains the data expression capability of each target standard object, and generates a candidate data conversion scheme set; aiming at the candidate data conversion scheme set, uses a maintenance compensation method to obtain a target data conversion scheme; aiming at each source engineering object, acquires the corresponding target data conversion scheme of the source engineering object, and obtains target BES exchange data; and high-fidelity conversion between source engineering data and BES exchange data is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data exchange and conversion technology, specifically to a BIM data exchange and conversion method and system based on multi-format parsing. Background Technology

[0002] In the current development of digital engineering and intelligent construction, BIM data has become an important data carrier connecting design, construction, operation and maintenance. However, due to differences in data organization structure, object expression methods, and semantic description capabilities between different modeling platforms such as Bentley BIM and exchange standards such as BES, it is difficult to maintain the integrity of the original model when exchanging engineering data across platforms. BIM data exchange and conversion technology based on multi-format parsing can realize data mapping and conversion between source engineering data and target exchange standards by parsing the organization structure and expression characteristics of BIM data in different formats. This can reduce information loss and model distortion caused by data format differences, improve BIM data interoperability, and provide key technical support for engineering information sharing, collaborative design, and digital engineering management.

[0003] Existing methods for converting Bentley BIM data to the BES exchange format typically perform data conversion directly based on preset mapping rules after determining the conversion relationship between the source engineering object and the target standard object. This lacks adaptation analysis between the data organization method of the source engineering object and the data expression capability of the target standard object. When a single target standard object cannot fully maintain the data organization content of the source engineering object, it is difficult to determine a feasible data organization compensation method based on the data expression capability of the target standard. It is also impossible to compare and optimize conversion schemes among multiple convertible target standard objects. This can easily lead to the loss of some data content, changes in data organization relationships, and insufficient utilization of data expression capabilities during the conversion process, thereby affecting the integrity and consistency of the final BES exchange data. Summary of the Invention

[0004] To achieve the above objectives, the present invention provides the following technical solution: a BIM data exchange and conversion method based on multi-format parsing, the method comprising: Step S1: For Bentley BIM source project data, obtain each source project object and construct a unified relational organizational structure; Step S2: For the BES data exchange standard, obtain the target standard objects and construct the BES data exchange standard expression capability model; Step S3: For the unified associated organizational structure, obtain the data expression requirements corresponding to each source engineering object; based on the BES data exchange standard expression capability model, obtain the data expression capability of each target standard object, and generate a set of candidate data transformation schemes; for the set of candidate data transformation schemes, use the preservation compensation method to obtain the target data transformation scheme; Step S4: For each source project object, obtain its corresponding target data conversion scheme to obtain the target BES exchange data.

[0005] Furthermore, the construction of a unified and interconnected organizational structure includes: Obtain the Bentley BIM source project data input by the user, extract the main DGN file and reference DGN file, and construct a set of source project files; For the source project file set, obtain the corresponding data description information and generate the design model organization structure; For the design model's organizational structure, read all the source project objects contained within it, extract the corresponding object description information, and form the source project object organizational structure. Based on the source project object organization structure, traverse all source project objects in each design model, identify source project objects that belong to shared objects, and generate a unified association organization structure.

[0006] Furthermore, the construction of the BES data exchange standard expressive capability model includes: Obtain all target standard objects, generate a unified BES standard data organization structure based on each target standard object, analyze its corresponding data expression capabilities, and construct a set of BES standard expression capabilities. For the BES standard expression capability set, based on the data expression capability corresponding to each target standard object, the data expression constraints corresponding to each target standard object are obtained, and the expression results of the source engineering data in the corresponding target standard object are judged to establish the BES expression constraint set; For the unified data organization structure, the set of BES standard expressive capabilities, and the set of BES expression constraints, corresponding data expressive capability description units are established according to the target standard objects; and a BES data exchange standard expressive capability model is constructed based on the data expressive capability description units.

[0007] Furthermore, the data representation requirements for each source engineering object, based on the unified and associated organizational structure, include: For each source project object in the unified association organizational structure, retrieve its corresponding object description information, and combine the association relationship between the DGN file and the design model, and the association relationship between the design model and the source project object in the unified association organizational structure, to obtain the data organization method corresponding to each source project object; Based on the data organization method corresponding to each source project object, the corresponding data expression requirements are obtained.

[0008] Furthermore, based on the BES data exchange standard expressive capability model, the data expressive capability of each target standard object is obtained, and a set of candidate data transformation schemes is generated, including: Based on the BES data exchange standard expressive capability model, read the data expressive capability of the corresponding target standard object; Match the data expression requirements of the source project object with the data expression capabilities of the target standard object. When the data expression capabilities of the target standard object meet the data expression requirements of the source project object, establish a data expression matching relationship between the source project object and the target standard object. The matching relationship includes full matching and partial matching, and generate a data expression association set. For a set of data representation associations, when one source engineering object corresponds to N target standard objects, a set of candidate data transformation schemes is generated.

[0009] Furthermore, the step of obtaining the target data transformation scheme using a preservation compensation method for the candidate data transformation scheme set includes: For each candidate data transformation scheme in the candidate data transformation scheme set, read the data organization method of the corresponding source engineering object, and the data expression capability of the corresponding target standard object in the BES data exchange standard expression capability model; It analyzes the data organization content between them, and when all are consistent, establishes organization maintenance relationships and uses them as candidate data transformation schemes; when not all are maintained, it records the data organization content that cannot be maintained. When dealing with data organization content that cannot be maintained, establish corresponding compensation relationships and generate candidate data transformation schemes; For the set of candidate data transformation schemes, the corresponding target data transformation scheme is selected.

[0010] Furthermore, the step of selecting the corresponding target data transformation scheme from the candidate data transformation scheme set includes: For each candidate data transformation scheme in the candidate data transformation scheme set, if it is a maintenance relationship, it includes the main target standard object; if it is a compensation relationship, it includes the target standard object and the compensation target object. The primary target standard object and the compensation target standard object are respectively used as configuration nodes, and the compensation relationship is used as the connection relationship between configuration nodes; if there is only one primary target standard object, then the primary target standard object is used as the configuration node, and the preservation relationship is used as the attribute label of the configuration node; and the target expression configuration corresponding to the candidate data transformation scheme is constructed. For each target expression configuration, based on the target standard objects included therein, the corresponding data organization information and data expression constraints are retrieved from the BES data exchange standard expression capability model to construct a standard expression configuration corresponding to the current target expression configuration. Determine whether the target representation configuration is consistent with the standard representation configuration, and select the target data transformation scheme.

[0011] Furthermore, the step of determining whether the target expression configuration is consistent with the standard expression configuration and selecting the target data transformation scheme includes: If the target expression configuration and the standard expression configuration are consistent, the corresponding candidate data transformation scheme is selected as the preferred candidate scheme. If there is only one preferred candidate scheme, then that preferred candidate scheme is used as the target data transformation scheme. If there are Y preferred candidate schemes, then each preferred candidate scheme is read as either a preservation relationship or a compensation relationship. If it is a preservation relationship, then the preferred candidate scheme with the preservation relationship is selected as the target data transformation scheme. If all Y preferred candidate schemes are compensation relationships, then the preferred candidate scheme with the lowest compensation cost is selected as the target data transformation scheme. If no candidate data transformation scheme exists that maintains consistency between the target representation configuration and the corresponding standard representation configuration, then the candidate data transformation scheme that covers the largest number of data organization contents is selected as the target data transformation scheme.

[0012] Furthermore, the step of obtaining the corresponding target data transformation scheme for each source project object to obtain the target BES exchange data includes: For each source project object, retrieve its corresponding target data transformation scheme, create a corresponding target standard object instance according to the data organization information of each target standard object in the BES data exchange standard expression capability model, and transform and write the corresponding data into the target standard object instance according to the target data transformation scheme. After all source project objects in the unified association organizational structure have been converted, all generated target standard object instances are organized according to the unified data organizational structure of the BES standard to obtain the target BES exchange data.

[0013] A BIM data exchange and conversion system based on multi-format parsing, the system comprising: Source Domain Association Resolution Module: For Bentley BIM source project data, obtain the source project objects and construct a unified association organization structure; Standard Capability Modeling Module: Based on the BES data exchange standard, obtain the target standard objects and construct the BES data exchange standard expressive capability model; Expression Adaptation Decision Module: Based on the unified associated organizational structure, obtain the data expression requirements corresponding to each source engineering object; based on the BES data exchange standard expression capability model, obtain the data expression capability of each target standard object, and generate a set of candidate data transformation schemes; for the set of candidate data transformation schemes, use the preservation compensation method to obtain the target data transformation scheme; Data generation module: For each source project object, obtains its corresponding target data transformation scheme to get the target BES exchange data. This invention provides a method and system for BIM data exchange and conversion based on multi-format parsing. It has the following beneficial effects: By parsing Bentley BIM source engineering data to construct a unified and interconnected organizational structure, and by parsing the target BES data exchange standard to construct a BES data exchange standard expression capability model, the data expression requirements of each source engineering object can be matched with the data expression capabilities of each target standard object. Based on this, a preservation compensation method is used to establish preservation relationships for data organization content that can be directly preserved by the target standard object, and to establish compensation relationships for data organization content that cannot be directly preserved using the compensation target standard object. Candidate data conversion schemes are determined by comparing the target expression configuration with the standard expression configuration, thus identifying the target data conversion scheme for each source engineering object. Finally, the target BES exchange data is generated, thereby improving the preservation of data organization content in the Bentley BIM source engineering data within the BES data exchange standard and reducing data organization content that cannot be directly preserved during the data exchange and conversion process.

[0014] It can generate candidate data conversion schemes based on the data expression requirements of each source engineering object and the data expression capabilities of each target standard object. For data organization content that cannot be directly maintained by a target standard object, it compensates by compensating the target standard object, so that a source engineering object can be converted into one or more target standard object instances according to the corresponding target data conversion scheme. At the same time, by constructing the target expression configuration corresponding to the candidate data conversion scheme and obtaining the corresponding standard expression configuration based on the BES data exchange standard expression capability model, it judges the target expression configuration and the standard expression configuration, so that the final target data conversion scheme can both maintain the data organization content of the source engineering object and meet the data organization requirements corresponding to the target BES data exchange standard, thereby improving the adaptability and completeness of data exchange conversion. Attached Figure Description

[0015] Figure 1 This is a flowchart illustrating the steps of the BIM data exchange and conversion method based on multi-format parsing of the present invention. Figure 2 This is an architecture diagram of the BIM data exchange and conversion system based on multi-format parsing of the present invention. Detailed Implementation

[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] like Figure 1 As shown, the BIM data exchange and conversion method based on multi-format parsing includes: S1: Based on the Bentley BIM source project data, obtain the source project objects and construct a unified and related organizational structure; S2: Based on the BES data exchange standard, obtain the target standard objects and construct a BES data exchange standard expression capability model; S3: Based on the unified and associated organizational structure, obtain the data expression requirements corresponding to each source engineering object; based on the BES data exchange standard expression capability model, obtain the data expression capability of each target standard object, and generate a set of candidate data transformation schemes; for the set of candidate data transformation schemes, use the preservation compensation method to obtain the target data transformation scheme; S4: For each source project object, obtain its corresponding target data conversion scheme to obtain the target BES exchange data.

[0018] Bentley BIM refers to the original input for the conversion work. It refers to the original BIM dataset generated by Bentley software, with DGN files as the core carrier, which includes master / reference files, design models and various engineering objects (including geometry, attributes and relationships). The MicroStation SDK interface is a programming interface provided by Bentley for the MicroStation platform. It allows external programs to directly read, traverse, parse, and write DGN files without interacting with the software interface.

[0019] Constructing a unified and interconnected organizational structure includes: Obtain the Bentley BIM source project data input by the user, and read the file information in the source project data through file scanning and MicroStation SDK interface, including the main DGN file and the reference DGN file; based on the file information in the source project data, construct a source project file set in the form of: {main DGN file, reference DGN file}. Specifically, the process involves obtaining all file names, file paths, file formats, and file association information in the source project data directory through file scanning; further, the MicroStation SDK is used to parse the DGN file header information and reference file configuration relationships to identify the main DGN file and the reference DGN file; the main DGN file is determined based on the DGN file's own storage attributes, and the reference DGN file is determined based on the internal reference file records of the DGN.

[0020] For each DGN file in the main DGN file and reference DGN files in the source project file set, the MicroStation SDK is used to read each DGN file and traverse all design models within it. For example, for the equipment.DGN file, it includes a 3D design model, a 2D layout model, and a construction model. These three models are all design models. For each design model, the corresponding data description information is obtained. The data description information includes model identification information, model type information, model association information, and model space information. For example, the data description information of one 3D design model is: Model identification information: M001, Model type information: 3D design model, Model association information: equipment.DGN, Model space information: 3D spatial coordinate system. The MicroStation SDK is used to obtain and generate the design model organization structure, such as the form: {file ID{design model1, design model2, design model3}, {file ID{design model4, design model5}}}. Based on the organizational structure of the design model, each design model is traversed sequentially, and all source project objects contained within the design model are read using the MicroStation SDK. For example, centrifugal pumps, valves, motors, and pipelines obtained from 3D equipment design models are all source engineering objects; For each source project object, the corresponding object description information is extracted, such as using MicroStationSDK. The object description information includes geometric description information, attribute description information, and object relationship information. Among them, the geometric description information includes spatial coordinates and geometric dimensions; the attribute description information includes the source object's unique identifier, layer information, color information, object type identifier, and EC extended attributes. Among them, the object type identifier is used to identify the object category to which the source project object belongs, including point objects, line objects, curve objects, surface objects, solid objects, mesh objects, text objects, ordinary unit objects, and shared unit objects; Object relationship information includes the design model to which it belongs and the DGN file to which it belongs; And form the source engineering object organization structure, such as: {Design Model 1{Construction Object 1: (Geometric Description Information, Attribute Description Information, Belonging Relationship Information), Construction Object 2: (Geometric Description Information, Attribute Description Information, Belonging Relationship Information)}, Design Model 2{Construction Object 1: (Geometric Description Information, Attribute Description Information, Belonging Relationship Information)}}; Based on the source project object organization structure, all source project objects in each design model are traversed to identify those belonging to shared objects. For example, the object type identifier in each source project object is read. When the object type identifier is a shared unit object, the corresponding source project object is identified as a shared object. For each identified shared object, the MicroStation SDK is used to parse the corresponding shared unit definition information and shared unit instance information (including the design model to which it belongs, the DGN file to which it belongs, the instance spatial location, the instance rotation parameters, and the instance scaling parameters). For example, the shared unit definition information includes the unit type identifier, geometric description information, and EC extended attributes; the shared unit instance information includes the design model to which it belongs, the DGN file to which it belongs, the instance spatial location, the instance rotation parameters, and the instance scaling parameters. Based on the shared unit definition information and shared unit instance information, construct the shared object organization structure, such as the form: {Source project object 1: (shared unit definition information, shared unit instance information), Source project object 4: (shared unit definition information, shared unit instance information)}; For example, by traversing all source engineering objects in each design model, and identifying source engineering object 1 (centrifugal pump) and source engineering object 4 (valve) in the 3D equipment design model as shared objects, the MicroStationSDK is called for source engineering object 1 to obtain the shared unit definition information, including: unit type identifier: equipment class unit, geometric description information: spatial coordinates (102500, 9800, 2500), geometric dimensions (1800*800*1200), EC extended attributes: (rated power: 50kW, flow rate: 120m³ / h, pressure: 0.8MPa, manufacturer: ABC company); the shared unit instance information includes: belonging design model: 3D equipment design model, belonging DGN file: equipment.DGN, instance spatial position (12000mm, 6500mm, 1000mm), instance rotation parameters: rotated 45° around the z-axis, instance scaling parameters: 1x; This applies to the source project file set, design model organization structure, source project object organization structure, and shared object organization structure. Traverse each DGN file in the source project file set, obtain all the design models contained in the corresponding DGN file according to the design model organization structure, and establish a one-to-many association between DGN files and design models; Iterate through each design model in the design model organization structure, obtain all source engineering objects of the corresponding design model according to the source engineering object organization structure, and establish a one-to-many relationship between the design model and the source engineering objects; Traverse the shared object organizational structure, associate the shared unit definition information and shared unit instance information of the corresponding shared object with the corresponding source project object, and establish a one-to-one association between the source project object and the shared unit definition information and shared unit instance information; Based on the one-to-many association between DGN files and design models, the one-to-many association between design models and construction objects, and the one-to-one association between source project objects and shared unit definition information and shared unit instance information, a unified association organization structure is constructed, in the following form: {File ID{Design Model 1:{Source Project Object 1:{Geometric Description Information, Attribute Description Information, Object Relationship Information, Shared Unit Definition Information, Shared Unit Instance Information},Source Project Object 2:{Geometric Description Information, Attribute Description Information, Object Relationship Information}},Design Model 2:{Source Project Object 3:{Geometric Description Information, Attribute Description Information, Object Relationship Information}}}}.

[0021] The Bentley BIM source engineering data input by the user is parsed layer by layer. Data that was originally scattered in the main DGN file, reference DGN file, various design models, and various source engineering objects is uniformly extracted and associated. The relationship between DGN file and design model, and between design model and source engineering objects is clarified. Furthermore, shared objects and their shared unit definition information and shared unit instance information are identified. Finally, the geometric description information, attribute description information, object relationship information, and existing shared unit definition information and shared unit instance information corresponding to each source engineering object are uniformly associated with the corresponding DGN file and design model to build a unified association organization structure. This fully represents "which source engineering objects are included in the Bentley BIM source engineering data, what data each source engineering object contains, and how the source engineering objects are organized", providing a unified source engineering data foundation for subsequent determination of the data expression requirements of each source engineering object and generation of data transformation schemes.

[0022] The target BES data exchange standard is a BIM data exchange specification led by China and based on the .bes format. It aims to unify the data expression between different software and ensure the integrity and consistency of model geometry, attributes and relationships when transferred across platforms.

[0023] Construct a BES data exchange standard expressive capability model, including: Obtain the standard description file corresponding to the target BES data exchange standard. This standard description file is specified by the user. Parse all target standard objects in the standard description file using a standard parsing method. The standard description file typically uses a structured description format, such as XML or JSON; therefore, a corresponding XML parser or JSON parser is used. Based on each target standard object, obtain its corresponding data organization information and generate a unified BES standard data organization structure. The data organization information includes: identification information, hierarchical organization information, reference relationship information, attribute organization information, and constraint information. For standard description files, such as the BES standard description file .JSON, the target standard objects in the file include pump objects, valve objects, pipe objects, etc. For the pump object, the data organization information of the pump object is obtained. The identification information includes object name: pump, object category: equipment object, object number: BES-001, attribute organization information includes: model: P100, power: 50kW, material: stainless steel; it includes relationship information including associated object: pipe, relationship: connection relationship; hierarchical organization information includes parent object: equipment system, current object: pump, and constraint information including power cannot be less than 0. Among them, the source project object is the specific object in the actual project data, and the target standard object is the predefined data template in the target BES exchange standard. One is something that actually exists, and the other is something that the standard specifies how it should be described. For each target standard object in the BES standard unified data organization structure, the corresponding data expression capabilities are analyzed using schema parsing methods, and a BES standard expression capability set is constructed. These data expression capabilities include geometric expression capabilities, attribute expression capabilities, relational expression capabilities, hierarchical expression capabilities, reference expression capabilities, and instance expression capabilities. The BES standard expression capability set is constructed in the form: {Target Standard Object 1: (Geometric expression capability, attribute expression capability, relational expression capability, hierarchical expression capability, reference expression capability, instance expression capability); Target Standard Object 2: (Geometric expression capability, attribute expression capability, relational expression capability, hierarchical expression capability, reference expression capability, instance expression capability)}. Among them, geometric expression capabilities include point geometric expression capabilities, line geometric expression capabilities, curve geometric expression capabilities, surface geometric expression capabilities, solid geometric expression capabilities, and mesh geometric expression capabilities; Attribute expressive capabilities include basic attribute expressive capabilities, extended attribute expressive capabilities, and attribute inheritance expressive capabilities; Relational expressive capabilities include containment relations, reference relations, instance relations, association relations, and hierarchical relations; Hierarchical expressive capabilities include document layer, model layer, object layer, and multi-level parent-child hierarchy; Instance expressive capabilities include type definition expression, instance reference expression, instance space transformation expression, and instance reuse expression; For example, for a pump object, the BES standard expressive capabilities set is: {Geometric expressive capabilities: entity geometry expressive capabilities, attribute expressive capabilities: (basic attribute expressive capabilities, extended attribute expressive capabilities), relational expressive capabilities: (containment relations, reference relations), hierarchical expressive capabilities: multi-level parent-child hierarchical expressive capabilities, instance expressive capabilities: instance space transformation expressive capabilities}; For the BES standard expressive capability set, based on the geometric expressive capability, attribute expressive capability, relational expressive capability, hierarchical expressive capability and instance expressive capability corresponding to each target standard object, the expressible range of each target standard object is obtained, and based on the expressible range, the data expression constraints corresponding to each target standard object are obtained. For each data expression constraint, determine the expression result of the source engineering data in the corresponding target standard object, where the expression result includes complete expression, partial expression, and no expression; for data expression constraints where the expression result is partial expression or no expression, establish a BES expression constraint set; The data representation constraints include geometric type constraints, attribute type constraints, relationship establishment constraints, hierarchy depth constraints, and instance reuse constraints. For example, a pump object has the following capabilities: {Geometric representation: entity geometry representation, attribute representation: (basic attribute representation, extended attribute representation), relational representation: (containment relationship, reference relationship), hierarchical representation: multi-level parent-child hierarchy representation, instance representation: instance space transformation representation}. The expressible scope is: {Geometric representation scope: supports entity geometry representation; Attribute representation scope: supports basic and extended attribute representation; Relationship representation scope: supports containment and reference relationships; Hierarchical representation scope: supports multi-level parent-child hierarchy organization; Instance representation scope: supports instance space transformation representation}. Therefore, the data expression restrictions for the pump object are: {Geometric type restriction: only entity geometry is allowed for representation; point geometry, line geometry, curve geometry, surface geometry, and mesh geometry are prohibited; Attribute type restriction: basic and extended attribute representation is allowed; attribute inheritance is not allowed; Relationship establishment restriction: only containment and reference relationships are allowed; instance relationships, association relationships, and hierarchical relationships are prohibited; Hierarchical depth restriction:} Objects must be organized in a multi-level parent-child hierarchy, and file layers, model layers, and object layers are not allowed; instance reuse restrictions: instance space transformation expression is allowed, but type definition expression, instance reference expression, and instance reuse expression are not supported. For the unified data organization structure, the set of BES standard expressive capabilities, and the set of BES expression constraints of the standard, corresponding data expressive capability description units are established according to the target standard objects. The data expressive capability description units include data organization information, data expressive capabilities, and data expressive constraints. A BES data exchange standard expressive capability model is constructed in the form of: {target standard object 1: {data expressive capability description unit 1}}.

[0024] The target BES data exchange standard specified by the user is parsed to clarify "which target standard objects are included in the target BES data exchange standard, how each target standard object organizes data, what data it can express, and what data expression restrictions it is subject to." Specifically, the target standard objects and their data organization information are obtained by parsing the standard description file, a unified data organization structure for the BES standard is constructed, and the geometric expression capability, attribute expression capability, relational expression capability, hierarchical expression capability, reference expression capability, and instance expression capability of each target standard object are further analyzed to determine the corresponding expressible range and data expression restrictions. Finally, the data organization information, data expression capability, and data expression restrictions are associated according to the target standard objects to construct a BES data exchange standard expression capability model. This provides a data expression basis on the target standard side for matching the data expression requirements of each source project object with the data expression capability of the target standard object and generating candidate data conversion schemes.

[0025] For a unified and interconnected organizational structure, the data representation requirements for each source project object include: For each source project object in the unified associated organizational structure, retrieve its corresponding object description information, namely geometric description information, attribute description information, and object relationship information. If the source project object has shared unit definition information and shared unit instance information, then retrieve the corresponding shared unit definition information and shared unit instance information at the same time. By combining the association relationships between DGN files and design models, and between design models and source engineering objects in the unified association organizational structure, the data organization methods corresponding to each source engineering object are obtained, such as using metadata parsing methods; the data organization methods include geometric organization methods, attribute organization methods, relational organization methods, hierarchical organization methods, instance organization methods, and reference organization methods; Based on the data organization method corresponding to each source project object, its corresponding data expression requirements are obtained; the data expression requirements include geometric expression requirements, attribute expression requirements, relational expression requirements, hierarchical expression requirements, instance expression requirements, and reference expression requirements; For example, if the geometric organization method in the data organization method corresponding to the source engineering object (centrifugal pump OBJ-001) is solid geometry organization, then the geometric expression requirement in the corresponding data expression requirement is to express solid geometry.

[0026] Based on the BES data exchange standard expressive capability model, the data expressive capabilities of each target standard object are obtained, and a set of candidate data transformation schemes is generated, including: For the BES data exchange standard expressive capability model, each data expressive capability description unit is traversed sequentially to read the data expressive capability of the corresponding target standard object. Match the data expression requirements of the source project object with the data expression capabilities of the target standard object. When the data expression capabilities of the target standard object meet the data expression requirements of the source project object, establish a data expression matching relationship between the source project object and the target standard object. The matching relationship includes full matching and partial matching, generating a data expression association set. The form is: {Source project object 1: (Target standard object 1, geometric expression: satisfies), Source project object 2: (Target standard object 1, geometric expression: satisfies), (Target standard object 2, geometric expression: satisfies)}, indicating that the source project object may match multiple target standard objects. If the geometric expression requirement in the data expression requirement of the source engineering object (centrifugal pump) is to express solid geometry, while the geometric expression capability in the data expression capability of the retrieved target standard object (pump object) is solid geometry expression capability, then both involve solid geometry, indicating a match. If the geometric expression capability is linear geometry expression capability, then there is no match. When the data expression capability of the target standard object has some data (such as 50%, set according to engineering experience) that cannot meet the core data expression requirements of the source engineering object, then it is determined that the source engineering object and the target standard object do not match, and no corresponding data expression association relationship is established. When a source project object corresponds to N target standard objects (N is greater than or equal to 2), N sets of candidate data transformation schemes are generated respectively. The candidate data transformation schemes include target standard objects, geometric transformation methods, attribute transformation methods, relational transformation methods, hierarchical transformation methods, and instance transformation methods; For example, when the target standard object corresponding to the centrifugal pump (OBJ-001) is a pump object, the instance conversion method is: the shared unit instance is converted into an instance space transformation; When the corresponding target standard object is a device object, the instance conversion method is: the shared unit instance is converted into an instance reference expression; For the set of candidate data transformation schemes, a preservation compensation method is used to obtain the target data transformation scheme, including: For each candidate data transformation scheme in the candidate data transformation scheme set, read the data organization method of the corresponding source engineering object, and the data expression capability of the corresponding target standard object in the BES data exchange standard expression capability model; It analyzes whether the data organization methods of the source engineering object and the data expression capabilities of the target standard object are consistent. When they are fully consistent, an organization maintenance relationship is established; when they are not fully consistent, the data organization content that cannot be maintained is recorded. For example, if the geometric organization method in the data organization method is an entity, and the geometric expression capability in the data expression capability is also an entity, then a maintenance relationship is established, i.e., (centrifugal pump (OBJ-001-equipment object)), and it is used as a candidate data conversion scheme. If the geometric organization method in the data organization method is an entity, and the geometric expression capability in the data expression capability is an entity, this is the data organization content. When the data organization cannot be maintained, restrictions are established based on the data expression capabilities and data expression constraints in the BES data exchange standard expression capability model, through the relationships in the target standard object, and other corresponding target standard objects are examined for compensation; when compensation can be achieved, the corresponding compensation relationship is established and candidate data transformation schemes are generated. For example, if the geometric organization method in the data organization of a centrifugal pump (OBJ-001) is solid, and the geometric expression capability in the data expression capability of the equipment object is mesh, then the data organization content that cannot be maintained is recorded in the form of (geometric organization method - geometric expression capability). The data expression capability description units in the BES data exchange standard expression capability model are traversed. Assuming the relationship establishment constraint of the equipment object is a reference relationship, and the referenceable object is a file object, then the data expression capability of the file object is retrieved. If the data expression capability of the file object matches the data organization method of the centrifugal pump, then the reference relationship in the equipment object is further retrieved to check whether the referenceable object is a file object. If the object is a file object, then the file object will be compensated; otherwise, no compensation will be possible. The corresponding compensation relationship is established as: (Centrifugal pump (OBJ-001) - Cannot be maintained (Equipment object) - Compensation (File object)); The candidate data conversion scheme is generated as: {Source project object: Centrifugal pump (OBJ-001), Target standard object: Equipment object, Geometric conversion method: Solid geometry - Mesh geometry, Attribute conversion method: Basic attribute - Basic attribute, Extended attribute - Extended attribute, Relationship conversion method: Belonging relationship - Belonging relationship, ..., Compensation is performed by geometric conversion method: (File object: (Geometric conversion method: Solid geometry - Solid geometry))}; If only the geometric organization, attribute organization, and relational organization of the centrifugal pump (OBJ-001) data organization method are inconsistent with the corresponding data expression capabilities of the equipment object, while the remaining data organization methods remain consistent, then the data organization content that cannot be maintained is recorded, such as (geometric organization method - geometric expression capability, attribute organization method - attribute expression capability, relational organization method - relational expression capability). The data expression capability description units in the BES data exchange standard expression capability model are traversed. Assuming that the relationship establishment of the equipment object is restricted to reference relationships, and the referenceable objects are file objects and valve objects, then the file object is retrieved. If the data representation capability of the file object is found to be consistent with the geometric organization of the centrifugal pump, then the reference relationship in the equipment object is further retrieved to determine whether the referenced object is a file object. If it is a file object, the file object is compensated. If the data representation capability of the valve object is consistent with the attribute organization and relationship organization of the centrifugal pump, then the reference relationship in the equipment object is further retrieved. If the referenced object is a valve object, then the valve object is compensated, and the corresponding compensation relationship is established as: (Centrifugal pump (OBJ-001) - Cannot be maintained (equipment object) - Compensation (file object, valve object)); For each candidate data transformation scheme in the candidate data transformation scheme set, select the corresponding target data transformation scheme.

[0027] For the set of candidate data transformation schemes, the corresponding target data transformation scheme is selected, including: For each candidate data transformation scheme in the candidate data transformation scheme set, if it is to maintain the relationship, there is one target standard object; if it is to compensate, there are Q target standard objects (Q is greater than or equal to 2), including one target standard object and Q-1 compensation target objects. One target standard object is defined as the main target standard object, and the Q target standard objects are defined as compensation target standard objects. The primary target standard object and the compensation target standard object are respectively used as configuration nodes, and the compensation relationship is used as the connection relationship between configuration nodes. If there is only one primary target standard object, then the primary target standard object is used as the configuration node, and the preservation relationship is used as the attribute label of the configuration node. Combined with the data organization information corresponding to each target standard object, the target expression configuration corresponding to the candidate data transformation scheme is constructed. For each target expression configuration, based on the target standard objects included therein, the corresponding data organization information and data expression constraints are retrieved from the BES data exchange standard expression capability model, and based on the data organization information and data expression constraints, a standard expression configuration corresponding to the current target expression configuration is constructed. Determine whether the target representation configuration is consistent with the standard representation configuration, and select the target data transformation scheme.

[0028] Determine whether the target representation configuration is consistent with the standard representation configuration, and select the target data transformation scheme, including: For example, centrifugal pump OBJ-001 → device object + file object, where the device object is responsible for items 1 to 5, and the file object is responsible for item 6; target expression configuration {configuration node: {device object E01, file object A01}; data organization: {E01: {1, 2, 3, 4, 5}, A01: {6}}; configuration connection: {E01—reference relationship → A01}; hierarchical organization: {device system → E01, E01 → A01}}; where 1, 2, 3, 4, 5, and 6 refer to data organization content, such as entity geometry organization content, basic attribute organization content, EC extended attribute organization content, object relationship organization content, hierarchical organization content, and shared unit instance organization content; Standard expression configuration: {Object composition restrictions: {Device object = 1, File object = 1}; Data organization restrictions: {Device objects are allowed to carry {1, 2, 3, 4, 5}; File objects are allowed to carry {6}}; Relationship connection restrictions: {Device objects are allowed to reference file objects; Reference direction = Device object → File object; Number of file object references ≤ 1}; Hierarchical organization restrictions: {Device objects are located under the device system hierarchy; File objects are associated with device objects}}; Among them, target expression construction refers to the specific BES data organization state expected to be formed after a candidate data transformation scheme is implemented according to the scheme, while standard expression construction refers to the data organization constraints that the combination of target standard objects involved in the candidate data transformation scheme must meet under the BES data exchange standard. For example, the configuration node is {Device object E01, File object A01}, which means there is one device object and one file object. The standard expression configuration specifies the object composition restriction: {Device object = 1, File object = 1}, so it is consistent. If the configuration node is {Device object E01, File object A01, File object A02}, then there are two file objects, which does not meet the requirement. If the target representation configuration and the standard representation configuration are consistent, the corresponding candidate data transformation scheme is selected as the preferred candidate scheme. If there is only one preferred candidate scheme, that preferred candidate scheme is used as the target data transformation scheme. If there are Y preferred candidate schemes (Y is greater than or equal to 2), each preferred candidate scheme is read to determine whether it is a preservation relationship or a compensation relationship. If it is a preservation relationship, the preferred candidate scheme with the preservation relationship is selected as the target data transformation scheme. If all Y preferred candidate schemes are compensation relationships, the preferred candidate scheme with the lowest compensation cost is selected as the target data transformation scheme. Here, the compensation cost is the number of standard objects to be compensated. If no candidate data transformation scheme exists that maintains consistency between the target representation configuration and the corresponding standard representation configuration, then the candidate data transformation scheme that covers the largest number of data organization contents is selected as the target data transformation scheme.

[0029] Based on the unified association organizational structure constructed in step S1, the data organization method of each source engineering object is analyzed to obtain the corresponding geometric expression requirements, attribute expression requirements, relational expression requirements, hierarchical expression requirements, instance expression requirements, and reference expression requirements. The data expression requirements of each source engineering object are matched with the data expression capabilities of each target standard object in step S2 to determine the target standard objects that the source engineering object can correspond to and generate a set of candidate data conversion schemes. Further, the data organization content of the source engineering object can be directly maintained by the target standard object through the preservation compensation method. For data organization content that cannot be maintained, other target standard objects that meet the data expression capabilities and data expression constraints are used for compensation to form preservation or compensation relationships. On this basis, the target expression configuration is constructed according to the specific BES data organization state expected to be formed by each candidate data conversion scheme, and compared with the standard expression configuration that the corresponding target standard object combination must meet under the BES data exchange standard. The preferred candidate schemes that meet the standard expression configuration are screened, and the target data conversion scheme corresponding to each source engineering object is finally determined by combining the preservation relationship and the compensation cost. This solves the problem of "which target standard objects, what data conversion method, and what organizational relationship are used to express the source engineering object in the target BES data exchange standard".

[0030] For each source project object, obtain its corresponding target data transformation scheme to obtain the target BES exchange data, including: For each source project object, retrieve its corresponding target data transformation scheme, read one or D target standard objects (D greater than or equal to 2) from the target data transformation scheme, as well as the corresponding geometric transformation method, attribute transformation method, relational transformation method, hierarchical transformation method, instance transformation method, and compensation preservation relationship; according to the data organization information of each target standard object in the BES data exchange standard expression capability model, create the corresponding target standard object instance, and sequentially retrieve the geometric description information, attribute description information, object relation information, and existing shared unit definition information and shared unit instance information of the source project object; according to the target data transformation scheme, transform the corresponding data and write it into the target standard object instance; When there is a compensation-preservation relationship in the target data transformation scheme, a corresponding compensation target standard object instance is created according to the compensation-preservation relationship, and the data organization content that the target standard object cannot directly preserve is written into the compensation target standard object instance. After all source project objects in the unified association organizational structure have been converted, all generated target standard object instances are organized according to the unified data organizational structure of the BES standard to obtain the target BES exchange data.

[0031] For each source engineering object determined in step S3, the actual conversion of source engineering data to target BES data is performed. Target standard object instances are created according to the target standard objects and corresponding data conversion methods in the target data conversion scheme. The geometric description information, attribute description information, object relationship information, and existing shared unit definition information and shared unit instance information of the source engineering objects are converted and written into the corresponding target standard object instances. For data organization content that the target standard objects cannot directly maintain, compensation target standard object instances are created according to the compensation maintenance relationship for compensation expression. After all source engineering objects have been converted, all target standard object instances are uniformly organized according to the unified data organization structure of the BES standard, ultimately obtaining target BES exchange data that conforms to the target BES data exchange standard.

[0032] like Figure 2 As shown, the BIM data exchange and conversion system based on multi-format parsing includes: Source Domain Association Resolution Module: For Bentley BIM source project data, obtain the source project objects and construct a unified association organization structure; Standard Capability Modeling Module: Based on the BES data exchange standard, obtain the target standard objects and construct the BES data exchange standard expressive capability model; Expression Adaptation Decision Module: Based on the unified associated organizational structure, obtain the data expression requirements corresponding to each source engineering object; based on the BES data exchange standard expression capability model, obtain the data expression capability of each target standard object, and generate a set of candidate data transformation schemes; for the set of candidate data transformation schemes, use the preservation compensation method to obtain the target data transformation scheme; Data exchange generation module: For each source project object, obtain its corresponding target data conversion scheme to obtain the target BES exchange data.

[0033] In this embodiment, a unified and associated organizational structure is constructed by parsing Bentley BIM source engineering data, and a BES data exchange standard expression capability model is constructed by parsing the target BES data exchange standard. This ensures that the data expression requirements of each source engineering object can be matched with the data expression capabilities of each target standard object. Based on this, a preservation compensation method is used to establish preservation relationships for data organization content that can be directly preserved by the target standard object, and to establish compensation relationships for data organization content that cannot be directly preserved using the compensation target standard object. Candidate data conversion schemes are judged by comparing the target expression configuration with the standard expression configuration to determine the target data conversion scheme corresponding to each source engineering object. Finally, the target BES exchange data is generated, thereby improving the preservation degree of data organization content of Bentley BIM source engineering data in the BES data exchange standard and reducing data organization content that cannot be directly preserved during the data exchange conversion process.

[0034] It can generate candidate data conversion schemes based on the data expression requirements of each source engineering object and the data expression capabilities of each target standard object. For data organization content that cannot be directly maintained by a target standard object, it compensates by compensating the target standard object, so that a source engineering object can be converted into one or more target standard object instances according to the corresponding target data conversion scheme. At the same time, by constructing the target expression configuration corresponding to the candidate data conversion scheme and obtaining the corresponding standard expression configuration based on the BES data exchange standard expression capability model, it judges the target expression configuration and the standard expression configuration, so that the final target data conversion scheme can both maintain the data organization content of the source engineering object and meet the data organization requirements corresponding to the target BES data exchange standard, thereby improving the adaptability and completeness of data exchange conversion.

[0035] Since the electronic device described in this embodiment is the one used to implement the BIM data exchange and conversion method and system based on multi-format parsing in the embodiments of this application, those skilled in the art can understand the specific implementation methods and various variations of the electronic device in this embodiment based on the BIM data exchange and conversion method and system based on multi-format parsing described in the embodiments of this application. Therefore, how the electronic device implements the method in the embodiments of this application will not be described in detail here. Any electronic device used by those skilled in the art to implement the BIM data exchange and conversion method and system based on multi-format parsing in the embodiments of this application falls within the scope of protection of this application.

[0036] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A BIM data exchange and conversion method based on multi-format parsing, characterized in that, The method includes: Step S1: For Bentley BIM source project data, obtain each source project object and construct a unified association organizational structure; Step S2: For the BES data exchange standard, obtain the target standard objects and construct the BES data exchange standard expression capability model; Step S3: For the unified associated organizational structure, obtain the data expression requirements corresponding to each source engineering object; based on the BES data exchange standard expression capability model, obtain the data expression capability of each target standard object, and generate a set of candidate data transformation schemes; for the set of candidate data transformation schemes, use the preservation compensation method to obtain the target data transformation scheme; Specifically, for each candidate data transformation scheme in the candidate data transformation scheme set, the data organization method of the corresponding source engineering object and the data expression capability of the corresponding target standard object in the BES data exchange standard expression capability model are read; It analyzes the data organization content between them, and when all are consistent, establishes organization maintenance relationships and uses them as candidate data transformation schemes; when not all are maintained, it records the data organization content that cannot be maintained. When dealing with data organization content that cannot be maintained, establish corresponding compensation relationships and generate candidate data transformation schemes; For the set of candidate data transformation schemes, the corresponding target data transformation scheme is selected; The step of selecting the target data transformation scheme from the candidate data transformation scheme set includes: For each candidate data transformation scheme in the candidate data transformation scheme set, if it is a maintenance relationship, it includes the main target standard object; if it is a compensation relationship, it includes the target standard object and the compensation target object. The primary target standard object and the compensation target standard object are respectively used as configuration nodes, and the compensation relationship is used as the connection relationship between configuration nodes. If there is only one primary target standard object, the primary target standard object is used as the configuration node, the preservation relationship is used as the attribute label of the configuration node, and the target expression configuration corresponding to the candidate data transformation scheme is constructed. For each target expression configuration, based on the target standard objects included therein, the corresponding data organization information and data expression constraints are retrieved from the BES data exchange standard expression capability model to construct a standard expression configuration corresponding to the current target expression configuration. Determine whether the target representation configuration is consistent with the standard representation configuration, and select the target data transformation scheme; The step of determining whether the target expression configuration is consistent with the standard expression configuration and selecting the target data transformation scheme includes: If the target expression configuration and the standard expression configuration are consistent, the corresponding candidate data transformation scheme is selected as the preferred candidate scheme. If there is only one preferred candidate scheme, then that preferred candidate scheme is used as the target data transformation scheme. If there are Y preferred candidate schemes, then each preferred candidate scheme is read as either a preservation relationship or a compensation relationship. If it is a preservation relationship, then the preferred candidate scheme with the preservation relationship is selected as the target data transformation scheme. If all Y preferred candidate schemes are compensation relationships, then the preferred candidate scheme with the lowest compensation cost is selected as the target data transformation scheme. If there is no candidate data transformation scheme that is consistent with the target expression configuration and the corresponding standard expression configuration, then the candidate data transformation scheme that covers the most data organization content is selected as the target data transformation scheme. Step S4: For each source project object, obtain its corresponding target data conversion scheme to obtain the target BES exchange data.

2. The method according to claim 1, characterized in that, The construction of a unified and interconnected organizational structure includes: Obtain the Bentley BIM source project data input by the user, extract the main DGN file and reference DGN file, and construct a set of source project files; For the source project file set, obtain the corresponding data description information and generate the design model organization structure; For the design model's organizational structure, read all the source project objects contained within it, extract the corresponding object description information, and form the source project object organizational structure. Based on the source project object organization structure, traverse all source project objects in each design model, identify source project objects that belong to shared objects, and generate a unified association organization structure.

3. The method according to claim 2, characterized in that, The construction of the BES data exchange standard expressive capability model includes: Obtain all target standard objects, generate a unified BES standard data organization structure based on each target standard object, analyze its corresponding data expression capabilities, and construct a set of BES standard expression capabilities. For the BES standard expression capability set, based on the data expression capability corresponding to each target standard object, the data expression constraints corresponding to each target standard object are obtained, and the expression results of the source engineering data in the corresponding target standard object are judged to establish the BES expression constraint set; For the unified data organization structure, the set of BES standard expressive capabilities, and the set of BES expression constraints, corresponding data expressive capability description units are established according to the target standard objects; and a BES data exchange standard expressive capability model is constructed based on the data expressive capability description units.

4. The method according to claim 3, characterized in that, The process of obtaining the data representation requirements corresponding to each source engineering object based on a unified and associated organizational structure includes: For each source project object in the unified association organizational structure, retrieve its corresponding object description information, and combine the association relationship between the DGN file and the design model, and the association relationship between the design model and the source project object in the unified association organizational structure, to obtain the data organization method corresponding to each source project object; Based on the data organization method corresponding to each source project object, the corresponding data expression requirements are obtained.

5. The method according to claim 4, characterized in that, The BES data exchange standard expressive capability model obtains the data expressive capability of each target standard object and generates a set of candidate data transformation schemes, including: Based on the BES data exchange standard expressive capability model, read the data expressive capability of the corresponding target standard object; Match the data expression requirements of the source project object with the data expression capabilities of the target standard object. When the data expression capabilities of the target standard object meet the data expression requirements of the source project object, establish a data expression matching relationship between the source project object and the target standard object. The matching relationship includes full matching and partial matching, and generate a data expression association set. For a set of data representation associations, when one source engineering object corresponds to N target standard objects, a set of candidate data transformation schemes is generated.

6. The method according to claim 5, characterized in that, The process of obtaining the target data conversion scheme for each source project object to obtain the target BES exchange data includes: For each source project object, retrieve its corresponding target data transformation scheme, create a corresponding target standard object instance according to the data organization information of each target standard object in the BES data exchange standard expression capability model, and transform and write the corresponding data into the target standard object instance according to the target data transformation scheme. After all source project objects in the unified association organizational structure have been converted, all generated target standard object instances are organized according to the unified data organizational structure of the BES standard to obtain the target BES exchange data.

7. A BIM data exchange and conversion system based on multi-format parsing, characterized in that, include: Source Domain Association Resolution Module: For Bentley BIM source project data, obtain the source project objects and construct a unified association organization structure; Standard Capability Modeling Module: Based on the BES data exchange standard, obtain the target standard objects and construct the BES data exchange standard expressive capability model; Expression Adaptation Decision Module: Based on the unified associated organizational structure, obtain the data expression requirements corresponding to each source engineering object; based on the BES data exchange standard expression capability model, obtain the data expression capability of each target standard object, and generate a set of candidate data transformation schemes; for the set of candidate data transformation schemes, use the preservation compensation method to obtain the target data transformation scheme; Data exchange generation module: For each source project object, obtain its corresponding target data conversion scheme to obtain the target BES exchange data.