Modularized building layout generation method and system and computer readable storage medium

By using a modular building layout generation method and multi-threading and multi-objective optimization techniques, high-quality building space layout schemes are generated, solving the problem that traditional design methods cannot simultaneously meet multiple design objectives, and improving the accuracy and efficiency of the design schemes.

CN119047065AInactive Publication Date: 2024-11-29SHENZHEN UNIV

Patent Information

Application Number
CN202411547957.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2024-11-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional architectural space design methods struggle to generate high-quality design solutions in a short time and fail to simultaneously meet multiple design objectives, such as optimizing sunlight, proximity relationships, and circulation.

Method used

A modular building layout generation method is adopted. By acquiring building data, functional modules are placed in the building space using multi-threaded or distributed tools to generate multiple spatial layout schemes. Multi-dimensional scoring and multi-objective optimization are then performed to generate the optimal layout scheme.

Benefits of technology

It improves the accuracy and efficiency of the design, ensures the optimal balance of the design solution across multiple key performance indicators, and enhances the quality and satisfaction of the design solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119047065A_ABST
    Figure CN119047065A_ABST
Patent Text Reader

Abstract

The invention discloses a modular building layout generation method and system and a computer readable storage medium, and relates to the technical field of computer software, and the modular building layout generation method comprises the steps: obtaining input building data; placing functional modules in the building space according to a module placement algorithm to generate a plurality of spatial layout schemes, and when the number of the spatial layout schemes meets a scheme number threshold value, performing functional module fine adjustment and unused space filling on all the spatial layout schemes to obtain a plurality of first spatial layout schemes, checking whether the first space layout scheme meets all design constraint conditions or not; and if yes, performing multi-dimensional scoring on all the first spatial layout schemes, optimizing and screening the first spatial layout schemes by using a multi-target optimization algorithm based on the multi-dimensional scoring to obtain an optimal scheme set, obtaining a target scheme selected from the optimal scheme set externally, and determining the target scheme as the optimal layout scheme. The accuracy of building layout generation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer software technology, and in particular to a modular building layout generation method, system and computer-readable storage medium. Background Art

[0002] 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 mainly rely on the experience and intuition of designers. It is often difficult to produce a large number of high-quality design solutions in a short period of time, and it is also difficult to simultaneously meet multiple design goals such as sunlight, proximity, and streamlines.

[0003] At present, there are some computer-aided design software on the market, such as AutoCAD, Revit, etc., which can help designers to draw and model buildings. However, these software mainly focus on graphics drawing and visualization, and lack 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 a single or a few optimization objectives, making it difficult to comprehensively evaluate the quality of the design solution, and the generated solution is not accurate enough and difficult to be practical. Summary of the invention

[0004] The main purpose of the present application is to provide a modular building layout generation method, system and computer-readable storage medium, aiming to solve the technical problem of insufficient accuracy in building layout generation.

[0005] To achieve the above objectives, the present application proposes a modular building layout generation method, comprising: Acquire externally input building data, wherein the building data includes function module data, design constraints, design target data, and building space data. The function module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions of specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of flow lines, and satisfaction of neighboring relationships. The building space data includes building outlines and floor division data. Using a multithreaded or distributed tool, functional modules are placed in the building space according to a preset module placement algorithm to generate multiple space layout schemes. When the number of space layout schemes meets a preset threshold of the number of schemes, all space layout schemes are fine-tuned for functional modules and filled with unused spaces to obtain multiple first space layout schemes. It is checked whether the adjusted first space layout schemes meet all design constraints, wherein the building space is a virtual space determined according to the building space data, and the functional module is a module determined according to the functional module data and is placed in a preset design space; If all first spatial layout schemes meet all design constraints, multi-dimensional scoring is performed on all first spatial layout schemes. Based on the multi-dimensional scoring, the first spatial layout schemes are optimized and screened using a multi-objective optimization algorithm to obtain an optimal scheme set. The target scheme selected externally from the optimal scheme set is obtained, and the target scheme is determined as the optimal layout scheme. The multi-dimensional scoring includes sunlight scoring, proximity scoring, streamline scoring and comprehensive scoring.

[0006] In one embodiment, the steps of placing functional modules in a building space according to a preset module placement algorithm and generating a plurality of space layout solutions include: According to the module placement algorithm, randomly or specifically select a functional module in the design space as the first functional module; Randomly select or specify a placement position of the first functional module in the building space. If the placement position has a spatial conflict with a placement position of an existing functional module in the building space, return to the step of randomly selecting or specifying a placement position of the first functional module in the building space according to the placement position with the spatial conflict. If there is no spatial conflict between the placement position and the placement position of an existing functional module in the building space, moving the first functional module to the placement position in the building space where there is no spatial conflict; Determine whether all functional modules in the design space have been moved to the building space. If there are functional modules in the design space that have not been moved to the building space, return to the step of randomly selecting or specifying a functional module in the design space. If all functional modules in the design space have been moved to the building space, determine the layout of the building space after placement as the space layout plan.

[0007] In one embodiment, the step of performing multi-dimensional scoring on all first spatial layout solutions includes: Calculate the sunshine area of ​​each functional module in the first spatial layout scheme, and compare the sunshine area with the preset sunshine demand to obtain a sunshine score, wherein the sunshine demand is related to the module attribute of the functional module; Calculate the actual proximity between each functional module in the first spatial layout plan, and compare the actual proximity with the preset ideal proximity requirement to obtain a proximity relationship score; Constructing a connectivity graph of the first spatial layout solution, determining a connectivity component score and a streamline efficiency score according to the connectivity graph, performing weighted calculation on the connectivity component score and the streamline efficiency score according to preset weights, and determining a streamline score according to the calculation result, wherein the connectivity component is a collection of all the functional modules of the building space that are interconnected through direct or indirect channels; The multi-dimensional score is determined based on the scores in three dimensions: sunshine score, proximity score, and streamline score.

[0008] In one embodiment, the steps of calculating the sunshine area of ​​each functional module in the first spatial layout scheme and comparing the sunshine area with a preset sunshine demand to obtain a sunshine score include: For each functional module in the first spatial layout scheme, identify the surface of the functional module facing outward, calculate the total area of ​​the surface, and use the total area as the sunlight area; Determine the ratio of the sunshine area to the required area in the sunshine demand, and determine the sunshine score of the module according to the ratio; The average value of the module sunlight scores of all functional modules in the first spatial layout scheme is calculated to obtain the sunlight score.

[0009] In one embodiment, the steps of calculating the actual proximity between each functional module in the first spatial layout scheme, and comparing the actual proximity with a preset ideal proximity requirement to obtain a proximity relationship score include: According to the relative position of each of the functional modules in the first spatial layout scheme, the actual proximity is calculated using a distance measurement algorithm; Calculate the difference between the actual proximity and the preset ideal proximity, and determine the module proximity score according to the difference result and a preset difference score mapping table, wherein the ideal proximity is represented by an ideal proximity matrix; An average value of the module proximity relationship scores corresponding to all the functional modules is calculated, and the calculated average value is used as the proximity relationship score.

