Automatic mapping method between tunnel BIM components and codes based on MicroStation software

By adopting a multi-level coding system and MDL automatic coding program in MicroStation software, the problem of low efficiency in manual coding of tunnel BIM components is solved, automatic mapping of components and databases is realized, work efficiency and coding accuracy are improved, and complex mapping is supported. Relationship management.

CN113392275BActive Publication Date: 2024-10-18SOUTHEAST UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110601904.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-31
Publication Date
2024-10-18
Estimated Expiration
2041-05-31

AI Technical Summary

Technical Problem

The existing technology lacks an automated mapping method of tunnel BIM components and coding based on MicroStation software, resulting in the traditional manual coding method being inefficient and having a high error rate, making it impossible to realize automated processing of components and coding in MicroStation software.

Method used

Using a multi-level coding system, combined with MicroStation secondary development language MDL and Oracle database technology, an automatic coding program is developed to automatically generate the coding of the tunnel BIM components and save it in the database to realize the link and management of the components and the database.

Benefits of technology

It realizes automated coding of tunnel BIM components, improves work efficiency and coding accuracy, reduces the mechanical work of manual coding, improves the standardization and accuracy of model coding, and supports batch processing and complex processing of multiple attribute information. Management of mapping relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113392275B_ABST
    Figure CN113392275B_ABST
Patent Text Reader

Abstract

The present invention discloses a tunnel BIM component and coding automatic mapping method based on MicroStation software, including: formulating a coding system for tunnel BIM components; formulating a custom mapping relationship between multi-level codes and model attribute information according to the coding system; developing an automatic coding program using MicroStation secondary development language MDL and Oracle database technology according to the custom mapping relationship; extracting attribute information of tunnel BIM components and storing it in a database, and linking the tunnel BIM components with corresponding database records; running the automatic coding program, processing the attribute information of the tunnel BIM components, automatically generating the codes of the tunnel BIM components and storing them in the database; linking the generated codes stored in the database with the tunnel BIM components and storing them in the attribute information of the tunnel BIM components. The present invention solves the problems of mechanical repetition, low efficiency and high error rate of the traditional manual coding method, greatly improves work efficiency, and increases the standardization and accuracy of model coding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a tunnel BIM component and coding automatic mapping method based on MicroStation software, and belongs to the technical field of building information modeling information. Background Art

[0002] Building Information Modeling (BIM) can carry all kinds of information in the construction process. Based on the unified management and visualization of data throughout the life cycle, it can be shared among owners, designers, construction and operation units to improve work efficiency. MicroStation software is a practical BIM modeling tool developed by Bentley, which is widely used in architectural design, civil engineering, transportation, geographic information systems and other aspects. Models are the basis of BIM technology, and coding is the identification of model components. By formulating a coding system to encode model components, components can be selected and processed in batches according to the coding, and component information can be quickly obtained.

[0003] Chinese patent CN 111177431 B discloses a digital photo management method, device, processor and storage medium based on MicroStation, which can effectively manage digital photos collected at the engineering site, realize the seamless connection between the design process and the on-site situation, and improve work efficiency. This method has the following disadvantages: the attribute information of digital photos is relatively single, and the mapping relationship is simple. This method can only read and process data for a single attribute information, and cannot perform batch processing on multiple attribute information and complex mapping relationships.

[0004] Chinese patent CN 108920770 A discloses a method for automatic coding of BIM components and associating BIM models based on Revit software, which uses secondary development technology based on Revit API and SQLite database technology to realize automatic coding technology of components in the model, greatly improving the efficiency of coding; Chinese patent CN 111581691A discloses a method for automatic EBS coding of highway bridges based on BIM model, which provides a method for automatic EBS coding of highway bridges based on BIM model and EBS coding logic, which can quickly, accurately and efficiently code the IFD classification of components, and realize the information management of all bridges along the entire highway. The methods adopted in the above patents are all based on the automatic mapping of components and coding on the Revit platform, which cannot be used in MicroStation software. At present, there is no method for automatic mapping of tunnel BIM components and coding based on MicroStation software, and manual coding is still adopted, which requires a lot of time for repeated mechanical work. Tunnel engineering has the characteristics of long routes, complex structures, multiple fields involved, and a large number of components. In order to fully reflect the location, type and other information of each tunnel component, a more complex coding system is often adopted. The traditional manual coding method is mechanically repetitive, inefficient, and has a high error rate. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a tunnel BIM component and coding automatic mapping method based on MicroStation software, which solves the problems of mechanical repetition, low efficiency and high error rate of traditional manual coding, greatly improves work efficiency and increases the standardization and accuracy of model coding.

