A base layout design method of a molding module, a terminal and a storage medium

By introducing constraints on size and category features in the layout design of the molding module, multiple layout schemes are generated and screened, solving the problem of low design efficiency in the existing technology and achieving efficient and stable layout design results.

CN122113293APending Publication Date: 2026-05-29FUJIAN TIANQUAN EDUCATION TECH LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FUJIAN TIANQUAN EDUCATION TECH LTD
Filing Date
2026-01-08
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

The base layout design of existing molded modules relies on manual experience, resulting in low design efficiency when there are many modules or complex layout requirements. It is difficult to explore multiple possible layout schemes within a limited time and it is also difficult to balance space utilization and visual effect.

Method used

By acquiring the size and category characteristics of the molding module, a virtual base is established and the placeable units are evenly arranged. Placement boundaries and logical constraints are introduced to generate multiple layout schemes. The fill rate and visual score are calculated, and the final scheme is selected based on a preset evaluation system.

Benefits of technology

It automatically generates high-quality layout schemes within a limited base space, reducing reliance on human experience, improving design efficiency, ensuring the stability and consistency of results, and balancing space utilization and visual effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122113293A_ABST
    Figure CN122113293A_ABST
Patent Text Reader

Abstract

The application discloses a kind of base layout design method of forming module, terminal and storage medium, obtain the size feature and category feature of forming module;Virtual base is established and can be placed unit is evenly arranged on virtual base according to preset interval;With size feature and the boundary of virtual base as placement boundary constraint, with the adaptation relationship of category feature as logic constraint, the layout planning of forming module is based on placeable unit, generate multiple placement schemes;Calculate the filling rate of each placement scheme to virtual base;Based on preset visual algorithm, calculate the visual score of each placement scheme;Based on filling rate and visual score, according to preset evaluation system, placement scheme is screened, and layout scheme is obtained.The application can automatically generate and screen out the layout scheme with higher comprehensive quality in limited base space, reduce the dependence on artificial experience, improve the layout design efficiency, while ensuring the stability and consistency of layout result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of modular design technology, and in particular to a base layout design method, terminal, and storage medium for a molded module. Background Technology

[0002] The layout design of modular modules is widely used in modular scene construction, product appearance design, virtual display, and digital modeling. In relevant application scenarios, it is usually necessary to arrange multiple modular modules with different sizes, shapes, and categories within a limited base space to form an overall layout scheme that meets functional and visual requirements.

[0003] In existing technologies, the base layout design of molding modules largely relies on manual experience. Designers typically determine the placement of each module on the base manually, based on its size and type, and repeatedly adjust the relative relationships between modules during the design process to avoid spatial overlap or boundary violations. This method is feasible when the number of molding modules is small or the layout requirements are simple. However, when the types and number of modules increase, base space is limited, or layout requirements become more complex, manual design is not only time-consuming but also makes it difficult to explore multiple possible layout schemes within a limited time, resulting in low design efficiency. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a base layout design method, terminal and storage medium for a molding module, which can improve the layout design efficiency of the molding module.

[0005] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: A method for designing the base layout of a molded module, comprising the following steps: S1. Obtain the dimensional and category characteristics of the molding module; S2. Establish a virtual base and arrange the placeable units evenly on the virtual base at a preset interval; S3. Using the size features and the boundaries of the virtual base as placement boundary constraints, and the adaptation relationship of the category features as logical constraints, the molding module is laid out based on the placeable unit to generate multiple placement schemes. S4. Calculate the fill rate of each placement scheme on the virtual base; calculate the visual score of each placement scheme based on a preset visual algorithm; S5. Based on the fill rate and the visual score, the placement scheme is selected according to the preset evaluation system to obtain the layout scheme.

[0006] To solve the above-mentioned technical problems, the present invention adopts other technical solutions as follows: A base layout design terminal for a molding module includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps in the base layout design method for the molding module.

[0007] A storage medium storing a computer program, which, when executed by a processor, implements the steps in the base layout design method for a molding module.

[0008] The beneficial effects of this invention are as follows: It provides a base layout design method, terminal, and storage medium for a molding module. By acquiring the size and category characteristics of the molding module and constructing uniformly arranged placeable units in a virtual base, it simultaneously introduces placement boundary constraints and logical constraints during the layout planning stage, thereby achieving unified modeling and control of the molding module layout process. Furthermore, by generating multiple placement schemes and calculating the fill rate and visual score respectively, and then filtering them based on a preset evaluation system, the final layout scheme achieves a balance between space utilization and overall visual effect. In other words, the above method can automatically generate and filter layout schemes with high overall quality within a limited base space, reducing reliance on manual experience, improving layout design efficiency, and ensuring the stability and consistency of the layout results. Attached Figure Description