[0010] In one embodiment, the steps of constructing a connectivity graph of the first spatial layout solution and determining a connectivity component score and a streamline efficiency score according to the connectivity graph include: constructing the connectivity graph according to direct channels between adjacent functional modules in the first spatial layout scheme; Using a preset graph theory algorithm to find all connected components in the connected graph, and determining connected component scores according to the number and size of the connected components; The connected paths are analyzed according to the connected graph, and the streamline efficiency scores are determined according to the connected paths, wherein the connected paths are analyzed according to the connected graph including calculating the longest path length, analyzing whether there are circular paths, and checking whether there are unnecessary detours.

[0011] In one embodiment, the step of optimizing and screening the first spatial layout solution using a multi-objective optimization algorithm based on the multi-dimensional scoring to obtain the optimal solution set includes: Set the parameters of the multi-objective optimization algorithm, and set the objective function of the multi-objective optimization algorithm based on the multi-dimensional scores; The constraints of the multi-objective optimization algorithm are set, and the multi-objective optimization algorithm is executed on the first spatial layout scheme to obtain the Pareto optimal solution set, and the Pareto optimal solution set is determined as the optimal scheme set.

[0012] In one embodiment, the step of obtaining a plurality of first spatial layout solutions includes: A three-dimensional model is generated according to the first spatial layout solution, and the three-dimensional model is displayed on an interactive interface, wherein the interactive interface provides scaling and rotation functions of the three-dimensional model.

[0013] In addition, to achieve the above purpose, the present application also proposes a modular building layout generation system, the modular building layout generation system comprising: A data input module is used to obtain external input building data, wherein the building data includes function module data, design constraints, design target data, and building space data. The function module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions of specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of flow lines, and satisfaction of neighboring relationships. The building space data includes building outlines and floor division data. A scheme generation module, using a multi-threaded or distributed tool, places functional modules in the building space according to a preset module placement algorithm to generate multiple space layout schemes, and when the number of space layout schemes meets a preset scheme number threshold, fine-tunes the functional modules and fills unused spaces for all space layout schemes to obtain multiple first space layout schemes, and checks whether the adjusted first space layout schemes meet all design constraints, wherein the building space is a virtual space determined according to the building space data, and the functional module is a module determined according to the functional module data and is placed in the preset design space; Scoring optimization module, if all first space layout schemes meet all design constraints, then all first space layout schemes are scored in multiple dimensions, and the first space layout schemes are optimized and screened using a multi-objective optimization algorithm based on the multi-dimensional scoring to obtain an optimal solution set, and an external target solution selected from the optimal solution set is obtained, and the target solution is determined as the optimal layout solution, wherein the multi-dimensional scoring includes sunlight scoring, proximity scoring, streamline scoring, and comprehensive scoring.

[0014] In addition, to achieve the above-mentioned purpose, the present application also proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the modular building layout generation method as described above are implemented.

[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the modular building layout generation method as described above are implemented.

[0016] One or more technical solutions proposed in this application have at least the following technical effects: The present application obtains externally inputted building data, wherein the building data includes functional module data, design constraints, design target data, and building space data. The functional module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions of specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of streamlines, and satisfaction of proximity relationships. The building space data includes building outlines and floor division data. The flexibility and personalization of the design are enhanced through modularization and input data, making the design easy to expand and maintain, while ensuring the accuracy, compliance, and efficient use of resources of the design scheme. Functional modules are placed in the building space according to a preset module placement algorithm using multi-threaded or distributed tools to generate multiple space layout schemes. When the number of space layout schemes meets a preset threshold of the number of schemes, the functional modules are fine-tuned and unused spaces are filled in for all space layout schemes to obtain multiple A first space layout scheme is selected, and whether the adjusted first space layout scheme meets all design constraints, wherein the architectural space is a virtual space determined according to the architectural space data, and the functional module is a module determined according to the functional module data, and is placed in the preset design space, which accelerates the design iteration process, improves the design efficiency, and ensures the accuracy and compliance of the design scheme; if all first space layout schemes meet all design constraints, then all first space layout schemes are scored in multiple dimensions, and the first space layout schemes are optimized and screened based on the multi-dimensional scoring using a multi-objective optimization algorithm to obtain an optimal solution set, and an external target solution selected from the optimal solution set is obtained, and the target solution is determined as the optimal layout solution, wherein the multi-dimensional scoring includes sunlight scoring, proximity relationship scoring, streamline scoring and comprehensive scoring. Through multi-dimensional scoring and multi-objective optimization algorithms, the optimal balance of the design scheme on multiple key performance indicators is achieved, and the overall quality and satisfaction of the design scheme are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

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

[0019] Figure 1 This is a flow chart of Embodiment 1 of the method for generating modular building layout of the present application; Figure 2 The overall system flow chart of the modular building layout generation method of this application; Figure 3 A flow chart of intelligent layout generation for the modular building layout generation method of this application; Figure 4 A multi-dimensional scoring flow chart of the modular building layout generation method for this application; Figure 5 A multi-objective optimization flow chart of the modular building layout generation method of this application; Figure 6 This is a schematic diagram of the module structure of the modular building layout generation system according to an embodiment of the present application; Figure 7 Schematic diagram of the device structure of the hardware operating environment involved in the modular building layout generation method in the embodiment of the present application.

[0020] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0021] 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.

[0022] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0023] 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 capable of realizing the above functions, a terminal system, etc. The following takes the system as an example to illustrate this embodiment and the following embodiments.

[0024] Based on this, this embodiment provides a modular building layout generation method, referring to Figure 1 , Figure 1 This is a flow chart of Embodiment 1 of the modular building layout generation method of the present application.

[0025] In this embodiment, the modular building layout generation method includes steps S10 to S30: Step S10, obtaining externally inputted building data, wherein the building data includes functional module data, design constraints, design target data, and building space data. The functional module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions of specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of flow lines, and satisfaction of neighboring relationships. The building space data includes building outlines and floor division data. It should be noted that functional module data refers to the detailed data that defines each functional module in the building (such as living room, bedroom, kitchen, etc.), including its geometric information (such as size, shape) and attribute information (such as type, functional requirements, etc.). Design constraints refer to the restrictions that must be met during the design process, such as restrictions on the total building area, floor height requirements, location restrictions on specific modules (such as the kitchen must be close to the exterior wall), and relative position requirements between modules. Design target data refers to the optimization goals pursued during the design process, such as maximizing space utilization, optimizing sunlight conditions, rationality of streamlines, and satisfaction of proximity relationships. Building space data refers to the detailed data of the building's outer contour and floor division, which is used to construct the basic spatial framework of the building.

[0026] This step is the data preparation stage, which collects and organizes functional module data, design constraints, design target data, and architectural space data. These data are the basis for the subsequent generation and optimization of layout plans. Various functional modules (such as living rooms, bedrooms, kitchens, etc.) are pre-defined, and each module contains geometric information (size, shape) and attribute information (type, functional requirements, etc.). Before defining functional modules, you can first define spatial units, including the three-dimensional coordinates of the corner points of spatial units, type attributes, such as entities or used spaces, and then calculate the width, height, and depth of the spatial units based on the corner point coordinates, as well as the position of the spatial units in the overall coordinate system. Functional modules are generated by combining spatial units and placed in the preset design space.

[0027] When initializing the building space, you must first determine the building's outer contour. Based on the total area requirements and site restrictions, generate the building's basic shape, which can be a rectangle, L-shape, or other irregular shape. When dividing the floors, determine the number of floors based on the total height and floor height requirements, and preliminarily divide the scope of each floor.

