A spatial structure basket matching method for fabricated interior, a product collaborative recommendation system, equipment and a storage medium

CN122990261APending Publication Date: 2026-10-27BEIJING ZHUANGKU CREATIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611486085.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0007]因此,本发明解决的技术问题是:现有的家装设计方法存在大量重复性劳动,设计产出效率低下,且标准产品难以适配非标空间、设计决策与产品供应及生产制造相互脱节的问题

Benefits of technology

[0019]本发明的有益效果:通过构建基于历史户型案例聚类与标准化封装的空间结构筐库,将企业积累的成功设计经验转化为结构化、可检索、可复用的数据资产,使得面对新用户空间时并非从零开始设计,而是基于结构筐匹配结果获得一个已验证可行的初始方案,仅需进行局部参数化适配即可完成方案生成,从而显著提升设计效率,减少重复劳动。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122990261A_ABST
    Figure CN122990261A_ABST
Patent Text Reader

Abstract

The application discloses a kind of space structure basket matching methods for fabricated interior, product collaborative recommendation system, equipment and storage medium, it is related to computer aided design and manufacturing field, including construction space structure basket library: based on historical house type case, extract typical space form, construct multiple structure baskets;Obtain user space data: obtain the space information of user house type, extract the contour polygon of user space, wall segment size information and door and window interface information, and form user space geometric object;Matching target structure basket: the user space data is matched with each structure basket in the space structure basket library, and one target structure basket is screened out, and its geometric skeleton and topological interface are respectively adapted to the contour polygon and door and window interface information.The method of the present application constructs the space structure basket library based on historical house type case clustering and standardized packaging, and converts the successful design experience accumulated by enterprises into structured, searchable and reusable data assets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer-aided design and manufacturing, specifically to a spatial structure basket matching method, a product collaborative recommendation system, equipment, and storage medium for prefabricated interiors. Background Technology

[0002] Prefabricated interior decoration, with standardized design and modular production as its core concepts, aims to improve decoration efficiency and delivery quality through industrialization. However, in practical engineering applications, existing technical solutions consistently face the following two core contradictions.

[0003] Firstly, design efficiency is low. Because each user's apartment layout is unique, designers typically need to start from scratch to develop solutions and select products for each new project. The large number of successful cases accumulated by companies in the past cannot be reused due to a lack of effective structured encapsulation and retrieval methods, resulting in a large amount of repetitive work and severely restricting design output efficiency.

[0004] Secondly, adapting to non-standard spaces is difficult. The actual dimensions of users' apartments vary greatly, exhibiting a continuously changing characteristic, while prefabricated components are produced according to predetermined modules and discrete specifications. Standard products are difficult to directly adapt to non-standard spaces. The common industry approach is to revert to overall non-standard customization, that is, designing and producing dedicated products for specific apartment types. While this solves the adaptation problem, it completely abandons the cost and efficiency advantages of standardization, resulting in high project costs and uncontrollable delivery cycles.

[0005] In summary, the existing isolated and sequential working modes of technologies are no longer sufficient to meet the industry's comprehensive requirements for high efficiency, low cost, and high executability. Therefore, there is an urgent need for a collaborative technology solution that standardizes and encapsulates historical solutions, enables intelligent parameterized adaptation to non-standard spaces, and integrates design decisions, product supply, and manufacturing into a single data link. Summary of the Invention

[0006] In view of the above-mentioned problems, the present invention is proposed.

[0007] Therefore, the technical problem solved by this invention is that existing home decoration design methods involve a lot of repetitive work, have low design output efficiency, and standard products are difficult to adapt to non-standard spaces, and design decisions are disconnected from product supply and manufacturing.

[0008] To address the aforementioned technical problems, this invention provides the following technical solution: a spatial structure basket matching method for prefabricated interior decoration, comprising: constructing a spatial structure basket library: extracting typical spatial forms based on historical apartment case studies and constructing multiple structure baskets; acquiring user space data: acquiring the spatial information of user apartment types, extracting the outline polygons, wall segment dimensions, and door and window interface information of the user space, and forming a user space geometric object; matching target structure baskets: matching the user space data with each structure basket in the spatial structure basket library, and selecting a target structure basket whose geometric skeleton and topological interface are respectively compatible with the outline polygons and door and window interface information; generating a space layout scheme: calling the functional partition field and default product list field of the target structure basket, mapping the reference installation positions of the corresponding functional partitions and default products to the coordinate system corresponding to the user space geometric object, generating a space layout scheme and panel processing data that can be sent to production equipment; wherein, each structure basket is bound to a geometric skeleton field, a topological interface field, a functional partition field, and a default product list field.

[0009] As a preferred embodiment of the spatial structure basket matching method for prefabricated interior decoration described in this invention, the process of constructing the spatial structure basket library includes: performing cluster analysis on historical apartment case studies to extract typical spatial forms; for each typical spatial form, standardizing it into a geometric skeleton of the structural basket, wherein the geometric skeleton is a closed polygon containing a sequence of standard wall segments; marking topological interfaces on the geometric skeleton, wherein the topological interface includes the interface type, the index of the wall segment to which it belongs, and the relative position ratio on the wall segment; dividing the interior of the geometric skeleton into functional zones, and setting allowed product categories for each functional zone; binding a default product list, wherein the default product list records the product identifier, installation location, and quantity adapted to the functional zone; and setting adaptation rules for the structural basket, wherein the adaptation rules define the adjustment strategy when there is a size difference between the outline polygon of the user space and the geometric skeleton of the structural basket.

[0010] As a preferred embodiment of the spatial structure basket matching method for prefabricated interiors described in this invention, the structure basket is further bound to a product lifecycle field and a fulfillment rule field; wherein, the product lifecycle field is used to record the current inventory status, expected inbound quantity, and lifecycle stage of the default product; the fulfillment rule field is used to define the delivery mode, delivery batch priority, and delivery dependency relationship between products of the default product.

[0011] As a preferred embodiment of the spatial structure basket matching method for prefabricated interior decoration described in this invention, the step of acquiring user space data includes: receiving floor plan images or CAD files uploaded by users; if the input is a floor plan image, extracting the outline polygons and dimension annotations of the user space; if the input is a CAD file, generating the outline polygons, wall segment dimension information, and door and window interface information of the user space; and assembling the outline polygons, wall segment dimension information, and door and window interface information into a unified user space geometric object.

[0012] As a preferred embodiment of the spatial structure basket matching method for prefabricated interior decoration described in this invention, the matching of target structural baskets includes the following stages: First stage: calculating the spatial matching score between the user's spatial geometric object and each structural basket in the spatial structure basket library. The spatial matching score is calculated based on contour shape similarity, door and window interface matching degree, size ratio consistency, and wall topology consistency. Structural baskets with spatial matching scores higher than a preset threshold are selected to form a spatially adaptable candidate set. Second stage: based on user demand information, the structural baskets in the spatially adaptable candidate set are comprehensively ranked. This comprehensive ranking combines the matching degree between the functional configuration of the candidate structural basket and the user demand information, the availability of the default product, and the budget fit. According to preset weights or evaluation priorities, the matching degree between the functional configuration and the user demand information, the availability of the product, and the budget fit are comprehensively compared, and the top-ranked structural basket is output as the target structural basket.

[0013] As a preferred embodiment of the spatial structure basket matching method for prefabricated interior decoration described in this invention, the generation of the spatial layout scheme includes: initially aligning the geometric skeleton of the target structural basket with the outline polygon through rigid transformation, and establishing a correspondence between the structural basket wall segment sequence and the user space wall segment sequence; calculating the size difference between each wall segment of the initially aligned geometric skeleton and the corresponding wall segment in the outline polygon; adjusting the target structural basket according to the sign of the size difference: if the size difference is positive, standard patches are preferentially combined for filling, and the remaining size is absorbed by cutting custom panels; if the size difference is negative, the affected products are trimmed, standard product modules are reduced, or replaced with smaller products with compatible functions; based on the result of the size adaptation process, the functional partitions of the target structural basket are mapped to the coordinate system corresponding to the user space geometric object, and an adjusted product list for the user space is formed using the default product list as the initial template.

