Structural model generation design method, device and equipment based on building layout
Through the generative design method of structural models based on architectural layout, architectural design plans are automatically generated, which solves the problems of low efficiency and many defects of traditional manual design methods, and achieves efficient and reliable architectural design solutions.
Patent Information
- Application Number
- CN202410773807.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-06-17
AI Technical Summary
The traditional artificial architectural design method has a long design cycle, low efficiency, and is prone to design defects, making it difficult to implement the design plan.
Adopting a structural model generative design method based on architectural layout, by obtaining building area parameters and layout types, building features and layout parameters are generated, and neural network models are used for verification and optimization to automatically generate architectural design plans to ensure the safety of the design plans. and feasibility.
It shortens the architectural design cycle, improves design efficiency, reduces the probability of defects in the design plan, and realizes the automatic generation and optimization of the architectural design plan.
Smart Images

Figure CN118410716B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building design, and in particular to a structural model generation design method, device and equipment based on building layout. Background Art
[0002] Graphic design and architectural model are indispensable projects in park design and architectural design. Graphic design and architectural model reflect the designer's overall planning of the park and architectural space, and can intuitively display the design intention for reference and execution by construction personnel.
[0003] However, in the process of graphic design and architectural model design, designers are often required to make an overall layout of the park or building based on their design experience, and to optimize and refine the local details, which requires a lot of professional designers and a long time. During the design process, it is necessary to consider the building distribution in the park, the load requirements of the building, lighting, orientation and volume ratio, and many other requirements. A qualified architectural design plan often takes several months or even one or two years to complete. Traditional manual design methods have long design cycles and low efficiency, and the architectural design plan has various design defects, which makes it difficult to implement the design plan. Summary of the invention
[0004] The present invention provides a structural model generation design method, device and equipment based on building layout, which can realize automatic generation of building design schemes, improve the design efficiency of building design schemes, and reduce the probability of defects in design schemes.
[0005] In a first aspect, the present invention provides a structural model generation design method based on building layout, the method comprising: obtaining regional parameters of a building to be designed and a layout type of the building to be designed; the layout type comprises one of the following: lattice type, enclosure type, determinant type, and mixed type; based on the layout type and the regional parameters, generating architectural features of the building to be designed, the architectural features are used to characterize feature parameters related to the layout type; based on the architectural features and a first structural model, generating architectural layout parameters of the building to be designed; the first structural model is obtained by training based on the functional distribution of buildings of various layout types; based on the architectural layout parameters and a second structural model, obtaining an architectural design scheme of the building to be designed; the second structural model is used to verify and calculate stress parameters of structural types in each building.
[0006] In a possible implementation, the building features include one or more of the following: building type, building orientation, evacuation passage width, evacuation time, light intensity, light time, light distribution, window area ratio, air flow, and indoor and outdoor pressure difference. The regional parameters include the regional area, size, and elevation of each sub-area in the area to be designed; based on the building layout type and the regional parameters, the building features of the area to be designed are generated, including: based on the building layout type, querying the database to determine the building features related to the building layout type; based on the regional area, size, and elevation of each sub-area in the area to be designed, calculating the building features related to the building layout type.
[0007] In a possible implementation, based on the building features and the first structural model, the building layout parameters of the area to be designed are generated, including: generating a building feature vector based on the building features, the building layout type and the area parameters; inputting the building feature vector into the first structural model and outputting the initial layout parameters of the area to be designed; performing feature verification based on the initial layout parameters to obtain verification results; the verification results include verification pass or verification fail, and the initial layout parameters that do not meet the verification conditions when the verification fails; if the verification result is verification fail, then screening the layout parameters that have passed the verification in the initial layout parameters, regenerating the building feature vector based on the screened layout parameters and the building feature vector, and regenerating the initial layout parameters based on the regenerated building feature vector and the first structural model; re-verifying based on the regenerated initial layout parameters until each layout parameter in the initial layout parameters passes the verification; if the verification result is verification pass, then determining the initial layout parameters as the building layout parameters.
[0008] In a possible implementation, after feature verification is performed based on the initial layout parameters and verification results are obtained, the method further includes: receiving a first parameter input by a user, where the first parameter is a setting parameter after the user screens and determines the initial layout parameters; regenerating a building feature vector based on the first parameter and the building feature vector; regenerating the initial layout parameters based on the regenerated building feature vector and the first structural model; and re-verifying based on the regenerated initial layout parameters until all layout parameters in the initial layout parameters have passed verification.
[0009] In a possible implementation, before generating the architectural layout parameters of the area to be designed based on the architectural features and the first structural model, it also includes: obtaining architectural cases corresponding to various architectural layout types; the architectural cases include the layout methods of various functions in the building, architectural layout parameters and regional parameters; calculating the architectural features of each architectural case based on the architectural cases corresponding to various architectural layout types; generating an architectural feature vector of each architectural case based on the regional parameters, architectural features and architectural layout parameters of each architectural case; establishing a training sample with the architectural feature vector of each architectural case as input and the architectural layout parameters of each architectural case as output; training a neural network model based on the training samples to obtain an initial model; using the initial model as a teacher model, adopting a teacher-student model training method, performing knowledge distillation, and obtaining a first structural model.
[0010] In a possible implementation, based on the building layout parameters and the second structural model, a building design scheme for the area to be designed is obtained, including: for any building, based on the building layout parameters of the area to be designed, determining the design requirements of the building; based on the design requirements of the building, generating a building feature vector of the building; inputting the building feature vector of the building into the second structural model to obtain the structural parameters of the building, the structural parameters including the main structure type, the number of floors, the area and height of each floor, and the structural type of each floor; based on the structural parameters of the building, performing stress parameter verification to determine whether each floor of the building meets the load requirements; if the building does not meet the load requirements, screening the structural parameters of the building that meet the load requirements; based on the structural parameters of the building that meet the load requirements and the building feature vector, regenerating the building feature vector, and regenerating the structural parameters of the building based on the regenerated building feature vector and the second structural model; based on the regenerated structural parameters, performing stress parameter verification until the structural parameters of the building meet the load requirements; if each building meets the load requirements, generating a building design scheme for the area to be designed based on the structural parameters of each building and the building layout parameters of the area to be designed.
[0011] In a possible implementation, after obtaining the architectural design scheme for the area to be designed based on the building layout parameters and the second structural model, it also includes: calculating the construction cost of the current architectural design scheme; regenerating the architectural design scheme based on the building layout type and regional parameters; calculating the construction cost of the regenerated architectural design scheme; determining the optimal design scheme based on the construction cost of the regenerated architectural design scheme and the construction cost of the current architectural design scheme; if the number of iterations is greater than the set number, exiting the iteration, and outputting the optimal design scheme to the user as the architectural design scheme for the area to be designed; if the number of iterations is less than or equal to the set number, regenerating the architectural design scheme based on the building layout type and regional parameters, comparing the construction costs, and updating the optimal design scheme until the number of iterations is greater than the set number.
[0012] In a possible implementation, if each building meets the load requirements, then based on the structural parameters of each building and the building layout parameters of the area to be designed, before generating the architectural design plan for the area to be designed, it also includes: for any building, receiving a second parameter input by a user, the second parameter being a structural parameter after the user screens and determines the structural parameters of the building; based on the second parameter and the building layout parameters, regenerating the building characteristic vector of the building; based on the regenerated building characteristic vector and the second structural model, regenerating the structural parameters of the building; based on the regenerated structural parameters, performing stress check to determine whether the building meets the load requirements.
[0013] In a second aspect, an embodiment of the present invention provides a structural model generation design device based on building layout, the device comprising a communication module and a processing module, the communication module being used to obtain regional parameters of a building to be designed and a layout type of the building to be designed; the layout type comprising one of the following: lattice type, enclosure type, determinant type, and mixed type; the processing module being used to generate architectural features of the building to be designed based on the layout type and the regional parameters, the architectural features being used to characterize feature parameters related to the layout type; based on the architectural features and a first structural model, generating architectural layout parameters of the building to be designed; the first structural model being obtained by training based on the functional distribution of buildings of various layout types; based on the architectural layout parameters and a second structural model, obtaining an architectural design scheme of the building to be designed; the second structural model being used to verify and calculate stress parameters of structural types in each building.
[0014] In a possible implementation, the building features include one or more of the following: building type, building orientation, evacuation passage width, evacuation time, light intensity, light time, light distribution, window area ratio, air flow and indoor and outdoor pressure difference; the area parameters include the area, size and elevation of each sub-area in the area to be designed; the processing module is specifically used to query the database based on the building layout type to determine the building features related to the building layout type; based on the area, size and elevation of each sub-area in the area to be designed, calculate the building features related to the building layout type.
[0015] In a possible implementation, the processing module is specifically used to generate a building feature vector based on building features, building layout types and regional parameters; input the building feature vector into a first structural model, and output initial layout parameters of the area to be designed; based on the initial layout parameters, perform feature verification to obtain verification results; the verification results include verification pass or verification fail, and initial layout parameters that do not meet verification conditions when the verification fails; if the verification result is verification fail, then screen the layout parameters that have passed the verification in the initial layout parameters, regenerate the building feature vector based on the screened layout parameters and the building feature vector, and regenerate the initial layout parameters based on the regenerated building feature vector and the first structural model; re-verify based on the regenerated initial layout parameters until each layout parameter in the initial layout parameters passes the verification; if the verification result is verification pass, then determine that the initial layout parameters are building layout parameters.
[0016] In a possible implementation, the communication module is further used to receive a first parameter input by a user, where the first parameter is a setting parameter after the user screens and determines the initial layout parameters; the processing module is further used to regenerate the building feature vector based on the first parameter and the building feature vector; regenerate the initial layout parameters based on the regenerated building feature vector and the first structural model; and re-check based on the regenerated initial layout parameters until each layout parameter in the initial layout parameters passes the check.
[0017] In a possible implementation, the communication module is further used to obtain building cases corresponding to various types of building layouts; the building cases include layout methods of various functions in the building, building layout parameters and regional parameters; the processing module is further used to calculate the building features of each building case based on the building cases corresponding to various types of building layouts; generate a building feature vector for each building case based on the regional parameters, building features and building layout parameters of each building case; establish a training sample with the building feature vector of each building case as input and the building layout parameters of each building case as output; train the neural network model based on the training samples to obtain an initial model; use the initial model as a teacher model, adopt a teacher-student model training method, perform knowledge distillation, and obtain a first structural model.
[0018] In a possible implementation, the processing module is specifically used to determine the design requirements of any building based on the building layout parameters of the area to be designed; generate a building feature vector of the building based on the design requirements of the building; input the building feature vector of the building into the second structural model to obtain the structural parameters of the building, the structural parameters including the main structure type, the number of floors, the area and height of each floor, and the structural type of each floor; perform stress parameter verification based on the structural parameters of the building to determine whether each floor of the building meets the load requirements; if the building does not meet the load requirements, screen the structural parameters of the building that meet the load requirements; based on the structural parameters of the building that meet the load requirements and the building feature vector, regenerate the building feature vector, and regenerate the structural parameters of the building based on the regenerated building feature vector and the second structural model; perform stress parameter verification based on the regenerated structural parameters until the structural parameters of the building meet the load requirements; if each building meets the load requirements, generate an architectural design plan for the area to be designed based on the structural parameters of each building and the building layout parameters of the area to be designed.
[0019] In a possible implementation, the processing module is also used to calculate the construction cost of the current architectural design scheme; regenerate the architectural design scheme based on the building layout type and regional parameters; calculate the construction cost of the regenerated architectural design scheme; determine the optimal design scheme based on the construction cost of the regenerated architectural design scheme and the construction cost of the current architectural design scheme; if the number of iterations is greater than the set number, exit the iteration and output the optimal design scheme to the user as the architectural design scheme for the area to be designed; if the number of iterations is less than or equal to the set number, regenerate the architectural design scheme based on the building layout type and regional parameters, compare the construction costs, and update the optimal design scheme until the number of iterations is greater than the set number.
[0020] In a possible implementation, the processing module is also used to receive, for any building, a second parameter input by a user, where the second parameter is a structural parameter determined by the user after screening the structural parameters of the building; regenerate the building characteristic vector of the building based on the second parameter and the building layout parameters; regenerate the structural parameters of the building based on the regenerated building characteristic vector and the second structural model; and perform stress check based on the regenerated structural parameters to determine whether the building meets the load requirements.
[0021] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, the memory storing a computer program, the processor being used to call and run the computer program stored in the memory to execute the steps of the method described in the first aspect and any possible implementation method of the first aspect.
[0022] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein when the computer program is executed by a processor, the steps of the method described in the first aspect and any possible implementation method of the first aspect are implemented.
[0023] The present invention provides a structural model generation design method based on building layout. The present invention generates building features corresponding to the layout type through the building layout type and the regional parameters of the building to be designed, uses the first structural model to generate building layout parameters, determines the distribution of functional areas in the area to be designed, and further uses the second structural model to generate a building design scheme, performs stress parameter verification on the structural form of each building, and ensures the safety of the building design scheme. In this way, the automatic generation of the building design scheme can be achieved, and compared with the traditional manual design method, the design cycle is shortened and the design efficiency of the building design scheme is improved. In addition, during the design process, the building layout calculation and stress parameter verification are performed to ensure the feasibility of the building design scheme and reduce the probability of defects in the design scheme. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0025] Figure 1 It is a flow chart of a structural model generation design method based on building layout provided by an embodiment of the present invention;
[0026] Figure 2 It is a structural schematic diagram of a structural model generation design device based on building layout provided by an embodiment of the present invention;
[0027] Figure 3 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0029] In the description of the present invention, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.
[0030] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0031] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0032] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following will be described through specific embodiments in conjunction with the accompanying drawings of the present invention.
[0033] like Figure 1 As shown, an embodiment of the present invention provides a structural model generation design method based on building layout. The method includes steps S101-S105.
[0034] S101. Acquire regional parameters of a building to be designed and a layout type of the building to be designed.
[0035] In the embodiment of the present application, the layout type includes one of the following: dot matrix, enclosure, determinant, and mixed.
[0036] In some embodiments, the region parameters include the region area, size and elevation of each sub-region in the region to be designed. Exemplarily, the size in the region parameters and the elevation of each sub-region in the region to be designed can be represented by three-dimensional coordinates.
[0037] S102: Generate architectural features of the building to be designed based on the layout type and the area parameters.
[0038] In the embodiment of the present application, the architectural features are used to characterize the characteristic parameters related to the layout type.
[0039] In some embodiments, the building characteristics include one or more of the following: building type, building orientation, evacuation passage width, evacuation time, light intensity, light time, light distribution, window area ratio, air flow, and indoor and outdoor pressure difference.
[0040] As a possible implementation manner, step S102 may be specifically implemented as steps S1021 - S1022 .
[0041] S1021. Based on the building layout type, query the database to determine the building features related to the building layout type.
[0042] Exemplarily, different types of building layouts correspond to different building features. The database stores the building features corresponding to each type of building layout.
[0043] S1022. Calculate building features related to the building layout type based on the area, size, and elevation of each sub-area in the area to be designed.
[0044] For example, different types of building layouts correspond to different building features. For example, the building type and building orientation corresponding to the dot-matrix building layout are different from the building type and building orientation corresponding to the enclosed building layout. The building features corresponding to different types of building layouts have different value ranges.
[0045] The embodiment of the present invention can adapt to the layout type to be designed based on the area, size and elevation of each sub-area in the area to be designed, and calculate the building features corresponding to the area to be designed and the layout type.
[0046] S103: Generate architectural layout parameters of the area to be designed based on the architectural features and the first structural model.
[0047] In the embodiment of the present application, the first structural model is obtained by training based on the functional distribution in buildings of various layout types.
[0048] In some embodiments, the building layout parameters include the distribution of various functional areas in the building. Exemplarily, the building layout parameters include the location coordinates, land area, number of floors, various functional areas and the distribution of various functional areas of the building.
[0049] Exemplarily, a building may include one or more functional areas such as residences, evacuation passages, offices, elevator rooms, stairwells, pipe shafts, electrical shafts, and fire smoke exhaust systems.
[0050] As a possible implementation manner, step S103 may be specifically implemented as steps S1031 - S1035 .
[0051] S1031. Generate a building feature vector based on building features, building layout type and area parameters.
[0052] In some embodiments, the building feature vector includes building features, building layout type, area parameters, and building arrangement parameters.
[0053] Exemplarily, before the first structural model is input for the first time, the embodiment of the present invention may combine the building features, building layout types and regional parameters to form a building feature vector, and the corresponding positions of the corresponding building layout parameters are set to zero.
[0054] S1032: Input the building feature vector into the first structural model, and output the initial layout parameters of the area to be designed.
[0055] S1033. Perform feature verification based on the initial layout parameters to obtain verification results.
[0056] In some embodiments, the verification result includes verification passed or verification failed, and initial arrangement parameters that do not meet verification conditions when verification failed.
[0057] Exemplarily, an embodiment of the present invention can calculate building characteristics such as building type, building density, building distance, building orientation, land area, floor area ratio, greening rate and sunshine rate in the area to be designed based on the initial layout parameters, and compare them with the threshold range of each building characteristic to determine whether each layout parameter passes the verification.
[0058] S1034. If the verification result is that the verification fails, the layout parameters that have passed the verification in the initial layout parameters are screened, and the building feature vector is regenerated based on the screened layout parameters and the building feature vector. The initial layout parameters are regenerated based on the regenerated building feature vector and the first structural model; and re-verification is performed based on the regenerated initial layout parameters until each layout parameter in the initial layout parameters passes the verification.
[0059] Exemplarily, the embodiments of the present invention can update and iteratively calculate all layout parameters based on layout parameters that have passed verification, meet verification requirements, and improve the accuracy of building layout parameters.
[0060] S1035. If the verification result is passed, the initial layout parameters are determined to be building layout parameters.
[0061] S104: Obtaining a building design scheme for the area to be designed based on the building layout parameters and the second structural model.
[0062] In the embodiment of the present application, the second structural model is used to verify and calculate the stress parameters of the structural types in each building.
[0063] Exemplarily, the second structural model is obtained by training a neural network using training samples consisting of building feature vectors of various types of buildings as input vectors and structural parameters of various types of buildings as output vectors.
[0064] Among them, the building feature vector includes data such as the building type, occupant density in the building, number of floors, building orientation and sunshine rate.
[0065] Exemplarily, an embodiment of the present invention can establish training samples using the building feature vectors of various types of buildings as input vectors and the structural parameters of various types of buildings as output vectors, and train a neural network model based on the established training samples to obtain a second structural model.
[0066] During the training process, the present invention can perform neural network training based on training samples to obtain a structural parameter test model; then, the structural parameter test model is used as a teacher model, and a new neural network model with the same model parameters as the structural parameter test model is used as a student model, and knowledge distillation is performed on the student model to simplify the complexity of the student model. During the distillation process, the test accuracy of the student model is ensured, and the student model after distillation is obtained as the second structural model. On the basis of ensuring the test accuracy, the test speed of the model is improved.
[0067] As a possible implementation manner, step S104 may be specifically implemented as steps S1041 - S1045 .
[0068] S1041. For any building, determine the design requirements of the building based on the building layout parameters of the area to be designed.
[0069] S1042. Generate a building feature vector for the building based on the design requirements of the building.
[0070] S1043: Input the building characteristic vector of the building into the second structural model to obtain the structural parameters of the building.
[0071] In some embodiments, the structural parameters include the main structure type, the number of floors, the area and height of each floor, and the structural type of each floor.
[0072] S1044. Based on the structural parameters of the building, stress parameters are checked to determine whether each floor of the building meets the load requirements.
[0073] Exemplarily, the embodiment of the present invention can calculate the stress at key locations of each floor in the building, and compare it with the stress threshold to determine whether the building meets the load requirements.
[0074] S1045. If the building does not meet the load requirements, then select the structural parameters of the building that meet the load requirements; regenerate the building characteristic vector based on the structural parameters of the building that meet the load requirements and the building characteristic vector; regenerate the structural parameters of the building based on the regenerated building characteristic vector and the second structural model; and perform stress parameter verification based on the regenerated structural parameters until the structural parameters of the building meet the load requirements.
[0075] S1046. If each building meets the load requirements, a building design scheme for the area to be designed is generated based on the structural parameters of each building and the building layout parameters of the area to be designed.
[0076] The present invention provides a structural model generation design method based on building layout, which generates building features corresponding to the layout type through the building layout type and the regional parameters of the building to be designed, adopts the first structural model to generate building layout parameters, determines the distribution of functional areas in the area to be designed, further adopts the second structural model to generate a building design scheme, performs stress parameter verification on the structural form of each building, and ensures the safety of the building design scheme, so that the automatic generation of the building design scheme can be realized, and compared with the traditional manual design method, the design cycle is shortened and the design efficiency of the building design scheme is improved. In addition, during the design process, the building layout calculation and stress parameter verification are performed to ensure the feasibility of the building design scheme and reduce the probability of defects in the design scheme.
[0077] Optionally, the structural model generative design method based on building layout provided in the embodiment of the present invention further includes steps S201-S204 after step S1033.
[0078] S201: Receive a first parameter input by a user.
[0079] In some embodiments, the first parameter is a setting parameter determined by a user after screening the initial arrangement parameters.
[0080] S202: Regenerate the building feature vector based on the first parameter and the building feature vector.
[0081] S203: regenerate initial layout parameters based on the regenerated building feature vector and the first structural model.
[0082] S204: Recheck based on the regenerated initial layout parameters until all layout parameters in the initial layout parameters pass the check.
[0083] In this way, the embodiment of the present invention can receive the user's adjustment of the building layout parameters during the building layout parameter generation process, and regenerate based on the adjusted layout parameters, so that the building layout parameters can better meet the user's needs and actual conditions, thereby improving the applicability and feasibility of the building design solution.
[0084] Optionally, the structural model generative design method based on building layout provided in the embodiment of the present invention further includes steps S301-S306 before step S103.
[0085] S301. Obtain building cases corresponding to various building layout types.
[0086] In some embodiments, the building case includes the layout of various functions in the building, building layout parameters and area parameters.
[0087] S302: Calculate architectural features of each architectural case based on architectural cases corresponding to various architectural layout types.
[0088] S303: Generate a building feature vector for each building case based on the regional parameters, building features, and building layout parameters of each building case.
[0089] S304: Establish training samples by taking the architectural feature vectors of each architectural case as input and the architectural layout parameters of each architectural case as output.
[0090] S305: Based on the training samples, the neural network model is trained to obtain an initial model.
[0091] S306: Using the initial model as the teacher model, adopting the teacher-student model training method, performing knowledge distillation, and obtaining the first structural model.
[0092] In this way, the embodiment of the present invention can summarize and train various types of building cases to obtain a first structural model, so that the generated building structure model is more in line with the actual situation of the construction project and meets user needs.
[0093] Optionally, the structural model generative design method based on building layout provided in the embodiment of the present invention further includes steps S401-S406 after step S104.
[0094] S401. Calculate the construction cost of the current building design solution.
[0095] S402: Regenerate a building design plan based on the building layout type and the regional parameters.
[0096] S403: Calculate the construction cost of the regenerated architectural design solution.
[0097] S404: Determine an optimal design solution based on the construction cost of the regenerated building design solution and the construction cost of the current building design solution.
[0098] S405: If the number of iterations is greater than the set number, the iteration is exited, and the optimal design solution is output to the user as the architectural design solution for the area to be designed.
[0099] S406. If the number of iterations is less than or equal to the set number, regenerate the building design plan based on the building layout type and regional parameters, compare the construction costs, and update the optimal design plan until the number of iterations is greater than the set number.
[0100] In this way, after generating the architectural design plan, the embodiment of the present invention regenerates the architectural design plan in combination with the construction cost, selects the design plan with the lowest construction cost as the optimal design plan, and reduces the construction cost of the architectural design plan on the basis of improving the architectural design efficiency and ensuring the safety and feasibility of the architectural design plan.
[0101] Optionally, the structural model generative design method based on building layout provided in the embodiment of the present invention further includes steps S501-S504 before step S1046.
[0102] S501. For any building, receive a second parameter input by a user.
[0103] In some embodiments, the second parameter is a structural parameter determined by a user after screening the structural parameters of the building.
[0104] S502: Regenerate the building feature vector of the building based on the second parameter and the building layout parameter.
[0105] S503: Regenerate structural parameters of the building based on the regenerated building feature vector and the second structural model.
[0106] S504: Based on the regenerated structural parameters, perform stress check to determine whether the building meets the load requirements.
[0107] In this way, the embodiment of the present invention can receive user adjustments and suggestions during the process of generating a building design plan, and regenerate the building design plan based on the user's adjustments and suggestions, so that the building layout parameters can better meet user needs and actual conditions, thereby improving the applicability and feasibility of the building design plan.
[0108] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0109] The following is an embodiment of the device of the present invention. For details not described in detail therein, reference may be made to the corresponding method embodiment described above.
[0110] Figure 2 The schematic diagram of the structure of a structure model generation design device based on building layout provided by an embodiment of the present invention is shown. The design device 600 includes a communication module 601 and a processing module 602 .
[0111] The communication module 601 is used to obtain the regional parameters of the building to be designed and the layout type of the building to be designed; the layout type includes one of the following: dot matrix, enclosure, determinant, and mixed.
[0112] Processing module 602 is used to generate architectural features of the building to be designed based on the layout type and the area parameters, wherein the architectural features are used to characterize characteristic parameters related to the layout type; generate architectural layout parameters of the area to be designed based on the architectural features and a first structural model; the first structural model is trained based on the functional distribution of buildings of various layout types; obtain an architectural design plan for the area to be designed based on the architectural layout parameters and a second structural model; the second structural model is used to verify and calculate stress parameters of structural types in each building.
[0113] In a possible implementation, the building characteristics include one or more of the following: building type, building orientation, evacuation passage width, evacuation time, light intensity, light time, light distribution, window area ratio, air flow and indoor and outdoor pressure difference; the area parameters include area, size and elevation of each sub-area in the area to be designed; the processing module 602 is specifically used to query the database based on the building layout type to determine the building characteristics related to the building layout type; based on the area, size and elevation of each sub-area in the area to be designed, calculate the building characteristics related to the building layout type.
[0114] In a possible implementation, the processing module 602 is specifically used to generate a building feature vector based on building features, building layout types and area parameters; input the building feature vector into the first structural model, and output the initial layout parameters of the area to be designed; based on the initial layout parameters, perform feature verification to obtain verification results; the verification results include verification pass or verification fail, and the initial layout parameters that do not meet the verification conditions when the verification fails; if the verification result is verification fail, then filter the layout parameters that have passed the verification in the initial layout parameters, regenerate the building feature vector based on the filtered layout parameters and the building feature vector, and regenerate the initial layout parameters based on the regenerated building feature vector and the first structural model; re-verify based on the regenerated initial layout parameters until each layout parameter in the initial layout parameters passes the verification; if the verification result is verification pass, then determine that the initial layout parameters are building layout parameters.
[0115] In a possible implementation, the communication module 601 is further used to receive a first parameter input by a user, where the first parameter is a setting parameter after the user screens and determines the initial layout parameters; the processing module 602 is further used to regenerate the building feature vector based on the first parameter and the building feature vector; regenerate the initial layout parameters based on the regenerated building feature vector and the first structural model; and recheck based on the regenerated initial layout parameters until each layout parameter in the initial layout parameters passes the check.
[0116] In a possible implementation, the communication module 601 is also used to obtain building cases corresponding to various types of building layouts; the building cases include the layout methods of various functions in the building, building layout parameters and regional parameters; the processing module 602 is also used to calculate the building features of each building case based on the building cases corresponding to various types of building layouts; generate a building feature vector for each building case based on the regional parameters, building features and building layout parameters of each building case; establish a training sample with the building feature vector of each building case as input and the building layout parameters of each building case as output; train the neural network model based on the training samples to obtain an initial model; use the initial model as a teacher model, adopt a teacher-student model training method, perform knowledge distillation, and obtain a first structural model.
[0117] In a possible implementation, the processing module 602 is specifically used to determine the design requirements of any building based on the building layout parameters of the area to be designed; generate a building feature vector of the building based on the design requirements of the building; input the building feature vector of the building into the second structural model to obtain the structural parameters of the building, the structural parameters including the main structure type, the number of floors, the area and height of each floor, and the structural type of each floor; perform stress parameter verification based on the structural parameters of the building to determine whether each floor of the building meets the load requirements; if the building does not meet the load requirements, screen the structural parameters of the building that meet the load requirements; regenerate the building feature vector based on the structural parameters of the building that meet the load requirements and the building feature vector, and regenerate the structural parameters of the building based on the regenerated building feature vector and the second structural model; perform stress parameter verification based on the regenerated structural parameters until the structural parameters of the building meet the load requirements; if each building meets the load requirements, generate a building design plan for the area to be designed based on the structural parameters of each building and the building layout parameters of the area to be designed.
[0118] In one possible implementation, processing module 602 is also used to calculate the construction cost of the current architectural design scheme; regenerate the architectural design scheme based on the building layout type and regional parameters; calculate the construction cost of the regenerated architectural design scheme; determine the optimal design scheme based on the construction cost of the regenerated architectural design scheme and the construction cost of the current architectural design scheme; if the number of iterations is greater than the set number, exit the iteration and output the optimal design scheme to the user as the architectural design scheme for the area to be designed; if the number of iterations is less than or equal to the set number, regenerate the architectural design scheme based on the building layout type and regional parameters, compare the construction costs, and update the optimal design scheme until the number of iterations is greater than the set number.
[0119] In a possible implementation, the processing module 602 is also used to receive, for any building, a second parameter input by a user, where the second parameter is a structural parameter determined by the user after screening the structural parameters of the building; regenerate the building feature vector of the building based on the second parameter and the building layout parameters; regenerate the structural parameters of the building based on the regenerated building feature vector and the second structural model; and perform stress check based on the regenerated structural parameters to determine whether the building meets the load requirements.
[0120] Figure 3 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 3As shown, the electronic device 700 of this embodiment includes: a processor 701, a memory 702, and a computer program 703 stored in the memory 702 and executable on the processor 701. When the processor 701 executes the computer program 703, the steps in the above-mentioned method embodiments are implemented, for example Figure 1 Alternatively, when the processor 701 executes the computer program 703, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example, Figure 2 The functions of the communication module 601 and the processing module 602 are shown.
[0121] Exemplarily, the computer program 703 may be divided into one or more modules / units, which are stored in the memory 702 and executed by the processor 701 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments that can implement specific functions, and the instruction segments are used to describe the execution process of the computer program 703 in the electronic device 700. For example, the computer program 703 may be divided into Figure 2 A communication module 601 and a processing module 602 are shown.
[0122] The processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0123] The memory 702 may be an internal storage unit of the electronic device 700, such as a hard disk or memory of the electronic device 700. The memory 702 may also be an external storage device of the electronic device 700, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 700. Further, the memory 702 may also include both an internal storage unit of the electronic device 700 and an external storage device. The memory 702 is used to store the computer program and other programs and data required by the terminal. The memory 702 may also be used to temporarily store data that has been output or is to be output.
[0124] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0125] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0126] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0127] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0130] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium.
[0131] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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, and should all be included in the protection scope of the present invention.
Claims
1. A structural model generation design method based on building layout, characterized in that: include: Obtaining regional parameters of a building to be designed and a layout type of the building to be designed; the layout type includes one of the following: dot matrix, enclosure, determinant, and mixed; generating architectural features of the building to be designed based on the layout type and the area parameters, wherein the architectural features are used to represent characteristic parameters related to the layout type; Generate architectural layout parameters of the building to be designed based on the architectural features and a first structural model, wherein the first structural model is trained based on functional distribution within buildings of various layout types; Obtaining an architectural design scheme for the building to be designed based on the building layout parameters and the second structural model; Obtaining an architectural design scheme for a building to be designed based on the building layout parameters and the second structural model includes: for any building, determining design requirements for the building based on the building layout parameters of the building to be designed; generating a building feature vector for the building based on the design requirements of the building; inputting the building feature vector of the building into the second structural model to obtain structural parameters of the building, the structural parameters including the main structure type, the number of floors, the area and height of each floor, and the structural type of each floor; performing stress parameter verification based on the structural parameters of the building to determine whether each floor of the building meets load requirements; if the building does not meet the load requirements, screening structural parameters of the building that meet the load requirements; regenerating a building feature vector based on the structural parameters of the building that meet the load requirements and the building feature vector, and regenerating the structural parameters of the building based on the regenerated building feature vector and the second structural model; performing stress parameter verification based on the regenerated structural parameters until all structural parameters of the building meet the load requirements; if each building meets the load requirements, generating an architectural design scheme for the building to be designed based on the structural parameters of each building and the architectural layout parameters of the building to be designed.
2. The structural model generation design method based on building layout according to claim 1 is characterized in that: The building characteristics include one or more of the following: building type, building orientation, evacuation route width, evacuation time, light intensity, light duration, light distribution, window area ratio, air flow, and indoor-outdoor pressure difference; The regional parameters include the area, size and elevation of each sub-area within the building to be designed; The generating of architectural features of the building to be designed based on the layout type and the area parameters includes: Based on the layout type, querying a database to determine building features associated with the layout type; Based on the area and size of the region and the elevation of each sub-region within the building to be designed, building features related to the layout type are calculated.
3. The structural model generation design method based on building layout according to claim 1 is characterized in that: Generating architectural layout parameters of the building to be designed based on the architectural features and the first structural model includes: generating a building feature vector based on the building features, layout type, and area parameters; Inputting the building feature vector into the first structural model, and outputting the initial layout parameters of the building to be designed; Based on the initial layout parameters, feature verification is performed to obtain verification results; the verification results include verification pass or verification fail, and the initial layout parameters that do not meet the verification conditions when the verification fails; If the verification result is a verification failure, screening the verified layout parameters in the initial layout parameters, regenerating the building feature vector based on the screened layout parameters and the building feature vector, and regenerating the initial layout parameters based on the regenerated building feature vector and the first structural model; re-calibrating based on the regenerated initial layout parameters until each layout parameter in the initial layout parameters passes the verification; If the verification result is that the verification is passed, the initial layout parameters are determined to be the building layout parameters.
4. The structural model generation design method based on building layout according to claim 3 is characterized in that: After performing feature verification based on the initial layout parameters and obtaining verification results, the method further includes: receiving a first parameter input by a user, where the first parameter is a setting parameter determined by the user after screening the initial arrangement parameter; regenerating a building feature vector based on the first parameter and the building feature vector; regenerating initial layout parameters based on the regenerated building feature vector and the first structural model; Recalibration is performed based on the regenerated initial layout parameters until each layout parameter in the initial layout parameters passes the calibration.
5. The structural model generation design method based on building layout according to claim 4 is characterized in that: Before generating the architectural layout parameters of the building to be designed based on the architectural features and the first structural model, the method further includes: Obtaining building cases corresponding to various layout types; the building cases include layout methods of various functions within the building, building layout parameters, and area parameters; Calculating architectural features of each building case based on the building cases corresponding to the various layout types; Generate a building feature vector for each building case based on the regional parameters, building features, and building layout parameters of each building case; The building feature vectors of each building case are used as input and the building layout parameters of each building case are used as output to establish training samples; Based on the training samples, the neural network model is trained to obtain an initial model; The initial model is used as the teacher model, and a teacher-student model training method is adopted to perform knowledge distillation to obtain the first structural model.
6. The structural model generation design method based on building layout according to claim 1 is characterized in that: After obtaining the architectural design scheme of the building to be designed based on the architectural layout parameters and the second structural model, the method further includes: Calculate the construction cost of the current building design; regenerating a building design plan based on the layout type and the area parameters; Calculate the construction cost of the regenerated building design; Determining an optimal design solution based on the construction cost of the regenerated building design solution and the construction cost of the current building design solution; If the number of iterations is greater than the set number, the iteration is exited and the optimal design scheme is output to the user as the architectural design scheme of the building to be designed; If the number of iterations is less than or equal to the set number, the building design plan is regenerated based on the layout type and the area parameters, the construction cost is compared, and the optimal design plan is updated until the number of iterations is greater than the set number.
7. The structural model generation design method based on building layout according to claim 1 is characterized in that: If each building meets the load requirements, before generating an architectural design scheme for the building to be designed based on the structural parameters of each building and the architectural layout parameters of the building to be designed, the method further includes: For any building, receiving a second parameter input by a user, where the second parameter is a structural parameter of the building determined by the user after screening; Regenerate the building feature vector of the building based on the second parameter and the building layout parameter; Regenerate structural parameters of the building based on the regenerated building feature vector and the second structural model; Based on the regenerated structural parameters, a stress check is performed to determine whether the building meets the load requirements.
8. A structural model generation design device based on building layout, characterized in that: include: A communication module is used to obtain the regional parameters of the building to be designed and the layout type of the building to be designed; the layout type includes one of the following: dot matrix, enclosure, matrix, and mixed; a processing module configured to generate architectural features of the building to be designed based on the layout type and the regional parameters, the architectural features being used to represent characteristic parameters related to the layout type; generate architectural layout parameters of the building to be designed based on the architectural features and a first structural model, the first structural model being trained based on functional distribution within buildings of various layout types; and obtain an architectural design scheme for the building to be designed based on the architectural layout parameters and the second structural model; The processing module is specifically configured to determine, for any building, the design requirements of the building based on the architectural layout parameters of the building to be designed; generate a building feature vector of the building based on the design requirements of the building; input the building feature vector of the building into the second structural model to obtain the structural parameters of the building, wherein the structural parameters include the main structure type, the number of floors, the area and height of each floor, and the structural type of each floor; perform stress parameter verification based on the structural parameters of the building to determine whether each floor of the building meets the load requirements; if the building does not meet the load requirements, screen the structural parameters of the building that meet the load requirements; regenerate the building feature vector based on the structural parameters of the building that meet the load requirements and the building feature vector, and regenerate the structural parameters of the building based on the regenerated building feature vector and the second structural model; perform stress parameter verification based on the regenerated structural parameters until the structural parameters of the building all meet the load requirements; if each building meets the load requirements, generate an architectural design scheme for the building to be designed based on the structural parameters of each building and the architectural layout parameters of the building to be designed.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor is configured to execute the steps of the method according to any one of claims 1 to 7 when calling and running the computer program stored in the memory.