[0028] Step S20, using a multithreaded or distributed tool, placing functional modules in the building space according to a preset module placement algorithm, generating multiple space layout schemes, and when the number of space layout schemes meets a preset threshold of the number of schemes, fine-tuning the functional modules and filling unused spaces for all space layout schemes to obtain multiple first space layout schemes, and checking whether the adjusted first space layout schemes meet all design constraints, wherein the building space is a virtual space determined according to the building space data, and the functional module is a module determined according to the functional module data and placed in a preset design space; It should be noted that the module placement algorithm is an algorithm used to automatically or assist in placing functional modules in a building space, and find the optimal or feasible layout solution through calculation and analysis.

[0029] In order to improve efficiency, multi-threading or distributed computing technology is used to process the generation of multiple layout schemes at the same time. According to the predefined module placement algorithm, different functional modules are tried to be placed in the building space to generate multiple space layout schemes. The placement and inspection process is repeated until the number of generated space layout schemes reaches the preset threshold of the number of schemes. All generated layout schemes are fine-tuned (such as moving the module position, changing the rotation angle) and unused space is filled to improve space utilization and layout rationality. Verify whether the adjusted first space layout scheme meets all design constraints. If not, the unsatisfied first space layout scheme is rolled back to the space layout scheme state before adjustment. Furthermore, each time a new scheme is generated, the module selection order and rotation angle are randomized, which can introduce a certain random disturbance to increase the diversity of the scheme.

[0030] Step S30: If all first spatial layout schemes satisfy all design constraints, multi-dimensional scoring is performed on all first spatial layout schemes. Based on the multi-dimensional scoring, the first spatial layout schemes are optimized and screened using a multi-objective optimization algorithm to obtain an optimal scheme set. A target scheme selected externally from the optimal scheme set is obtained, and the target scheme is determined as the optimal layout scheme, wherein the multi-dimensional scoring includes a sunlight score, a proximity score, a streamline score, and a comprehensive score.

[0031] It should be noted that multi-dimensional scoring evaluates the layout plan from multiple dimensions (such as sunshine, proximity, streamlines, etc.) and gives corresponding scores to fully reflect the quality of the plan. The multi-objective optimization algorithm is an algorithm that finds the best balance point between multiple objectives. Through mathematical and logical operations, it selects the best solution that meets multiple optimization objectives from a set of candidate solutions.

[0032] All first spatial layout plans and all spatial layout plans that fall back to the original layout plan due to failure to meet design constraints are scored in multiple dimensions, including sunlight score, proximity score, streamline score, etc., to comprehensively evaluate the quality of the plan. Based on the multi-dimensional score, the spatial layout plan is optimized using a multi-objective optimization algorithm. The algorithm can find the best balance between multiple objectives to obtain a layout plan with the best overall performance. The optimized layout plan is output in a visual form (such as a 3D model, drawing, etc.) for designers to refer to and make decisions.

[0033] For example, refer to Figure 2 , Figure 2 This is the overall system flow chart of the modular building layout generation method of this application. Figure 2 In the design or optimization process, the user or system needs to clearly define the specific requirements and constraints of the design or optimization. These requirements and constraints may include space size, functional requirements, cost budget, time limit, etc. Based on the input design requirements and constraints, the spatial units and functional modules need to be defined next. The spatial unit refers to the physical or logical space that needs to be considered in the design or optimization process, while the functional module refers to the components or subsystems required to implement a specific function. After defining the spatial units and functional modules, the system or algorithm will automatically generate multiple possible layout schemes using intelligent technologies (such as machine learning, optimization algorithms, etc.). These layout schemes take into account the effective use of space, the implementation of functions, and other needs of users or systems. For each generated layout scheme, the system will perform a multi-dimensional score. The score will consider multiple aspects, such as space utilization, functional implementation effect, cost, aesthetics, etc. Through multi-dimensional scoring, the pros and cons of each layout scheme can be comprehensively evaluated. Based on the multi-dimensional scoring, the system will perform multi-objective optimization. Multi-objective optimization aims to find one or more layout schemes that achieve the best balance between multiple objectives. For example, it may be necessary to find a balance between space utilization and cost. After multi-objective optimization, the system will output the optimal layout solution or solution set. These solutions are derived based on design requirements and constraints, the definition of spatial units and functional modules, and the results of multi-dimensional scoring and multi-objective optimization.

[0034] In this embodiment, external input building data is obtained, wherein the building data includes functional module data, design constraints, design target data, and building space data. The functional module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions of specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of streamlines, and satisfaction of proximity relationships. The building space data includes building outlines and floor division data. The flexibility and personalization of the design are enhanced through modularization and input data, making the design easy to expand and maintain, while ensuring the accuracy, compliance, and efficient use of resources of the design scheme. Multithreading or distributed tools are used to place functional modules in the building space according to the module placement algorithm to generate multiple space layout schemes. When the number of space layout schemes meets the preset scheme number threshold, all space layout schemes are functionally allocated. Modules are fine-tuned and unused spaces are filled to obtain multiple first space layout schemes. It is checked whether the adjusted first space layout scheme meets all design constraints. If the first space layout scheme does not meet any design constraint, it will roll back to the state before the adjustment. The architectural space is generated by architectural space data, and the functional module is generated by functional module data, which accelerates the design iteration process, improves design efficiency, and ensures the accuracy and compliance of the design scheme. All first space layout schemes are scored in multiple dimensions, and the space layout scheme is optimized using a multi-objective optimization algorithm based on the multi-dimensional scoring to obtain the optimal layout scheme. The multi-dimensional scoring includes sunlight scoring, proximity relationship scoring, streamline scoring and comprehensive scoring. The optimal layout scheme includes multiple first space layout schemes. Through multi-dimensional scoring and multi-objective optimization algorithms, the optimal balance of the design scheme on multiple key performance indicators is achieved, which improves the overall quality and satisfaction of the design scheme.

[0035] In a feasible implementation, the steps in step S20 may include step T10: Step T10, generating a three-dimensional model according to the first spatial layout solution, and displaying the three-dimensional model on an interactive interface, wherein the interactive interface provides scaling and rotation functions of the three-dimensional model.

[0036] It should be noted that a 3D model is a mathematical model that represents an object or space in three dimensions in a computer. In architectural design, 3D models are used to intuitively display the layout, structure and appearance of a building space. An interactive interface is a graphical interface for users to interact with a computer system, through which users can input commands, view information and interact with it. In architectural design, interactive interfaces are often used to display 3D models and provide functions such as zooming and rotating so that users can observe the design from different angles.

[0037] First, the system takes the detailed data of the first spatial layout plan as input. Using this information, the system constructs the corresponding three-dimensional model through internal algorithms (such as geometric modeling, texture mapping, etc.). This process converts the two-dimensional design plan into a three-dimensional form in three-dimensional space, including all components such as walls, columns, rooms, corridors, etc. During the construction process, the system will optimize the model, such as smoothing, adding lighting effects, etc., to enhance the realism and visual effects of the model. After the system is loaded, the generated three-dimensional model will be loaded into the interactive interface to ensure that the model can be displayed correctly on the interface. Users can scale and rotate the three-dimensional model through the controls on the interactive interface to observe the details and overall layout of the model from different angles and distances. During the observation process, users can evaluate the design of the model, including whether the spatial layout is reasonable, whether the light distribution is uniform, and whether the streamline is smooth. At the same time, users can provide feedback to the system through the feedback mechanism on the interface (such as comments, scoring, etc.). Based on the user's feedback, the system can adjust the layout generation strategy, such as increasing the features of high-scoring plans and reducing the features of low-scoring plans.