[0014] As a preferred embodiment of the spatial structure basket matching method for prefabricated interior decoration described in this invention, the step of calling the adaptation rules to perform the adjustment further includes: establishing an integer programming model to solve for the optimal combination of standard patch panels and customized panels, wherein the model aims to minimize the number of customized panels and the number of seams, and satisfies inventory constraints, minimum processable width constraints, and total size constraints; if the width of the customized panel in the solution result is less than the minimum processable width, then the standard patch panel combination is adjusted or the adjustment scheme is determined to be infeasible.

[0015] Another objective of this invention is to provide a product collaborative recommendation system for matching spatial structure baskets in prefabricated interiors. This system is used to adapt the dimensions of non-standard spaces while keeping standard products as unchanged as possible, thus solving the problem that standard products are difficult to directly adapt to non-standard spaces.

[0016] As a preferred embodiment of the product collaborative recommendation system for matching spatial structure baskets for prefabricated interior decoration as described in this invention, the system includes: a spatial structure basket library construction module for constructing a spatial structure basket library; a user space parsing module for extracting the outline polygon, door and window interface information, and wall segment size information of the user space; a matching and instantiation module for filtering target structural baskets from the spatial structure basket library and establishing a correspondence between the target structural baskets and the user space data; and a size adaptation and processing data generation module for calculating the size difference between the geometric skeleton of the target structural basket and the outline polygon, and performing size adaptation processing based on the size difference. Specifically, when the size difference is positive, a preset standard patch specification is called for combination filling, and if there is a remaining size smaller than the minimum standard patch width after combination filling, customized board cutting data corresponding to the remaining size is generated; when the size difference is negative, the default product bound to the target structural basket is cut or replaced; the size adaptation and processing data generation module is also used to generate board processing data based on the result of the size adaptation processing.

[0017] Another object of the present invention is to provide an apparatus for a spatial structure basket matching method for prefabricated interiors, comprising a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps of the spatial structure basket matching method for prefabricated interiors.

[0018] Another object of the present invention is to provide a storage medium for a spatial structure basket matching method for prefabricated interiors, wherein a computer program is stored thereon, and when the computer program is executed by a processor, the steps of the spatial structure basket matching method for prefabricated interiors are implemented.

[0019] The beneficial effects of this invention are as follows: By constructing a spatial structure basket library based on the clustering and standardized encapsulation of historical apartment type cases, the successful design experience accumulated by enterprises is transformed into structured, searchable, and reusable data assets. This allows for a shift from designing from scratch when facing new user spaces to obtaining a verified and feasible initial solution based on the structure basket matching results. Only local parameterization adaptation is required to complete the solution generation, thereby significantly improving design efficiency and reducing repetitive work.

[0020] By adopting a differentiated adaptation strategy that keeps the standard main body stationary and absorbs non-standard errors locally, the dimensional difference between the user space and the geometric skeleton of the structural basket is concentrated in the least adjustable position for processing. Positive differences are first filled by standard patch panels, and the remaining traces are absorbed by customized panels. Negative differences are digested by cutting off the end panels or removing standard modules. Under the premise of maintaining the hole position relationship, installation interface and processing technology of standard components to the greatest extent, effective adaptation to continuously changing non-standard spaces is achieved. This allows for the rapid recommendation of standard products that can meet the requirements while utilizing existing product solutions, avoiding the cost and schedule control problems caused by overall non-standard customization, and taking into account the efficiency advantages of standardized production and the flexible adaptation requirements of non-standard spaces. Attached Figure Description

