Building structure design method based on image-atlas multimodal fusion diffusion model

Through the image-map multi-modal fusion diffusion model, combined with architectural design drawings and design condition data, feature maps are extracted and fused, which solves the problem of low design quality caused by single data generation in the existing technology and achieves efficient building structure intelligence. design.

CN117993049BActive Publication Date: 2024-09-17TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311827364.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2024-09-17
Estimated Expiration
2043-12-27

AI Technical Summary

Technical Problem

Existing intelligent design methods for building structures only rely on single data generation such as images or maps, resulting in low quality design results and difficulty in effectively expressing building structure design conditions.

Method used

An architectural structure design method based on the image-map multi-modal fusion diffusion model is adopted. By obtaining architectural design drawings and design condition structured data, the architectural spatial feature map is extracted and input into the image-map coupling encoder and structural layout generation model. , fuse feature data to generate building structure design results.

Benefits of technology

It realizes the effective expression of various conditions of building structure design, quickly and reliably completes the building structure design, and improves the design quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117993049B
    Figure CN117993049B
Patent Text Reader

Abstract

The present invention provides a building structure design method based on an image-atlas multimodal fusion diffusion model, which obtains a building design drawing and design condition structured data of the building design drawing; extracts building space information feature data based on the building design drawing; extracts a building space feature map based on the building space information feature data; inputs the extracted building space feature map into an image-atlas coupling encoder to obtain input first feature data; inputs the first feature data, building component feature data extracted from the building design drawing, and design condition structured data into a structure layout generation model to obtain layout feature data of a target structure component output by the structure layout generation model; extracts building structure layout design data from the layout feature data, and generates a building structure design result for the target structure component. The present invention solves the problem that the existing building structure intelligent design only relies on image or atlas single data generation, and the design result quality is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building structure design, and in particular to a building structure design method based on an image-atlas multimodal fusion diffusion model. Background Art

[0002] At present, in the preliminary design stage of building structures, the design of building structures mainly relies on manual experience, which has low design efficiency. In addition, the current design relying on artificial intelligence has the problem of relying only on the generation of single data of images or graphs, which makes it difficult to effectively express the design conditions of building structures. Therefore, there is an urgent need for an intelligent building structure design method that can effectively express various conditions of building structure design and quickly and reliably complete the building structure design. Summary of the invention

[0003] The present invention provides a building structure design method based on an image-atlas multimodal fusion diffusion model, which is used to solve the problem that the existing intelligent design of building structures only relies on the generation of single data of images or atlases, resulting in low quality of design results.

[0004] The present invention provides a building structure design method based on an image-atlas multimodal fusion diffusion model, comprising:

[0005] Acquire an architectural design drawing and design condition structured data corresponding to the architectural design drawing;

[0006] Extracting architectural space information feature data based on the architectural design drawing, and extracting architectural space feature graph based on the architectural space information feature data;

[0007] Inputting the architectural space feature map into a preset image-map coupling encoder to generate input first feature data;

[0008] constructing input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data;

[0009] Merging the input first feature data and the input second feature data into input feature data;

[0010] Inputting the input feature data into a pre-acquired structure layout generation model to obtain layout feature data of a target structural component output by the structure layout generation model;

[0011] Extracting architectural structure layout design data from the layout feature data to generate architectural structure design results for the target structural component;

[0012] The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on building component feature sample data and first feature sample data and second feature sample data corresponding to the building component feature sample data.

[0013] According to a building structure design method based on an image-atlas multimodal fusion diffusion model provided by the present invention, building space information feature data is extracted based on the building design drawing, and building space feature atlas is extracted based on the building space information feature data, specifically comprising:

[0014] Extracting architectural space information features from the architectural design drawing, wherein the architectural space information features include the location, size, and type of the architectural space;

[0015] According to the building space information characteristics, the building space information is converted into a building space characteristic map.

[0016] According to a building structure design method based on an image-atlas multimodal fusion diffusion model provided by the present invention, the training process of the image-atlas coupling encoder is:

[0017] Converting the building space information feature data into a building space information feature tensor;

[0018] Combining the building space information feature tensor and the building space information atlas corresponding to the building space information feature data to form a building space information image-atlas dataset;

[0019] Using the architectural space information image-atlas dataset, a contrastive learning method is used to train a neural network;

[0020] The trained neural network is used as an image-atlas coupled encoder.