[0038] Through this embodiment, the system can accurately convert the first spatial layout plan into a three-dimensional model and intuitively display it on the interactive interface. This function not only greatly improves the presentation effect of the design results, allowing users to examine every detail of the building from any angle and in detail, but also enhances the user experience through interactive functions such as zooming and rotating, making it easier for users to deeply understand and evaluate the design plan. At the same time, the immediacy of user feedback provides a valuable basis for the continuous optimization of the design, helps the system to continuously optimize the layout generation strategy, and promotes the development of architectural design in a more efficient, accurate, and humanized direction.

[0039] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above introduction, and will not be repeated hereafter. On this basis, the steps of step S20 also include steps A10 to A30: Step A10, randomly selecting or specifying a functional module in the design space as the first functional module according to the module placement algorithm; Reference Figure 3 , Figure 3 This is a flow chart of intelligent layout generation of the modular building layout generation method of this application. The system first randomly selects or specifies (such as user input) a functional module from the design space as the "first functional module" to be placed in the building space according to the preset module placement algorithm. Then, a rotation angle (such as 0°, 90°, 180°, 270°) is randomly assigned to the functional module to adjust its direction.

[0040] Step A20, randomly selecting or specifying a placement position of the first functional module in the building space; if the placement position has a spatial conflict with a placement position of an existing functional module in the building space, returning to the step of randomly selecting or specifying a placement position of the first functional module in the building space according to the placement position with the spatial conflict; if the placement position has no spatial conflict with a placement position of an existing functional module in the building space, moving the first functional module to a placement position in the building space without the spatial conflict; It should be noted that when trying to place a functional module into a building space, if the newly placed functional module overlaps with the already placed functional module in physical position or violates the preset design constraints (such as minimum spacing, specific location restrictions, etc.), it is called a space conflict.

[0041] Reference Figure 3 , the system randomly selects a position in the building space (starting from a corner of the building and gradually trying various possible positions) or specifies a selection (such as user input) as the placement position of the first functional module. Then, check whether the position has a spatial conflict with the placed functional modules (such as overlap, violation of the minimum spacing, etc.). If there is a spatial conflict, re-randomly select or specify a position until a position without spatial conflict is found. After finding a position without spatial conflict, the system will determine whether the functional module is successfully placed. If not, the placement position will be tried again. If the placement is successful, the available space will be updated.

[0042] Step A30, determine whether all functional modules in the design space have been moved to the building space. If there are functional modules in the design space that have not been moved to the building space, return to the step of randomly selecting or specifying a functional module in the design space. If all functional modules in the design space have been moved to the building space, determine the layout of the building space after placement as the space layout plan.

[0043] Reference Figure 3 , the system checks whether all functional modules in the design space have been placed according to the design requirements, or checks whether there is any available space in the building space. If there are unplaced functional modules in the design space or there is available space in the building space, repeat steps A10 and A20 to place the next functional module; if all functional modules have been placed or there is no available space in the building space, proceed to the next step. When all functional modules are successfully placed in the building space according to the design requirements and no design constraints and space conflicts are violated, the system determines that the current building space layout is a valid space layout plan.

[0044] Furthermore, before storing the solution, the solution can be locally optimized, including module fine-tuning and space filling. After the local optimization, it can be checked whether the optimized solution still meets all design constraints. If not, it can be rolled back to the state before optimization.

[0045] Through the iterative process of this embodiment, the system can efficiently and flexibly construct a variety of architectural space layout schemes. First, the functional modules and their rotation angles are randomly or specified to increase the diversity and innovation of the layout. Then, the placement positions are randomly selected under the premise of avoiding spatial conflicts to ensure the rationality of the layout. When all functional modules are successfully placed to form a conflict-free spatial layout, the system generates an effective spatial layout scheme. This process not only improves the design efficiency, but also ensures the quality and feasibility of the layout scheme through local optimization and constraint checking. Finally, the system can output multiple layout schemes that meet the design requirements, providing designers with a rich choice space and promoting the innovation and development of architectural design.

[0046] Based on the first or second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first or second embodiment can be referred to the above description, and will not be described in detail later. Step S30 also includes steps B10 to B40: Step B10, calculating the sunshine area of ​​each functional module in the first spatial layout scheme, and comparing the sunshine area with the preset sunshine demand to obtain a sunshine score, wherein the sunshine demand is related to the module attribute of the functional module; It should be noted that the sunlight area refers to the total area of ​​natural light received by the outward-facing surface of the functional module. It is an important indicator for evaluating the lighting performance of building space. The sunlight demand is the minimum sunlight area or percentage requirement of the total area set according to the attributes of the functional module (such as room type, usage function, etc.), which is used to measure whether the functional module meets the basic lighting needs.

[0047] Reference Figure 4 , Figure 4 This is a multi-dimensional scoring flow chart for the modular building layout generation method of this application. First, for each functional module in the first spatial layout plan, identify the surfaces facing the outside in the functional module, and calculate the total area of ​​these surfaces as the sunlight area. Different sunlight demand standards are set according to the attributes of the functional modules (such as bedrooms, living rooms, etc.). These standards can be minimum sunlight areas or percentages of the total area. Compare the actual sunlight area with the preset sunlight demand. If the actual area meets or exceeds the demand, full marks are given; if it is insufficient, scores are given proportionally. The sunlight scores of all functional modules are averaged to obtain a sunlight score.

[0048] Step B20, calculating the actual proximity between each functional module in the first spatial layout solution, and comparing the actual proximity with the preset ideal proximity requirement to obtain a proximity relationship score; It should be noted that proximity refers to the spatial proximity between different functional modules, including the distance in the horizontal and vertical directions. It is an important indicator for evaluating the rationality of the spatial relationship between functional modules. Proximity requirements are the ideal proximity between functional modules that are pre-set, and are used to guide the spatial layout of functional modules during the design process to ensure the rationality of the spatial relationship.

[0049] Reference Figure 4 , pre-define a matrix to represent the ideal proximity between different functional modules. Analyze the relative position of each functional module in the layout, consider the horizontal and vertical distances, and use Euclidean distance or other distance measurement methods to calculate the actual proximity. Compare the actual proximity with the preset ideal proximity, and the smaller the difference, the higher the score. Average the proximity relationship scores between all functional module pairs (two adjacent functional modules) to get the overall score.

[0050] Step B30, constructing a connectivity graph of the first spatial layout solution, determining a connectivity component score and a streamline efficiency score according to the connectivity graph, performing weighted calculation on the connectivity component score and the streamline efficiency score according to preset weights, and determining a streamline score according to the calculation result, wherein the connectivity component is a collection of all the functional modules of the building space that are interconnected through direct or indirect channels; It should be noted that the connected component is a collection of all functional modules that are interconnected through direct or indirect channels in the building space layout. The number and size of connected components reflect the connectivity and efficiency of the building's internal space. The streamline score is a quantitative score of the convenience of internal traffic in the building based on factors such as the horizontal connectivity between functional modules and the number and size of connected components.

