Building information model display method and system, electronic device and storage medium

By preprocessing, separating the digital model from the building information model, and triangulating it, the problem of slow display response speed was solved, achieving the effects of fast display and resource saving.

CN115587409BActive Publication Date: 2026-06-19SHENZHEN WEITESHI TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN WEITESHI TECH
Filing Date
2022-10-09
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

The slow display response speed of Building Information Models (BIM) affects user work efficiency.

Method used

By acquiring building component information from the building information model, preprocessing is performed to remove redundant data, and digital model separation and geometric information classification are carried out. The component surface is triangulated using a triangulation algorithm, and the display efficiency is improved through a rendering and display system.

Benefits of technology

It improves the display response speed of building information models, reduces resource consumption, and realizes a lightweight display method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115587409B_ABST
    Figure CN115587409B_ABST
Patent Text Reader

Abstract

This invention proposes a method, system, electronic device, and storage medium for displaying Building Information Models (BIM). The method for displaying BIM includes: acquiring building component information from the BIM; determining the building components based on the building component information, and triangulating the surfaces of the building components to obtain triangulated building components; and rendering and displaying the building components in the BIM based on the triangulated building components. This invention helps improve the display effect of BIM.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of building information modeling, and in particular to a method, system, electronic device, and storage medium for displaying building information models. Background Technology

[0002] Building Information Modeling (BIM) is an integration of a 3D visual model of a building project with digital design information. BIM enables collaborative work among design teams, construction companies, facility operators, and owners. However, slow display response times in BIM can negatively impact user efficiency. Summary of the Invention

[0003] This invention proposes a building information modeling system, a method for creating building components, equipment, and storage medium, which are beneficial for improving the rapid display of building information models.

[0004] In a first aspect, the present invention provides a method for displaying a building information model, comprising:

[0005] Obtain building component information from the building information model;

[0006] Based on the building component information, the building components are determined, and the surface of the building components is triangulated to obtain triangulated building components;

[0007] Based on the triangulated building components, the building components in the building information model are rendered and displayed.

[0008] In one embodiment, the method for displaying the building information model includes, in part, obtaining the building component information of the building information model, comprising:

[0009] Obtain building information model;

[0010] The building information model is preprocessed to remove redundant data, resulting in preprocessed building information model data.

[0011] The preprocessed building information model data is subjected to digital-model separation to obtain geometric information;

[0012] Based on the similarity between building components, the building components in the geometric information are classified to obtain the adjusted geometric information;

[0013] Based on the adjusted geometric information, the boundary information and vertex information of the building components are determined.

[0014] In one embodiment, the method for displaying the building information model includes triangulating the surface of the building component to obtain a triangulated building component, comprising:

[0015] Multiple points are established on the surface of the building component to obtain multiple triangular vertices;

[0016] Based on the position of the triangle vertex, redundant triangle vertices are removed, wherein the redundant triangle vertices include: triangle vertices with overlapping positions;

[0017] The surface of the building component is divided into multiple triangles based on the multiple triangle vertices to obtain a triangularized building component;

[0018] Based on the relationships between the triangular building components, the triangular building components are assembled to obtain a triangular building geometric model.

[0019] In one embodiment, the method for displaying the building information model includes rendering and displaying the building components in the building information model based on the triangulated building components, comprising:

[0020] Create a scene and add scene elements, wherein the scene elements include: a camera and a light source;

[0021] Obtain the surface material of the building component;

[0022] In the scenario, based on the surface material of the building component, a shader is used to color each triangular facet of the triangularized building component in the visible area.

[0023] In one embodiment, the method for displaying the building information model includes classifying the building components in the geometric information based on the similarity between building components to obtain adjusted geometric information, comprising:

[0024] Extract the outline shape features of the building components;

[0025] Based on the similarity of the outline shape features of the building components, multiple building components are clustered.

[0026] Based on the clustering categories of the building components, the building components are merged to obtain adjusted geometric information.

[0027] In one embodiment, the method for displaying the building information model includes, wherein, clustering multiple building components, the following steps are taken:

[0028] When a target object exists in the building component, the feature information of the target object in the building component is extracted, wherein the feature information includes position information and shape information;

[0029] Based on the outline shape of the building components and the feature information, multiple building components are clustered.

[0030] In one embodiment, the method for displaying the building information model includes, in which the step of coloring each triangular facet of the triangularized building component in the visible area using a shader includes:

[0031] The visible area is determined based on the camera and the light source;

[0032] Obtain the bounding box of the building component;

[0033] Collision detection is performed on the bounding box of the building component and the visible area;

[0034] Based on the location of the building components and the results of the collision detection, one or more first building components located within the visible area or on the boundary of the visible area are determined;

[0035] Based on the positions of the camera and the light source, determine the building components that are not completely blocked from the first building components, and obtain the second building component;

[0036] The second building component is rendered and displayed.

[0037] Secondly, the present invention also provides a display system for building information models, comprising:

[0038] The acquisition module is used to acquire building component information from the building information model;

[0039] The subdivision module is used to determine the building components based on the building component information, and to triangulate the surface of the building components to obtain triangularized building components;

[0040] The display module is used to render and display the building components in the building information model based on the triangularized building components.

[0041] Thirdly, the present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein when the processor executes the program, the steps of the building information model display method as described above are implemented.

[0042] Fourthly, the present invention also provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the steps of the building information model display method as described above.

[0043] This invention can extract building component information from a building information model, reduce unnecessary information, and triangulate the surface of the building components to render the building information model, which facilitates the rapid display of the building information model and reduces resource consumption. Attached Figure Description

[0044] Various other advantages and benefits of the present invention will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiments below. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. It is obvious that the drawings described below are merely some embodiments of the invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0045] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:

[0046] Figure 1 This is a flowchart illustrating a method for displaying a building information model according to an embodiment of the present invention;

[0047] Figure 2 This is a schematic diagram of the structure of a building information model display system according to an embodiment of the present invention;

[0048] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0049] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.

[0051] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0052] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0053] Example 1

[0054] Figure 1 This is a flowchart illustrating the display method of Building Information Modeling (BIM), such as... Figure 1 As shown, the display method of the building information model includes steps 10, 20 and 30.

[0055] Step 10: Obtain building component information from the building information model.

[0056] Building components are the basic building blocks, typically functional units within a building model. Examples include beams, columns, and doors. Building component information primarily consists of their spatial geometry, used to achieve a geometric three-dimensional display of the building. For instance, building component information includes the spatial geometric shape of a beam.

[0057] Step 20: Based on the building component information, triangulate the surface of the building component to obtain a triangularized building component. That is, based on the building component information, determine the building component, and triangulate the surface of the building component to obtain a triangularized building component.

[0058] Based on the building component information, the types and spatial geometric information of the building components are obtained, thereby determining the geometric shape and location of the building components. For example, the building component information contains necessary information such as the geometric structure information of each building component and the attribute information of each building component, so as to realize the reconstruction of the building components.

[0059] The surfaces of building components are triangulated to create multiple triangular facets. Optionally, the Bowyer-Watson triangulation algorithm is used to triangulate the surfaces of the building information model.

[0060] Step 30: Render and display the building components based on the triangularized building components. That is, render and display the building components in the building information model based on the triangularized building components.

[0061] By assigning colors to each triangular facet using shaders, the building components are rendered and displayed on the screen, thus realizing the visualization of the building information model.

[0062] The embodiments of the present invention can extract building component information from the building information model, reduce unnecessary information, and triangulate the surface of the building components to render the building information model, which helps to improve the response speed of the building information model display and reduce resource consumption.

[0063] The building information model display method of this invention can be displayed on a web page, and is a lightweight building information model display method.

[0064] In one embodiment, the method for displaying a building information model includes obtaining building component information from the building information model, comprising steps 101 to 105.

[0065] Step 101: Obtain the building information model.

[0066] Optionally, the building information model (BIM) data is based on IFC (Industry-Based Class) data. IFC data encompasses various building information, such as spatial geometry, attribute information, cost information, and maintenance information for each building component. Displaying the BIM typically requires extracting the spatial geometry information of each building component, i.e., obtaining the building component information from the BIM model.

