A fast web page display method based on lightweight bridge BIM model

By separating attribute data from geometric data from BIM model, reconstructing geometric model and performing lightweight processing, lightweight model files are generated, which solves the problems of slow loading speed and large memory occupancy of BIM model in the existing technology, and efficient model loading and display is achieved.

CN114818085BActive Publication Date: 2025-05-06CHANGAN UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210581698.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2025-05-06
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

When the prior art displays BIM models on the web page, there is repetitive modeling and repetitive loading, resulting in slow loading speed, high memory usage, and failure to effectively realize the lightweight processing of the BIM model, which cannot meet the loading and display needs of large-scale model scenarios.

Method used

By separating attribute data and geometric data from the BIM model source file, converting it into fbx format, reconstructing the geometric model, and performing lightweight processing such as unified encoding and naming of model components, typography merging processing, detail patch suppression method, etc., to generate lightweight model files for web display.

Benefits of technology

It realizes lightweight processing of the bridge BIM model, improves model loading efficiency and web page display loading speed, is suitable for loading and displaying large model scenarios, and meets the needs of practical applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114818085B_ABST
    Figure CN114818085B_ABST
Patent Text Reader

Abstract

The invention discloses a method for rapid web page display based on lightweight bridge BIM model, comprising: converting a BIM model source file into a BIM model file in fbx format, separating attribute data and geometric data in the BIM model file, reconstructing a geometric model on a web page using the geometric data in .fbx format, and uniformly coding and naming components in the geometric model, parsing the attribute data of each component with model data in the .fbx format BIM model file, constructing a database using the attribute data of the component, and storing it, inputting instruction information, eliminating attribute data information irrelevant to the instruction information in the database, regularizing and processing the attribute data information, forming a BIM model attribute information database, and uniformly naming it, associating the geometric model and the BIM model attribute information database, generating a displayed lightweight model file, and displaying it on the web. The method can realize lightweight bridge BIM model and rapid web page display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer coding technology, and more specifically to a method for quickly displaying a lightweight web page based on a bridge BIM model. Background Art

[0002] BIM model (Building Information Modeling) is a complete information model that can integrate the engineering information, processes and resources of different stages of the project in the entire life cycle into one model, which is convenient for all project participants to use. It has eight major characteristics: information completeness, information relevance, information consistency, visualization, coordination, simulation, optimization and map-ability. It allows project participants such as construction units, design units, construction units, and supervision units to share the same building information model on the same platform.

[0003] BIM models generally have many components, large volumes, and complex information data. When displaying BIM models on web pages, a large amount of model information and data information needs to be downloaded from the server, which greatly occupies bandwidth and user local temporary storage space. In particular, when users frequently visit web pages containing BIM models, the browser has a low user response speed due to bandwidth and local memory storage speed limitations. Therefore, it is necessary to lightweight BIM model data to achieve the effect of fast display on web pages.

[0004] The bridge model includes components such as pile foundation, abutment, pier, cap beam, support, box beam, etc. There are similarities between the same components. Therefore, the BIM model web display technology has the characteristics of repetitive modeling and repetitive loading, which makes the loading speed slow and occupies a lot of memory. The bridge BIM model can be lightweight to enable fast display. The existing lightweight processing generally focuses on the level of digital-analog separation, that is, separating the model mesh data (Mesh) from the attribute data in the BIM model and loading them in layers to reduce the amount of data when the model is initially loaded and achieve a certain lightweight effect.

[0005] However, this technology has the following shortcomings: (1) It only performs digital-analog separation processing, and the model mesh data (Mesh) displayed on the client is not reduced, and the pressure on the 3D engine display is not reduced, and the purpose of lightweighting is not achieved. (2) The BIM model to be transmitted to the front-end display is compressed, but no lightweight processing is performed on the front-end 3D display layer. It only reduces the storage space and transmission bandwidth. The model itself is not lightweight and is not suitable for loading and displaying large model scenes, and the purpose of lightweighting is not achieved. (3) When performing LOD processing on the BIM model, manual operation is used, which is not conducive to the need for frequent updates and storage of BIM models. (4) Occlusion and cropping of the BIM model are not implemented, resulting in the inability to smoothly load models with a large number of internal details and model components of the building. Summary of the invention

[0006] In order to overcome the above technical defects, the present invention provides a technology and method for rapid web page display based on lightweight bridge BIM model, which realizes lightweight and rapid web page display of bridge BIM model from four aspects: model attribute elimination, geometric figure simplification, component and attribute feature definition, and on-demand extraction and display.

[0007] The embodiment of the present invention provides a method for quickly displaying a lightweight web page based on a bridge BIM model, comprising:

[0008] Obtain BIM model source files;

[0009] Convert the BIM model source file into a BIM model file in fbx format;

[0010] Separate attribute data and geometric data in BIM model files;

[0011] Export geometry data to .fbx format;

[0012] Use the geometric data in .fbx format to rebuild the geometric model on the web page, and uniformly code and name the components in the geometric model;

[0013] Parse the attribute data of each model data component in the .fbx format BIM model file;