[0051] Reference Figure 4 , check whether there is a direct channel between adjacent functional modules, and construct a connectivity graph to represent the connection relationship between modules. Use graph theory algorithms (such as depth-first search) to find all connected components, and calculate their number and size to obtain the connected component score. Consider factors such as the longest path length, whether there is a circular path, and whether there is unnecessary detours to evaluate the streamline efficiency score inside the building. Based on the connected component score and the streamline efficiency score, the streamline score is calculated according to the preset weights.

[0052] Step B40, determining a multi-dimensional score based on the scores of the three dimensions of sunshine score, proximity score, and streamline score.

[0053] It should be noted that in this embodiment, the multi-dimensional scoring is a comprehensive scoring of the spatial layout scheme by taking into account multiple dimensions such as sunshine score, proximity score and streamline score, etc. It includes the single-dimensional score of each functional module, the total score of the functional module, the single-dimensional average score of the first spatial layout scheme and the total average score.

[0054] Reference Figure 4 , set weights for the three dimensions of sunlight, proximity, and flow (either for individual functional modules or for the overall spatial layout scheme) to reflect their importance in the overall evaluation. Multiply the scores of the three dimensions by their respective weights, and add the weighted scores to get the total score. Then, divide the total score by the sum of the weights to get the final comprehensive score (the score of the overall spatial layout scheme can be the average of the scores of all functional modules). Normalize the comprehensive score to a range of 0-100 or 0-1 to facilitate comparison between different schemes.

[0055] This embodiment can comprehensively and meticulously evaluate multiple key performance indicators of the building space layout scheme. First, calculate the sunlight area and compare it with the preset requirements to ensure that each functional module obtains sufficient natural light and improves the comfort of living and working. Secondly, evaluate the proximity relationship between functional modules to ensure that the spatial layout not only meets functional requirements but also promotes interaction efficiency and improves the overall user experience. Furthermore, analyze horizontal connectivity, optimize streamline design, reduce unnecessary detours, and improve traffic efficiency and convenience. Finally, the scores of these three dimensions are combined to obtain an overall evaluation of the scheme, providing designers with quantitative and multi-dimensional design feedback. This method not only improves the scientificity and accuracy of design evaluation, but also promotes the continuous optimization and innovation of design schemes.

[0056] In a feasible implementation manner, step B10 further includes steps B101 to B103: Step B101, for each functional module in the first spatial layout scheme, identifying the surface of the functional module facing outward, calculating the total area of ​​the surface, and taking the total area as the sunlight area; It should be noted that the outward-facing surface is the surface in the building functional module that can receive natural light and faces the outdoor environment, such as the wall where the window is located. The sunlight demand is the minimum sunlight area or percentage requirement of the total area set according to the type and functional requirements of the functional module to ensure that the space in the module can obtain sufficient natural light.

[0057] Determine which surfaces in the functional module face the outside, such as the walls where the windows are located. Then, use the measurement tool to calculate the area of ​​these surfaces and add them up to get the total area, which is the daylight area of ​​the single functional module.

[0058] Step B102, determining the ratio of the sunshine area to the required area in the sunshine demand, and determining the sunshine score according to the ratio; It should be noted that the sunshine score is calculated based on the ratio of the sunshine area obtained by the module to its sunshine demand, and is used to measure the degree to which the functional module meets the natural lighting requirements. The preset sunshine score is the highest score set in advance, indicating that the sunshine demand is fully met.

[0059] According to the type and functional requirements of the functional module, determine its sunlight demand (minimum sunlight area or proportion). Then, calculate the ratio of the total area to the sunlight demand. If the ratio is greater than or equal to 1, it means that the sunlight area obtained by the module meets or exceeds the demand, and the sunlight score is the preset full score; if the ratio is less than 1, the sunlight score is the full score multiplied by the ratio. By comparing the actual sunlight area obtained with the set requirements, the degree of satisfaction of the functional module in terms of natural light is quantitatively evaluated. Using the ratio to calculate the score can intuitively and accurately reflect the sunlight satisfaction of the module.

[0060] Step B103, calculating the average of the module sunlight scores of all functional modules in the first spatial layout solution to obtain the sunlight score.

[0061] It should be noted that the sunlight score is the average of the sunlight scores of all functional modules, which is used to comprehensively evaluate the performance of the entire building in terms of spatial sunlight.

[0062] Add up the sunshine scores of each functional module and then divide it by the total number of functional modules to get the average sunshine score.

[0063] In a feasible implementation manner, step B20 further includes steps B201 to B203: Step B201, according to the relative position of each of the functional modules in the first spatial layout scheme, using a distance measurement algorithm to calculate the actual proximity; It should be noted that the actual proximity refers to the actual spatial proximity between the functional modules in the current spatial layout plan, calculated by a distance measurement method (such as Euclidean distance) based on their relative positions in the building space. The ideal proximity is represented by an idealized proximity relationship matrix pre-defined by the designer or the system, which reflects the ideal spatial proximity that should be maintained between different functional modules. For example, the proximity between the kitchen and the dining room should be high, while the proximity between the bedroom and the living room may be low.

[0064] Step B202, calculating the difference between the actual proximity and the preset ideal proximity, and determining the module proximity score according to the difference result and a preset difference score mapping table, wherein the ideal proximity is represented by an ideal proximity matrix; It should be noted that the module proximity score is determined by comparing the actual proximity between functional modules with the ideal proximity, and based on this difference, the proximity score is determined from a preset difference score mapping table to evaluate whether the spatial relationship between functional modules in the current spatial layout plan is reasonable.

[0065] Step B203, calculating an average value of the module proximity relationship scores corresponding to all the functional modules, and using the calculated average value as the proximity relationship score.

[0066] It should be noted that the proximity score is the score obtained by averaging the proximity scores between all pairs of functional modules (two adjacent functional modules), which is used to comprehensively evaluate the rationality of the proximity of the entire spatial layout plan.

[0067] After obtaining the module proximity scores between all functional module pairs, these scores are averaged. That is, all the score values ​​are added up and divided by the total number of functional module pairs to obtain the proximity score. The overall score is a comprehensive evaluation of the entire spatial layout plan in the dimension of proximity. Through averaging, the excessive influence of individual functional modules on the scoring results can be eliminated, thereby obtaining a more comprehensive and objective evaluation result. The overall score directly reflects the pros and cons of the spatial layout plan in terms of proximity.

[0068] In a feasible implementation manner, step B30 further includes steps B301 to B303: Step B301, constructing a connectivity graph according to direct channels between adjacent functional modules in the first spatial layout solution; It should be noted that a connected graph refers to a graph in which there is a path between any two vertices in the graph. In this embodiment, the connected graph is constructed based on direct channels between functional modules, indicating the connection relationship between functional modules.

[0069] First, based on the direct channels (such as corridors, doors, etc.) between adjacent functional modules, the functional modules are regarded as vertices of the graph and the channels are regarded as edges of the graph, and a connected graph is constructed. This graph reflects the connection relationship between functional modules.

[0070] Step B302, using a preset graph theory algorithm to find all connected components in the connected graph; It should be noted that graph theory algorithms are algorithms for processing graph structure data, and are used to solve problems such as graph traversal, search, path finding, shortest path, and maximum flow. In this embodiment, graph theory algorithms are used to find connected components in a connected graph. In graph theory, a connected component refers to the largest connected subgraph in a graph. In an undirected graph, if there is at least one path between two vertices, the two vertices are said to be connected. A connected component is a subgraph in a graph, in which any two vertices are connected, and are not connected to vertices outside the subgraph.