[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 The present invention provides an overall flowchart of a spatial structure basket matching method for prefabricated interiors.

[0023] Figure 2 This is a flowchart illustrating the first part of an example of a spatial structure basket matching method for prefabricated interiors provided by the present invention.

[0024] Figure 3 This is a flowchart illustrating the latter part of an example of a spatial structure basket matching method for prefabricated interiors provided by the present invention.

[0025] Figure 4 The present invention provides a module structure diagram of a product collaborative recommendation system for spatial structure basket matching of prefabricated interiors. Detailed Implementation

[0026] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.

[0027] Example 1, referring to Figure 1 As an embodiment of the present invention, a method for matching spatial structure baskets for prefabricated interiors is provided, including constructing a spatial structure basket library, acquiring user space data, matching target structural baskets, and generating a space layout scheme.

[0028] In this embodiment, user space refers to the physical space where the user is actually designing prefabricated interiors. User space data refers to floor plan images, CAD files, or other original input data used to describe the user space. User space geometric objects refer to standardized digital objects formed after parsing the user space data. User space geometric objects include at least the outline polygon of the user space, wall segment dimension information, and door and window interface information. The outline polygon is used to represent the actual boundary of the user space, and the door and window interface information is used to represent doors, windows, or other openings in the user space.

[0029] The structural basket in this embodiment is a standardized, reusable digital object for prefabricated interior design. The structural basket can be pre-constructed based on typical spatial forms from historical apartment layouts and includes at least a geometric skeleton field, a topology interface field, a functional zoning field, and a default product list field. The geometric skeleton field records the baseline spatial outline of the structural basket; the topology interface field records the positional relationship of interfaces such as doors and windows relative to the baseline spatial outline; the functional zoning field records the area range corresponding to different functions; and the default product list field records the standard products adapted to each functional zoning area and their reference installation information. The structural basket can also be configured with an adaptation rule field to specify the adjustment method used when there are differences between the actual dimensions of the user space and the baseline dimensions of the structural basket.

[0030] For ease of description, the reference space outline recorded in the geometric skeleton field will be referred to as the geometric skeleton, and the polygons formed by the wall outlines in the user space geometric objects will be referred to as outline polygons. During the subsequent matching process, the outline polygons will be compared with the geometric skeleton of the structural basket, and the door and window interface information will be compared with the topology interface field of the structural basket.

[0031] The following example illustrates the method of this embodiment using the construction and application process of a "3.6-meter-wide standard rectangular master bedroom" structural basket.

[0032] First, a spatial structure library is constructed. The system acquires multiple historical apartment layouts that have been designed, manufactured, or installed, and categorizes them based on their outline shape, wall relationships, door and window locations, functional zoning, and product configurations. On this basis, the typical spatial forms represented by each historical apartment layout are standardized to create structural libraries that can be repeatedly searched and accessed.

[0033] The spatial structure of the "3.6-meter-wide standard rectangular master bedroom" in this embodiment has a rectangular geometric framework formed by connecting four wall segments end to end. Wall segment 1 is the south wall, with a length of 3600mm; wall segment 2 is the east wall, with a length of 4200mm; wall segment 3 is the north wall, with a length of 3600mm; and wall segment 4 is the west wall, with a length of 4200mm. The length of each wall segment is set according to a standard 100mm module to ensure compatibility with the standard specifications of prefabricated interior products and panels.

[0034] Door and window interfaces are set on the geometric skeleton, and the positional relationship between each interface and its corresponding wall segment is recorded through the topology interface field. Each topology interface may include interface type, wall segment index, relative position ratio on the wall segment, and opening size.

[0035] In this embodiment, the door interface is located in wall segment 2, with its center position approximately at 35% of the wall segment's length, and its opening size is 900mm × 2100mm; the window interface is located in wall segment 1, with its center position approximately at 50% of the wall segment's length, and its opening size is 1800mm × 1500mm. The interface positions are recorded using a positional ratio relative to their respective wall segments, ensuring that the door and window interfaces maintain their relative positional relationship with their respective wall segments even when the wall segment dimensions change subsequently.

[0036] Within the geometric framework area, there are sleeping and storage zones. The sleeping zone is for arranging the bed and bedside tables, while the storage zone is for arranging wardrobes or other storage products. Each functional zone can be represented by corresponding boundary ranges and associated with the product categories that are allowed to be placed in that functional zone.

[0037] Corresponding to the functional zones, the structure basket contains a default product list. In this embodiment, the default product list includes a standard double bed, two bedside tables, and three 1000mm wide double-door wardrobe modules. Each product is recorded with its corresponding functional zone, reference installation location, quantity, and layout direction. The default product list is template data for the structure basket, used to provide initial product configurations for different user spaces, and is not directly modified during a user space adaptation.

[0038] The structural basket also includes an adaptation rule field. This field includes rules for handling positive and negative differences. When the corresponding wall segment in the user space is longer than the wall segment in the structural basket, the difference is filled using standard patches or custom panels according to the positive difference rule. When the corresponding wall segment in the user space is shorter than the wall segment in the structural basket, the affected product is trimmed, standard product modules are reduced, or it is replaced with a smaller, functionally compatible product according to the negative difference rule.

[0039] After completing the above processing, the system associates and stores the geometric skeleton field, topology interface field, functional partition field, default product list field, and adaptation rule field to form a record in the spatial structure basket library. The spatial structure basket library can also store structural baskets corresponding to other typical spatial forms such as "3.0-meter wide secondary bedroom" and "L-shaped living room".

[0040] Secondly, the system acquires user space data. It receives floor plan images, CAD files, or other raw data that describes the user space to be renovated, and parses this data to generate user space geometric objects with a unified data format.

[0041] In this embodiment, the user provides a floor plan image of the master bedroom. The system processes the floor plan image using image recognition, identifying walls, doorways, window openings, and interior areas of the room, and extracts a closed contour formed by connecting multiple wall segments end to end based on the recognition results. After coordinate transformation and size restoration, the closed contour forms a polygonal outline in the user's spatial geometry.

[0042] For the dimension annotations contained in the floor plan image, the system can use optical character recognition to read the corresponding dimension values ​​and associate the recognized dimension values ​​with the corresponding wall segments to determine the actual physical dimensions of each wall segment.

[0043] The system also extracts the interface type, the index of the wall segment to which it belongs, the relative position ratio on the wall segment, and the opening size from the identified door and window opening areas, and assembles the above interface data into door and window interface information. Thus, the system converts user space data into user space geometric objects that include outline polygons, wall segment size information, and door and window interface information.

[0044] In this embodiment, the outline polygon in the user space geometry is rectangular, with the south and north walls each having a length of 3750mm, and the east and west walls each having a length of 4200mm. Door and window interface information includes door interfaces and window interfaces. The door interface is located on the east wall, with a relative position of approximately 0.34 and an opening size of 900mm × 2100mm; the window interface is located on the south wall, with a relative position of approximately 0.50 and an opening size of 1800mm × 1500mm.

[0045] Subsequently, the target structural baskets are matched. The system compares the user space geometry with each structural basket in the spatial structural basket library. Specifically, it compares the outline polygons in the user space geometry with the geometric skeletons of each structural basket, compares the door and window interface information with the topology interface fields of each structural basket, and determines the spatial matching score between each structural basket and the user space based on the outline shape, door and window interfaces, size ratio, and wall topology.

[0046] In one implementation, the spatial matching score can be expressed as: , in, This indicates the similarity in outline shape between the polygonal outline and the geometric skeleton of the structural basket. This indicates the degree of compatibility between the door and window interfaces of both parties in terms of type, location, and size. This indicates that the dimensional proportions between corresponding wall segments on both sides are consistent. This indicates the topological consistency of the number of wall segments, connection order, and concave-convex relationships between the two sides. , , and These represent the weights of the corresponding evaluation factors, and the sum of all weights is 1. The weights can be preset according to the category of the space to be matched or the actual design requirements.

[0047] The system can first exclude structural baskets with obviously inconsistent outline shapes or wall topologies, then calculate the spatial matching score for the remaining structural baskets, and add structural baskets whose spatial matching scores meet the preset conditions to the candidate structural basket set.

[0048] When there are multiple candidate structural baskets, the system further verifies each candidate structural basket based on the necessary functional requirements proposed by the user, and excludes candidate structural baskets that lack necessary functional areas, necessary product categories, or necessary installation conditions. For candidate structural baskets that pass the verification, the system can comprehensively compare them based on functional configuration, product configuration, budget fit, availability of default products, and expected size adjustment, and determine the target structural basket that better meets the user's actual needs.

[0049] In this embodiment, the outline polygon in the user space geometry object and the geometric skeleton of the "3.6-meter-wide standard rectangular master bedroom" structural basket are both closed rectangles composed of four wall segments. The door and window interface information is basically consistent with the topology interface field of this structural basket in terms of interface type, relative position, and opening size, and the size difference in the north-south direction is small. The sleeping area, storage area, and default products set in this structural basket can also meet the user's master bedroom layout needs, so it is determined as the target structural basket.

[0050] Finally, a spatial layout scheme is generated. The system first translates and rotates the geometric skeleton of the target structural frame to initially align it with the outline polygon in the user's spatial geometry in terms of orientation and position. This initial alignment is used to unify the coordinate orientation and spatial position of both sides without changing the reference length of each wall segment of the target structural frame.

[0051] After initial alignment, the system establishes the correspondence between each wall segment of the target structural basket and each wall segment in the outline polygon. In this embodiment, wall segments 1, 2, 3, and 4 of the target structural basket correspond to the south wall, east wall, north wall, and west wall in the outline polygon, respectively.

[0052] Based on the wall segment correspondence, the system calculates the dimensional difference between the reference length of each wall segment in the target structural frame and the actual length of the corresponding wall segment in the user space. The dimensional difference of the i-th corresponding wall segment can be expressed as: , in, This represents the actual length of the i-th wall segment in user space. This indicates the reference length of the corresponding wall segment within the target structural basket.

[0053] when When the value is greater than zero, it indicates that the corresponding wall segment in the user space is longer than the wall segment in the target structural basket, and the system performs patching and adaptation according to the positive difference handling rule; when When the value is less than zero, it indicates that the corresponding wall segment in the user space is shorter than the wall segment in the target structural basket. The system will then cut, reduce modules, or replace the relevant products according to the negative difference handling rules. When the value is zero, it means that the two dimensions are the same, and no adjustment to the dimensions of the wall segment is required.

[0054] In this embodiment, the reference lengths of the south and north walls of the target structural basket are both 3600mm, while the actual lengths of the south and north walls in the outline polygon are both 3750mm. Therefore, there is a positive difference of 150mm between the south and north walls. The reference lengths of the east and west walls of the target structural basket are both 4200mm, which are the same as the lengths of the corresponding wall segments in the outline polygon, and no dimensional adjustment is required.

[0055] For a positive error of 150mm, the system selects a standard patch with a width of 150mm from the preset standard patch specifications and sets one standard patch at the corresponding position on the south wall and the north wall.

[0056] When no standard patch can completely fill the positive difference on its own, the system can select multiple standard patches to combine based on their specifications, prioritizing combinations with fewer patches and fewer seams. If the selected combination can completely fill the positive difference, the system will use this combination to achieve the dimensional fit. If there is still a remaining dimension after combination, and this remaining dimension is smaller than the minimum standard patch width, making it impossible to continue using standard patches for filling, the system will determine the fit size for the custom panel based on the remaining dimension.

[0057] Before generating a custom panel, the system determines whether the adaptation size meets preset processing conditions such as minimum processable width, panel length, and processing equipment capabilities. If the preset processing conditions are met, the system generates custom panel cutting data corresponding to the remaining dimensions; if the preset processing conditions are not met, the system reselects a standard patch combination or determines the current size adaptation scheme as infeasible.

[0058] For negative error values, the system first determines whether the affected product is allowed to be cut, and whether its allowed cut size can absorb the negative error value. If the adaptation can be completed through cutting, the corresponding product configuration and processing data are updated according to the cut product size; if cutting cannot completely absorb the negative error value, it determines whether a standard product module can be reduced.

[0059] If the remaining space is created after reducing standard product modules, it can be filled according to the aforementioned positive difference handling rules. If it is not suitable to reduce standard product modules, or if a feasible space layout cannot be formed after reduction, a smaller and functionally compatible alternative product can be selected from the same product category, and the product location and configuration can be re-determined based on the alternative product.

[0060] After the size adaptation is completed, the system maps the boundaries of the sleeping area and storage area to the coordinate system corresponding to the geometric objects in the user space according to the functional partition field of the target structural basket. It also adjusts the boundaries of adjacent functional partitions according to the size adaptation results of each wall segment, thereby forming functional partitions adapted to the current user space.

[0061] The system also maps the reference installation positions of products in the default product list of the target structural basket to the coordinate system corresponding to the geometric objects in the user space, and adjusts the position or size of the relevant products according to the size adaptation results. It should be noted that the size adaptation process does not directly modify the default product list saved in the spatial structural basket library. Instead, it uses the default product list as an initial template and forms an adjusted product list for this user space based on the processing results of adding supplementary plates, cutting products, reducing modules, or replacing products.

[0062] In this embodiment, the system uses the default product list of the target structural basket as a basis, retaining one standard double bed, two bedside tables, and three double-door wardrobe modules, and adding the two 150mm standard patch panels used for the south and north walls to the adjusted product list. Subsequently, the bed, bedside tables, wardrobe modules, and standard patch panels are arranged in the user space according to their corresponding functional zones and installation positions, forming a spatial layout diagram.

[0063] The system further generates corresponding panel processing data based on the standard patch or custom panel used. For standard patch, preset processing data corresponding to its specifications can be called; for custom panels, the system can generate panel outline, cutting path, drilling position, edge banding parameters, or processing instructions that can be recognized by production equipment based on its actual dimensions.

[0064] Ultimately, the system outputs a spatial layout plan that includes adapted functional zones, spatial layout diagrams, adjusted product lists, and panel processing data. This allows the predefined standardized spatial structure and product configuration within the structural framework to be adapted to the user's actual space, providing a data foundation for subsequent prefabricated interior design and panel production.

[0065] Example 2, refer to Figure 2 and Figure 3 This embodiment of the present invention provides a spatial structure basket matching method for prefabricated interiors. The difference between this embodiment and embodiment 1 is that it further explains the specific construction method of the spatial structure basket library, the method of obtaining user space data, the matching process of the target structure basket, the adaptation process of size difference, and the collaborative processing process of product supply chain information.

[0066] In this embodiment, user space refers to the physical space where the user is actually designing prefabricated interiors; user space data refers to floor plan images, CAD files, or other original input data used to describe the user space; and user space geometric objects refer to standardized digital objects formed after parsing the user space data. User space geometric objects include at least outline polygons, wall segment dimension information, and door and window interface information.

[0067] A structural basket refers to a standardized, reusable digital object pre-constructed based on a typical spatial form. Each structural basket includes at least a geometric skeleton field, a topology interface field, a functional zone field, and a default product list field. The geometric skeleton field records the baseline spatial outline of the structural basket; the topology interface field records the positional relationship of interfaces such as doors and windows relative to the baseline spatial outline; the functional zone field records the area range corresponding to different functions; and the default product list field records the standard products adapted to each functional zone and their reference installation information. A structural basket may also include an adaptation rule field, a product lifecycle field, and a fulfillment rule field.

[0068] For ease of explanation, the reference spatial contour recorded in the geometric skeleton field will be referred to as the geometric skeleton, and the contour polygon in the user space geometric object will be referred to as the contour polygon. The method in this embodiment generally includes offline construction of the spatial structure basket library, online parsing of user space data, two-stage matching of target structure baskets, generation of spatial layout schemes based on size differences, and supply chain verification and scheme output.

[0069] During the offline database construction phase, the system accesses the enterprise's accumulated historical solution database and performs data cleaning on historical apartment case studies, selecting those with complete drawings, comprehensive dimension annotations, and no missing product lists. Historical apartment case studies can include data from prefabricated interior decoration projects that have already been designed, manufactured, or installed.

[0070] The system extracts spatial morphological features from various historical apartment layouts. These features can include the aspect ratio of the outline, the relationship between area and perimeter, the number and arrangement of wall segments, the number and type of door and window interfaces, and the main functional zoning categories. Subsequently, the system clusters historical apartment layouts based on these spatial morphological features, grouping those with similar outline shapes, interface arrangements, and functional combinations into the same spatial morphological cluster.

[0071] In this embodiment, the system uses the K-means clustering algorithm to process historical apartment layouts and forms 45 typical spatial forms based on the clustering results. Among them, the "3.6-meter-wide standard rectangular master bedroom" corresponds to a typical spatial form. This type of space usually has a rectangular outline, a single door and single window layout, and functional zoning that combines sleeping and storage.

[0072] For each typical spatial form, the designers standardize it to form a corresponding structural framework. During the standardization process, non-load-bearing wall recesses, pipe shafts, or other local concave and convex structures in historical apartment cases can be consolidated, simplifying the spatial outline into a closed polygon formed by connecting multiple continuous wall segments end to end, and using the closed polygon as the geometric skeleton of the structural framework.

[0073] In this embodiment, the standard rectangular master bedroom structural frame consists of four wall segments. Segment 1 is the south wall with a window, with a base length of 3600mm; segment 2 is the east wall with a door, with a base length of 4200mm; segment 3 is the north wall, with a base length of 3600mm; and segment 4 is the west wall, with a base length of 4200mm. The base lengths of each wall segment can be set according to the standard module of prefabricated components to ensure compatibility with standardized panels and product specifications.

[0074] The system can also establish a local coordinate system for the geometric skeleton, with the endpoint of one of the wall segments as the origin and the extension direction of the wall segment as the coordinate axis direction, so that each wall segment, topology interface, functional partition and product reference installation position can be represented in a unified coordinate form.

[0075] After forming the geometric skeleton, the system marks the topological interfaces such as doors and windows on the corresponding wall segments, and records the positional relationship between each interface and the geometric skeleton through the topological interface field. Each topological interface may include information such as interface type, the index of the wall segment to which it belongs, the relative position ratio on the wall segment, the opening size, and the orientation.

[0076] Using relative position ratios to represent interface positions ensures that door and window interfaces maintain their relative position to the wall segment even when the wall segment dimensions change. In this embodiment, the door interface is located in wall segment 2, with a relative position ratio of 0.35 and an opening size of 900mm × 2100mm; the window interface is located in wall segment 1, with a relative position ratio of 0.50 and an opening size of 1800mm × 1500mm.

[0077] Within the geometric framework, multiple functional zones can be set up according to the intended use of the space. These zones can include sleeping areas, storage areas, passageways, and relaxation areas. Each functional zone has corresponding boundaries and is associated with the product categories that can be placed within it. For example, a sleeping area can be associated with a bed and bedside tables, while a storage area can be associated with wardrobes, cabinets, and chests of drawers.

[0078] After completing the geometric skeleton, topology interfaces, and functional partition settings, designers bind standard products to the structural basket according to typical solutions, forming a default product list. The default product list can record information such as product SKU identifier, product name and specifications, functional partition, reference installation location, default quantity, and installation interface requirements.

[0079] In this embodiment, the default product list of the standard rectangular master bedroom structural basket includes a standard double bed, two bedside tables, and three double-door wardrobe modules. The standard double bed and bedside tables correspond to the sleeping area, while the double-door wardrobe modules correspond to the storage area. Each product has a corresponding reference installation position in the local coordinate system of the structural basket.

[0080] The default product list is template data within the structure basket, used to provide initial product configurations for different user spaces. When performing size adaptation for a specific user space, the default product list stored in the space structure basket library is not directly modified. Instead, the default product list is used as the initial template, and an adjusted product list for this user space is generated based on the size adaptation results.

[0081] To enable the structural basket to adapt to user spaces with different actual dimensions, an adaptation rule field is also included in the structural basket. The adaptation rule field includes positive difference handling rules and negative difference handling rules, which are used to specify the processing path corresponding to different types of size differences in the subsequent space layout scheme generation stage.

[0082] When the actual length of a wall segment in the outline polygon is greater than the reference length of the corresponding wall segment in the structural basket geometric skeleton, a positive difference is formed between the two. For the positive difference, the system preferentially selects a standard patch from the preset standard patch specifications that can completely fill the positive difference. In this embodiment, the standard patch can have different width specifications such as 100mm, 150mm, 200mm, and 300mm.

[0083] If no standard patch can completely fill the positive difference on its own, the system selects multiple standard patches to combine based on the specifications of the available standard patches, prioritizing combinations with fewer patches and fewer seams. If the selected combination of standard patches can completely fill the positive difference, then that combination is used to complete the dimensional adaptation.

[0084] If there is still a remaining dimension after combining standard patch plates, and this remaining dimension is smaller than the minimum standard patch plate width, making it impossible to continue using standard patch plates for filling, then the appropriate size for the custom panel is determined based on the remaining dimension. Before generating the custom panel, the system checks whether the appropriate size meets preset processing conditions such as minimum processable width, panel length, and processing equipment capabilities. If the verification passes, the system generates cutting data for the custom panel corresponding to the remaining dimension; if the verification fails, the system either reselects a standard patch plate combination or determines the current size adaptation scheme as infeasible.

[0085] When the actual length of a wall segment in the outline polygon is less than the reference length of the corresponding wall segment in the structural basket geometry, a negative difference is formed between the two. For a negative difference, the system first determines whether the affected product is allowed to be cut, and whether its allowed cut size can absorb the negative difference. If the adaptation can be completed through cutting, the corresponding product configuration and processing data are updated according to the cut product size; if cutting cannot completely absorb the negative difference, it determines whether a standard product module can be reduced.

[0086] If there is remaining space after reducing standard product modules, the remaining space will be filled according to the aforementioned positive difference handling rules. If it is not suitable to reduce standard product modules, or if a feasible space layout scheme cannot be formed after reduction, a smaller and functionally compatible alternative product will be selected from the same product category, and the product layout and processing data will be re-determined based on the alternative product.

[0087] Therefore, the structural basket pre-stores positive difference processing rules and negative difference processing rules. After obtaining the specific user space geometric object, the system calls the corresponding rules to perform size adaptation processing based on the actual size difference of the corresponding wall segment.

[0088] Furthermore, the structure box can also associate the supply chain attributes of default products through product lifecycle fields and fulfillment rule fields. Product lifecycle fields can include inventory status, expected inbound status, product lifecycle status, and expected downtime. Fulfillment rule fields can include delivery mode, delivery batch priority, and delivery dependencies between products.

[0089] The product lifecycle status can include normal production, imminent discontinuation, and already discontinued. Delivery mode indicates whether a product can be delivered independently or requires delivery along with other main materials. Delivery dependency indicates whether the installation or delivery of a product depends on other products.

[0090] The aforementioned supply chain attributes are saved along with the default products during the offline database construction phase, but they do not directly participate in the spatial matching between the outline polygon and the geometric skeleton of the structural basket. Instead, they are used to determine whether the products in the adjusted product list are available, whether they need to be replaced, and how to arrange the delivery sequence after the adjusted product list is formed.

[0091] After completing the above processing, the system stores the geometric skeleton field, topology interface field, functional partition field, default product list field, adaptation rule field, product lifecycle field, and fulfillment rule field as associated data of the structural basket into the spatial structural basket library, thereby completing the offline construction of the spatial structural basket library.

[0092] When a user submits a space layout request, the system obtains the user's uploaded floor plan image, CAD file, or other raw data that can describe the user's space, and parses the user space data from different sources into user space geometric objects with a unified data format.

[0093] When the user space data is a floor plan image, the system can extract walls, doorways, window openings, interior areas of rooms, and dimensioned areas through image recognition. Subsequently, it extracts the closed contour of the user space based on the interior areas of the rooms and the edges of the walls, and converts the closed contour into a polygonal contour formed by connecting multiple straight wall segments end to end through contour fitting.

[0094] In one implementation, a semantic segmentation model can be used to identify different spatial elements in the floor plan image, and edge detection and polygon fitting can be used to obtain the contour polygon. The accuracy parameters used for contour fitting can be set according to the resolution of the input image and the complexity of the drawing to reduce the impact of image noise and local irregular edges on the contour extraction results.

[0095] For dimension annotations in floor plan images, the system can use character recognition to obtain the corresponding dimension values ​​and associate the recognized dimension values ​​with adjacent wall segments. Through these dimension values, the system can determine the correspondence between image pixels and actual physical dimensions, and convert the outline polygon from image coordinates to physical coordinates in millimeters, thus forming the wall segment dimension information.

[0096] For the identified door and window openings, the system maps them to the corresponding wall segments and extracts the interface type, the index of the wall segment to which they belong, the relative position ratio on the wall segment, and the opening size, thereby forming door and window interface information.

[0097] When the user space data is a CAD file, the system can read the wall layer, door and window layer, and dimension layer from the CAD file. It can extract wall line segments from the wall layer and connect them to form an outline polygon; obtain the position and dimensions of doors and windows from the door and window layer; and read the corresponding physical dimensions from the dimension layer. A CAD file (Computer-Aided Design File) is a digital file created using CAD software to accurately describe the geometry of a product, building, or component.

[0098] Since the geometric entities in CAD files usually have defined dimensions and coordinates, user space geometric objects can be directly assembled based on the extracted outline polygons, wall segment dimension information, and door and window interface information.

[0099] Ultimately, regardless of whether the input user space data is a floor plan image or a CAD file, the system converts it into a unified user space geometric object. This user space geometric object includes at least the outline polygon, wall segment dimensions, and door and window interface information, and may also include user requirement information such as room type, functional requirements, style preferences, and budget constraints.

[0100] In this embodiment, the outline polygon in the user space geometry is rectangular. The actual lengths of the south and north walls are both 3750mm, and the actual lengths of the east and west walls are both 4200mm. The door and window interface information includes door interfaces and window interfaces. The door interface is located on the east wall, with a relative position ratio of 0.34 and an opening size of 900mm × 2100mm; the window interface is located on the south wall, with a relative position ratio of 0.50 and an opening size of 1800mm × 1500mm.

[0101] Through the above processing, user space data from different sources are converted into user space geometric objects that use the same data standard as the spatial structure basket library, providing a unified input for subsequent structure basket matching.

[0102] After obtaining the user space geometric objects, the system uses a two-stage matching method to filter target structural baskets from the spatial structural basket library.

[0103] The first stage is used to determine whether each structural basket can be adapted to the user space in terms of spatial geometry. The system compares the outline polygon in the user space geometric object with the geometric skeleton of each structural basket, and compares the door and window interface information with the topology interface field of each structural basket.

[0104] During contour comparison, the contour polygons and the structural basket geometry can be scaled first, and then the similarity of their contour shapes can be determined. During interface comparison, it can be determined whether the door / window type in the door / window interface information matches the interface type recorded in the structural basket topology interface field, whether the relative positional differences are within acceptable limits, and whether the opening sizes are compatible. During wall topology comparison, it can be determined whether the number, arrangement order, and concave / convex relationships of wall segments in the contour polygons and the structural basket geometry are consistent.

[0105] The system determines the spatial matching score between each structural basket and the user's spatial geometric objects based on contour shape similarity, interface matching degree, size ratio consistency, and wall topology consistency, and adds structural baskets that meet the preset conditions for spatial matching score to the candidate structural basket set.

[0106] In this embodiment, the outline polygon in the user space geometric object and the geometric skeleton of the standard rectangular master bedroom structural basket are both closed rectangles composed of four wall segments. The door and window interface information and the topology interface field of the structural basket are basically the same in terms of interface type, relative position and opening size. The size ratios in each direction are also relatively close. Therefore, the structural basket is included in the candidate structural basket set.

[0107] The second stage involves further identifying target structural baskets that better meet the user's actual needs from the spatially adaptable candidate structural baskets. The system first organizes necessary functional requirements based on the user's proposed needs to validate the candidate structural baskets, excluding those whose functional zoning, product categories, or necessary installation conditions do not meet the user's requirements. The user's needs information includes functional requirements, style preferences, and budget range. Specifically, user needs information refers to the set of information proposed by the user during the prefabricated interior design process, describing their expectations regarding spatial function, aesthetic style, economic budget, and installation conditions. In one implementation, user needs information includes necessary functional requirements and preference requirements. Necessary functional requirements information characterizes the user's rigid requirements for spatial functional zoning, product categories, and installation conditions, and is used for preliminary validation of candidate structural baskets. Preference requirements information characterizes the user's flexible preferences in style, budget, and storage, and can be used for comprehensive evaluation and ranking of the validated candidate structural baskets.

[0108] For candidate storage baskets that pass the validation, the system evaluates their functional configuration, style characteristics, storage capacity, budget fit, and the availability of default products. Functional configuration is evaluated based on the degree to which the functional areas and product categories contained in the candidate storage basket match user needs; style characteristics are evaluated based on the degree to which the style tags associated with the candidate storage basket match user style preferences; and storage capacity is evaluated based on the spatial range of storage compartments, the number of storage products, or configurable capacity.

[0109] Budget fit can be evaluated based on the deviation between the estimated total price of each product in the default product list of the candidate structure basket and the user's budget range. Supply availability can be evaluated based on the inventory status, production status, and expected delivery status of the default products.

[0110] The system comprehensively compares the evaluation results according to preset evaluation priorities or the weights corresponding to each evaluation factor, and sorts the candidate structure baskets based on the comprehensive comparison results. In one implementation, priority can be given to ensuring necessary functional requirements and supply availability, and then further compare budget fit, storage capacity, and style matching.

[0111] For candidate structural baskets with the same or similar comprehensive comparison results, priority can be given to structural baskets with higher spatial matching scores, fewer wall segments requiring size adjustments, or lower expected adjustment costs.

[0112] In this embodiment, the user expressed a need for modern simplicity and storage priority. The standard rectangular master bedroom structural basket includes a sleeping area and a storage area. The bed frame, bedside table, and wardrobe modules bound in its default product list can meet the user's main functional needs. The estimated total price of the default products is within the user's budget, and the main products are available. Therefore, this structural basket is ranked high among the candidate structural baskets and is determined as the target structural basket.

[0113] It should be noted that the target structural basket is still a template object pre-saved in the spatial structural basket library. Only after the system determines the target structural basket does it further convert its geometric skeleton, functional partitions, and default product reference installation position to the coordinate system corresponding to the current user space, and then perform subsequent size adaptation.

[0114] After determining the target structural frame, the system first translates and rotates its geometric skeleton to initially align it with the outline polygon in the user space geometry object in terms of orientation and position. This initial alignment is used to unify the coordinate orientation and spatial position of both sides without changing the reference length of each wall segment in the target structural frame.

[0115] Subsequently, the system establishes the correspondence between each wall segment in the geometric skeleton of the target structural basket and each wall segment in the outline polygon. In this embodiment, wall segment 1 of the target structural basket corresponds to the south wall in the outline polygon, wall segment 2 corresponds to the east wall, wall segment 3 corresponds to the north wall, and wall segment 4 corresponds to the west wall.

[0116] After the wall segments are matched, the system compares the actual length of each wall segment in the outline polygon with the reference length of the corresponding wall segment in the geometric skeleton of the target structural basket, thereby determining the dimensional difference between each corresponding wall segment.

[0117] When the actual length of the user space wall segment is greater than the reference length of the corresponding wall segment of the target structural basket, the size difference is determined as a positive difference; when the actual length of the user space wall segment is less than the reference length of the corresponding wall segment of the target structural basket, the size difference is determined as a negative difference; when the two lengths are the same, it is determined as a zero difference, and there is no need to adjust the size of the corresponding wall segment.

[0118] After determining the type of size difference, the system calls the positive difference processing rule, negative difference processing rule, or no adjustment rule according to the pre-set adaptation rule field in the target structure basket to perform the corresponding size adaptation processing.

[0119] In this embodiment, the reference lengths of the south and north walls in the geometric skeleton of the target structural basket are both 3600mm, while the actual lengths of the south and north walls in the outline polygon are both 3750mm. Therefore, there is a positive difference of 150mm between the south and north walls. The reference lengths of the east and west walls in the target structural basket are both 4200mm, which are the same as the actual lengths of the corresponding wall segments in the outline polygon, so no dimensional adjustment is required.

[0120] For positive differences between the south and north walls, the system calls preset standard patch specifications for matching. The system can select suitable standard patches or combinations of standard patches from available standard patches based on their specifications, quantity, inventory, and number of seams.

[0121] In one implementation, integer programming, combinatorial traversal, or preset priority rules can be used to determine the standard patch combination, but the specific solution method used does not affect the positive difference handling rules themselves. In this embodiment, the standard patch specifications include a 150mm wide standard patch, so both the south wall and the north wall can be filled with a 150mm standard patch each, without the need to generate custom panels.

[0122] When the standard patch cannot completely fill the positive error, the system first combines one or more standard patches and then determines whether a custom part needs to be generated based on the remaining dimensions after combination. If the standard patch combination can completely fill the positive error, the standard patch combination is used directly.

[0123] If there are still remaining dimensions after combining standard patch panels, and these remaining dimensions are smaller than the minimum standard patch panel width, making it impossible to continue using standard patch panels for filling, then the remaining dimensions will be used as the adaptation dimensions for the custom panel. Before generating the custom panel, the system determines whether the adaptation dimensions meet preset processing conditions such as minimum processable width, maximum panel length, edge banding requirements, and processing equipment size limitations. If the preset processing conditions are met, the system generates the corresponding custom panel dimensions and cutting data based on the remaining dimensions.

[0124] For negative error values, the system first determines whether the product in the affected direction is allowed to be cut, and whether its allowable cut size can absorb the negative error value. If the product has sufficient cutting allowance, the product size is adjusted, and corresponding processing data is generated based on the cut product size.

[0125] If the cutting cannot completely absorb the negative difference, the system determines whether one standard product module can be reduced. For example, when multiple standard wardrobe modules are continuously arranged on a corresponding wall segment, one wardrobe module can be reduced to shorten the product arrangement length in that direction.

[0126] If reducing standard product modules results in new remaining space, this remaining space will continue to be filled using standard filler plates or custom-made plates, following the aforementioned positive difference handling rules. If reducing standard product modules would lead to the loss of essential functions or a significant decrease in space utilization, the system can also retrieve smaller, functionally compatible alternative products from the same product category and redetermine product layout and processing data based on these alternative products.

[0127] For example, in another application scenario, a wall segment in the outline polygon is 500mm shorter than the corresponding wall segment in the target structural frame geometry. The system first determines whether the corresponding end wardrobe product has sufficient cutting allowance. If the allowable cutting dimension of the wardrobe side panel cannot fully absorb the 500mm negative difference, a standard wardrobe module can be reduced, or the original wardrobe module can be replaced with a wardrobe product with a smaller width. The remaining space after adjustment is then used for patching and adaptation according to the positive difference handling rules.

[0128] After processing positive or negative differences, the system performs a feasibility check on the size adaptation results. The feasibility check may include whether the inventory of the selected standard patch meets the requirements, whether the customized patch meets the minimum processable size, whether the cut product exceeds the allowable cutting range, whether the installation interface of the alternative product matches, and whether the number of seams is within the allowable range.

[0129] In one implementation, when the current target structural basket fails the above feasibility check, the system determines the current size adaptation scheme as infeasible, returns to the candidate structural basket set, selects other candidate structural baskets ranked lower, and re-executes the initial alignment, wall segment correspondence, and size adaptation process.

[0130] After the size adaptation is completed, the system maps the boundaries of each functional partition to the coordinate system corresponding to the geometric objects in the user space according to the functional partition field of the target structural basket. Based on the size adaptation results of each wall segment, the system locally stretches, compresses or translates the boundaries of adjacent functional partitions to form the adapted functional partitions for this user space.

[0131] The system also maps the reference installation locations in the default product list of the target structure basket to the coordinate system corresponding to the user space geometry object, and adjusts the position, size, or quantity of related products based on the size adaptation results.

[0132] During the size adaptation process, the default product list saved in the space structure basket library is not directly modified. Instead, the default product list is used as the initial template, and the adjusted product list for this user space is formed based on the processing results of adding standard supplementary boards, adding custom boards, cutting products, reducing standard product modules, or replacing products.

[0133] In this embodiment, after adding a 150mm standard patch board to both the south and north walls, the main layout relationships of the sleeping area, storage area, bed frame, bedside table, and wardrobe modules remain unchanged; only the areas adjacent to the patch boards are locally adjusted. Based on the default product list of the target structural basket, the system adds the two 150mm standard patch boards to the adjusted product list, thereby obtaining a spatial layout and product configuration that matches the actual dimensions of the user's space.

[0134] After the adjusted product list is generated, the system calls the product lifecycle fields and fulfillment rule fields associated with each product during the offline database construction phase to perform supply chain verification on the adjusted product list.

[0135] The system checks the inventory status and lifecycle status of each product in the adjusted product list. Products with sufficient inventory and in normal production status can be retained in the product list; for products with insufficient inventory, about to be discontinued, or already discontinued, risk warnings can be issued or alternative products can be recommended.

[0136] In this embodiment, both the standard double bed and double-door wardrobe modules are in normal production and the inventory is sufficient to meet the requirements of the current solution, so they can be retained. For decorative moldings that are about to be discontinued, the system can provide risk warnings based on their remaining inventory and the expected discontinuation time, and suggest that the user confirm the solution within the corresponding time.

[0137] When there is a high supply risk for a product, the system retrieves alternative products from the product database. Alternative products should meet the functional category and installation interface requirements of the original product, and can be further sorted based on factors such as product size, appearance, and price to determine the most suitable alternative for the current space layout.

[0138] After adopting alternative products, the system updates and adjusts the product list accordingly. After completing supply chain verification and necessary replacements for all products, the final product list is generated. Therefore, the default product list is the template list within the structure basket, the adjusted product list is the item list formed after size adaptation, and the final product list is the output list generated after supply chain verification of the adjusted product list.

[0139] After completing product availability verification, the system can also determine the delivery order of each product in the final product list based on the fulfillment rule fields. For products that can be delivered independently, delivery can be arranged separately based on production and inventory status; for products that need to be delivered with main materials or have installation dependencies, delivery can be arranged according to the delivery batch and installation order of the corresponding main materials.

[0140] For example, baseboards can be delivered as pre-construction materials with priority, while surface decorative panels can be delivered after the baseboard construction is completed. Door casings, which depend on the installation of interior doors, can be scheduled in the same batch or a later batch as the interior doors. By prioritizing the delivery dependencies between products, a delivery plan adapted to the actual installation process can be formed.

[0141] After completing the above processing, the system integrates the space matching results, size adaptation results, adapted functional zoning, space layout, final product list and supply chain verification results to output a complete space layout plan.

[0142] The spatial layout plan may include a revised spatial layout diagram, the final product BOM list, sheet metal processing data, and a delivery schedule. Sheet metal processing data may include sheet metal dimensions, cutting paths, drilling locations, edge banding parameters, or processing instructions that can be recognized by CNC machining equipment.

[0143] For standard patch plates or other standard plates, the preset processing data corresponding to their specifications can be directly called; for custom plates, the outer contour, cutting path, drilling position, edge banding parameters and corresponding CNC machining instructions are generated according to their actual dimensions.

[0144] At this point, the system has completed the entire process from building the spatial structure basket library, parsing user space data, matching target structure baskets, adapting size differences, to supply chain verification and solution output. Through the above methods, validated standardized spatial structures and product configurations from historical solutions can be quickly adapted to the user's actual space, while simultaneously considering product configuration, panel processing, and product delivery requirements to form a spatial layout plan.

[0145] The remaining steps are the same as in Example 1.

[0146] Example 3, referring to Figure 4As an embodiment of the present invention, a product collaborative recommendation system for matching spatial structure baskets for prefabricated interiors is provided, including a spatial structure basket library construction module 100, a user space parsing module 200, a matching and instantiation module 300, and a size adaptation and processing data generation module 400.

[0147] The spatial structure basket library construction module 100 is used to construct the spatial structure basket library. Each structure basket includes at least a geometric skeleton field and a topology interface field. The geometric skeleton field represents the spatial outline and the wall segments that make up the spatial outline, while the topology interface field represents the wall segments containing doors, windows, or other interfaces and their locations. Structure baskets can also be bound to default products adapted to their spatial structure.

[0148] The user space parsing module 200 is used to parse user-input floor plan images, CAD drawings, or other spatial data, extracting the outline polygons, wall segment dimensions, and door and window interface information of the user space. For floor plan images, the relevant information can be obtained through image recognition and dimension annotation recognition; for CAD drawings, the relevant information can be obtained by reading layers and geometric entities.

[0149] The matching and instantiation module 300 is used to select target structural baskets that match the user space from the spatial structural basket library based on the outline shape, wall segment relationship and door and window interface information of the user space, and to establish a correspondence between each wall segment of the target structural basket and the corresponding wall segment of the user space.

[0150] The size adaptation and processing data generation module 400 calculates the size difference between each wall segment of the target structural basket and the corresponding wall segment in the user space, and processes it according to the positive or negative type of the size difference.

[0151] When the size of the wall segment corresponding to the user space is larger than the size of the wall segment corresponding to the target structural basket, the size difference is a positive value. The size adaptation and processing data generation module 400 calls the preset standard patch specifications to combine and fill the positive difference. If there is still a remaining size after combining the standard patches, and the remaining size is less than the minimum standard patch width, then the cutting data of the customized plate is generated based on the remaining size.

[0152] For example, the length of one wall segment of the target structural basket is 3600mm, and the length of the corresponding wall segment in the user space is 3750mm, with a positive difference of 150mm between the two. When the standard patch specification includes a 150mm patch, a 150mm standard patch can be used to complete the size adaptation, and the corresponding processing data for that standard patch can be generated or called.

[0153] When the size of the wall segment corresponding to the user space is smaller than the size of the wall segment corresponding to the target structural basket, the size difference is a negative value. The size adaptation and processing data generation module 400 determines whether the default product in the target structural basket allows cutting. If cutting is allowed, the size of the default product is adjusted according to the negative difference value; if cutting is not allowed or the cutting range is insufficient, the default product is replaced with a smaller product that is functionally compatible.

[0154] After processing positive or negative errors, the size adaptation and processing data generation module 400 generates sheet metal processing data based on the adjusted sheet metal dimensions and product information. The sheet metal processing data may include sheet metal dimensions, cutting paths, edge banding information, drilling information, or CNC machining instructions.

[0155] Therefore, this embodiment can adapt the pre-configured spatial structure and product scheme in the structural basket to the user space with size differences, and generate panel processing data corresponding to the adaptation result.

[0156] This embodiment also provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the spatial structure basket matching method for prefabricated interiors as proposed in the above embodiment.

[0157] This embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the spatial structure basket matching method for prefabricated interiors as proposed in the above embodiments.

[0158] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0159] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0160] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0161] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0162] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A method for matching spatial structure baskets for prefabricated interior decoration, characterized in that, include: Constructing a spatial structure basket library: Based on historical apartment case studies, extract typical spatial forms and construct multiple structural baskets; Acquire user space data: Obtain the spatial information of the user's apartment layout, extract the outline polygon of the user space, wall segment size information and door and window interface information, and form the user space geometric object; Matching target structure basket: Match the user space data with each structure basket in the space structure basket library, and select a target structure basket whose geometric skeleton and topological interface are respectively adapted to the outline polygon and door and window interface information; Generate spatial layout scheme: Call the functional partition field and default product list field of the target structure basket, map the reference installation position of the corresponding functional partition and default product to the coordinate system corresponding to the user space geometric object, generate spatial layout scheme and board processing data that can be sent to production equipment; Each of the aforementioned structural baskets is bound to a geometric skeleton field, a topology interface field, a functional partition field, and a default product list field.