[0014] Use the attribute data of the component to build a database and store it;

[0015] Enter instruction information;

[0016] Eliminate attribute data information in the database that is not related to instruction information;

[0017] Regularly process attribute data information to form a BIM model attribute information database and uniformly name it;

[0018] Associating geometric models with BIM model attribute information database;

[0019] After unified naming, the associated geometric model and BIM model attribute information database are encapsulated, and the lightweight model file for display is generated and displayed on the web.

[0020] Furthermore, the geometric model is reconstructed on the web page, including:

[0021] The reconstruction of the web page geometry model is realized by three.js;

[0022] Modify the position, size, texture, and color of the model using primitive drawing and scene rendering;

[0023] Adopting the detail patch suppression method, the number of sketch elements is reduced to the greatest extent possible while keeping the engineering semantics of the local contour of the feature unchanged;

[0024] For model components with the same primitive form, the primitives are merged and only the information of one component is retained. The remaining components record "reference + spatial coordinates" to complete the geometric model construction.

[0025] Furthermore, the components in the geometric model are uniformly coded and named, including:

[0026] The components in the geometric model are uniformly coded and named by using feature definition, wherein the same component is defined with multiple features.

[0027] Furthermore, the reconstruction of the web page geometry model is implemented internally by three.js, including:

[0028] Determine the cutting standards for pile foundation components, cap components, pier components, cap beam components, support components, and box beam components in the model.

[0029] Furthermore, it also includes:

[0030] Uniformly shade the geometry.

[0031] Furthermore, the attribute data of each model data component in the .fbx format BIM model file is parsed, including:

[0032] Parse each object of the BIM model file into a programming entity;

[0033] A model entity data is generated for each entity having model data, and a model component is formed by the model entity data.

[0034] Furthermore, the attribute data of each model component includes:

[0035] The name of the model component, the type of component, the component code, the topological relationship between components, the length, width, height, area, volume, etc. of the component.

[0036] Further, the instruction information includes:

[0037] Determine the display content and display accuracy of the components and attribute data to be displayed based on the features that need to be displayed.

[0038] Furthermore, it also includes:

[0039] The geometric data are processed separately to form a scene tree structure and a plurality of component data with different precisions, and the topological relationship between the components is obtained.

[0040] Furthermore, the geometric model and the BIM model attribute information database are associated, including:

[0041] Set the unified identifier UID to associate the data information of the two regions, and then match the identifier on the Web side to display the attribute information.

[0042] The embodiment of the present invention provides a method for quickly displaying a lightweight web page based on a bridge BIM model. Compared with the prior art, the method has the following beneficial effects:

[0043] For the situation where the bridge BIM model has many components but high repetitiveness, a large amount of process attribute information, and a large amount of loaded data for web page display, the present invention takes into account the lightweight geometric model, the regularization of attribute data, the unified feature definition, the on-demand extraction according to the display instructions, and the elimination of redundant attributes, which comprehensively and effectively improves the loading efficiency of the bridge BIM model and the loading speed of the web page display, thereby meeting the needs of practical applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A method for quickly displaying a lightweight bridge BIM model on a web page provided by an embodiment of the present invention;

[0045] Figure 2 A method for quickly displaying a lightweight bridge BIM model on a web page is provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] See also Figures 1-2 The embodiment of the present invention provides a method for quickly displaying a lightweight web page based on a bridge BIM model, the method comprising:

[0048] Convert the BIM model source file to be imported into a BIM model file in fbx format;

[0049] The purpose of this step is to unify the file format. Since different BIM modeling software has different file formats, and the organization and description methods of model data and attribute data are different, in order to use a unified lightweight processing method, different BIM model source files are first converted into a standard intermediate file format. The intermediate file format used in this invention is a file in fbx format;

[0050] S1. Separate the attribute data and mesh data in the imported BIM model file;

[0051] Specifically, the .fbx format BIM model file is parsed and processed, each object of the file is parsed into a programming entity, and a model entity data is generated for each entity with model data. Each model entity forms a model component, and the attribute data of each model component, such as the name of the model component, the type of component, the coding of the component, the topological relationship between components, and the geometric properties of the component (such as length, width, height, area, volume, etc.) are stored as a database.

[0052] S2. Export the geometric model data to a .fbx format file so that the geometric data can be operated using three.js.

[0053] S3. The web-side model is rebuilt by three.js, and the segmentation standards of the components such as pile foundation, cap, pier, cap beam, support, box beam, etc. in the model are determined, and then all the pile foundation, cap, pier, cap beam, support, box beam, etc. are uniformly coded and named;

[0054] Specifically, step 3 includes the following steps:

[0055] S31. The web-side model is reconstructed by three.js. The position, size, texture and color of the model are modified by primitive drawing and scene rendering. The number of sketch elements is reduced as much as possible to reduce the complexity of the model while ensuring that the engineering semantics of the local contour of the feature remain unchanged. For components with the same primitive form of the model, such as pile foundations, pedestals, box beams, etc., which are exactly the same in appearance but have different distribution areas in the model, primitive merging is required to retain the information of only one component. The remaining components only need to record "reference + spatial coordinates" to complete the construction.