[0067] Step 102: Preprocess the building information model to remove redundant data and obtain preprocessed building information model data.

[0068] Building information model (BIM) data contains a large amount of information that is irrelevant to the display of the BIM model. Therefore, the BIM data needs to be cleaned according to preset rules to remove information that is irrelevant to the display and retain the information that can be used for display.

[0069] Optionally, information of a preset type can be removed based on its type. For example, if the target information is cost information, which is a type of information that needs to be removed, then the target information can be removed directly.

[0070] Step 103: Perform digital-model separation on the preprocessed building information model data to obtain geometric information.

[0071] A modular separation method is used to extract building component information from IFC data. For example, geometric information of building components is extracted from IFC data and added to a first set; attribute information (type information) of building components is extracted and added to a second set, thus achieving both modular separation and extraction of building component information.

[0072] Step 104: Based on the similarity between building components, adjust the building components in the geometric information to obtain the adjusted geometric information.

[0073] By distinguishing building components of the same type and grouping identical or similar components into the same category, further subdivision of building components of the same type can be achieved. Optionally, the distinction can be made based on the shape and structure of the building components. For example, glass windows can be divided into round glass windows, rectangular glass windows, and triangular glass windows. By analyzing the similarity of glass windows based on their shape and structural characteristics, the category of glass windows can be determined, thereby classifying glass windows.

[0074] Merging architectural components in geometric information refers to combining geometric information within the same category, retaining only the geometric information of one architectural component per category. For example, if a category for rectangular windows includes multiple windows with similar shapes and structures, one window will be retained while the other windows in the rectangular window category will be deleted. The deletion information will be recorded to complete the merging of rectangular windows.

[0075] The deletion information is used to restore deleted building components when needed (e.g., during rendering), based on the building components retained in that category. That is, by using the retained building components and the deletion information, the retained building components are copied and adjusted multiple times to restore the deleted building components, resulting in all building components under that category. For example, copying a retained rectangular window under the rectangular window category twice restores the two deleted rectangular windows, resulting in all three rectangular windows under that category.

[0076] It is evident that, compared to the geometric information before adjustment, the adjusted geometric information has the characteristics of less data volume and less resource consumption.

[0077] Optionally, the type attribute information of each building component is obtained, and building components with the same type attribute information are merged. The type attribute information is used to determine the type of the building component. For example, the type attribute can be window type, door type, beam type, etc., which are building component types existing in the original building information model data. Optionally, the type attribute information is obtained from the IFC data during the digital model separation process.

[0078] It should be noted that the type attribute information is different from the classification in this invention. The classification of building components in this invention is not present in the original building information model data. Instead, it is a further classification based on the similarity of the shape and structure of the building components, and is a newly generated classification category.

[0079] In one implementation, the building components in the geometric information are classified according to the similarity between the building components to obtain adjusted geometric information, including:

[0080] Step 105: Extract the outline shape features of the building components.

[0081] Optionally, based on the building components, obtain the three views of the building components to obtain the outline shape of the building components, that is, obtain the outline shape features of the building components.

[0082] Step 106: Cluster multiple building components based on the similarity of their outline shape features.

[0083] Optionally, the center or centroid of the contour shape is determined to obtain the target point; the bending points of the edges of the contour shape are determined to obtain the turning points; a feature vector of the contour shape is established with the target point as the starting point and the turning points as the ending points; the cosine similarity between the contour shapes of the building components is calculated based on the feature vector; and clustering is performed based on the calculated cosine similarity, so that building components with high similarity are classified into the same category, and building components with low similarity are classified into different categories.

[0084] Step 107: Merge the building components according to their cluster categories to obtain adjusted geometric information. That is, compare the building features of the clustered building components with the features of pre-defined clustered building components to identify the building components. Then, retain the geometric information of one building component in each cluster category, along with the quantity and location of the corresponding building components for each category, while removing the geometric information of other similar building components to reduce the size of the adjusted geometric information.