2. The spatial structure basket matching method for prefabricated interiors as described in claim 1, characterized in that: The process of constructing the spatial structure basket library includes: Cluster analysis was performed on historical apartment layouts to extract typical spatial forms; For each typical spatial form, a geometric skeleton is standardized as a structural basket, which is a closed polygon containing a sequence of standard wall segments. A topology interface is marked on the geometric skeleton. The topology interface includes the interface type, the index of the wall segment to which it belongs, and the relative position ratio on the wall segment. The interior of the geometric skeleton is divided into functional zones, and allowed product categories are set for each functional zone; A default product list is bound, which records the product identifier, installation location, and quantity that are compatible with this functional area; An adaptation rule is set for the structural basket, which defines the adjustment strategy when there is a size difference between the outline polygon of the user space and the geometric skeleton of the structural basket.

3. The spatial structure basket matching method for prefabricated interiors as described in claim 2, characterized in that: The structure basket is also bound to a product lifecycle field and a fulfillment rule field; The product lifecycle field is used to record the current inventory status, expected inbound quantity, and lifecycle stage of the default product. The fulfillment rules field is used to define the default product's delivery mode, delivery batch priority, and delivery dependencies between products.

4. The spatial structure basket matching method for prefabricated interiors as described in claim 1 or 2, characterized in that: The acquisition of user space data includes: Receive floor plan images or CAD files uploaded by users; If the input is a floor plan image, extract the outline polygon and dimension annotations of the user space; If the input is a CAD file, it generates the outline polygon of the user space, wall segment size information, and door and window interface information; The outline polygon, wall segment size information, and door and window interface information are assembled into a unified user space geometric object.

