A method and system for online updating and material mapping based on BIM model

In the field of BIM model technology, we receive models generated by design software and perform format conversion to build a standard material database and material feature identification network, which solves the problems of different data formats and material naming differences between different design units, and achieves data consistency. and efficient material mapping.

CN118734412BActive Publication Date: 2025-01-21SHANGHAI MAPPING INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410960273.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2025-01-21
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

In the prior art, different design units have different data formats when designing BIM models, which lead to difficulty in data unification and high labor costs; material naming habits between different design software or teams vary greatly, resulting in difficulty in material mapping.

Method used

Receive the design model generated by the design software through the upload channel, and update it into a unified format based on the format conversion rules; build a standard material database, including the material association between the design software and the target software; perform material mapping based on the standard material database, and use material feature identification The network extracts and maps material features.

Benefits of technology

It enables seamless docking and use of models generated by different design software on the same platform, ensuring data consistency, reducing errors and confusion caused by inconsistent material definitions, and improving the accuracy and efficiency of data exchange.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734412B_ABST
    Figure CN118734412B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of BIM models, and in particular to an online update and material mapping method and system based on a BIM model, comprising: receiving a design model generated by a design software through an upload channel, and updating the design model to a platform format of the design model based on a format conversion rule; constructing a standard material database, the standard material database including a material association relationship between the design software and the target software; and performing material mapping on the platform format of the design model based on the standard material database. The present invention converts the design model into a unified format suitable for a target platform according to a preset format conversion rule, thereby ensuring that models generated by different design software can be seamlessly connected and used on the same platform. A database containing the association relationship between materials in the design software and materials in the target software is established. By standardizing material data, errors and confusion caused by inconsistent material definitions are reduced, and the accuracy and efficiency of data exchange are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of BIM models, and in particular to an online updating and material mapping method and system based on a BIM model. Background Art

[0002] In the field of urban planning and design and natural resource management, Building Information Model (BIM) serves as the core data support to digitally express multi-dimensional spatial information such as above-ground and underground, indoor and outdoor, historical and future. BIM models not only play an important role in the planning and design stage, but also play a key role in the planning approval process.

[0003] However, in the existing technology, different design units use different data formats when designing BIM models, which is difficult to unify; different design units need to manually unify the format when designing BIM models, which has high labor costs; the material library in the design software is usually generated by designers uploading custom maps and freely naming the maps, which can be very different between different design software or design teams. For example, cement materials may be named variously, such as cement, cement, shuini, or even garbled characters, according to different naming habits, which makes mapping difficult. Summary of the invention

[0004] (I) Purpose of the invention

[0005] The purpose of the present invention is to provide a BIM model-based online updating and material mapping method and system that can improve work efficiency and ensure data consistency.

[0006] (II) Technical solution

[0007] To solve the above problems, the present invention provides an online updating and material mapping method based on BIM model, comprising:

[0008] Receiving a design model generated by a design software through an upload channel, wherein the design model is updated into a platform format of the design model based on a format conversion rule;

[0009] Constructing a standard material database, wherein the standard material database includes a material association relationship between the design software and the target software;

[0010] Based on a standard material database, material mapping is performed on the platform format of the design model.

[0011] In another aspect of the present invention, preferably, the format conversion rule includes:

[0012] Convert the received design model into glTF format;

[0013] Divide the converted design model into blocks, and generate a glTF folder for each block;

[0014] Traverse the glTF folder and extract the spatial data in each file;

[0015] The extracted spatial data are converted according to unified rules;

[0016] Extract normal information and material information from each file according to the platform format specification;

[0017] Generate the extracted normal information and material information into a platform format for the design model;

[0018] Marking each block of the design model with the first identifier and saving corresponding attribute information;

[0019] The first identifier is stored in a JSON file together with the spatial data, material information and normal information to form a file header in a platform format of the design model.

[0020] In another aspect of the present invention, preferably, a standard material database is constructed, wherein the standard material database includes a material association relationship between the design software and the target software including:

[0021] collecting first material data from different design software and second material data from target software;

[0022] Establish material classification and naming rules for standard material database;

[0023] Classifying and renaming the collected first material data according to the material classification and naming rules of the standard material database;