[0071] Next, use graph theory algorithms (such as depth-first search DFS or breadth-first search BFS) to traverse the connected graph and find all connected components. These connected components represent subsets that are fully connected between functional modules. The number and size of the connected components found are counted, and a scoring standard is formulated based on the number and size of the connected components. The scoring standard can be set according to actual needs. For example, an ideal number and size range of connected components can be set, and scores can be given based on actual conditions. According to the scoring standard, each connected component is scored, and the average score or total score of all connected components is calculated as the connected component score.

[0072] Step B303, analyzing the connected paths according to the connected graph, and determining the streamline efficiency according to the connected paths, wherein analyzing the connected paths according to the connected graph includes calculating the longest path length, analyzing whether there is a circular path, and checking whether there is unnecessary detour.

[0073] It should be noted that in graph theory, the longest path length refers to the length of the longest path among all possible paths between two points in the graph. In this step, the longest path length is used to evaluate the rationality of the internal passage path of the building. Too long a path may cause inconvenience in passage. Streamline efficiency is an indicator to measure the degree of connectivity between vertices in the graph. In this step, streamline efficiency is related to the direct connectivity between functional modules and the rationality of the path. High efficiency means better streamline design.

[0074] Calculate the degree of direct connectivity between functional modules. More direct channels mean better connectivity. Use graph theory algorithms (such as Dijkstra's algorithm or Floyd-Warshall's algorithm) to calculate the shortest paths between all pairs of vertices in the connected graph. Among all the shortest paths, find the path with the longest length and record its length. Traverse the connected graph to check whether there is a circular path. A circular path can be identified by detecting whether there is a path that starts from a vertex and eventually returns to the vertex. If a circular path is found, record its length and the vertices involved. At the same time, analyze whether there is an unnecessary detour path. Unnecessary detour paths can be identified by comparing the difference between the actual path length and the shortest path length. According to the longest path length, circular paths, and unnecessary detours, formulate a streamline efficiency scoring standard. The scoring standard can be set according to actual needs, for example, an ideal maximum path length range, a limit on the number of circular paths, and a limit on the number of unnecessary detour paths can be set. Score the streamline efficiency according to the scoring standard. If necessary, additional scoring or weighting can be performed based on other statistics (such as the average path length or the standard deviation of the path length).

[0075] Through the detailed steps, this embodiment demonstrates higher accuracy and comprehensiveness in evaluating the architectural space layout plan. By calculating the actual sunlight area of ​​the functional modules in detail and quantifying the scores according to the preset requirements, the full consideration of natural light is ensured. By comparing the actual and ideal proximity, the rationality of the spatial relationship between the functional modules is accurately evaluated, which promotes the optimized layout of the functional areas. By innovatively constructing a connectivity graph and using graph theory algorithms to deeply analyze the pros and cons of streamline design, not only connectivity and streamline efficiency are considered, but also unnecessary detours are avoided through the evaluation of the longest path length, further improving the convenience of traffic inside the building and the overall design quality. The implementation of this series of detailed steps provides a more scientific and comprehensive basis for the evaluation of architectural space layout plans, and promotes the continuous optimization and innovation of design plans.

[0076] Based on the first to third embodiments of the present application, in the fourth embodiment of the present application, the same or similar contents as those of the first to third embodiments can be referred to the above description, and will not be described in detail later. Step S10 also includes steps C10 to C20: Step C10, setting the parameters of the multi-objective optimization algorithm, and setting the objective function of the multi-objective optimization algorithm according to the multi-dimensional scoring; It should be noted that a multi-objective optimization algorithm is an algorithm that optimizes two or more objective functions simultaneously under a given set of constraints. These objective functions are usually conflicting, that is, the improvement of one objective may lead to the deterioration of another objective. In mathematical optimization problems, the objective function is a function that needs to be maximized or minimized, which is used to measure the quality of the solution. In this embodiment, the objective function includes maximizing the sunshine score, the neighbor relationship score and the streamline score, which are used to evaluate the pros and cons of the layout. In multi-objective optimization, if there is no other solution that can improve at least one objective function without making any objective function worse, the solution is called a Pareto optimal solution. The set of all Pareto optimal solutions is called the Pareto optimal solution set.

[0077] If you want to perform multi-objective optimization on the spatial layout plan, you first need to configure the basic parameters of the multi-objective optimization algorithm, such as population size, number of iterations, crossover rate, and mutation rate, which directly affect the algorithm's search efficiency and performance. Next, define three objective functions: maximizing the sunlight score (evaluating the sunlight conditions of buildings or areas in the layout), maximizing the proximity score (measuring the spatial proximity or convenience between elements), and maximizing the streamline score (evaluating the flow efficiency of people or logistics within the layout). These objective functions quantify different aspects of the layout through mathematical expressions and are the goal orientation of the optimization algorithm.

[0078] Step C20, setting the constraint conditions of the multi-objective optimization algorithm, executing the multi-objective optimization algorithm on the first spatial layout solution to obtain a Pareto optimal solution set, and determining the Pareto optimal solution set as the optimal solution set.

[0079] It should be noted that constraints are restrictions imposed on the values ​​of variables or the characteristics of solutions in optimization problems. These conditions are used to ensure the feasibility and effectiveness of the solution in practical applications.

[0080] Constraints are restrictions imposed on layout solutions to ensure that the generated solutions meet actual needs or physical limitations. For example, they may include minimum spacing requirements between functional modules, minimum sunlight area restrictions for functional modules, etc. These constraints are expressed in the form of mathematical inequalities or equations and used as constraints in the optimization algorithm to ensure that all generated layout solutions are feasible. After setting the algorithm parameters, objective functions, and constraints, the multi-objective optimization algorithm starts running. The algorithm iteratively searches the solution space to generate a series of candidate layout solutions and evaluates the performance of each solution on the three objective functions. During the iteration process, the algorithm retains solutions with excellent performance according to a certain selection mechanism (such as non-dominated sorting) and generates new candidate solutions based on these solutions. Finally, the algorithm converges to a set of multiple Pareto optimal solutions that achieve the best balance between objective functions. Since the Pareto optimal solution set may contain multiple solutions, and these solutions cannot be directly compared between objective functions (that is, there is no absolute "best" solution), it is necessary to select one or several solutions from them as the final optimal layout solution based on actual needs or preferences. This usually involves the subjective judgment of the decision maker or further evaluation criteria (such as cost-benefit analysis, user satisfaction survey, etc.). The final layout solution should be the one with the best comprehensive performance under all considerations.

