Building modular combination generation method and system based on three-dimensional analysis and medium
Through the building modular combination generation method based on three-dimensional analysis, multiple spatial units and functional modules are generated and multi-objective optimization is performed, which solves the problem of low design quality in traditional design methods and realizes efficient and multi-dimensional three-dimensional spatial layout optimization.
Patent Information
- Application Number
- CN202510384655.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-11-01
- Filing Date
- 2025-03-28
- Publication Date
- 2025-07-25
AI Technical Summary
Traditional architectural space design methods are difficult to generate high-quality multi-dimensional design solutions in a short time, and existing computer-aided design software lacks intelligent three-dimensional layout evaluation functions.
The modular combination generation method of building based on three-dimensional analysis, by generating space units and functional modules, combining lighting information, spatial information and connectivity information to perform multi-objective optimization to determine the optimal building space layout plan.
It improves the quality and efficiency of building space layout design, enables comprehensive evaluation of three-dimensional space utilization, daylighting and proximity relationships, and finds the best balance between multiple optimization goals.
Smart Images

Figure CN120372745A_ABST
Abstract
Description
[0001] Declaration of priority reference: This application claims the priority of a patent application submitted to the National Intellectual Property Administration of the People's Republic of China on November 1, 2024, with the application number 202411547957.8 and the application title "Method, System and Computer Readable Storage Medium for Generating Modular Building Layouts". Part of its content is incorporated into this application by reference. Technical Field
[0002] This application relates to the field of architectural design technology, and in particular, to a method, system and computer-readable storage medium for generating modular building combinations based on three-dimensional analysis. Background Art
[0003] With the acceleration of urbanization and the improvement of people's living standards, the requirements for architectural space design are getting higher and higher. Traditional architectural space design methods rely on designers' experience and intuition, and it is often difficult to generate a large number of high-quality design solutions in a short time, and it is also difficult to meet design goals in multiple dimensions simultaneously.
[0004] Currently, there are some computer-aided design software on the market, which can help designers with architectural drawing and modeling. However, these software mainly focus on graphic drawing and visualization, lacking intelligent spatial layout generation and multi-dimensional evaluation functions. In addition, some researchers have proposed architectural space layout optimization methods based on genetic algorithms, ant colony algorithms, etc. However, these methods usually only consider single or a few optimization goals, or only score the solutions from a two-dimensional plane perspective, and it is difficult to comprehensively evaluate the quality of three-dimensional architectural space layout solutions, so the design quality of the solutions is relatively low.
[0005] The above content is only used to assist in understanding the technical solution of this application, and does not represent an admission that the above content is prior art. Summary of the Invention
[0006] The main purpose of this application is to provide a method, system and computer-readable storage medium for generating modular building combinations based on three-dimensional analysis, aiming to solve the technical problem of relatively low design quality of the current design solutions for architectural space layouts.
[0007] To achieve the above object, this application proposes a method for generating modular building combinations based on three-dimensional analysis. The method for generating modular building combinations based on three-dimensional analysis includes:
[0008] Generating a plurality of spatial units based on a preset three-dimensional coordinate system and spatial unit type information, where the spatial unit type information includes physical space and usable space;
[0009] Combining each of the spatial units respectively to determine corresponding multiple functional modules, where each of the functional modules includes at least one spatial unit;
[0010] Based on the preset building attributes, combine each functional module in sequence to obtain at least one corresponding building space layout plan;
[0011] According to the daylighting information, space information, and connectivity information of each functional module in the building space layout plan, determine the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the building space layout plan;
[0012] Based on the preset building constraint conditions and the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, perform multi-objective optimization on the building space layout plan to determine the optimal building space layout plan.
[0013] In one embodiment, the step of generating a plurality of space units based on the preset three-dimensional coordinate system and space unit type information includes:
[0014] Obtain the corner three-dimensional coordinates and space unit type information corresponding to each space unit in the three-dimensional coordinate system in sequence;
[0015] Calculate the width, height, depth, and position information in the three-dimensional coordinate system of the corresponding space unit according to each of the corner three-dimensional coordinates;
[0016] Generate the corresponding space unit based on the width, the height, the depth, the position information, and the space unit type information.
[0017] In one embodiment, the functional module at least includes a space unit combination, the positional relationship between each space unit, as well as the name and type;
[0018] The step of respectively combining each of the space units to determine a plurality of corresponding functional modules includes:
[0019] Combine each of the space units to obtain a corresponding plurality of space unit combinations, wherein the space unit combination includes an entity space and a usable space;
[0020] Determine the relative positional relationship between each space unit in each of the space unit combinations;
[0021] Determine the name and type corresponding to each of the functional modules respectively.
[0022] In one embodiment, the step of based on the preset building attributes, combining each functional module in sequence to obtain at least one corresponding building space layout plan includes:
[0023] Randomly select the name of a functional module from each of the said functional modules, and randomly determine the placement angle of the said functional module;
[0024] Place the functional module in the preset building space based on the said placement angle, where the building space is determined by preset building attributes;
[0025] If there is a conflict between the functional module and the functional modules already existing in the building space, then adjust the position and / or placement angle of the functional module until there is no conflict between the functional module and the functional modules already existing in the building space;
[0026] If there is no conflict between the functional module and the functional modules already existing in the building space, then return to execute the steps: randomly select the name of a functional module from each of the said functional modules, and randomly determine the placement angle of the said functional module, until all the functional modules are placed, and obtain a building space layout plan.
[0027] In one embodiment, after the step of if there is no conflict between the functional module and the functional modules already existing in the building space, the method further includes:
[0028] Judge whether the functional module meets the preset building constraint conditions;
[0029] If so, then return to execute the steps: randomly select the name of a functional module from each of the said functional modules, and randomly determine the placement angle of the said functional module;
[0030] If not, then adjust the position and / or angle of the functional module until the functional module meets the preset building constraint conditions.
[0031] In one embodiment, the building attributes at least include total area, site restriction conditions, total height and storey height requirements;
[0032] Before the step of placing the functional module in the preset building space, the method further includes:
[0033] Generate a building outline according to the preset total building area and / or site restriction conditions;
[0034] Determine the number of storeys and the range of each storey according to the preset total height and storey height requirements;
[0035] Generate a corresponding building space according to the building outline, the number of storeys and the range of each storey.
[0036] In one embodiment, the spatial information includes the volume, surface area, average building height, and Euclidean distance between modules of each functional module, the daylighting information includes the light-receiving area, solar altitude angle, and the number of blocked modules of each functional module, and the connectivity information includes the connecting channels between each functional module;
[0037] The steps of determining the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the building space layout plan according to the daylighting information, spatial information, and connectivity information of each functional module in the building space layout plan include:
[0038] Generate three-dimensional bounding boxes corresponding to each functional module in the building space layout plan;
[0039] According to the total volume of each functional module in the building space layout plan, the volume of the three-dimensional bounding box including each functional module and the gap, the total surface area of the gaps between each functional module, the total surface area of the three-dimensional bounding box, and the average building height, calculate the space utilization rate corresponding to the building space layout plan;
[0040] According to the light-receiving area, solar altitude angle, and the number of modules blocking each functional module at each moment in the building space layout plan, calculate the natural daylighting amount corresponding to each functional module in the building space layout plan;
[0041] According to the natural daylighting amount of each functional module in the building space layout plan, calculate the three-dimensional daylighting score corresponding to the building space layout plan;
[0042] According to the Euclidean distance between each functional module in the building space layout plan, the spatial overlap degree between each functional module, and a preset proximity relationship matrix and weight coefficient, calculate the proximity value between each functional module in the building space layout plan, where the proximity relationship matrix is used to characterize the proximity degree between different functional modules;
[0043] According to the proximity value between each functional module and the preset ideal proximity value between each functional module, calculate the three-dimensional proximity relationship score of the building space layout plan, where the smaller the gap between the proximity value between each functional module and the preset ideal proximity value, the higher the corresponding three-dimensional proximity relationship score;
[0044] Determine the connecting channels existing between each functional module in the building space layout plan and the height of each connecting channel;
[0045] If the vertical height of the connecting channel is greater than or equal to a preset height threshold, determine that there is connectivity between the two modules corresponding to the connecting channel;
[0046] Calculate the three-dimensional connectivity score of the building space layout plan based on the vertical and horizontal connectivity between functional modules in the building space layout plan and the weights corresponding to the horizontal and vertical connectivity respectively.
[0047] In one embodiment, the steps of performing multi-objective optimization on the building space layout plan based on preset building constraint conditions and the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, and determining the optimal building space layout plan include:
[0048] Initialize the parameters of the preset multi-objective algorithm;
[0049] Based on the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, determine the objective function of the multi-objective optimization algorithm;
[0050] According to the objective function and the preset building constraint conditions, execute the multi-objective algorithm on the building space layout plan to optimize and update the building space layout plan, and generate multiple candidate building space layout plans;
[0051] Select the optimal building space layout plan with the highest comprehensive score from each of the candidate building space layout plans, where the comprehensive score is jointly determined by the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score of each candidate building space layout plan.
[0052] In addition, to achieve the above object, the present application also proposes a building modular combination generation system based on three-dimensional analysis, and the building modular combination generation system based on three-dimensional analysis includes:
[0053] A space unit generation module, configured to generate a plurality of space units based on a preset three-dimensional coordinate system and space unit type information, where the space unit type information includes physical space and usable space;
[0054] A functional module generation module, configured to combine each of the space units respectively to determine corresponding multiple functional modules, where each of the functional modules includes at least one space unit;
[0055] A layout plan generation module, configured to sequentially combine each functional module based on preset building attributes to obtain at least one corresponding building space layout plan;
[0056] A layout plan scoring module, configured to determine the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the building space layout plan according to the daylighting information, spatial information, and connectivity information of each functional module in the building space layout plan;
[0057] A multi-objective optimization module, configured to perform multi-objective optimization on the building space layout plan based on preset building constraint conditions and the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, and determine the optimal building space layout plan.
[0058] In addition, to achieve the above object, the present application also proposes an electronic device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the method for generating building modular combinations based on three-dimensional analysis as described above.
[0059] In addition, to achieve the above object, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the method for generating building modular combinations based on three-dimensional analysis as described above are implemented.
[0060] In addition, to achieve the above object, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method for generating building modular combinations based on three-dimensional analysis as described above are implemented.
[0061] The present application proposes a method for generating building modular combinations based on three-dimensional analysis. The method for generating building modular combinations based on three-dimensional analysis includes: First, based on a preset three-dimensional coordinate system and spatial unit type information, a plurality of spatial units are generated, where the spatial unit type information includes physical spaces and usage spaces. Then, each of the spatial units is combined respectively to determine a corresponding plurality of functional modules, where each of the functional modules includes at least one spatial unit. Furthermore, based on preset building attributes, each of the functional modules is combined in sequence to obtain at least one corresponding building space layout plan. During the generation process of the building space layout plan of the present application, a strategy of hierarchical combination of spatial units and functional modules is adopted, making the layout process of the building space more flexible. It can be flexibly combined in units of spatial units and functional modules, making the generated building space layout plans more abundant and making it easier to obtain a final plan with higher quality. Then, according to the lighting information, spatial information, and connectivity information of each functional module in the building space layout plan, the corresponding spatial three-dimensional utilization rate, three-dimensional lighting score, three-dimensional proximity relationship score, and internal space connectivity score of the building space layout plan are determined. Based on the preset building constraint conditions and the spatial three-dimensional utilization rate, three-dimensional lighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, multi-objective optimization is performed on the building space layout plan to determine the optimal building space layout plan. The technical solution of the present application efficiently optimizes the building space layout plan in three-dimensional form in all aspects and from multiple angles through the above-mentioned multi-dimensional scoring and multi-objective optimization algorithms for three-dimensional space layout, and tries to meet as many index optimization requirements at the three-dimensional level as possible to find the best balance among more optimization objectives, so as to obtain an optimal building space layout plan with higher design quality and stronger comprehensive performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application and, together with the specification, are used to explain the principles of the present application.
[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
[0064] Figure 1 It is a schematic flowchart provided for Embodiment 1 of the method for generating building modular combinations based on three-dimensional analysis of the present application;
[0065] Figure 2 It is a schematic flowchart of the full process of a feasible method for generating building modular combinations based on three-dimensional analysis in the embodiments of the present application;
[0066] Figure 3 It is a schematic flowchart of a feasible process for sequentially combining each functional module in the embodiments of the present application;
[0067] Figure 4 It is a schematic diagram of combining each functional module in three-dimensional space in the embodiments of the present application;
[0068] Figure 5 It is a side view of performing three-dimensional daylighting analysis on multiple functional modules in the embodiments of the present application;
[0069] Figure 6 It is a schematic principle diagram of determining the connectivity between functional modules in the embodiments of the present application;
[0070] Figure 7 It is a schematic flowchart of a feasible process for executing a multi-objective optimization algorithm in the embodiments of the present application;
[0071] Figure 8 It is a schematic flowchart of a feasible process for determining the comprehensive score of a building space layout scheme in the embodiments of the present application;
[0072] Figure 9 It is a schematic structural diagram of a building modular combination generation system based on three-dimensional analysis in the embodiments of the present application;
[0073] Figure 10 It is a schematic diagram of the device structure of the hardware operating environment involved in the building modular combination generation method based on three-dimensional analysis in the embodiments of the present application.
[0074] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. Specific embodiments
[0075] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0076] In order to better understand the technical solutions of the present application, the following will be described in detail in combination with the drawings of the specification and the specific embodiments.
[0077] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device, a terminal system, etc. that can implement the above functions. The following takes the system as an example to illustrate this embodiment and the following embodiments.
[0078] The embodiments of the present application provide a building modular combination generation method based on three-dimensional analysis, with reference to Figure 1 , Figure 1This is a schematic flowchart of the first embodiment of the method for generating building modular combinations based on three-dimensional analysis. The method for generating building modular combinations based on three-dimensional analysis includes:
[0079] Step S10: Generate a plurality of spatial units based on a preset three-dimensional coordinate system and spatial unit type information, where the spatial unit type information includes physical space and usable space;
[0080] Embodiments of the present application can be applied to scenarios that require a three-dimensional building space layout plan. The three-dimensional coordinate system and spatial unit type can be predefined in advance. The three-dimensional coordinate system is used to represent the spatial information and geometric information of the spatial unit, such as position, length, width, height, etc. The spatial unit type information is used to represent the type attributes of the spatial unit, such as physical space and usable space. The physical space refers to the space that cannot be invaded. In terms of the building level, it is each functional room, wall, column, etc. The usable space refers to the space that can be combined with each other. In terms of the building level, it is the open space such as corridors and halls.
[0081] In a feasible embodiment, the user can input the relevant parameter information of these spatial units in advance, such as type, quantity, length, width, height, etc., and combine with the three-dimensional coordinate system to realize the predefined of the spatial unit. The defined spatial unit can be used as the smallest module unit in the method for generating building modular combinations based on three-dimensional analysis in the embodiments of the present application, so as to perform hierarchical combinations of functional modules and building space layout plans for subsequent completion of the scheme design, and has high combination flexibility in the three-dimensional space.
[0082] Step S20: Combine each spatial unit respectively to determine a corresponding plurality of functional modules, where each functional module includes at least one spatial unit;
[0083] After determining the foregoing spatial units, further combine the spatial units to form corresponding functional modules. It should be noted that in the process of combining spatial units in the three-dimensional space, one or more spatial units are selected according to the actual requirements of the functional module to obtain the corresponding functional module. The functional module is a building module that can independently implement functions in the building, such as kitchen, bedroom, dining room, living room, balcony, bathroom, storage room, etc. Each functional module is composed of physical space and usable space, that is, it includes two types of spatial units. In a building space, there can be multiple functional modules of the same type. For example, in a building, there can be multiple bedrooms or multiple bathrooms.
[0084] When the requirements of the architectural design are determined, the user can first determine how many of each type of functional module are needed in the building and what the specific parameters of each functional module are (such as length, width, height, etc.). Then, based on the determined spatial units, combinations are made to obtain multiple functional modules. The functional modules determined in this step are the basis for forming the architectural space layout plan. The purpose of the embodiments of this application is to obtain a relatively optimal architectural space layout plan through multi-objective optimization of the combination and positional relationship between these functional modules.
[0085] Step S30: Based on the preset architectural attributes, sequentially combine each functional module to obtain at least one corresponding architectural space layout plan.
[0086] Among them, the architectural attributes refer to the attributes that the finally formed architectural space layout plan needs to meet (such as total area, height limit, etc.). During the process of sequentially combining the determined functional modules, it is necessary to be within the constraints of the architectural attributes.
[0087] It should be noted that during the process of combining functional modules, the method of sequential combination is adopted, that is, placing functional modules one by one until all functional modules are placed. It can be understood that since the method of placing functional modules one by one is adopted in the embodiments of this application to obtain the corresponding architectural space layout plan, the flexibility of the architectural space layout is relatively high, not restricted by floors, and there is no need to place each functional module layer by layer. Therefore, flexible combination of functional modules can be carried out in the space, making full use of the architectural space. However, during the process of combining functional modules, it is necessary to pay attention that there should be no overlap and conflict between functional modules, meeting the normal architectural space design requirements and usage requirements.
[0088] Step S40: According to the lighting information, space information, and connectivity information of each functional module in the architectural space layout plan, determine the spatial three-dimensional utilization rate, three-dimensional lighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the architectural space layout plan.
[0089] Because the technical solution of the embodiments of this application is a method for generating architectural modular combinations based on three-dimensional analysis, the generated architectural space layout plan can be understood as a three-dimensional solid model composed of multiple functional modules. Considering the relative positional relationship and connection relationship between each functional module in the three-dimensional space, collect the lighting information, space information, and connectivity information of each functional module, and calculate the spatial three-dimensional utilization rate, three-dimensional lighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the architectural space layout plan based on this information. These scoring parameters reflect the performance and quality of each dimension of the three-dimensional architectural space layout plan.
[0090] Step S50: Based on the preset building constraint conditions and the corresponding space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score of the building space layout plan, perform multi-objective optimization on the building space layout plan to determine the optimal building space layout plan.
[0091] Finally, based on the multi-dimensional scores obtained above and the preset building constraint conditions, perform multi-objective optimization on the one or more building space layout plans obtained above, so that the building space layout plan is continuously optimized during the iterative update process and adjusted in the direction of a higher comprehensive score to find the optimal building space layout plan.
[0092] Among them, the building constraint conditions refer to the specific requirements of the user when designing the building space layout plan. For example, the maximum floor area, the minimum sunlight requirement, or the fixed connectivity relationship between functional modules (such as the kitchen must be connected to the dining room), which can be customized according to the actual situation to make the final plan meet the user's needs. The comprehensive score reflects the overall situation of the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score, which can be determined by calculating the total score of each dimension score or by weighted summation, and is not limited here.
[0093] Exemplarily, the full process of a feasible method for generating building modular combinations based on three-dimensional analysis is as Figure 2 shown. First, the user can input design requirements and constraints, then define space units and functional modules, and then perform intelligent layout to generate one or more corresponding building space layout plans, perform multi-dimensional scoring and multi-objective optimization on each plan, and finally output the optimal plan.
[0094] The method for generating building modular combinations based on three-dimensional analysis provided by the embodiments of the present application can quickly generate multiple building space layout plans that meet the design requirements, greatly improving the design efficiency. Moreover, considering multiple design objectives such as three-dimensional space utilization rate, three-dimensional daylighting, three-dimensional proximity relationship, and internal space connectivity, it can comprehensively evaluate the quality of the design plan. Moreover, in the embodiments of the present application, a multi-objective optimization algorithm can be used for plan optimization, which can find the best balance point among multiple objectives and obtain the design plan with the optimal comprehensive performance. The above solution also has good modular design, is easy to expand and maintain, and can conveniently add new scoring dimensions or optimization objectives according to actual needs. In summary, the technical solution of the embodiments of the present application provides a powerful decision-making support tool for building designers, which can significantly improve the design quality and efficiency of three-dimensional building space plans.
[0095] Further, in a feasible embodiment, the step of generating multiple space units based on the preset three-dimensional coordinate system and space unit type information may include:
[0096] Step S11: sequentially obtain the three-dimensional corner coordinates and the spatial unit type information corresponding to each spatial unit in the three-dimensional coordinate system;
[0097] Step S12: calculate the width, height, depth, and the position information in the three-dimensional coordinate system of the corresponding spatial unit according to the three-dimensional corner coordinates of each corner;
[0098] Step S13: generate the corresponding spatial unit based on the width, height, depth, position information, and the spatial unit type information.
[0099] Exemplarily, the execution subject of steps S11 to S13 may be a spatial unit generation module, and the spatial unit generation module may include: a corner coordinate setting unit for setting the three-dimensional corner coordinates of the spatial unit; a type attribute setting unit for setting the type attribute of the spatial unit, such as an entity or a usage space; a size calculation unit for calculating the width, height, and depth of the spatial unit according to the corner coordinates; and a position calculation unit for calculating the position of the spatial unit in the overall coordinate system. The three-dimensional corner coordinates and the spatial unit type information of each above-mentioned spatial unit can be input by the user, and then the spatial unit definition module generates the corresponding spatial unit according to the above input parameters.
[0100] In a feasible embodiment, the functional module at least includes the combination of spatial units, the positional relationship between each spatial unit, as well as the name and type; the steps of respectively combining each spatial unit and determining the corresponding multiple functional modules may include:
[0101] Step S21: combine each spatial unit to obtain the corresponding multiple spatial unit combinations, where the spatial unit combination includes an entity space and a usage space;
[0102] Step S22: determine the relative positional relationship between each spatial unit in each spatial unit combination;
[0103] Step S23: determine the name and type respectively corresponding to each functional module.
[0104] Exemplarily, the execution subject of steps S21 to S23 can be a function module generation module, where the function module generation module includes: an entity space setting unit for setting the entity space in the function module, such as walls, columns, etc.; a usage space setting unit for setting the usage space in the function module, such as rooms, corridors, etc.; a module attribute setting unit for setting attributes such as the name and type of the function module; and a space relationship calculation unit for calculating the relative position relationship between the internal space units of the function module. The user can input the types of various function modules to be generated according to needs. For example, the types include kitchen, dining room, bedroom, living room, balcony, bathroom, storage room, etc. Further, when there are multiple function modules of the same type, the name of each function module can be further determined to distinguish different function modules. For example, the master bedroom, guest bedroom, master bathroom, guest bathroom, etc. During the process of combining each space unit, it is possible to first determine which space units the function module consists of, and further determine the position relationship of the space units in the function module, so as to generate a rich variety of function modules.
[0105] In a feasible embodiment, the step of sequentially combining each function module based on the preset building attributes to obtain at least one corresponding building space layout plan may include:
[0106] Step S31, randomly select the name of a function module from each function module, and randomly determine the placement angle of the function module;
[0107] Step S32, place the function module in the preset building space based on the placement angle, where the building space is determined by the preset building attributes;
[0108] Step S33, if there is a conflict between the function module and the function modules already existing in the building space, adjust the position and / or placement angle of the function module until there is no conflict between the function module and the function modules already existing in the building space;
[0109] Step S34, if there is no conflict between the function module and the function modules already existing in the building space, return to execute the steps: randomly select the name of a function module from each function module, and randomly determine the placement angle of the function module until all function modules are placed, and a building space layout plan is obtained.
[0110] In the process of generating a building space layout plan by combining function modules in the embodiment of the present application, a one-by-one placement method is adopted. That is, before placing a function module, first randomly select the name of a function module, and then randomly determine the placement angle of the function module. Among them, the name of each function module corresponds to a unique function module, that is, different names mean different function modules. Function modules with different names may have the same type, but specific parameters are different (such as different lengths, widths, heights, and compositions of space units).
[0111] In addition, the preset building space is empty before the functional modules are placed, with certain area and / or site limitation conditions, and each functional module is placed into the building space one by one. Specifically, when there are already functional modules in the building space, the newly placed functional module cannot conflict with the existing functional modules, that is, there cannot be an overlapping area between the two in space. If there is a conflict, adjust the placement angle and position of the functional module and then place it. By analogy, until all the functional modules are placed, a building space layout plan is obtained.
[0112] In the case where multiple building space layout plans need to be generated, repeat the above steps S11 to S34 to generate multiple building space layout plans with different relative position relationships of the internal functional modules.
[0113] Exemplarily, the execution subject of steps S11 to S34 can be a layout plan generation module, and the layout plan generation module can include: a random selection unit for randomly selecting the name and rotation angle of the functional module; a position attempt unit for attempting to place the functional module at different positions within the building space; a conflict check unit for checking whether there is a spatial conflict between the newly placed functional module and the existing modules; and a layout completion judgment unit for judging whether all the functional modules have been placed.
[0114] Further, after the step of if the functional module does not conflict with the existing functional modules in the building space, the method may further include:
[0115] Step S331, judging whether the functional module meets the preset building constraint conditions;
[0116] Step S332, if so, return to execute step S31: randomly select the name of a functional module from each functional module and randomly determine the placement angle of the functional module;
[0117] Step S333, if not, adjust the position and / or angle of the functional module until the functional module meets the preset building constraint conditions.
[0118] During the process of placing the functional modules, in addition to determining whether they can be successfully placed based on the conflict situation between the functional modules, further screening can be carried out through the building constraint conditions preset by the user according to the actual situation. In this way, in the embodiments of the present application, not only is the flexibility and richness of the building space layout plan improved by placing the functional modules one by one, but also the generated plan is constrained by the building constraint conditions, making the plan more in line with the user's needs and having higher design quality.
[0119] Among them, the building constraint conditions can be determined according to the actual situation. For example, since the kitchen has a smoke exhaust requirement, one of its walls must be an exterior wall. Limited by the water pipe layout, the kitchen must be adjacent to the bathroom, etc.
[0120] Specifically, the functional module placement algorithm can include: First, randomly select one from the unplaced functional modules or specify one by the user, and randomly assign or specify a rotation angle (0°, 90°, 180°, 270°) for this module; then perform a position attempt, that is, attempt to place the selected module at different positions within the building space, such as starting from a corner of the building and gradually trying each possible position; then perform a conflict check to check whether the newly placed module overlaps with the already placed modules and whether the preset design constraint conditions (such as the position limit of specific modules) are violated; after that, confirm the placement. If a suitable position is found and there is no conflict, then confirm the placement of this module, update the available space information after accommodation, and finally is the iterative process: repeat the above steps until all functional modules are placed or cannot be placed continuously.
[0121] In another feasible embodiment, after generating a building space layout plan, multiple building space layout plans can be generated by means of parameter randomization, parallel computing, plan screening, etc. For example, each time a new plan is generated, the module selection order and rotation angle are randomized, and a certain amount of random perturbation can also be introduced to increase the diversity of the plans; multiple layout plans can also be generated simultaneously to improve efficiency using multi-threading or distributed computing; a predetermined plan quantity threshold (such as 10,000) can also be set to retain the plans that meet the basic requirements and enter the next scoring process.
[0122] In another feasible embodiment, the generated building space layout plan can also be fine-tuned, space filled, and constraint condition verified, including: making minor adjustments to the already generated building space layout plan, such as moving the module position, changing the module rotation angle, etc.; the unused space in the plan can be identified and attempts can be made to fill these spaces with small functional modules (such as storage rooms) to improve space utilization; check whether the optimized plan still meets all design constraints. If not, roll back to the state before optimization.
[0123] In addition, to enhance the user interactivity of the architectural space design solution, visual output can be performed after the solution is stored and managed. Specifically, an appropriate data structure (such as a graph or matrix) can be used to store information such as the module positions, rotation angles, and spatial relationships included in each layout solution; each solution can be encoded as a unique string or numerical sequence for subsequent storage, retrieval, and comparison; the similarity between solutions can also be calculated to ensure that the set of retained solutions has sufficient diversity. A corresponding 3D model is generated for each solution to display the three-dimensional relationship of the space and provide an interactive interface to the user. Moreover, the user is allowed to browse different architectural space layout solutions and provided with interactive functions such as zooming and rotation.
[0124] In a feasible embodiment, the architectural attributes at least include the total area, site restriction conditions, total height, and storey height requirements; before the step of placing functional modules in a preset architectural space, the method may further include:
[0125] Step A10, generating an architectural outline according to the preset total area of the building and / or the site restriction conditions;
[0126] Step A20, determining the number of storeys and the range of each storey according to the preset total height and storey height requirements;
[0127] Step A30, generating a corresponding architectural space according to the architectural outline, the number of storeys, and the range of each storey.
[0128] The embodiment of the present application also provides a method for generating a preset architectural space. Specifically, an architectural outline of the building can be generated according to the total area requirement and site restriction. The architectural outline can be rectangular, L-shaped, or other irregular shapes; the storeys of the architectural space can be further divided, and the number of storeys (equal to the total height / storey height requirement) can be determined according to the total height and storey height requirements to initially divide the range of each storey (height). After determining the architectural outline, the number of storeys, and the height range of each storey, the range of the architectural space can be initially determined in a three-dimensional coordinate system. It should be noted that the storey height requirement in Step A20 can be selected according to the actual situation, because if the range of the storey is set, to a certain extent, it limits the layout flexibility of each functional module in the architectural space layout solution.
[0129] Exemplarily, a feasible process for sequentially combining each functional module is as Figure 3As shown, first initialize the building space, randomly select unplaced modules, attempt placement positions, perform conflict checks. If there are conflicts, re-attempt the placement positions. If there are no conflicts, (based on the constraint conditions) determine whether the placement is successful. If not, return to the step of attempting the placement positions. If so, update the available space. If there are still unplaced modules, return to the step of randomly selecting unplaced modules. If there are no unplaced modules, perform local optimization and complete the scheme storage.
[0130] In a feasible embodiment, the space information includes the volume, surface area, average building height, and Euclidean distance between modules of each functional module. The daylighting information includes the daylighting area, solar altitude angle, and the number of blocked modules of each functional module. The connectivity information includes the connecting channels between each functional module. The steps of determining the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the building space layout scheme according to the daylighting information, space information, and connectivity information of each functional module in the building space layout scheme may include:
[0131] Step S41, generate three-dimensional bounding boxes corresponding to each functional module in the building space layout scheme;
[0132] Step S42, calculate the space utilization rate corresponding to the building space layout scheme according to the total volume of each functional module in the building space layout scheme, the volume of the three-dimensional bounding box including each functional module and the gap, the total surface area of the gaps between each functional module, the total surface area of the three-dimensional bounding box, and the average building height;
[0133] The embodiment of the present application provides a method for calculating the space utilization rate of a building space layout scheme. The space utilization rate can be used for optimizing the three-dimensional compactness, such as Figure 4 As shown, different cubes represent different functional modules. The figure on the left side of the arrow represents each functional module before combination, and the figure on the right side of the arrow represents the combined functional module. During the building combination generation process, the embodiment of the present application introduces a three-dimensional compactness evaluation strategy to determine the corresponding space utilization rate, and calculates the tightness of the layout of each module in the space to achieve the best balance between the overall volume and functional requirements. In order to reduce the ineffective land occupation and waste by maximizing the space utilization rate. The functional modules can be of any shape, that is, the space is more diverse, breaking through the traditional block combination or plane direct push-pull mode (i.e., the concept of layering).
[0134] To calculate the space utilization rate of the building space layout plan, first, the three-dimensional bounding boxes corresponding to the functional modules can be generated. The three-dimensional bounding box of a three-dimensional solid model (Bounding Box) is a simplified geometric body used to quickly describe the spatial range of the model. Its core function is to wrap a complex model with a simple geometric shape (such as a cube, cuboid, or sphere), thereby simplifying spatial calculations and improving algorithm efficiency. Then, calculate the volume and surface area of the bounding box, and further calculate the total surface area of the gaps between the modules based on the minimum distance between the functional modules. Finally, combined with the following formula, calculate the space utilization rate:
[0135]
[0136] The above formula is used to quantify the layout tightness of each functional module in the three-dimensional space. Among them, C is the space utilization rate, which can also be understood as the compactness value, and the value range is (0, 1). The closer it is to 1, the more compact the layout. V occupied refers to the total volume of each functional module, V total refers to the volume of the three-dimensional bounding box containing each functional module and the gaps, S gap refers to the total surface area of the gaps between each functional module, S total refers to the total surface area of the bounding box, H avg refers to the average height of the building.
[0137] Step S43: Calculate the natural daylighting amount corresponding to each functional module in the building space layout plan according to the daylighting area, solar altitude angle, and the number of modules blocking the functional module at each moment in the building space layout plan;
[0138] To quantify the natural daylighting amount of each functional module, the natural daylighting amount of each functional module can be calculated through the following formula:
[0139]
[0140] Among them, L i refers to the natural daylighting amount of functional module i, A illuminated (t) refers to the daylighting area of the surface of the functional module at moment t, A total refers to the total daylighting area, θ t refers to the solar altitude angle at moment t, N obstruction refers to the number of other functional modules blocking functional module i. It can be understood that both the daylighting area and the cosine value of the solar altitude angle are directly proportional to the natural daylighting amount, and the number of other blocking functional modules is inversely proportional to the natural daylighting amount.
[0141] Step S44: Calculate the three-dimensional daylighting score corresponding to the building space layout plan according to the natural daylighting amount of each functional module in the building space layout plan;
[0142] Furthermore, different sunlight requirement standards can be preset according to the functional types of each functional module. The sunlight requirement standards can include the threshold of natural daylighting amount, the minimum sunlight area or the percentage of the total area. Then, compare the natural daylighting amount of each functional module described above with the sunlight requirement standards. If the natural daylighting amount of the functional module can meet the corresponding sunlight requirement standard, the three-dimensional daylighting score of the functional module is full marks. If it cannot meet the standard, calculate the score according to the ratio. For example, score = full marks × (natural daylighting amount / threshold of natural daylighting amount). Finally, calculate the average value of the three-dimensional daylighting scores of each functional module in the building space layout plan to obtain the corresponding three-dimensional daylighting score of the building space layout plan.
[0143] As Figure 5 shown, when analyzing the daylighting situation of the building space layout plan, it is necessary to consider the mutual blocking between functional modules. This is a three-dimensional daylighting analysis scenario that only occurs when designing the building space layout plan in a flexible combination manner of three-dimensional functional modules. The arrow indicates the sunlight direction, and the polygon represents the combination of at least three functional modules.
[0144] It can be understood that traditional daylighting analysis often relies on the outer contour light of two-dimensional planes or three-dimensional established geometric shape models for daylighting calculations. In the technical solution of this embodiment of the present application, a corresponding building model is formed by combining multiple functional modules. Specifically, daylighting analysis is carried out for each functional module, so as to clearly know the daylighting amount of each module in the building model, especially for the special-shaped module body (such as Figure 5 taking each model in as an example), which highlights the advantage of effectively carrying out daylighting analysis under the building space layout plan formed by the combination of three-dimensional modules. For example, compared with the algorithm for calculating the daylighting amount of each building according to the relative position relationship of regular three-dimensional modules in the urban planning scenario, Figure 5 the calculation of the daylighting amount occlusion between different modules in a single building body is more refined. For example, when the light direction is from the upper left to the lower right, functional module 1 occludes the daylighting in the middle of the left side of the special-shaped functional module 2 with a "convex" shape, but does not occlude the daylighting at the bottom left, upper left, and upper sides; the special-shaped functional module 2 occludes the daylighting on the left side of functional module 3, but does not occlude the daylighting on the upper side of functional module 3. The daylighting analysis in this embodiment of the present application is based on the free combination of each functional module in the building space and the uncertainty of the shape of the functional module (not necessarily a regular cube). Compared with the traditional daylighting amount analysis method, this embodiment of the present application creatively considers the influencing factors of daylighting inside the building space layout formed by the combination of multi-functional modules in a three-dimensional space, improves the accuracy and reliability of the three-dimensional daylighting score, and can more truly reflect the actual daylighting situation.
[0145] Step S45: Calculate the proximity values between each functional module in the building space layout plan based on the Euclidean distance between each functional module, the spatial overlap degree between each functional module, the preset proximity relationship matrix, and the weight coefficient, where the proximity relationship matrix is used to represent the proximity degree between different functional modules;
[0146] When scoring the three-dimensional proximity relationship of the building space layout plan, it is mainly considered whether the spatial relationship between different functional modules (including horizontal and vertical directions) is reasonable. For example, the higher the proximity degree between the kitchen and the dining room, the higher the corresponding score; the higher the proximity degree between the bedroom and the bathroom, the higher the corresponding score. Exemplarily, the proximity value between each pair of functional modules can be calculated by the following formula:
[0147]
[0148] where R ij refers to the proximity value between functional module i and functional module j, d ij represents the three-dimensional Euclidean distance between functional module j and functional module j, O ij represents the spatial overlap degree between functional module j and functional module j (the value ranges from 0 to 1), and specifically calculates the proportion of the overlapping volume through voxelization, F ij represents the functional association weight between functional module j and functional module j (which can be determined by the proximity relationship matrix and the weight coefficient). For example, the association degree between the kitchen and the dining room is high, and the weight is 0.9; the association degree between the bedroom and the dining room is low, and the weight is 0.3. α, β, and γ are all weight coefficients, which can be set according to the actual situation. For example, the values are all 1 / 3.
[0149] Step S46: Calculate the three-dimensional proximity relationship score of the building space layout plan based on the proximity values between each functional module and the preset ideal proximity values between each functional module. The smaller the gap between the proximity value between each functional module and the preset ideal proximity value, the higher the corresponding three-dimensional proximity relationship score;
[0150] Specifically, compare the proximity value between each pair of functional modules with the preset ideal proximity value respectively to determine the gap, so as to obtain the three-dimensional proximity relationship score corresponding to each pair of functional modules. The smaller the gap between the proximity value between each functional module and the preset ideal proximity value, the higher the corresponding three-dimensional proximity relationship score. Among them, the three-dimensional proximity relationship score can be determined by taking the reciprocal of the gap between the proximity value and the preset ideal proximity value, or by taking the difference between a fixed value and the gap.
[0151] After obtaining the three-dimensional proximity relationship scores between every two functional modules in the building space layout plan, the three-dimensional proximity relationship score of the building space layout plan can be obtained by calculating the sum or average of the three-dimensional proximity relationship scores. The three-dimensional proximity relationship analysis strategy in the embodiments of the present application quantifies the association strength between different functional modules, so as to facilitate the optimization of the functional layout of the building space layout plan.
[0152] Step S47: Determine the connected channels existing between the functional modules in the building space layout plan and the heights of the connected channels.
[0153] Step S48: If the vertical height of the connected channel is greater than or equal to the preset height threshold, determine that there is connectivity between the two modules corresponding to the connected channel.
[0154] Step S49: Calculate the three-dimensional connectivity score of the building space layout plan according to the vertical connectivity and horizontal connectivity between the functional modules in the building space layout plan, and the weights corresponding to the horizontal connectivity and vertical connectivity respectively.
[0155] When evaluating the connectivity between the functional modules in the building space layout plan, first analyze whether there is a connected channel between the functional modules. If there is a connected channel, further obtain the height of the connected channel, and the height of the connected channel is used to determine whether the path of the channel can be passed by people.
[0156] For vertical connectivity and horizontal connectivity, different evaluation criteria can be adopted. For example, if there is vertical connectivity between two functional modules and the channel height is greater than the preset height threshold, the vertical connectivity is determined to be 1, otherwise it is 0; if there is horizontal connectivity between two functional modules and there is no obstacle in the channel and it can be directly passed through, the horizontal connectivity is determined to be 1, otherwise it is 0. Specifically, the formula for calculating the three-dimensional connectivity score of each functional block in the building space layout plan can be shown as follows.
[0157]
[0158] Where K is the overall three-dimensional connectivity score corresponding to the building space layout plan. Refers to the vertical connectivity between functional module i and functional module j. If the vertical height of the channel is greater than or equal to 2.2m, the value is 1, otherwise it is 0. Refers to the horizontal connectivity between functional module i and functional module j. If there is no obstacle in the path, it is 1, otherwise it is 0. w h 、w v Refers to the horizontal connectivity weight and vertical connectivity weight respectively, which can be defined according to the actual situation, and the default values are both 0.5.
[0159] In another feasible embodiment, factors such as connectivity, path length, and efficiency can be comprehensively considered to calculate the three-dimensional connectivity score. The scoring steps are as follows: First, analyze the connectivity between functional modules, then check whether there are direct channels between adjacent functional modules. Further, a connectivity graph can be constructed to represent the connection relationship between modules. Then, use graph theory algorithms (such as depth-first search) to find all connected components, and calculate the number and size of the connected components. The streamline efficiency can also be evaluated, specifically considering the longest path length, analyzing whether there are circular paths, and checking for unnecessary detours. Finally, calculate the three-dimensional connectivity score by comprehensively considering factors such as connectivity, path length, and efficiency. The better the connectivity, the shorter the path, and the higher the efficiency, the higher the three-dimensional connectivity score.
[0160] This application breaks through the limitations of traditional planar layouts and comprehensively evaluates the connectivity between various functional modules inside a building using three-dimensional analysis methods, considering the height of the vertical and horizontal connectivity channels. The functional modules can be of any shape, and the traffic space inside the space is more complex. It is necessary to detect whether the connectivity channels can be passed through in the vertical height (as Figure 6 shown, the gray part represents the channel space, Figure 6 which shows the situation of a person standing in the channel space. The vertical height of the channel corresponding to the left rectangle is higher than the person's height and can be passed through, while the vertical height of the channel corresponding to the right rectangle is less than the pedestrian height and cannot be passed through), and whether there are no obstacles in the horizontal direction. Finally, the three-dimensional connectivity score of the three-dimensional building space layout plan is realized, which is more comprehensive and accurate and can more truly reflect the actual design quality of the building space layout plan.
[0161] Furthermore, the steps of performing multi-objective optimization on the building space layout plan based on the preset building constraint conditions and the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan to determine the optimal building space layout plan may include:
[0162] Step S51, initialize the parameters of the preset multi-objective algorithm;
[0163] Step S52, determine the objective function of the multi-objective optimization algorithm based on the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan;
[0164] Step S53, execute the multi-objective algorithm on the building space layout plan according to the objective function and the preset building constraint conditions to optimize and update the building space layout plan, and generate multiple candidate building space layout plans;
[0165] Step S54, select the optimal building space layout plan with the highest comprehensive score from each candidate building space layout plan, where the comprehensive score is jointly determined by the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score of each candidate building space layout plan.
[0166] In the embodiment of the present application, a non-preset multi-objective optimization algorithm is used to perform multi-objective optimization on the building space layout plan to obtain an optimal building space layout plan that meets the multi-dimensional scoring requirement standards.
[0167] The multi-objective optimization algorithm is a method for solving mathematical problems involving the simultaneous optimization of multiple conflicting and influencing objective functions. It has a wide range of applications in many fields, such as the weighted method, the constraint method, and the linear programming method, etc. Its essence is to transform the multi-objective function into a single-objective function and then use the method of single-objective optimization to solve it. For example, in the weighted method, a weight is assigned to each optimization objective, and multiple optimization objectives are weighted and combined into a single-objective function for solution. Before executing the multi-objective optimization algorithm, it is necessary to initialize and set the parameters of the multi-objective optimization algorithm first, such as the population size, the number of iterations, etc. The population size refers to the number of individuals in the algorithm, which directly affects the search ability and computational efficiency of the algorithm.
[0168] The core of the multi-objective algorithm is the objective function. The optimization objectives of multi-objective optimization include the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, etc. In the embodiment of the present application, the weighted method can be used to combine the scores of each dimension to form a single-objective function for optimization. The single-objective function value can be understood as the comprehensive score of the building space layout plan, which overall reflects the scores of various dimensions. During the process of executing the multi-objective algorithm on the building space layout plan, the building space layout plan is continuously adjusted, updated, and optimized to find the Pareto optimal solution set, which includes multiple candidate building space layout plans. It should be noted that during the process of optimizing and updating the building space layout plan, it is necessary to perform based on preset building constraint conditions, such as function modules cannot conflict and overlap, and certain function modules must be placed in designated areas, etc., which can be customized according to the actual situation. Finally, a plan screening is carried out, and the screening criterion can be the highest objective function value, that is, the building space layout plan with the highest comprehensive score.
[0169] Exemplarily, the multi-objective algorithm can be combined with the genetic algorithm, such as Figure 7 shown. When executing the genetic algorithm, first initialize the population, then determine the evaluation objective function, and perform iterative updates on the plan through selection operations, crossover operations, compilation operations, etc., and judge whether the termination condition is reached (such as whether the preset number of iterations is reached). If so, output the Pareto optimal solution set.
[0170] Exemplarily, the steps for calculating the comprehensive score of the building space layout scheme can be as follows Figure 8 shown. First, obtain the building space layout scheme, and calculate the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score of the building space layout scheme respectively. The specific calculation process can refer to steps S41 to S49, which will not be elaborated here. Set the weights corresponding to the scores of each dimension, and then calculate the corresponding weighted average score. After normalizing the weighted average score (for example, in the range of 0 - 100 or 0 - 1), output the comprehensive score of the building space layout scheme. The normalization process is for facilitating the comparison of the comprehensive scores between different schemes.
[0171] It should be noted that the above examples are only for understanding the present application and do not constitute a limitation to the building modular combination generation method based on three-dimensional analysis of the present application. Based on this technical concept, more forms of simple transformations are within the protection scope of the present application.
[0172] The present application also provides a building modular combination generation system based on three-dimensional analysis. Specifically, referring to Figure 9 , the building modular combination generation system based on three-dimensional analysis at least includes:
[0173] A space unit generation module 10, configured to generate a plurality of space units based on a preset three-dimensional coordinate system and space unit type information, where the space unit type information includes entity space and usage space;
[0174] A function module generation module 20, configured to respectively combine each of the space units to determine a corresponding plurality of function modules, where each of the function modules includes at least one space unit;
[0175] A layout scheme generation module 30, configured to sequentially combine each of the function modules based on preset building attributes to obtain at least one corresponding building space layout scheme;
[0176] A layout scheme scoring module 40, configured to determine the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the building space layout scheme according to the daylighting information, space information, and connectivity information of each function module in the building space layout scheme;
[0177] A multi-objective optimization module 50, configured to perform multi-objective optimization on the building space layout scheme based on preset building constraint conditions and the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout scheme, and determine the optimal building space layout scheme.
[0178] The building modular combination generation system based on three-dimensional analysis provided by this application adopts the building modular combination generation method based on three-dimensional analysis in the above-mentioned embodiment, and can solve the technical problem of the low design quality of the current design scheme for building space layout. Compared with the prior art, the beneficial effects of the building modular combination generation system based on three-dimensional analysis provided by this application are the same as those of the building modular combination generation method based on three-dimensional analysis provided by the above-mentioned embodiment, and other technical features in the building modular combination generation system based on three-dimensional analysis are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.
[0179] This application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the building modular combination generation method based on three-dimensional analysis in the above-mentioned embodiment.
[0180] Next, refer to Figure 10 , which shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of this application. The electronic device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 10 The electronic device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.
[0181] As Figure 10As shown, the electronic device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM: Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems may be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or had alternatively.
[0182] Particularly, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above functions defined in the methods of the embodiments disclosed in the present application are executed.
[0183] The electronic device provided by the present application adopts the method for generating building modular combinations based on three-dimensional analysis in the above embodiments, and can solve the technical problem of the low design quality of the current design solutions for building space layouts. Compared with the prior art, the beneficial effects of the electronic device provided by the present application are the same as those of the method for generating building modular combinations based on three-dimensional analysis provided in the above embodiments, and other technical features in this electronic device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.
[0184] It should be understood that each part disclosed in this application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.
[0185] As described above, the above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
[0186] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the building modular combination generation method based on three-dimensional analysis in the above embodiments.
[0187] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems, or devices, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or combined with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0188] The above computer-readable storage medium can be included in an electronic device; it can also exist separately without being assembled into the electronic device.
[0189] The above computer-readable storage medium carries one or more programs, which, when executed by an electronic device, cause the electronic device to: generate a plurality of spatial units based on a preset three-dimensional coordinate system and spatial unit type information, wherein the spatial unit type information includes physical space and usage space; combine each of the spatial units respectively to determine a corresponding plurality of functional modules, wherein each of the functional modules includes at least one spatial unit; based on preset building attributes, combine each of the functional modules in sequence to obtain at least one corresponding building space layout plan; determine the corresponding spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and internal space connectivity score of the building space layout plan according to the daylighting information, spatial information, and connectivity information of each functional module in the building space layout plan; perform multi-objective optimization on the building space layout plan based on preset building constraint conditions and the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, and determine the optimal building space layout plan.
[0190] Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof. The above programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., by connecting through an Internet service provider using the Internet).
[0191] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions. The modules described in the embodiments of the present application can be implemented in software or in hardware. In some cases, the name of the module does not constitute a limitation on the unit itself.
[0192] The readable storage medium provided by the present application is a computer-readable storage medium, and the computer-readable storage medium stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for generating building modular combinations based on three-dimensional analysis, which can solve the technical problem of the low design quality of the current design solutions for building space layouts. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as those of the method for generating building modular combinations based on three-dimensional analysis provided by the above embodiments, and will not be elaborated here.
[0193] The present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the steps of the method for generating building modular combinations based on three-dimensional analysis as described above.
[0194] The computer program product provided by the present application can solve the technical problem of the low design quality of the current design solutions for building space layouts. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the method for generating building modular combinations based on three-dimensional analysis provided by the above embodiments, and will not be elaborated here.
[0195] The above are only some embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structural transformation made under the technical concept of the present application by using the content of the specification and drawings of the present application, or any direct / indirect application in other related technical fields, is included in the patent protection scope of the present application.
Claims
1. A method for generating building modular combinations based on three-dimensional analysis, characterized in that, The building modular combination generation method based on three-dimensional analysis includes: Generating a plurality of spatial units based on a preset three-dimensional coordinate system and spatial unit type information, wherein the spatial unit type information includes physical space and usage space; Combining each of the spatial units respectively to determine a corresponding plurality of functional modules, wherein each of the functional modules includes at least one spatial unit; Based on preset building attributes, combining each of the functional modules in sequence to obtain at least one corresponding building space layout plan; According to the daylighting information, spatial information, and connectivity information of each functional module in the building space layout plan, determining the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the building space layout plan; Based on preset building constraint conditions and the spatial three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, performing multi-objective optimization on the building space layout plan to determine the optimal building space layout plan.
2. The building modular combination generation method based on three-dimensional analysis according to claim 1, wherein The step of generating a plurality of spatial units based on a preset three-dimensional coordinate system and spatial unit type information includes: Sequentially obtaining the corner three-dimensional coordinates and spatial unit type information corresponding to each spatial unit in the three-dimensional coordinate system; Calculating the width, height, depth, and position information in the three-dimensional coordinate system of the corresponding spatial unit according to each of the corner three-dimensional coordinates; Generating the corresponding spatial unit based on the width, the height, the depth, the position information, and the spatial unit type information.
3. The method for generating building modular combinations based on three-dimensional analysis according to claim 1, wherein The functional module includes at least a spatial unit combination, the positional relationship between each spatial unit, as well as a name and a type; The step of combining each of the spatial units respectively to determine a corresponding plurality of functional modules includes: Combining each of the spatial units to obtain a corresponding plurality of spatial unit combinations, wherein the spatial unit combination includes physical space and usage space; Determining the relative positional relationship between each spatial unit in each of the spatial unit combinations; Determining the name and type corresponding to each of the functional modules respectively.
4. The method for generating building modular combinations based on three-dimensional analysis according to claim 1, wherein, The step of combining each of the functional modules in sequence based on preset building attributes to obtain at least one corresponding building space layout plan includes: Randomly selecting the name of a functional module from each of the functional modules and randomly determining the placement angle of the functional module; Placing the functional module in the preset building space based on the placement angle, wherein the building space is determined by preset building attributes; If there is a conflict between the functional module and the functional modules already existing in the building space, adjusting the position and / or placement angle of the functional module until there is no conflict between the functional module and the functional modules already existing in the building space; If there is no conflict between the functional module and the functional modules already existing in the building space, return to execute the steps: randomly selecting the name of a functional module from each of the functional modules and randomly determining the placement angle of the functional module until all the functional modules are placed to obtain a building space layout plan.
5. The method for generating building modular combinations based on three-dimensional analysis according to claim 4, wherein, After the step where if the functional module does not conflict with the existing functional modules in the building space, the method further includes: Determine whether the functional module meets the preset building constraint conditions; If so, return to execute the steps: randomly select the name of a functional module from each of the functional modules, and randomly determine the placement angle of the functional module; If not, adjust the position and / or angle of the functional module until the functional module meets the preset building constraint conditions.
6. The method for generating building modular combinations based on three-dimensional analysis according to claim 4, wherein, The building attributes at least include the total area, site restriction conditions, total height, and floor height requirements; Before the step of placing the functional module in the preset building space, the method further includes: Generate a building outline according to the preset total building area and / or site restriction conditions; Determine the number of floors and the range of each floor according to the preset total height and floor height requirements; Generate a corresponding building space according to the building outline, the number of floors, and the range of each floor.
7. The method for generating building modular combinations based on three-dimensional analysis according to claim 1, wherein The space information includes the volume, surface area, average building height, and Euclidean distance between modules of each functional module, the lighting information includes the light-receiving area, solar altitude angle, and the number of blocked modules of each functional module, and the connectivity information includes the connecting channels between each functional module; The step of determining the space three-dimensional utilization rate, three-dimensional lighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the building space layout plan according to the lighting information, space information, and connectivity information of each functional module in the building space layout plan includes: Generate three-dimensional bounding boxes corresponding to each functional module in the building space layout plan; Calculate the space utilization rate corresponding to the building space layout plan according to the total volume of each functional module in the building space layout plan, the volume of the three-dimensional bounding box including each functional module and the gap, the total surface area of the gaps between each functional module, the total surface area of the three-dimensional bounding box, and the average building height; Calculate the natural lighting amount corresponding to each functional module in the building space layout plan according to the light-receiving area, solar altitude angle, and the number of modules blocking the functional module of each functional module in the building space layout plan at each moment; Calculate the three-dimensional lighting score corresponding to the building space layout plan according to the natural lighting amount of each functional module in the building space layout plan; Calculate the proximity value between each functional module in the building space layout plan according to the Euclidean distance between each functional module in the building space layout plan, the spatial overlap degree between each functional module, and the preset proximity relationship matrix and weight coefficient, where the proximity relationship matrix is used to represent the proximity degree between different functional modules; Calculate the three-dimensional proximity relationship score of the building space layout plan according to the proximity value between each functional module and the preset ideal proximity value between each functional module, where the smaller the gap between the proximity value between each functional module and the preset ideal proximity value, the higher the corresponding three-dimensional proximity relationship score; Determine the connecting channels existing between the functional modules in the building space layout plan and the heights of the connecting channels; If the vertical height of the connecting channel is greater than or equal to the preset height threshold, determine that there is connectivity between the two modules corresponding to the connecting channel; According to the vertical connectivity and horizontal connectivity between the functional modules in the building space layout plan, and the weights corresponding to the horizontal connectivity and vertical connectivity respectively, calculate the three-dimensional connectivity score of the building space layout plan.
8. The method for generating building modular combinations based on three-dimensional analysis according to claim 1, characterized in that The steps of performing multi-objective optimization on the building space layout plan based on the preset building constraint conditions and the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, and determining the optimal building space layout plan include: Initialize the parameters of the preset multi-objective algorithm; Based on the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, determine the objective function of the multi-objective optimization algorithm; According to the objective function and the preset building constraint conditions, execute the multi-objective algorithm on the building space layout plan to optimize and update the building space layout plan, and generate multiple candidate building space layout plans; Select the optimal building space layout plan with the highest comprehensive score from each of the candidate building space layout plans, where the comprehensive score is jointly determined by the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score of each candidate building space layout plan.
9. A building modular combination generation system based on three-dimensional analysis, characterized in that, The building modular combination generation system based on three-dimensional analysis includes: A space unit generation module for generating a plurality of space units based on a preset three-dimensional coordinate system and space unit type information, where the space unit type information includes physical space and usage space; A functional module generation module for combining each of the space units respectively to determine a corresponding plurality of functional modules, where each of the functional modules includes at least one space unit; A layout plan generation module for sequentially combining each functional module based on the preset building attributes to obtain at least one corresponding building space layout plan; A layout plan scoring module for determining the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and internal space connectivity score corresponding to the building space layout plan according to the daylighting information, space information, and connectivity information of each functional module in the building space layout plan; A multi-objective optimization module for performing multi-objective optimization on the building space layout plan based on the preset building constraint conditions and the space three-dimensional utilization rate, three-dimensional daylighting score, three-dimensional proximity relationship score, and three-dimensional connectivity score corresponding to the building space layout plan, and determining the optimal building space layout plan.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the three-dimensional analysis-based building modular combination generation method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Parcel design method, device, computer device and storage medium
CN109241580A
Three-dimensional space planning pay-off system
CN110889887A
BIM-based curtain wall engineering refined construction method and system, terminal and medium
CN113656879A
Target-performance-oriented multi-storey point-type residence parameterization generation method
CN115600283A
Building design scheme optimization system based on artificial intelligence
CN116992546A