[0006] The present invention adopts the following technical solutions to solve the above technical problems:

[0007] The tunnel BIM component and coding automatic mapping method based on MicroStation software includes the following steps:

[0008] Step 1: Develop a coding system for tunnel BIM components: Use multi-level codes to encode tunnel BIM components;

[0009] Step 2, determining a custom mapping relationship between the multi-level code and the attribute information of the tunnel BIM component according to the coding system developed in step 1;

[0010] Step 3, according to the custom mapping relationship determined in step 2, the automatic encoding program is developed using MicroStation secondary development language MDL and Oracle database technology;

[0011] Step 4, extracting the attribute information of the tunnel BIM component and saving it in the database, and linking the tunnel BIM component with the corresponding database record;

[0012] Step 5, running the automatic coding program developed in step 3, processing the attribute information of the tunnel BIM component, automatically generating the coding of the tunnel BIM component and saving it in the database;

[0013] Step 6, linking the code generated in step 5 and saved in the database with the tunnel BIM component and saving it in the attribute information of the tunnel BIM component.

[0014] As a preferred solution of the present invention, the multi-level code in step 1 adopts a combination code encoding method, and the combination code encoding method is a combination of an overall classification code, a tunnel BIM component position code and a tunnel BIM component classification code;

[0015] The overall classification code includes four levels of codes, namely, tunnel engineering section information code, construction method code, road type code and road function classification code, and each level of code is represented by a 1-character number; the component location code includes three levels of codes, namely, tunnel engineering construction section code, location classification code and segment division code, wherein the tunnel engineering construction section code is represented by a 1-character number, and the location classification code and segment division code are represented by 2-character numbers; the component classification code includes five levels of codes, namely, tunnel sub-project code, surrounding rock grade code, structure type code, component classification code and detailed classification code, wherein, except for the component classification code which is represented by a 2-character number, the tunnel sub-project code, surrounding rock grade code, structure type code and detailed classification code are all represented by a 1-character number.

[0016] As a preferred solution of the present invention, the custom mapping relationship described in step 2 refers to a one-to-one relationship between the content of each level of attribute information of the tunnel BIM component and each level of digital code.

[0017] As a preferred solution of the present invention, the implementation principle of the automatic encoding program in step 3 is as follows:

[0018] Define a data structure to store the custom mapping relationship as a table;

[0019] Input all the attribute information of a single component, sort all the attribute information according to the multi-level code hierarchy order, automatically find the attribute information of each level and its corresponding digital code field in the data structure table, and output the digital code of the level until the complete digital code of this component is output, that is, the coding of the component, repeat this step until the coding of all components is output and stored in the database.

[0020] As a preferred solution of the present invention, the attribute information in step 4 includes native attributes and custom attributes of tunnel BIM components, the native attributes include layer information and coordinate information, and the custom attributes include tunnel engineering division information, construction method information, road type information, road function classification information, construction section information, component location classification information, segment division information, tunnel sub-project information, surrounding rock grade information, structure type information, component classification information and detailed classification information; the attribute information is stored in a table in the database, and each attribute information is represented by a field, the field data type is Varchar2, and the length is 20.

[0021] As a preferred solution of the present invention, the links in step 4 and step 6 are operated by calling MDL functions, and the called MDL functions include: mdlDB_changeDatabase, mdlDB_activeLinkageMode, mdlDB_attachActiveEntityElement and mdlDB_extractLinkagesExtended.

[0022] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:

[0023] 1. The present invention is based on the tunnel BIM component and coding automatic mapping method of MicroStation, which realizes the connection between the built-in attributes and custom attribute information of the tunnel BIM component in the MicroStation software and the Oracle database, and can classify, manage, modify and process the attribute information of the tunnel BIM component in the Oracle database more intuitively and systematically, without the need to click on a single component in the MicroStation software before viewing and processing. MDL adopts the standard C language format and has a rich function library, and the application software of MicroStation can be developed. In the MDL function library, there are many functions related to the Oracle database. By calling related MDL functions, such as mdlDB_changeDatabase, mdlDB_activeLinkageMode, mdlDB_attachActiveEntityElement, mdlDB_extractLinkagesExtended, etc., the connection and operation between MicroStation and the Oracle database can be realized.