[0056] S32. Uniformly name the components, adopt the feature definition method, and define multiple features for the same component.

[0057] S4. The 3D BIM model is uniformly colored according to the following rules:

[0058]

[0059]

[0060] S5. Obtain the instruction input by the user, and determine the display content and display accuracy of the component and attribute data information to be displayed according to the features to be displayed in the user instruction.

[0061] S6. Delete the attribute data information in the database that is not related to the user instructions; and organize the attribute information according to the user's needs to form a BIM model attribute information database, and uniformly name it. The unified naming of attribute data adopts the same attribute multi-feature definition to facilitate multi-feature call of attribute data information.

[0062] S7. Establish an association relationship between the attribute information in the standard BIM model and the three-dimensional models of components such as pile foundations, pedestals, piers, cap beams, supports, box beams, etc. in the model; specifically, set a unified identifier UID to associate data information in the two areas, and then match the identifiers on the Web side to display the attribute information.

[0063] Before establishing an association between the attribute information in the standard BIM model and the three-dimensional models of the components such as pile foundation, cap, pier, cap beam, support, box beam, etc. in the model, it also includes:

[0064] The geometric data are processed separately to form a scene tree structure and a plurality of component data with different precisions, and the topological relationship between the components is obtained.

[0065] S8. The geometric model and the attribute data after directional filtering and regularization are uniformly named and packaged, that is, a lightweight model file required for display is generated and displayed on the web.

[0066] Disclosed above are only a few specific embodiments of the present invention. Those skilled in the art may make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the present invention. However, the embodiments of the present invention are not limited thereto. Any changes that can be conceived by those skilled in the art should fall within the scope of protection of the present invention.

Claims

1. A method for rapid web page display based on lightweight bridge BIM model, characterized in that: include: Obtain BIM model source files; Convert the BIM model source file into a BIM model file in fbx format; Separate attribute data and geometric data in BIM model files; Export geometry data to .fbx format; Use the geometric data in .fbx format to rebuild the geometric model on the web page, and uniformly code and name the components in the geometric model; Parse the attribute data of each model data component in the .fbx format BIM model file; Use the attribute data of the component to build a database and store it; Enter instruction information; Eliminate attribute data information in the database that is not related to instruction information; Regularly process attribute data information to form a BIM model attribute information database and uniformly name it; Associating geometric models with BIM model attribute information database; After unified naming, the associated geometric model and BIM model attribute information database are encapsulated, and the lightweight model file for display is generated and displayed on the web; The step of reconstructing the geometric model on the web page includes: The reconstruction of the web page geometry model is realized by three.js; Modify the position, size, texture, and color of the model using primitive drawing and scene rendering; Adopting the detail patch suppression method, the number of sketch elements is reduced to the greatest extent possible while keeping the engineering semantics of the local contour of the feature unchanged; For model components with the same primitive form, the primitives are merged and only the information of one component is retained. The remaining components record "reference + spatial coordinates" to complete the geometric model construction.

2. A method for rapid web page display based on lightweight bridge BIM model as claimed in claim 1, characterized in that: The unified coding and naming of components in the geometric model includes: The components in the geometric model are uniformly coded and named by using feature definition, wherein the same component is defined with multiple features.

3. A method for rapid web page display based on lightweight bridge BIM model as claimed in claim 1, characterized in that: The reconstruction of the web page geometric model implemented by three.js includes: Determine the cutting standards for pile foundation components, cap components, pier components, cap beam components, support components, and box beam components in the model.

4. A method for rapid web page display based on lightweight bridge BIM model as claimed in claim 1, characterized in that: Also includes: Unified shading of geometric models.

5. A method for rapid web page display based on lightweight bridge BIM model as claimed in claim 1, characterized in that: The parsing of the attribute data of each model data component in the .fbx format BIM model file includes: Parse each object of the BIM model file into a programming entity; A model entity data is generated for each entity having model data, and a model component is formed by the model entity data.

6. A method for rapid web page display based on lightweight bridge BIM model as claimed in claim 1, characterized in that: The attribute data of each model component includes: The name of the model component, the type of component, the component code, the topological relationship between components, the length, width, height, area, volume, etc. of the component.

7. A method for rapid web page display based on lightweight bridge BIM model as claimed in claim 1, characterized in that: The instruction information includes: Determine the display content and display accuracy of the components and attribute data to be displayed based on the features that need to be displayed.

8. The method for rapid web page display based on lightweight bridge BIM model according to claim 1, characterized in that: Also includes: The geometric data are processed separately to form a scene tree structure and a plurality of component data with different precisions, and the topological relationship between the components is obtained.

9. A method for rapid web page display based on lightweight bridge BIM model as claimed in claim 1, characterized in that: The associated geometric model and BIM model attribute information database includes: Set the unified identifier UID to associate the data information of the two regions, and then match the identifier on the Web side to display the attribute information.

Citation Information

Patent Citations

  • 3D (Three-Dimensional) lightweight conversion method based on BIM (Building Information Modeling) file

    CN108647330A