[0085] This embodiment does not limit the merging process to whether the type attributes are the same, but rather merges building components with the same shape and structure based on the similarity of their shapes and structures. This is beneficial for merging more identical building components, reducing the size of the adjusted geometric information and the resources occupied. For example, beams and columns, although having different type attributes, may have similar structural shapes, so beams and columns can be merged to reduce the resources occupied by the adjusted geometric information.

[0086] One embodiment of the building information model display method includes clustering multiple building components, comprising steps 111 and 112.

[0087] Step 111: When a target object exists in a building component, extract the feature information of the target object in the building component. The feature information includes position information and shape information.

[0088] The target object is located on the surface of a building component and is not shown in the outline, but it is used to distinguish the building components. For example, the position and shape of the peephole (view hole) on a door can be used to determine whether two doors are similar. In this case, the existence of the target object cannot be ignored, and its features, such as shape features and positional features, need to be extracted.

[0089] Step 112: Cluster multiple building components based on their outline shape and feature information.

[0090] Optionally, the shape and position features of the target object are added to the contour shape to form a new contour shape; the similarity of the building components is calculated based on the new contour shape; and the building components are clustered based on the similarity of the building components.

[0091] Step 105: Determine the boundary and vertex information of the building components based on the adjusted geometric information.

[0092] Optionally, based on the adjusted geometric information, a boundary representation geometric model is obtained, that is, the boundary information and vertex information of the building components are determined. The representation geometric model first constructs individual faces through the adjacency and topological relationships between points, and then determines the adjacency and topological relationships between faces. Based on the adjacency and topological relationships between faces, the boundary information and vertex information of the building components can be determined.

[0093] In one embodiment, a method for displaying a building information model includes triangulating the surface of a building component to obtain a triangulated building component, comprising steps 201 to 204.

[0094] Step 201: Establish multiple points on the surface of the building component to obtain multiple triangle vertices.

[0095] The Bowyer-Watson triangulation algorithm is used to triangulate the surface of the building information model. That is, multiple points are established on the surface of the building component using the Bowyer-Watson triangulation algorithm to obtain multiple triangle vertices.

[0096] Step 202: Remove redundant triangle vertices based on their positions. Redundant triangle vertices include triangle vertices with overlapping positions.

[0097] An overlapping triangle vertex is a vertex whose coordinates are shared by multiple triangle faces but are stored multiple times. Based on this, this embodiment iterates through all triangle vertices sequentially to determine if any overlapping triangle vertices exist. If duplicate triangle vertices exist, the redundant vertices are deleted, and only one triangle vertex is retained. The index sequence is then modified or created based on the data from the removed redundant vertices.

[0098] Furthermore, a redundant triangle vertex is a triangle vertex whose three adjacent triangle vertices are collinear. Collinearity means that the included angle formed by the lines connecting the three points is less than a threshold angle, such as 10°.

[0099] Step 203: Divide the surface of the building component into multiple triangles based on multiple triangle vertices to obtain multiple triangular facets.

[0100] By connecting the vertices of the triangles, the surface of the building component is divided into multiple triangles, thus completing the triangulation of the building component's surface.

[0101] Step 204: Assemble the triangular building components according to the relationship between them to obtain a triangular building geometric model.

[0102] The loader loads attribute information (non-geometric information obtained through digital model separation), including index, normal vector, material, center position, and other information. Based on the attribute information, the location, type, and quantity of building components are determined. Then, based on the location, type, and quantity of building components, the building components are assembled and spliced ​​to obtain the three-dimensional spatial shape of the building information model.

[0103] In one embodiment, the building information model is rendered and displayed based on the triangular building components, including steps 301 to 304.

[0104] Step 301: Create a scene and add scene elements, including a camera and a light source.

[0105] Scenes are used to accommodate building information models, cameras, light sources, etc., thereby determining the scope, angle, and other information for visualization.

[0106] Step 302: Obtain the surface material of the building components.

[0107] Optionally, after the digital model is separated, the surface material of each building component can be obtained from the separated attribute information, and rendering can be performed based on the material.

[0108] Step 303: In the scene, based on the surface material of the building components, shade each triangular facet in the triangularized building components in the visible area using a shader.