[0024] 2. The tunnel BIM component and code automatic mapping method based on MicroStation of the present invention is aimed at large-scale tunnel projects, realizes the automatic mapping of tunnel BIM components and codes, automatically generates codes and stores them in the database, and calls the MDL function to write the codes into the MicroStation software. When the number of tunnel BIM components is huge, the professional fields involved are wide, and the coding system is complex, there is no need to manually input the tunnel BIM component attribute information one by one. The codes can be quickly generated and displayed in the MicroStation software while modeling, realizing the synchronization of modeling and coding, and greatly improving work efficiency.

[0025] 3. The tunnel BIM component and coding automatic mapping method based on MicroStation of the present invention embodies the maintainability and accuracy of the automatic coding program. The automatic coding program developed according to the customized mapping relationship can be modified at any time. In the case of changes in the coding system, the automatic coding program can be quickly rebuilt by directly reprogramming the automatic coding API interface. At the same time, since the code is automatically generated according to the mapping relationship, the error rate of the coding is almost zero, which effectively improves the accuracy and standardization of the coding.

[0026] 4. The tunnel BIM component and coding automatic mapping method based on MicroStation of the present invention adopts MicroStation secondary development language MDL to realize the localization of MicroStation software automatic coding program. MDL is the most powerful development language in MicroStation. It runs directly in MicroStation, can use all resources provided by MicroStation and can drive its core engine. The established application has the same visual effect as the MicroStation graphical user interface. All-round control of MicroStation can be achieved through MDL programming. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a flow chart of the tunnel BIM component and coding automatic mapping method based on MicroStation software of the present invention.

[0028] Figure 2 It is a schematic diagram of the 12-level encoding rules of an embodiment of the present invention.

[0029] Figure 3 It is a custom mapping relationship formed based on the encoding rules in the embodiment of the present invention.

[0030] Figure 4 It is a display diagram of the component coding information of the embodiment of the present invention in MicroStation software.

[0031] Figure 5 It is a component coding information browsing diagram on a BIM construction management platform according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.

[0033] The present invention provides a method for automatic mapping of tunnel BIM components and codes based on MicroStation software, that is, using MicroStation secondary development language MDL and Oracle database technology to develop an automatic coding program, realizing automatic mapping of BIM components and codes to generate codes, which are stored in a database and displayed in MicroStation software and intelligent terminals. At the same time, components can be batch processed, modified and updated in real time.

[0034] like Figure 1 As shown, it is a flow chart of the tunnel BIM component and coding automatic mapping method based on MicroStation software. The specific steps of the present invention are described below with an embodiment:

[0035] Step 1: Develop a coding system for tunnel BIM components: Use multi-level codes to encode tunnel BIM components, such as Figure 2 As shown, the multi-level code adopts a combination code encoding method. The coding system adopted in this embodiment is a 12-level coding: the first 4 levels are overall classification codes, including 4-level codes of tunnel engineering sub-section information code, construction method code, road type code, and road function classification code, all of which are represented by 1-character digital codes; the 5th, 6th, and 7th levels are component position codes, including 3-level codes of tunnel engineering construction section code, position classification code, and segment division code, among which the tunnel engineering construction section code is represented by 1-character digital code, and the position classification code and segment division code are represented by 2-character digital codes; the last 5 levels are component classification codes, including 5-level codes of tunnel sub-project code, surrounding rock grade code, structure type code, component classification code, and detailed classification code, among which, except for the component classification code, which is represented by 2-character digital codes, the remaining 4 levels of codes are all represented by 1-character digital codes.

[0036] The use of a multi-level code structure to encode tunnel components can classify tunnel components, facilitate rapid query and location of tunnel components, and intuitively understand and extract various information of a component, such as type, location, etc. Each level of code represents a type of information, with clear hierarchy, which is conducive to constructing algorithms and realizing automatic mapping of information and code. At the same time, if the custom coding system changes, the multi-level code structure is easy to modify synchronously. The automatic coding program can be modified by simply changing the custom mapping relationship constructed by the coding system.