[0081] For example, refer to Figure 5 , Figure 5This is a multi-objective optimization flow chart of the modular building layout generation method of this application. Taking the system of multi-objective optimization algorithm using population algorithm (hereinafter referred to as algorithm) as an example, when the system generates multiple scored first space layout schemes (hereinafter referred to as schemes) and optimizes them, the algorithm randomly generates an initial population. These schemes are evenly distributed in the solution space in the hope of covering as much solution space as possible. For each scheme in the population, the algorithm calculates its corresponding objective function value. The objective function is a criterion for evaluating the quality of the scheme. Depending on the problem, the design of the objective function will also be different. The algorithm determines which schemes are excellent and which are poor by comparing the objective function values. Based on the objective function value of the scheme, the algorithm performs a selection operation to select excellent schemes from the current population as parents for generating the next generation of population. The selection operation follows the principle of survival of the fittest, that is, excellent schemes are more likely to be selected as parents. The selected parent schemes will undergo a crossover operation, that is, some genes between them will be exchanged to generate new schemes. The crossover operation is the main way to generate new solutions in genetic algorithms. Through the crossover operation, the algorithm can explore new solution spaces. In order to increase the diversity of the population and prevent the algorithm from falling into the local optimal solution, the algorithm will perform mutation operations on the newly generated solutions (under constraints). The mutation operation randomly changes certain genes in the solution with a certain probability to generate a new solution. The mutation operation is an important means to jump out of the local optimal solution in the genetic algorithm. After completing an iteration (i.e., selection, crossover, and mutation operations), the algorithm will check whether the termination condition is met. The termination condition can be reaching a predetermined number of iterations, the optimal solution in the population no longer improves in multiple consecutive iterations, etc. If the termination condition is met, the algorithm stops running; otherwise, the generated new population is used as the current population and the next round of iterations continues. When the algorithm meets the termination condition, it will output the optimal solution or Pareto optimal solution set in the current population. In multi-objective optimization problems, there may be multiple solutions that cannot be directly compared in terms of quality. These solutions are called Pareto optimal solutions. The algorithm will output these solutions for users to further analyze and select, and users will filter out the final optimal layout solution from the Pareto optimal solution set.

[0082] This embodiment effectively integrates the multi-objective optimization algorithm, while ensuring the maximization of sunlight, proximity and streamline scores, it fully considers the actual constraints. This not only improves the overall performance of the spatial layout plan, but also ensures the feasibility and practicality of the plan. The use of multi-objective optimization algorithms makes it possible to find the best balance between complex design requirements, avoiding other performance losses that may be caused by a single optimization goal. In the end, the optimal layout plan selected from the Pareto optimal solution set not only reflects the scientific quantitative evaluation results, but also takes into account the various needs of practical applications, providing strong technical support and decision-making basis for the optimization of building space layout.

[0083] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the modular building layout generation method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0084] This application also provides a modular building layout generation system, please refer to Figure 6 , the modular building layout generation system includes: The data input module 10 obtains external input building data, wherein the building data includes function module data, design constraints, design target data, and building space data. The function module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions of specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of flow lines, and satisfaction of neighboring relationships. The building space data includes building outlines and floor division data. The scheme generating module 20 uses a multi-threaded or distributed tool to place functional modules in the building space according to a preset module placement algorithm to generate multiple space layout schemes. When the number of space layout schemes meets a preset scheme number threshold, fine-tune the functional modules and fill unused spaces for all space layout schemes to obtain multiple first space layout schemes, and check whether the adjusted first space layout schemes meet all design constraints, wherein the building space is a virtual space determined according to the building space data, and the functional module is a module determined according to the functional module data and placed in the preset design space; The scoring optimization module 30 performs multi-dimensional scoring on all first spatial layout schemes if all the first spatial layout schemes satisfy all the design constraints. Based on the multi-dimensional scoring, the first spatial layout schemes are optimized and screened using a multi-objective optimization algorithm to obtain an optimal scheme set, obtain an external target scheme selected from the optimal scheme set, and determine the target scheme as the optimal layout scheme, wherein the multi-dimensional scoring includes a sunlight score, a proximity score, a streamline score, and a comprehensive score.

[0085] The modular building layout generation system provided by the present application adopts the modular building layout generation method in the above embodiment, which can solve the technical problem of insufficient accuracy of building layout generation. Compared with the prior art, the beneficial effects of the modular building layout generation system provided by the present application are the same as the beneficial effects of the modular building layout generation method provided by the above embodiment, and other technical features of the modular building layout generation system are the same as the features disclosed in the above embodiment method, which will not be described in detail here.

[0086] The present application provides a modular building layout generation 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 so that the at least one processor can execute the modular building layout generation method in the above-mentioned embodiment 1.

[0087] Reference below Figure 7 , which shows a schematic diagram of the structure of a modular building layout generation device suitable for implementing the embodiment of the present application. The modular building layout generation device in the embodiment of the present 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 7 The modular building layout generation device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0088] like Figure 7As shown, the modular building layout generation device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can 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 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the modular building layout generation device are also stored. The processing device 1001, ROM1002, and RAM1004 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 can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, 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 can allow the modular building layout generation device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a modular building layout generation 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 can be implemented or have alternatively.

[0089] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. 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 a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0090] The modular building layout generation device provided by the present application adopts the modular building layout generation method in the above embodiment, which can solve the technical problem of insufficient accuracy of building layout generation. Compared with the prior art, the beneficial effects of the modular building layout generation device provided by the present application are the same as the beneficial effects of the modular building layout generation method provided by the above embodiment, and other technical features in the modular building layout generation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0091] It should be understood that the various parts 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 any one or more embodiments or examples in a suitable manner.

[0092] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0093] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the modular building layout generation method in the above-mentioned embodiment.

[0094] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0095] The computer-readable storage medium may be included in the modular building layout generation device; or may exist independently without being assembled into the modular building layout generation device.

[0096] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the modular building layout generation device, the modular building layout generation device: Acquire externally input building data, wherein the building data includes function module data, design constraints, design target data, and building space data. The function module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions of specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of flow lines, and satisfaction of neighboring relationships. The building space data includes building outlines and floor division data. Using multi-threaded or distributed tools, functional modules are placed in the building space according to the module placement algorithm to generate multiple space layout schemes. When the number of space layout schemes meets a preset threshold of the number of schemes, the functional modules are fine-tuned and unused spaces are filled in all space layout schemes to obtain multiple first space layout schemes. It is checked whether the adjusted first space layout schemes meet all design constraints. If the first space layout scheme does not meet any design constraint, it is rolled back to the state before the adjustment, wherein the building space is generated by the building space data, and the functional modules are generated by the functional module data; All first spatial layout plans are scored in multiple dimensions, and the spatial layout plans are optimized using a multi-objective optimization algorithm based on the multi-dimensional scoring to obtain the optimal layout plan, wherein the multi-dimensional scoring includes a sunlight score, a proximity score, a streamline score, and a comprehensive score, and the optimal layout plan includes multiple first spatial layout plans.

[0097] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate 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., via the Internet using an Internet service provider).

[0098] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0099] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0100] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned modular building layout generation method, and can solve the technical problem of insufficient accuracy in building layout generation. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the modular building layout generation method provided in the above-mentioned embodiment, and will not be described in detail here.

[0101] The present application also provides a computer program product, including a computer program, which implements the steps of the modular building layout generation method as described above when the computer program is executed by a processor.

[0102] The computer program product provided by the present application can solve the technical problem of insufficient accuracy in building layout generation. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the modular building layout generation method provided by the above embodiment, which will not be described in detail here.