5. The spatial structure basket matching method for prefabricated interiors as described in claim 2 or 3, characterized in that: The matching target structure basket includes the following stages: In the first stage, the spatial matching score between the user space geometric object and each structural basket in the spatial structural basket library is calculated. The spatial matching score is calculated based on the similarity of the outline shape, the matching degree of the door and window interface, the consistency of the size ratio and the consistency of the wall topology. Filter the structural baskets whose spatial matching scores are higher than a preset threshold to form a spatially adaptable candidate set; In the second stage, based on user demand information, the structural baskets in the space-adaptable candidate set are comprehensively ranked. The comprehensive ranking of the schemes combines the matching degree between the functional configuration of the candidate structural baskets and the user demand information, the supply availability of the default product, and the budget fit. According to preset weights or evaluation priorities, the matching degree between the functional configuration and the user demand information, the supply availability and the budget fit are comprehensively compared, and the top-ranked structural basket is output as the target structural basket.

6. The spatial structure basket matching method for prefabricated interiors as described in claim 2, characterized in that: The generated space layout scheme includes: The geometric skeleton of the target structural basket is initially aligned with the contour polygon through rigid transformation, and the correspondence between the structural basket wall segment sequence and the user space wall segment sequence is established. Calculate the dimensional differences between each wall segment of the initially aligned geometric skeleton and the corresponding wall segment in the outline polygon; Based on the sign of the size difference, the adaptation rules of the target structural basket are invoked to perform adjustments: If the dimensional difference is positive, standard patch plates will be used for filling first, and the remaining size will be absorbed by cutting custom plates. If the size difference is negative, the affected products will be cut, the standard product modules will be reduced, or they will be replaced with smaller products that are functionally compatible. Based on the results of the size adaptation process, the functional partitions of the target structural basket are mapped to the coordinate system corresponding to the user space geometric object, and an adjusted product list is formed for the user space using the default product list as the initial template.