[0021] According to a building structure design method based on an image-atlas multimodal fusion diffusion model provided by the present invention, the building space information image-atlas dataset is used to train a neural network using a contrastive learning method, specifically comprising:

[0022] In the image-atlas dataset, the building space information feature tensor and the building space information atlas corresponding to the building space information feature data are taken as positive samples, and the building space information feature tensor and the building space information atlas not corresponding to the building space information feature data are taken as negative samples;

[0023] Inputting the positive sample and the negative sample into a pre-initialized neural network, and optimizing the neural network weights using a contrast loss function;

[0024] When the contrast loss function no longer decreases, the neural network at this time is regarded as the trained neural network.

[0025] According to a building structure design method based on an image-atlas multimodal fusion diffusion model provided by the present invention, the second feature data is constructed based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data, specifically including:

[0026] Extracting first feature data and second feature data from the architectural design drawing, and extracting design condition feature data from the design condition structured data, wherein the first feature data is feature data of all building components in the architectural design drawing, and the second feature data is feature data of candidate arrangement positions of the target structural components in the architectural design drawing;

[0027] Characterizing the first feature data, the second feature data, and the design condition feature data as feature tensors respectively;

[0028] The feature tensor of the first feature data and the feature tensor of the design condition feature data are merged to obtain a building feature tensor;

[0029] Based on the feature tensor of the second feature data, the corresponding position of the building feature tensor is set to Gaussian noise to obtain an input tensor, and the input tensor is used as the input second feature data.

[0030] According to a building structure design method based on an image-atlas multimodal fusion diffusion model provided by the present invention, the input first feature data and the input second feature data are fused into input feature data, specifically comprising:

[0031] Multiplying the input first characteristic data and the input second characteristic data by the preset weights of the first characteristic data and the second characteristic data respectively to obtain the amplitude modulated first characteristic data and the second characteristic data;

[0032] The amplitude-modulated first feature data and the second feature data are bitwise multiplied to form input feature data.

[0033] According to a building structure design method based on an image-atlas multimodal fusion diffusion model provided by the present invention, extracting the building structure layout design data from the layout feature data and generating a building structure design result for the target structural component specifically includes:

[0034] Characterizing the building structure layout design data as a third-order structural layout tensor;

[0035] The architectural feature tensor and the feature tensor of the target structural component in the third-order tensor of the structural arrangement are expressed as a design drawing through affine transformation using a visualization method as a result of the architectural structure design for the target structural component.

[0036] The present invention also provides a building structure design system based on an image-atlas multimodal fusion diffusion model, the system comprising:

[0037] A data acquisition module, used to acquire a building design drawing and design condition structured data corresponding to the building design drawing;

[0038] A data extraction module, used to extract architectural space information feature data based on the architectural design drawing, and to extract architectural space feature maps based on the architectural space information feature data;

[0039] An input first feature data generation module is used to input the architectural space feature map into a preset image-map coupling encoder to generate input first feature data;

[0040] An input second characteristic data generating module is used to construct input second characteristic data based on the building component characteristic data extracted from the building design drawing and the design condition characteristic data extracted from the design condition structured data;

[0041] A fusion module, used for fusing the input first feature data and the input second feature data into input feature data;

[0042] A layout feature data generation module, used for inputting the input feature data into a pre-acquired structure layout generation model to obtain layout feature data of a target structural component output by the structure layout generation model;

[0043] A result output module, used to extract the architectural structure layout design data from the layout feature data, and generate an architectural structure design result for the target structural component;

[0044] The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on building component feature sample data and first feature sample data and second feature sample data corresponding to the building component feature sample data.

[0045] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for designing a building structure based on the image-atlas multimodal fusion diffusion model as described above is implemented.

[0046] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a building structure design method based on the image-atlas multimodal fusion diffusion model as described in any one of the above.

[0047] The architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention obtains architectural design drawings and design condition structured data of the architectural design drawings, extracts relevant architectural space feature maps, couples and encodes the extracted architectural space feature maps through an image-atlas coupling encoder, enters the obtained multiple data into a structure layout generation model, obtains layout feature data of target structural components output by the structure layout generation model; extracts architectural structure layout design data from the layout feature data, and generates architectural structure design results for the target structural components; can effectively express various conditions for architectural structure design, and quickly and reliably complete intelligent architectural structure design of architectural structure design, thereby improving design quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 It is one of the flow diagrams of the architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention;