[0024] Classifying and renaming the collected second material data according to the material classification and naming rules of the standard material database;

[0025] The association between design software materials and target software materials is established through the standard material database.

[0026] In another aspect of the present invention, preferably, the material mapping of the platform format of the design model based on the standard material database comprises:

[0027] Obtaining, through a standard material database, a target material corresponding to the material to be mapped in the platform format of the design model in the target software;

[0028] Input the target material into the material feature recognition network to extract the features of the target material;

[0029] The characteristics of the target material are mapped to the material to be mapped, so as to achieve platform format material mapping of the design model.

[0030] In another aspect of the present invention, preferably,

[0031] The material feature recognition network includes extracting shape features of the target material;

[0032] The shape feature extraction comprises:

[0033] Convert the image of the target material into a grayscale image;

[0034] Extract the outer contour of each pattern in the grayscale image of the target material and the positional relationship between the patterns, and calculate the centroid of each pattern respectively;

[0035] Calculate the distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern to form each pattern curve;

[0036] The shape characteristics of the target material are generated according to the positional relationship between each pattern curve and each pattern.

[0037] In another aspect of the present invention, preferably,

[0038] The centroid of each pattern is calculated using the following formula,

[0039]

[0040] Among them, (x i ,y i ) represents the coordinates of the outer contour of each pattern, i = 1, 2, ..., n; (x m ,y m ) represents the centroid coordinates of each pattern;

[0041] The distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern is calculated using the following formula:

[0042]

[0043] Where f(x i ,y i ) represents the distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern.

[0044] In another aspect of the present invention, preferably, the material feature recognition network further comprises extracting color features and texture features of the target material from among the extracted shape features of the target material;

[0045] The color feature extraction comprises:

[0046] Convert the image of the target material from the RGB color space to the HSV color space, and obtain the chroma, saturation, and brightness components of the image of the target material by pixel;

[0047] The texture feature extraction comprises:

[0048] The gray level co-occurrence matrix is ​​used to extract texture features.

[0049] In another aspect of the present invention, preferably, mapping the characteristics of the target material to the material to be mapped comprises mapping using the following formula:

[0050] Among the shape features, texture features and color features are fused to obtain fusion features;

[0051] Use convolutional neural networks to build mapping networks;

[0052] The characteristics of the target material are mapped to the material to be mapped by utilizing the fusion characteristics and the mapping network.

[0053] In another aspect of the present invention, preferably,

[0054] The mapping network is trained using the following loss function:

[0055]

[0056] Among them, L represents the loss function, N represents the number of training objects, i represents the number of training objects, and y i Indicates the actual output, Represents the output of the mapping network.

[0057] In another aspect of the present invention, preferably, an online updating and material mapping system based on a BIM model comprises:

[0058] Update module: receiving the design model generated by the design software through the upload channel, and updating the design model into the platform format of the design model based on the format conversion rule;

[0059] Construction module: constructing a standard material database, wherein the standard material database includes a material association relationship between the design software and the target software;

[0060] Mapping module: Based on the standard material database, material mapping is performed on the platform format of the design model.

[0061] (III) Beneficial effects

[0062] The above technical solution of the present invention has the following beneficial technical effects:

[0063] The present invention converts the design model into a unified format suitable for the target platform according to the preset format conversion rules, ensuring that the models generated by different design software can be seamlessly connected and used on the same platform. A database containing the relationship between the materials in the design software and the materials in the target software is established. By standardizing the material data, the errors and confusion caused by inconsistent material definitions are reduced, and the accuracy and efficiency of data exchange are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 It is an overall flow chart of an embodiment of the present invention. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0066] Obviously, the described embodiments are only some embodiments of the present invention, but not all 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.

[0067] In the description of the present invention, it should be noted that the terms “first”, “second” and “third” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0068] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0069] Embodiment 1

[0070] An online update and material mapping method based on BIM model, Figure 1 FIG. 1 shows an overall flow chart of an embodiment of the present invention, as shown in FIG. Figure 1 As shown, including:

[0071] The design model generated by the design software is received through the upload channel, and the design model is updated into the platform format of the design model based on the format conversion rule; the specific content of the format conversion rule is not limited here, and in this embodiment, the format conversion rule includes: converting the received design model into glTF format; glTF is a lightweight JSON format for 3D scenes and models, which is intended to improve the network transmission and loading efficiency of 3D content;

[0072] Divide the converted design model into blocks, and generate a glTF folder for each block; Divide the converted glTF format design model into blocks, each block may represent a different part of the building (such as floors, rooms, structural units, etc.), so as to manage and update it more efficiently;

[0073] Traverse the glTF folder and extract the spatial data in each file; extract the spatial data, including vertex position, patch information, node level, etc.;

[0074] The extracted spatial data is converted according to unified rules to ensure that the position and orientation information of each block is correct; according to the coordinate system and direction convention of the target platform, the spatial data is converted accordingly, and the transformation matrix (position, rotation, scaling) of the node needs to be adjusted to match the expectations of the target platform;

[0075] Extract normal information and material information from each file according to the platform format specification;

[0076] Generate the extracted normal information and material information into a platform format for the design model;

[0077] Marking each block of the design model with the first identifier and saving corresponding attribute information;

[0078] The first identifier is stored in a JSON file together with the spatial data, material information, and normal information to form a file header in the platform format of the design model. In the generated platform format file, a special metadata section or file header is created. In this section, a unique identifier (ID) is assigned to each block, and its spatial data, material information, normal information, etc. are recorded. This information is stored in JSON format for subsequent processing and query.

[0079] Furthermore, in this embodiment, through pre-established quality inspection rules, the platform automatically performs quality inspection on the model before data is released. The quality inspection content includes model format, model naming method, update content, etc. If there are non-conformities such as format inconsistency and missing information, the platform can immediately make corresponding prompts, and the designer needs to make corresponding adjustments to the design model and upload it again; the quality inspection is interactive, and modification suggestions are immediately fed back, shortening the data processing link.

[0080] Constructing a standard material database, wherein the standard material database includes a material association relationship between the design software and the target software; including:

[0081] Collect the first material data from different design software and the second material data of the target software; the material library in the design software is usually generated by designers uploading custom textures and freely naming the textures, which may be very different between different design software or design teams. For example, cement material may be named variously such as cement, cement, shuini, or even garbled characters according to different naming habits.

[0082] Establish material classification and naming rules for standard material database;

[0083] Classifying and renaming the collected first material data according to the material classification and naming rules of the standard material database;

[0084] Classifying and renaming the collected second material data according to the material classification and naming rules of the standard material database;

[0085] The association between design software materials and target software materials is established through the standard material database.

[0086] Based on the standard material database, material mapping is performed on the platform format of the design model, including:

[0087] Obtaining, through a standard material database, a target material corresponding to the material to be mapped in the platform format of the design model in the target software;

[0088] The target material is input into the material feature recognition network to extract the features of the target material. In this embodiment, the features of the target material are extracted including:

[0089] First, extract the shape features of the target material.

[0090] The shape feature extraction comprises:

[0091] Convert the image of the target material into a grayscale image;

[0092] Extract the outer contours of each pattern in the target material grayscale image and the positional relationship between each pattern, and calculate the centroid of each pattern respectively; the centroid of each pattern is calculated using the following formula:

[0093]

[0094] Among them, (x i ,y i ) represents the coordinates of the outer contour of each pattern, i = 1, 2, ..., n; (x m ,y m ) represents the centroid coordinates of each pattern;

[0095] Calculate the distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern to form each pattern curve; the distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern is calculated using the following formula:

[0096]

[0097] Where f(x i ,y i ) represents the distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern;

[0098] The shape characteristics of the target material are generated according to the positional relationship between each pattern curve and each pattern.

[0099] The material feature recognition network also includes extracting color features and texture features of the target material from among the extracted shape features of the target material;

[0100] The color feature extraction comprises:

[0101] Convert the image of the target material from the RGB color space to the HSV color space, and obtain the chroma, saturation, and brightness components of the image of the target material by pixel;

[0102] The texture feature extraction comprises:

[0103] The gray level co-occurrence matrix is ​​used to extract texture features.