[0009] Figure 1 This is a flowchart illustrating a base layout design method for a molding module according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the base layout design terminal of a molding module according to an embodiment of the present invention; Label Explanation: 1. A base layout design terminal for a molded module; 2. Memory; 3. Processor. Detailed Implementation

[0010] To explain in detail the technical content, objectives, and effects of the present invention, the following description is provided in conjunction with the embodiments and accompanying drawings.

[0011] Before detailing the embodiments of this application, some related concepts will first be explained: A modular unit refers to a basic unit used to construct an overall layout. It has predetermined dimensions and category attributes and can participate in the layout design process as an independent object. A modular unit can represent a specific structural unit, functional unit, or scene unit. Its dimensional characteristics are used to characterize the space range that the module needs to occupy in the base, and its category characteristics are used to characterize the module's affiliation in terms of function, purpose, or visual attributes, such as LEGO bricks.

[0012] A virtual base is a digital spatial carrier built in a computer environment to support the layout of pre-formed modules, simulating the base area corresponding to the actual layout.

[0013] In existing technologies, the base layout design of prefabricated modules is typically applied to modular scene construction, virtual model design, and digital display. These operations are mostly completed on computer terminals or design software environments. Designers need to rationally arrange various prefabricated modules with different sizes and attributes within a limited base space. Existing layout methods mainly rely on manual experience, manually placing and repeatedly adjusting modules to avoid overlap or boundary violations. When the number of prefabricated modules is large or the layout rules are complex, the design process is time-consuming and inefficient. Furthermore, some auxiliary tools only focus on spatial feasibility, neglecting module category attributes, space utilization, and overall visual harmony. The generated results still require extensive manual correction, making it difficult to balance efficiency and layout quality.

[0014] To at least solve the above problems, please refer to Figure 1 This invention provides a base layout design method for a molding module, including the following steps: S1. Obtain the dimensional and category characteristics of the molding module; S2. Establish a virtual base and arrange the placeable units evenly on the virtual base at a preset interval; S3. Using the size features and the boundaries of the virtual base as placement boundary constraints, and the adaptation relationship of the category features as logical constraints, the molding module is laid out based on the placeable unit to generate multiple placement schemes. S4. Calculate the fill rate of each placement scheme on the virtual base; calculate the visual score of each placement scheme based on a preset visual algorithm; S5. Based on the fill rate and the visual score, the placement scheme is selected according to the preset evaluation system to obtain the layout scheme.

[0015] As described above, the beneficial effects of this invention are as follows: By introducing the size and category characteristics of the molding module into the layout planning process and constructing placeable units in the virtual base, a structured model of the molding module layout process is achieved. Placement boundary constraints and logical constraints are introduced simultaneously during the placement stage, ensuring that the molding module meets spatial boundary limitations while conforming to category adaptation relationships, thus avoiding unreasonable or unfeasible layout results. Furthermore, by calculating the fill rate and visual score for each placement scheme and comprehensively selecting based on a preset evaluation system, the final layout scheme not only has high rationality in terms of space utilization but also maintains harmony and balance in overall visual effect. Compared to methods that rely solely on manual experience or single rules to generate layout schemes, this method can automatically generate multiple candidate schemes within a limited base space and select layout results with higher overall quality, thereby significantly reducing manual design costs, improving layout design efficiency, and enhancing the consistency and stability of layout results.

[0016] In some implementations, step S1 specifically includes: Obtain the size information, connection interface information, category information, and color information of the molding module; Generate dimensional features based on the dimensional information and the connection interface information; Category features are generated based on the category information and the color information.

[0017] As described above, by simultaneously acquiring the size, connection interface, category, and color information of the molding module, and generating size and category features respectively, the geometric and semantic attributes of the molding module can be effectively distinguished and utilized during the layout design process. Size features are used to constrain the spatial occupancy of the molding module within the virtual base, while category features describe the functional or visual adaptation attributes of the molding module. This feature partitioning method facilitates the application of boundary and logical constraints separately in subsequent layout planning, allowing different types of constraints to act on their corresponding feature dimensions, avoiding the complexity of layout judgment caused by mixed constraints. This improves the scalability and versatility of the layout planning process, making this method applicable to different types and styles of molding module combinations.