[0050] Figure 2 This is the second flow chart of the architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention;

[0051] Figure 3 This is the third flow chart of the architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention;

[0052] Figure 4 This is the fourth flow chart of the architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention;

[0053] Figure 5 This is the fifth flow chart of the architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention;

[0054] Figure 6 This is the sixth flow chart of the architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention;

[0055] Figure 7 This is the seventh flow chart of the architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention;

[0056] Figure 8 It is a schematic diagram of module connection of a building structure design system based on an image-atlas multimodal fusion diffusion model provided by the present invention;

[0057] Fig. 9 It is a schematic diagram of image-atlas data provided by the present invention;

[0058] Fig.10 It is a schematic diagram of the training process of the atlas-image coupled encoder provided by the present invention;

[0059] Fig.11 It is a structural schematic diagram of the electronic device provided by the present invention.

[0060] Reference numerals:

[0061] 110: data acquisition module; 120: data extraction module; 130: input first feature data generation module; 140: input second feature data generation module; 150: fusion module; 160: arrangement feature data generation module; 170: result output module;

[0062] 1110: processor; 1120: communication interface; 1130: memory; 1140: communication bus. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0064] Combine the following Figure 1-Figure 7 The present invention describes a building structure design method based on an image-atlas multimodal fusion diffusion model, comprising:

[0065] S100, obtaining an architectural design drawing and design condition structured data corresponding to the architectural design drawing;

[0066] S200, extracting architectural space information feature data based on the architectural design drawing, and extracting architectural space feature maps based on the architectural space information feature data;

[0067] S300, inputting the architectural space feature map into a preset image-map coupling encoder to generate input first feature data;

[0068] S400, constructing input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data;

[0069] S500, merging the input first feature data and the input second feature data into input feature data;

[0070] S600, inputting the input feature data into a pre-acquired structure layout generation model to obtain layout feature data of a target structural component output by the structure layout generation model;

[0071] S700, extracting architectural structure layout design data from the layout feature data, and generating architectural structure design results for the target structural component;

[0072] The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on building component feature sample data and first feature sample data and second feature sample data corresponding to the building component feature sample data.

[0073] In the present invention, shear wall structure is used as a typical building structure object for illustration. The image-atlas multimodal fusion diffusion model is a deep learning model that needs to be trained and tested based on collected data in advance, and then the trained diffusion model is applied for intelligent design.

[0074] Extracting architectural space information feature data based on the architectural design drawing, and extracting architectural space feature maps based on the architectural space information feature data specifically include:

[0075] S101, extracting architectural space information features from the architectural design drawing, wherein the architectural space information features include the location, size, and type of the architectural space;

[0076] S102: Convert the architectural space information into an architectural space feature map according to the architectural space information features.

[0077] Fig. 9 The process of extracting architectural space information feature data based on architectural design drawings and extracting architectural space feature maps based on architectural space feature data is shown.

[0078] First, we distinguish each enclosed space according to the architectural drawing information, and classify them according to the space usage function and other characteristics to obtain the architectural space information feature data. Then, according to the architectural space feature data, we take the corresponding space as the vertex and the adjacency relationship as the edge set to construct the architectural space feature map. Fig. 9 The content in the vertex is for illustration only and does not represent all the characteristic content of the vertex.

[0079] The training process of the image-atlas coupled encoder is:

[0080] S201, converting the building space information feature data into a building space information feature tensor;

[0081] S202, combining the building space information feature tensor and the building space information atlas corresponding to the building space information feature data to form a building space information image-atlas dataset;

[0082] S203, using the architectural space information image-atlas dataset to train a neural network using a contrastive learning method;

[0083] S204, using the trained neural network as an image-atlas coupling encoder.

[0084] The method of training a neural network by using the architectural space information image-atlas dataset and a contrastive learning method specifically includes:

[0085] S301, in the image-atlas data set, the building space information feature tensor and the building space information atlas corresponding to the building space information feature data are taken as positive samples, and the building space information feature tensor and the building space information atlas not corresponding to the building space information feature data are taken as negative samples;

[0086] S302, inputting the positive sample and the negative sample into a pre-initialized neural network, and optimizing the neural network weights using a contrast loss function;