[0109] The visible area is the region that can be displayed in the scene, and it can be determined based on the camera and lighting. Shaders assign color to the individual triangular faces within the visible area to render the building information model. Triangular faces outside the visible area are not assigned color, which improves shading speed and reduces resource consumption.

[0110] In one embodiment, a method for displaying a building information model includes steps 311 to 314, in which each triangular facet in a building component within a visible area is colored using a shader.

[0111] Step 311: Determine the visible area based on the camera and light source.

[0112] The visible area is generally defined by the view frustum. The view frustum typically consists of an effective area formed by six clipping planes and an ineffective area formed by the distance from the camera viewpoint to the near clipping plane.

[0113] Step 312: Obtain the bounding box of the building component; perform collision detection on the bounding box of the building component and the visible area; determine one or more first building components located within the visible area or on the boundary of the visible area based on the position of the building component and the result of the collision detection.

[0114] The first building component is a building component located within or on the boundary of the visible area. Collision detection is typically used to determine whether a building component is within or on the boundary of the visible area. Optionally, the bounding box (OBB) of each building component is determined; then, collision detection is performed between the bounding box of the building component and the visible area to determine whether the building component is within or on the boundary of the visible area.

[0115] Step 313: Based on the camera and light source, determine the second building component that is not completely obscured from the first building component. That is, based on the position of the camera and light source, determine the building component that is not completely obscured from the first building component to obtain the second building component.

[0116] For example, by observing the building information model from the camera's viewpoint, it can be determined whether there are instances where later building components are occluded by earlier ones. If a later building component is completely occluded by a earlier one, the occluded component is not rendered, which improves rendering speed. Simultaneously, the impact of light sources on visibility can be considered.

[0117] When a building component behind is not obscured or is only partially obscured by a building component in front, the obscured building component needs to be rendered. In this case, the second building component includes the building component in front and the building component behind that is not obscured or is only partially obscured. The building component in front is the one closest to the camera.

[0118] Step 314: Render and display the second building in the Building Information Model. This involves determining the color of each triangular facet in the second building component based on the light source and the material of the second building component; and then coloring each triangular facet in the second building component separately using a shader.

[0119] Specifically, based on the material of the light source and the second building component, the vertex of the triangle is processed by the vertex shader to obtain the attribute information of the vertex (the attribute information of the vertex includes color information and position information); then the triangular building component surface in the visible area is discretized into multiple two-dimensional triangular patches; then, based on the attribute information, the triangular patches are colored by the fragment shader; the display position of the triangular patches is determined, and the display is performed according to the display position of the triangular patches.

[0120] This embodiment colors the second building but not the first building components, which reduces the number of building components to be rendered and improves the rendering speed.

[0121] Example 2

[0122] The building information modeling system of this embodiment can be applied to mobile devices such as mobile phones and laptops, as well as fixed devices such as desktop computers and televisions. It can be integrated into building information modeling software and used as a building information model creation method within the software.

[0123] Figure 2 The display system for the building information model in this embodiment includes: an acquisition module 40, a subdivision module 50, and a display module 60.

[0124] Module 40 is used to acquire building component information from the building information model.

[0125] The subdivision module 50 is used to determine the building components based on the building component information, and to triangulate the surface of the building components to obtain triangulated building components.

[0126] Display module 60 is used to render and display the building information model based on the triangular building components, that is, to render and display the building components in the building information model based on the triangular building components.

[0127] The building information model display system of this invention can extract building component information from the building information model, reduce unnecessary information, and triangulate the surface of the building components to render the building information model, which helps to improve the response speed of the building information model display and reduce resource consumption.

[0128] In one embodiment, the acquisition module 40 is further configured to acquire building information model data; preprocess the building information model data to remove redundant data and obtain preprocessed building information model data; perform digital-model separation on the preprocessed building information model data to obtain geometric information; classify the building components in the geometric information according to the similarity between building components to obtain adjusted geometric information; and determine the boundary information and vertex information of the building components based on the adjusted geometric information.