[0104] Furthermore, in this embodiment, the gray level co-occurrence matrix can be obtained by the following formula:

[0105]

[0106] Among them, P weighted (i, j, d, θ) represents the gray-level co-occurrence matrix, which records the frequency or probability of two pixel gray levels i and j appearing simultaneously in the target material at a given distance d and direction θ; ω(i, j, d, θ) is the weight calculated based on the gradient between the pixel pairs (i, current position) and (j, position at distance d, direction θ); by introducing the weight factor, texture areas with high gradients, which usually correspond to edges or rapidly changing parts, will be relatively suppressed in the weighted matrix, while the texture features of smooth areas will be enhanced.

[0107] Firstly, extracting shape features helps to simplify complex material images into more basic geometric or morphological units, providing clear boundaries and foundations for subsequent feature extraction. Further extracting texture and color features based on shape features can achieve more accurate and detailed feature descriptions, because shape features have defined clear areas for the extraction of texture and color features, thus avoiding confusion between different areas of the material.

[0108] Mapping the characteristics of the target material to the material to be mapped includes mapping using the following formula:

[0109] Among the shape features, texture features and color features are fused to obtain fusion features;

[0110] In this embodiment, the texture features and color features in the same shape feature are fused by the following formula:

[0111]

[0112] Among them, S represents the fusion feature, B i represents the texture feature at position i, C i Represents the color feature of position i.

[0113] Use convolutional neural networks to build mapping networks;

[0114] The characteristics of the target material are mapped to the material to be mapped by utilizing the fusion characteristics and the mapping network.

[0115] In this embodiment, the mapping network is trained using the following loss function:

[0116]

[0117] Among them, L represents the loss function, N represents the number of training objects, i represents the number of training objects, and y i Indicates the actual output, Represents the output of the mapping network.

[0118] Furthermore, in this embodiment, historical version management is also included. The platform stipulates that the uploaded design model must include the project name, model name, update time, update content, etc. When the model is uploaded, the information is automatically read and stored in the background database. The design plans under the same project are managed in a unified manner, supporting historical design plan backtracking, query and comparison between plans, which is convenient for the bureau's business development.

[0119] Furthermore, in this embodiment, it also includes automatic reading of viewpoint information. The comparison of design schemes requires clarifying the changes between different schemes, and the original changes are often only in the hands of the designer himself. By exploring the automatic reading of viewpoint information, the changes in the model are displayed. The designer marks the best viewpoint at the corresponding position of the design model where the change occurs, and stores the viewpoint information in the model. Among them, the viewpoint is named by the designer according to the naming rules agreed in advance. If multiple changes are involved, multiple viewpoints are listed separately. After the latest model is uploaded, the background automatically reads the viewpoint information contained in the model file, converts it into the camera parameters supported by the target platform, and forms the corresponding viewing angle information. When the user views the design model, it can automatically locate the model change position according to the viewpoint, which is convenient for comparison between design schemes.

[0120] Embodiment 2

[0121] An online update and material mapping system based on a BIM model, comprising:

[0122] Update module: receiving the design model generated by the design software through the upload channel, and updating the design model into the platform format of the design model based on the format conversion rule;

[0123] Construction module: constructing a standard material database, wherein the standard material database includes a material association relationship between the design software and the target software;

[0124] Mapping module: Based on the standard material database, material mapping is performed on the platform format of the design model.

[0125] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

[0126] The present invention has been described above with reference to the embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. The scope of the present invention is defined by the appended claims and their equivalents. Without departing from the scope of the present invention, a person skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

[0127] Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.

[0128] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.

Claims

1. A method for online updating and material mapping based on BIM model, characterized in that: include: Receiving a design model generated by a design software through an upload channel, wherein the design model is updated into a platform format of the design model based on a format conversion rule; Constructing a standard material database, wherein the standard material database includes a material association relationship between the design software and the target software; Based on a standard material database, material mapping is performed on the platform format of the design model; Wherein, a standard material database is constructed, wherein the standard material database includes the material association relationship between the design software and the target software including: collecting first material data from different design software and second material data from target software; Establish material classification and naming rules for standard material database; Classifying and renaming the collected first material data according to the material classification and naming rules of the standard material database; Classifying and renaming the collected second material data according to the material classification and naming rules of the standard material database; Establish the association between design software materials and target software materials through the standard material database; The material mapping of the platform format of the design model based on the standard material database includes: Obtaining, through a standard material database, a target material corresponding to the material to be mapped in the platform format of the design model in the target software; Input the target material into the material feature recognition network to extract the features of the target material; The characteristics of the target material are mapped to the material to be mapped, so as to achieve platform format material mapping of the design model.