[0087] S303: When the contrast loss function no longer decreases, the neural network at this time is used as the trained neural network.

[0088] Based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data, constructing the input second feature data specifically includes:

[0089] S401, extracting first feature data and second feature data from the architectural design drawing, and extracting design condition feature data from the design condition structured data, wherein the first feature data is feature data of all building components in the architectural design drawing, and the second feature data is feature data of candidate arrangement positions of the target structural components in the architectural design drawing;

[0090] S402, characterizing the first feature data, the second feature data, and the design condition feature data as feature tensors respectively;

[0091] S403, fusing the feature tensor of the first feature data and the feature tensor of the design condition feature data to obtain a building feature tensor;

[0092] S404. Based on the feature tensor of the second feature data, the corresponding position of the building feature tensor is set to Gaussian noise to obtain an input tensor, and the input tensor is used as the input second feature data.

[0093] In the present invention, during the training phase, CAD drawing samples of the building and structural design of the shear wall structure and corresponding structured data samples of the design conditions are collected.

[0094] An automatic extraction program was developed based on the CAD secondary development interface (API) to extract the building and structural components in the CAD drawing samples, and obtain the building space data samples, building component feature data samples, and structural component feature data samples; the design condition feature data samples were extracted from the design condition structured data samples.

[0095] The building space data samples, building component feature data samples, structural component feature data samples and design condition feature data samples are merged into the input first feature data samples and the input second feature data samples, specifically:

[0096] Extracting the plan layout features of doors, windows and building partitions from the building component feature data samples;

[0097] The plan layout features of doors, windows and building partitions are represented as second-order tensors respectively. Then, the second-order tensors of all components are stacked up and represented as third-order tensors to obtain the building component feature tensor samples;

[0098] It should be noted that this second-order tensor indicates whether there is a corresponding component at this position in the layout diagram. If there is a corresponding component, the value is 1, otherwise it is 0;

[0099] Extracting the plane layout features of the shear wall from the structural component characteristic data samples, and representing the plane layout features of the shear wall as a third-order tensor, and obtaining the structural component characteristic tensor samples;

[0100] The design condition structured data sample is represented as a first-order tensor, and the design condition feature tensor sample is obtained by copying and expanding the dimension to a third-order tensor;

[0101] In an exemplary embodiment, the category data in the design condition structured data sample is represented as a first-order tensor using one-hot encoding, and the numerical data in the design condition structured data sample is converted into a zero-order tensor. Thereafter, all types of data are stacked up, represented as a first-order tensor, and copied and expanded into a third-order tensor to obtain a design condition feature tensor sample;

[0102] The obtained building component feature tensor samples, structural component feature tensor samples and design condition feature tensor samples are respectively normalized, and the normalization results are stacked to obtain a second feature data sample;

[0103] In an exemplary embodiment, the normalization process uses a maximum-minimum scaling method to map the original input to the interval of [-1, 1] through linear mapping;

[0104] According to the building space data sample, the corresponding space is taken as the vertex, and the adjacency relationship is taken as the edge set, thereby constructing the building space feature map sample;

[0105] The building space data samples, the building space feature map samples, and the second feature data samples are randomly divided into a training set and a test set to complete the data set creation.

[0106] Construct the image encoder, graph encoder and image-graph decoder respectively.

[0107] refer to Fig.10 In this embodiment, the aforementioned building structure design training set is used to train the constructed image encoder, atlas encoder and image-atlas decoder. The training process includes:

[0108] Taking out a sample of the building structure design training set to obtain a building space data sample and a building space feature map sample;

[0109] The extracted building space data samples are taken as positive samples, and the remaining samples in the training set are taken as negative samples;

[0110] Input the building space data samples and the building space feature map samples into the image encoder and the map encoder respectively to obtain the image tensor h i and the graph tensor h g ;

[0111] Take any other building space data samples from the dataset and calculate the image tensor h i i ;

[0112] The InfoNCE loss value is calculated based on the above tensor, and the neural network parameters are optimized accordingly until the neural network converges.

[0113] After the training converges, the following steps need to be completed:

[0114] Taking out a sample of the building structure design training set to obtain a building space data sample and a building space feature map sample;

[0115] A part of the obtained building space data sample is randomly deleted to serve as the modified building space data sample.

[0116] The modified building space data samples and building space feature map samples are input into the image encoder and the map encoder respectively to obtain the image tensor h i and the graph tensor h g ;