[0129] In one embodiment, the partitioning module 50 is further configured to assemble the building components according to the relationship between the building components to obtain a building information model; establish multiple points on the surface of the building components to obtain multiple triangular vertices; remove redundant triangular vertices according to the position of the triangular vertices, wherein the redundant triangular vertices include: triangular vertices with overlapping positions; and divide the surface of the building components into multiple triangles according to the multiple triangular vertices.

[0130] In one embodiment, the display module 60 is also used to create a scene and add scene elements, wherein the scene elements include: a camera and a light source; to obtain the surface material of the building components; and in the scene, to color each triangular facet in the building components in the visible area using a shader according to the surface material of the building components.

[0131] In one embodiment, the acquisition module 40 is further used to extract the outline shape features of the building components; to cluster multiple building components according to the similarity of the outline shape features of the building components; and to classify multiple building components with the same attribute information according to the clustering category of the building components to obtain the adjusted geometric information.

[0132] In one embodiment, the acquisition module 40 is further configured to extract the feature information of the target object in the building component when the target object exists in the building component, wherein the feature information includes position information and shape information; and to cluster multiple building components according to the outline shape and feature information of the building component.

[0133] In one embodiment, the display module 60 is used to determine a visible area based on the camera and the light source; determine one or more first building components located within the visible area or on the boundary of the visible area based on the position of the building components; determine a second building component that is not completely obscured from the first building components based on the camera and the light source; and color the second building in the building information model using a shader.

[0134] The building information model display system in this embodiment is the same system as the building information model display method. The principle of the building information model display system can be referred to the building information model system described above, and therefore will not be repeated here.

[0135] Example 3

[0136] Figure 3 This is a schematic diagram of the structure of an electronic device according to the present invention. The electronic device includes a memory 701 and a processor 702. The memory 701 stores a computer program that can run on the processor 702, wherein when the processor 702 executes the program, it implements the steps of the above-described method for displaying a building information model.

[0137] The electronic device includes a memory 701 and a processor 702 that are interconnected via a system bus 703. It should be noted that only an electronic device with components 701-703 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented instead. Those skilled in the art will understand that the electronic device described herein is one capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0138] Electronic devices can be computing devices such as desktop computers, laptops, PDAs, and cloud servers. These devices can interact with users through keyboards, mice, remote controls, touchpads, or voice-activated devices.

[0139] The memory 701 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 701 may be an internal storage unit of the device, such as the hard disk or memory of the device. In other embodiments, the memory 701 may also be an external storage device of the device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the device. Of course, the memory 701 may also include both internal storage units and external storage devices of the device. In this embodiment, the memory 701 is typically used to store the operating system and various application software installed on the device, such as computer-readable instructions for creating knowledge graphs. In addition, the memory 701 may also be used to temporarily store various types of data that have been output or will be output.

[0140] In some embodiments, processor 702 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. Processor 702 is typically used to control the overall operation of the device. In this embodiment, processor 702 is used to execute computer-readable instructions stored in memory 701 or to process data, such as executing computer-readable instructions of a building information modeling system.

[0141] Example 4

[0142] The present invention provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described method for displaying a building information model.