2. The method according to claim 1, characterized in that The format conversion rules include: Convert the received design model into glTF format; Divide the converted design model into blocks, and generate a glTF folder for each block; Traverse the glTF folder and extract the spatial data in each file; The extracted spatial data are converted according to unified rules; Extract normal information and material information from each file according to the platform format specification; Generate the extracted normal information and material information into a platform format for the design model; Marking each block of the design model with the first identifier and saving corresponding attribute information; The first identifier is stored in a JSON file together with the spatial data, material information and normal information to form a file header in a platform format of the design model.

3. The method according to claim 1, characterized in that The material feature recognition network includes extracting shape features of the target material; The shape feature extraction comprises: Convert the image of the target material into a grayscale image; Extract the outer contour of each pattern in the grayscale image of the target material and the positional relationship between the patterns, and calculate the centroid of each pattern respectively; Calculate the distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern to form each pattern curve; The shape characteristics of the target material are generated according to the positional relationship between each pattern curve and each pattern.

4. The method according to claim 3, characterized in that: The centroid of each pattern is calculated using the following formula, Among them, (x i ,y i ) represents the coordinates of the outer contour of each pattern, i = 1, 2, ..., n; (x m ,y m ) represents the centroid coordinates of each pattern; The distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern is calculated using the following formula: Where f(x i ,y i ) represents the distance from the centroid of each pattern to each point of the outer contour of the corresponding pattern.

5. The method according to claim 4, characterized in that The material feature recognition network also includes extracting color features and texture features of the target material from among the extracted shape features of the target material; The color feature extraction comprises: Convert the image of the target material from the RGB color space to the HSV color space, and obtain the chroma, saturation, and brightness components of the image of the target material by pixel; The texture feature extraction comprises: The gray level co-occurrence matrix is ​​used to extract texture features.

6. The method according to claim 5, characterized in that Mapping the characteristics of the target material to the material to be mapped includes: Among the shape features, texture features and color features are fused to obtain fusion features; Use convolutional neural networks to build mapping networks; The characteristics of the target material are mapped to the material to be mapped by utilizing the fusion characteristics and the mapping network.

7. The method according to claim 6, characterized in that The mapping network is trained using the following loss function: Among them, L represents the loss function, N represents the number of training objects, i represents the number of training objects, and y i Indicates the actual output, y i Represents the output of the mapping network.

8. An online update and material mapping system based on BIM model, characterized in that: include: Update module: receiving the design model generated by the design software through the upload channel, and updating the design model into the platform format of the design model based on the format conversion rule; Construction module: constructing a standard material database, wherein the standard material database includes a material association relationship between the design software and the target software; Mapping module: Based on the standard material database, material mapping is performed on the platform format of the design model; Wherein, a standard material database is constructed, wherein the standard material database includes the material association relationship between the design software and the target software including: collecting first material data from different design software and second material data from target software; Establish material classification and naming rules for standard material database; Classifying and renaming the collected first material data according to the material classification and naming rules of the standard material database; Classifying and renaming the collected second material data according to the material classification and naming rules of the standard material database; Establish the association between design software materials and target software materials through the standard material database; The material mapping of the platform format of the design model based on the standard material database includes: Obtaining, through a standard material database, a target material corresponding to the material to be mapped in the platform format of the design model in the target software; Input the target material into the material feature recognition network to extract the features of the target material; The characteristics of the target material are mapped to the material to be mapped, so as to achieve platform format material mapping of the design model.

Citation Information

Patent Citations

  • Multi-platform space data fusion and synchronization method

    CN108416043A

  • Identification and import of extended metadata for database workpieces

    CN115905164A