[0117] The image tensor h i and the graph tensor h g Input the image-atlas coupled decoder and get the output image;

[0118] The loss between the output image and the building space data sample is calculated, and the neural network is optimized according to the loss until the neural network converges.

[0119] The input first feature data and the input second feature data are merged into input feature data, specifically comprising:

[0120] S501, multiplying the input first characteristic data and the input second characteristic data by the preset weights of the first characteristic data and the second characteristic data respectively to obtain the amplitude modulated first characteristic data and the second characteristic data;

[0121] S502: Multiply the amplitude-modulated first feature data and the second feature data bit by bit to form input feature data.

[0122] The input feature data is input into the pre-acquired structure layout generation model to obtain the layout feature data of the target structural component output by the structure layout generation model. The specific process is as follows:

[0123] Extract the layout features of doors, windows and building partitions from architectural design drawings;

[0124] The plan layout features of doors, windows and building partitions are represented as second-order tensors respectively, and then the second-order tensors of all components are stacked up and represented as a third-order tensor to obtain the building component feature tensor;

[0125] It should be noted that the second-order tensor indicates whether there is a corresponding component at the position in the layout diagram. If there is a corresponding component, the value is 1, otherwise it is 0.

[0126] The design condition structured data is represented as a first-order tensor, and the design condition characteristic tensor is obtained by copying and expanding the dimension to a third-order tensor;

[0127] In an exemplary embodiment, the category data in the design condition structured data is represented as a first-order tensor using one-hot encoding, and the numerical data in the design condition structured data is converted into a zero-order tensor, after which all types of data are stacked up and represented as a first-order tensor, and replicated and expanded into a third-order tensor to obtain a design condition feature tensor;

[0128] The obtained building component characteristic tensor and design condition characteristic tensor are respectively normalized, and the normalized processing results are stacked to obtain second characteristic data;

[0129] In an exemplary embodiment, the normalization process uses a maximum-minimum scaling method to map the original input to the interval of [-1, 1] through linear mapping;

[0130] Performing bitwise weighted multiplication on the obtained second feature data and the first feature data to obtain input feature data;

[0131] The obtained input feature data is input into the structure layout generation model to obtain the layout feature data of the target structural component.

[0132] Extracting the architectural structure layout design data from the layout feature data and generating an architectural structure design result for the target structural component specifically includes:

[0133] S601, characterizing the building structure layout design data as a third-order structural layout tensor;

[0134] S602: Express the building feature tensor and the feature tensor of the target structural component in the third-order structural arrangement tensor into a design drawing by using a visualization method through affine transformation as the building structure design result for the target structural component.

[0135] Through the architectural structure design method based on the image-atlas multimodal fusion diffusion model provided by the present invention, architectural design drawings and design condition structured data of the architectural design drawings are obtained, relevant architectural space feature maps are extracted, the extracted architectural space feature maps are coupled and encoded through an image-atlas coupling encoder, and the obtained multiple data are entered into a structural layout generation model to obtain layout feature data of target structural components output by the structural layout generation model; architectural structure layout design data in the layout feature data is extracted to generate architectural structure design results for the target structural components; the intelligent architectural structure design that can effectively express various conditions for architectural structure design and quickly and reliably complete the architectural structure design can improve the design quality.

[0136] refer to Figure 8 The present invention also discloses a building structure design system based on an image-atlas multimodal fusion diffusion model, the system comprising:

[0137] The data acquisition module 110 is used to acquire the architectural design drawing and the design condition structured data corresponding to the architectural design drawing;

[0138] A data extraction module 120 is used to extract architectural space information feature data based on the architectural design drawing, and to extract architectural space feature maps based on the architectural space information feature data;

[0139] An input first feature data generating module 130 is used to input the architectural space feature map into a preset image-map coupling encoder to generate input first feature data;

[0140] An input second feature data generating module 140 is used to construct input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data;

[0141] A fusion module 150, configured to fuse the input first feature data and the input second feature data into input feature data;

[0142] The layout feature data generating module 160 is used to input the input feature data into the pre-acquired structure layout generation model to obtain the layout feature data of the target structural component output by the structure layout generation model;

[0143] A result output module 170, for extracting the architectural structure layout design data from the layout feature data, and generating an architectural structure design result for the target structural component;