[0037] Step 2: According to the coding system in step 1, a custom mapping relationship between multi-level codes and model attribute information is established, such as Figure 3 As shown, specifically, the content of each level of attribute information of the tunnel BIM component forms a one-to-one relationship with each level of digital code; a custom mapping relationship is written according to the coding rules to provide a logical relationship for writing an automatic coding program, and the custom mapping relationship can be stored in the automatic coding program as a table, thereby completing the process of querying attribute information to outputting corresponding digital codes in the automatic coding program.

[0038] Step 3: Based on the custom mapping relationship in step 2, an automatic encoding program is developed using MicroStation secondary development language MDL and Oracle database technology, which can be directly run in MicroStation and appear as a part of MicroStation itself; the implementation principle of the automatic encoding program in step 3 is as follows:

[0039] Define a data structure to store the custom mapping relationship as a table;

[0040] Input all the attribute information of a single component, sort all the attribute information according to the multi-level code hierarchy order, automatically find the attribute information of each level and its corresponding digital code field in the data structure table, and output the digital code of the level until the complete digital code of this component is output, that is, the coding of the component, repeat this step until the coding of all components is output and stored in the database.

[0041] The automatic encoding program is highly maintainable. The automatic encoding program developed based on the custom mapping relationship can be modified at any time. In the event of changes in the encoding system, the automatic encoding program can be quickly rebuilt by directly reprogramming the automatic encoding API interface.

[0042] Step 4: extract the attribute information of the tunnel component and save it in the database, wherein the attribute information includes the component's own attributes and user-defined attributes, and call the MDL function to link the component with the corresponding database record;

[0043] The inherent attributes include layer information, coordinate information, etc.

[0044] The custom attributes include tunnel engineering division information, construction method information, road type information, road function classification information, construction section information, component location classification information, segment division information, tunnel sub-project information, surrounding rock grade information, structure type information, component classification information and sub-category division information;

[0045] The attribute information is stored in a table in the database, and each attribute information is represented by a field, the field data type is Varchar2, and the length is 20. The table structure is defined as shown in the following table. There are 16 fields in the table, of which the attribute information occupies 14 fields. The ID is used to store the tunnel BIM component identity provided in the MicroStation software, and the ConstructCode field is used to store the code of the tunnel BIM component generated in the subsequent step 5.

[0046]

[0047] There is a one-to-one relationship between attribute information and digital codes, that is, each level of attribute information has its corresponding specific digital code. By stipulating the specific fields of the attribute information and storing them in a standardized manner, digital codes can be assigned to the specific fields to match the attribute information with the digital codes.

[0048] The called MDL functions specifically include: mdlDB_changeDatabase, mdlDB_activeLinkageMode, mdlDB_attachActiveEntityElement, mdlDB_extractLinkagesExtended, etc.

[0049] Step 5: Start the MicroStation system and run the automatic coding program developed in step 3 to process the attribute information of the tunnel components stored in the database, automatically generate the codes and save them in the database; the codes and the attribute information of the tunnel BIM components are saved in the same table.

[0050] Step 6: Call the MDL function to link the code generated in step 5 with the tunnel BIM model component and save it in the attribute information of the model component, such as Figure 4As shown, by clicking on the component's property information in the MicroStation software, the component's code can be displayed, that is, the content behind the parameter ConstructCode in the Properties property box; the called MDL functions specifically include: mdlDB_changeDatabase, mdlDB_activeLinkageMode, mdlDB_attachActiveEntityElement, mdlDB_extractLinkagesExtended, etc.

[0051] Linking BIM components with a database allows for unified storage of attribute information, making it easier to input into automatic coding programs and save subsequent automatically generated code on the same platform. Information in the database can also be quickly and easily uploaded to other platforms, enabling data interactivity.

[0052] like Figure 5 As shown, through this coding, the components can be uniformly screened and viewed on the BIM construction management platform, and the construction progress can be simulated and displayed on the platform according to the coding and the construction schedule, so as to more intuitively understand the structure, function and construction status of the entire tunnel engineering model, and realize real-time update and rapid retrieval of the database. The BIM construction management platform is a well-known platform in the art, for example, the SuperMap iClient3D for WebGL three-dimensional client development platform developed by SuperMap can be used.