[0103] The above are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A modular building layout generation method, characterized in that: The modular building layout generation method comprises: Acquire externally input building data, wherein the building data includes function module data, design constraints, design target data, and building space data. The function module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions for specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of flow lines, and satisfaction of neighboring relationships. The building space data includes building outlines and floor division data. Using a multithreaded or distributed tool, functional modules are placed in the building space according to a preset module placement algorithm to generate a plurality of space layout schemes. When the number of the space layout schemes meets a preset threshold of the number of schemes, functional modules are fine-tuned and unused spaces are filled in all the space layout schemes to obtain a plurality of first space layout schemes. It is checked whether the adjusted first space layout schemes meet all the design constraints, wherein the building space is a virtual space determined according to the building space data, and the functional modules are modules determined according to the functional module data and are placed in a preset design space. If all of the first spatial layout schemes satisfy all of the design constraints, a multi-dimensional scoring is performed on all of the first spatial layout schemes. Based on the multi-dimensional scoring, the first spatial layout schemes are optimized and screened using a multi-objective optimization algorithm to obtain an optimal scheme set, and a target scheme selected externally from the optimal scheme set is obtained, and the target scheme is determined as the optimal layout scheme, wherein the multi-dimensional scoring includes a sunlight score, a proximity score, a streamline score, and a comprehensive score.

2. The modular building layout generation method according to claim 1, characterized in that: The step of placing functional modules in the building space according to a preset module placement algorithm to generate multiple space layout solutions includes: According to the module placement algorithm, randomly or specifically select a functional module in the design space as a first functional module; Randomly selecting or specifying a placement position of the first functional module in the building space, and if there is a spatial conflict between the placement position and a placement position of an existing functional module in the building space, returning to the step of randomly selecting or specifying a placement position of the first functional module in the building space according to the placement position with the spatial conflict; If there is no spatial conflict between the placement position and the placement position of an existing functional module in the building space, moving the first functional module to the placement position in the building space where there is no spatial conflict; Determine whether all the functional modules in the design space have been moved to the building space. If there are functional modules in the design space that have not been moved to the building space, return to the step of randomly selecting or specifying a functional module in the design space. If all the functional modules in the design space have been moved to the building space, determine that the layout of the building space after placement is completed is the space layout plan.

3. The modular building layout generation method according to claim 1, characterized in that: The step of performing multi-dimensional scoring on all the first spatial layout schemes comprises: Calculating the sunshine area of ​​each of the functional modules in the first spatial layout scheme, and comparing the sunshine area with a preset sunshine demand to obtain a sunshine score, wherein the sunshine demand is related to the module attributes of the functional module; Calculating the actual proximity between each of the functional modules in the first spatial layout scheme, and comparing the actual proximity with a preset ideal proximity requirement to obtain a proximity relationship score; Constructing a connectivity graph of the first spatial layout solution, determining a connectivity component score and a streamline efficiency score according to the connectivity graph, performing weighted calculation on the connectivity component score and the streamline efficiency score according to preset weights, and determining a streamline score according to the calculation result, wherein the connectivity component is a collection of all the functional modules of the building space that are interconnected through direct or indirect channels; A multi-dimensional score is determined based on the scores of the three dimensions of the sunshine score, the proximity score, and the streamline score.

4. The modular building layout generation method according to claim 3, characterized in that: The step of calculating the sunshine area of ​​each functional module in the first spatial layout scheme, and comparing the sunshine area with the preset sunshine demand to obtain a sunshine score comprises: For each of the functional modules in the first spatial layout scheme, identifying the surface of the functional module facing outward, calculating the total area of ​​the surface, and using the total area as the sunlight area; Determine a ratio of the sunshine area to the required area in the sunshine demand, and determine a sunshine score of the module according to the ratio; An average value of the module sunlight scores of all the functional modules in the first spatial layout scheme is calculated to obtain a sunlight score.

5. The modular building layout generation method according to claim 3, characterized in that: The step of calculating the actual proximity between each of the functional modules in the first spatial layout scheme, and comparing the actual proximity with a preset ideal proximity requirement to obtain a proximity relationship score comprises: According to the relative position of each of the functional modules in the first spatial layout scheme, the actual proximity is calculated using a distance measurement algorithm; Calculate the difference between the actual proximity and the preset ideal proximity, and determine the module proximity score according to the difference result and a preset difference score mapping table, wherein the ideal proximity is represented by an ideal proximity matrix; An average value of the module proximity relationship scores corresponding to all the functional modules is calculated, and the calculated average value is used as the proximity relationship score.

6. The modular building layout generation method according to claim 3, characterized in that: The steps of constructing a connectivity graph of the first spatial layout solution and determining a connectivity component score and a streamline efficiency score according to the connectivity graph include: constructing the connectivity graph according to direct channels between adjacent functional modules in the first spatial layout scheme; Using a preset graph theory algorithm to find all connected components in the connected graph, and determining connected component scores according to the number and size of the connected components; The connected paths are analyzed according to the connected graph, and the streamline efficiency scores are determined according to the connected paths, wherein the connected paths are analyzed according to the connected graph including calculating the longest path length, analyzing whether there are circular paths, and checking whether there are unnecessary detours.

7. The modular building layout generation method according to claim 1, characterized in that: The step of optimizing and screening the first spatial layout scheme using a multi-objective optimization algorithm based on the multi-dimensional scoring to obtain the optimal scheme set comprises: Setting parameters of the multi-objective optimization algorithm, and setting an objective function of the multi-objective optimization algorithm according to the multi-dimensional score; The constraints of the multi-objective optimization algorithm are set, the multi-objective optimization algorithm is executed on the first spatial layout scheme to obtain a Pareto optimal solution set, and the Pareto optimal solution set is determined as the optimal scheme set.

8. The modular building layout generation method according to claim 1, characterized in that: The step of obtaining a plurality of first spatial layout solutions comprises: A three-dimensional model is generated according to the first spatial layout solution, and the three-dimensional model is displayed on an interactive interface, wherein the interactive interface provides scaling and rotation functions for the three-dimensional model.

9. A modular building layout generation system, characterized in that: The modular building layout generation system comprises: A data input module is used to obtain externally input building data, wherein the building data includes function module data, design constraints, design target data, and building space data. The function module data includes geometric information and attribute information. The design constraints include total building area restrictions, floor height requirements, location restrictions for specific modules, and relative location requirements between modules. The design target data includes maximizing space utilization, optimizing sunlight conditions, rationality of flow lines, and satisfaction of neighboring relationships. The building space data includes building outlines and floor division data. A scheme generating module, using a multi-threaded or distributed tool, places functional modules in the building space according to a preset module placement algorithm to generate a plurality of space layout schemes, and when the number of the space layout schemes meets a preset threshold of the number of schemes, performs fine-tuning of the functional modules and filling of unused spaces on all the space layout schemes to obtain a plurality of first space layout schemes, and checks whether the adjusted first space layout schemes meet all the design constraints, wherein the building space is a virtual space determined according to the building space data, and the functional modules are modules determined according to the functional module data and are placed in a preset design space; A scoring optimization module is provided, if all the first spatial layout schemes satisfy all the design constraints, then all the first spatial layout schemes are scored in multiple dimensions, and based on the multi-dimensional scoring, the first spatial layout schemes are optimized and screened using a multi-objective optimization algorithm to obtain an optimal solution set, and a target solution selected externally from the optimal solution set is obtained, and the target solution is determined as the optimal layout solution, wherein the multi-dimensional scoring includes a sunlight score, a proximity score, a streamline score, and a comprehensive score.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the modular building layout generation method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Building space layout method and device and electronic equipment

    CN112883476A

  • Peacetime and wartime combined hospital spatial layout automatic generation method and system

    CN114707197A

  • Knowledge graph multi-thread layout method and device

    CN115858171A

Cited By

  • Layout optimization method and device for shops in function interleaving area of commercial complex

    CN120068244A

  • Building design quality detection system based on datamation

    CN120597383A