[0144] The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on building component feature sample data and first feature sample data and second feature sample data corresponding to the building component feature sample data.

[0145] The data extraction module extracts the architectural space information features in the architectural design drawing, wherein the architectural space information features include the location, size, and type of the architectural space;

[0146] According to the building space information characteristics, the building space information is converted into a building space characteristic map.

[0147] Input the first feature data generation module to train the image-atlas coupled encoder.

[0148] Converting the building space information feature data into a building space information feature tensor;

[0149] Combining the building space information feature tensor and the building space information atlas corresponding to the building space information feature data to form a building space information image-atlas dataset;

[0150] Using the architectural space information image-atlas dataset, a contrastive learning method is used to train a neural network;

[0151] The trained neural network is used as an image-atlas coupled encoder.

[0152] The method of training a neural network by using the architectural space information image-atlas dataset and a contrastive learning method specifically includes:

[0153] In the image-atlas dataset, the building space information feature tensor and the building space information atlas corresponding to the building space information feature data are taken as positive samples, and the building space information feature tensor and the building space information atlas not corresponding to the building space information feature data are taken as negative samples;

[0154] Inputting the positive sample and the negative sample into a pre-initialized neural network, and optimizing the neural network weights using a contrast loss function;

[0155] When the contrast loss function no longer decreases, the neural network at this time is regarded as the trained neural network.

[0156] Input a second feature data generating module, extract first feature data and second feature data in the building design drawing, and extract design condition feature data in the design condition structured data, wherein the first feature data is feature data of all building components in the building design drawing, and the second feature data is feature data of candidate arrangement positions of the target structural component in the building design drawing;

[0157] Characterizing the first feature data, the second feature data, and the design condition feature data as feature tensors respectively;

[0158] The feature tensor of the first feature data and the feature tensor of the design condition feature data are merged to obtain a building feature tensor;

[0159] Based on the feature tensor of the second feature data, the corresponding position of the building feature tensor is set to Gaussian noise to obtain an input tensor, and the input tensor is used as the input second feature data.

[0160] A fusion module, multiplying the input first feature data and the input second feature data by the preset weights of the first feature data and the second feature data, respectively, to obtain the amplitude-modulated first feature data and the second feature data;

[0161] The amplitude-modulated first feature data and the second feature data are bitwise multiplied to form input feature data.

[0162] A result output module, which represents the building structure layout design data as a third-order tensor of the structure layout;

[0163] The architectural feature tensor and the feature tensor of the target structural component in the third-order tensor of the structural arrangement are expressed as a design drawing through affine transformation using a visualization method as a result of the architectural structure design for the target structural component.

[0164] Through the architectural structure design system based on the image-atlas multimodal fusion diffusion model provided by the present invention, architectural design drawings and design condition structured data of the architectural design drawings are obtained, relevant architectural space feature maps are extracted, the extracted architectural space feature maps are coupled and encoded through an image-atlas coupling encoder, and the obtained multiple data are entered into the structure layout generation model to obtain layout feature data of the target structural components output by the structure layout generation model; the architectural structure layout design data in the layout feature data is extracted to generate architectural structure design results for the target structural components; the intelligent architectural structure design that can effectively express various conditions for architectural structure design and quickly and reliably complete the architectural structure design can improve the design quality.

[0165] Fig.11 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.11 As shown, the electronic device may include: a processor 1110, a communication interface 1120, a memory 1130 and a communication bus 1140, wherein the processor 1110, the communication interface 1120 and the memory 1130 communicate with each other through the communication bus 1140. The processor 1110 may call the logic instructions in the memory 1130 to execute a building structure design method based on an image-atlas multimodal fusion diffusion model, the method comprising: obtaining a building design drawing and design condition structured data corresponding to the building design drawing;

[0166] Extracting architectural space information feature data based on the architectural design drawing, and extracting architectural space feature graph based on the architectural space information feature data;

[0167] Inputting the architectural space feature map into a preset image-map coupling encoder to generate input first feature data;

[0168] constructing input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data;

[0169] Merging the input first feature data and the input second feature data into input feature data;

[0170] Inputting the input feature data into a pre-acquired structure layout generation model to obtain layout feature data of a target structural component output by the structure layout generation model;

[0171] Extracting architectural structure layout design data from the layout feature data to generate architectural structure design results for the target structural component;

[0172] The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on building component feature sample data and first feature sample data and second feature sample data corresponding to the building component feature sample data.