7. The spatial structure basket matching method for prefabricated interiors as described in claim 6, characterized in that: The step of invoking the adaptation rules of the target structural basket to perform adjustments based on the sign of the size difference further includes: An integer programming model is established to solve for the optimal combination of standard patch panels and custom panels. The model aims to minimize the number of custom panels and the number of seams, while satisfying inventory constraints, minimum processable width constraints, and total size constraints. If the width of the customized plate in the solution is less than the minimum processable width, then adjusting the standard patch combination or determining that the size adaptation process is not feasible.

8. A product collaborative recommendation system for spatial structure basket matching of prefabricated interiors, employing the spatial structure basket matching method for prefabricated interiors as described in any one of claims 1 to 7, characterized in that: include: The spatial structure basket library construction module (100) is used to construct the spatial structure basket library; The user space parsing module (200) is used to extract the outline polygon of the user space, door and window interface information and wall segment size information; The matching and instantiation module (300) is used to filter target structure baskets from the spatial structure basket library and establish a correspondence between the target structure baskets and the user space data; The size adaptation and processing data generation module (400) is used to calculate the size difference between the geometric skeleton of the target structural basket and the outline polygon, and to perform size adaptation processing based on the size difference. When the size difference is positive, the preset standard patch plate specifications are called for combination filling, and when there is a remaining size smaller than the minimum standard patch plate width after combination filling, customized plate cutting data corresponding to the remaining size is generated. When the size difference is negative, the default product bound to the target structural basket is cut or replaced. The size adaptation and processing data generation module (400) is also used to generate sheet metal processing data based on the result of the size adaptation process.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the spatial structure basket matching method for prefabricated interiors as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the spatial structure basket matching method for prefabricated interiors as described in any one of claims 1 to 7.