[0018] In some implementations, step S2 specifically includes: A virtual base is established in the form of a two-dimensional grid, and the nodes of the two-dimensional grid are marked as placeable units; each placeable unit corresponds to a minimum placement area on the virtual base, which is used to indicate the available position of the molding module on the virtual base.

[0019] As described above, by constructing the virtual base as a two-dimensional grid and marking the grid nodes as placeable units, the base space is divided into multiple minimum placement areas, thereby transforming continuous space into a discrete and computable structural representation. This method can clearly define the occupancy range of the formed modules in the virtual base, providing a unified basis for judging the placement position during the layout planning process. It also facilitates subsequent statistical analysis of space occupancy, improving the accuracy of the layout planning and evaluation process.

[0020] In some implementations, step S3 uses the size features and the boundary of the virtual base as placement boundary constraints, specifically including: The virtual base is used to limit the placement range of the molding modules and to limit the overlap rate of different molding modules on the virtual base to zero.

[0021] As can be seen from the above description, by introducing placement boundary constraints during the layout planning process, the placement range of the molding modules is limited to not exceeding the virtual base boundary, and spatial overlap between different molding modules is prohibited. This ensures the rationality of the placement scheme in terms of spatial structure during the layout generation stage. This constraint can effectively avoid generating unfeasible layout schemes, reduce invalid calculations in the subsequent screening stage, improve the efficiency of the overall layout design process, and ensure that the final layout scheme has practical usability.

[0022] In some implementations, step S3 uses the adaptation relationship of the category features as a logical constraint, specifically including: Based on the adaptation relationship of the category characteristics of the molding modules, the relative placement relationship between different molding modules is restricted.

[0023] As described above, by restricting the relative placement of different modular components based on their category characteristics, the layout planning process considers not only spatial feasibility but also the reasonable matching of functional or attribute aspects between the modules. This approach avoids module combinations that do not conform to preset rules from appearing in the same layout scheme, thereby improving the consistency of the overall structure and usage logic of the layout result and making the generated layout scheme more in line with the expected application scenario. For example, if the category characteristics of two modular components are streetscape and architectural landscape, then according to logical constraints, streetscape cannot be placed inside architectural landscape; or, if the category characteristic of a modular component is road, then this modular component should be continuous and uninterrupted. Specifically, the modular component consists of granular building blocks arranged in combinations of 2*2, 3*3, 3*2, or 4*5, etc. By determining the number of empty spaces on the base plate, possible granules are placed on it. If the area of ​​the combination is smaller than the remaining empty area of ​​the base plate, it can be placed.

[0024] In some embodiments, step S3 further includes: Based on preset visual constraints, the distribution balance of the category features of the molding module on the virtual base is restricted.

[0025] As can be seen from the above description, by introducing visual constraints in the layout planning stage, the distribution balance of the category characteristics of the formed modules in the virtual base is restricted, so that the layout scheme takes into account the overall visual effect during the generation process, and avoids the excessive concentration of the same category of formed modules in local areas. This method helps to improve the balance of the layout result in the overall appearance, reduce the proportion of layout schemes eliminated in the subsequent evaluation and screening stages, and thus improve the overall quality of the generated scheme.

[0026] In some implementations, step S4, calculating the fill rate of each placement scheme on the virtual base, specifically includes: In each of the placement schemes, the ratio between the number of placeable units occupied by the molding module in the virtual base and the total number of placeable units in the virtual base is calculated to generate the fill rate.

[0027] As described above, by defining the fill rate as the ratio between the number of placeable units occupied by the molded modules in the virtual base and the total number of placeable units, the space utilization of the layout scheme can be quantitatively expressed. This fill rate can intuitively reflect the fullness of the layout scheme, providing a unified evaluation scale for comparing different placement schemes, thus helping to select layout schemes that make reasonable use of space and are neither too sparse nor too crowded. Specifically, for example, in a virtual base with a set size of 32×32, if 80% of the placeable units are filled with molded modules, the fill rate is 0.8. This value can reflect the fullness of the layout. Too low a value will make it look empty, and too high a value will make it too crowded. Therefore, the terminal will set an ideal range to limit the distribution balance, so that the visual effect is more comfortable and not too empty or too crowded.

[0028] In some implementations, step S4, calculating the visual score for each placement scheme based on a preset visual algorithm, specifically includes: Based on a preset visual algorithm, at least one of the following is calculated for each placement scheme: layout symmetry, color coordination, and size distribution balance of the molding module in the virtual base, and a visual score is generated.