[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of this application.

[0144] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.

Claims

1. A method for displaying a building information model, characterized in that, include: Obtain building component information from the building information model; Based on the building component information, the building components are determined, and the surface of the building components is triangulated to obtain triangulated building components; Based on the triangulated building components, the building components in the building information model are rendered and displayed; The acquisition of building component information from the building information model includes: Obtain building information model; The building information model is preprocessed to remove redundant data, resulting in preprocessed building information model data. The preprocessed building information model data is subjected to digital-model separation to obtain geometric information; Based on the similarity between building components, the building components in the geometric information are classified to obtain the adjusted geometric information; Based on the adjusted geometric information, the boundary information and vertex information of the building components are obtained; The step of classifying the building components in the geometric information based on the similarity between the building components to obtain the adjusted geometric information includes: Extract the outline shape features of the building components; Based on the similarity of the outline shape features of the building components, cluster the multiple building components; determine the center or centroid of the outline shape to obtain the target point; determine the bending points of the edges of the outline shape to obtain the turning points; establish the feature vector of the outline shape with the target point as the starting point and the turning point as the ending point; calculate the cosine similarity between the outline shapes of the building components based on the feature vector; and perform clustering based on the calculated cosine similarity. Based on the clustering categories of the building components, the building components are merged to obtain adjusted geometric information; The clustering of the multiple building components includes: When a target object exists in the building component, the feature information of the target object in the building component is extracted, wherein the feature information includes position information and shape information; Based on the outline shape of the building components and the feature information, multiple building components are clustered; the shape features and position features of the target object are added to the outline shape to form a new outline shape; the similarity of the building components is calculated based on the new outline shape; and the building components are clustered based on the similarity of the building components.

2. The display method of building information model according to claim 1, wherein, The process of triangulating the surface of the building component to obtain a triangularized building component includes: Multiple points are established on the surface of the building component to obtain multiple triangular vertices; Based on the position of the triangle vertex, redundant triangle vertices are removed, wherein the redundant triangle vertices include: triangle vertices with overlapping positions; The surface of the building component is divided into multiple triangular patches based on the multiple triangular vertices to obtain a triangularized building component; Based on the relationships between the triangular building components, the triangular building components are assembled to obtain a triangular building geometric model.

3. The display method of building information model according to claim 1, wherein, The step of rendering and displaying the building components in the building information model based on the triangulated building components includes: Create a scene and add scene elements, wherein the scene elements include: a camera and a light source; Obtain the surface material of the building component; In the scenario, based on the surface material of the building component, a shader is used to color each triangular facet of the triangularized building component in the visible area.

4. The display method of building information model according to claim 3, wherein, The step of coloring each triangular facet in the triangularized building component within the visible area using a shader includes: The visible area is determined based on the camera and the light source; Obtain the bounding box of the building component; Collision detection is performed on the bounding box of the building component and the visible area; Based on the location of the building components and the results of the collision detection, one or more first building components located within the visible area or on the boundary of the visible area are determined; Based on the positions of the camera and the light source, determine the building components that are not completely blocked from the first building components, and obtain the second building component; The second building component is rendered and displayed.

5. A display system for building information models, characterized in that, include: The acquisition module is used to acquire building component information from the building information model; The acquisition of building component information from the building information model includes: Obtain building information model; The building information model is preprocessed to remove redundant data, resulting in preprocessed building information model data. The preprocessed building information model data is subjected to digital-model separation to obtain geometric information; Based on the similarity between building components, the building components in the geometric information are classified to obtain the adjusted geometric information; Based on the adjusted geometric information, the boundary information and vertex information of the building components are obtained; The step of classifying the building components in the geometric information based on the similarity between the building components to obtain the adjusted geometric information includes: Extract the outline shape features of the building components; Based on the similarity of the outline shape features of the building components, cluster the multiple building components; determine the center or centroid of the outline shape to obtain the target point; determine the bending points of the edges of the outline shape to obtain the turning points; establish the feature vector of the outline shape with the target point as the starting point and the turning point as the ending point; calculate the cosine similarity between the outline shapes of the building components based on the feature vector; and perform clustering based on the calculated cosine similarity. Based on the clustering categories of the building components, the building components are merged to obtain adjusted geometric information; The clustering of the multiple building components includes: When a target object exists in the building component, the feature information of the target object in the building component is extracted, wherein the feature information includes position information and shape information; Based on the outline shape of the building components and the feature information, multiple building components are clustered; the shape features and position features of the target object are added to the outline shape to form a new outline shape; the similarity of the building components is calculated based on the new outline shape; and the building components are clustered based on the similarity of the building components. The subdivision module is used to determine the building components based on the building component information, and to triangulate the surface of the building components to obtain triangularized building components; The display module is used to render and display the building components in the building information model based on the triangularized building components.

6. An electronic device comprising a memory and a processor, the memory storing a computer program operable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method for displaying a building information model as described in any one of claims 1 to 4.

7. A storage medium having stored thereon a computer program, characterized in that When the computer program is executed by a processor, it implements the steps of the method for displaying a building information model as described in any one of claims 1 to 4.