[0053] This embodiment is based on the tunnel BIM component and coding automatic mapping method of MicroStation, and is aimed at large-scale tunnel projects. An automatic coding program is developed according to the coding system, which realizes the automatic mapping of BIM components and coding, and automatically generates tunnel BIM component model coding. It can classify, manage, view, modify and process tunnel component attribute information more intuitively and systematically, realize the synchronization of modeling and coding, greatly improve work efficiency, and at the same time reflect the maintainability and accuracy of the automatic coding program.

[0054] The above embodiments are only for illustrating the technical idea of ​​the present invention, and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the present invention.

Claims

1. The tunnel BIM component and coding automatic mapping method based on MicroStation software is characterized by: The steps include: Step 1: Develop a coding system for tunnel BIM components: Use multi-level codes to encode tunnel BIM components; Step 2: Determine the custom mapping relationship between the multi-level code and the attribute information of the tunnel BIM component according to the coding system formulated in step 1, that is, the content of each level of attribute information of the tunnel BIM component forms a one-to-one relationship with each level of digital code; Step 3, according to the custom mapping relationship determined in step 2, the automatic encoding program is developed using MicroStation secondary development language MDL and Oracle database technology; The implementation principle of the automatic encoding program is as follows: Define a data structure to store the custom mapping relationship as a table; Input all the attribute information of a single component, sort all the attribute information according to the multi-level code hierarchy order, automatically find the attribute information of each level and its corresponding digital code field in the data structure table, and output the digital code of the level until the complete digital code of the component is output, that is, the code of the component, and repeat this step until the codes of all components are output and stored in the database; Step 4, extracting the attribute information of the tunnel BIM component and saving it in the database, and linking the tunnel BIM component with the corresponding database record; Step 5, running the automatic coding program developed in step 3, processing the attribute information of the tunnel BIM component, automatically generating the coding of the tunnel BIM component and saving it in the database; Step 6, linking the code generated in step 5 and saved in the database with the tunnel BIM component and saving it in the attribute information of the tunnel BIM component.

2. The tunnel BIM component and coding automatic mapping method based on MicroStation software according to claim 1 is characterized in that: The multi-level code in step 1 adopts a combination code encoding method, and the combination code encoding method is a combination of an overall classification code, a tunnel BIM component position code, and a tunnel BIM component classification code; The overall classification code includes four levels of codes, namely, tunnel engineering section information code, construction method code, road type code and road function classification code, and each level of code is represented by a 1-character number; the component location code includes three levels of codes, namely, tunnel engineering construction section code, location classification code and segment division code, wherein the tunnel engineering construction section code is represented by a 1-character number, and the location classification code and segment division code are represented by 2-character numbers; the component classification code includes five levels of codes, namely, tunnel sub-project code, surrounding rock grade code, structure type code, component classification code and detailed classification code, wherein, except for the component classification code which is represented by a 2-character number, the tunnel sub-project code, surrounding rock grade code, structure type code and detailed classification code are all represented by a 1-character number.

3. The tunnel BIM component and coding automatic mapping method based on MicroStation software according to claim 1 is characterized in that: The attribute information in step 4 includes built-in attributes and custom attributes of tunnel BIM components. The built-in attributes include layer information and coordinate information. The custom attributes include tunnel engineering division information, construction method information, road type information, road function classification information, construction section information, component location classification information, segment division information, tunnel sub-project information, surrounding rock grade information, structure type information, component classification information and detailed classification information. The attribute information is stored in a table in the database, and each attribute information is represented by a field. The field data type is Varchar2 and the length is 20.

4. The tunnel BIM component and coding automatic mapping method based on MicroStation software according to claim 1 is characterized in that: The links in step 4 and step 6 are operated by calling MDL functions, and the called MDL functions include: mdlDB_changeDatabase, mdlDB_activeLinkageMode, mdlDB_attachActiveEntityElement and mdlDB_extractLinkagesExtended.

Citation Information

Patent Citations

  • Automatic encoding and BIM (building information model) correlation method based on Revit software

    CN108920770A

  • MicroStation-based digital photo management method, device, processor, and storage medium

    CN111177431B

  • Highway bridge EBS automatic coding method based on BIM model

    CN111581691A

  • BIM-based bridge pile foundation coordinate table automatic generation method

    CN110633554A

  • Tunnel engineering automatic monitoring control method based on BIM technology

    CN112031874A