[0029] As described above, by calculating at least one of the following in a layout scheme—symmetry, color harmony, and size distribution balance—based on a preset visual algorithm, and generating a corresponding visual score, the visual effect of the layout scheme is transformed from subjective judgment into a quantifiable evaluation result. This method can establish a unified visual evaluation standard among multiple candidate placement schemes, ensuring that the final selected layout scheme, while meeting spatial and logical constraints, possesses good overall visual harmony, thereby improving the overall quality of the layout design result. For example, in the effect generated by combining LEGO bricks, the terminal evaluates the aesthetics of the presented scene, checking whether the left and right sides are roughly symmetrical; whether there is a sense of balance in the diagonal direction; whether the colors are too chaotic and whether the overall harmony is good; and whether the distribution of large and small blocks is even. If a layout is relatively balanced in these aspects, the terminal gives it a higher "aesthetic score," making it the recommended design product.

[0030] Please refer to Figure 2 A base layout design terminal 1 for a molding module includes a memory 2, a processor 3, and a computer program stored on the memory 2 and running on the processor 3. When the processor 3 executes the computer program, it implements the steps in a base layout design method for a molding module.

[0031] A storage medium storing a computer program that, when executed by a processor, implements the steps in a base layout design method for a molding module.

[0032] Please refer to Figure 1 Embodiment 1 of the present invention is as follows: A base layout design method for a molding module is disclosed. This method can be applied to scenarios where multiple molding modules are automatically laid out, such as planning the base layout for urban landscapes, building combinations, or modular scenes in a virtual design environment.

[0033] In the specific implementation process, step S1 is executed first, where the system acquires the size and category characteristics of multiple molding modules to be included in the layout. The size characteristics are generated from the size and connection interface information of the molding modules, representing the space occupied by each module in the virtual base; for example, one molding module may be a 2×4 structural unit, while another may be a 4×4 structural unit. The category characteristics are generated from the category and color information of the molding modules, describing their functional or visual attributes; for example, differentiating molding modules into road modules, building modules, and landscape modules, and distinguishing their color attributes. Through this method, different molding modules can be identified by spatial constraints and differentiated by logical and visual rules during the subsequent layout process.

[0034] Then, step S2 is executed, where the system establishes a virtual base and evenly arranges placeable units on the virtual base at preset intervals. In this embodiment, the virtual base is constructed in the form of a two-dimensional grid, for example, a 20×20 two-dimensional grid structure. Each grid node corresponds to a placeable unit, and each placeable unit represents a minimum placement area on the virtual base. This method discretizes the continuous base space, allowing the placement position of the molding module within the base to be represented by placeable units, thus providing a basis for subsequent placement judgments and statistical calculations.

[0035] In step S3, the system introduces both placement boundary constraints and logical constraints during layout planning. Placement boundary constraints use the dimensional characteristics of the molding module and the boundary of the virtual base as constraints, prohibiting the placement range of the molding module from exceeding the virtual base boundary and preventing spatial overlap between different molding modules on the virtual base. For example, when a molding module needs to occupy multiple adjacent placeable units, the system will determine whether the module is entirely within the virtual base area at the current candidate position and whether that position has already been occupied by other molding modules, thereby avoiding the generation of unfeasible placement schemes.

[0036] Meanwhile, the system uses the compatibility relationship of the module category characteristics as logical constraints to limit the relative placement relationships between different modules. For example, when a module's category characteristic is a road module, the system restricts that the module should be placed continuously in the layout; when a module's category characteristic is a building module, it restricts it from being placed within the internal area of ​​a road module. Through these constraints, the generated placement scheme satisfies both spatial feasibility and the preset category adaptation rules.

[0037] Furthermore, step S3 introduces visual constraints to limit the even distribution of the category characteristics of the molding modules within the virtual base. For example, when there are many molding modules of a certain category, the system will avoid excessive concentration of these modules in local areas of the virtual base during layout planning. Instead, it will guide them to be distributed relatively evenly within the base, thus taking into account the overall visual effect during the layout generation stage. Through the above methods, the system can generate various placement schemes that satisfy spatial, logical, and visual constraints.

[0038] Next, step S4 is executed, where the system calculates the fill rate and visual score for each placement scheme. The fill rate is obtained by calculating the ratio between the number of placeable units occupied by the molding module in the virtual base and the total number of placeable units in the virtual base. This quantifies the utilization of the base space by the placement scheme. For example, if there are 400 placeable units in the virtual base, and 300 of them are occupied by the molding module, then the fill rate for this placement scheme is 0.75.