[0173] In addition, the logic instructions in the above-mentioned memory 1130 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0174] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute a building structure design method based on an image-atlas multimodal fusion diffusion model provided by the above methods, the method comprising: obtaining a building design drawing and design condition structured data corresponding to the building design drawing;

[0175] Extracting architectural space information feature data based on the architectural design drawing, and extracting architectural space feature graph based on the architectural space information feature data;

[0176] Inputting the architectural space feature map into a preset image-map coupling encoder to generate input first feature data;

[0177] constructing input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data;

[0178] Merging the input first feature data and the input second feature data into input feature data;

[0179] Inputting the input feature data into a pre-acquired structure layout generation model to obtain layout feature data of a target structural component output by the structure layout generation model;

[0180] Extracting architectural structure layout design data from the layout feature data to generate architectural structure design results for the target structural component;

[0181] The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on building component feature sample data and first feature sample data and second feature sample data corresponding to the building component feature sample data.

[0182] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute a building structure design method based on an image-atlas multimodal fusion diffusion model provided by the above methods, the method comprising: obtaining a building design drawing and design condition structured data corresponding to the building design drawing;

[0183] Extracting architectural space information feature data based on the architectural design drawing, and extracting architectural space feature graph based on the architectural space information feature data;

[0184] Inputting the architectural space feature map into a preset image-map coupling encoder to generate input first feature data;

[0185] constructing input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data;

[0186] Merging the input first feature data and the input second feature data into input feature data;

[0187] Inputting the input feature data into a pre-acquired structure layout generation model to obtain layout feature data of a target structural component output by the structure layout generation model;

[0188] Extracting architectural structure layout design data from the layout feature data to generate architectural structure design results for the target structural component;

[0189] The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on building component feature sample data and first feature sample data and second feature sample data corresponding to the building component feature sample data.

[0190] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0191] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0192] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A building structure design method based on image-atlas multimodal fusion diffusion model, characterized in that: include: Acquire an architectural design drawing and design condition structured data corresponding to the architectural design drawing; Extracting architectural space information feature data based on the architectural design drawing, and extracting architectural space feature graph based on the architectural space information feature data; Inputting the architectural space feature map into a preset image-map coupling encoder to generate input first feature data; constructing input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data; Merging the input first feature data and the input second feature data into input feature data; Inputting the input feature data into a pre-acquired structure layout generation model to obtain layout feature data of a target structural component output by the structure layout generation model; Extracting architectural structure layout design data from the layout feature data to generate architectural structure design results for the target structural component; The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on the building component feature sample data and the first feature sample data and the second feature sample data corresponding to the building component feature sample data; The step of extracting architectural space information feature data based on the architectural design drawing and extracting architectural space feature maps based on the architectural space information feature data specifically includes: Extracting architectural space information features from the architectural design drawing, wherein the architectural space information features include the location, size, and type of the architectural space; According to the building space information characteristics, converting the building space information into a building space characteristic map; The step of constructing the input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data specifically includes: Extracting first feature data and second feature data from the architectural design drawing, and extracting design condition feature data from the design condition structured data, wherein the first feature data is feature data of all building components in the architectural design drawing, and the second feature data is feature data of candidate arrangement positions of the target structural components in the architectural design drawing; Characterizing the first feature data, the second feature data, and the design condition feature data as feature tensors respectively; The feature tensor of the first feature data and the feature tensor of the design condition feature data are merged to obtain a building feature tensor; Based on the feature tensor of the second feature data, the corresponding position of the building feature tensor is set to Gaussian noise to obtain an input tensor, and the input tensor is used as the input second feature data; The input first feature data and the input second feature data are merged into input feature data, specifically comprising: Multiplying the input first characteristic data and the input second characteristic data by the preset weights of the first characteristic data and the second characteristic data respectively to obtain the amplitude modulated first characteristic data and the second characteristic data; Multiplying the amplitude modulated first feature data and the second feature data bit by bit to form input feature data; The step of extracting the architectural structure layout design data from the layout feature data and generating the architectural structure design result for the target structural component specifically includes: Characterizing the building structure layout design data as a third-order structural layout tensor; The architectural feature tensor and the feature tensor of the target structural component in the third-order tensor of the structural arrangement are expressed as a design drawing through affine transformation using a visualization method as a result of the architectural structure design for the target structural component.