[0039] Meanwhile, based on a preset visual algorithm, the system calculates at least one of the following: layout symmetry, color harmony, and size distribution balance of the molding modules in the placement scheme, and generates a corresponding visual score. For example, it checks whether the left and right sides of the placement scheme are roughly symmetrical; whether there is a sense of balance in the diagonal direction; whether the colors are chaotic and whether the overall scheme is harmonious; and whether the distribution of molding modules with different size characteristics is uniform. If a layout is relatively balanced in these aspects, it is given a higher visual score.

[0040] Finally, in step S5, the system comprehensively filters multiple placement schemes based on the fill rate and visual score according to a preset evaluation system to obtain the final layout scheme. In this embodiment, the preset evaluation system can be used to prioritize placement schemes with a reasonable fill rate and a high visual score, thereby avoiding the selection of layouts that are too sparse or too crowded, or have visually uncoordinated effects. Through the above method, the final layout scheme achieves a balance between space utilization and overall visual effect, making it suitable for subsequent display, design, or output.

[0041] Please refer to Figure 2 Embodiment two of the present invention is as follows: A base layout design terminal 1 for a molding module includes a memory 2, a processor 3, and a computer program stored on the memory 2 and running on the processor 3. When the processor 3 executes the computer program, it implements the steps in a base layout design method for a molding module.

[0042] A storage medium storing a computer program that, when executed by a processor, implements the steps in a base layout design method for a molding module.

[0043] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent modifications made based on the content of the present invention specification and drawings, or direct or indirect applications in related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for designing the base layout of a molding module, characterized in that, Including the following steps: S1. Obtain the dimensional and category characteristics of the molding module; S2. Establish a virtual base and arrange the placeable units evenly on the virtual base at a preset interval; S3. Using the size features and the boundaries of the virtual base as placement boundary constraints, and the adaptation relationship of the category features as logical constraints, the molding module is laid out based on the placeable unit to generate multiple placement schemes. S4. Calculate the fill rate of the virtual base for each of the placement schemes; The visual score for each placement scheme is calculated based on a preset visual algorithm; S5. Based on the fill rate and the visual score, the placement scheme is selected according to the preset evaluation system to obtain the layout scheme.

2. The base layout design method for a molding module according to claim 1, characterized in that, Step S1 specifically includes: Obtain the size information, connection interface information, category information, and color information of the molding module; Generate dimensional features based on the dimensional information and the connection interface information; Category features are generated based on the category information and the color information.

3. The base layout design method for a molding module according to claim 1, characterized in that, Step S2 specifically includes: A virtual base is established in the form of a two-dimensional grid, and the nodes of the two-dimensional grid are marked as placeable units; each placeable unit corresponds to a minimum placement area on the virtual base, which is used to indicate the available position of the molding module on the virtual base.

4. The base layout design method for a molding module according to claim 1, characterized in that, In step S3, the size features and the boundary of the virtual base are used as placement boundary constraints, specifically including: The virtual base is used to limit the placement range of the molding modules and to limit the overlap rate of different molding modules on the virtual base to zero.

5. A base layout design method for a molding module according to claim 1, characterized in that, In step S3, the adaptation relationship of the category features is used as a logical constraint, specifically including: Based on the adaptation relationship of the category characteristics of the molding modules, the relative placement relationship between different molding modules is restricted.

6. The base layout design method for a molding module according to claim 1, characterized in that, Step S3 further includes: Based on preset visual constraints, the distribution balance of the category features of the molding module on the virtual base is restricted.

7. The base layout design method for a molding module according to claim 1, characterized in that, In step S4, calculating the fill rate of the virtual base for each placement scheme specifically includes: In each of the placement schemes, the ratio between the number of placeable units occupied by the molding module in the virtual base and the total number of placeable units in the virtual base is calculated to generate the fill rate.

8. The base layout design method for a molding module according to claim 1, characterized in that, In step S4, the visual score of each placement scheme is calculated based on a preset visual algorithm, specifically including: Based on a preset visual algorithm, at least one of the following is calculated for each placement scheme: layout symmetry, color coordination, and size distribution balance of the molding module in the virtual base, and a visual score is generated.

9. A base layout design terminal for a molding module, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps in the base layout design method of a molding module as described in any one of claims 1-8.

10. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps in the base layout design method for a molding module as described in any one of claims 1-8.