2. The architectural structure design method based on the image-atlas multimodal fusion diffusion model according to claim 1 is characterized in that: The training process of the image-atlas coupled encoder is: Converting the building space information feature data into a building space information feature tensor; Combining the building space information feature tensor and the building space information atlas corresponding to the building space information feature data to form a building space information image-atlas dataset; Using the architectural space information image-atlas dataset, a contrastive learning method is used to train a neural network; The trained neural network is used as an image-atlas coupled encoder.

3. The architectural structure design method based on the image-atlas multimodal fusion diffusion model according to claim 2 is characterized in that: Using the architectural space information image-atlas dataset, a contrastive learning method is used to train a neural network, specifically including: In the image-atlas dataset, the building space information feature tensor and the building space information atlas corresponding to the building space information feature data are taken as positive samples, and the building space information feature tensor and the building space information atlas not corresponding to the building space information feature data are taken as negative samples; Inputting the positive sample and the negative sample into a pre-initialized neural network, and optimizing the neural network weights using a contrast loss function; When the contrast loss function no longer decreases, the neural network at this time is regarded as the trained neural network.

4. A building structure design system based on image-atlas multimodal fusion diffusion model, characterized in that: The system comprises: A data acquisition module, used to acquire a building design drawing and design condition structured data corresponding to the building design drawing; A data extraction module, used to extract architectural space information feature data based on the architectural design drawing, and to extract architectural space feature maps based on the architectural space information feature data; An input first feature data generation module is used to input the architectural space feature map into a preset image-map coupling encoder to generate input first feature data; An input second characteristic data generating module is used to construct input second characteristic data based on the building component characteristic data extracted from the building design drawing and the design condition characteristic data extracted from the design condition structured data; A fusion module, used for fusing the input first feature data and the input second feature data into input feature data; A layout feature data generation module, used for inputting the input feature data into a pre-acquired structure layout generation model to obtain layout feature data of a target structural component output by the structure layout generation model; A result output module, used to extract the architectural structure layout design data in the layout feature data, and generate the architectural structure design result for the target structural component; The pre-acquired structural arrangement generation model is a diffusion model obtained by training a neural network model using a diffusion method based on the building component feature sample data and the first feature sample data and the second feature sample data corresponding to the building component feature sample data; The step of extracting architectural space information feature data based on the architectural design drawing and extracting architectural space feature maps based on the architectural space information feature data specifically includes: Extracting architectural space information features from the architectural design drawing, wherein the architectural space information features include the location, size, and type of the architectural space; According to the building space information characteristics, converting the building space information into a building space characteristic map; The step of constructing the input second feature data based on the building component feature data extracted from the building design drawing and the design condition feature data extracted from the design condition structured data specifically includes: Extracting first feature data and second feature data from the architectural design drawing, and extracting design condition feature data from the design condition structured data, wherein the first feature data is feature data of all building components in the architectural design drawing, and the second feature data is feature data of candidate arrangement positions of the target structural components in the architectural design drawing; Characterizing the first feature data, the second feature data, and the design condition feature data as feature tensors respectively; The feature tensor of the first feature data and the feature tensor of the design condition feature data are merged to obtain a building feature tensor; Based on the feature tensor of the second feature data, the corresponding position of the building feature tensor is set to Gaussian noise to obtain an input tensor, and the input tensor is used as the input second feature data; The input first feature data and the input second feature data are merged into input feature data, specifically comprising: Multiplying the input first characteristic data and the input second characteristic data by the preset weights of the first characteristic data and the second characteristic data respectively to obtain the amplitude modulated first characteristic data and the second characteristic data; Multiplying the amplitude modulated first feature data and the second feature data bit by bit to form input feature data; The step of extracting the architectural structure layout design data from the layout feature data and generating the architectural structure design result for the target structural component specifically includes: Characterizing the building structure layout design data as a third-order structural layout tensor; The architectural feature tensor and the feature tensor of the target structural component in the third-order tensor of the structural arrangement are expressed as a design drawing through affine transformation using a visualization method as a result of the architectural structure design for the target structural component.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the architectural structure design method based on the image-atlas multimodal fusion diffusion model as described in any one of claims 1 to 3 is implemented.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for designing a building structure based on an image-atlas multimodal fusion diffusion model as described in any one of claims 1 to 3 is implemented.